Gutenberg - Version 11.9.1

Version Description

Download this release

Release Info

Developer gutenbergplugin
Plugin Icon 128x128 Gutenberg
Version 11.9.1
Comparing to
See all releases

Code changes from version 11.9.0 to 11.9.1

build/block-library/blocks/cover/style-rtl.css CHANGED
@@ -1 +1 @@
1
- .wp-block-cover,.wp-block-cover-image{align-items:center;background-position:50%;background-size:cover;box-sizing:border-box;display:flex;justify-content:center;min-height:430px;padding:1em;position:relative;width:100%}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image .has-background-dim:not([class*=-background-color]),.wp-block-cover .has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover-image .has-background-dim:before,.wp-block-cover .has-background-dim:before{background-color:inherit;content:""}.wp-block-cover-image .has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover .has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{bottom:0;left:0;opacity:.5;position:absolute;right:0;top:0;z-index:1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{opacity:0}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{opacity:.1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{opacity:.2}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{opacity:.3}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{opacity:.4}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{opacity:.5}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{opacity:.6}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{opacity:.7}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{opacity:.8}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{opacity:.9}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{content:"";display:block;font-size:0;min-height:inherit}@supports (position:sticky){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{color:#fff;width:100%;z-index:1}.wp-block-cover-image.is-light .wp-block-cover__inner-container,.wp-block-cover.is-light .wp-block-cover__inner-container{color:#000}.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover-image img.wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background,.wp-block-cover img.wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background{border:none;bottom:0;box-shadow:none;height:100%;left:0;margin:0;max-height:none;max-width:none;-o-object-fit:cover;object-fit:cover;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;margin-bottom:0;max-width:840px;padding:.44em;text-align:center;z-index:1}
1
+ .wp-block-cover,.wp-block-cover-image{align-items:center;background-position:50%;background-size:cover;box-sizing:border-box;display:flex;justify-content:center;min-height:430px;padding:1em;position:relative;width:100%}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover-image .has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]),.wp-block-cover .has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover-image.has-background-dim:before,.wp-block-cover-image .has-background-dim:before,.wp-block-cover.has-background-dim:before,.wp-block-cover .has-background-dim:before{background-color:inherit;content:""}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{bottom:0;left:0;opacity:.5;position:absolute;right:0;top:0;z-index:1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{opacity:0}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{opacity:.1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{opacity:.2}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{opacity:.3}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{opacity:.4}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{opacity:.5}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{opacity:.6}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{opacity:.7}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{opacity:.8}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{opacity:.9}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{content:"";display:block;font-size:0;min-height:inherit}@supports (position:sticky){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{color:#fff;width:100%;z-index:1}.wp-block-cover-image.is-light .wp-block-cover__inner-container,.wp-block-cover.is-light .wp-block-cover__inner-container{color:#000}.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover-image img.wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background,.wp-block-cover img.wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background{border:none;bottom:0;box-shadow:none;height:100%;left:0;margin:0;max-height:none;max-width:none;-o-object-fit:cover;object-fit:cover;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;margin-bottom:0;max-width:840px;padding:.44em;text-align:center;z-index:1}
build/block-library/blocks/cover/style.css CHANGED
@@ -1 +1 @@
1
- .wp-block-cover,.wp-block-cover-image{align-items:center;background-position:50%;background-size:cover;box-sizing:border-box;display:flex;justify-content:center;min-height:430px;padding:1em;position:relative;width:100%}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image .has-background-dim:not([class*=-background-color]),.wp-block-cover .has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover-image .has-background-dim:before,.wp-block-cover .has-background-dim:before{background-color:inherit;content:""}.wp-block-cover-image .has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover .has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{bottom:0;left:0;opacity:.5;position:absolute;right:0;top:0;z-index:1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{opacity:0}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{opacity:.1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{opacity:.2}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{opacity:.3}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{opacity:.4}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{opacity:.5}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{opacity:.6}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{opacity:.7}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{opacity:.8}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{opacity:.9}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{content:"";display:block;font-size:0;min-height:inherit}@supports (position:sticky){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{color:#fff;width:100%;z-index:1}.wp-block-cover-image.is-light .wp-block-cover__inner-container,.wp-block-cover.is-light .wp-block-cover__inner-container{color:#000}.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover-image img.wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background,.wp-block-cover img.wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background{border:none;bottom:0;box-shadow:none;height:100%;left:0;margin:0;max-height:none;max-width:none;-o-object-fit:cover;object-fit:cover;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;margin-bottom:0;max-width:840px;padding:.44em;text-align:center;z-index:1}
1
+ .wp-block-cover,.wp-block-cover-image{align-items:center;background-position:50%;background-size:cover;box-sizing:border-box;display:flex;justify-content:center;min-height:430px;padding:1em;position:relative;width:100%}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover-image .has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]),.wp-block-cover .has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover-image.has-background-dim:before,.wp-block-cover-image .has-background-dim:before,.wp-block-cover.has-background-dim:before,.wp-block-cover .has-background-dim:before{background-color:inherit;content:""}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{bottom:0;left:0;opacity:.5;position:absolute;right:0;top:0;z-index:1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{opacity:0}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{opacity:.1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{opacity:.2}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{opacity:.3}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{opacity:.4}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{opacity:.5}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{opacity:.6}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{opacity:.7}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{opacity:.8}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{opacity:.9}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{content:"";display:block;font-size:0;min-height:inherit}@supports (position:sticky){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{color:#fff;width:100%;z-index:1}.wp-block-cover-image.is-light .wp-block-cover__inner-container,.wp-block-cover.is-light .wp-block-cover__inner-container{color:#000}.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover-image img.wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background,.wp-block-cover img.wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background{border:none;bottom:0;box-shadow:none;height:100%;left:0;margin:0;max-height:none;max-width:none;-o-object-fit:cover;object-fit:cover;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;margin-bottom:0;max-width:840px;padding:.44em;text-align:center;z-index:1}
build/block-library/index.js CHANGED
@@ -9479,6 +9479,7 @@ const cover_transforms_transforms = {
9479
  var _style$color;
9480
 
9481
  return (0,external_wp_blocks_namespaceObject.createBlock)('core/cover', {
 
9482
  url,
9483
  alt,
9484
  align,
@@ -9504,6 +9505,7 @@ const cover_transforms_transforms = {
9504
  id,
9505
  anchor
9506
  }) => (0,external_wp_blocks_namespaceObject.createBlock)('core/cover', {
 
9507
  url: src,
9508
  align,
9509
  id,
@@ -13723,7 +13725,7 @@ function GalleryEdit(props) {
13723
  useMobileWarning(newImages);
13724
  (0,external_wp_element_namespaceObject.useEffect)(() => {
13725
  newImages === null || newImages === void 0 ? void 0 : newImages.forEach(newImage => {
13726
- updateBlockAttributes(newImage.clientId, { ...buildImageAttributes(false, newImage.attributes),
13727
  id: newImage.id,
13728
  align: undefined
13729
  });
@@ -13750,25 +13752,23 @@ function GalleryEdit(props) {
13750
  * it already existed in the gallery. If the image is in fact new, we need
13751
  * to apply the gallery's current settings to the image.
13752
  *
13753
- * @param {Object} existingBlock Existing Image block that still exists after gallery update.
13754
- * @param {Object} image Media object for the actual image.
13755
- * @return {Object} Attributes to set on the new image block.
13756
  */
13757
 
13758
- function buildImageAttributes(existingBlock, image) {
13759
- if (existingBlock) {
13760
- return existingBlock.attributes;
13761
- }
13762
-
13763
  let newClassName;
13764
 
13765
- if (image.className && image.className !== '') {
13766
- newClassName = image.className;
13767
  } else {
13768
  newClassName = preferredStyle ? `is-style-${preferredStyle}` : undefined;
13769
  }
13770
 
13771
- return { ...pickRelevantMediaFiles(image, sizeSlug),
13772
  ...getHrefAndDestination(image, linkTo),
13773
  ...getUpdatedLinkTargetSettings(linkTarget, attributes),
13774
  className: newClassName,
@@ -14494,21 +14494,22 @@ const updateGallery = ({
14494
  sizeSlug,
14495
  linkTo,
14496
  images,
14497
- caption
 
14498
  }
14499
  } = getBlock(clientId);
14500
 
14501
  switch (linkTo) {
14502
  case 'post':
14503
- link = v1_constants_LINK_DESTINATION_ATTACHMENT;
14504
  break;
14505
 
14506
  case 'file':
14507
- link = v1_constants_LINK_DESTINATION_MEDIA;
14508
  break;
14509
 
14510
  default:
14511
- link = v1_constants_LINK_DESTINATION_NONE;
14512
  break;
14513
  }
14514
 
@@ -14522,7 +14523,8 @@ const updateGallery = ({
14522
  replaceBlocks(clientId, (0,external_wp_blocks_namespaceObject.createBlock)('core/gallery', {
14523
  sizeSlug,
14524
  linkTo: link,
14525
- caption
 
14526
  }, innerBlocks));
14527
  };
14528
  function UpdateGalleryModal({
9479
  var _style$color;
9480
 
9481
  return (0,external_wp_blocks_namespaceObject.createBlock)('core/cover', {
9482
+ dimRatio: 50,
9483
  url,
9484
  alt,
9485
  align,
9505
  id,
9506
  anchor
9507
  }) => (0,external_wp_blocks_namespaceObject.createBlock)('core/cover', {
9508
+ dimRatio: 50,
9509
  url: src,
9510
  align,
9511
  id,
13725
  useMobileWarning(newImages);
13726
  (0,external_wp_element_namespaceObject.useEffect)(() => {
13727
  newImages === null || newImages === void 0 ? void 0 : newImages.forEach(newImage => {
13728
+ updateBlockAttributes(newImage.clientId, { ...buildImageAttributes(newImage.attributes),
13729
  id: newImage.id,
13730
  align: undefined
13731
  });
13752
  * it already existed in the gallery. If the image is in fact new, we need
13753
  * to apply the gallery's current settings to the image.
13754
  *
13755
+ * @param {Object} imageAttributes Media object for the actual image.
13756
+ * @return {Object} Attributes to set on the new image block.
 
13757
  */
13758
 
13759
+ function buildImageAttributes(imageAttributes) {
13760
+ const image = imageAttributes.id ? (0,external_lodash_namespaceObject.find)(imageData, {
13761
+ id: imageAttributes.id
13762
+ }) : null;
 
13763
  let newClassName;
13764
 
13765
+ if (imageAttributes.className && imageAttributes.className !== '') {
13766
+ newClassName = imageAttributes.className;
13767
  } else {
13768
  newClassName = preferredStyle ? `is-style-${preferredStyle}` : undefined;
13769
  }
13770
 
13771
+ return { ...pickRelevantMediaFiles(imageAttributes, sizeSlug),
13772
  ...getHrefAndDestination(image, linkTo),
13773
  ...getUpdatedLinkTargetSettings(linkTarget, attributes),
13774
  className: newClassName,
14494
  sizeSlug,
14495
  linkTo,
14496
  images,
14497
+ caption,
14498
+ columns
14499
  }
14500
  } = getBlock(clientId);
14501
 
14502
  switch (linkTo) {
14503
  case 'post':
14504
+ link = LINK_DESTINATION_ATTACHMENT;
14505
  break;
14506
 
14507
  case 'file':
14508
+ link = LINK_DESTINATION_MEDIA;
14509
  break;
14510
 
14511
  default:
14512
+ link = LINK_DESTINATION_NONE;
14513
  break;
14514
  }
14515
 
14523
  replaceBlocks(clientId, (0,external_wp_blocks_namespaceObject.createBlock)('core/gallery', {
14524
  sizeSlug,
14525
  linkTo: link,
14526
+ caption,
14527
+ columns
14528
  }, innerBlocks));
14529
  };
14530
  function UpdateGalleryModal({
build/block-library/index.min.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'c8cf146d595d8f475872ba67604f4e56');
1
+ <?php return array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '8777a5e4ced870e2bba172473921e7d5');
build/block-library/index.min.js CHANGED
@@ -10,7 +10,7 @@ content:(0,He.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")
10
  /* translators: example text. */
11
  content:(0,He.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{
12
  /* translators: example text. */
13
- content:(0,He.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:Sn,edit:e=>{const{clientId:t}=e,n=(0,Ze.useSelect)((e=>e(Fe.store).getBlocks(t).length>0),[t])?In:Mn;return(0,Le.createElement)(n,e)},save:function({attributes:e}){const{isStackedOnMobile:t,verticalAlignment:n}=e,o=vt()({[`are-vertically-aligned-${n}`]:n,"is-not-stacked-on-mobile":!t}),r=Fe.useBlockProps.save({className:o}),a=Fe.useInnerBlocksProps.save(r);return(0,Le.createElement)("div",a)},transforms:Rn};var Fn=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M7.25 16.4371C6.16445 15.2755 5.5 13.7153 5.5 12C5.5 8.41015 8.41015 5.5 12 5.5C15.5899 5.5 18.5 8.41015 18.5 12C18.5 13.7153 17.8356 15.2755 16.75 16.4371V16C16.75 14.4812 15.5188 13.25 14 13.25L10 13.25C8.48122 13.25 7.25 14.4812 7.25 16V16.4371ZM8.75 17.6304C9.70606 18.1835 10.8161 18.5 12 18.5C13.1839 18.5 14.2939 18.1835 15.25 17.6304V16C15.25 15.3096 14.6904 14.75 14 14.75L10 14.75C9.30964 14.75 8.75 15.3096 8.75 16V17.6304ZM4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM14 10C14 11.1046 13.1046 12 12 12C10.8954 12 10 11.1046 10 10C10 8.89543 10.8954 8 12 8C13.1046 8 14 8.89543 14 10Z",fillRule:"evenodd",clipRule:"evenodd",fill:"black"}));const Dn={apiVersion:2,name:"core/comment-author-avatar",title:"Comment Author Avatar",category:"theme",parent:["core/comment-template"],description:"Add the avatar of this comment's author.",textdomain:"default",attributes:{width:{type:"number",default:96},height:{type:"number",default:96}},usesContext:["commentId"],supports:{html:!1,__experimentalBorder:{radius:!0,width:!0,color:!0,style:!0},color:{background:!0,text:!1,links:!1}}},{name:Gn}=Dn,Un={icon:Fn,edit:function({attributes:e,context:{commentId:t},setAttributes:n}){const{height:o,width:r}=e,[a]=(0,Zt.useEntityProp)("root","comment","author_avatar_urls",t),[l]=(0,Zt.useEntityProp)("root","comment","author_name",t),i=a?Object.values(a):null,s=a?Object.keys(a):null,c=s?s[0]:24,u=s?s[s.length-1]:96,m=(0,Fe.useBlockProps)(),d=Math.floor(2.5*u),p=(0,Le.createElement)(Fe.InspectorControls,null,(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Avatar Settings")},(0,Le.createElement)(Ae.RangeControl,{label:(0,He.__)("Image size"),onChange:e=>n({width:e,height:e}),min:c,max:d,initialPosition:r,value:r}))),g=i?(0,Le.createElement)(Ae.ResizableBox,{size:{width:r,height:o},onResizeStop:(e,t,a,l)=>{n({height:parseInt(o+l.height,10),width:parseInt(r+l.width,10)})},lockAspectRatio:!0,enable:{top:!1,right:!(0,He.isRTL)(),bottom:!0,left:(0,He.isRTL)()},minWidth:c,maxWidth:d},(0,Le.createElement)("img",St({src:i[i.length-1],alt:`${l} ${(0,He.__)("Avatar")}`},m))):(0,Le.createElement)("p",m,(0,He._x)("Comment Author Avatar","block title"));return(0,Le.createElement)(Le.Fragment,null,p,(0,Le.createElement)("div",null,g))}};var On=(0,Le.createElement)(Re.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"#FFFFFF"},(0,Le.createElement)(Re.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z",fillRule:"evenodd",clipRule:"evenodd"}),(0,Le.createElement)(Re.Path,{d:"M15 15V15C15 13.8954 14.1046 13 13 13L11 13C9.89543 13 9 13.8954 9 15V15",fillRule:"evenodd",clipRule:"evenodd"}),(0,Le.createElement)(Re.Circle,{cx:"12",cy:"9",r:"2",fillRule:"evenodd",clipRule:"evenodd"})),qn=[{attributes:{isLink:{type:"boolean",default:!1},linkTarget:{type:"string",default:"_self"}},supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}},save:()=>null,migrate:_t,isEligible({style:e}){var t;return null==e||null===(t=e.typography)||void 0===t?void 0:t.fontFamily}}];const $n={apiVersion:2,name:"core/comment-author-name",title:"Comment Author Name",category:"theme",parent:["core/comment-template"],description:"Add the author name of this comment.",textdomain:"default",attributes:{isLink:{type:"boolean",default:!1},linkTarget:{type:"string",default:"_self"},textAlign:{type:"string"}},usesContext:["commentId"],supports:{html:!1,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}}},{name:Wn}=$n,jn={icon:On,edit:function({attributes:{isLink:e,linkTarget:t,textAlign:n},context:{commentId:o},setAttributes:r}){const a=(0,Fe.useBlockProps)({className:vt()({[`has-text-align-${n}`]:n})}),l=(0,Ze.useSelect)((e=>{const{getEntityRecord:t}=e(Zt.store),n=t("root","comment",o),r=null==n?void 0:n.author_name;if(n&&!r){var a;const e=t("root","user",n.author);return null!==(a=null==e?void 0:e.name)&&void 0!==a?a:(0,He.__)("Anonymous")}return null!=r?r:""}),[o]),i=(0,Le.createElement)(Fe.BlockControls,{group:"block"},(0,Le.createElement)(Fe.AlignmentControl,{value:n,onChange:e=>r({textAlign:e})})),s=(0,Le.createElement)(Fe.InspectorControls,null,(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Link settings")},(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Link to authors URL"),onChange:()=>r({isLink:!e}),checked:e}),e&&(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Open in new tab"),onChange:e=>r({linkTarget:e?"_blank":"_self"}),checked:"_blank"===t})));if(!o||!l)return(0,Le.createElement)(Le.Fragment,null,s,i,(0,Le.createElement)("div",a,(0,Le.createElement)("p",null,(0,He._x)("Comment Author","block title"))));const c=e?(0,Le.createElement)("a",{href:"#comment-author-pseudo-link",onClick:e=>e.preventDefault()},l):(0,Le.createElement)("p",null,l);return(0,Le.createElement)(Le.Fragment,null,s,i,(0,Le.createElement)("div",a,c))},deprecated:qn};var Zn=(0,Le.createElement)(Re.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Re.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z"}));const Qn={apiVersion:2,name:"core/comment-content",title:"Comment Content",category:"theme",parent:["core/comment-template"],description:"Displays the contents of a comment.",textdomain:"default",usesContext:["commentId"],attributes:{textAlign:{type:"string"}},supports:{color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0},spacing:{padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},html:!1}},{name:Kn}=Qn,Jn={icon:Zn,edit:function({setAttributes:e,attributes:{textAlign:t},context:{commentId:n}}){const o=(0,Fe.useBlockProps)({className:vt()({[`has-text-align-${t}`]:t})}),[r]=(0,Zt.useEntityProp)("root","comment","content",n),a=(0,Le.createElement)(Fe.BlockControls,{group:"block"},(0,Le.createElement)(Fe.AlignmentControl,{value:t,onChange:t=>e({textAlign:t})}));return n&&r?(0,Le.createElement)(Le.Fragment,null,a,(0,Le.createElement)("div",o,(0,Le.createElement)(Ae.Disabled,null,(0,Le.createElement)(Le.RawHTML,{key:"html"},r.rendered)))):(0,Le.createElement)(Le.Fragment,null,a,(0,Le.createElement)("div",o,(0,Le.createElement)("p",null,(0,He._x)("Comment Content","block title"))))}};var Yn=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M11.696 13.972c.356-.546.599-.958.728-1.235a1.79 1.79 0 00.203-.783c0-.264-.077-.47-.23-.618-.148-.153-.354-.23-.618-.23-.295 0-.569.07-.82.212a3.413 3.413 0 00-.738.571l-.147-1.188c.289-.234.59-.41.903-.526.313-.117.66-.175 1.041-.175.375 0 .695.08.959.24.264.153.46.362.59.626.135.265.203.556.203.876 0 .362-.08.734-.24 1.115-.154.381-.427.87-.82 1.466l-.756 1.152H14v1.106h-4l1.696-2.609z"}),(0,Le.createElement)(Re.Path,{d:"M19.5 7h-15v12a.5.5 0 00.5.5h14a.5.5 0 00.5-.5V7zM3 7V5a2 2 0 012-2h14a2 2 0 012 2v14a2 2 0 01-2 2H5a2 2 0 01-2-2V7z"})),Xn=window.wp.date,eo=[{attributes:{format:{type:"string"},isLink:{type:"boolean",default:!1}},supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}},save:()=>null,migrate:_t,isEligible({style:e}){var t;return null==e||null===(t=e.typography)||void 0===t?void 0:t.fontFamily}}];const to={apiVersion:2,name:"core/comment-date",title:"Comment Date",category:"theme",parent:["core/comment-template"],description:"Add the date of this comment.",textdomain:"default",attributes:{format:{type:"string"},isLink:{type:"boolean",default:!1}},usesContext:["commentId"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}}}},{name:no}=to,oo={icon:Yn,edit:function({attributes:{format:e,isLink:t},context:{commentId:n},setAttributes:o}){const r=(0,Fe.useBlockProps)(),[a]=(0,Zt.useEntityProp)("root","comment","date",n),[l]=(0,Zt.useEntityProp)("root","site","date_format"),i=(0,Xn.__experimentalGetSettings)(),s=Object.values(i.formats).map((e=>({key:e,name:(0,Xn.dateI18n)(e,a||new Date)}))),c=e||l||i.formats.date,u=(0,Le.createElement)(Fe.InspectorControls,null,(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Format settings")},(0,Le.createElement)(Ae.CustomSelectControl,{hideLabelFromVision:!0,label:(0,He.__)("Date Format"),options:s,onChange:({selectedItem:e})=>o({format:e.key}),value:s.find((e=>e.key===c))})),(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Link settings")},(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Link to comment"),onChange:()=>o({isLink:!t}),checked:t})));if(!n||!a)return(0,Le.createElement)(Le.Fragment,null,u,(0,Le.createElement)("div",r,(0,Le.createElement)("p",null,(0,He._x)("Comment Date","block title"))));let m=(0,Le.createElement)("time",{dateTime:(0,Xn.dateI18n)("c",a)},(0,Xn.dateI18n)(c,a));return t&&(m=(0,Le.createElement)("a",{href:"#comment-date-pseudo-link",onClick:e=>e.preventDefault()},m)),(0,Le.createElement)(Le.Fragment,null,u,(0,Le.createElement)("div",r,m))},deprecated:eo};var ro=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));const ao={apiVersion:2,name:"core/comment-edit-link",title:"Comment Edit Link",category:"theme",parent:["core/comment-template"],description:"Displays a link to edit the comment in the WordPress Dashboard. This link is only visible to users with the edit comment capability.",textdomain:"default",usesContext:["commentId"],attributes:{linkTarget:{type:"string",default:"_self"},textAlign:{type:"string"}},supports:{html:!1,color:{link:!0,gradients:!0,text:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}}},{name:lo}=ao,io={icon:ro,edit:function({attributes:{linkTarget:e,textAlign:t},setAttributes:n}){const o=(0,Fe.useBlockProps)({className:vt()({[`has-text-align-${t}`]:t})}),r=(0,Le.createElement)(Fe.BlockControls,{group:"block"},(0,Le.createElement)(Fe.AlignmentControl,{value:t,onChange:e=>n({textAlign:e})})),a=(0,Le.createElement)(Fe.InspectorControls,null,(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Link settings")},(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Open in new tab"),onChange:e=>n({linkTarget:e?"_blank":"_self"}),checked:"_blank"===e})));return(0,Le.createElement)(Le.Fragment,null,r,a,(0,Le.createElement)("div",o,(0,Le.createElement)("a",{href:"#edit-comment-pseudo-link",onClick:e=>e.preventDefault()},(0,He.__)("Edit"))))}};var so=(0,Le.createElement)(Re.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Re.Path,{d:"M6.68822 10.625L6.24878 11.0649L5.5 11.8145L5.5 5.5L12.5 5.5V8L14 6.5V5C14 4.44772 13.5523 4 13 4H5C4.44772 4 4 4.44771 4 5V13.5247C4 13.8173 4.16123 14.086 4.41935 14.2237C4.72711 14.3878 5.10601 14.3313 5.35252 14.0845L7.31 12.125H8.375L9.875 10.625H7.31H6.68822ZM14.5605 10.4983L11.6701 13.75H16.9975C17.9963 13.75 18.7796 14.1104 19.3553 14.7048C19.9095 15.2771 20.2299 16.0224 20.4224 16.7443C20.7645 18.0276 20.7543 19.4618 20.7487 20.2544C20.7481 20.345 20.7475 20.4272 20.7475 20.4999L19.2475 20.5001C19.2475 20.4191 19.248 20.3319 19.2484 20.2394V20.2394C19.2526 19.4274 19.259 18.2035 18.973 17.1307C18.8156 16.5401 18.586 16.0666 18.2778 15.7483C17.9909 15.4521 17.5991 15.25 16.9975 15.25H11.8106L14.5303 17.9697L13.4696 19.0303L8.96956 14.5303L13.4394 9.50171L14.5605 10.4983Z"}));const co={apiVersion:2,name:"core/comment-reply-link",title:"Comment Reply Link",category:"theme",parent:["core/comment-template"],description:"Displays a link to reply to a comment.",textdomain:"default",usesContext:["commentId"],attributes:{textAlign:{type:"string"}},supports:{color:{gradients:!0,link:!0,text:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0},html:!1}},{name:uo}=co,mo={edit:function({setAttributes:e,attributes:{textAlign:t}}){const n=(0,Fe.useBlockProps)({className:vt()({[`has-text-align-${t}`]:t})}),o=(0,Le.createElement)(Fe.BlockControls,{group:"block"},(0,Le.createElement)(Fe.AlignmentControl,{value:t,onChange:t=>e({textAlign:t})}));return(0,Le.createElement)(Le.Fragment,null,o,(0,Le.createElement)("div",n,(0,Le.createElement)("a",{href:"#comment-reply-pseudo-link",onClick:e=>e.preventDefault()},(0,He.__)("Reply"))))},icon:so};var po=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));const go=[["core/comment-author-avatar"],["core/comment-author-name"],["core/comment-date"],["core/comment-content"],["core/comment-reply-link"],["core/comment-edit-link"]];function ho(){const e=(0,Fe.useInnerBlocksProps)({},{template:go});return(0,Le.createElement)("li",e)}const vo={apiVersion:2,name:"core/comment-template",title:"Comment Template",category:"design",parent:["core/comments-query-loop"],description:"Contains the block elements used to render a comment, like the title, date, author, avatar and more.",textdomain:"default",usesContext:["queryId","queryPerPage","postId"],supports:{reusable:!1,html:!1,align:!0}},{name:bo}=vo,yo={icon:po,edit:function({clientId:e,context:{postId:t,queryPerPage:n}}){const o=(0,Fe.useBlockProps)(),[r,a]=(0,Le.useState)(),{comments:l,blocks:i}=(0,Ze.useSelect)((o=>{const{getEntityRecords:r}=o(Zt.store),{getBlocks:a}=o(Fe.store);return{comments:r("root","comment",{post:t,status:"approve",per_page:n,order:"asc"}),blocks:a(e)}}),[n,t,e]),s=(0,Le.useMemo)((()=>null==l?void 0:l.map((e=>({commentId:e.id})))),[l]);return l?l.length?(0,Le.createElement)("ul",o,s&&s.map((e=>(0,Le.createElement)(Fe.BlockContextProvider,{key:e.commentId,value:e},e===(r||s[0])?(0,Le.createElement)(ho,null):(0,Le.createElement)("li",null,(0,Le.createElement)(Fe.BlockPreview,{blocks:i,__experimentalLive:!0,__experimentalOnClick:()=>a(e)})))))):(0,Le.createElement)("p",o," ",(0,He.__)("No results found.")):(0,Le.createElement)("p",o,(0,Le.createElement)(Ae.Spinner,null))},save:function(){return(0,Le.createElement)(Fe.InnerBlocks.Content,null)}};var fo=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M14 10.1V4c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1zm-1.5-.5H6.7l-1.2 1.2V4.5h7v5.1zM19 12h-8c-.6 0-1 .4-1 1v6.1c0 .6.4 1 1 1h5.7l1.8 1.8c.1.2.4.3.6.3.1 0 .2 0 .3-.1.4-.1.6-.5.6-.8V13c0-.6-.4-1-1-1zm-.5 7.8l-1.2-1.2h-5.8v-5.1h7v6.3z"})),_o=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"}));function ko({queryPerPage:e,setQuery:t}){return(0,Le.createElement)(Ae.ToolbarGroup,null,(0,Le.createElement)(Ae.Dropdown,{renderToggle:({onToggle:e})=>(0,Le.createElement)(Ae.ToolbarButton,{icon:_o,label:(0,He.__)("Display settings"),onClick:e}),renderContent:()=>(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Ae.BaseControl,null,(0,Le.createElement)(Ae.__experimentalNumberControl,{__unstableInputWidth:"60px",label:(0,He.__)("Items per Page"),labelPosition:"edge",min:1,max:100,onChange:e=>{const n=parseInt(e,10);isNaN(n)||n<1||n>100||t({queryPerPage:n})},step:"1",value:e,isDragEnabled:!1})))}))}const wo=[["core/comment-template"]],Eo={apiVersion:2,name:"core/comments-query-loop",title:"Comments Query Loop",category:"theme",description:"An advanced block that allows displaying post comments based on different query parameters and visual configurations.",textdomain:"default",attributes:{queryId:{type:"number"},queryPerPage:{type:"number",default:4},tagName:{type:"string",default:"div"}},providesContext:{queryId:"queryId",queryPerPage:"queryPerPage"},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0}}},{name:Co}=Eo,xo={icon:fo,edit:function({attributes:e,setAttributes:t}){const{queryPerPage:n,tagName:o}=e,r=(0,Fe.useBlockProps)(),a=(0,Fe.useInnerBlocksProps)(r,{template:wo});return(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Fe.BlockControls,null,(0,Le.createElement)(ko,{queryPerPage:n,setQuery:t})),(0,Le.createElement)(Fe.InspectorControls,{__experimentalGroup:"advanced"},(0,Le.createElement)(Ae.SelectControl,{label:(0,He.__)("HTML element"),options:[{label:(0,He.__)("Default (<div>)"),value:"div"},{label:"<section>",value:"section"},{label:"<aside>",value:"aside"}],value:o,onChange:e=>t({tagName:e})})),(0,Le.createElement)(o,a))},save:function({attributes:{tagName:e}}){return(0,Le.createElement)(e,Fe.useBlockProps.save(),(0,Le.createElement)(Fe.InnerBlocks.Content,null))}};var So=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"}));const Bo={"top left":"is-position-top-left","top center":"is-position-top-center","top right":"is-position-top-right","center left":"is-position-center-left","center center":"is-position-center-center",center:"is-position-center-center","center right":"is-position-center-right","bottom left":"is-position-bottom-left","bottom center":"is-position-bottom-center","bottom right":"is-position-bottom-right"},To="image",No="video";function Po(e){return e?{backgroundImage:`url(${e})`}:{}}const zo=["image","video"];function Io(e){return 50===e||void 0===!e?null:"has-background-dim-"+10*Math.round(e/10)}function Mo(e){return!e||"center center"===e||"center"===e}function Lo(e){return Mo(e)?"":Bo[e]}function Ro(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}function Vo(e){return{...e,dimRatio:e.url?e.dimRatio:100}}const Ao={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}};var Ho=[{attributes:{...Ao,isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""}},supports:{anchor:!0,align:!0,html:!1,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},color:{__experimentalDuotone:"> .wp-block-cover__image-background, > .wp-block-cover__video-background",text:!1,background:!1}},save({attributes:e}){const{backgroundType:t,gradient:n,contentPosition:o,customGradient:r,customOverlayColor:a,dimRatio:l,focalPoint:i,hasParallax:s,isRepeated:c,overlayColor:u,url:m,alt:d,id:p,minHeight:g,minHeightUnit:h}=e,v=(0,Fe.getColorClassName)("background-color",u),b=(0,Fe.__experimentalGetGradientClass)(n),y=h?`${g}${h}`:g,f=To===t,_=No===t,k=!(s||c),w={...f&&!k?Po(m):{},backgroundColor:v?void 0:a,background:r&&!m?r:void 0,minHeight:y||void 0},E=i&&k?`${Math.round(100*i.x)}% ${Math.round(100*i.y)}%`:void 0,C=vt()(Ro(l),v,{"has-background-dim":0!==l,"has-parallax":s,"is-repeated":c,"has-background-gradient":n||r,[b]:!m&&b,"has-custom-content-position":!Mo(o)},Lo(o));return(0,Le.createElement)("div",Fe.useBlockProps.save({className:C,style:w}),m&&(n||r)&&0!==l&&(0,Le.createElement)("span",{"aria-hidden":"true",className:vt()("wp-block-cover__gradient-background",b),style:r?{background:r}:void 0}),f&&k&&m&&(0,Le.createElement)("img",{className:vt()("wp-block-cover__image-background",p?`wp-image-${p}`:null),alt:d,src:m,style:{objectPosition:E},"data-object-fit":"cover","data-object-position":E}),_&&m&&(0,Le.createElement)("video",{className:vt()("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:m,style:{objectPosition:E},"data-object-fit":"cover","data-object-position":E}),(0,Le.createElement)("div",{className:"wp-block-cover__inner-container"},(0,Le.createElement)(Fe.InnerBlocks.Content,null)))},migrate:Vo},{attributes:{...Ao,isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,gradient:n,contentPosition:o,customGradient:r,customOverlayColor:a,dimRatio:l,focalPoint:i,hasParallax:s,isRepeated:c,overlayColor:u,url:m,minHeight:d,minHeightUnit:p}=e,g=(0,Fe.getColorClassName)("background-color",u),h=(0,Fe.__experimentalGetGradientClass)(n),v=p?`${d}${p}`:d,b=To===t,y=No===t,f=b?Po(m):{},_={};let k;g||(f.backgroundColor=a),r&&!m&&(f.background=r),f.minHeight=v||void 0,i&&(k=`${Math.round(100*i.x)}% ${Math.round(100*i.y)}%`,b&&!s&&(f.backgroundPosition=k),y&&(_.objectPosition=k));const w=vt()(Ro(l),g,{"has-background-dim":0!==l,"has-parallax":s,"is-repeated":c,"has-background-gradient":n||r,[h]:!m&&h,"has-custom-content-position":!Mo(o)},Lo(o));return(0,Le.createElement)("div",Fe.useBlockProps.save({className:w,style:f}),m&&(n||r)&&0!==l&&(0,Le.createElement)("span",{"aria-hidden":"true",className:vt()("wp-block-cover__gradient-background",h),style:r?{background:r}:void 0}),y&&m&&(0,Le.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:m,style:_}),(0,Le.createElement)("div",{className:"wp-block-cover__inner-container"},(0,Le.createElement)(Fe.InnerBlocks.Content,null)))},migrate:Vo},{attributes:{...Ao,minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,gradient:n,customGradient:o,customOverlayColor:r,dimRatio:a,focalPoint:l,hasParallax:i,overlayColor:s,url:c,minHeight:u}=e,m=(0,Fe.getColorClassName)("background-color",s),d=(0,Fe.__experimentalGetGradientClass)(n),p=t===To?Po(c):{};m||(p.backgroundColor=r),l&&!i&&(p.backgroundPosition=`${Math.round(100*l.x)}% ${Math.round(100*l.y)}%`),o&&!c&&(p.background=o),p.minHeight=u||void 0;const g=vt()(Ro(a),m,{"has-background-dim":0!==a,"has-parallax":i,"has-background-gradient":o,[d]:!c&&d});return(0,Le.createElement)("div",{className:g,style:p},c&&(n||o)&&0!==a&&(0,Le.createElement)("span",{"aria-hidden":"true",className:vt()("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),No===t&&c&&(0,Le.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:c}),(0,Le.createElement)("div",{className:"wp-block-cover__inner-container"},(0,Le.createElement)(Fe.InnerBlocks.Content,null)))},migrate:Vo},{attributes:{...Ao,minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,gradient:n,customGradient:o,customOverlayColor:r,dimRatio:a,focalPoint:l,hasParallax:i,overlayColor:s,url:c,minHeight:u}=e,m=(0,Fe.getColorClassName)("background-color",s),d=(0,Fe.__experimentalGetGradientClass)(n),p=t===To?Po(c):{};m||(p.backgroundColor=r),l&&!i&&(p.backgroundPosition=`${100*l.x}% ${100*l.y}%`),o&&!c&&(p.background=o),p.minHeight=u||void 0;const g=vt()(Ro(a),m,{"has-background-dim":0!==a,"has-parallax":i,"has-background-gradient":o,[d]:!c&&d});return(0,Le.createElement)("div",{className:g,style:p},c&&(n||o)&&0!==a&&(0,Le.createElement)("span",{"aria-hidden":"true",className:vt()("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),No===t&&c&&(0,Le.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:c}),(0,Le.createElement)("div",{className:"wp-block-cover__inner-container"},(0,Le.createElement)(Fe.InnerBlocks.Content,null)))},migrate:Vo},{attributes:{...Ao,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,contentAlign:n,customOverlayColor:o,dimRatio:r,focalPoint:a,hasParallax:l,overlayColor:i,title:s,url:c}=e,u=(0,Fe.getColorClassName)("background-color",i),m=t===To?Po(c):{};u||(m.backgroundColor=o),a&&!l&&(m.backgroundPosition=`${100*a.x}% ${100*a.y}%`);const d=vt()(Ro(r),u,{"has-background-dim":0!==r,"has-parallax":l,[`has-${n}-content`]:"center"!==n});return(0,Le.createElement)("div",{className:d,style:m},No===t&&c&&(0,Le.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:c}),!Fe.RichText.isEmpty(s)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[(0,Je.omit)(t,["title","contentAlign"]),[(0,Me.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:(0,He.__)("Write title…")})]]}},{attributes:{...Ao,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}},supports:{className:!1},save({attributes:e}){const{url:t,title:n,hasParallax:o,dimRatio:r,align:a,contentAlign:l,overlayColor:i,customOverlayColor:s}=e,c=(0,Fe.getColorClassName)("background-color",i),u=Po(t);c||(u.backgroundColor=s);const m=vt()("wp-block-cover-image",Ro(r),c,{"has-background-dim":0!==r,"has-parallax":o,[`has-${l}-content`]:"center"!==l},a?`align${a}`:null);return(0,Le.createElement)("div",{className:m,style:u},!Fe.RichText.isEmpty(n)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:n}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[(0,Je.omit)(t,["title","contentAlign","align"]),[(0,Me.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:(0,He.__)("Write title…")})]]}},{attributes:{...Ao,title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}},supports:{className:!1},save({attributes:e}){const{url:t,title:n,hasParallax:o,dimRatio:r,align:a}=e,l=Po(t),i=vt()("wp-block-cover-image",Ro(r),{"has-background-dim":0!==r,"has-parallax":o},a?`align${a}`:null);return(0,Le.createElement)("section",{className:i,style:l},(0,Le.createElement)(Fe.RichText.Content,{tagName:"h2",value:n}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[(0,Je.omit)(t,["title","contentAlign","align"]),[(0,Me.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:(0,He.__)("Write title…")})]]}}],Fo=n(7667),Do=n.n(Fo),Go={grad:.9,turn:360,rad:360/(2*Math.PI)},Uo=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},Oo=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},qo=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},$o=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},Wo=function(e){return{r:qo(e.r,0,255),g:qo(e.g,0,255),b:qo(e.b,0,255),a:qo(e.a)}},jo=function(e){return{r:Oo(e.r),g:Oo(e.g),b:Oo(e.b),a:Oo(e.a,3)}},Zo=/^#([0-9a-f]{3,8})$/i,Qo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Ko=function(e){var t=e.r,n=e.g,o=e.b,r=e.a,a=Math.max(t,n,o),l=a-Math.min(t,n,o),i=l?a===t?(n-o)/l:a===n?2+(o-t)/l:4+(t-n)/l:0;return{h:60*(i<0?i+6:i),s:a?l/a*100:0,v:a/255*100,a:r}},Jo=function(e){var t=e.h,n=e.s,o=e.v,r=e.a;t=t/360*6,n/=100,o/=100;var a=Math.floor(t),l=o*(1-n),i=o*(1-(t-a)*n),s=o*(1-(1-t+a)*n),c=a%6;return{r:255*[o,i,l,l,s,o][c],g:255*[s,o,o,i,l,l][c],b:255*[l,l,s,o,o,i][c],a:r}},Yo=function(e){return{h:$o(e.h),s:qo(e.s,0,100),l:qo(e.l,0,100),a:qo(e.a)}},Xo=function(e){return{h:Oo(e.h),s:Oo(e.s),l:Oo(e.l),a:Oo(e.a,3)}},er=function(e){return Jo((n=(t=e).s,{h:t.h,s:(n*=((o=t.l)<50?o:100-o)/100)>0?2*n/(o+n)*100:0,v:o+n,a:t.a}));var t,n,o},tr=function(e){return{h:(t=Ko(e)).h,s:(r=(200-(n=t.s))*(o=t.v)/100)>0&&r<200?n*o/100/(r<=100?r:200-r)*100:0,l:r/2,a:t.a};var t,n,o,r},nr=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,or=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,rr=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ar=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,lr={string:[[function(e){var t=Zo.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?Oo(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?Oo(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=rr.exec(e)||ar.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:Wo({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=nr.exec(e)||or.exec(e);if(!t)return null;var n,o,r=Yo({h:(n=t[1],o=t[2],void 0===o&&(o="deg"),Number(n)*(Go[o]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return er(r)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,o=e.b,r=e.a,a=void 0===r?1:r;return Uo(t)&&Uo(n)&&Uo(o)?Wo({r:Number(t),g:Number(n),b:Number(o),a:Number(a)}):null},"rgb"],[function(e){var t=e.h,n=e.s,o=e.l,r=e.a,a=void 0===r?1:r;if(!Uo(t)||!Uo(n)||!Uo(o))return null;var l=Yo({h:Number(t),s:Number(n),l:Number(o),a:Number(a)});return er(l)},"hsl"],[function(e){var t=e.h,n=e.s,o=e.v,r=e.a,a=void 0===r?1:r;if(!Uo(t)||!Uo(n)||!Uo(o))return null;var l=function(e){return{h:$o(e.h),s:qo(e.s,0,100),v:qo(e.v,0,100),a:qo(e.a)}}({h:Number(t),s:Number(n),v:Number(o),a:Number(a)});return Jo(l)},"hsv"]]},ir=function(e,t){for(var n=0;n<t.length;n++){var o=t[n][0](e);if(o)return[o,t[n][1]]}return[null,void 0]},sr=function(e,t){var n=tr(e);return{h:n.h,s:qo(n.s+100*t,0,100),l:n.l,a:n.a}},cr=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},ur=function(e,t){var n=tr(e);return{h:n.h,s:n.s,l:qo(n.l+100*t,0,100),a:n.a}},mr=function(){function e(e){this.parsed=function(e){return"string"==typeof e?ir(e.trim(),lr.string):"object"==typeof e&&null!==e?ir(e,lr.object):[null,void 0]}(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return Oo(cr(this.rgba),2)},e.prototype.isDark=function(){return cr(this.rgba)<.5},e.prototype.isLight=function(){return cr(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=jo(this.rgba)).r,n=e.g,o=e.b,a=(r=e.a)<1?Qo(Oo(255*r)):"","#"+Qo(t)+Qo(n)+Qo(o)+a;var e,t,n,o,r,a},e.prototype.toRgb=function(){return jo(this.rgba)},e.prototype.toRgbString=function(){return t=(e=jo(this.rgba)).r,n=e.g,o=e.b,(r=e.a)<1?"rgba("+t+", "+n+", "+o+", "+r+")":"rgb("+t+", "+n+", "+o+")";var e,t,n,o,r},e.prototype.toHsl=function(){return Xo(tr(this.rgba))},e.prototype.toHslString=function(){return t=(e=Xo(tr(this.rgba))).h,n=e.s,o=e.l,(r=e.a)<1?"hsla("+t+", "+n+"%, "+o+"%, "+r+")":"hsl("+t+", "+n+"%, "+o+"%)";var e,t,n,o,r},e.prototype.toHsv=function(){return e=Ko(this.rgba),{h:Oo(e.h),s:Oo(e.s),v:Oo(e.v),a:Oo(e.a,3)};var e},e.prototype.invert=function(){return dr({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),dr(sr(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),dr(sr(this.rgba,-e))},e.prototype.grayscale=function(){return dr(sr(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),dr(ur(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),dr(ur(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?dr({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):Oo(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=tr(this.rgba);return"number"==typeof e?dr({h:e,s:t.s,l:t.l,a:t.a}):Oo(t.h)},e.prototype.isEqual=function(e){return this.toHex()===dr(e).toHex()},e}(),dr=function(e){return e instanceof mr?e:new mr(e)},pr=[];!function(e){e.forEach((function(e){pr.indexOf(e)<0&&(e(mr,lr),pr.push(e))}))}([function(e,t){var n={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},o={};for(var r in n)o[n[r]]=r;var a={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var r,l,i=o[this.toHex()];if(i)return i;if(null==t?void 0:t.closest){var s=this.toRgb(),c=1/0,u="black";if(!a.length)for(var m in n)a[m]=new e(n[m]).toRgb();for(var d in n){var p=(r=s,l=a[d],Math.pow(r.r-l.r,2)+Math.pow(r.g-l.g,2)+Math.pow(r.b-l.b,2));p<c&&(c=p,u=d)}return u}},t.string.push([function(t){var o=t.toLowerCase(),r="transparent"===o?"#0000":n[o];return r?new e(r).toRgb():null},"name"])}]);const{__Visualizer:gr}=Ae.__experimentalBoxControl;function hr(){return hr.fastAverageColor||(hr.fastAverageColor=new(Do())),hr.fastAverageColor}function vr({onChange:e,onUnitChange:t,unit:n="px",value:o=""}){const[r,a]=(0,Le.useState)(null),l=`block-cover-height-input-${(0,bt.useInstanceId)(Fe.__experimentalUnitControl)}`,i="px"===n,s=(0,Ae.__experimentalUseCustomUnits)({availableUnits:(0,Fe.useSetting)("spacing.units")||["px","em","rem","vw","vh"],defaultValues:{px:"430",em:"20",rem:"20",vw:"20",vh:"50"}}),c=null!==r?r:o,u=i?50:0;return(0,Le.createElement)(Ae.BaseControl,{label:(0,He.__)("Minimum height of cover"),id:l},(0,Le.createElement)(Fe.__experimentalUnitControl,{id:l,isResetValueOnUnitChange:!0,min:u,onBlur:()=>{null!==r&&a(null)},onChange:n=>{const o=""!==n?parseFloat(n):void 0;isNaN(o)&&void 0!==o?a(n):(a(null),e(o),void 0===o&&t())},onUnitChange:t,style:{maxWidth:80},unit:n,units:s,value:c}))}const br={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};function yr({className:e,onResizeStart:t,onResize:n,onResizeStop:o,...r}){const[a,l]=(0,Le.useState)(!1);return(0,Le.createElement)(Ae.ResizableBox,St({className:vt()(e,{"is-resizing":a}),enable:br,onResizeStart:(e,o,r)=>{t(r.clientHeight),n(r.clientHeight)},onResize:(e,t,o)=>{n(o.clientHeight),a||l(!0)},onResizeStop:(e,t,n)=>{o(n.clientHeight),l(!1)}},r))}function fr({x:e,y:t}){return`${Math.round(100*e)}% ${Math.round(100*t)}%`}function _r({disableMediaButtons:e=!1,children:t,noticeUI:n,noticeOperations:o,onSelectMedia:r,style:a}){const{removeAllNotices:l,createErrorNotice:i}=o;return(0,Le.createElement)(Fe.MediaPlaceholder,{icon:(0,Le.createElement)(Fe.BlockIcon,{icon:So}),labels:{title:(0,He.__)("Cover"),instructions:(0,He.__)("Drag and drop onto this block, upload, or select existing media from your library.")},onSelect:r,accept:"image/*,video/*",allowedTypes:zo,notices:n,disableMediaButtons:e,onError:e=>{l(),i(e)},style:a},t)}var kr=(0,bt.compose)([(0,Ze.withDispatch)((e=>{const{toggleSelection:t}=e(Fe.store);return{toggleSelection:t}})),(0,Fe.withColors)({overlayColor:"background-color"}),Ae.withNotices,bt.withInstanceId])((function({attributes:e,clientId:t,isSelected:n,noticeUI:o,noticeOperations:r,overlayColor:a,setAttributes:l,setOverlayColor:i,toggleSelection:s}){var c,u,m;const{contentPosition:d,id:p,backgroundType:g,dimRatio:h,focalPoint:v,hasParallax:b,isDark:y,isRepeated:f,minHeight:_,minHeightUnit:k,style:w,url:E,alt:C,allowedBlocks:x,templateLock:S}=e,{gradientClass:B,gradientValue:T,setGradient:N}=(0,Fe.__experimentalUseGradient)(),P=function(e,t){return n=>{if(!n||!n.url)return void e({url:void 0,id:void 0});let o;if((0,je.isBlobURL)(n.url)&&(n.type=(0,je.getBlobTypeByURL)(n.url)),n.media_type)o=n.media_type===To?To:No;else{if(n.type!==To&&n.type!==No)return;o=n.type}e({dimRatio:100===t?50:t,url:n.url,id:n.id,alt:null==n?void 0:n.alt,backgroundType:o,...o===No?{focalPoint:void 0,hasParallax:void 0}:{}})}}(l,h),z=((e,t)=>!e&&(0,je.isBlobURL)(t))(p,E),[I,M]=(0,Le.useState)(_),[L,R]=(0,Le.useState)(k),V="vh"===k&&100===_,A=(0,Le.useRef)(),H=function(e,t=50,n,o){const[r,a]=(0,Le.useState)(!1);return(0,Le.useEffect)((()=>{e&&t<=50&&o.current&&hr().getColorAsync(o.current,(e=>{a(e.isDark)}))}),[e,e&&t<=50&&o.current,a]),(0,Le.useEffect)((()=>{if(t>50||!e){if(!n)return void a(!0);a(dr(n).isDark())}}),[n,t>50||!e,a]),(0,Le.useEffect)((()=>{e||n||a(!1)}),[!e&&!n,a]),r}(E,h,a.color,A);(0,Le.useEffect)((()=>{l({isDark:H})}),[H]);const F=To===g,D=No===g,[G,U]=(0,Le.useState)(null),O=k?`${_}${k}`:_,q=!(b||f),$={...F&&!q?Po(E):void 0,minHeight:G||O||void 0},W={backgroundColor:a.color},j={objectPosition:v&&q?fr(v):void 0},Z=!!(E||a.color||T),Q=D||F&&(!b||f),K=e=>{const[t,n]=A.current?[A.current.style,"objectPosition"]:[X.current.style,"backgroundPosition"];t[n]=fr(e)},J=(0,Ze.useSelect)((e=>e(Fe.store).getBlock(t).innerBlocks.length>0),[t]),Y=(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Fe.BlockControls,{group:"block"},(0,Le.createElement)(Fe.__experimentalBlockAlignmentMatrixControl,{label:(0,He.__)("Change content position"),value:d,onChange:e=>l({contentPosition:e}),isDisabled:!J}),(0,Le.createElement)(Fe.__experimentalBlockFullHeightAligmentControl,{isActive:V,onToggle:()=>V?l("vh"===L&&100===I?{minHeight:void 0,minHeightUnit:void 0}:{minHeight:I,minHeightUnit:L}):(M(_),R(k),l({minHeight:100,minHeightUnit:"vh"})),isDisabled:!J})),(0,Le.createElement)(Fe.BlockControls,{group:"other"},(0,Le.createElement)(Fe.MediaReplaceFlow,{mediaId:p,mediaURL:E,allowedTypes:zo,accept:"image/*,video/*",onSelect:P,name:E?(0,He.__)("Replace"):(0,He.__)("Add Media")})),(0,Le.createElement)(Fe.InspectorControls,null,!!E&&(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Media settings")},F&&(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Fixed background"),checked:b,onChange:()=>{l({hasParallax:!b,...b?{}:{focalPoint:void 0}})}}),(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Repeated background"),checked:f,onChange:()=>{l({isRepeated:!f})}})),Q&&(0,Le.createElement)(Ae.FocalPointPicker,{label:(0,He.__)("Focal point picker"),url:E,value:v,onDragStart:K,onDrag:K,onChange:e=>l({focalPoint:e})}),E&&F&&q&&(0,Le.createElement)(Ae.TextareaControl,{label:(0,He.__)("Alt text (alternative text)"),value:C,onChange:e=>l({alt:e}),help:(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Ae.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,He.__)("Describe the purpose of the image")),(0,He.__)("Leave empty if the image is purely decorative."))}),(0,Le.createElement)(Ae.PanelRow,null,(0,Le.createElement)(Ae.Button,{variant:"secondary",isSmall:!0,className:"block-library-cover__reset-button",onClick:()=>l({url:void 0,id:void 0,backgroundType:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0})},(0,He.__)("Clear Media")))),(0,Le.createElement)(Fe.__experimentalPanelColorGradientSettings,{__experimentalHasMultipleOrigins:!0,title:(0,He.__)("Overlay"),initialOpen:!0,settings:[{colorValue:a.color,gradientValue:T,onColorChange:i,onGradientChange:N,label:(0,He.__)("Color")}]},(0,Le.createElement)(Ae.RangeControl,{label:(0,He.__)("Opacity"),value:h,onChange:e=>l({dimRatio:e}),min:0,max:100,step:10,required:!0}))),(0,Le.createElement)(Fe.InspectorControls,{__experimentalGroup:"dimensions"},(0,Le.createElement)(Ae.__experimentalToolsPanelItem,{hasValue:()=>!!_,label:(0,He.__)("Minimum height"),onDeselect:()=>l({minHeight:void 0,minHeightUnit:void 0}),resetAllFilter:()=>({minHeight:void 0,minHeightUnit:void 0}),isShownByDefault:!0,panelId:t},(0,Le.createElement)(vr,{value:G||_,unit:k,onChange:e=>l({minHeight:e}),onUnitChange:e=>l({minHeightUnit:e})})))),X=(0,Le.useRef)(),ee=(0,Fe.useBlockProps)({ref:X}),te=function(e){return[["core/paragraph",{align:"center",placeholder:(0,He.__)("Write title…"),...e}]]}({fontSize:null!==(c=(0,Fe.useSetting)("typography.fontSizes"))&&void 0!==c&&c.length?"large":void 0}),ne=(0,Fe.useInnerBlocksProps)({className:"wp-block-cover__inner-container"},{template:te,templateInsertUpdatesSelection:!0,allowedBlocks:x,templateLock:S});if(!J&&!Z)return(0,Le.createElement)(Le.Fragment,null,Y,(0,Le.createElement)("div",St({},ee,{className:vt()("is-placeholder",ee.className)}),(0,Le.createElement)(_r,{noticeUI:o,onSelectMedia:P,noticeOperations:r,style:{minHeight:G||O||void 0}},(0,Le.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},(0,Le.createElement)(Fe.ColorPalette,{disableCustomColors:!0,value:a.color,onChange:i,clearable:!1}))),(0,Le.createElement)(yr,{className:"block-library-cover__resize-container",onResizeStart:()=>{l({minHeightUnit:"px"}),s(!1)},onResize:U,onResizeStop:e=>{s(!0),l({minHeight:e}),U(null)},showHandle:n})));const oe=vt()({"is-dark-theme":y,"is-light":!y,"is-transient":z,"has-parallax":b,"is-repeated":f,"has-custom-content-position":!Mo(d)},Lo(d));return(0,Le.createElement)(Le.Fragment,null,Y,(0,Le.createElement)("div",St({},ee,{className:vt()(oe,ee.className),style:{...$,...ee.style},"data-url":E}),(0,Le.createElement)(gr,{values:null==w||null===(u=w.spacing)||void 0===u?void 0:u.padding,showValues:null==w||null===(m=w.visualizers)||void 0===m?void 0:m.padding}),(0,Le.createElement)(yr,{className:"block-library-cover__resize-container",onResizeStart:()=>{l({minHeightUnit:"px"}),s(!1)},onResize:U,onResizeStop:e=>{s(!0),l({minHeight:e}),U(null)},showHandle:n}),(0,Le.createElement)("span",{"aria-hidden":"true",className:vt()(Io(h),{[a.class]:a.class},"wp-block-cover__gradient-background",B,{"has-background-dim":void 0!==h,"has-background-gradient":T,[B]:!E&&B}),style:{backgroundImage:T,...W}}),E&&F&&q&&(0,Le.createElement)("img",{ref:A,className:"wp-block-cover__image-background",alt:C,src:E,style:j}),E&&D&&(0,Le.createElement)("video",{ref:A,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:E,style:j}),z&&(0,Le.createElement)(Ae.Spinner,null),(0,Le.createElement)(_r,{disableMediaButtons:!0,noticeUI:o,onSelectMedia:P,noticeOperations:r}),(0,Le.createElement)("div",ne)))})),wr={from:[{type:"block",blocks:["core/image"],transform:({caption:e,url:t,alt:n,align:o,id:r,anchor:a,style:l})=>{var i;return(0,Me.createBlock)("core/cover",{url:t,alt:n,align:o,id:r,anchor:a,style:{color:{duotone:null==l||null===(i=l.color)||void 0===i?void 0:i.duotone}}},[(0,Me.createBlock)("core/paragraph",{content:e,fontSize:"large"})])}},{type:"block",blocks:["core/video"],transform:({caption:e,src:t,align:n,id:o,anchor:r})=>(0,Me.createBlock)("core/cover",{url:t,align:n,id:o,backgroundType:No,anchor:r},[(0,Me.createBlock)("core/paragraph",{content:e,fontSize:"large"})])},{type:"block",blocks:["core/group"],isMatch:({backgroundColor:e,gradient:t,style:n})=>{var o,r;return e||(null==n||null===(o=n.color)||void 0===o?void 0:o.background)||(null==n||null===(r=n.color)||void 0===r?void 0:r.gradient)||t},transform:({align:e,anchor:t,backgroundColor:n,gradient:o,style:r},a)=>{var l,i;return(0,Me.createBlock)("core/cover",{align:e,anchor:t,overlayColor:n,customOverlayColor:null==r||null===(l=r.color)||void 0===l?void 0:l.background,gradient:o,customGradient:null==r||null===(i=r.color)||void 0===i?void 0:i.gradient},a)}}],to:[{type:"block",blocks:["core/image"],isMatch:({backgroundType:e,url:t,overlayColor:n,customOverlayColor:o,gradient:r,customGradient:a})=>t?e===To:!(n||o||r||a),transform:({title:e,url:t,alt:n,align:o,id:r,anchor:a,style:l})=>{var i;return(0,Me.createBlock)("core/image",{caption:e,url:t,alt:n,align:o,id:r,anchor:a,style:{color:{duotone:null==l||null===(i=l.color)||void 0===i?void 0:i.duotone}}})}},{type:"block",blocks:["core/video"],isMatch:({backgroundType:e,url:t,overlayColor:n,customOverlayColor:o,gradient:r,customGradient:a})=>t?e===No:!(n||o||r||a),transform:({title:e,url:t,align:n,id:o,anchor:r})=>(0,Me.createBlock)("core/video",{caption:e,src:t,id:o,align:n,anchor:r})}]};const Er={apiVersion:2,name:"core/cover",title:"Cover",category:"media",description:"Add an image or video with a text overlay — great for headers.",textdomain:"default",attributes:{url:{type:"string"},id:{type:"number"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},hasParallax:{type:"boolean",default:!1},isRepeated:{type:"boolean",default:!1},dimRatio:{type:"number",default:100},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},isDark:{type:"boolean",default:!0},allowedBlocks:{type:"array"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},supports:{anchor:!0,align:!0,html:!1,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},color:{__experimentalDuotone:"> .wp-block-cover__image-background, > .wp-block-cover__video-background",text:!1,background:!1}},editorStyle:"wp-block-cover-editor",style:"wp-block-cover"},{name:Cr}=Er,xr={icon:So,example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:(0,He.__)("<strong>Snow Patrol</strong>"),align:"center"}}]},transforms:wr,save:function({attributes:e}){const{backgroundType:t,gradient:n,contentPosition:o,customGradient:r,customOverlayColor:a,dimRatio:l,focalPoint:i,hasParallax:s,isDark:c,isRepeated:u,overlayColor:m,url:d,alt:p,id:g,minHeight:h,minHeightUnit:v}=e,b=(0,Fe.getColorClassName)("background-color",m),y=(0,Fe.__experimentalGetGradientClass)(n),f=v?`${h}${v}`:h,_=To===t,k=No===t,w=!(s||u),E={..._&&!w?Po(d):{},minHeight:f||void 0},C={backgroundColor:b?void 0:a,background:r||void 0},x=i&&w?`${Math.round(100*i.x)}% ${Math.round(100*i.y)}%`:void 0,S=vt()({"is-light":!c,"has-parallax":s,"is-repeated":u,"has-custom-content-position":!Mo(o)},Lo(o));return(0,Le.createElement)("div",Fe.useBlockProps.save({className:S,style:E}),(0,Le.createElement)("span",{"aria-hidden":"true",className:vt()(b,Io(l),"wp-block-cover__gradient-background",y,{"has-background-dim":void 0!==l,"has-background-gradient":n||r,[y]:!d&&y}),style:C}),_&&w&&d&&(0,Le.createElement)("img",{className:vt()("wp-block-cover__image-background",g?`wp-image-${g}`:null),alt:p,src:d,style:{objectPosition:x},"data-object-fit":"cover","data-object-position":x}),k&&d&&(0,Le.createElement)("video",{className:vt()("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:{objectPosition:x},"data-object-fit":"cover","data-object-position":x}),(0,Le.createElement)("div",Fe.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})))},edit:kr,deprecated:Ho};function Sr(e){return e?(0,He.__)("This embed will preserve its aspect ratio when the browser is resized."):(0,He.__)("This embed may not preserve its aspect ratio when the browser is resized.")}var Br=({blockSupportsResponsive:e,showEditButton:t,themeSupportsResponsive:n,allowResponsive:o,toggleResponsive:r,switchBackToURLInput:a})=>(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Fe.BlockControls,null,(0,Le.createElement)(Ae.ToolbarGroup,null,t&&(0,Le.createElement)(Ae.ToolbarButton,{className:"components-toolbar__control",label:(0,He.__)("Edit URL"),icon:ro,onClick:a}))),n&&e&&(0,Le.createElement)(Fe.InspectorControls,null,(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Media settings"),className:"blocks-responsive"},(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Resize for smaller devices"),checked:o,help:Sr,onChange:r}))));const Tr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Ae.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z"})),Nr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Ae.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM13.2 7.7c-.4.4-.7 1.1-.7 1.9v3.7c-.4-.3-.8-.4-1.3-.4-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2.5 0 1-.2 1.4-.5.9-.6 1.4-1.6 1.4-2.6V9.6c0-.4.1-.6.2-.8.3-.3 1-.3 1.6-.3h.2V7h-.2c-.7 0-1.8 0-2.6.7z"})),Pr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Ae.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9.2 4.5H19c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V9.8l4.6-5.3zm9.8 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),zr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Ae.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM10 15l5-3-5-3v6z"})),Ir={foreground:"#1da1f2",src:(0,Le.createElement)(Ae.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.G,null,(0,Le.createElement)(Ae.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},Mr={foreground:"#ff0000",src:(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},Lr={foreground:"#3b5998",src:(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},Rr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.G,null,(0,Le.createElement)(Ae.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),Vr={foreground:"#0073AA",src:(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.G,null,(0,Le.createElement)(Ae.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},Ar={foreground:"#1db954",src:(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},Hr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),Fr={foreground:"#1ab7ea",src:(0,Le.createElement)(Ae.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.G,null,(0,Le.createElement)(Ae.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},Dr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),Gr={foreground:"#35465c",src:(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"M19 3H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.69 14.66c-2.72 0-3.1-1.9-3.1-3.16v-3.56H8.49V8.99c1.7-.62 2.54-1.99 2.64-2.87 0-.06.06-.41.06-.58h1.9v3.1h2.17v2.3h-2.18v3.1c0 .47.13 1.3 1.2 1.26h1.1v2.36c-1.01.02-2.07 0-2.07 0z"}))},Ur=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),(0,Le.createElement)(Ae.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),(0,Le.createElement)(Ae.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"})),Or=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",fill:"#4bc7ee"}),(0,Le.createElement)(Ae.Path,{d:"m23.7254 19.0205-10.1074-17.18468c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418h22.5655c1.279 0 1.8019-.8905 1.1599-1.9795z",fill:"#d4cdcb"}),(0,Le.createElement)(Ae.Path,{d:"m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",fill:"#c3d82e"}),(0,Le.createElement)(Ae.Path,{d:"m13.618 1.83582c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418 15.2646-16.38573z",fill:"#e4ecb0"}),(0,Le.createElement)(Ae.Path,{d:"m.0206909 21 19.5468091-9.063 1.6621 2.8344z",fill:"#209dbd"}),(0,Le.createElement)(Ae.Path,{d:"m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",fill:"#7cb3c9"})),qr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"m12.1479 18.5957c-2.4949 0-4.28131-1.7558-4.28131-4.0658 0-2.2176 1.78641-4.0965 4.09651-4.0965 2.2793 0 4.0349 1.7864 4.0349 4.1581 0 2.2794-1.7556 4.0042-3.8501 4.0042zm8.3521-18.5957-4.5329 1v7c-1.1088-1.41691-2.8028-1.8787-4.8049-1.8787-2.09443 0-3.97329.76993-5.5133 2.27917-1.72483 1.66323-2.6489 3.78863-2.6489 6.16033 0 2.5873.98562 4.8049 2.89526 6.499 1.44763 1.2936 3.17251 1.9402 5.17454 1.9402 1.9713 0 3.4498-.5236 4.8973-1.9402v1.9402h4.5329c0-7.6359 0-15.3641 0-23z",fill:"#333436"})),$r=(0,Le.createElement)(Ae.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Le.createElement)(Ae.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"})),Wr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 44 44"},(0,Le.createElement)(Ae.Path,{d:"M32.59521,22.001l4.31885-4.84473-6.34131-1.38379.646-6.459-5.94336,2.61035L22,6.31934l-3.27344,5.60351L12.78418,9.3125l.645,6.458L7.08643,17.15234,11.40479,21.999,7.08594,26.84375l6.34131,1.38379-.64551,6.458,5.94287-2.60938L22,37.68066l3.27344-5.60351,5.94287,2.61035-.64551-6.458,6.34277-1.38183Zm.44385,2.75244L30.772,23.97827l-1.59558-2.07391,1.97888.735Zm-8.82147,6.1579L22.75,33.424V30.88977l1.52228-2.22168ZM18.56226,13.48816,19.819,15.09534l-2.49219-.88642L15.94037,12.337Zm6.87719.00116,2.62043-1.15027-1.38654,1.86981L24.183,15.0946Zm3.59357,2.6029-1.22546,1.7381.07525-2.73486,1.44507-1.94867ZM22,29.33008l-2.16406-3.15686L22,23.23688l2.16406,2.93634Zm-4.25458-9.582-.10528-3.836,3.60986,1.284v3.73242Zm5.00458-2.552,3.60986-1.284-.10528,3.836L22.75,20.92853Zm-7.78174-1.10559-.29352-2.94263,1.44245,1.94739.07519,2.73321Zm2.30982,5.08319,3.50817,1.18164-2.16247,2.9342-3.678-1.08447Zm2.4486,7.49285L21.25,30.88977v2.53485L19.78052,30.91Zm3.48707-6.31121,3.50817-1.18164,2.33228,3.03137-3.678,1.08447Zm10.87219-4.28113-2.714,3.04529L28.16418,19.928l1.92176-2.72565ZM24.06036,12.81769l-2.06012,2.6322-2.059-2.63318L22,9.292ZM9.91455,18.07227l4.00079-.87195,1.921,2.72735-3.20794,1.19019Zm2.93024,4.565,1.9801-.73462L13.228,23.97827l-2.26838.77429Zm-1.55591,3.58819L13.701,25.4021l2.64935.78058-2.14447.67853Zm3.64868,1.977L18.19,27.17334l.08313,3.46332L14.52979,32.2793Zm10.7876,2.43549.08447-3.464,3.25165,1.03052.407,4.07684Zm4.06824-3.77478-2.14545-.68,2.65063-.781,2.41266.825Z"}));var jr=()=>(0,Le.createElement)("div",{className:"wp-block-embed is-loading"},(0,Le.createElement)(Ae.Spinner,null),(0,Le.createElement)("p",null,(0,He.__)("Embedding…"))),Zr=({icon:e,label:t,value:n,onSubmit:o,onChange:r,cannotEmbed:a,fallback:l,tryAgain:i})=>(0,Le.createElement)(Ae.Placeholder,{icon:(0,Le.createElement)(Fe.BlockIcon,{icon:e,showColors:!0}),label:t,className:"wp-block-embed",instructions:(0,He.__)("Paste a link to the content you want to display on your site.")},(0,Le.createElement)("form",{onSubmit:o},(0,Le.createElement)("input",{type:"url",value:n||"",className:"components-placeholder__input","aria-label":t,placeholder:(0,He.__)("Enter URL to embed here…"),onChange:r}),(0,Le.createElement)(Ae.Button,{variant:"primary",type:"submit"},(0,He._x)("Embed","button label"))),(0,Le.createElement)("div",{className:"components-placeholder__learn-more"},(0,Le.createElement)(Ae.ExternalLink,{href:(0,He.__)("https://wordpress.org/support/article/embeds/")},(0,He.__)("Learn more about embeds"))),a&&(0,Le.createElement)("div",{className:"components-placeholder__error"},(0,Le.createElement)("div",{className:"components-placeholder__instructions"},(0,He.__)("Sorry, this content could not be embedded.")),(0,Le.createElement)(Ae.Button,{variant:"secondary",onClick:i},(0,He._x)("Try again","button label"))," ",(0,Le.createElement)(Ae.Button,{variant:"secondary",onClick:l},(0,He._x)("Convert to link","button label"))));const Qr={class:"className",frameborder:"frameBorder",marginheight:"marginHeight",marginwidth:"marginWidth"};function Kr({html:e}){const t=(0,Le.useRef)(),n=(0,Le.useMemo)((()=>{const t=(new window.DOMParser).parseFromString(e,"text/html").querySelector("iframe"),n={};return t?(Array.from(t.attributes).forEach((({name:e,value:t})=>{"style"!==e&&(n[Qr[e]||e]=t)})),n):n}),[e]);return(0,Le.useEffect)((()=>{const{ownerDocument:e}=t.current,{defaultView:o}=e;function r({data:{secret:e,message:o,value:r}={}}){"height"===o&&e===n["data-secret"]&&(t.current.height=r)}return o.addEventListener("message",r),()=>{o.removeEventListener("message",r)}}),[]),(0,Le.createElement)("div",{className:"wp-block-embed__wrapper"},(0,Le.createElement)("iframe",St({ref:(0,bt.useMergeRefs)([t,(0,bt.useFocusableIframe)()]),title:n.title},n)))}class Jr extends Le.Component{constructor(){super(...arguments),this.hideOverlay=this.hideOverlay.bind(this),this.state={interactive:!1}}static getDerivedStateFromProps(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}hideOverlay(){this.setState({interactive:!0})}render(){const{preview:e,previewable:t,url:n,type:o,caption:r,onCaptionChange:a,isSelected:l,className:i,icon:s,label:c,insertBlocksAfter:u}=this.props,{scripts:m}=e,{interactive:d}=this.state,p="photo"===o?(e=>{const t=e.thumbnail_url||e.url,n=(0,Le.createElement)("p",null,(0,Le.createElement)("img",{src:t,alt:e.title,width:"100%"}));return(0,Le.renderToString)(n)})(e):e.html,g=new URL(n).host.split("."),h=g.splice(g.length-2,g.length-1).join("."),v=(0,He.sprintf)(// translators: %s: host providing embed content e.g: www.youtube.com
14
  (0,He.__)("Embedded content from %s"),h),b=Xe()(o,i,"wp-block-embed__wrapper"),y="wp-embed"===o?(0,Le.createElement)(Kr,{html:p}):(0,Le.createElement)("div",{className:"wp-block-embed__wrapper"},(0,Le.createElement)(Ae.SandBox,{html:p,scripts:m,title:v,type:b,onFocus:this.hideOverlay}),!d&&(0,Le.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return(0,Le.createElement)("figure",{className:Xe()(i,"wp-block-embed",{"is-type-video":"video"===o})},t?y:(0,Le.createElement)(Ae.Placeholder,{icon:(0,Le.createElement)(Fe.BlockIcon,{icon:s,showColors:!0}),label:c},(0,Le.createElement)("p",{className:"components-placeholder__error"},(0,Le.createElement)("a",{href:n},n)),(0,Le.createElement)("p",{className:"components-placeholder__error"},(0,He.sprintf)(
15
  /* translators: %s: host providing embed content e.g: www.youtube.com */
16
  (0,He.__)("Embedded content from %s can't be previewed in the editor."),h))),(!Fe.RichText.isEmpty(r)||l)&&(0,Le.createElement)(Fe.RichText,{tagName:"figcaption",placeholder:(0,He.__)("Add caption"),value:r,onChange:a,inlineToolbar:!0,__unstableOnSplitAtEnd:()=>u((0,Me.createBlock)("core/paragraph"))}))}}var Yr=Jr;const{name:Xr}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"};var ea={from:[{type:"raw",isMatch:e=>{var t,n;return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)&&1===(null===(t=e.textContent)||void 0===t||null===(n=t.match(/https/gi))||void 0===n?void 0:n.length)},transform:e=>(0,Me.createBlock)(Xr,{url:e.textContent.trim()})}],to:[{type:"block",blocks:["core/paragraph"],isMatch:({url:e})=>!!e,transform:({url:e,caption:t})=>{let n=`<a href="${e}">${e}</a>`;return null!=t&&t.trim()&&(n+=`<br />${t}`),(0,Me.createBlock)("core/paragraph",{content:n})}}]};const ta=[{name:"twitter",title:"Twitter",icon:Ir,keywords:["tweet",(0,He.__)("social")],description:(0,He.__)("Embed a tweet."),patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i],attributes:{providerNameSlug:"twitter",responsive:!0}},{name:"youtube",title:"YouTube",icon:Mr,keywords:[(0,He.__)("music"),(0,He.__)("video")],description:(0,He.__)("Embed a YouTube video."),patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i],attributes:{providerNameSlug:"youtube",responsive:!0}},{name:"facebook",title:"Facebook",icon:Lr,keywords:[(0,He.__)("social")],description:(0,He.__)("Embed a Facebook post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}},{name:"instagram",title:"Instagram",icon:Rr,keywords:[(0,He.__)("image"),(0,He.__)("social")],description:(0,He.__)("Embed an Instagram post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"instagram",responsive:!0}},{name:"wordpress",title:"WordPress",icon:Vr,keywords:[(0,He.__)("post"),(0,He.__)("blog")],description:(0,He.__)("Embed a WordPress post."),attributes:{providerNameSlug:"wordpress"}},{name:"soundcloud",title:"SoundCloud",icon:Nr,keywords:[(0,He.__)("music"),(0,He.__)("audio")],description:(0,He.__)("Embed SoundCloud content."),patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i],attributes:{providerNameSlug:"soundcloud",responsive:!0}},{name:"spotify",title:"Spotify",icon:Ar,keywords:[(0,He.__)("music"),(0,He.__)("audio")],description:(0,He.__)("Embed Spotify content."),patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i],attributes:{providerNameSlug:"spotify",responsive:!0}},{name:"flickr",title:"Flickr",icon:Hr,keywords:[(0,He.__)("image")],description:(0,He.__)("Embed Flickr content."),patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i],attributes:{providerNameSlug:"flickr",responsive:!0}},{name:"vimeo",title:"Vimeo",icon:Fr,keywords:[(0,He.__)("video")],description:(0,He.__)("Embed a Vimeo video."),patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i],attributes:{providerNameSlug:"vimeo",responsive:!0}},{name:"animoto",title:"Animoto",icon:Or,description:(0,He.__)("Embed an Animoto video."),patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i],attributes:{providerNameSlug:"animoto",responsive:!0}},{name:"cloudup",title:"Cloudup",icon:Tr,description:(0,He.__)("Embed Cloudup content."),patterns:[/^https?:\/\/cloudup\.com\/.+/i],attributes:{providerNameSlug:"cloudup",responsive:!0}},{name:"collegehumor",title:"CollegeHumor",icon:zr,description:(0,He.__)("Embed CollegeHumor content."),scope:["block"],patterns:[],attributes:{providerNameSlug:"collegehumor",responsive:!0}},{name:"crowdsignal",title:"Crowdsignal",icon:Tr,keywords:["polldaddy",(0,He.__)("survey")],description:(0,He.__)("Embed Crowdsignal (formerly Polldaddy) content."),patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i],attributes:{providerNameSlug:"crowdsignal",responsive:!0}},{name:"dailymotion",title:"Dailymotion",icon:qr,keywords:[(0,He.__)("video")],description:(0,He.__)("Embed a Dailymotion video."),patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i],attributes:{providerNameSlug:"dailymotion",responsive:!0}},{name:"imgur",title:"Imgur",icon:Pr,description:(0,He.__)("Embed Imgur content."),patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i],attributes:{providerNameSlug:"imgur",responsive:!0}},{name:"issuu",title:"Issuu",icon:Tr,description:(0,He.__)("Embed Issuu content."),patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i],attributes:{providerNameSlug:"issuu",responsive:!0}},{name:"kickstarter",title:"Kickstarter",icon:Tr,description:(0,He.__)("Embed Kickstarter content."),patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i],attributes:{providerNameSlug:"kickstarter",responsive:!0}},{name:"mixcloud",title:"Mixcloud",icon:Nr,keywords:[(0,He.__)("music"),(0,He.__)("audio")],description:(0,He.__)("Embed Mixcloud content."),patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i],attributes:{providerNameSlug:"mixcloud",responsive:!0}},{name:"reddit",title:"Reddit",icon:Dr,description:(0,He.__)("Embed a Reddit thread."),patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i],attributes:{providerNameSlug:"reddit",responsive:!0}},{name:"reverbnation",title:"ReverbNation",icon:Nr,description:(0,He.__)("Embed ReverbNation content."),patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i],attributes:{providerNameSlug:"reverbnation",responsive:!0}},{name:"screencast",title:"Screencast",icon:zr,description:(0,He.__)("Embed Screencast content."),patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i],attributes:{providerNameSlug:"screencast",responsive:!0}},{name:"scribd",title:"Scribd",icon:Tr,description:(0,He.__)("Embed Scribd content."),patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i],attributes:{providerNameSlug:"scribd",responsive:!0}},{name:"slideshare",title:"Slideshare",icon:Tr,description:(0,He.__)("Embed Slideshare content."),patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i],attributes:{providerNameSlug:"slideshare",responsive:!0}},{name:"smugmug",title:"SmugMug",icon:Pr,description:(0,He.__)("Embed SmugMug content."),patterns:[/^https?:\/\/(.+\.)?smugmug\.com\/.*/i],attributes:{providerNameSlug:"smugmug",previewable:!1,responsive:!0}},{name:"speaker-deck",title:"Speaker Deck",icon:Tr,description:(0,He.__)("Embed Speaker Deck content."),patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i],attributes:{providerNameSlug:"speaker-deck",responsive:!0}},{name:"tiktok",title:"TikTok",icon:zr,keywords:[(0,He.__)("video")],description:(0,He.__)("Embed a TikTok video."),patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i],attributes:{providerNameSlug:"tiktok",responsive:!0}},{name:"ted",title:"TED",icon:zr,description:(0,He.__)("Embed a TED video."),patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i],attributes:{providerNameSlug:"ted",responsive:!0}},{name:"tumblr",title:"Tumblr",icon:Gr,keywords:[(0,He.__)("social")],description:(0,He.__)("Embed a Tumblr post."),patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i],attributes:{providerNameSlug:"tumblr",responsive:!0}},{name:"videopress",title:"VideoPress",icon:zr,keywords:[(0,He.__)("video")],description:(0,He.__)("Embed a VideoPress video."),patterns:[/^https?:\/\/videopress\.com\/.+/i],attributes:{providerNameSlug:"videopress",responsive:!0}},{name:"wordpress-tv",title:"WordPress.tv",icon:zr,description:(0,He.__)("Embed a WordPress.tv video."),patterns:[/^https?:\/\/wordpress\.tv\/.+/i],attributes:{providerNameSlug:"wordpress-tv",responsive:!0}},{name:"amazon-kindle",title:"Amazon Kindle",icon:Ur,keywords:[(0,He.__)("ebook")],description:(0,He.__)("Embed Amazon Kindle content."),patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i],attributes:{providerNameSlug:"amazon-kindle"}},{name:"pinterest",title:"Pinterest",icon:$r,keywords:[(0,He.__)("social"),(0,He.__)("bookmark")],description:(0,He.__)("Embed Pinterest pins, boards, and profiles."),patterns:[/^https?:\/\/([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?\/.*/i],attributes:{providerNameSlug:"pinterest"}},{name:"wolfram-cloud",title:"Wolfram Cloud",icon:Wr,description:(0,He.__)("Embed Wolfram Cloud notebook content."),patterns:[/^https?:\/\/(www\.)?wolframcloud\.com\/obj\/.+/i],attributes:{providerNameSlug:"wolfram-cloud",responsive:!0}}];ta.forEach((e=>{e.isActive||(e.isActive=(e,t)=>e.providerNameSlug===t.providerNameSlug)}));var na=ta;const{attributes:oa}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"};var ra=[{attributes:oa,save({attributes:{url:e,caption:t,type:n,providerNameSlug:o}}){if(!e)return null;const r=vt()("wp-block-embed",{[`is-type-${n}`]:n,[`is-provider-${o}`]:o});return(0,Le.createElement)("figure",{className:r},`\n${e}\n`,!Fe.RichText.isEmpty(t)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",value:t}))}}];const aa={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"},{name:la}=aa,ia={icon:Tr,edit:e=>{const{attributes:{providerNameSlug:t,previewable:n,responsive:o,url:r},attributes:a,isSelected:l,onReplace:i,setAttributes:s,insertBlocksAfter:c,onFocus:u}=e,m={title:(0,He._x)("Embed","block title"),icon:Tr},{icon:d,title:p}=(g=t,(null===(h=(0,Me.getBlockVariations)(nt))||void 0===h?void 0:h.find((({name:e})=>e===g)))||m);var g,h;const[v,b]=(0,Le.useState)(r),[y,f]=(0,Le.useState)(!1),{invalidateResolution:_}=(0,Ze.useDispatch)(Zt.store),{preview:k,fetching:w,themeSupportsResponsive:E,cannotEmbed:C}=(0,Ze.useSelect)((e=>{var t;const{getEmbedPreview:n,isPreviewEmbedFallback:o,isRequestingEmbedPreview:a,getThemeSupports:l}=e(Zt.store);if(!r)return{fetching:!1,cannotEmbed:!1};const i=n(r),s=o(r),c=!1===(null==i?void 0:i.html)&&void 0===(null==i?void 0:i.type),u=404===(null==i||null===(t=i.data)||void 0===t?void 0:t.status),m=!!i&&!c&&!u;return{preview:m?i:void 0,fetching:a(r),themeSupportsResponsive:l()["responsive-embeds"],cannotEmbed:!m||s}}),[r]),x=()=>{const{allowResponsive:e,className:t}=a;return{...a,...it(k,p,t,o,e)}};(0,Le.useEffect)((()=>{if(null==k||!k.html||!C||w)return;const e=r.replace(/\/$/,"");b(e),f(!1),s({url:e})}),[null==k?void 0:k.html,r]),(0,Le.useEffect)((()=>{if(k&&!y&&(s(x()),i)){const t=rt(e,x());t&&i(t)}}),[k,y]);const S=(0,Fe.useBlockProps)();if(w)return(0,Le.createElement)(Re.View,S,(0,Le.createElement)(jr,null));// translators: %s: type of embed e.g: "YouTube", "Twitter", etc. "Embed" is used when no specific type exists
@@ -18,13 +18,13 @@ const B=(0,He.sprintf)((0,He.__)("%s URL"),p);if(!k||C||y)return(0,Le.createElem
18
  /* translators: %s: filename. */
19
  (0,He.__)("Embed of %s."),n);return t&&(0,Le.createElement)("div",Fe.useBlockProps.save(),i&&(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:`${s}px`},"aria-label":c})),!Fe.RichText.isEmpty(n)&&(0,Le.createElement)("a",{href:o,target:r,rel:r?"noreferrer noopener":void 0},(0,Le.createElement)(Fe.RichText.Content,{value:n})),a&&(0,Le.createElement)("a",{href:t,className:"wp-block-file__button",download:!0},(0,Le.createElement)(Fe.RichText.Content,{value:l})))}}],ua=window.wp.notices;function ma({hrefs:e,openInNewWindow:t,showDownloadButton:n,changeLinkDestinationOption:o,changeOpenInNewWindow:r,changeShowDownloadButton:a,displayPreview:l,changeDisplayPreview:i,previewHeight:s,changePreviewHeight:c}){const{href:u,textLinkHref:m,attachmentPage:d}=e;let p=[{value:u,label:(0,He.__)("URL")}];return d&&(p=[{value:u,label:(0,He.__)("Media file")},{value:d,label:(0,He.__)("Attachment page")}]),(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Fe.InspectorControls,null,u.endsWith(".pdf")&&(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("PDF settings")},(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Show inline embed"),help:l?(0,He.__)("Note: Most phone and tablet browsers won't display embedded PDFs."):null,checked:!!l,onChange:i}),l&&(0,Le.createElement)(Ae.RangeControl,{label:(0,He.__)("Height in pixels"),min:pa,max:Math.max(ga,s),value:s,onChange:c})),(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Text link settings")},(0,Le.createElement)(Ae.SelectControl,{label:(0,He.__)("Link to"),value:m,options:p,onChange:o}),(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Open in new tab"),checked:t,onChange:r})),(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Download button settings")},(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Show download button"),checked:n,onChange:a}))))}const da=e=>{let t;try{t=new window.ActiveXObject(e)}catch(e){t=void 0}return t},pa=200,ga=2e3;function ha({text:e,disabled:t}){const{createNotice:n}=(0,Ze.useDispatch)(ua.store),o=(0,bt.useCopyToClipboard)(e,(()=>{n("info",(0,He.__)("Copied URL to clipboard."),{isDismissible:!0,type:"snackbar"})}));return(0,Le.createElement)(Ae.ToolbarButton,{className:"components-clipboard-toolbar-button",ref:o,disabled:t},(0,He.__)("Copy URL"))}var va=(0,Ae.withNotices)((function({attributes:e,isSelected:t,setAttributes:n,noticeUI:o,noticeOperations:r,clientId:a}){const{id:l,fileName:i,href:s,textLinkHref:c,textLinkTarget:u,showDownloadButton:m,downloadButtonText:d,displayPreview:p,previewHeight:g}=e,[h,v]=(0,Le.useState)(!1),{media:b,mediaUpload:y}=(0,Ze.useSelect)((e=>({media:void 0===l?void 0:e(Zt.store).getMedia(l),mediaUpload:e(Fe.store).getSettings().mediaUpload})),[l]),{toggleSelection:f}=(0,Ze.useDispatch)(Fe.store);function _(e){if(e&&e.url){v(!1);const t=e.url.endsWith(".pdf");n({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id,displayPreview:!!t||void 0,previewHeight:t?600:void 0})}}function k(e){v(!0),r.removeAllNotices(),r.createErrorNotice(e)}function w(e){n({downloadButtonText:e.replace(/<\/?a[^>]*>/g,"")})}(0,Le.useEffect)((()=>{if((0,je.isBlobURL)(s)){const e=(0,je.getBlobByURL)(s);y({filesList:[e],onFileChange:([e])=>_(e),onError:e=>{v(!0),r.createErrorNotice(e)}}),(0,je.revokeBlobURL)(s)}void 0===d&&w((0,He._x)("Download","button label"))}),[]),(0,Le.useEffect)((()=>{n({fileId:`wp-block-file--media-${a}`})}),[a]);const E=b&&b.link,C=(0,Fe.useBlockProps)({className:vt()((0,je.isBlobURL)(s)&&(0,Ae.__unstableGetAnimateClassName)({type:"loading"}),{"is-transient":(0,je.isBlobURL)(s)})}),x=!(window.navigator.userAgent.indexOf("Mobi")>-1||window.navigator.userAgent.indexOf("Android")>-1||window.navigator.userAgent.indexOf("Macintosh")>-1&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2||(window.ActiveXObject||"ActiveXObject"in window)&&!da("AcroPDF.PDF")&&!da("PDF.PdfCtrl"))&&p;return!s||h?(0,Le.createElement)("div",C,(0,Le.createElement)(Fe.MediaPlaceholder,{icon:(0,Le.createElement)(Fe.BlockIcon,{icon:sa}),labels:{title:(0,He.__)("File"),instructions:(0,He.__)("Upload a file or pick one from your media library.")},onSelect:_,notices:o,onError:k,accept:"*"})):(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(ma,{hrefs:{href:s,textLinkHref:c,attachmentPage:E},openInNewWindow:!!u,showDownloadButton:m,changeLinkDestinationOption:function(e){n({textLinkHref:e})},changeOpenInNewWindow:function(e){n({textLinkTarget:!!e&&"_blank"})},changeShowDownloadButton:function(e){n({showDownloadButton:e})},displayPreview:p,changeDisplayPreview:function(e){n({displayPreview:e})},previewHeight:g,changePreviewHeight:function(e){const t=Math.max(parseInt(e,10),pa);n({previewHeight:t})}}),(0,Le.createElement)(Fe.BlockControls,{group:"other"},(0,Le.createElement)(Fe.MediaReplaceFlow,{mediaId:l,mediaURL:s,accept:"*",onSelect:_,onError:k}),(0,Le.createElement)(ha,{text:s,disabled:(0,je.isBlobURL)(s)})),(0,Le.createElement)("div",C,x&&(0,Le.createElement)(Ae.ResizableBox,{size:{height:g},minHeight:pa,maxHeight:ga,minWidth:"100%",grid:[10,10],enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:()=>f(!1),onResizeStop:function(e,t,o,r){f(!0);const a=parseInt(g+r.height,10);n({previewHeight:a})},showHandle:t},(0,Le.createElement)("object",{className:"wp-block-file__preview",data:s,type:"application/pdf","aria-label":(0,He.__)("Embed of the selected PDF file.")}),!t&&(0,Le.createElement)("div",{className:"wp-block-file__preview-overlay"})),(0,Le.createElement)("div",{className:"wp-block-file__content-wrapper"},(0,Le.createElement)(Fe.RichText,{tagName:"a",value:i,placeholder:(0,He.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:e=>n({fileName:e}),href:c}),m&&(0,Le.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},(0,Le.createElement)(Fe.RichText,{tagName:"div","aria-label":(0,He.__)("Download button text"),className:"wp-block-file__button",value:d,withoutInteractiveFormatting:!0,placeholder:(0,He.__)("Add text…"),onChange:e=>w(e)})))))})),ba=window.wp.url,ya={from:[{type:"files",isMatch:e=>e.length>0,priority:15,transform:e=>{const t=[];return e.forEach((e=>{const n=(0,je.createBlobURL)(e);t.push((0,Me.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))})),t}},{type:"block",blocks:["core/audio"],transform:e=>(0,Me.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/video"],transform:e=>(0,Me.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/image"],transform:e=>(0,Me.createBlock)("core/file",{href:e.url,fileName:e.caption||(0,ba.getFilename)(e.url),textLinkHref:e.url,id:e.id,anchor:e.anchor})}],to:[{type:"block",blocks:["core/audio"],isMatch:({id:e})=>{if(!e)return!1;const{getMedia:t}=(0,Ze.select)(Zt.store),n=t(e);return!!n&&(0,Je.includes)(n.mime_type,"audio")},transform:e=>(0,Me.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/video"],isMatch:({id:e})=>{if(!e)return!1;const{getMedia:t}=(0,Ze.select)(Zt.store),n=t(e);return!!n&&(0,Je.includes)(n.mime_type,"video")},transform:e=>(0,Me.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/image"],isMatch:({id:e})=>{if(!e)return!1;const{getMedia:t}=(0,Ze.select)(Zt.store),n=t(e);return!!n&&(0,Je.includes)(n.mime_type,"image")},transform:e=>(0,Me.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}]};const fa={apiVersion:2,name:"core/file",title:"File",category:"media",description:"Add a link to a downloadable file.",keywords:["document","pdf","download"],textdomain:"default",attributes:{id:{type:"number"},href:{type:"string"},fileId:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"id"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0},viewScript:"file:./view.min.js",editorStyle:"wp-block-file-editor",style:"wp-block-file"},{name:_a}=fa,ka={icon:sa,example:{attributes:{href:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg",fileName:(0,He._x)("Armstrong_Small_Step","Name of the file")}},transforms:ya,deprecated:ca,edit:va,save:function({attributes:e}){const{href:t,fileId:n,fileName:o,textLinkHref:r,textLinkTarget:a,showDownloadButton:l,downloadButtonText:i,displayPreview:s,previewHeight:c}=e,u=Fe.RichText.isEmpty(o)?(0,He.__)("PDF embed"):(0,He.sprintf)(
20
  /* translators: %s: filename. */
21
- (0,He.__)("Embed of %s."),o);return t&&(0,Le.createElement)("div",Fe.useBlockProps.save(),s&&(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:`${c}px`},"aria-label":u})),!Fe.RichText.isEmpty(o)&&(0,Le.createElement)("a",{id:n,href:r,target:a,rel:a?"noreferrer noopener":void 0},(0,Le.createElement)(Fe.RichText.Content,{value:o})),l&&(0,Le.createElement)("a",{href:t,className:"wp-block-file__button",download:!0,"aria-describedby":n},(0,Le.createElement)(Fe.RichText.Content,{value:i})))}};var wa=(0,Le.createElement)(Re.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Re.Path,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8h-1.5zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zM4.5 4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1V12l-2.3-1.7c-.3-.2-.6-.2-.9 0l-2.9 2.1L8 11.3c-.2-.1-.5-.1-.7 0l-2.9 1.5V4.6zm0 11.8v-1.8l3.2-1.7 2.4 1.2c.2.1.5.1.8-.1l2.8-2 2.8 2v2.5c0 .1-.1.1-.1.1H4.6c0-.1-.1-.2-.1-.2z"}));function Ea(e){return Math.min(3,e.images.length)}var Ca=[{attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},sizeSlug:{type:"string",default:"large"}},supports:{align:!0},isEligible:({linkTo:e})=>!e||"attachment"===e||"media"===e,migrate(e){let t=e.linkTo;return e.linkTo?"attachment"===e.linkTo?t="post":"media"===e.linkTo&&(t="file"):t="none",{...e,linkTo:t}},save({attributes:e}){const{images:t,columns:n=Ea(e),imageCrop:o,caption:r,linkTo:a}=e;return(0,Le.createElement)("figure",{className:`columns-${n} ${o?"is-cropped":""}`},(0,Le.createElement)("ul",{className:"blocks-gallery-grid"},t.map((e=>{let t;switch(a){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=(0,Le.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,Le.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,Le.createElement)("figure",null,t?(0,Le.createElement)("a",{href:t},n):n,!Fe.RichText.isEmpty(e.caption)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!Fe.RichText.isEmpty(r)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:r}))}},{attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",default:[]},columns:{type:"number"},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},isEligible:({ids:e})=>e&&e.some((e=>"string"==typeof e)),migrate:e=>({...e,ids:(0,Je.map)(e.ids,(e=>{const t=parseInt(e,10);return Number.isInteger(t)?t:null}))}),save({attributes:e}){const{images:t,columns:n=Ea(e),imageCrop:o,caption:r,linkTo:a}=e;return(0,Le.createElement)("figure",{className:`columns-${n} ${o?"is-cropped":""}`},(0,Le.createElement)("ul",{className:"blocks-gallery-grid"},t.map((e=>{let t;switch(a){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=(0,Le.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,Le.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,Le.createElement)("figure",null,t?(0,Le.createElement)("a",{href:t},n):n,!Fe.RichText.isEmpty(e.caption)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!Fe.RichText.isEmpty(r)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:r}))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},save({attributes:e}){const{images:t,columns:n=Ea(e),imageCrop:o,linkTo:r}=e;return(0,Le.createElement)("ul",{className:`columns-${n} ${o?"is-cropped":""}`},t.map((e=>{let t;switch(r){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=(0,Le.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,Le.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,Le.createElement)("figure",null,t?(0,Le.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible:({images:e,ids:t})=>e&&e.length>0&&(!t&&e||t&&e&&t.length!==e.length||(0,Je.some)(e,((e,n)=>!e&&null!==t[n]||parseInt(e,10)!==t[n]))),migrate:e=>({...e,ids:(0,Je.map)(e.images,(({id:e})=>e?parseInt(e,10):null))}),supports:{align:!0},save({attributes:e}){const{images:t,columns:n=Ea(e),imageCrop:o,linkTo:r}=e;return(0,Le.createElement)("ul",{className:`columns-${n} ${o?"is-cropped":""}`},t.map((e=>{let t;switch(r){case"media":t=e.url;break;case"attachment":t=e.link}const n=(0,Le.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,Le.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,Le.createElement)("figure",null,t?(0,Le.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},supports:{align:!0},save({attributes:e}){const{images:t,columns:n=Ea(e),align:o,imageCrop:r,linkTo:a}=e,l=vt()(`columns-${n}`,{alignnone:"none"===o,"is-cropped":r});return(0,Le.createElement)("div",{className:l},t.map((e=>{let t;switch(a){case"media":t=e.url;break;case"attachment":t=e.link}const n=(0,Le.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return(0,Le.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?(0,Le.createElement)("a",{href:t},n):n)})))}}],xa=window.wp.viewport;const Sa=(0,Le.createElement)(Fe.BlockIcon,{icon:wa}),Ba=(e,t="large")=>{const n=(0,Je.pick)(e,["alt","id","link","caption"]);n.url=(0,Je.get)(e,["sizes",t,"url"])||(0,Je.get)(e,["media_details","sizes",t,"source_url"])||e.url;const o=(0,Je.get)(e,["sizes","full","url"])||(0,Je.get)(e,["media_details","sizes","full","source_url"]);return o&&(n.fullUrl=o),n},Ta="none",Na="media",Pa="attachment",za=20,Ia="none",Ma="media",La="attachment",Ra="custom",Va=["noreferrer","noopener"],Aa=["image"];function Ha(e,t){switch(t){case Na:return{href:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),linkDestination:Ma};case Pa:return{href:null==e?void 0:e.link,linkDestination:La};case Ta:return{href:void 0,linkDestination:Ia}}return{}}function Fa(e,{rel:t}){const n=e?"_blank":void 0;let o;return o=n||t?function(e){let t=e;return void 0===e||(0,Je.isEmpty)(t)||(0,Je.isEmpty)(t)||((0,Je.each)(Va,(e=>{const n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),(0,Je.isEmpty)(t)&&(t=void 0)),t}(t):void 0,{linkTarget:n,rel:o}}const Da=["core/image"];function Ga({isHidden:e,captionFocused:t,onFocusCaption:n,className:o,value:r,placeholder:a,tagName:l,captionRef:i,...s}){return e?(0,Le.createElement)(Ae.VisuallyHidden,St({as:Fe.RichText},s)):(0,Le.createElement)(Fe.RichText,St({ref:i,value:r,placeholder:a,className:o,tagName:l,isSelected:t,onClick:n},s))}var Ua=e=>{const{attributes:t,isSelected:n,setAttributes:o,mediaPlaceholder:r,insertBlocksAfter:a,blockProps:l}=e,{align:i,columns:s,caption:c,imageCrop:u}=t,{children:m,...d}=(0,Fe.useInnerBlocksProps)(l,{allowedBlocks:Da,orientation:"horizontal",renderAppender:!1,__experimentalLayout:{type:"default",alignments:[]}}),[p,g]=(0,Le.useState)(!1);return(0,Le.useEffect)((()=>{n||g(!1)}),[n]),(0,Le.createElement)("figure",St({},d,{className:vt()(l.className,"blocks-gallery-grid",{[`align${i}`]:i,[`columns-${s}`]:void 0!==s,"columns-default":void 0===s,"is-cropped":u})}),m,(0,Le.createElement)(Re.View,{className:"blocks-gallery-media-placeholder-wrapper",onClick:function(){p&&g(!1)}},r),(0,Le.createElement)(Ga,{isHidden:!n&&Fe.RichText.isEmpty(c),captionFocused:p,onFocusCaption:function(){p||g(!0)},tagName:"figcaption",className:"blocks-gallery-caption","aria-label":(0,He.__)("Gallery caption text"),placeholder:(0,He.__)("Write gallery caption…"),value:c,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>a((0,Me.createBlock)("core/paragraph"))}))};const Oa=(0,Ze.combineReducers)({features(e={},t){if("SET_FEATURE_DEFAULTS"===t.type){const{scope:n,defaults:o}=t;return{...e,[n]:{...e[n],...o}}}return e}}),qa=(0,Ze.combineReducers)({features(e={},t){if("SET_FEATURE_VALUE"===t.type){const{scope:n,featureName:o,value:r}=t;return{...e,[n]:{...e[n],[o]:r}}}return e}}),$a=(0,Ze.combineReducers)({singleEnableItems:function(e={},{type:t,itemType:n,scope:o,item:r}){return"SET_SINGLE_ENABLE_ITEM"===t&&n&&o?{...e,[n]:{...e[n],[o]:r||null}}:e},multipleEnableItems:function(e={},{type:t,itemType:n,scope:o,item:r,isEnable:a}){if("SET_MULTIPLE_ENABLE_ITEM"!==t||!n||!o||!r||(0,Je.get)(e,[n,o,r])===a)return e;const l=e[n]||{},i=l[o]||{};return{...e,[n]:{...l,[o]:{...i,[r]:a||!1}}}}});var Wa=(0,Ze.combineReducers)({enableItems:$a,preferenceDefaults:Oa,preferences:qa});function ja(e,t,n){return{type:"SET_SINGLE_ENABLE_ITEM",itemType:e,scope:t,item:n}}function Za(e,t){return ja("complementaryArea",e,t)}function Qa(e){return ja("complementaryArea",e,void 0)}function Ka(e,t,n,o){return{type:"SET_MULTIPLE_ENABLE_ITEM",itemType:e,scope:t,item:n,isEnable:o}}function Ja(e,t){return Ka("pinnedItems",e,t,!0)}function Ya(e,t){return Ka("pinnedItems",e,t,!1)}function Xa(e,t){return function({select:n,dispatch:o}){const r=n.isFeatureActive(e,t);o.setFeatureValue(e,t,!r)}}function el(e,t,n){return{type:"SET_FEATURE_VALUE",scope:e,featureName:t,value:!!n}}function tl(e,t){return{type:"SET_FEATURE_DEFAULTS",scope:e,defaults:t}}function nl(e,t){return function(e,t,n){return(0,Je.get)(e.enableItems.singleEnableItems,["complementaryArea",n])}(e,0,t)}function ol(e,t,n){return!1!==function(e,t,n,o){return(0,Je.get)(e.enableItems.multipleEnableItems,["pinnedItems",n,o])}(e,0,t,n)}function rl(e,t,n){var o,r;const a=null===(o=e.preferences.features[t])||void 0===o?void 0:o[n];return!!(void 0!==a?a:null===(r=e.preferenceDefaults.features[t])||void 0===r?void 0:r[n])}const al="core/interface",ll=(0,Ze.createReduxStore)(al,{reducer:Wa,actions:E,selectors:C,persist:["enableItems","preferences"],__experimentalUseThunks:!0});(0,Ze.registerStore)(al,{reducer:Wa,actions:E,selectors:C,persist:["enableItems","preferences"],__experimentalUseThunks:!0});const il=[{value:Pa,label:(0,He.__)("Attachment Page")},{value:Na,label:(0,He.__)("Media File")},{value:Ta,label:(0,He._x)("None","Media item link option")}],sl=["image"],cl=Le.Platform.isNative?(0,He.__)("ADD MEDIA"):(0,He.__)("Drag images, upload new ones or select files from your library."),ul=Le.Platform.isNative?{type:"stepper"}:{};var ml=(0,bt.compose)([Ae.withNotices,(0,xa.withViewportMatch)({isNarrow:"< small"})])((function(e){const{setAttributes:t,attributes:n,className:o,clientId:r,noticeOperations:a,isSelected:l,noticeUI:i,insertBlocksAfter:s}=e,{columns:c,imageCrop:u,linkTarget:m,linkTo:d,shortCodeTransforms:p,sizeSlug:g}=n,{__unstableMarkNextChangeAsNotPersistent:h,replaceInnerBlocks:v,updateBlockAttributes:b}=(0,Ze.useDispatch)(Fe.store),{createSuccessNotice:y}=(0,Ze.useDispatch)(ua.store),{getBlock:f,getSettings:_,preferredStyle:k}=(0,Ze.useSelect)((e=>{var t;const n=e(Fe.store).getSettings().__experimentalPreferredStyleVariations;return{getBlock:e(Fe.store).getBlock,getSettings:e(Fe.store).getSettings,preferredStyle:null==n||null===(t=n.value)||void 0===t?void 0:t["core/image"]}}),[]),w=(0,Ze.useSelect)((e=>{var t;return null===(t=e(Fe.store).getBlock(r))||void 0===t?void 0:t.innerBlocks}),[r]),E=(0,Le.useMemo)((()=>null==w?void 0:w.map((e=>({clientId:e.clientId,id:e.attributes.id,url:e.attributes.url,attributes:e.attributes,fromSavedContent:Boolean(e.originalContent)})))),[w]),C=function(e){const[t,n]=(0,Le.useState)([]),o=(0,Ze.useSelect)((n=>{if(null==e||!e.length)return t;const o=e.map((e=>e.attributes.id)).filter((e=>void 0!==e));return 0===o.length?t:n(Zt.store).getMediaItems({include:o.join(","),per_page:-1})}),[e]);return(null==o?void 0:o.length)!==(null==t?void 0:t.length)||null!=o&&o.some((e=>!t.find((t=>t.id===e.id))))?(n(o),o):t}(w),x=function(e,t){const[n,o]=(0,Le.useState)([]);return(0,Le.useMemo)((()=>function(){let r=!1;const a=n.filter((t=>e.find((e=>t.clientId===e.clientId))));a.length<n.length&&(r=!0),e.forEach((e=>{e.fromSavedContent&&!a.find((t=>t.id===e.id))&&(r=!0,a.push(e))}));const l=e.filter((e=>!a.find((t=>e.clientId&&t.clientId===e.clientId))&&(null==t?void 0:t.find((t=>t.id===e.id)))&&!e.fromSavedConent));return(r||(null==l?void 0:l.length)>0)&&o([...a,...l]),l.length>0?l:null}()),[e,t])}(E,C);!function(e){const{createWarningNotice:t}=(0,Ze.useDispatch)(ua.store),{toggleFeature:n}=(0,Ze.useDispatch)(ll);(0,Ze.useSelect)((e=>{const{isFeatureActive:t}=e(ll);return t("core/edit-post","mobileGalleryWarning")}),[])&&e&&(t((0,He.__)("Editing this Gallery in the WordPress mobile app requires version 18.2 or higher."),{type:"snackbar",explicitDismiss:!0}),n("core/edit-post","mobileGalleryWarning"))}(x),(0,Le.useEffect)((()=>{null==x||x.forEach((e=>{b(e.clientId,{...T(!1,e.attributes),id:e.id,align:void 0})}))}),[x]);const S=function(e){const t=(0,Ze.useSelect)((t=>{if(!e||0===e.length)return;const n=t(Zt.store).getMedia;return e.map((e=>{const t=n(e.id);if(t)return{id:t.id,type:"image",url:t.source_url,mime:t.mime_type,alt:t.alt_text,link:t.link}}))}),[e]);if(t)return(0,Je.every)(t,(e=>e&&e.url))?t:void 0}(p);(0,Le.useEffect)((()=>{p&&S&&(P(S),t({shortCodeTransforms:void 0}))}),[p,S]);const B=function(e,t,n){return(0,Le.useMemo)((()=>function(){if(!e||0===e.length)return;const{imageSizes:o}=n();let r={};return t&&(r=e.reduce(((e,t)=>{if(!t.id)return e;const n=o.reduce(((e,n)=>{const o=(0,Je.get)(t,["sizes",n.slug,"url"]),r=(0,Je.get)(t,["media_details","sizes",n.slug,"source_url"]);return{...e,[n.slug]:o||r}}),{});return{...e,[parseInt(t.id,10)]:n}}),{})),o.filter((({slug:e})=>(0,Je.some)(r,(t=>t[e])))).map((({name:e,slug:t})=>({value:t,label:e})))}()),[e,t])}(C,l,_);function T(e,t){if(e)return e.attributes;let o;return o=t.className&&""!==t.className?t.className:k?`is-style-${k}`:void 0,{...Ba(t,g),...Ha(t,d),...Fa(m,n),className:o,sizeSlug:g}}function N(e){var t;return sl.some((t=>{var n;return 0===(null===(n=e.type)||void 0===n?void 0:n.indexOf(t))}))||0===(null===(t=e.url)||void 0===t?void 0:t.indexOf("blob:"))}function P(e){const t="[object FileList]"===Object.prototype.toString.call(e),n=t?Array.from(e).map((e=>e.url?e:Ba({url:(0,je.createBlobURL)(e)}))):e;n.every(N)||(a.removeAllNotices(),a.createErrorNotice((0,He.__)("If uploading to a gallery all files need to be image formats"),{id:"gallery-upload-invalid-file"}));const o=n.filter((e=>e.url||N(e))).map((e=>e.url?e:Ba({url:(0,je.createBlobURL)(e)}))),l=o.reduce(((e,t,n)=>(e[t.id]=n,e)),{}),i=t?w:w.filter((e=>o.find((t=>t.id===e.attributes.id)))),s=o.filter((e=>!i.find((t=>e.id===t.attributes.id)))).map((e=>(0,Me.createBlock)("core/image",{id:e.id,url:e.url,caption:e.caption,alt:e.alt})));v(r,(0,Je.concat)(i,s).sort(((e,t)=>l[e.attributes.id]-l[t.attributes.id])))}(0,Le.useEffect)((()=>{var e,n,o,r,a,l;d||(h(),t({linkTo:(null===(e=window)||void 0===e||null===(n=e.wp)||void 0===n||null===(o=n.media)||void 0===o||null===(r=o.view)||void 0===r||null===(a=r.settings)||void 0===a||null===(l=a.defaultProps)||void 0===l?void 0:l.link)||Ta}))}),[d]);const z=!!E.length,I=z&&E.some((e=>!!e.id)),M=E.some((e=>{var t;return!e.id&&0===(null===(t=e.url)||void 0===t?void 0:t.indexOf("blob:"))})),L=(0,Le.createElement)(Fe.MediaPlaceholder,{addToGallery:I,handleUpload:!1,isAppender:z,disableMediaButtons:z&&!l||M,icon:!z&&Sa,labels:{title:!z&&(0,He.__)("Gallery"),instructions:!z&&cl},onSelect:P,accept:"image/*",allowedTypes:sl,multiple:!0,value:I?E:{},onError:function(e){a.removeAllNotices(),a.createErrorNotice(e)},notices:z?void 0:i}),R=(0,Fe.useBlockProps)({className:vt()(o,"has-nested-images")});if(!z)return(0,Le.createElement)(Re.View,R,L);const V=d&&"none"!==d;return(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Fe.InspectorControls,null,(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Gallery settings")},E.length>1&&(0,Le.createElement)(Ae.RangeControl,St({label:(0,He.__)("Columns"),value:c||(A=E.length,A?Math.min(3,A):3),onChange:function(e){t({columns:e})},min:1,max:Math.min(8,E.length)},ul,{required:!0})),(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Crop images"),checked:!!u,onChange:function(){t({imageCrop:!u})},help:function(e){return e?(0,He.__)("Thumbnails are cropped to align."):(0,He.__)("Thumbnails are not cropped.")}}),(0,Le.createElement)(Ae.SelectControl,{label:(0,He.__)("Link to"),value:d,onChange:function(e){t({linkTo:e});const n={},o=[];f(r).innerBlocks.forEach((t=>{o.push(t.clientId);const r=t.attributes.id?(0,Je.find)(C,{id:t.attributes.id}):null;n[t.clientId]=Ha(r,e)})),b(o,n,!0);const a=[...il].find((t=>t.value===e));y((0,He.sprintf)(
22
  /* translators: %s: image size settings */
23
  (0,He.__)("All gallery image links updated to: %s"),a.label),{id:"gallery-attributes-linkTo",type:"snackbar"})},options:il,hideCancelButton:!0}),V&&(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Open in new tab"),checked:"_blank"===m,onChange:function(e){const n=e?"_blank":void 0;t({linkTarget:n});const o={},a=[];f(r).innerBlocks.forEach((e=>{a.push(e.clientId),o[e.clientId]=Fa(n,e.attributes)})),b(a,o,!0);const l=e?(0,He.__)("All gallery images updated to open in new tab"):(0,He.__)("All gallery images updated to not open in new tab");y(l,{id:"gallery-attributes-openInNewTab",type:"snackbar"})}}),(null==B?void 0:B.length)>0&&(0,Le.createElement)(Ae.SelectControl,{label:(0,He.__)("Image size"),value:g,options:B,onChange:function(e){t({sizeSlug:e});const n={},o=[];f(r).innerBlocks.forEach((t=>{o.push(t.clientId);const r=t.attributes.id?(0,Je.find)(C,{id:t.attributes.id}):null;n[t.clientId]=function(e,t){const n=(0,Je.get)(e,["media_details","sizes",t,"source_url"]);return n?{url:n,width:void 0,height:void 0,sizeSlug:t}:{}}(r,e)})),b(o,n,!0);const a=B.find((t=>t.value===e));y((0,He.sprintf)(
24
  /* translators: %s: image size settings */
25
  (0,He.__)("All gallery image sizes updated to: %s"),a.label),{id:"gallery-attributes-sizeSlug",type:"snackbar"})},hideCancelButton:!0}),Le.Platform.isWeb&&!B&&(0,Le.createElement)(Ae.BaseControl,{className:"gallery-image-sizes"},(0,Le.createElement)(Ae.BaseControl.VisualLabel,null,(0,He.__)("Image size")),(0,Le.createElement)(Re.View,{className:"gallery-image-sizes__loading"},(0,Le.createElement)(Ae.Spinner,null),(0,He.__)("Loading options…"))))),i,(0,Le.createElement)(Ua,St({},e,{images:E,mediaPlaceholder:L,blockProps:R,insertBlocksAfter:s})));var A}));const dl=(e,t="large")=>{const n=(0,Je.pick)(e,["alt","id","link","caption"]);n.url=(0,Je.get)(e,["sizes",t,"url"])||(0,Je.get)(e,["media_details","sizes",t,"source_url"])||e.url;const o=(0,Je.get)(e,["sizes","full","url"])||(0,Je.get)(e,["media_details","sizes","full","source_url"]);return o&&(n.fullUrl=o),n};var pl=(0,Le.createElement)(Re.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Re.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),gl=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})),hl=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})),vl=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));const bl="none",yl="file",fl="post";class _l extends Le.Component{constructor(){super(...arguments),this.onSelectImage=this.onSelectImage.bind(this),this.onRemoveImage=this.onRemoveImage.bind(this),this.bindContainer=this.bindContainer.bind(this),this.onEdit=this.onEdit.bind(this),this.onSelectImageFromLibrary=this.onSelectImageFromLibrary.bind(this),this.onSelectCustomURL=this.onSelectCustomURL.bind(this),this.state={isEditing:!1}}bindContainer(e){this.container=e}onSelectImage(){this.props.isSelected||this.props.onSelect()}onRemoveImage(e){this.container===this.container.ownerDocument.activeElement&&this.props.isSelected&&-1!==[Bt.BACKSPACE,Bt.DELETE].indexOf(e.keyCode)&&(e.preventDefault(),this.props.onRemove())}onEdit(){this.setState({isEditing:!0})}componentDidUpdate(){const{image:e,url:t,__unstableMarkNextChangeAsNotPersistent:n}=this.props;e&&!t&&(n(),this.props.setAttributes({url:e.source_url,alt:e.alt_text}))}deselectOnBlur(){this.props.onDeselect()}onSelectImageFromLibrary(e){const{setAttributes:t,id:n,url:o,alt:r,caption:a,sizeSlug:l}=this.props;if(!e||!e.url)return;let i=dl(e,l);((e,t)=>!e&&(0,je.isBlobURL)(t))(n,o)&&r&&(i=(0,Je.omit)(i,["alt"])),a&&!(0,Je.get)(i,["caption"])&&(i=(0,Je.omit)(i,["caption"])),t(i),this.setState({isEditing:!1})}onSelectCustomURL(e){const{setAttributes:t,url:n}=this.props;e!==n&&(t({url:e,id:void 0}),this.setState({isEditing:!1}))}render(){const{url:e,alt:t,id:n,linkTo:o,link:r,isFirstItem:a,isLastItem:l,isSelected:i,caption:s,onRemove:c,onMoveForward:u,onMoveBackward:m,setAttributes:d,"aria-label":p}=this.props,{isEditing:g}=this.state;let h;switch(o){case yl:h=e;break;case fl:h=r}const v=(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)("img",{src:e,alt:t,"data-id":n,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":p,ref:this.bindContainer}),(0,je.isBlobURL)(e)&&(0,Le.createElement)(Ae.Spinner,null)),b=vt()({"is-selected":i,"is-transient":(0,je.isBlobURL)(e)});return(0,Le.createElement)("figure",{className:b,onClick:this.onSelectImage,onFocus:this.onSelectImage},!g&&(h?(0,Le.createElement)("a",{href:h},v):v),g&&(0,Le.createElement)(Fe.MediaPlaceholder,{labels:{title:(0,He.__)("Edit gallery image")},icon:pl,onSelect:this.onSelectImageFromLibrary,onSelectURL:this.onSelectCustomURL,accept:"image/*",allowedTypes:["image"],value:{id:n,src:e}}),(0,Le.createElement)(Ae.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-left"},(0,Le.createElement)(Ae.Button,{icon:gl,onClick:a?void 0:m,label:(0,He.__)("Move image backward"),"aria-disabled":a,disabled:!i}),(0,Le.createElement)(Ae.Button,{icon:hl,onClick:l?void 0:u,label:(0,He.__)("Move image forward"),"aria-disabled":l,disabled:!i})),(0,Le.createElement)(Ae.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-right"},(0,Le.createElement)(Ae.Button,{icon:ro,onClick:this.onEdit,label:(0,He.__)("Replace image"),disabled:!i}),(0,Le.createElement)(Ae.Button,{icon:vl,onClick:c,label:(0,He.__)("Remove image"),disabled:!i})),!g&&(i||s)&&(0,Le.createElement)(Fe.RichText,{tagName:"figcaption","aria-label":(0,He.__)("Image caption text"),placeholder:i?(0,He.__)("Add caption"):null,value:s,onChange:e=>d({caption:e}),inlineToolbar:!0}))}}var kl=(0,bt.compose)([(0,Ze.withSelect)(((e,t)=>{const{getMedia:n}=e(Zt.store),{id:o}=t;return{image:o?n(parseInt(o,10)):null}})),(0,Ze.withDispatch)((e=>{const{__unstableMarkNextChangeAsNotPersistent:t}=e(Fe.store);return{__unstableMarkNextChangeAsNotPersistent:t}}))])(_l);function wl({isHidden:e,...t}){return e?(0,Le.createElement)(Ae.VisuallyHidden,St({as:Fe.RichText},t)):(0,Le.createElement)(Fe.RichText,t)}var El=e=>{const{attributes:t,isSelected:n,setAttributes:o,selectedImage:r,mediaPlaceholder:a,onMoveBackward:l,onMoveForward:i,onRemoveImage:s,onSelectImage:c,onDeselectImage:u,onSetImageAttributes:m,insertBlocksAfter:d,blockProps:p}=e,{align:g,columns:h=Ea(t),caption:v,imageCrop:b,images:y}=t;return(0,Le.createElement)("figure",St({},p,{className:vt()(p.className,{[`align${g}`]:g,[`columns-${h}`]:h,"is-cropped":b})}),(0,Le.createElement)("ul",{className:"blocks-gallery-grid"},y.map(((e,o)=>{const a=(0,He.sprintf)(
26
  /* translators: 1: the order number of the image. 2: the total number of images. */
27
- (0,He.__)("image %1$d of %2$d in gallery"),o+1,y.length);return(0,Le.createElement)("li",{className:"blocks-gallery-item",key:e.id?`${e.id}-${o}`:e.url},(0,Le.createElement)(kl,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===o,isLastItem:o+1===y.length,isSelected:n&&r===o,onMoveBackward:l(o),onMoveForward:i(o),onRemove:s(o),onSelect:c(o),onDeselect:u(o),setAttributes:e=>m(o,e),caption:e.caption,"aria-label":a,sizeSlug:t.sizeSlug}))}))),a,(0,Le.createElement)(wl,{isHidden:!n&&Fe.RichText.isEmpty(v),tagName:"figcaption",className:"blocks-gallery-caption","aria-label":(0,He.__)("Gallery caption text"),placeholder:(0,He.__)("Write gallery caption…"),value:v,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>d((0,Me.createBlock)("core/paragraph"))}))};const Cl=({clientId:e,getBlock:t,replaceBlocks:n})=>()=>{let o;const{attributes:{sizeSlug:r,linkTo:a,images:l,caption:i}}=t(e);switch(a){case"post":o=fl;break;case"file":o=yl;break;default:o=bl}const s=l.map((e=>(0,Me.createBlock)("core/image",{id:parseInt(e.id,10),url:e.url,alt:e.alt,caption:e.caption,linkDestination:o})));n(e,(0,Me.createBlock)("core/gallery",{sizeSlug:r,linkTo:o,caption:i},s))};function xl({onClose:e,clientId:t}){const{getBlock:n}=(0,Ze.useSelect)(Fe.store),{replaceBlocks:o}=(0,Ze.useDispatch)(Fe.store);return(0,Le.createElement)(Ae.Modal,{closeLabel:(0,He.__)("Close"),onRequestClose:e,title:(0,He.__)("Update gallery"),className:"wp-block-update-gallery-modal",aria:{describedby:"wp-block-update-gallery-modal__description"}},(0,Le.createElement)("p",{id:"wp-block-update-gallery-modal__description"},(0,He.__)("Updating to the new format adds the ability to use custom links or styles on individual images in the gallery, and makes it easier to add or move them around.")),(0,Le.createElement)("div",{className:"wp-block-update-gallery-modal-buttons"},(0,Le.createElement)(Ae.Button,{isTertiary:!0,onClick:e},(0,He.__)("Cancel")),(0,Le.createElement)(Ae.Button,{isPrimary:!0,onClick:Cl({replaceBlocks:o,getBlock:n,clientId:t,createBlock:Me.createBlock})},(0,He.__)("Update"))))}const Sl=[{value:fl,label:(0,He.__)("Attachment Page")},{value:yl,label:(0,He.__)("Media File")},{value:bl,label:(0,He.__)("None")}],Bl=["image"],Tl=Le.Platform.select({web:(0,He.__)("Drag images, upload new ones or select files from your library."),native:(0,He.__)("ADD MEDIA")}),Nl=Le.Platform.select({web:{},native:{type:"stepper"}});var Pl=(0,bt.compose)([Ae.withNotices,(0,xa.withViewportMatch)({isNarrow:"< small"})])((function(e){const{attributes:t,clientId:n,isSelected:o,noticeUI:r,noticeOperations:a,onFocus:l}=e,{columns:i=Ea(t),imageCrop:s,images:c,linkTo:u,sizeSlug:m}=t,[d,p]=(0,Le.useState)(),[g,h]=(0,Le.useState)(),{__unstableMarkNextChangeAsNotPersistent:v}=(0,Ze.useDispatch)(Fe.store),{imageSizes:b,mediaUpload:y,getMedia:f,wasBlockJustInserted:_,__unstableGalleryWithImageBlocks:k}=(0,Ze.useSelect)((e=>{const t=e(Fe.store).getSettings();return{__unstableGalleryWithImageBlocks:t.__unstableGalleryWithImageBlocks,imageSizes:t.imageSizes,mediaUpload:t.mediaUpload,getMedia:e(Zt.store).getMedia,wasBlockJustInserted:e(Fe.store).wasBlockJustInserted(n,"inserter_menu")}})),w=(0,Le.useMemo)((()=>o?(0,Je.reduce)(t.ids,((e,t)=>{if(!t)return e;const n=f(t),o=(0,Je.reduce)(b,((e,t)=>{const o=(0,Je.get)(n,["sizes",t.slug,"url"]),r=(0,Je.get)(n,["media_details","sizes",t.slug,"source_url"]);return{...e,[t.slug]:o||r}}),{});return{...e,[parseInt(t,10)]:o}}),{}):{}),[o,t.ids,b]);function E(t){if(t.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');t.images&&(t={...t,ids:(0,Je.map)(t.images,(({id:e})=>parseInt(e,10)))}),e.setAttributes(t)}function C(e,t){const n=[...c];n.splice(t,1,c[e]),n.splice(e,1,c[t]),p(t),E({images:n})}function x(e){const t=(0,Je.toString)(e.id),n=(0,Je.find)(c,{id:t}),o=n?n.caption:e.caption;if(!g)return o;const r=(0,Je.find)(g,{id:t});return r&&r.caption!==e.caption?e.caption:o}function S(e){h(e.map((e=>({id:(0,Je.toString)(e.id),caption:e.caption})))),E({images:e.map((e=>({...dl(e,m),caption:x(e),id:(0,Je.toString)(e.id)}))),columns:t.columns?Math.min(e.length,t.columns):t.columns})}(0,Le.useEffect)((()=>{if("web"===Le.Platform.OS&&c&&c.length>0&&(0,Je.every)(c,(({url:e})=>(0,je.isBlobURL)(e)))){const e=(0,Je.map)(c,(({url:e})=>(0,je.getBlobByURL)(e)));(0,Je.forEach)(c,(({url:e})=>(0,je.revokeBlobURL)(e))),y({filesList:e,onFileChange:S,allowedTypes:["image"]})}}),[]),(0,Le.useEffect)((()=>{o||p()}),[o]),(0,Le.useEffect)((()=>{var e,t,n,o,r,a;u||(v(),E({linkTo:(null===(e=window)||void 0===e||null===(t=e.wp)||void 0===t||null===(n=t.media)||void 0===n||null===(o=n.view)||void 0===o||null===(r=o.settings)||void 0===r||null===(a=r.defaultProps)||void 0===a?void 0:a.link)||bl}))}),[u]);const B=!!c.length,T=B&&c.some((e=>!!e.id)),N=(0,Le.createElement)(Fe.MediaPlaceholder,{addToGallery:T,isAppender:B,disableMediaButtons:B&&!o,icon:!B&&Sa,labels:{title:!B&&(0,He.__)("Gallery"),instructions:!B&&Tl},onSelect:S,accept:"image/*",allowedTypes:Bl,multiple:!0,value:T?c:{},onError:function(e){a.removeAllNotices(),a.createErrorNotice(e)},notices:B?void 0:r,onFocus:l,autoOpenMediaUpload:!B&&o&&_}),[P,z]=(0,Le.useState)(!1),I=(0,Fe.useBlockProps)();if(!B)return(0,Le.createElement)(Re.View,I,N);const M=(0,Je.map)((0,Je.filter)(b,(({slug:e})=>(0,Je.some)(w,(t=>t[e])))),(({name:e,slug:t})=>({value:t,label:e}))),L=B&&!(0,Je.isEmpty)(M);return(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Fe.InspectorControls,null,(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Gallery settings")},c.length>1&&(0,Le.createElement)(Ae.RangeControl,St({label:(0,He.__)("Columns"),value:i,onChange:function(e){E({columns:e})},min:1,max:Math.min(8,c.length)},Nl,{required:!0})),(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Crop images"),checked:!!s,onChange:function(){E({imageCrop:!s})},help:function(e){return e?(0,He.__)("Thumbnails are cropped to align."):(0,He.__)("Thumbnails are not cropped.")}}),(0,Le.createElement)(Ae.SelectControl,{label:(0,He.__)("Link to"),value:u,onChange:function(e){E({linkTo:e})},options:Sl,hideCancelButton:!0}),L&&(0,Le.createElement)(Ae.SelectControl,{label:(0,He.__)("Image size"),value:m,options:M,onChange:function(e){E({images:(0,Je.map)(c,(t=>{if(!t.id)return t;const n=(0,Je.get)(w,[parseInt(t.id,10),e]);return{...t,...n&&{url:n}}})),sizeSlug:e})},hideCancelButton:!0}))),Le.Platform.isWeb&&k&&(0,Le.createElement)(Fe.BlockControls,{group:"other"},(0,Le.createElement)(Ae.ToolbarButton,{onClick:()=>z(!0),title:(0,He.__)("Update"),label:(0,He.__)("Update to the new gallery format")},(0,He.__)("Update"))),Le.Platform.isWeb&&P&&(0,Le.createElement)(xl,{onClose:()=>z(!1),clientId:n}),r,(0,Le.createElement)(El,St({},e,{selectedImage:d,mediaPlaceholder:N,onMoveBackward:function(e){return()=>{0!==e&&C(e,e-1)}},onMoveForward:function(e){return()=>{e!==c.length-1&&C(e,e+1)}},onRemoveImage:function(e){return()=>{const n=(0,Je.filter)(c,((t,n)=>e!==n));p(),E({images:n,columns:t.columns?Math.min(n.length,t.columns):t.columns})}},onSelectImage:function(e){return()=>{p(e)}},onDeselectImage:function(){return()=>{p()}},onSetImageAttributes:function(e,t){c[e]&&E({images:[...c.slice(0,e),{...c[e],...t},...c.slice(e+1)]})},blockProps:I,onFocusGalleryCaption:function(){p()}})))})),zl=window.wp.hooks;const Il=e=>e?e.split(",").map((e=>parseInt(e,10))):[];(0,zl.addFilter)("blocks.switchToBlockType.transformedBlock","core/gallery/update-third-party-transform-to",(function(e){var t;if((0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks&&"core/gallery"===e.name&&(null===(t=e.attributes)||void 0===t?void 0:t.images.length)>0){const t=e.attributes.images.map((({url:t,id:n,alt:o})=>(0,Me.createBlock)("core/image",{url:t,id:n?parseInt(n,10):null,alt:o,sizeSlug:e.attributes.sizeSlug,linkDestination:e.attributes.linkDestination})));delete e.attributes.ids,delete e.attributes.images,e.innerBlocks=t}return e})),(0,zl.addFilter)("blocks.switchToBlockType.transformedBlock","core/gallery/update-third-party-transform-from",(function(e,t){const n=(Array.isArray(t)?t:[t]).find((t=>{var n;return"core/gallery"===t.name&&t.innerBlocks.length>0&&!(null!==(n=t.attributes.images)&&void 0!==n&&n.length)>0&&!e.name.includes("core/")}));if(n){const e=n.innerBlocks.map((({attributes:{url:e,id:t,alt:n}})=>({url:e,id:t?parseInt(t,10):null,alt:n}))),t=e.map((({id:e})=>e));n.attributes.images=e,n.attributes.ids=t}return e}));var Ml={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:e=>{let{align:t,sizeSlug:n}=e[0];t=(0,Je.every)(e,["align",t])?t:void 0,n=(0,Je.every)(e,["sizeSlug",n])?n:void 0;const o=(0,Je.filter)(e,(({url:e})=>e));if((0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks){const e=o.map((e=>(0,Me.createBlock)("core/image",e)));return(0,Me.createBlock)("core/gallery",{align:t,sizeSlug:n},e)}return(0,Me.createBlock)("core/gallery",{images:o.map((({id:e,url:t,alt:n,caption:o})=>({id:(0,Je.toString)(e),url:t,alt:n,caption:o}))),ids:o.map((({id:e})=>parseInt(e,10))),align:t,sizeSlug:n})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:({named:{ids:e}})=>{if(!(0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks)return Il(e).map((e=>({id:(0,Je.toString)(e)})))}},ids:{type:"array",shortcode:({named:{ids:e}})=>{if(!(0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks)return Il(e)}},shortCodeTransforms:{type:"array",shortcode:({named:{ids:e}})=>{if((0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks)return Il(e).map((e=>({id:parseInt(e)})))}},columns:{type:"number",shortcode:({named:{columns:e="3"}})=>parseInt(e,10)},linkTo:{type:"string",shortcode:({named:{link:e}})=>{if(!(0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks)switch(e){case"post":return fl;case"file":return yl;default:return fl}switch(e){case"post":return Pa;case"file":return Na;default:return Ta}}}},isMatch:({named:e})=>void 0!==e.ids},{type:"files",priority:1,isMatch:e=>1!==e.length&&(0,Je.every)(e,(e=>0===e.type.indexOf("image/"))),transform(e){if((0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks){const t=e.map((e=>(0,Me.createBlock)("core/image",{url:(0,je.createBlobURL)(e)})));return(0,Me.createBlock)("core/gallery",{},t)}return(0,Me.createBlock)("core/gallery",{images:e.map((e=>Ba({url:(0,je.createBlobURL)(e)})))})}}],to:[{type:"block",blocks:["core/image"],transform:({align:e,images:t,ids:n,sizeSlug:o},r)=>(0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks?r.length>0?r.map((({attributes:{id:t,url:n,alt:o,caption:r,imageSizeSlug:a}})=>(0,Me.createBlock)("core/image",{id:t,url:n,alt:o,caption:r,sizeSlug:a,align:e}))):(0,Me.createBlock)("core/image",{align:e}):t.length>0?t.map((({url:t,alt:r,caption:a},l)=>(0,Me.createBlock)("core/image",{id:n[l],url:t,alt:r,caption:a,align:e,sizeSlug:o}))):(0,Me.createBlock)("core/image",{align:e})}]};const Ll={apiVersion:2,name:"core/gallery",title:"Gallery",category:"media",description:"Display multiple images in a rich gallery.",keywords:["images","photos"],textdomain:"default",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},shortCodeTransforms:{type:"array",default:[],items:{type:"object"}},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},fixedHeight:{type:"boolean",default:!0},linkTarget:{type:"string"},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"},allowResize:{type:"boolean",default:!1}},providesContext:{allowResize:"allowResize",imageCrop:"imageCrop",fixedHeight:"fixedHeight"},supports:{anchor:!0,align:!0},editorStyle:"wp-block-gallery-editor",style:"wp-block-gallery"},{name:Rl}=Ll,Vl={icon:wa,example:{attributes:{columns:2},innerBlocks:[{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}}]},transforms:Ml,edit:function(e){var t,n;const{attributes:o,clientId:r}=e,a=(0,Ze.useSelect)((e=>{var t;return null===(t=e(Fe.store).getBlock(r))||void 0===t?void 0:t.innerBlocks}),[r]),l=(0,Ze.useSelect)((e=>e(Fe.store).getSettings().__unstableGalleryWithImageBlocks),[]),i=!(null==a||!a.length);return 0<(null==o||null===(t=o.ids)||void 0===t?void 0:t.length)||0<(null==o||null===(n=o.images)||void 0===n?void 0:n.length)||!i&&!l?(0,Le.createElement)(Pl,e):(0,Le.createElement)(ml,e)},save:function({attributes:e}){var t,n;if((null==e||null===(t=e.ids)||void 0===t?void 0:t.length)>0||(null==e||null===(n=e.images)||void 0===n?void 0:n.length)>0)return function({attributes:e}){const{images:t,columns:n=Ea(e),imageCrop:o,caption:r,linkTo:a}=e,l=`columns-${n} ${o?"is-cropped":""}`;return(0,Le.createElement)("figure",Fe.useBlockProps.save({className:l}),(0,Le.createElement)("ul",{className:"blocks-gallery-grid"},t.map((e=>{let t;switch(a){case yl:t=e.fullUrl||e.url;break;case fl:t=e.link}const n=(0,Le.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,Le.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,Le.createElement)("figure",null,t?(0,Le.createElement)("a",{href:t},n):n,!Fe.RichText.isEmpty(e.caption)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!Fe.RichText.isEmpty(r)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:r}))}({attributes:e});const{caption:o,columns:r,imageCrop:a}=e,l=vt()("has-nested-images",{[`columns-${r}`]:void 0!==r,"columns-default":void 0===r,"is-cropped":a}),i=Fe.useBlockProps.save({className:l}),s=Fe.useInnerBlocksProps.save(i);return(0,Le.createElement)("figure",s,s.children,!Fe.RichText.isEmpty(o)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:o}))},deprecated:Ca};var Al=(0,Le.createElement)(Re.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Re.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"}));const Hl=e=>{if(e.tagName||(e={...e,tagName:"div"}),!e.customTextColor&&!e.customBackgroundColor)return e;const t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),{...(0,Je.omit)(e,["customTextColor","customBackgroundColor"]),style:t}};var Fl=[{attributes:{tagName:{type:"string",default:"div"},templateLock:{type:"string"}},supports:{align:["wide","full"],anchor:!0,color:{gradients:!0,link:!0},spacing:{padding:!0},__experimentalBorder:{radius:!0}},save({attributes:e}){const{tagName:t}=e;return(0,Le.createElement)(t,Fe.useBlockProps.save(),(0,Le.createElement)("div",{className:"wp-block-group__inner-container"},(0,Le.createElement)(Fe.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:Hl,save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,textColor:o,customTextColor:r}=e,a=(0,Fe.getColorClassName)("background-color",t),l=(0,Fe.getColorClassName)("color",o),i=vt()(a,l,{"has-text-color":o||r,"has-background":t||n}),s={backgroundColor:a?void 0:n,color:l?void 0:r};return(0,Le.createElement)("div",{className:i,style:s},(0,Le.createElement)("div",{className:"wp-block-group__inner-container"},(0,Le.createElement)(Fe.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},migrate:Hl,supports:{align:["wide","full"],anchor:!0,html:!1},save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,textColor:o,customTextColor:r}=e,a=(0,Fe.getColorClassName)("background-color",t),l=(0,Fe.getColorClassName)("color",o),i=vt()(a,{"has-text-color":o||r,"has-background":t||n}),s={backgroundColor:a?void 0:n,color:l?void 0:r};return(0,Le.createElement)("div",{className:i,style:s},(0,Le.createElement)("div",{className:"wp-block-group__inner-container"},(0,Le.createElement)(Fe.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:Hl,save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n}=e,o=(0,Fe.getColorClassName)("background-color",t),r=vt()(o,{"has-background":t||n}),a={backgroundColor:o?void 0:n};return(0,Le.createElement)("div",{className:r,style:a},(0,Le.createElement)(Fe.InnerBlocks.Content,null))}}];const Dl={header:(0,He.__)("The <header> element should represent introductory content, typically a group of introductory or navigational aids."),main:(0,He.__)("The <main> element should be used for the primary content of your document only. "),section:(0,He.__)("The <section> element should represent a standalone portion of the document that can't be better represented by another element."),article:(0,He.__)("The <article> element should represent a self contained, syndicatable portion of the document."),aside:(0,He.__)("The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content."),footer:(0,He.__)("The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).")};var Gl=[{name:"group-row",title:(0,He.__)("Row"),description:(0,He.__)("Blocks shown in a row."),attributes:{layout:{type:"flex",allowOrientation:!1}},scope:["inserter"],isActive:e=>{var t;return"flex"===(null===(t=e.layout)||void 0===t?void 0:t.type)}}];const Ul={apiVersion:2,name:"core/group",title:"Group",category:"design",description:"Combine blocks into a group.",keywords:["container","wrapper","row","section"],textdomain:"default",attributes:{tagName:{type:"string",default:"div"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},supports:{align:["wide","full"],anchor:!0,html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},__experimentalLayout:!0},editorStyle:"wp-block-group-editor",style:"wp-block-group"},{name:Ol}=Ul,ql={icon:Al,example:{attributes:{style:{color:{text:"#000000",background:"#ffffff"}}},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:(0,He.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:(0,He.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:(0,He.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:(0,He.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:(0,He.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:(0,He.__)("Six.")}}]},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert(e){if(1===e.length&&"core/group"===e[0].name)return;const t=["wide","full"],n=e.reduce(((e,n)=>{const{align:o}=n.attributes;return t.indexOf(o)>t.indexOf(e)?o:e}),void 0),o=e.map((e=>(0,Me.createBlock)(e.name,e.attributes,e.innerBlocks)));return(0,Me.createBlock)("core/group",{align:n},o)}}]},edit:function({attributes:e,setAttributes:t,clientId:n}){const{hasInnerBlocks:o,themeSupportsLayout:r}=(0,Ze.useSelect)((e=>{var t;const{getBlock:o,getSettings:r}=e(Fe.store),a=o(n);return{hasInnerBlocks:!(!a||!a.innerBlocks.length),themeSupportsLayout:null===(t=r())||void 0===t?void 0:t.supportsLayout}}),[n]),a=(0,Fe.useSetting)("layout")||{},{tagName:l="div",templateLock:i,layout:s={}}=e,c=s&&s.inherit?a:s,{type:u="default"}=c,m=r||"default"!==u,d=(0,Fe.useBlockProps)(),p=(0,Fe.useInnerBlocksProps)(m?d:{className:"wp-block-group__inner-container"},{templateLock:i,renderAppender:o?void 0:Fe.InnerBlocks.ButtonBlockAppender,__experimentalLayout:m?c:void 0});return(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Fe.InspectorControls,{__experimentalGroup:"advanced"},(0,Le.createElement)(Ae.SelectControl,{label:(0,He.__)("HTML element"),options:[{label:(0,He.__)("Default (<div>)"),value:"div"},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"}],value:l,onChange:e=>t({tagName:e}),help:Dl[l]})),m&&(0,Le.createElement)(l,p),!m&&(0,Le.createElement)(l,d,(0,Le.createElement)("div",p)))},save:function({attributes:{tagName:e}}){return(0,Le.createElement)(e,Fe.useInnerBlocksProps.save(Fe.useBlockProps.save()))},deprecated:Fl,variations:Gl};var $l=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M6.2 5.2v13.4l5.8-4.8 5.8 4.8V5.2z"}));const Wl={className:!1,anchor:!0},jl={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"}},Zl=e=>{if(!e.customTextColor)return e;const t={color:{text:e.customTextColor}};return{...(0,Je.omit)(e,["customTextColor"]),style:t}},Ql=["left","right","center"],Kl=e=>{const{align:t,...n}=e;return Ql.includes(t)?{...n,textAlign:t}:e};var Jl=[{supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},fontSize:!0,lineHeight:!0,__experimentalSelector:{"core/heading/h1":"h1","core/heading/h2":"h2","core/heading/h3":"h3","core/heading/h4":"h4","core/heading/h5":"h5","core/heading/h6":"h6"},__unstablePasteTextInline:!0},attributes:jl,isEligible:({align:e})=>Ql.includes(e),migrate:Kl,save({attributes:e}){const{align:t,content:n,level:o}=e,r="h"+o,a=vt()({[`has-text-align-${t}`]:t});return(0,Le.createElement)(r,Fe.useBlockProps.save({className:a}),(0,Le.createElement)(Fe.RichText.Content,{value:n}))}},{supports:Wl,attributes:{...jl,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>Zl(Kl(e)),save({attributes:e}){const{align:t,content:n,customTextColor:o,level:r,textColor:a}=e,l="h"+r,i=(0,Fe.getColorClassName)("color",a),s=vt()({[i]:i,"has-text-color":a||o,[`has-text-align-${t}`]:t});return(0,Le.createElement)(Fe.RichText.Content,{className:s||void 0,tagName:l,style:{color:i?void 0:o},value:n})}},{attributes:{...jl,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>Zl(Kl(e)),save({attributes:e}){const{align:t,content:n,customTextColor:o,level:r,textColor:a}=e,l="h"+r,i=(0,Fe.getColorClassName)("color",a),s=vt()({[i]:i,[`has-text-align-${t}`]:t});return(0,Le.createElement)(Fe.RichText.Content,{className:s||void 0,tagName:l,style:{color:i?void 0:o},value:n})},supports:Wl},{supports:Wl,attributes:{...jl,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>Zl(Kl(e)),save({attributes:e}){const{align:t,level:n,content:o,textColor:r,customTextColor:a}=e,l="h"+n,i=(0,Fe.getColorClassName)("color",r),s=vt()({[i]:i});return(0,Le.createElement)(Fe.RichText.Content,{className:s||void 0,tagName:l,style:{textAlign:t,color:i?void 0:a},value:o})}}];function Yl({level:e,isPressed:t=!1}){const n={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return n.hasOwnProperty(e)?(0,Le.createElement)(Ae.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:t},(0,Le.createElement)(Ae.Path,{d:n[e]})):null}const Xl=[1,2,3,4,5,6],ei={className:"block-library-heading-level-dropdown"};function ti({selectedLevel:e,onChange:t}){return(0,Le.createElement)(Ae.ToolbarDropdownMenu,{popoverProps:ei,icon:(0,Le.createElement)(Yl,{level:e}),label:(0,He.__)("Change heading level"),controls:Xl.map((n=>{{const o=n===e;return{icon:(0,Le.createElement)(Yl,{level:n,isPressed:o}),label:(0,He.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
28
  (0,He.__)("Heading %d"),n),isActive:o,onClick(){t(n)}}}}))})}const ni={},oi=(e,t)=>{const n=(e=>(0,Je.trim)((0,Je.deburr)((e=>{const t=document.createElement("div");return t.innerHTML=e,t.innerText})(e)).replace(/[^\p{L}\p{N}]+/gu,"-").toLowerCase(),"-"))(t);if(""===n)return null;delete ni[e];let o=n,r=0;for(;Object.values(ni).includes(o);)r+=1,o=n+"-"+r;return o},ri=(e,t)=>{ni[e]=t};const{name:ai}={apiVersion:2,name:"core/heading",title:"Heading",category:"text",description:"Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.",keywords:["title","subtitle"],textdomain:"default",attributes:{textAlign:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:"",__experimentalRole:"content"},level:{type:"number",default:2},placeholder:{type:"string"}},supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}},__experimentalSelector:"h1,h2,h3,h4,h5,h6",__unstablePasteTextInline:!0,__experimentalSlashInserter:!0},editorStyle:"wp-block-heading-editor",style:"wp-block-heading"};var li={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map((({content:e,anchor:t})=>(0,Me.createBlock)(ai,{content:e,anchor:t})))},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:({phrasingContentSchema:e,isPaste:t})=>{const n={children:e,attributes:t?[]:["style","id"]};return{h1:n,h2:n,h3:n,h4:n,h5:n,h6:n}},transform(e){const t=(0,Me.getBlockAttributes)(ai,e.outerHTML),{textAlign:n}=e.style||{};var o;return t.level=(o=e.nodeName,Number(o.substr(1))),"left"!==n&&"center"!==n&&"right"!==n||(t.align=n),(0,Me.createBlock)(ai,t)}},...[1,2,3,4,5,6].map((e=>({type:"prefix",prefix:Array(e+1).join("#"),transform:t=>(0,Me.createBlock)(ai,{level:e,content:t})}))),...[1,2,3,4,5,6].map((e=>({type:"enter",regExp:new RegExp(`^/(h|H)${e}$`),transform:t=>(0,Me.createBlock)(ai,{level:e,content:t})})))],to:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map((({content:e,anchor:t})=>(0,Me.createBlock)("core/paragraph",{content:e,anchor:t})))}]};const ii={apiVersion:2,name:"core/heading",title:"Heading",category:"text",description:"Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.",keywords:["title","subtitle"],textdomain:"default",attributes:{textAlign:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:"",__experimentalRole:"content"},level:{type:"number",default:2},placeholder:{type:"string"}},supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}},__experimentalSelector:"h1,h2,h3,h4,h5,h6",__unstablePasteTextInline:!0,__experimentalSlashInserter:!0},editorStyle:"wp-block-heading-editor",style:"wp-block-heading"},{name:si}=ii,ci={icon:$l,example:{attributes:{content:(0,He.__)("Code is Poetry"),level:2}},__experimentalLabel(e,{context:t}){if("accessibility"===t){const{content:t,level:n}=e;return(0,Je.isEmpty)(t)?(0,He.sprintf)(
29
  /* translators: accessibility text. %s: heading level. */
30
  (0,He.__)("Level %s. Empty."),n):(0,He.sprintf)(
10
  /* translators: example text. */
11
  content:(0,He.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{
12
  /* translators: example text. */
13
+ content:(0,He.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:Sn,edit:e=>{const{clientId:t}=e,n=(0,Ze.useSelect)((e=>e(Fe.store).getBlocks(t).length>0),[t])?In:Mn;return(0,Le.createElement)(n,e)},save:function({attributes:e}){const{isStackedOnMobile:t,verticalAlignment:n}=e,o=vt()({[`are-vertically-aligned-${n}`]:n,"is-not-stacked-on-mobile":!t}),r=Fe.useBlockProps.save({className:o}),a=Fe.useInnerBlocksProps.save(r);return(0,Le.createElement)("div",a)},transforms:Rn};var Fn=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M7.25 16.4371C6.16445 15.2755 5.5 13.7153 5.5 12C5.5 8.41015 8.41015 5.5 12 5.5C15.5899 5.5 18.5 8.41015 18.5 12C18.5 13.7153 17.8356 15.2755 16.75 16.4371V16C16.75 14.4812 15.5188 13.25 14 13.25L10 13.25C8.48122 13.25 7.25 14.4812 7.25 16V16.4371ZM8.75 17.6304C9.70606 18.1835 10.8161 18.5 12 18.5C13.1839 18.5 14.2939 18.1835 15.25 17.6304V16C15.25 15.3096 14.6904 14.75 14 14.75L10 14.75C9.30964 14.75 8.75 15.3096 8.75 16V17.6304ZM4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM14 10C14 11.1046 13.1046 12 12 12C10.8954 12 10 11.1046 10 10C10 8.89543 10.8954 8 12 8C13.1046 8 14 8.89543 14 10Z",fillRule:"evenodd",clipRule:"evenodd",fill:"black"}));const Dn={apiVersion:2,name:"core/comment-author-avatar",title:"Comment Author Avatar",category:"theme",parent:["core/comment-template"],description:"Add the avatar of this comment's author.",textdomain:"default",attributes:{width:{type:"number",default:96},height:{type:"number",default:96}},usesContext:["commentId"],supports:{html:!1,__experimentalBorder:{radius:!0,width:!0,color:!0,style:!0},color:{background:!0,text:!1,links:!1}}},{name:Gn}=Dn,Un={icon:Fn,edit:function({attributes:e,context:{commentId:t},setAttributes:n}){const{height:o,width:r}=e,[a]=(0,Zt.useEntityProp)("root","comment","author_avatar_urls",t),[l]=(0,Zt.useEntityProp)("root","comment","author_name",t),i=a?Object.values(a):null,s=a?Object.keys(a):null,c=s?s[0]:24,u=s?s[s.length-1]:96,m=(0,Fe.useBlockProps)(),d=Math.floor(2.5*u),p=(0,Le.createElement)(Fe.InspectorControls,null,(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Avatar Settings")},(0,Le.createElement)(Ae.RangeControl,{label:(0,He.__)("Image size"),onChange:e=>n({width:e,height:e}),min:c,max:d,initialPosition:r,value:r}))),g=i?(0,Le.createElement)(Ae.ResizableBox,{size:{width:r,height:o},onResizeStop:(e,t,a,l)=>{n({height:parseInt(o+l.height,10),width:parseInt(r+l.width,10)})},lockAspectRatio:!0,enable:{top:!1,right:!(0,He.isRTL)(),bottom:!0,left:(0,He.isRTL)()},minWidth:c,maxWidth:d},(0,Le.createElement)("img",St({src:i[i.length-1],alt:`${l} ${(0,He.__)("Avatar")}`},m))):(0,Le.createElement)("p",m,(0,He._x)("Comment Author Avatar","block title"));return(0,Le.createElement)(Le.Fragment,null,p,(0,Le.createElement)("div",null,g))}};var On=(0,Le.createElement)(Re.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"#FFFFFF"},(0,Le.createElement)(Re.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z",fillRule:"evenodd",clipRule:"evenodd"}),(0,Le.createElement)(Re.Path,{d:"M15 15V15C15 13.8954 14.1046 13 13 13L11 13C9.89543 13 9 13.8954 9 15V15",fillRule:"evenodd",clipRule:"evenodd"}),(0,Le.createElement)(Re.Circle,{cx:"12",cy:"9",r:"2",fillRule:"evenodd",clipRule:"evenodd"})),qn=[{attributes:{isLink:{type:"boolean",default:!1},linkTarget:{type:"string",default:"_self"}},supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}},save:()=>null,migrate:_t,isEligible({style:e}){var t;return null==e||null===(t=e.typography)||void 0===t?void 0:t.fontFamily}}];const $n={apiVersion:2,name:"core/comment-author-name",title:"Comment Author Name",category:"theme",parent:["core/comment-template"],description:"Add the author name of this comment.",textdomain:"default",attributes:{isLink:{type:"boolean",default:!1},linkTarget:{type:"string",default:"_self"},textAlign:{type:"string"}},usesContext:["commentId"],supports:{html:!1,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}}},{name:Wn}=$n,jn={icon:On,edit:function({attributes:{isLink:e,linkTarget:t,textAlign:n},context:{commentId:o},setAttributes:r}){const a=(0,Fe.useBlockProps)({className:vt()({[`has-text-align-${n}`]:n})}),l=(0,Ze.useSelect)((e=>{const{getEntityRecord:t}=e(Zt.store),n=t("root","comment",o),r=null==n?void 0:n.author_name;if(n&&!r){var a;const e=t("root","user",n.author);return null!==(a=null==e?void 0:e.name)&&void 0!==a?a:(0,He.__)("Anonymous")}return null!=r?r:""}),[o]),i=(0,Le.createElement)(Fe.BlockControls,{group:"block"},(0,Le.createElement)(Fe.AlignmentControl,{value:n,onChange:e=>r({textAlign:e})})),s=(0,Le.createElement)(Fe.InspectorControls,null,(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Link settings")},(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Link to authors URL"),onChange:()=>r({isLink:!e}),checked:e}),e&&(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Open in new tab"),onChange:e=>r({linkTarget:e?"_blank":"_self"}),checked:"_blank"===t})));if(!o||!l)return(0,Le.createElement)(Le.Fragment,null,s,i,(0,Le.createElement)("div",a,(0,Le.createElement)("p",null,(0,He._x)("Comment Author","block title"))));const c=e?(0,Le.createElement)("a",{href:"#comment-author-pseudo-link",onClick:e=>e.preventDefault()},l):(0,Le.createElement)("p",null,l);return(0,Le.createElement)(Le.Fragment,null,s,i,(0,Le.createElement)("div",a,c))},deprecated:qn};var Zn=(0,Le.createElement)(Re.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Re.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z"}));const Qn={apiVersion:2,name:"core/comment-content",title:"Comment Content",category:"theme",parent:["core/comment-template"],description:"Displays the contents of a comment.",textdomain:"default",usesContext:["commentId"],attributes:{textAlign:{type:"string"}},supports:{color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0},spacing:{padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},html:!1}},{name:Kn}=Qn,Jn={icon:Zn,edit:function({setAttributes:e,attributes:{textAlign:t},context:{commentId:n}}){const o=(0,Fe.useBlockProps)({className:vt()({[`has-text-align-${t}`]:t})}),[r]=(0,Zt.useEntityProp)("root","comment","content",n),a=(0,Le.createElement)(Fe.BlockControls,{group:"block"},(0,Le.createElement)(Fe.AlignmentControl,{value:t,onChange:t=>e({textAlign:t})}));return n&&r?(0,Le.createElement)(Le.Fragment,null,a,(0,Le.createElement)("div",o,(0,Le.createElement)(Ae.Disabled,null,(0,Le.createElement)(Le.RawHTML,{key:"html"},r.rendered)))):(0,Le.createElement)(Le.Fragment,null,a,(0,Le.createElement)("div",o,(0,Le.createElement)("p",null,(0,He._x)("Comment Content","block title"))))}};var Yn=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M11.696 13.972c.356-.546.599-.958.728-1.235a1.79 1.79 0 00.203-.783c0-.264-.077-.47-.23-.618-.148-.153-.354-.23-.618-.23-.295 0-.569.07-.82.212a3.413 3.413 0 00-.738.571l-.147-1.188c.289-.234.59-.41.903-.526.313-.117.66-.175 1.041-.175.375 0 .695.08.959.24.264.153.46.362.59.626.135.265.203.556.203.876 0 .362-.08.734-.24 1.115-.154.381-.427.87-.82 1.466l-.756 1.152H14v1.106h-4l1.696-2.609z"}),(0,Le.createElement)(Re.Path,{d:"M19.5 7h-15v12a.5.5 0 00.5.5h14a.5.5 0 00.5-.5V7zM3 7V5a2 2 0 012-2h14a2 2 0 012 2v14a2 2 0 01-2 2H5a2 2 0 01-2-2V7z"})),Xn=window.wp.date,eo=[{attributes:{format:{type:"string"},isLink:{type:"boolean",default:!1}},supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}},save:()=>null,migrate:_t,isEligible({style:e}){var t;return null==e||null===(t=e.typography)||void 0===t?void 0:t.fontFamily}}];const to={apiVersion:2,name:"core/comment-date",title:"Comment Date",category:"theme",parent:["core/comment-template"],description:"Add the date of this comment.",textdomain:"default",attributes:{format:{type:"string"},isLink:{type:"boolean",default:!1}},usesContext:["commentId"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}}}},{name:no}=to,oo={icon:Yn,edit:function({attributes:{format:e,isLink:t},context:{commentId:n},setAttributes:o}){const r=(0,Fe.useBlockProps)(),[a]=(0,Zt.useEntityProp)("root","comment","date",n),[l]=(0,Zt.useEntityProp)("root","site","date_format"),i=(0,Xn.__experimentalGetSettings)(),s=Object.values(i.formats).map((e=>({key:e,name:(0,Xn.dateI18n)(e,a||new Date)}))),c=e||l||i.formats.date,u=(0,Le.createElement)(Fe.InspectorControls,null,(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Format settings")},(0,Le.createElement)(Ae.CustomSelectControl,{hideLabelFromVision:!0,label:(0,He.__)("Date Format"),options:s,onChange:({selectedItem:e})=>o({format:e.key}),value:s.find((e=>e.key===c))})),(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Link settings")},(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Link to comment"),onChange:()=>o({isLink:!t}),checked:t})));if(!n||!a)return(0,Le.createElement)(Le.Fragment,null,u,(0,Le.createElement)("div",r,(0,Le.createElement)("p",null,(0,He._x)("Comment Date","block title"))));let m=(0,Le.createElement)("time",{dateTime:(0,Xn.dateI18n)("c",a)},(0,Xn.dateI18n)(c,a));return t&&(m=(0,Le.createElement)("a",{href:"#comment-date-pseudo-link",onClick:e=>e.preventDefault()},m)),(0,Le.createElement)(Le.Fragment,null,u,(0,Le.createElement)("div",r,m))},deprecated:eo};var ro=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));const ao={apiVersion:2,name:"core/comment-edit-link",title:"Comment Edit Link",category:"theme",parent:["core/comment-template"],description:"Displays a link to edit the comment in the WordPress Dashboard. This link is only visible to users with the edit comment capability.",textdomain:"default",usesContext:["commentId"],attributes:{linkTarget:{type:"string",default:"_self"},textAlign:{type:"string"}},supports:{html:!1,color:{link:!0,gradients:!0,text:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}}},{name:lo}=ao,io={icon:ro,edit:function({attributes:{linkTarget:e,textAlign:t},setAttributes:n}){const o=(0,Fe.useBlockProps)({className:vt()({[`has-text-align-${t}`]:t})}),r=(0,Le.createElement)(Fe.BlockControls,{group:"block"},(0,Le.createElement)(Fe.AlignmentControl,{value:t,onChange:e=>n({textAlign:e})})),a=(0,Le.createElement)(Fe.InspectorControls,null,(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Link settings")},(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Open in new tab"),onChange:e=>n({linkTarget:e?"_blank":"_self"}),checked:"_blank"===e})));return(0,Le.createElement)(Le.Fragment,null,r,a,(0,Le.createElement)("div",o,(0,Le.createElement)("a",{href:"#edit-comment-pseudo-link",onClick:e=>e.preventDefault()},(0,He.__)("Edit"))))}};var so=(0,Le.createElement)(Re.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Re.Path,{d:"M6.68822 10.625L6.24878 11.0649L5.5 11.8145L5.5 5.5L12.5 5.5V8L14 6.5V5C14 4.44772 13.5523 4 13 4H5C4.44772 4 4 4.44771 4 5V13.5247C4 13.8173 4.16123 14.086 4.41935 14.2237C4.72711 14.3878 5.10601 14.3313 5.35252 14.0845L7.31 12.125H8.375L9.875 10.625H7.31H6.68822ZM14.5605 10.4983L11.6701 13.75H16.9975C17.9963 13.75 18.7796 14.1104 19.3553 14.7048C19.9095 15.2771 20.2299 16.0224 20.4224 16.7443C20.7645 18.0276 20.7543 19.4618 20.7487 20.2544C20.7481 20.345 20.7475 20.4272 20.7475 20.4999L19.2475 20.5001C19.2475 20.4191 19.248 20.3319 19.2484 20.2394V20.2394C19.2526 19.4274 19.259 18.2035 18.973 17.1307C18.8156 16.5401 18.586 16.0666 18.2778 15.7483C17.9909 15.4521 17.5991 15.25 16.9975 15.25H11.8106L14.5303 17.9697L13.4696 19.0303L8.96956 14.5303L13.4394 9.50171L14.5605 10.4983Z"}));const co={apiVersion:2,name:"core/comment-reply-link",title:"Comment Reply Link",category:"theme",parent:["core/comment-template"],description:"Displays a link to reply to a comment.",textdomain:"default",usesContext:["commentId"],attributes:{textAlign:{type:"string"}},supports:{color:{gradients:!0,link:!0,text:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0},html:!1}},{name:uo}=co,mo={edit:function({setAttributes:e,attributes:{textAlign:t}}){const n=(0,Fe.useBlockProps)({className:vt()({[`has-text-align-${t}`]:t})}),o=(0,Le.createElement)(Fe.BlockControls,{group:"block"},(0,Le.createElement)(Fe.AlignmentControl,{value:t,onChange:t=>e({textAlign:t})}));return(0,Le.createElement)(Le.Fragment,null,o,(0,Le.createElement)("div",n,(0,Le.createElement)("a",{href:"#comment-reply-pseudo-link",onClick:e=>e.preventDefault()},(0,He.__)("Reply"))))},icon:so};var po=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));const go=[["core/comment-author-avatar"],["core/comment-author-name"],["core/comment-date"],["core/comment-content"],["core/comment-reply-link"],["core/comment-edit-link"]];function ho(){const e=(0,Fe.useInnerBlocksProps)({},{template:go});return(0,Le.createElement)("li",e)}const vo={apiVersion:2,name:"core/comment-template",title:"Comment Template",category:"design",parent:["core/comments-query-loop"],description:"Contains the block elements used to render a comment, like the title, date, author, avatar and more.",textdomain:"default",usesContext:["queryId","queryPerPage","postId"],supports:{reusable:!1,html:!1,align:!0}},{name:bo}=vo,yo={icon:po,edit:function({clientId:e,context:{postId:t,queryPerPage:n}}){const o=(0,Fe.useBlockProps)(),[r,a]=(0,Le.useState)(),{comments:l,blocks:i}=(0,Ze.useSelect)((o=>{const{getEntityRecords:r}=o(Zt.store),{getBlocks:a}=o(Fe.store);return{comments:r("root","comment",{post:t,status:"approve",per_page:n,order:"asc"}),blocks:a(e)}}),[n,t,e]),s=(0,Le.useMemo)((()=>null==l?void 0:l.map((e=>({commentId:e.id})))),[l]);return l?l.length?(0,Le.createElement)("ul",o,s&&s.map((e=>(0,Le.createElement)(Fe.BlockContextProvider,{key:e.commentId,value:e},e===(r||s[0])?(0,Le.createElement)(ho,null):(0,Le.createElement)("li",null,(0,Le.createElement)(Fe.BlockPreview,{blocks:i,__experimentalLive:!0,__experimentalOnClick:()=>a(e)})))))):(0,Le.createElement)("p",o," ",(0,He.__)("No results found.")):(0,Le.createElement)("p",o,(0,Le.createElement)(Ae.Spinner,null))},save:function(){return(0,Le.createElement)(Fe.InnerBlocks.Content,null)}};var fo=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M14 10.1V4c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1zm-1.5-.5H6.7l-1.2 1.2V4.5h7v5.1zM19 12h-8c-.6 0-1 .4-1 1v6.1c0 .6.4 1 1 1h5.7l1.8 1.8c.1.2.4.3.6.3.1 0 .2 0 .3-.1.4-.1.6-.5.6-.8V13c0-.6-.4-1-1-1zm-.5 7.8l-1.2-1.2h-5.8v-5.1h7v6.3z"})),_o=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"}));function ko({queryPerPage:e,setQuery:t}){return(0,Le.createElement)(Ae.ToolbarGroup,null,(0,Le.createElement)(Ae.Dropdown,{renderToggle:({onToggle:e})=>(0,Le.createElement)(Ae.ToolbarButton,{icon:_o,label:(0,He.__)("Display settings"),onClick:e}),renderContent:()=>(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Ae.BaseControl,null,(0,Le.createElement)(Ae.__experimentalNumberControl,{__unstableInputWidth:"60px",label:(0,He.__)("Items per Page"),labelPosition:"edge",min:1,max:100,onChange:e=>{const n=parseInt(e,10);isNaN(n)||n<1||n>100||t({queryPerPage:n})},step:"1",value:e,isDragEnabled:!1})))}))}const wo=[["core/comment-template"]],Eo={apiVersion:2,name:"core/comments-query-loop",title:"Comments Query Loop",category:"theme",description:"An advanced block that allows displaying post comments based on different query parameters and visual configurations.",textdomain:"default",attributes:{queryId:{type:"number"},queryPerPage:{type:"number",default:4},tagName:{type:"string",default:"div"}},providesContext:{queryId:"queryId",queryPerPage:"queryPerPage"},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0}}},{name:Co}=Eo,xo={icon:fo,edit:function({attributes:e,setAttributes:t}){const{queryPerPage:n,tagName:o}=e,r=(0,Fe.useBlockProps)(),a=(0,Fe.useInnerBlocksProps)(r,{template:wo});return(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Fe.BlockControls,null,(0,Le.createElement)(ko,{queryPerPage:n,setQuery:t})),(0,Le.createElement)(Fe.InspectorControls,{__experimentalGroup:"advanced"},(0,Le.createElement)(Ae.SelectControl,{label:(0,He.__)("HTML element"),options:[{label:(0,He.__)("Default (<div>)"),value:"div"},{label:"<section>",value:"section"},{label:"<aside>",value:"aside"}],value:o,onChange:e=>t({tagName:e})})),(0,Le.createElement)(o,a))},save:function({attributes:{tagName:e}}){return(0,Le.createElement)(e,Fe.useBlockProps.save(),(0,Le.createElement)(Fe.InnerBlocks.Content,null))}};var So=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"}));const Bo={"top left":"is-position-top-left","top center":"is-position-top-center","top right":"is-position-top-right","center left":"is-position-center-left","center center":"is-position-center-center",center:"is-position-center-center","center right":"is-position-center-right","bottom left":"is-position-bottom-left","bottom center":"is-position-bottom-center","bottom right":"is-position-bottom-right"},To="image",No="video";function Po(e){return e?{backgroundImage:`url(${e})`}:{}}const zo=["image","video"];function Io(e){return 50===e||void 0===!e?null:"has-background-dim-"+10*Math.round(e/10)}function Mo(e){return!e||"center center"===e||"center"===e}function Lo(e){return Mo(e)?"":Bo[e]}function Ro(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}function Vo(e){return{...e,dimRatio:e.url?e.dimRatio:100}}const Ao={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}};var Ho=[{attributes:{...Ao,isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""}},supports:{anchor:!0,align:!0,html:!1,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},color:{__experimentalDuotone:"> .wp-block-cover__image-background, > .wp-block-cover__video-background",text:!1,background:!1}},save({attributes:e}){const{backgroundType:t,gradient:n,contentPosition:o,customGradient:r,customOverlayColor:a,dimRatio:l,focalPoint:i,hasParallax:s,isRepeated:c,overlayColor:u,url:m,alt:d,id:p,minHeight:g,minHeightUnit:h}=e,v=(0,Fe.getColorClassName)("background-color",u),b=(0,Fe.__experimentalGetGradientClass)(n),y=h?`${g}${h}`:g,f=To===t,_=No===t,k=!(s||c),w={...f&&!k?Po(m):{},backgroundColor:v?void 0:a,background:r&&!m?r:void 0,minHeight:y||void 0},E=i&&k?`${Math.round(100*i.x)}% ${Math.round(100*i.y)}%`:void 0,C=vt()(Ro(l),v,{"has-background-dim":0!==l,"has-parallax":s,"is-repeated":c,"has-background-gradient":n||r,[b]:!m&&b,"has-custom-content-position":!Mo(o)},Lo(o));return(0,Le.createElement)("div",Fe.useBlockProps.save({className:C,style:w}),m&&(n||r)&&0!==l&&(0,Le.createElement)("span",{"aria-hidden":"true",className:vt()("wp-block-cover__gradient-background",b),style:r?{background:r}:void 0}),f&&k&&m&&(0,Le.createElement)("img",{className:vt()("wp-block-cover__image-background",p?`wp-image-${p}`:null),alt:d,src:m,style:{objectPosition:E},"data-object-fit":"cover","data-object-position":E}),_&&m&&(0,Le.createElement)("video",{className:vt()("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:m,style:{objectPosition:E},"data-object-fit":"cover","data-object-position":E}),(0,Le.createElement)("div",{className:"wp-block-cover__inner-container"},(0,Le.createElement)(Fe.InnerBlocks.Content,null)))},migrate:Vo},{attributes:{...Ao,isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,gradient:n,contentPosition:o,customGradient:r,customOverlayColor:a,dimRatio:l,focalPoint:i,hasParallax:s,isRepeated:c,overlayColor:u,url:m,minHeight:d,minHeightUnit:p}=e,g=(0,Fe.getColorClassName)("background-color",u),h=(0,Fe.__experimentalGetGradientClass)(n),v=p?`${d}${p}`:d,b=To===t,y=No===t,f=b?Po(m):{},_={};let k;g||(f.backgroundColor=a),r&&!m&&(f.background=r),f.minHeight=v||void 0,i&&(k=`${Math.round(100*i.x)}% ${Math.round(100*i.y)}%`,b&&!s&&(f.backgroundPosition=k),y&&(_.objectPosition=k));const w=vt()(Ro(l),g,{"has-background-dim":0!==l,"has-parallax":s,"is-repeated":c,"has-background-gradient":n||r,[h]:!m&&h,"has-custom-content-position":!Mo(o)},Lo(o));return(0,Le.createElement)("div",Fe.useBlockProps.save({className:w,style:f}),m&&(n||r)&&0!==l&&(0,Le.createElement)("span",{"aria-hidden":"true",className:vt()("wp-block-cover__gradient-background",h),style:r?{background:r}:void 0}),y&&m&&(0,Le.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:m,style:_}),(0,Le.createElement)("div",{className:"wp-block-cover__inner-container"},(0,Le.createElement)(Fe.InnerBlocks.Content,null)))},migrate:Vo},{attributes:{...Ao,minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,gradient:n,customGradient:o,customOverlayColor:r,dimRatio:a,focalPoint:l,hasParallax:i,overlayColor:s,url:c,minHeight:u}=e,m=(0,Fe.getColorClassName)("background-color",s),d=(0,Fe.__experimentalGetGradientClass)(n),p=t===To?Po(c):{};m||(p.backgroundColor=r),l&&!i&&(p.backgroundPosition=`${Math.round(100*l.x)}% ${Math.round(100*l.y)}%`),o&&!c&&(p.background=o),p.minHeight=u||void 0;const g=vt()(Ro(a),m,{"has-background-dim":0!==a,"has-parallax":i,"has-background-gradient":o,[d]:!c&&d});return(0,Le.createElement)("div",{className:g,style:p},c&&(n||o)&&0!==a&&(0,Le.createElement)("span",{"aria-hidden":"true",className:vt()("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),No===t&&c&&(0,Le.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:c}),(0,Le.createElement)("div",{className:"wp-block-cover__inner-container"},(0,Le.createElement)(Fe.InnerBlocks.Content,null)))},migrate:Vo},{attributes:{...Ao,minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,gradient:n,customGradient:o,customOverlayColor:r,dimRatio:a,focalPoint:l,hasParallax:i,overlayColor:s,url:c,minHeight:u}=e,m=(0,Fe.getColorClassName)("background-color",s),d=(0,Fe.__experimentalGetGradientClass)(n),p=t===To?Po(c):{};m||(p.backgroundColor=r),l&&!i&&(p.backgroundPosition=`${100*l.x}% ${100*l.y}%`),o&&!c&&(p.background=o),p.minHeight=u||void 0;const g=vt()(Ro(a),m,{"has-background-dim":0!==a,"has-parallax":i,"has-background-gradient":o,[d]:!c&&d});return(0,Le.createElement)("div",{className:g,style:p},c&&(n||o)&&0!==a&&(0,Le.createElement)("span",{"aria-hidden":"true",className:vt()("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),No===t&&c&&(0,Le.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:c}),(0,Le.createElement)("div",{className:"wp-block-cover__inner-container"},(0,Le.createElement)(Fe.InnerBlocks.Content,null)))},migrate:Vo},{attributes:{...Ao,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,contentAlign:n,customOverlayColor:o,dimRatio:r,focalPoint:a,hasParallax:l,overlayColor:i,title:s,url:c}=e,u=(0,Fe.getColorClassName)("background-color",i),m=t===To?Po(c):{};u||(m.backgroundColor=o),a&&!l&&(m.backgroundPosition=`${100*a.x}% ${100*a.y}%`);const d=vt()(Ro(r),u,{"has-background-dim":0!==r,"has-parallax":l,[`has-${n}-content`]:"center"!==n});return(0,Le.createElement)("div",{className:d,style:m},No===t&&c&&(0,Le.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:c}),!Fe.RichText.isEmpty(s)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[(0,Je.omit)(t,["title","contentAlign"]),[(0,Me.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:(0,He.__)("Write title…")})]]}},{attributes:{...Ao,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}},supports:{className:!1},save({attributes:e}){const{url:t,title:n,hasParallax:o,dimRatio:r,align:a,contentAlign:l,overlayColor:i,customOverlayColor:s}=e,c=(0,Fe.getColorClassName)("background-color",i),u=Po(t);c||(u.backgroundColor=s);const m=vt()("wp-block-cover-image",Ro(r),c,{"has-background-dim":0!==r,"has-parallax":o,[`has-${l}-content`]:"center"!==l},a?`align${a}`:null);return(0,Le.createElement)("div",{className:m,style:u},!Fe.RichText.isEmpty(n)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:n}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[(0,Je.omit)(t,["title","contentAlign","align"]),[(0,Me.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:(0,He.__)("Write title…")})]]}},{attributes:{...Ao,title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}},supports:{className:!1},save({attributes:e}){const{url:t,title:n,hasParallax:o,dimRatio:r,align:a}=e,l=Po(t),i=vt()("wp-block-cover-image",Ro(r),{"has-background-dim":0!==r,"has-parallax":o},a?`align${a}`:null);return(0,Le.createElement)("section",{className:i,style:l},(0,Le.createElement)(Fe.RichText.Content,{tagName:"h2",value:n}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[(0,Je.omit)(t,["title","contentAlign","align"]),[(0,Me.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:(0,He.__)("Write title…")})]]}}],Fo=n(7667),Do=n.n(Fo),Go={grad:.9,turn:360,rad:360/(2*Math.PI)},Uo=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},Oo=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},qo=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},$o=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},Wo=function(e){return{r:qo(e.r,0,255),g:qo(e.g,0,255),b:qo(e.b,0,255),a:qo(e.a)}},jo=function(e){return{r:Oo(e.r),g:Oo(e.g),b:Oo(e.b),a:Oo(e.a,3)}},Zo=/^#([0-9a-f]{3,8})$/i,Qo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Ko=function(e){var t=e.r,n=e.g,o=e.b,r=e.a,a=Math.max(t,n,o),l=a-Math.min(t,n,o),i=l?a===t?(n-o)/l:a===n?2+(o-t)/l:4+(t-n)/l:0;return{h:60*(i<0?i+6:i),s:a?l/a*100:0,v:a/255*100,a:r}},Jo=function(e){var t=e.h,n=e.s,o=e.v,r=e.a;t=t/360*6,n/=100,o/=100;var a=Math.floor(t),l=o*(1-n),i=o*(1-(t-a)*n),s=o*(1-(1-t+a)*n),c=a%6;return{r:255*[o,i,l,l,s,o][c],g:255*[s,o,o,i,l,l][c],b:255*[l,l,s,o,o,i][c],a:r}},Yo=function(e){return{h:$o(e.h),s:qo(e.s,0,100),l:qo(e.l,0,100),a:qo(e.a)}},Xo=function(e){return{h:Oo(e.h),s:Oo(e.s),l:Oo(e.l),a:Oo(e.a,3)}},er=function(e){return Jo((n=(t=e).s,{h:t.h,s:(n*=((o=t.l)<50?o:100-o)/100)>0?2*n/(o+n)*100:0,v:o+n,a:t.a}));var t,n,o},tr=function(e){return{h:(t=Ko(e)).h,s:(r=(200-(n=t.s))*(o=t.v)/100)>0&&r<200?n*o/100/(r<=100?r:200-r)*100:0,l:r/2,a:t.a};var t,n,o,r},nr=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,or=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,rr=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ar=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,lr={string:[[function(e){var t=Zo.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?Oo(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?Oo(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=rr.exec(e)||ar.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:Wo({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=nr.exec(e)||or.exec(e);if(!t)return null;var n,o,r=Yo({h:(n=t[1],o=t[2],void 0===o&&(o="deg"),Number(n)*(Go[o]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return er(r)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,o=e.b,r=e.a,a=void 0===r?1:r;return Uo(t)&&Uo(n)&&Uo(o)?Wo({r:Number(t),g:Number(n),b:Number(o),a:Number(a)}):null},"rgb"],[function(e){var t=e.h,n=e.s,o=e.l,r=e.a,a=void 0===r?1:r;if(!Uo(t)||!Uo(n)||!Uo(o))return null;var l=Yo({h:Number(t),s:Number(n),l:Number(o),a:Number(a)});return er(l)},"hsl"],[function(e){var t=e.h,n=e.s,o=e.v,r=e.a,a=void 0===r?1:r;if(!Uo(t)||!Uo(n)||!Uo(o))return null;var l=function(e){return{h:$o(e.h),s:qo(e.s,0,100),v:qo(e.v,0,100),a:qo(e.a)}}({h:Number(t),s:Number(n),v:Number(o),a:Number(a)});return Jo(l)},"hsv"]]},ir=function(e,t){for(var n=0;n<t.length;n++){var o=t[n][0](e);if(o)return[o,t[n][1]]}return[null,void 0]},sr=function(e,t){var n=tr(e);return{h:n.h,s:qo(n.s+100*t,0,100),l:n.l,a:n.a}},cr=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},ur=function(e,t){var n=tr(e);return{h:n.h,s:n.s,l:qo(n.l+100*t,0,100),a:n.a}},mr=function(){function e(e){this.parsed=function(e){return"string"==typeof e?ir(e.trim(),lr.string):"object"==typeof e&&null!==e?ir(e,lr.object):[null,void 0]}(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return Oo(cr(this.rgba),2)},e.prototype.isDark=function(){return cr(this.rgba)<.5},e.prototype.isLight=function(){return cr(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=jo(this.rgba)).r,n=e.g,o=e.b,a=(r=e.a)<1?Qo(Oo(255*r)):"","#"+Qo(t)+Qo(n)+Qo(o)+a;var e,t,n,o,r,a},e.prototype.toRgb=function(){return jo(this.rgba)},e.prototype.toRgbString=function(){return t=(e=jo(this.rgba)).r,n=e.g,o=e.b,(r=e.a)<1?"rgba("+t+", "+n+", "+o+", "+r+")":"rgb("+t+", "+n+", "+o+")";var e,t,n,o,r},e.prototype.toHsl=function(){return Xo(tr(this.rgba))},e.prototype.toHslString=function(){return t=(e=Xo(tr(this.rgba))).h,n=e.s,o=e.l,(r=e.a)<1?"hsla("+t+", "+n+"%, "+o+"%, "+r+")":"hsl("+t+", "+n+"%, "+o+"%)";var e,t,n,o,r},e.prototype.toHsv=function(){return e=Ko(this.rgba),{h:Oo(e.h),s:Oo(e.s),v:Oo(e.v),a:Oo(e.a,3)};var e},e.prototype.invert=function(){return dr({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),dr(sr(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),dr(sr(this.rgba,-e))},e.prototype.grayscale=function(){return dr(sr(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),dr(ur(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),dr(ur(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?dr({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):Oo(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=tr(this.rgba);return"number"==typeof e?dr({h:e,s:t.s,l:t.l,a:t.a}):Oo(t.h)},e.prototype.isEqual=function(e){return this.toHex()===dr(e).toHex()},e}(),dr=function(e){return e instanceof mr?e:new mr(e)},pr=[];!function(e){e.forEach((function(e){pr.indexOf(e)<0&&(e(mr,lr),pr.push(e))}))}([function(e,t){var n={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},o={};for(var r in n)o[n[r]]=r;var a={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var r,l,i=o[this.toHex()];if(i)return i;if(null==t?void 0:t.closest){var s=this.toRgb(),c=1/0,u="black";if(!a.length)for(var m in n)a[m]=new e(n[m]).toRgb();for(var d in n){var p=(r=s,l=a[d],Math.pow(r.r-l.r,2)+Math.pow(r.g-l.g,2)+Math.pow(r.b-l.b,2));p<c&&(c=p,u=d)}return u}},t.string.push([function(t){var o=t.toLowerCase(),r="transparent"===o?"#0000":n[o];return r?new e(r).toRgb():null},"name"])}]);const{__Visualizer:gr}=Ae.__experimentalBoxControl;function hr(){return hr.fastAverageColor||(hr.fastAverageColor=new(Do())),hr.fastAverageColor}function vr({onChange:e,onUnitChange:t,unit:n="px",value:o=""}){const[r,a]=(0,Le.useState)(null),l=`block-cover-height-input-${(0,bt.useInstanceId)(Fe.__experimentalUnitControl)}`,i="px"===n,s=(0,Ae.__experimentalUseCustomUnits)({availableUnits:(0,Fe.useSetting)("spacing.units")||["px","em","rem","vw","vh"],defaultValues:{px:"430",em:"20",rem:"20",vw:"20",vh:"50"}}),c=null!==r?r:o,u=i?50:0;return(0,Le.createElement)(Ae.BaseControl,{label:(0,He.__)("Minimum height of cover"),id:l},(0,Le.createElement)(Fe.__experimentalUnitControl,{id:l,isResetValueOnUnitChange:!0,min:u,onBlur:()=>{null!==r&&a(null)},onChange:n=>{const o=""!==n?parseFloat(n):void 0;isNaN(o)&&void 0!==o?a(n):(a(null),e(o),void 0===o&&t())},onUnitChange:t,style:{maxWidth:80},unit:n,units:s,value:c}))}const br={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};function yr({className:e,onResizeStart:t,onResize:n,onResizeStop:o,...r}){const[a,l]=(0,Le.useState)(!1);return(0,Le.createElement)(Ae.ResizableBox,St({className:vt()(e,{"is-resizing":a}),enable:br,onResizeStart:(e,o,r)=>{t(r.clientHeight),n(r.clientHeight)},onResize:(e,t,o)=>{n(o.clientHeight),a||l(!0)},onResizeStop:(e,t,n)=>{o(n.clientHeight),l(!1)}},r))}function fr({x:e,y:t}){return`${Math.round(100*e)}% ${Math.round(100*t)}%`}function _r({disableMediaButtons:e=!1,children:t,noticeUI:n,noticeOperations:o,onSelectMedia:r,style:a}){const{removeAllNotices:l,createErrorNotice:i}=o;return(0,Le.createElement)(Fe.MediaPlaceholder,{icon:(0,Le.createElement)(Fe.BlockIcon,{icon:So}),labels:{title:(0,He.__)("Cover"),instructions:(0,He.__)("Drag and drop onto this block, upload, or select existing media from your library.")},onSelect:r,accept:"image/*,video/*",allowedTypes:zo,notices:n,disableMediaButtons:e,onError:e=>{l(),i(e)},style:a},t)}var kr=(0,bt.compose)([(0,Ze.withDispatch)((e=>{const{toggleSelection:t}=e(Fe.store);return{toggleSelection:t}})),(0,Fe.withColors)({overlayColor:"background-color"}),Ae.withNotices,bt.withInstanceId])((function({attributes:e,clientId:t,isSelected:n,noticeUI:o,noticeOperations:r,overlayColor:a,setAttributes:l,setOverlayColor:i,toggleSelection:s}){var c,u,m;const{contentPosition:d,id:p,backgroundType:g,dimRatio:h,focalPoint:v,hasParallax:b,isDark:y,isRepeated:f,minHeight:_,minHeightUnit:k,style:w,url:E,alt:C,allowedBlocks:x,templateLock:S}=e,{gradientClass:B,gradientValue:T,setGradient:N}=(0,Fe.__experimentalUseGradient)(),P=function(e,t){return n=>{if(!n||!n.url)return void e({url:void 0,id:void 0});let o;if((0,je.isBlobURL)(n.url)&&(n.type=(0,je.getBlobTypeByURL)(n.url)),n.media_type)o=n.media_type===To?To:No;else{if(n.type!==To&&n.type!==No)return;o=n.type}e({dimRatio:100===t?50:t,url:n.url,id:n.id,alt:null==n?void 0:n.alt,backgroundType:o,...o===No?{focalPoint:void 0,hasParallax:void 0}:{}})}}(l,h),z=((e,t)=>!e&&(0,je.isBlobURL)(t))(p,E),[I,M]=(0,Le.useState)(_),[L,R]=(0,Le.useState)(k),V="vh"===k&&100===_,A=(0,Le.useRef)(),H=function(e,t=50,n,o){const[r,a]=(0,Le.useState)(!1);return(0,Le.useEffect)((()=>{e&&t<=50&&o.current&&hr().getColorAsync(o.current,(e=>{a(e.isDark)}))}),[e,e&&t<=50&&o.current,a]),(0,Le.useEffect)((()=>{if(t>50||!e){if(!n)return void a(!0);a(dr(n).isDark())}}),[n,t>50||!e,a]),(0,Le.useEffect)((()=>{e||n||a(!1)}),[!e&&!n,a]),r}(E,h,a.color,A);(0,Le.useEffect)((()=>{l({isDark:H})}),[H]);const F=To===g,D=No===g,[G,U]=(0,Le.useState)(null),O=k?`${_}${k}`:_,q=!(b||f),$={...F&&!q?Po(E):void 0,minHeight:G||O||void 0},W={backgroundColor:a.color},j={objectPosition:v&&q?fr(v):void 0},Z=!!(E||a.color||T),Q=D||F&&(!b||f),K=e=>{const[t,n]=A.current?[A.current.style,"objectPosition"]:[X.current.style,"backgroundPosition"];t[n]=fr(e)},J=(0,Ze.useSelect)((e=>e(Fe.store).getBlock(t).innerBlocks.length>0),[t]),Y=(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Fe.BlockControls,{group:"block"},(0,Le.createElement)(Fe.__experimentalBlockAlignmentMatrixControl,{label:(0,He.__)("Change content position"),value:d,onChange:e=>l({contentPosition:e}),isDisabled:!J}),(0,Le.createElement)(Fe.__experimentalBlockFullHeightAligmentControl,{isActive:V,onToggle:()=>V?l("vh"===L&&100===I?{minHeight:void 0,minHeightUnit:void 0}:{minHeight:I,minHeightUnit:L}):(M(_),R(k),l({minHeight:100,minHeightUnit:"vh"})),isDisabled:!J})),(0,Le.createElement)(Fe.BlockControls,{group:"other"},(0,Le.createElement)(Fe.MediaReplaceFlow,{mediaId:p,mediaURL:E,allowedTypes:zo,accept:"image/*,video/*",onSelect:P,name:E?(0,He.__)("Replace"):(0,He.__)("Add Media")})),(0,Le.createElement)(Fe.InspectorControls,null,!!E&&(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Media settings")},F&&(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Fixed background"),checked:b,onChange:()=>{l({hasParallax:!b,...b?{}:{focalPoint:void 0}})}}),(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Repeated background"),checked:f,onChange:()=>{l({isRepeated:!f})}})),Q&&(0,Le.createElement)(Ae.FocalPointPicker,{label:(0,He.__)("Focal point picker"),url:E,value:v,onDragStart:K,onDrag:K,onChange:e=>l({focalPoint:e})}),E&&F&&q&&(0,Le.createElement)(Ae.TextareaControl,{label:(0,He.__)("Alt text (alternative text)"),value:C,onChange:e=>l({alt:e}),help:(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Ae.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,He.__)("Describe the purpose of the image")),(0,He.__)("Leave empty if the image is purely decorative."))}),(0,Le.createElement)(Ae.PanelRow,null,(0,Le.createElement)(Ae.Button,{variant:"secondary",isSmall:!0,className:"block-library-cover__reset-button",onClick:()=>l({url:void 0,id:void 0,backgroundType:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0})},(0,He.__)("Clear Media")))),(0,Le.createElement)(Fe.__experimentalPanelColorGradientSettings,{__experimentalHasMultipleOrigins:!0,title:(0,He.__)("Overlay"),initialOpen:!0,settings:[{colorValue:a.color,gradientValue:T,onColorChange:i,onGradientChange:N,label:(0,He.__)("Color")}]},(0,Le.createElement)(Ae.RangeControl,{label:(0,He.__)("Opacity"),value:h,onChange:e=>l({dimRatio:e}),min:0,max:100,step:10,required:!0}))),(0,Le.createElement)(Fe.InspectorControls,{__experimentalGroup:"dimensions"},(0,Le.createElement)(Ae.__experimentalToolsPanelItem,{hasValue:()=>!!_,label:(0,He.__)("Minimum height"),onDeselect:()=>l({minHeight:void 0,minHeightUnit:void 0}),resetAllFilter:()=>({minHeight:void 0,minHeightUnit:void 0}),isShownByDefault:!0,panelId:t},(0,Le.createElement)(vr,{value:G||_,unit:k,onChange:e=>l({minHeight:e}),onUnitChange:e=>l({minHeightUnit:e})})))),X=(0,Le.useRef)(),ee=(0,Fe.useBlockProps)({ref:X}),te=function(e){return[["core/paragraph",{align:"center",placeholder:(0,He.__)("Write title…"),...e}]]}({fontSize:null!==(c=(0,Fe.useSetting)("typography.fontSizes"))&&void 0!==c&&c.length?"large":void 0}),ne=(0,Fe.useInnerBlocksProps)({className:"wp-block-cover__inner-container"},{template:te,templateInsertUpdatesSelection:!0,allowedBlocks:x,templateLock:S});if(!J&&!Z)return(0,Le.createElement)(Le.Fragment,null,Y,(0,Le.createElement)("div",St({},ee,{className:vt()("is-placeholder",ee.className)}),(0,Le.createElement)(_r,{noticeUI:o,onSelectMedia:P,noticeOperations:r,style:{minHeight:G||O||void 0}},(0,Le.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},(0,Le.createElement)(Fe.ColorPalette,{disableCustomColors:!0,value:a.color,onChange:i,clearable:!1}))),(0,Le.createElement)(yr,{className:"block-library-cover__resize-container",onResizeStart:()=>{l({minHeightUnit:"px"}),s(!1)},onResize:U,onResizeStop:e=>{s(!0),l({minHeight:e}),U(null)},showHandle:n})));const oe=vt()({"is-dark-theme":y,"is-light":!y,"is-transient":z,"has-parallax":b,"is-repeated":f,"has-custom-content-position":!Mo(d)},Lo(d));return(0,Le.createElement)(Le.Fragment,null,Y,(0,Le.createElement)("div",St({},ee,{className:vt()(oe,ee.className),style:{...$,...ee.style},"data-url":E}),(0,Le.createElement)(gr,{values:null==w||null===(u=w.spacing)||void 0===u?void 0:u.padding,showValues:null==w||null===(m=w.visualizers)||void 0===m?void 0:m.padding}),(0,Le.createElement)(yr,{className:"block-library-cover__resize-container",onResizeStart:()=>{l({minHeightUnit:"px"}),s(!1)},onResize:U,onResizeStop:e=>{s(!0),l({minHeight:e}),U(null)},showHandle:n}),(0,Le.createElement)("span",{"aria-hidden":"true",className:vt()(Io(h),{[a.class]:a.class},"wp-block-cover__gradient-background",B,{"has-background-dim":void 0!==h,"has-background-gradient":T,[B]:!E&&B}),style:{backgroundImage:T,...W}}),E&&F&&q&&(0,Le.createElement)("img",{ref:A,className:"wp-block-cover__image-background",alt:C,src:E,style:j}),E&&D&&(0,Le.createElement)("video",{ref:A,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:E,style:j}),z&&(0,Le.createElement)(Ae.Spinner,null),(0,Le.createElement)(_r,{disableMediaButtons:!0,noticeUI:o,onSelectMedia:P,noticeOperations:r}),(0,Le.createElement)("div",ne)))})),wr={from:[{type:"block",blocks:["core/image"],transform:({caption:e,url:t,alt:n,align:o,id:r,anchor:a,style:l})=>{var i;return(0,Me.createBlock)("core/cover",{dimRatio:50,url:t,alt:n,align:o,id:r,anchor:a,style:{color:{duotone:null==l||null===(i=l.color)||void 0===i?void 0:i.duotone}}},[(0,Me.createBlock)("core/paragraph",{content:e,fontSize:"large"})])}},{type:"block",blocks:["core/video"],transform:({caption:e,src:t,align:n,id:o,anchor:r})=>(0,Me.createBlock)("core/cover",{dimRatio:50,url:t,align:n,id:o,backgroundType:No,anchor:r},[(0,Me.createBlock)("core/paragraph",{content:e,fontSize:"large"})])},{type:"block",blocks:["core/group"],isMatch:({backgroundColor:e,gradient:t,style:n})=>{var o,r;return e||(null==n||null===(o=n.color)||void 0===o?void 0:o.background)||(null==n||null===(r=n.color)||void 0===r?void 0:r.gradient)||t},transform:({align:e,anchor:t,backgroundColor:n,gradient:o,style:r},a)=>{var l,i;return(0,Me.createBlock)("core/cover",{align:e,anchor:t,overlayColor:n,customOverlayColor:null==r||null===(l=r.color)||void 0===l?void 0:l.background,gradient:o,customGradient:null==r||null===(i=r.color)||void 0===i?void 0:i.gradient},a)}}],to:[{type:"block",blocks:["core/image"],isMatch:({backgroundType:e,url:t,overlayColor:n,customOverlayColor:o,gradient:r,customGradient:a})=>t?e===To:!(n||o||r||a),transform:({title:e,url:t,alt:n,align:o,id:r,anchor:a,style:l})=>{var i;return(0,Me.createBlock)("core/image",{caption:e,url:t,alt:n,align:o,id:r,anchor:a,style:{color:{duotone:null==l||null===(i=l.color)||void 0===i?void 0:i.duotone}}})}},{type:"block",blocks:["core/video"],isMatch:({backgroundType:e,url:t,overlayColor:n,customOverlayColor:o,gradient:r,customGradient:a})=>t?e===No:!(n||o||r||a),transform:({title:e,url:t,align:n,id:o,anchor:r})=>(0,Me.createBlock)("core/video",{caption:e,src:t,id:o,align:n,anchor:r})}]};const Er={apiVersion:2,name:"core/cover",title:"Cover",category:"media",description:"Add an image or video with a text overlay — great for headers.",textdomain:"default",attributes:{url:{type:"string"},id:{type:"number"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},hasParallax:{type:"boolean",default:!1},isRepeated:{type:"boolean",default:!1},dimRatio:{type:"number",default:100},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},isDark:{type:"boolean",default:!0},allowedBlocks:{type:"array"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},supports:{anchor:!0,align:!0,html:!1,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},color:{__experimentalDuotone:"> .wp-block-cover__image-background, > .wp-block-cover__video-background",text:!1,background:!1}},editorStyle:"wp-block-cover-editor",style:"wp-block-cover"},{name:Cr}=Er,xr={icon:So,example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:(0,He.__)("<strong>Snow Patrol</strong>"),align:"center"}}]},transforms:wr,save:function({attributes:e}){const{backgroundType:t,gradient:n,contentPosition:o,customGradient:r,customOverlayColor:a,dimRatio:l,focalPoint:i,hasParallax:s,isDark:c,isRepeated:u,overlayColor:m,url:d,alt:p,id:g,minHeight:h,minHeightUnit:v}=e,b=(0,Fe.getColorClassName)("background-color",m),y=(0,Fe.__experimentalGetGradientClass)(n),f=v?`${h}${v}`:h,_=To===t,k=No===t,w=!(s||u),E={..._&&!w?Po(d):{},minHeight:f||void 0},C={backgroundColor:b?void 0:a,background:r||void 0},x=i&&w?`${Math.round(100*i.x)}% ${Math.round(100*i.y)}%`:void 0,S=vt()({"is-light":!c,"has-parallax":s,"is-repeated":u,"has-custom-content-position":!Mo(o)},Lo(o));return(0,Le.createElement)("div",Fe.useBlockProps.save({className:S,style:E}),(0,Le.createElement)("span",{"aria-hidden":"true",className:vt()(b,Io(l),"wp-block-cover__gradient-background",y,{"has-background-dim":void 0!==l,"has-background-gradient":n||r,[y]:!d&&y}),style:C}),_&&w&&d&&(0,Le.createElement)("img",{className:vt()("wp-block-cover__image-background",g?`wp-image-${g}`:null),alt:p,src:d,style:{objectPosition:x},"data-object-fit":"cover","data-object-position":x}),k&&d&&(0,Le.createElement)("video",{className:vt()("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:{objectPosition:x},"data-object-fit":"cover","data-object-position":x}),(0,Le.createElement)("div",Fe.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})))},edit:kr,deprecated:Ho};function Sr(e){return e?(0,He.__)("This embed will preserve its aspect ratio when the browser is resized."):(0,He.__)("This embed may not preserve its aspect ratio when the browser is resized.")}var Br=({blockSupportsResponsive:e,showEditButton:t,themeSupportsResponsive:n,allowResponsive:o,toggleResponsive:r,switchBackToURLInput:a})=>(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Fe.BlockControls,null,(0,Le.createElement)(Ae.ToolbarGroup,null,t&&(0,Le.createElement)(Ae.ToolbarButton,{className:"components-toolbar__control",label:(0,He.__)("Edit URL"),icon:ro,onClick:a}))),n&&e&&(0,Le.createElement)(Fe.InspectorControls,null,(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Media settings"),className:"blocks-responsive"},(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Resize for smaller devices"),checked:o,help:Sr,onChange:r}))));const Tr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Ae.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z"})),Nr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Ae.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM13.2 7.7c-.4.4-.7 1.1-.7 1.9v3.7c-.4-.3-.8-.4-1.3-.4-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2.5 0 1-.2 1.4-.5.9-.6 1.4-1.6 1.4-2.6V9.6c0-.4.1-.6.2-.8.3-.3 1-.3 1.6-.3h.2V7h-.2c-.7 0-1.8 0-2.6.7z"})),Pr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Ae.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9.2 4.5H19c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V9.8l4.6-5.3zm9.8 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),zr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Ae.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM10 15l5-3-5-3v6z"})),Ir={foreground:"#1da1f2",src:(0,Le.createElement)(Ae.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.G,null,(0,Le.createElement)(Ae.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},Mr={foreground:"#ff0000",src:(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},Lr={foreground:"#3b5998",src:(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},Rr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.G,null,(0,Le.createElement)(Ae.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),Vr={foreground:"#0073AA",src:(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.G,null,(0,Le.createElement)(Ae.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},Ar={foreground:"#1db954",src:(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},Hr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),Fr={foreground:"#1ab7ea",src:(0,Le.createElement)(Ae.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.G,null,(0,Le.createElement)(Ae.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},Dr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),Gr={foreground:"#35465c",src:(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"M19 3H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.69 14.66c-2.72 0-3.1-1.9-3.1-3.16v-3.56H8.49V8.99c1.7-.62 2.54-1.99 2.64-2.87 0-.06.06-.41.06-.58h1.9v3.1h2.17v2.3h-2.18v3.1c0 .47.13 1.3 1.2 1.26h1.1v2.36c-1.01.02-2.07 0-2.07 0z"}))},Ur=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),(0,Le.createElement)(Ae.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),(0,Le.createElement)(Ae.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"})),Or=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",fill:"#4bc7ee"}),(0,Le.createElement)(Ae.Path,{d:"m23.7254 19.0205-10.1074-17.18468c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418h22.5655c1.279 0 1.8019-.8905 1.1599-1.9795z",fill:"#d4cdcb"}),(0,Le.createElement)(Ae.Path,{d:"m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",fill:"#c3d82e"}),(0,Le.createElement)(Ae.Path,{d:"m13.618 1.83582c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418 15.2646-16.38573z",fill:"#e4ecb0"}),(0,Le.createElement)(Ae.Path,{d:"m.0206909 21 19.5468091-9.063 1.6621 2.8344z",fill:"#209dbd"}),(0,Le.createElement)(Ae.Path,{d:"m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",fill:"#7cb3c9"})),qr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 24 24"},(0,Le.createElement)(Ae.Path,{d:"m12.1479 18.5957c-2.4949 0-4.28131-1.7558-4.28131-4.0658 0-2.2176 1.78641-4.0965 4.09651-4.0965 2.2793 0 4.0349 1.7864 4.0349 4.1581 0 2.2794-1.7556 4.0042-3.8501 4.0042zm8.3521-18.5957-4.5329 1v7c-1.1088-1.41691-2.8028-1.8787-4.8049-1.8787-2.09443 0-3.97329.76993-5.5133 2.27917-1.72483 1.66323-2.6489 3.78863-2.6489 6.16033 0 2.5873.98562 4.8049 2.89526 6.499 1.44763 1.2936 3.17251 1.9402 5.17454 1.9402 1.9713 0 3.4498-.5236 4.8973-1.9402v1.9402h4.5329c0-7.6359 0-15.3641 0-23z",fill:"#333436"})),$r=(0,Le.createElement)(Ae.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Le.createElement)(Ae.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"})),Wr=(0,Le.createElement)(Ae.SVG,{viewBox:"0 0 44 44"},(0,Le.createElement)(Ae.Path,{d:"M32.59521,22.001l4.31885-4.84473-6.34131-1.38379.646-6.459-5.94336,2.61035L22,6.31934l-3.27344,5.60351L12.78418,9.3125l.645,6.458L7.08643,17.15234,11.40479,21.999,7.08594,26.84375l6.34131,1.38379-.64551,6.458,5.94287-2.60938L22,37.68066l3.27344-5.60351,5.94287,2.61035-.64551-6.458,6.34277-1.38183Zm.44385,2.75244L30.772,23.97827l-1.59558-2.07391,1.97888.735Zm-8.82147,6.1579L22.75,33.424V30.88977l1.52228-2.22168ZM18.56226,13.48816,19.819,15.09534l-2.49219-.88642L15.94037,12.337Zm6.87719.00116,2.62043-1.15027-1.38654,1.86981L24.183,15.0946Zm3.59357,2.6029-1.22546,1.7381.07525-2.73486,1.44507-1.94867ZM22,29.33008l-2.16406-3.15686L22,23.23688l2.16406,2.93634Zm-4.25458-9.582-.10528-3.836,3.60986,1.284v3.73242Zm5.00458-2.552,3.60986-1.284-.10528,3.836L22.75,20.92853Zm-7.78174-1.10559-.29352-2.94263,1.44245,1.94739.07519,2.73321Zm2.30982,5.08319,3.50817,1.18164-2.16247,2.9342-3.678-1.08447Zm2.4486,7.49285L21.25,30.88977v2.53485L19.78052,30.91Zm3.48707-6.31121,3.50817-1.18164,2.33228,3.03137-3.678,1.08447Zm10.87219-4.28113-2.714,3.04529L28.16418,19.928l1.92176-2.72565ZM24.06036,12.81769l-2.06012,2.6322-2.059-2.63318L22,9.292ZM9.91455,18.07227l4.00079-.87195,1.921,2.72735-3.20794,1.19019Zm2.93024,4.565,1.9801-.73462L13.228,23.97827l-2.26838.77429Zm-1.55591,3.58819L13.701,25.4021l2.64935.78058-2.14447.67853Zm3.64868,1.977L18.19,27.17334l.08313,3.46332L14.52979,32.2793Zm10.7876,2.43549.08447-3.464,3.25165,1.03052.407,4.07684Zm4.06824-3.77478-2.14545-.68,2.65063-.781,2.41266.825Z"}));var jr=()=>(0,Le.createElement)("div",{className:"wp-block-embed is-loading"},(0,Le.createElement)(Ae.Spinner,null),(0,Le.createElement)("p",null,(0,He.__)("Embedding…"))),Zr=({icon:e,label:t,value:n,onSubmit:o,onChange:r,cannotEmbed:a,fallback:l,tryAgain:i})=>(0,Le.createElement)(Ae.Placeholder,{icon:(0,Le.createElement)(Fe.BlockIcon,{icon:e,showColors:!0}),label:t,className:"wp-block-embed",instructions:(0,He.__)("Paste a link to the content you want to display on your site.")},(0,Le.createElement)("form",{onSubmit:o},(0,Le.createElement)("input",{type:"url",value:n||"",className:"components-placeholder__input","aria-label":t,placeholder:(0,He.__)("Enter URL to embed here…"),onChange:r}),(0,Le.createElement)(Ae.Button,{variant:"primary",type:"submit"},(0,He._x)("Embed","button label"))),(0,Le.createElement)("div",{className:"components-placeholder__learn-more"},(0,Le.createElement)(Ae.ExternalLink,{href:(0,He.__)("https://wordpress.org/support/article/embeds/")},(0,He.__)("Learn more about embeds"))),a&&(0,Le.createElement)("div",{className:"components-placeholder__error"},(0,Le.createElement)("div",{className:"components-placeholder__instructions"},(0,He.__)("Sorry, this content could not be embedded.")),(0,Le.createElement)(Ae.Button,{variant:"secondary",onClick:i},(0,He._x)("Try again","button label"))," ",(0,Le.createElement)(Ae.Button,{variant:"secondary",onClick:l},(0,He._x)("Convert to link","button label"))));const Qr={class:"className",frameborder:"frameBorder",marginheight:"marginHeight",marginwidth:"marginWidth"};function Kr({html:e}){const t=(0,Le.useRef)(),n=(0,Le.useMemo)((()=>{const t=(new window.DOMParser).parseFromString(e,"text/html").querySelector("iframe"),n={};return t?(Array.from(t.attributes).forEach((({name:e,value:t})=>{"style"!==e&&(n[Qr[e]||e]=t)})),n):n}),[e]);return(0,Le.useEffect)((()=>{const{ownerDocument:e}=t.current,{defaultView:o}=e;function r({data:{secret:e,message:o,value:r}={}}){"height"===o&&e===n["data-secret"]&&(t.current.height=r)}return o.addEventListener("message",r),()=>{o.removeEventListener("message",r)}}),[]),(0,Le.createElement)("div",{className:"wp-block-embed__wrapper"},(0,Le.createElement)("iframe",St({ref:(0,bt.useMergeRefs)([t,(0,bt.useFocusableIframe)()]),title:n.title},n)))}class Jr extends Le.Component{constructor(){super(...arguments),this.hideOverlay=this.hideOverlay.bind(this),this.state={interactive:!1}}static getDerivedStateFromProps(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}hideOverlay(){this.setState({interactive:!0})}render(){const{preview:e,previewable:t,url:n,type:o,caption:r,onCaptionChange:a,isSelected:l,className:i,icon:s,label:c,insertBlocksAfter:u}=this.props,{scripts:m}=e,{interactive:d}=this.state,p="photo"===o?(e=>{const t=e.thumbnail_url||e.url,n=(0,Le.createElement)("p",null,(0,Le.createElement)("img",{src:t,alt:e.title,width:"100%"}));return(0,Le.renderToString)(n)})(e):e.html,g=new URL(n).host.split("."),h=g.splice(g.length-2,g.length-1).join("."),v=(0,He.sprintf)(// translators: %s: host providing embed content e.g: www.youtube.com
14
  (0,He.__)("Embedded content from %s"),h),b=Xe()(o,i,"wp-block-embed__wrapper"),y="wp-embed"===o?(0,Le.createElement)(Kr,{html:p}):(0,Le.createElement)("div",{className:"wp-block-embed__wrapper"},(0,Le.createElement)(Ae.SandBox,{html:p,scripts:m,title:v,type:b,onFocus:this.hideOverlay}),!d&&(0,Le.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return(0,Le.createElement)("figure",{className:Xe()(i,"wp-block-embed",{"is-type-video":"video"===o})},t?y:(0,Le.createElement)(Ae.Placeholder,{icon:(0,Le.createElement)(Fe.BlockIcon,{icon:s,showColors:!0}),label:c},(0,Le.createElement)("p",{className:"components-placeholder__error"},(0,Le.createElement)("a",{href:n},n)),(0,Le.createElement)("p",{className:"components-placeholder__error"},(0,He.sprintf)(
15
  /* translators: %s: host providing embed content e.g: www.youtube.com */
16
  (0,He.__)("Embedded content from %s can't be previewed in the editor."),h))),(!Fe.RichText.isEmpty(r)||l)&&(0,Le.createElement)(Fe.RichText,{tagName:"figcaption",placeholder:(0,He.__)("Add caption"),value:r,onChange:a,inlineToolbar:!0,__unstableOnSplitAtEnd:()=>u((0,Me.createBlock)("core/paragraph"))}))}}var Yr=Jr;const{name:Xr}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"};var ea={from:[{type:"raw",isMatch:e=>{var t,n;return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)&&1===(null===(t=e.textContent)||void 0===t||null===(n=t.match(/https/gi))||void 0===n?void 0:n.length)},transform:e=>(0,Me.createBlock)(Xr,{url:e.textContent.trim()})}],to:[{type:"block",blocks:["core/paragraph"],isMatch:({url:e})=>!!e,transform:({url:e,caption:t})=>{let n=`<a href="${e}">${e}</a>`;return null!=t&&t.trim()&&(n+=`<br />${t}`),(0,Me.createBlock)("core/paragraph",{content:n})}}]};const ta=[{name:"twitter",title:"Twitter",icon:Ir,keywords:["tweet",(0,He.__)("social")],description:(0,He.__)("Embed a tweet."),patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i],attributes:{providerNameSlug:"twitter",responsive:!0}},{name:"youtube",title:"YouTube",icon:Mr,keywords:[(0,He.__)("music"),(0,He.__)("video")],description:(0,He.__)("Embed a YouTube video."),patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i],attributes:{providerNameSlug:"youtube",responsive:!0}},{name:"facebook",title:"Facebook",icon:Lr,keywords:[(0,He.__)("social")],description:(0,He.__)("Embed a Facebook post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}},{name:"instagram",title:"Instagram",icon:Rr,keywords:[(0,He.__)("image"),(0,He.__)("social")],description:(0,He.__)("Embed an Instagram post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"instagram",responsive:!0}},{name:"wordpress",title:"WordPress",icon:Vr,keywords:[(0,He.__)("post"),(0,He.__)("blog")],description:(0,He.__)("Embed a WordPress post."),attributes:{providerNameSlug:"wordpress"}},{name:"soundcloud",title:"SoundCloud",icon:Nr,keywords:[(0,He.__)("music"),(0,He.__)("audio")],description:(0,He.__)("Embed SoundCloud content."),patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i],attributes:{providerNameSlug:"soundcloud",responsive:!0}},{name:"spotify",title:"Spotify",icon:Ar,keywords:[(0,He.__)("music"),(0,He.__)("audio")],description:(0,He.__)("Embed Spotify content."),patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i],attributes:{providerNameSlug:"spotify",responsive:!0}},{name:"flickr",title:"Flickr",icon:Hr,keywords:[(0,He.__)("image")],description:(0,He.__)("Embed Flickr content."),patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i],attributes:{providerNameSlug:"flickr",responsive:!0}},{name:"vimeo",title:"Vimeo",icon:Fr,keywords:[(0,He.__)("video")],description:(0,He.__)("Embed a Vimeo video."),patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i],attributes:{providerNameSlug:"vimeo",responsive:!0}},{name:"animoto",title:"Animoto",icon:Or,description:(0,He.__)("Embed an Animoto video."),patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i],attributes:{providerNameSlug:"animoto",responsive:!0}},{name:"cloudup",title:"Cloudup",icon:Tr,description:(0,He.__)("Embed Cloudup content."),patterns:[/^https?:\/\/cloudup\.com\/.+/i],attributes:{providerNameSlug:"cloudup",responsive:!0}},{name:"collegehumor",title:"CollegeHumor",icon:zr,description:(0,He.__)("Embed CollegeHumor content."),scope:["block"],patterns:[],attributes:{providerNameSlug:"collegehumor",responsive:!0}},{name:"crowdsignal",title:"Crowdsignal",icon:Tr,keywords:["polldaddy",(0,He.__)("survey")],description:(0,He.__)("Embed Crowdsignal (formerly Polldaddy) content."),patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i],attributes:{providerNameSlug:"crowdsignal",responsive:!0}},{name:"dailymotion",title:"Dailymotion",icon:qr,keywords:[(0,He.__)("video")],description:(0,He.__)("Embed a Dailymotion video."),patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i],attributes:{providerNameSlug:"dailymotion",responsive:!0}},{name:"imgur",title:"Imgur",icon:Pr,description:(0,He.__)("Embed Imgur content."),patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i],attributes:{providerNameSlug:"imgur",responsive:!0}},{name:"issuu",title:"Issuu",icon:Tr,description:(0,He.__)("Embed Issuu content."),patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i],attributes:{providerNameSlug:"issuu",responsive:!0}},{name:"kickstarter",title:"Kickstarter",icon:Tr,description:(0,He.__)("Embed Kickstarter content."),patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i],attributes:{providerNameSlug:"kickstarter",responsive:!0}},{name:"mixcloud",title:"Mixcloud",icon:Nr,keywords:[(0,He.__)("music"),(0,He.__)("audio")],description:(0,He.__)("Embed Mixcloud content."),patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i],attributes:{providerNameSlug:"mixcloud",responsive:!0}},{name:"reddit",title:"Reddit",icon:Dr,description:(0,He.__)("Embed a Reddit thread."),patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i],attributes:{providerNameSlug:"reddit",responsive:!0}},{name:"reverbnation",title:"ReverbNation",icon:Nr,description:(0,He.__)("Embed ReverbNation content."),patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i],attributes:{providerNameSlug:"reverbnation",responsive:!0}},{name:"screencast",title:"Screencast",icon:zr,description:(0,He.__)("Embed Screencast content."),patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i],attributes:{providerNameSlug:"screencast",responsive:!0}},{name:"scribd",title:"Scribd",icon:Tr,description:(0,He.__)("Embed Scribd content."),patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i],attributes:{providerNameSlug:"scribd",responsive:!0}},{name:"slideshare",title:"Slideshare",icon:Tr,description:(0,He.__)("Embed Slideshare content."),patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i],attributes:{providerNameSlug:"slideshare",responsive:!0}},{name:"smugmug",title:"SmugMug",icon:Pr,description:(0,He.__)("Embed SmugMug content."),patterns:[/^https?:\/\/(.+\.)?smugmug\.com\/.*/i],attributes:{providerNameSlug:"smugmug",previewable:!1,responsive:!0}},{name:"speaker-deck",title:"Speaker Deck",icon:Tr,description:(0,He.__)("Embed Speaker Deck content."),patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i],attributes:{providerNameSlug:"speaker-deck",responsive:!0}},{name:"tiktok",title:"TikTok",icon:zr,keywords:[(0,He.__)("video")],description:(0,He.__)("Embed a TikTok video."),patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i],attributes:{providerNameSlug:"tiktok",responsive:!0}},{name:"ted",title:"TED",icon:zr,description:(0,He.__)("Embed a TED video."),patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i],attributes:{providerNameSlug:"ted",responsive:!0}},{name:"tumblr",title:"Tumblr",icon:Gr,keywords:[(0,He.__)("social")],description:(0,He.__)("Embed a Tumblr post."),patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i],attributes:{providerNameSlug:"tumblr",responsive:!0}},{name:"videopress",title:"VideoPress",icon:zr,keywords:[(0,He.__)("video")],description:(0,He.__)("Embed a VideoPress video."),patterns:[/^https?:\/\/videopress\.com\/.+/i],attributes:{providerNameSlug:"videopress",responsive:!0}},{name:"wordpress-tv",title:"WordPress.tv",icon:zr,description:(0,He.__)("Embed a WordPress.tv video."),patterns:[/^https?:\/\/wordpress\.tv\/.+/i],attributes:{providerNameSlug:"wordpress-tv",responsive:!0}},{name:"amazon-kindle",title:"Amazon Kindle",icon:Ur,keywords:[(0,He.__)("ebook")],description:(0,He.__)("Embed Amazon Kindle content."),patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i],attributes:{providerNameSlug:"amazon-kindle"}},{name:"pinterest",title:"Pinterest",icon:$r,keywords:[(0,He.__)("social"),(0,He.__)("bookmark")],description:(0,He.__)("Embed Pinterest pins, boards, and profiles."),patterns:[/^https?:\/\/([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?\/.*/i],attributes:{providerNameSlug:"pinterest"}},{name:"wolfram-cloud",title:"Wolfram Cloud",icon:Wr,description:(0,He.__)("Embed Wolfram Cloud notebook content."),patterns:[/^https?:\/\/(www\.)?wolframcloud\.com\/obj\/.+/i],attributes:{providerNameSlug:"wolfram-cloud",responsive:!0}}];ta.forEach((e=>{e.isActive||(e.isActive=(e,t)=>e.providerNameSlug===t.providerNameSlug)}));var na=ta;const{attributes:oa}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"};var ra=[{attributes:oa,save({attributes:{url:e,caption:t,type:n,providerNameSlug:o}}){if(!e)return null;const r=vt()("wp-block-embed",{[`is-type-${n}`]:n,[`is-provider-${o}`]:o});return(0,Le.createElement)("figure",{className:r},`\n${e}\n`,!Fe.RichText.isEmpty(t)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",value:t}))}}];const aa={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"},{name:la}=aa,ia={icon:Tr,edit:e=>{const{attributes:{providerNameSlug:t,previewable:n,responsive:o,url:r},attributes:a,isSelected:l,onReplace:i,setAttributes:s,insertBlocksAfter:c,onFocus:u}=e,m={title:(0,He._x)("Embed","block title"),icon:Tr},{icon:d,title:p}=(g=t,(null===(h=(0,Me.getBlockVariations)(nt))||void 0===h?void 0:h.find((({name:e})=>e===g)))||m);var g,h;const[v,b]=(0,Le.useState)(r),[y,f]=(0,Le.useState)(!1),{invalidateResolution:_}=(0,Ze.useDispatch)(Zt.store),{preview:k,fetching:w,themeSupportsResponsive:E,cannotEmbed:C}=(0,Ze.useSelect)((e=>{var t;const{getEmbedPreview:n,isPreviewEmbedFallback:o,isRequestingEmbedPreview:a,getThemeSupports:l}=e(Zt.store);if(!r)return{fetching:!1,cannotEmbed:!1};const i=n(r),s=o(r),c=!1===(null==i?void 0:i.html)&&void 0===(null==i?void 0:i.type),u=404===(null==i||null===(t=i.data)||void 0===t?void 0:t.status),m=!!i&&!c&&!u;return{preview:m?i:void 0,fetching:a(r),themeSupportsResponsive:l()["responsive-embeds"],cannotEmbed:!m||s}}),[r]),x=()=>{const{allowResponsive:e,className:t}=a;return{...a,...it(k,p,t,o,e)}};(0,Le.useEffect)((()=>{if(null==k||!k.html||!C||w)return;const e=r.replace(/\/$/,"");b(e),f(!1),s({url:e})}),[null==k?void 0:k.html,r]),(0,Le.useEffect)((()=>{if(k&&!y&&(s(x()),i)){const t=rt(e,x());t&&i(t)}}),[k,y]);const S=(0,Fe.useBlockProps)();if(w)return(0,Le.createElement)(Re.View,S,(0,Le.createElement)(jr,null));// translators: %s: type of embed e.g: "YouTube", "Twitter", etc. "Embed" is used when no specific type exists
18
  /* translators: %s: filename. */
19
  (0,He.__)("Embed of %s."),n);return t&&(0,Le.createElement)("div",Fe.useBlockProps.save(),i&&(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:`${s}px`},"aria-label":c})),!Fe.RichText.isEmpty(n)&&(0,Le.createElement)("a",{href:o,target:r,rel:r?"noreferrer noopener":void 0},(0,Le.createElement)(Fe.RichText.Content,{value:n})),a&&(0,Le.createElement)("a",{href:t,className:"wp-block-file__button",download:!0},(0,Le.createElement)(Fe.RichText.Content,{value:l})))}}],ua=window.wp.notices;function ma({hrefs:e,openInNewWindow:t,showDownloadButton:n,changeLinkDestinationOption:o,changeOpenInNewWindow:r,changeShowDownloadButton:a,displayPreview:l,changeDisplayPreview:i,previewHeight:s,changePreviewHeight:c}){const{href:u,textLinkHref:m,attachmentPage:d}=e;let p=[{value:u,label:(0,He.__)("URL")}];return d&&(p=[{value:u,label:(0,He.__)("Media file")},{value:d,label:(0,He.__)("Attachment page")}]),(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Fe.InspectorControls,null,u.endsWith(".pdf")&&(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("PDF settings")},(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Show inline embed"),help:l?(0,He.__)("Note: Most phone and tablet browsers won't display embedded PDFs."):null,checked:!!l,onChange:i}),l&&(0,Le.createElement)(Ae.RangeControl,{label:(0,He.__)("Height in pixels"),min:pa,max:Math.max(ga,s),value:s,onChange:c})),(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Text link settings")},(0,Le.createElement)(Ae.SelectControl,{label:(0,He.__)("Link to"),value:m,options:p,onChange:o}),(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Open in new tab"),checked:t,onChange:r})),(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Download button settings")},(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Show download button"),checked:n,onChange:a}))))}const da=e=>{let t;try{t=new window.ActiveXObject(e)}catch(e){t=void 0}return t},pa=200,ga=2e3;function ha({text:e,disabled:t}){const{createNotice:n}=(0,Ze.useDispatch)(ua.store),o=(0,bt.useCopyToClipboard)(e,(()=>{n("info",(0,He.__)("Copied URL to clipboard."),{isDismissible:!0,type:"snackbar"})}));return(0,Le.createElement)(Ae.ToolbarButton,{className:"components-clipboard-toolbar-button",ref:o,disabled:t},(0,He.__)("Copy URL"))}var va=(0,Ae.withNotices)((function({attributes:e,isSelected:t,setAttributes:n,noticeUI:o,noticeOperations:r,clientId:a}){const{id:l,fileName:i,href:s,textLinkHref:c,textLinkTarget:u,showDownloadButton:m,downloadButtonText:d,displayPreview:p,previewHeight:g}=e,[h,v]=(0,Le.useState)(!1),{media:b,mediaUpload:y}=(0,Ze.useSelect)((e=>({media:void 0===l?void 0:e(Zt.store).getMedia(l),mediaUpload:e(Fe.store).getSettings().mediaUpload})),[l]),{toggleSelection:f}=(0,Ze.useDispatch)(Fe.store);function _(e){if(e&&e.url){v(!1);const t=e.url.endsWith(".pdf");n({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id,displayPreview:!!t||void 0,previewHeight:t?600:void 0})}}function k(e){v(!0),r.removeAllNotices(),r.createErrorNotice(e)}function w(e){n({downloadButtonText:e.replace(/<\/?a[^>]*>/g,"")})}(0,Le.useEffect)((()=>{if((0,je.isBlobURL)(s)){const e=(0,je.getBlobByURL)(s);y({filesList:[e],onFileChange:([e])=>_(e),onError:e=>{v(!0),r.createErrorNotice(e)}}),(0,je.revokeBlobURL)(s)}void 0===d&&w((0,He._x)("Download","button label"))}),[]),(0,Le.useEffect)((()=>{n({fileId:`wp-block-file--media-${a}`})}),[a]);const E=b&&b.link,C=(0,Fe.useBlockProps)({className:vt()((0,je.isBlobURL)(s)&&(0,Ae.__unstableGetAnimateClassName)({type:"loading"}),{"is-transient":(0,je.isBlobURL)(s)})}),x=!(window.navigator.userAgent.indexOf("Mobi")>-1||window.navigator.userAgent.indexOf("Android")>-1||window.navigator.userAgent.indexOf("Macintosh")>-1&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2||(window.ActiveXObject||"ActiveXObject"in window)&&!da("AcroPDF.PDF")&&!da("PDF.PdfCtrl"))&&p;return!s||h?(0,Le.createElement)("div",C,(0,Le.createElement)(Fe.MediaPlaceholder,{icon:(0,Le.createElement)(Fe.BlockIcon,{icon:sa}),labels:{title:(0,He.__)("File"),instructions:(0,He.__)("Upload a file or pick one from your media library.")},onSelect:_,notices:o,onError:k,accept:"*"})):(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(ma,{hrefs:{href:s,textLinkHref:c,attachmentPage:E},openInNewWindow:!!u,showDownloadButton:m,changeLinkDestinationOption:function(e){n({textLinkHref:e})},changeOpenInNewWindow:function(e){n({textLinkTarget:!!e&&"_blank"})},changeShowDownloadButton:function(e){n({showDownloadButton:e})},displayPreview:p,changeDisplayPreview:function(e){n({displayPreview:e})},previewHeight:g,changePreviewHeight:function(e){const t=Math.max(parseInt(e,10),pa);n({previewHeight:t})}}),(0,Le.createElement)(Fe.BlockControls,{group:"other"},(0,Le.createElement)(Fe.MediaReplaceFlow,{mediaId:l,mediaURL:s,accept:"*",onSelect:_,onError:k}),(0,Le.createElement)(ha,{text:s,disabled:(0,je.isBlobURL)(s)})),(0,Le.createElement)("div",C,x&&(0,Le.createElement)(Ae.ResizableBox,{size:{height:g},minHeight:pa,maxHeight:ga,minWidth:"100%",grid:[10,10],enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:()=>f(!1),onResizeStop:function(e,t,o,r){f(!0);const a=parseInt(g+r.height,10);n({previewHeight:a})},showHandle:t},(0,Le.createElement)("object",{className:"wp-block-file__preview",data:s,type:"application/pdf","aria-label":(0,He.__)("Embed of the selected PDF file.")}),!t&&(0,Le.createElement)("div",{className:"wp-block-file__preview-overlay"})),(0,Le.createElement)("div",{className:"wp-block-file__content-wrapper"},(0,Le.createElement)(Fe.RichText,{tagName:"a",value:i,placeholder:(0,He.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:e=>n({fileName:e}),href:c}),m&&(0,Le.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},(0,Le.createElement)(Fe.RichText,{tagName:"div","aria-label":(0,He.__)("Download button text"),className:"wp-block-file__button",value:d,withoutInteractiveFormatting:!0,placeholder:(0,He.__)("Add text…"),onChange:e=>w(e)})))))})),ba=window.wp.url,ya={from:[{type:"files",isMatch:e=>e.length>0,priority:15,transform:e=>{const t=[];return e.forEach((e=>{const n=(0,je.createBlobURL)(e);t.push((0,Me.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))})),t}},{type:"block",blocks:["core/audio"],transform:e=>(0,Me.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/video"],transform:e=>(0,Me.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/image"],transform:e=>(0,Me.createBlock)("core/file",{href:e.url,fileName:e.caption||(0,ba.getFilename)(e.url),textLinkHref:e.url,id:e.id,anchor:e.anchor})}],to:[{type:"block",blocks:["core/audio"],isMatch:({id:e})=>{if(!e)return!1;const{getMedia:t}=(0,Ze.select)(Zt.store),n=t(e);return!!n&&(0,Je.includes)(n.mime_type,"audio")},transform:e=>(0,Me.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/video"],isMatch:({id:e})=>{if(!e)return!1;const{getMedia:t}=(0,Ze.select)(Zt.store),n=t(e);return!!n&&(0,Je.includes)(n.mime_type,"video")},transform:e=>(0,Me.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/image"],isMatch:({id:e})=>{if(!e)return!1;const{getMedia:t}=(0,Ze.select)(Zt.store),n=t(e);return!!n&&(0,Je.includes)(n.mime_type,"image")},transform:e=>(0,Me.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}]};const fa={apiVersion:2,name:"core/file",title:"File",category:"media",description:"Add a link to a downloadable file.",keywords:["document","pdf","download"],textdomain:"default",attributes:{id:{type:"number"},href:{type:"string"},fileId:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"id"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0},viewScript:"file:./view.min.js",editorStyle:"wp-block-file-editor",style:"wp-block-file"},{name:_a}=fa,ka={icon:sa,example:{attributes:{href:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg",fileName:(0,He._x)("Armstrong_Small_Step","Name of the file")}},transforms:ya,deprecated:ca,edit:va,save:function({attributes:e}){const{href:t,fileId:n,fileName:o,textLinkHref:r,textLinkTarget:a,showDownloadButton:l,downloadButtonText:i,displayPreview:s,previewHeight:c}=e,u=Fe.RichText.isEmpty(o)?(0,He.__)("PDF embed"):(0,He.sprintf)(
20
  /* translators: %s: filename. */
21
+ (0,He.__)("Embed of %s."),o);return t&&(0,Le.createElement)("div",Fe.useBlockProps.save(),s&&(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:`${c}px`},"aria-label":u})),!Fe.RichText.isEmpty(o)&&(0,Le.createElement)("a",{id:n,href:r,target:a,rel:a?"noreferrer noopener":void 0},(0,Le.createElement)(Fe.RichText.Content,{value:o})),l&&(0,Le.createElement)("a",{href:t,className:"wp-block-file__button",download:!0,"aria-describedby":n},(0,Le.createElement)(Fe.RichText.Content,{value:i})))}};var wa=(0,Le.createElement)(Re.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Re.Path,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8h-1.5zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zM4.5 4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1V12l-2.3-1.7c-.3-.2-.6-.2-.9 0l-2.9 2.1L8 11.3c-.2-.1-.5-.1-.7 0l-2.9 1.5V4.6zm0 11.8v-1.8l3.2-1.7 2.4 1.2c.2.1.5.1.8-.1l2.8-2 2.8 2v2.5c0 .1-.1.1-.1.1H4.6c0-.1-.1-.2-.1-.2z"}));function Ea(e){return Math.min(3,e.images.length)}var Ca=[{attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},sizeSlug:{type:"string",default:"large"}},supports:{align:!0},isEligible:({linkTo:e})=>!e||"attachment"===e||"media"===e,migrate(e){let t=e.linkTo;return e.linkTo?"attachment"===e.linkTo?t="post":"media"===e.linkTo&&(t="file"):t="none",{...e,linkTo:t}},save({attributes:e}){const{images:t,columns:n=Ea(e),imageCrop:o,caption:r,linkTo:a}=e;return(0,Le.createElement)("figure",{className:`columns-${n} ${o?"is-cropped":""}`},(0,Le.createElement)("ul",{className:"blocks-gallery-grid"},t.map((e=>{let t;switch(a){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=(0,Le.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,Le.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,Le.createElement)("figure",null,t?(0,Le.createElement)("a",{href:t},n):n,!Fe.RichText.isEmpty(e.caption)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!Fe.RichText.isEmpty(r)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:r}))}},{attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",default:[]},columns:{type:"number"},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},isEligible:({ids:e})=>e&&e.some((e=>"string"==typeof e)),migrate:e=>({...e,ids:(0,Je.map)(e.ids,(e=>{const t=parseInt(e,10);return Number.isInteger(t)?t:null}))}),save({attributes:e}){const{images:t,columns:n=Ea(e),imageCrop:o,caption:r,linkTo:a}=e;return(0,Le.createElement)("figure",{className:`columns-${n} ${o?"is-cropped":""}`},(0,Le.createElement)("ul",{className:"blocks-gallery-grid"},t.map((e=>{let t;switch(a){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=(0,Le.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,Le.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,Le.createElement)("figure",null,t?(0,Le.createElement)("a",{href:t},n):n,!Fe.RichText.isEmpty(e.caption)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!Fe.RichText.isEmpty(r)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:r}))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},save({attributes:e}){const{images:t,columns:n=Ea(e),imageCrop:o,linkTo:r}=e;return(0,Le.createElement)("ul",{className:`columns-${n} ${o?"is-cropped":""}`},t.map((e=>{let t;switch(r){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=(0,Le.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,Le.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,Le.createElement)("figure",null,t?(0,Le.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible:({images:e,ids:t})=>e&&e.length>0&&(!t&&e||t&&e&&t.length!==e.length||(0,Je.some)(e,((e,n)=>!e&&null!==t[n]||parseInt(e,10)!==t[n]))),migrate:e=>({...e,ids:(0,Je.map)(e.images,(({id:e})=>e?parseInt(e,10):null))}),supports:{align:!0},save({attributes:e}){const{images:t,columns:n=Ea(e),imageCrop:o,linkTo:r}=e;return(0,Le.createElement)("ul",{className:`columns-${n} ${o?"is-cropped":""}`},t.map((e=>{let t;switch(r){case"media":t=e.url;break;case"attachment":t=e.link}const n=(0,Le.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,Le.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,Le.createElement)("figure",null,t?(0,Le.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},supports:{align:!0},save({attributes:e}){const{images:t,columns:n=Ea(e),align:o,imageCrop:r,linkTo:a}=e,l=vt()(`columns-${n}`,{alignnone:"none"===o,"is-cropped":r});return(0,Le.createElement)("div",{className:l},t.map((e=>{let t;switch(a){case"media":t=e.url;break;case"attachment":t=e.link}const n=(0,Le.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return(0,Le.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?(0,Le.createElement)("a",{href:t},n):n)})))}}],xa=window.wp.viewport;const Sa=(0,Le.createElement)(Fe.BlockIcon,{icon:wa}),Ba=(e,t="large")=>{const n=(0,Je.pick)(e,["alt","id","link","caption"]);n.url=(0,Je.get)(e,["sizes",t,"url"])||(0,Je.get)(e,["media_details","sizes",t,"source_url"])||e.url;const o=(0,Je.get)(e,["sizes","full","url"])||(0,Je.get)(e,["media_details","sizes","full","source_url"]);return o&&(n.fullUrl=o),n},Ta="none",Na="media",Pa="attachment",za=20,Ia="none",Ma="media",La="attachment",Ra="custom",Va=["noreferrer","noopener"],Aa=["image"];function Ha(e,t){switch(t){case Na:return{href:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),linkDestination:Ma};case Pa:return{href:null==e?void 0:e.link,linkDestination:La};case Ta:return{href:void 0,linkDestination:Ia}}return{}}function Fa(e,{rel:t}){const n=e?"_blank":void 0;let o;return o=n||t?function(e){let t=e;return void 0===e||(0,Je.isEmpty)(t)||(0,Je.isEmpty)(t)||((0,Je.each)(Va,(e=>{const n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),(0,Je.isEmpty)(t)&&(t=void 0)),t}(t):void 0,{linkTarget:n,rel:o}}const Da=["core/image"];function Ga({isHidden:e,captionFocused:t,onFocusCaption:n,className:o,value:r,placeholder:a,tagName:l,captionRef:i,...s}){return e?(0,Le.createElement)(Ae.VisuallyHidden,St({as:Fe.RichText},s)):(0,Le.createElement)(Fe.RichText,St({ref:i,value:r,placeholder:a,className:o,tagName:l,isSelected:t,onClick:n},s))}var Ua=e=>{const{attributes:t,isSelected:n,setAttributes:o,mediaPlaceholder:r,insertBlocksAfter:a,blockProps:l}=e,{align:i,columns:s,caption:c,imageCrop:u}=t,{children:m,...d}=(0,Fe.useInnerBlocksProps)(l,{allowedBlocks:Da,orientation:"horizontal",renderAppender:!1,__experimentalLayout:{type:"default",alignments:[]}}),[p,g]=(0,Le.useState)(!1);return(0,Le.useEffect)((()=>{n||g(!1)}),[n]),(0,Le.createElement)("figure",St({},d,{className:vt()(l.className,"blocks-gallery-grid",{[`align${i}`]:i,[`columns-${s}`]:void 0!==s,"columns-default":void 0===s,"is-cropped":u})}),m,(0,Le.createElement)(Re.View,{className:"blocks-gallery-media-placeholder-wrapper",onClick:function(){p&&g(!1)}},r),(0,Le.createElement)(Ga,{isHidden:!n&&Fe.RichText.isEmpty(c),captionFocused:p,onFocusCaption:function(){p||g(!0)},tagName:"figcaption",className:"blocks-gallery-caption","aria-label":(0,He.__)("Gallery caption text"),placeholder:(0,He.__)("Write gallery caption…"),value:c,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>a((0,Me.createBlock)("core/paragraph"))}))};const Oa=(0,Ze.combineReducers)({features(e={},t){if("SET_FEATURE_DEFAULTS"===t.type){const{scope:n,defaults:o}=t;return{...e,[n]:{...e[n],...o}}}return e}}),qa=(0,Ze.combineReducers)({features(e={},t){if("SET_FEATURE_VALUE"===t.type){const{scope:n,featureName:o,value:r}=t;return{...e,[n]:{...e[n],[o]:r}}}return e}}),$a=(0,Ze.combineReducers)({singleEnableItems:function(e={},{type:t,itemType:n,scope:o,item:r}){return"SET_SINGLE_ENABLE_ITEM"===t&&n&&o?{...e,[n]:{...e[n],[o]:r||null}}:e},multipleEnableItems:function(e={},{type:t,itemType:n,scope:o,item:r,isEnable:a}){if("SET_MULTIPLE_ENABLE_ITEM"!==t||!n||!o||!r||(0,Je.get)(e,[n,o,r])===a)return e;const l=e[n]||{},i=l[o]||{};return{...e,[n]:{...l,[o]:{...i,[r]:a||!1}}}}});var Wa=(0,Ze.combineReducers)({enableItems:$a,preferenceDefaults:Oa,preferences:qa});function ja(e,t,n){return{type:"SET_SINGLE_ENABLE_ITEM",itemType:e,scope:t,item:n}}function Za(e,t){return ja("complementaryArea",e,t)}function Qa(e){return ja("complementaryArea",e,void 0)}function Ka(e,t,n,o){return{type:"SET_MULTIPLE_ENABLE_ITEM",itemType:e,scope:t,item:n,isEnable:o}}function Ja(e,t){return Ka("pinnedItems",e,t,!0)}function Ya(e,t){return Ka("pinnedItems",e,t,!1)}function Xa(e,t){return function({select:n,dispatch:o}){const r=n.isFeatureActive(e,t);o.setFeatureValue(e,t,!r)}}function el(e,t,n){return{type:"SET_FEATURE_VALUE",scope:e,featureName:t,value:!!n}}function tl(e,t){return{type:"SET_FEATURE_DEFAULTS",scope:e,defaults:t}}function nl(e,t){return function(e,t,n){return(0,Je.get)(e.enableItems.singleEnableItems,["complementaryArea",n])}(e,0,t)}function ol(e,t,n){return!1!==function(e,t,n,o){return(0,Je.get)(e.enableItems.multipleEnableItems,["pinnedItems",n,o])}(e,0,t,n)}function rl(e,t,n){var o,r;const a=null===(o=e.preferences.features[t])||void 0===o?void 0:o[n];return!!(void 0!==a?a:null===(r=e.preferenceDefaults.features[t])||void 0===r?void 0:r[n])}const al="core/interface",ll=(0,Ze.createReduxStore)(al,{reducer:Wa,actions:E,selectors:C,persist:["enableItems","preferences"],__experimentalUseThunks:!0});(0,Ze.registerStore)(al,{reducer:Wa,actions:E,selectors:C,persist:["enableItems","preferences"],__experimentalUseThunks:!0});const il=[{value:Pa,label:(0,He.__)("Attachment Page")},{value:Na,label:(0,He.__)("Media File")},{value:Ta,label:(0,He._x)("None","Media item link option")}],sl=["image"],cl=Le.Platform.isNative?(0,He.__)("ADD MEDIA"):(0,He.__)("Drag images, upload new ones or select files from your library."),ul=Le.Platform.isNative?{type:"stepper"}:{};var ml=(0,bt.compose)([Ae.withNotices,(0,xa.withViewportMatch)({isNarrow:"< small"})])((function(e){const{setAttributes:t,attributes:n,className:o,clientId:r,noticeOperations:a,isSelected:l,noticeUI:i,insertBlocksAfter:s}=e,{columns:c,imageCrop:u,linkTarget:m,linkTo:d,shortCodeTransforms:p,sizeSlug:g}=n,{__unstableMarkNextChangeAsNotPersistent:h,replaceInnerBlocks:v,updateBlockAttributes:b}=(0,Ze.useDispatch)(Fe.store),{createSuccessNotice:y}=(0,Ze.useDispatch)(ua.store),{getBlock:f,getSettings:_,preferredStyle:k}=(0,Ze.useSelect)((e=>{var t;const n=e(Fe.store).getSettings().__experimentalPreferredStyleVariations;return{getBlock:e(Fe.store).getBlock,getSettings:e(Fe.store).getSettings,preferredStyle:null==n||null===(t=n.value)||void 0===t?void 0:t["core/image"]}}),[]),w=(0,Ze.useSelect)((e=>{var t;return null===(t=e(Fe.store).getBlock(r))||void 0===t?void 0:t.innerBlocks}),[r]),E=(0,Le.useMemo)((()=>null==w?void 0:w.map((e=>({clientId:e.clientId,id:e.attributes.id,url:e.attributes.url,attributes:e.attributes,fromSavedContent:Boolean(e.originalContent)})))),[w]),C=function(e){const[t,n]=(0,Le.useState)([]),o=(0,Ze.useSelect)((n=>{if(null==e||!e.length)return t;const o=e.map((e=>e.attributes.id)).filter((e=>void 0!==e));return 0===o.length?t:n(Zt.store).getMediaItems({include:o.join(","),per_page:-1})}),[e]);return(null==o?void 0:o.length)!==(null==t?void 0:t.length)||null!=o&&o.some((e=>!t.find((t=>t.id===e.id))))?(n(o),o):t}(w),x=function(e,t){const[n,o]=(0,Le.useState)([]);return(0,Le.useMemo)((()=>function(){let r=!1;const a=n.filter((t=>e.find((e=>t.clientId===e.clientId))));a.length<n.length&&(r=!0),e.forEach((e=>{e.fromSavedContent&&!a.find((t=>t.id===e.id))&&(r=!0,a.push(e))}));const l=e.filter((e=>!a.find((t=>e.clientId&&t.clientId===e.clientId))&&(null==t?void 0:t.find((t=>t.id===e.id)))&&!e.fromSavedConent));return(r||(null==l?void 0:l.length)>0)&&o([...a,...l]),l.length>0?l:null}()),[e,t])}(E,C);!function(e){const{createWarningNotice:t}=(0,Ze.useDispatch)(ua.store),{toggleFeature:n}=(0,Ze.useDispatch)(ll);(0,Ze.useSelect)((e=>{const{isFeatureActive:t}=e(ll);return t("core/edit-post","mobileGalleryWarning")}),[])&&e&&(t((0,He.__)("Editing this Gallery in the WordPress mobile app requires version 18.2 or higher."),{type:"snackbar",explicitDismiss:!0}),n("core/edit-post","mobileGalleryWarning"))}(x),(0,Le.useEffect)((()=>{null==x||x.forEach((e=>{b(e.clientId,{...T(e.attributes),id:e.id,align:void 0})}))}),[x]);const S=function(e){const t=(0,Ze.useSelect)((t=>{if(!e||0===e.length)return;const n=t(Zt.store).getMedia;return e.map((e=>{const t=n(e.id);if(t)return{id:t.id,type:"image",url:t.source_url,mime:t.mime_type,alt:t.alt_text,link:t.link}}))}),[e]);if(t)return(0,Je.every)(t,(e=>e&&e.url))?t:void 0}(p);(0,Le.useEffect)((()=>{p&&S&&(P(S),t({shortCodeTransforms:void 0}))}),[p,S]);const B=function(e,t,n){return(0,Le.useMemo)((()=>function(){if(!e||0===e.length)return;const{imageSizes:o}=n();let r={};return t&&(r=e.reduce(((e,t)=>{if(!t.id)return e;const n=o.reduce(((e,n)=>{const o=(0,Je.get)(t,["sizes",n.slug,"url"]),r=(0,Je.get)(t,["media_details","sizes",n.slug,"source_url"]);return{...e,[n.slug]:o||r}}),{});return{...e,[parseInt(t.id,10)]:n}}),{})),o.filter((({slug:e})=>(0,Je.some)(r,(t=>t[e])))).map((({name:e,slug:t})=>({value:t,label:e})))}()),[e,t])}(C,l,_);function T(e){const t=e.id?(0,Je.find)(C,{id:e.id}):null;let o;return o=e.className&&""!==e.className?e.className:k?`is-style-${k}`:void 0,{...Ba(e,g),...Ha(t,d),...Fa(m,n),className:o,sizeSlug:g}}function N(e){var t;return sl.some((t=>{var n;return 0===(null===(n=e.type)||void 0===n?void 0:n.indexOf(t))}))||0===(null===(t=e.url)||void 0===t?void 0:t.indexOf("blob:"))}function P(e){const t="[object FileList]"===Object.prototype.toString.call(e),n=t?Array.from(e).map((e=>e.url?e:Ba({url:(0,je.createBlobURL)(e)}))):e;n.every(N)||(a.removeAllNotices(),a.createErrorNotice((0,He.__)("If uploading to a gallery all files need to be image formats"),{id:"gallery-upload-invalid-file"}));const o=n.filter((e=>e.url||N(e))).map((e=>e.url?e:Ba({url:(0,je.createBlobURL)(e)}))),l=o.reduce(((e,t,n)=>(e[t.id]=n,e)),{}),i=t?w:w.filter((e=>o.find((t=>t.id===e.attributes.id)))),s=o.filter((e=>!i.find((t=>e.id===t.attributes.id)))).map((e=>(0,Me.createBlock)("core/image",{id:e.id,url:e.url,caption:e.caption,alt:e.alt})));v(r,(0,Je.concat)(i,s).sort(((e,t)=>l[e.attributes.id]-l[t.attributes.id])))}(0,Le.useEffect)((()=>{var e,n,o,r,a,l;d||(h(),t({linkTo:(null===(e=window)||void 0===e||null===(n=e.wp)||void 0===n||null===(o=n.media)||void 0===o||null===(r=o.view)||void 0===r||null===(a=r.settings)||void 0===a||null===(l=a.defaultProps)||void 0===l?void 0:l.link)||Ta}))}),[d]);const z=!!E.length,I=z&&E.some((e=>!!e.id)),M=E.some((e=>{var t;return!e.id&&0===(null===(t=e.url)||void 0===t?void 0:t.indexOf("blob:"))})),L=(0,Le.createElement)(Fe.MediaPlaceholder,{addToGallery:I,handleUpload:!1,isAppender:z,disableMediaButtons:z&&!l||M,icon:!z&&Sa,labels:{title:!z&&(0,He.__)("Gallery"),instructions:!z&&cl},onSelect:P,accept:"image/*",allowedTypes:sl,multiple:!0,value:I?E:{},onError:function(e){a.removeAllNotices(),a.createErrorNotice(e)},notices:z?void 0:i}),R=(0,Fe.useBlockProps)({className:vt()(o,"has-nested-images")});if(!z)return(0,Le.createElement)(Re.View,R,L);const V=d&&"none"!==d;return(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Fe.InspectorControls,null,(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Gallery settings")},E.length>1&&(0,Le.createElement)(Ae.RangeControl,St({label:(0,He.__)("Columns"),value:c||(A=E.length,A?Math.min(3,A):3),onChange:function(e){t({columns:e})},min:1,max:Math.min(8,E.length)},ul,{required:!0})),(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Crop images"),checked:!!u,onChange:function(){t({imageCrop:!u})},help:function(e){return e?(0,He.__)("Thumbnails are cropped to align."):(0,He.__)("Thumbnails are not cropped.")}}),(0,Le.createElement)(Ae.SelectControl,{label:(0,He.__)("Link to"),value:d,onChange:function(e){t({linkTo:e});const n={},o=[];f(r).innerBlocks.forEach((t=>{o.push(t.clientId);const r=t.attributes.id?(0,Je.find)(C,{id:t.attributes.id}):null;n[t.clientId]=Ha(r,e)})),b(o,n,!0);const a=[...il].find((t=>t.value===e));y((0,He.sprintf)(
22
  /* translators: %s: image size settings */
23
  (0,He.__)("All gallery image links updated to: %s"),a.label),{id:"gallery-attributes-linkTo",type:"snackbar"})},options:il,hideCancelButton:!0}),V&&(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Open in new tab"),checked:"_blank"===m,onChange:function(e){const n=e?"_blank":void 0;t({linkTarget:n});const o={},a=[];f(r).innerBlocks.forEach((e=>{a.push(e.clientId),o[e.clientId]=Fa(n,e.attributes)})),b(a,o,!0);const l=e?(0,He.__)("All gallery images updated to open in new tab"):(0,He.__)("All gallery images updated to not open in new tab");y(l,{id:"gallery-attributes-openInNewTab",type:"snackbar"})}}),(null==B?void 0:B.length)>0&&(0,Le.createElement)(Ae.SelectControl,{label:(0,He.__)("Image size"),value:g,options:B,onChange:function(e){t({sizeSlug:e});const n={},o=[];f(r).innerBlocks.forEach((t=>{o.push(t.clientId);const r=t.attributes.id?(0,Je.find)(C,{id:t.attributes.id}):null;n[t.clientId]=function(e,t){const n=(0,Je.get)(e,["media_details","sizes",t,"source_url"]);return n?{url:n,width:void 0,height:void 0,sizeSlug:t}:{}}(r,e)})),b(o,n,!0);const a=B.find((t=>t.value===e));y((0,He.sprintf)(
24
  /* translators: %s: image size settings */
25
  (0,He.__)("All gallery image sizes updated to: %s"),a.label),{id:"gallery-attributes-sizeSlug",type:"snackbar"})},hideCancelButton:!0}),Le.Platform.isWeb&&!B&&(0,Le.createElement)(Ae.BaseControl,{className:"gallery-image-sizes"},(0,Le.createElement)(Ae.BaseControl.VisualLabel,null,(0,He.__)("Image size")),(0,Le.createElement)(Re.View,{className:"gallery-image-sizes__loading"},(0,Le.createElement)(Ae.Spinner,null),(0,He.__)("Loading options…"))))),i,(0,Le.createElement)(Ua,St({},e,{images:E,mediaPlaceholder:L,blockProps:R,insertBlocksAfter:s})));var A}));const dl=(e,t="large")=>{const n=(0,Je.pick)(e,["alt","id","link","caption"]);n.url=(0,Je.get)(e,["sizes",t,"url"])||(0,Je.get)(e,["media_details","sizes",t,"source_url"])||e.url;const o=(0,Je.get)(e,["sizes","full","url"])||(0,Je.get)(e,["media_details","sizes","full","source_url"]);return o&&(n.fullUrl=o),n};var pl=(0,Le.createElement)(Re.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Re.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),gl=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})),hl=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})),vl=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));const bl="none",yl="file",fl="post";class _l extends Le.Component{constructor(){super(...arguments),this.onSelectImage=this.onSelectImage.bind(this),this.onRemoveImage=this.onRemoveImage.bind(this),this.bindContainer=this.bindContainer.bind(this),this.onEdit=this.onEdit.bind(this),this.onSelectImageFromLibrary=this.onSelectImageFromLibrary.bind(this),this.onSelectCustomURL=this.onSelectCustomURL.bind(this),this.state={isEditing:!1}}bindContainer(e){this.container=e}onSelectImage(){this.props.isSelected||this.props.onSelect()}onRemoveImage(e){this.container===this.container.ownerDocument.activeElement&&this.props.isSelected&&-1!==[Bt.BACKSPACE,Bt.DELETE].indexOf(e.keyCode)&&(e.preventDefault(),this.props.onRemove())}onEdit(){this.setState({isEditing:!0})}componentDidUpdate(){const{image:e,url:t,__unstableMarkNextChangeAsNotPersistent:n}=this.props;e&&!t&&(n(),this.props.setAttributes({url:e.source_url,alt:e.alt_text}))}deselectOnBlur(){this.props.onDeselect()}onSelectImageFromLibrary(e){const{setAttributes:t,id:n,url:o,alt:r,caption:a,sizeSlug:l}=this.props;if(!e||!e.url)return;let i=dl(e,l);((e,t)=>!e&&(0,je.isBlobURL)(t))(n,o)&&r&&(i=(0,Je.omit)(i,["alt"])),a&&!(0,Je.get)(i,["caption"])&&(i=(0,Je.omit)(i,["caption"])),t(i),this.setState({isEditing:!1})}onSelectCustomURL(e){const{setAttributes:t,url:n}=this.props;e!==n&&(t({url:e,id:void 0}),this.setState({isEditing:!1}))}render(){const{url:e,alt:t,id:n,linkTo:o,link:r,isFirstItem:a,isLastItem:l,isSelected:i,caption:s,onRemove:c,onMoveForward:u,onMoveBackward:m,setAttributes:d,"aria-label":p}=this.props,{isEditing:g}=this.state;let h;switch(o){case yl:h=e;break;case fl:h=r}const v=(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)("img",{src:e,alt:t,"data-id":n,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":p,ref:this.bindContainer}),(0,je.isBlobURL)(e)&&(0,Le.createElement)(Ae.Spinner,null)),b=vt()({"is-selected":i,"is-transient":(0,je.isBlobURL)(e)});return(0,Le.createElement)("figure",{className:b,onClick:this.onSelectImage,onFocus:this.onSelectImage},!g&&(h?(0,Le.createElement)("a",{href:h},v):v),g&&(0,Le.createElement)(Fe.MediaPlaceholder,{labels:{title:(0,He.__)("Edit gallery image")},icon:pl,onSelect:this.onSelectImageFromLibrary,onSelectURL:this.onSelectCustomURL,accept:"image/*",allowedTypes:["image"],value:{id:n,src:e}}),(0,Le.createElement)(Ae.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-left"},(0,Le.createElement)(Ae.Button,{icon:gl,onClick:a?void 0:m,label:(0,He.__)("Move image backward"),"aria-disabled":a,disabled:!i}),(0,Le.createElement)(Ae.Button,{icon:hl,onClick:l?void 0:u,label:(0,He.__)("Move image forward"),"aria-disabled":l,disabled:!i})),(0,Le.createElement)(Ae.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-right"},(0,Le.createElement)(Ae.Button,{icon:ro,onClick:this.onEdit,label:(0,He.__)("Replace image"),disabled:!i}),(0,Le.createElement)(Ae.Button,{icon:vl,onClick:c,label:(0,He.__)("Remove image"),disabled:!i})),!g&&(i||s)&&(0,Le.createElement)(Fe.RichText,{tagName:"figcaption","aria-label":(0,He.__)("Image caption text"),placeholder:i?(0,He.__)("Add caption"):null,value:s,onChange:e=>d({caption:e}),inlineToolbar:!0}))}}var kl=(0,bt.compose)([(0,Ze.withSelect)(((e,t)=>{const{getMedia:n}=e(Zt.store),{id:o}=t;return{image:o?n(parseInt(o,10)):null}})),(0,Ze.withDispatch)((e=>{const{__unstableMarkNextChangeAsNotPersistent:t}=e(Fe.store);return{__unstableMarkNextChangeAsNotPersistent:t}}))])(_l);function wl({isHidden:e,...t}){return e?(0,Le.createElement)(Ae.VisuallyHidden,St({as:Fe.RichText},t)):(0,Le.createElement)(Fe.RichText,t)}var El=e=>{const{attributes:t,isSelected:n,setAttributes:o,selectedImage:r,mediaPlaceholder:a,onMoveBackward:l,onMoveForward:i,onRemoveImage:s,onSelectImage:c,onDeselectImage:u,onSetImageAttributes:m,insertBlocksAfter:d,blockProps:p}=e,{align:g,columns:h=Ea(t),caption:v,imageCrop:b,images:y}=t;return(0,Le.createElement)("figure",St({},p,{className:vt()(p.className,{[`align${g}`]:g,[`columns-${h}`]:h,"is-cropped":b})}),(0,Le.createElement)("ul",{className:"blocks-gallery-grid"},y.map(((e,o)=>{const a=(0,He.sprintf)(
26
  /* translators: 1: the order number of the image. 2: the total number of images. */
27
+ (0,He.__)("image %1$d of %2$d in gallery"),o+1,y.length);return(0,Le.createElement)("li",{className:"blocks-gallery-item",key:e.id?`${e.id}-${o}`:e.url},(0,Le.createElement)(kl,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===o,isLastItem:o+1===y.length,isSelected:n&&r===o,onMoveBackward:l(o),onMoveForward:i(o),onRemove:s(o),onSelect:c(o),onDeselect:u(o),setAttributes:e=>m(o,e),caption:e.caption,"aria-label":a,sizeSlug:t.sizeSlug}))}))),a,(0,Le.createElement)(wl,{isHidden:!n&&Fe.RichText.isEmpty(v),tagName:"figcaption",className:"blocks-gallery-caption","aria-label":(0,He.__)("Gallery caption text"),placeholder:(0,He.__)("Write gallery caption…"),value:v,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>d((0,Me.createBlock)("core/paragraph"))}))};const Cl=({clientId:e,getBlock:t,replaceBlocks:n})=>()=>{let o;const{attributes:{sizeSlug:r,linkTo:a,images:l,caption:i,columns:s}}=t(e);switch(a){case"post":o=Pa;break;case"file":o=Na;break;default:o=Ta}const c=l.map((e=>(0,Me.createBlock)("core/image",{id:parseInt(e.id,10),url:e.url,alt:e.alt,caption:e.caption,linkDestination:o})));n(e,(0,Me.createBlock)("core/gallery",{sizeSlug:r,linkTo:o,caption:i,columns:s},c))};function xl({onClose:e,clientId:t}){const{getBlock:n}=(0,Ze.useSelect)(Fe.store),{replaceBlocks:o}=(0,Ze.useDispatch)(Fe.store);return(0,Le.createElement)(Ae.Modal,{closeLabel:(0,He.__)("Close"),onRequestClose:e,title:(0,He.__)("Update gallery"),className:"wp-block-update-gallery-modal",aria:{describedby:"wp-block-update-gallery-modal__description"}},(0,Le.createElement)("p",{id:"wp-block-update-gallery-modal__description"},(0,He.__)("Updating to the new format adds the ability to use custom links or styles on individual images in the gallery, and makes it easier to add or move them around.")),(0,Le.createElement)("div",{className:"wp-block-update-gallery-modal-buttons"},(0,Le.createElement)(Ae.Button,{isTertiary:!0,onClick:e},(0,He.__)("Cancel")),(0,Le.createElement)(Ae.Button,{isPrimary:!0,onClick:Cl({replaceBlocks:o,getBlock:n,clientId:t,createBlock:Me.createBlock})},(0,He.__)("Update"))))}const Sl=[{value:fl,label:(0,He.__)("Attachment Page")},{value:yl,label:(0,He.__)("Media File")},{value:bl,label:(0,He.__)("None")}],Bl=["image"],Tl=Le.Platform.select({web:(0,He.__)("Drag images, upload new ones or select files from your library."),native:(0,He.__)("ADD MEDIA")}),Nl=Le.Platform.select({web:{},native:{type:"stepper"}});var Pl=(0,bt.compose)([Ae.withNotices,(0,xa.withViewportMatch)({isNarrow:"< small"})])((function(e){const{attributes:t,clientId:n,isSelected:o,noticeUI:r,noticeOperations:a,onFocus:l}=e,{columns:i=Ea(t),imageCrop:s,images:c,linkTo:u,sizeSlug:m}=t,[d,p]=(0,Le.useState)(),[g,h]=(0,Le.useState)(),{__unstableMarkNextChangeAsNotPersistent:v}=(0,Ze.useDispatch)(Fe.store),{imageSizes:b,mediaUpload:y,getMedia:f,wasBlockJustInserted:_,__unstableGalleryWithImageBlocks:k}=(0,Ze.useSelect)((e=>{const t=e(Fe.store).getSettings();return{__unstableGalleryWithImageBlocks:t.__unstableGalleryWithImageBlocks,imageSizes:t.imageSizes,mediaUpload:t.mediaUpload,getMedia:e(Zt.store).getMedia,wasBlockJustInserted:e(Fe.store).wasBlockJustInserted(n,"inserter_menu")}})),w=(0,Le.useMemo)((()=>o?(0,Je.reduce)(t.ids,((e,t)=>{if(!t)return e;const n=f(t),o=(0,Je.reduce)(b,((e,t)=>{const o=(0,Je.get)(n,["sizes",t.slug,"url"]),r=(0,Je.get)(n,["media_details","sizes",t.slug,"source_url"]);return{...e,[t.slug]:o||r}}),{});return{...e,[parseInt(t,10)]:o}}),{}):{}),[o,t.ids,b]);function E(t){if(t.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');t.images&&(t={...t,ids:(0,Je.map)(t.images,(({id:e})=>parseInt(e,10)))}),e.setAttributes(t)}function C(e,t){const n=[...c];n.splice(t,1,c[e]),n.splice(e,1,c[t]),p(t),E({images:n})}function x(e){const t=(0,Je.toString)(e.id),n=(0,Je.find)(c,{id:t}),o=n?n.caption:e.caption;if(!g)return o;const r=(0,Je.find)(g,{id:t});return r&&r.caption!==e.caption?e.caption:o}function S(e){h(e.map((e=>({id:(0,Je.toString)(e.id),caption:e.caption})))),E({images:e.map((e=>({...dl(e,m),caption:x(e),id:(0,Je.toString)(e.id)}))),columns:t.columns?Math.min(e.length,t.columns):t.columns})}(0,Le.useEffect)((()=>{if("web"===Le.Platform.OS&&c&&c.length>0&&(0,Je.every)(c,(({url:e})=>(0,je.isBlobURL)(e)))){const e=(0,Je.map)(c,(({url:e})=>(0,je.getBlobByURL)(e)));(0,Je.forEach)(c,(({url:e})=>(0,je.revokeBlobURL)(e))),y({filesList:e,onFileChange:S,allowedTypes:["image"]})}}),[]),(0,Le.useEffect)((()=>{o||p()}),[o]),(0,Le.useEffect)((()=>{var e,t,n,o,r,a;u||(v(),E({linkTo:(null===(e=window)||void 0===e||null===(t=e.wp)||void 0===t||null===(n=t.media)||void 0===n||null===(o=n.view)||void 0===o||null===(r=o.settings)||void 0===r||null===(a=r.defaultProps)||void 0===a?void 0:a.link)||bl}))}),[u]);const B=!!c.length,T=B&&c.some((e=>!!e.id)),N=(0,Le.createElement)(Fe.MediaPlaceholder,{addToGallery:T,isAppender:B,disableMediaButtons:B&&!o,icon:!B&&Sa,labels:{title:!B&&(0,He.__)("Gallery"),instructions:!B&&Tl},onSelect:S,accept:"image/*",allowedTypes:Bl,multiple:!0,value:T?c:{},onError:function(e){a.removeAllNotices(),a.createErrorNotice(e)},notices:B?void 0:r,onFocus:l,autoOpenMediaUpload:!B&&o&&_}),[P,z]=(0,Le.useState)(!1),I=(0,Fe.useBlockProps)();if(!B)return(0,Le.createElement)(Re.View,I,N);const M=(0,Je.map)((0,Je.filter)(b,(({slug:e})=>(0,Je.some)(w,(t=>t[e])))),(({name:e,slug:t})=>({value:t,label:e}))),L=B&&!(0,Je.isEmpty)(M);return(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Fe.InspectorControls,null,(0,Le.createElement)(Ae.PanelBody,{title:(0,He.__)("Gallery settings")},c.length>1&&(0,Le.createElement)(Ae.RangeControl,St({label:(0,He.__)("Columns"),value:i,onChange:function(e){E({columns:e})},min:1,max:Math.min(8,c.length)},Nl,{required:!0})),(0,Le.createElement)(Ae.ToggleControl,{label:(0,He.__)("Crop images"),checked:!!s,onChange:function(){E({imageCrop:!s})},help:function(e){return e?(0,He.__)("Thumbnails are cropped to align."):(0,He.__)("Thumbnails are not cropped.")}}),(0,Le.createElement)(Ae.SelectControl,{label:(0,He.__)("Link to"),value:u,onChange:function(e){E({linkTo:e})},options:Sl,hideCancelButton:!0}),L&&(0,Le.createElement)(Ae.SelectControl,{label:(0,He.__)("Image size"),value:m,options:M,onChange:function(e){E({images:(0,Je.map)(c,(t=>{if(!t.id)return t;const n=(0,Je.get)(w,[parseInt(t.id,10),e]);return{...t,...n&&{url:n}}})),sizeSlug:e})},hideCancelButton:!0}))),Le.Platform.isWeb&&k&&(0,Le.createElement)(Fe.BlockControls,{group:"other"},(0,Le.createElement)(Ae.ToolbarButton,{onClick:()=>z(!0),title:(0,He.__)("Update"),label:(0,He.__)("Update to the new gallery format")},(0,He.__)("Update"))),Le.Platform.isWeb&&P&&(0,Le.createElement)(xl,{onClose:()=>z(!1),clientId:n}),r,(0,Le.createElement)(El,St({},e,{selectedImage:d,mediaPlaceholder:N,onMoveBackward:function(e){return()=>{0!==e&&C(e,e-1)}},onMoveForward:function(e){return()=>{e!==c.length-1&&C(e,e+1)}},onRemoveImage:function(e){return()=>{const n=(0,Je.filter)(c,((t,n)=>e!==n));p(),E({images:n,columns:t.columns?Math.min(n.length,t.columns):t.columns})}},onSelectImage:function(e){return()=>{p(e)}},onDeselectImage:function(){return()=>{p()}},onSetImageAttributes:function(e,t){c[e]&&E({images:[...c.slice(0,e),{...c[e],...t},...c.slice(e+1)]})},blockProps:I,onFocusGalleryCaption:function(){p()}})))})),zl=window.wp.hooks;const Il=e=>e?e.split(",").map((e=>parseInt(e,10))):[];(0,zl.addFilter)("blocks.switchToBlockType.transformedBlock","core/gallery/update-third-party-transform-to",(function(e){var t;if((0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks&&"core/gallery"===e.name&&(null===(t=e.attributes)||void 0===t?void 0:t.images.length)>0){const t=e.attributes.images.map((({url:t,id:n,alt:o})=>(0,Me.createBlock)("core/image",{url:t,id:n?parseInt(n,10):null,alt:o,sizeSlug:e.attributes.sizeSlug,linkDestination:e.attributes.linkDestination})));delete e.attributes.ids,delete e.attributes.images,e.innerBlocks=t}return e})),(0,zl.addFilter)("blocks.switchToBlockType.transformedBlock","core/gallery/update-third-party-transform-from",(function(e,t){const n=(Array.isArray(t)?t:[t]).find((t=>{var n;return"core/gallery"===t.name&&t.innerBlocks.length>0&&!(null!==(n=t.attributes.images)&&void 0!==n&&n.length)>0&&!e.name.includes("core/")}));if(n){const e=n.innerBlocks.map((({attributes:{url:e,id:t,alt:n}})=>({url:e,id:t?parseInt(t,10):null,alt:n}))),t=e.map((({id:e})=>e));n.attributes.images=e,n.attributes.ids=t}return e}));var Ml={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:e=>{let{align:t,sizeSlug:n}=e[0];t=(0,Je.every)(e,["align",t])?t:void 0,n=(0,Je.every)(e,["sizeSlug",n])?n:void 0;const o=(0,Je.filter)(e,(({url:e})=>e));if((0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks){const e=o.map((e=>(0,Me.createBlock)("core/image",e)));return(0,Me.createBlock)("core/gallery",{align:t,sizeSlug:n},e)}return(0,Me.createBlock)("core/gallery",{images:o.map((({id:e,url:t,alt:n,caption:o})=>({id:(0,Je.toString)(e),url:t,alt:n,caption:o}))),ids:o.map((({id:e})=>parseInt(e,10))),align:t,sizeSlug:n})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:({named:{ids:e}})=>{if(!(0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks)return Il(e).map((e=>({id:(0,Je.toString)(e)})))}},ids:{type:"array",shortcode:({named:{ids:e}})=>{if(!(0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks)return Il(e)}},shortCodeTransforms:{type:"array",shortcode:({named:{ids:e}})=>{if((0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks)return Il(e).map((e=>({id:parseInt(e)})))}},columns:{type:"number",shortcode:({named:{columns:e="3"}})=>parseInt(e,10)},linkTo:{type:"string",shortcode:({named:{link:e}})=>{if(!(0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks)switch(e){case"post":return fl;case"file":return yl;default:return fl}switch(e){case"post":return Pa;case"file":return Na;default:return Ta}}}},isMatch:({named:e})=>void 0!==e.ids},{type:"files",priority:1,isMatch:e=>1!==e.length&&(0,Je.every)(e,(e=>0===e.type.indexOf("image/"))),transform(e){if((0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks){const t=e.map((e=>(0,Me.createBlock)("core/image",{url:(0,je.createBlobURL)(e)})));return(0,Me.createBlock)("core/gallery",{},t)}return(0,Me.createBlock)("core/gallery",{images:e.map((e=>Ba({url:(0,je.createBlobURL)(e)})))})}}],to:[{type:"block",blocks:["core/image"],transform:({align:e,images:t,ids:n,sizeSlug:o},r)=>(0,Ze.select)(Fe.store).getSettings().__unstableGalleryWithImageBlocks?r.length>0?r.map((({attributes:{id:t,url:n,alt:o,caption:r,imageSizeSlug:a}})=>(0,Me.createBlock)("core/image",{id:t,url:n,alt:o,caption:r,sizeSlug:a,align:e}))):(0,Me.createBlock)("core/image",{align:e}):t.length>0?t.map((({url:t,alt:r,caption:a},l)=>(0,Me.createBlock)("core/image",{id:n[l],url:t,alt:r,caption:a,align:e,sizeSlug:o}))):(0,Me.createBlock)("core/image",{align:e})}]};const Ll={apiVersion:2,name:"core/gallery",title:"Gallery",category:"media",description:"Display multiple images in a rich gallery.",keywords:["images","photos"],textdomain:"default",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},shortCodeTransforms:{type:"array",default:[],items:{type:"object"}},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},fixedHeight:{type:"boolean",default:!0},linkTarget:{type:"string"},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"},allowResize:{type:"boolean",default:!1}},providesContext:{allowResize:"allowResize",imageCrop:"imageCrop",fixedHeight:"fixedHeight"},supports:{anchor:!0,align:!0},editorStyle:"wp-block-gallery-editor",style:"wp-block-gallery"},{name:Rl}=Ll,Vl={icon:wa,example:{attributes:{columns:2},innerBlocks:[{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}}]},transforms:Ml,edit:function(e){var t,n;const{attributes:o,clientId:r}=e,a=(0,Ze.useSelect)((e=>{var t;return null===(t=e(Fe.store).getBlock(r))||void 0===t?void 0:t.innerBlocks}),[r]),l=(0,Ze.useSelect)((e=>e(Fe.store).getSettings().__unstableGalleryWithImageBlocks),[]),i=!(null==a||!a.length);return 0<(null==o||null===(t=o.ids)||void 0===t?void 0:t.length)||0<(null==o||null===(n=o.images)||void 0===n?void 0:n.length)||!i&&!l?(0,Le.createElement)(Pl,e):(0,Le.createElement)(ml,e)},save:function({attributes:e}){var t,n;if((null==e||null===(t=e.ids)||void 0===t?void 0:t.length)>0||(null==e||null===(n=e.images)||void 0===n?void 0:n.length)>0)return function({attributes:e}){const{images:t,columns:n=Ea(e),imageCrop:o,caption:r,linkTo:a}=e,l=`columns-${n} ${o?"is-cropped":""}`;return(0,Le.createElement)("figure",Fe.useBlockProps.save({className:l}),(0,Le.createElement)("ul",{className:"blocks-gallery-grid"},t.map((e=>{let t;switch(a){case yl:t=e.fullUrl||e.url;break;case fl:t=e.link}const n=(0,Le.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,Le.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,Le.createElement)("figure",null,t?(0,Le.createElement)("a",{href:t},n):n,!Fe.RichText.isEmpty(e.caption)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!Fe.RichText.isEmpty(r)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:r}))}({attributes:e});const{caption:o,columns:r,imageCrop:a}=e,l=vt()("has-nested-images",{[`columns-${r}`]:void 0!==r,"columns-default":void 0===r,"is-cropped":a}),i=Fe.useBlockProps.save({className:l}),s=Fe.useInnerBlocksProps.save(i);return(0,Le.createElement)("figure",s,s.children,!Fe.RichText.isEmpty(o)&&(0,Le.createElement)(Fe.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:o}))},deprecated:Ca};var Al=(0,Le.createElement)(Re.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Le.createElement)(Re.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"}));const Hl=e=>{if(e.tagName||(e={...e,tagName:"div"}),!e.customTextColor&&!e.customBackgroundColor)return e;const t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),{...(0,Je.omit)(e,["customTextColor","customBackgroundColor"]),style:t}};var Fl=[{attributes:{tagName:{type:"string",default:"div"},templateLock:{type:"string"}},supports:{align:["wide","full"],anchor:!0,color:{gradients:!0,link:!0},spacing:{padding:!0},__experimentalBorder:{radius:!0}},save({attributes:e}){const{tagName:t}=e;return(0,Le.createElement)(t,Fe.useBlockProps.save(),(0,Le.createElement)("div",{className:"wp-block-group__inner-container"},(0,Le.createElement)(Fe.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:Hl,save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,textColor:o,customTextColor:r}=e,a=(0,Fe.getColorClassName)("background-color",t),l=(0,Fe.getColorClassName)("color",o),i=vt()(a,l,{"has-text-color":o||r,"has-background":t||n}),s={backgroundColor:a?void 0:n,color:l?void 0:r};return(0,Le.createElement)("div",{className:i,style:s},(0,Le.createElement)("div",{className:"wp-block-group__inner-container"},(0,Le.createElement)(Fe.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},migrate:Hl,supports:{align:["wide","full"],anchor:!0,html:!1},save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,textColor:o,customTextColor:r}=e,a=(0,Fe.getColorClassName)("background-color",t),l=(0,Fe.getColorClassName)("color",o),i=vt()(a,{"has-text-color":o||r,"has-background":t||n}),s={backgroundColor:a?void 0:n,color:l?void 0:r};return(0,Le.createElement)("div",{className:i,style:s},(0,Le.createElement)("div",{className:"wp-block-group__inner-container"},(0,Le.createElement)(Fe.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:Hl,save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n}=e,o=(0,Fe.getColorClassName)("background-color",t),r=vt()(o,{"has-background":t||n}),a={backgroundColor:o?void 0:n};return(0,Le.createElement)("div",{className:r,style:a},(0,Le.createElement)(Fe.InnerBlocks.Content,null))}}];const Dl={header:(0,He.__)("The <header> element should represent introductory content, typically a group of introductory or navigational aids."),main:(0,He.__)("The <main> element should be used for the primary content of your document only. "),section:(0,He.__)("The <section> element should represent a standalone portion of the document that can't be better represented by another element."),article:(0,He.__)("The <article> element should represent a self contained, syndicatable portion of the document."),aside:(0,He.__)("The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content."),footer:(0,He.__)("The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).")};var Gl=[{name:"group-row",title:(0,He.__)("Row"),description:(0,He.__)("Blocks shown in a row."),attributes:{layout:{type:"flex",allowOrientation:!1}},scope:["inserter"],isActive:e=>{var t;return"flex"===(null===(t=e.layout)||void 0===t?void 0:t.type)}}];const Ul={apiVersion:2,name:"core/group",title:"Group",category:"design",description:"Combine blocks into a group.",keywords:["container","wrapper","row","section"],textdomain:"default",attributes:{tagName:{type:"string",default:"div"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},supports:{align:["wide","full"],anchor:!0,html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},__experimentalLayout:!0},editorStyle:"wp-block-group-editor",style:"wp-block-group"},{name:Ol}=Ul,ql={icon:Al,example:{attributes:{style:{color:{text:"#000000",background:"#ffffff"}}},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:(0,He.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:(0,He.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:(0,He.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:(0,He.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:(0,He.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:(0,He.__)("Six.")}}]},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert(e){if(1===e.length&&"core/group"===e[0].name)return;const t=["wide","full"],n=e.reduce(((e,n)=>{const{align:o}=n.attributes;return t.indexOf(o)>t.indexOf(e)?o:e}),void 0),o=e.map((e=>(0,Me.createBlock)(e.name,e.attributes,e.innerBlocks)));return(0,Me.createBlock)("core/group",{align:n},o)}}]},edit:function({attributes:e,setAttributes:t,clientId:n}){const{hasInnerBlocks:o,themeSupportsLayout:r}=(0,Ze.useSelect)((e=>{var t;const{getBlock:o,getSettings:r}=e(Fe.store),a=o(n);return{hasInnerBlocks:!(!a||!a.innerBlocks.length),themeSupportsLayout:null===(t=r())||void 0===t?void 0:t.supportsLayout}}),[n]),a=(0,Fe.useSetting)("layout")||{},{tagName:l="div",templateLock:i,layout:s={}}=e,c=s&&s.inherit?a:s,{type:u="default"}=c,m=r||"default"!==u,d=(0,Fe.useBlockProps)(),p=(0,Fe.useInnerBlocksProps)(m?d:{className:"wp-block-group__inner-container"},{templateLock:i,renderAppender:o?void 0:Fe.InnerBlocks.ButtonBlockAppender,__experimentalLayout:m?c:void 0});return(0,Le.createElement)(Le.Fragment,null,(0,Le.createElement)(Fe.InspectorControls,{__experimentalGroup:"advanced"},(0,Le.createElement)(Ae.SelectControl,{label:(0,He.__)("HTML element"),options:[{label:(0,He.__)("Default (<div>)"),value:"div"},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"}],value:l,onChange:e=>t({tagName:e}),help:Dl[l]})),m&&(0,Le.createElement)(l,p),!m&&(0,Le.createElement)(l,d,(0,Le.createElement)("div",p)))},save:function({attributes:{tagName:e}}){return(0,Le.createElement)(e,Fe.useInnerBlocksProps.save(Fe.useBlockProps.save()))},deprecated:Fl,variations:Gl};var $l=(0,Le.createElement)(Re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Le.createElement)(Re.Path,{d:"M6.2 5.2v13.4l5.8-4.8 5.8 4.8V5.2z"}));const Wl={className:!1,anchor:!0},jl={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"}},Zl=e=>{if(!e.customTextColor)return e;const t={color:{text:e.customTextColor}};return{...(0,Je.omit)(e,["customTextColor"]),style:t}},Ql=["left","right","center"],Kl=e=>{const{align:t,...n}=e;return Ql.includes(t)?{...n,textAlign:t}:e};var Jl=[{supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},fontSize:!0,lineHeight:!0,__experimentalSelector:{"core/heading/h1":"h1","core/heading/h2":"h2","core/heading/h3":"h3","core/heading/h4":"h4","core/heading/h5":"h5","core/heading/h6":"h6"},__unstablePasteTextInline:!0},attributes:jl,isEligible:({align:e})=>Ql.includes(e),migrate:Kl,save({attributes:e}){const{align:t,content:n,level:o}=e,r="h"+o,a=vt()({[`has-text-align-${t}`]:t});return(0,Le.createElement)(r,Fe.useBlockProps.save({className:a}),(0,Le.createElement)(Fe.RichText.Content,{value:n}))}},{supports:Wl,attributes:{...jl,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>Zl(Kl(e)),save({attributes:e}){const{align:t,content:n,customTextColor:o,level:r,textColor:a}=e,l="h"+r,i=(0,Fe.getColorClassName)("color",a),s=vt()({[i]:i,"has-text-color":a||o,[`has-text-align-${t}`]:t});return(0,Le.createElement)(Fe.RichText.Content,{className:s||void 0,tagName:l,style:{color:i?void 0:o},value:n})}},{attributes:{...jl,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>Zl(Kl(e)),save({attributes:e}){const{align:t,content:n,customTextColor:o,level:r,textColor:a}=e,l="h"+r,i=(0,Fe.getColorClassName)("color",a),s=vt()({[i]:i,[`has-text-align-${t}`]:t});return(0,Le.createElement)(Fe.RichText.Content,{className:s||void 0,tagName:l,style:{color:i?void 0:o},value:n})},supports:Wl},{supports:Wl,attributes:{...jl,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>Zl(Kl(e)),save({attributes:e}){const{align:t,level:n,content:o,textColor:r,customTextColor:a}=e,l="h"+n,i=(0,Fe.getColorClassName)("color",r),s=vt()({[i]:i});return(0,Le.createElement)(Fe.RichText.Content,{className:s||void 0,tagName:l,style:{textAlign:t,color:i?void 0:a},value:o})}}];function Yl({level:e,isPressed:t=!1}){const n={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return n.hasOwnProperty(e)?(0,Le.createElement)(Ae.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:t},(0,Le.createElement)(Ae.Path,{d:n[e]})):null}const Xl=[1,2,3,4,5,6],ei={className:"block-library-heading-level-dropdown"};function ti({selectedLevel:e,onChange:t}){return(0,Le.createElement)(Ae.ToolbarDropdownMenu,{popoverProps:ei,icon:(0,Le.createElement)(Yl,{level:e}),label:(0,He.__)("Change heading level"),controls:Xl.map((n=>{{const o=n===e;return{icon:(0,Le.createElement)(Yl,{level:n,isPressed:o}),label:(0,He.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
28
  (0,He.__)("Heading %d"),n),isActive:o,onClick(){t(n)}}}}))})}const ni={},oi=(e,t)=>{const n=(e=>(0,Je.trim)((0,Je.deburr)((e=>{const t=document.createElement("div");return t.innerHTML=e,t.innerText})(e)).replace(/[^\p{L}\p{N}]+/gu,"-").toLowerCase(),"-"))(t);if(""===n)return null;delete ni[e];let o=n,r=0;for(;Object.values(ni).includes(o);)r+=1,o=n+"-"+r;return o},ri=(e,t)=>{ni[e]=t};const{name:ai}={apiVersion:2,name:"core/heading",title:"Heading",category:"text",description:"Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.",keywords:["title","subtitle"],textdomain:"default",attributes:{textAlign:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:"",__experimentalRole:"content"},level:{type:"number",default:2},placeholder:{type:"string"}},supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}},__experimentalSelector:"h1,h2,h3,h4,h5,h6",__unstablePasteTextInline:!0,__experimentalSlashInserter:!0},editorStyle:"wp-block-heading-editor",style:"wp-block-heading"};var li={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map((({content:e,anchor:t})=>(0,Me.createBlock)(ai,{content:e,anchor:t})))},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:({phrasingContentSchema:e,isPaste:t})=>{const n={children:e,attributes:t?[]:["style","id"]};return{h1:n,h2:n,h3:n,h4:n,h5:n,h6:n}},transform(e){const t=(0,Me.getBlockAttributes)(ai,e.outerHTML),{textAlign:n}=e.style||{};var o;return t.level=(o=e.nodeName,Number(o.substr(1))),"left"!==n&&"center"!==n&&"right"!==n||(t.align=n),(0,Me.createBlock)(ai,t)}},...[1,2,3,4,5,6].map((e=>({type:"prefix",prefix:Array(e+1).join("#"),transform:t=>(0,Me.createBlock)(ai,{level:e,content:t})}))),...[1,2,3,4,5,6].map((e=>({type:"enter",regExp:new RegExp(`^/(h|H)${e}$`),transform:t=>(0,Me.createBlock)(ai,{level:e,content:t})})))],to:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map((({content:e,anchor:t})=>(0,Me.createBlock)("core/paragraph",{content:e,anchor:t})))}]};const ii={apiVersion:2,name:"core/heading",title:"Heading",category:"text",description:"Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.",keywords:["title","subtitle"],textdomain:"default",attributes:{textAlign:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:"",__experimentalRole:"content"},level:{type:"number",default:2},placeholder:{type:"string"}},supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}},__experimentalSelector:"h1,h2,h3,h4,h5,h6",__unstablePasteTextInline:!0,__experimentalSlashInserter:!0},editorStyle:"wp-block-heading-editor",style:"wp-block-heading"},{name:si}=ii,ci={icon:$l,example:{attributes:{content:(0,He.__)("Code is Poetry"),level:2}},__experimentalLabel(e,{context:t}){if("accessibility"===t){const{content:t,level:n}=e;return(0,Je.isEmpty)(t)?(0,He.sprintf)(
29
  /* translators: accessibility text. %s: heading level. */
30
  (0,He.__)("Level %s. Empty."),n):(0,He.sprintf)(
build/block-library/style-rtl.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.wp-block-archives-dropdown label{display:block}.wp-block-audio{margin:0 0 1em}.wp-block-audio figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-audio audio{min-width:300px;width:100%}.wp-block-button__link{background-color:#32373c;border-radius:9999px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-size:1.125em;padding:calc(.667em + 2px) calc(1.333em + 2px);text-align:center;text-decoration:none;word-break:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:#fff}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{flex-basis:100%;width:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.is-style-outline>:where(.wp-block-button__link),:where(.wp-block-button__link).is-style-outline{border:2px solid;padding:.667em 1.333em}.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button__link.is-style-outline:not(.has-text-color){color:currentColor}.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button__link.is-style-outline:not(.has-background){background-color:transparent}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-left:auto;margin-right:auto;width:100%}.wp-block-button.aligncenter,.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{border:1px solid #ddd;padding:.25em}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{border-collapse:collapse;width:100%}.wp-block-calendar table th{background:#ddd;font-weight:400}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-code code{display:block;overflow-wrap:break-word;white-space:pre-wrap}.wp-block-columns{box-sizing:border-box;display:flex;flex-wrap:wrap;margin-bottom:1.75em}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns:where(.has-background){padding:1.25em 2.375em}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}@media (max-width:599px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child){flex-basis:calc(50% - var(--wp--style--block-gap, 2em)/2)!important;flex-grow:0}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2n){margin-right:var(--wp--style--block-gap,2em)}}@media (min-width:782px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child){margin-right:var(--wp--style--block-gap,2em)}}.wp-block-columns.is-not-stacked-on-mobile{flex-wrap:nowrap}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column:not(:first-child){margin-right:var(--wp--style--block-gap,2em)}.wp-block-column{flex-grow:1;min-width:0;overflow-wrap:break-word;word-break:break-word}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-cover,.wp-block-cover-image{align-items:center;background-position:50%;background-size:cover;box-sizing:border-box;display:flex;justify-content:center;min-height:430px;padding:1em;position:relative;width:100%}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image .has-background-dim:not([class*=-background-color]),.wp-block-cover .has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover-image .has-background-dim:before,.wp-block-cover .has-background-dim:before{background-color:inherit;content:""}.wp-block-cover-image .has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover .has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{bottom:0;left:0;opacity:.5;position:absolute;right:0;top:0;z-index:1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{opacity:0}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{opacity:.1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{opacity:.2}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{opacity:.3}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{opacity:.4}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{opacity:.5}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{opacity:.6}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{opacity:.7}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{opacity:.8}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{opacity:.9}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{content:"";display:block;font-size:0;min-height:inherit}@supports (position:sticky){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{color:#fff;width:100%;z-index:1}.wp-block-cover-image.is-light .wp-block-cover__inner-container,.wp-block-cover.is-light .wp-block-cover__inner-container{color:#000}.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover-image img.wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background,.wp-block-cover img.wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background{border:none;bottom:0;box-shadow:none;height:100%;left:0;margin:0;max-height:none;max-width:none;-o-object-fit:cover;object-fit:cover;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;margin-bottom:0;max-width:840px;padding:.44em;text-align:center;z-index:1}.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{max-width:360px;width:100%}.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{min-width:280px}.wp-block-cover .wp-block-embed{min-height:240px;min-width:320px}.wp-block-embed{margin:0 0 1em;overflow-wrap:break-word}.wp-block-embed figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-embed iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-has-aspect-ratio iframe{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.77%}.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__embed{margin-bottom:1em}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:.8em;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;margin:0;padding:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0 0 1em 1em;position:relative;width:calc(50% - 1em)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{align-items:flex-end;display:flex;height:100%;justify-content:flex-start;margin:0}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;height:auto;max-width:100%;width:auto}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;box-sizing:border-box;color:#fff;font-size:.8em;margin:0;max-height:100%;overflow:auto;padding:3em .77em .7em;position:absolute;text-align:center;width:100%;z-index:2}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid figcaption,.wp-block-gallery figcaption{flex-grow:1}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{flex:1;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{margin-left:0;width:100%}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{margin-left:1em;width:calc(33.33333% - .66667em)}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{margin-left:1em;width:calc(25% - .75em)}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{margin-left:1em;width:calc(20% - .8em)}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{margin-left:1em;width:calc(16.66667% - .83333em)}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{margin-left:1em;width:calc(14.28571% - .85714em)}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{margin-left:1em;width:calc(12.5% - .875em)}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:420px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-gallery:not(.is-cropped) .blocks-gallery-item{align-self:flex-start}.wp-block-gallery.has-nested-images{display:flex;flex-wrap:wrap}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){margin:0 0 var(--gallery-block--gutter-size,16px) var(--gallery-block--gutter-size,16px);width:calc(50% - var(--gallery-block--gutter-size, 16px)/2)}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):last-of-type:not(#individual-image),.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):nth-of-type(2n){margin-left:0}.wp-block-gallery.has-nested-images figure.wp-block-image{display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin-bottom:auto;margin-top:auto;position:relative}.wp-block-gallery.has-nested-images figure.wp-block-image>a,.wp-block-gallery.has-nested-images figure.wp-block-image>div{flex-direction:column;flex-grow:1;margin:0}.wp-block-gallery.has-nested-images figure.wp-block-image img{display:block;height:auto;max-width:100%;width:auto}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;box-sizing:border-box;color:#fff;font-size:13px;margin-bottom:0;max-height:60%;overflow:auto;padding:0 8px 8px;position:absolute;right:0;text-align:center;width:100%}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img{display:inline}.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>a,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>div{flex:1 1 auto}.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded figcaption{background:none;color:inherit;flex:initial;margin:0;padding:10px 10px 9px;position:relative}.wp-block-gallery.has-nested-images figcaption{flex-basis:100%;flex-grow:1;text-align:center}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image){margin-bottom:auto;margin-top:0}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) img{margin-bottom:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) figcaption{bottom:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image){align-self:inherit}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>div:not(.components-drop-zone){display:flex}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img{flex:1 0 0%;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image){margin-left:0;width:100%}@media (min-width:600px){.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(33.33333% - var(--gallery-block--gutter-size, 16px)*.66667)}.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(25% - var(--gallery-block--gutter-size, 16px)*.75)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(20% - var(--gallery-block--gutter-size, 16px)*.8)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(16.66667% - var(--gallery-block--gutter-size, 16px)*.83333)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(14.28571% - var(--gallery-block--gutter-size, 16px)*.85714)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(12.5% - var(--gallery-block--gutter-size, 16px)*.875)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image):nth-of-type(1n),.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:not(#individual-image):nth-of-type(2n),.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image):nth-of-type(3n),.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image):nth-of-type(4n),.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image):nth-of-type(5n),.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image):nth-of-type(6n),.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image):nth-of-type(7n),.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image):nth-of-type(8n){margin-left:0}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(33.33% - var(--gallery-block--gutter-size, 16px)*.66667)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):nth-of-type(3n+3){margin-left:0}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image){width:calc(50% - var(--gallery-block--gutter-size, 16px)*.5)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child{width:100%}}.wp-block-gallery.has-nested-images.alignleft,.wp-block-gallery.has-nested-images.alignright{max-width:420px;width:100%}.wp-block-gallery.has-nested-images.aligncenter{justify-content:center}.wp-block-group{box-sizing:border-box}h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}h1.has-background,h2.has-background,h3.has-background,h4.has-background,h5.has-background,h6.has-background{padding:1.25em 2.375em}.wp-block-image{margin:0 0 1em}.wp-block-image img{height:auto;max-width:100%;vertical-align:bottom}.wp-block-image:not(.is-style-rounded)>a,.wp-block-image:not(.is-style-rounded) img{border-radius:inherit}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{height:auto;width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption{caption-side:bottom;display:table-caption}.wp-block-image .alignleft{float:left;margin-bottom:.5em;margin-left:1em;margin-top:.5em}.wp-block-image .alignright{float:right;margin-bottom:.5em;margin-right:1em;margin-top:.5em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{border-radius:0;-webkit-mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-mode:alpha;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}}.wp-block-image figure{margin:0}ol.wp-block-latest-comments{margin-right:0}.wp-block-latest-comments .wp-block-latest-comments{padding-right:0}.wp-block-latest-comments__comment{line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{list-style:none;min-height:2.25em}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:3.25em}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-latest-comments__comment-date{display:block;font-size:.75em}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:1.5em;display:block;float:right;height:2.5em;margin-left:.75em;width:2.5em}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none;padding-right:0}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 0 1.25em 1.25em;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - .625em)}.wp-block-latest-posts.columns-2 li:nth-child(2n){margin-left:0}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - .83333em)}.wp-block-latest-posts.columns-3 li:nth-child(3n){margin-left:0}.wp-block-latest-posts.columns-4 li{width:calc(25% - .9375em)}.wp-block-latest-posts.columns-4 li:nth-child(4n){margin-left:0}.wp-block-latest-posts.columns-5 li{width:calc(20% - 1em)}.wp-block-latest-posts.columns-5 li:nth-child(5n){margin-left:0}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 1.04167em)}.wp-block-latest-posts.columns-6 li:nth-child(6n){margin-left:0}}.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{display:block;font-size:.8125em}.wp-block-latest-posts__post-excerpt{margin-bottom:1em;margin-top:.5em}.wp-block-latest-posts__featured-image a{display:inline-block}.wp-block-latest-posts__featured-image img{height:auto;max-width:100%;width:auto}.wp-block-latest-posts__featured-image.alignleft{margin-right:1em}.wp-block-latest-posts__featured-image.alignright{margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center}.block-editor-image-alignment-control__row .components-base-control__field{align-items:center;display:flex;justify-content:space-between}.block-editor-image-alignment-control__row .components-base-control__field .components-base-control__label{margin-bottom:0}ol,ul{overflow-wrap:break-word}ol.has-background,ul.has-background{padding:1.25em 2.375em}.wp-block-media-text{direction:ltr;display:grid;grid-template-columns:50% 1fr;grid-template-rows:auto}.wp-block-media-text.has-media-on-the-right{grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{align-self:end}.wp-block-media-text .wp-block-media-text__media{grid-column:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{direction:rtl;grid-column:2;grid-row:1;padding:0 8%;word-break:break-word}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media{grid-column:2;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{grid-column:1;grid-row:1}.wp-block-media-text__media img,.wp-block-media-text__media video{height:auto;max-width:unset;vertical-align:middle;width:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media{background-size:cover;height:100%;min-height:250px}.wp-block-media-text.is-image-fill .wp-block-media-text__media>a{display:block;height:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media img{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{grid-column:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{grid-column:1;grid-row:2}}.wp-block-navigation{position:relative}.wp-block-navigation ul{margin-bottom:0;margin-right:0;margin-top:0;padding-right:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none;padding:0}.wp-block-navigation .wp-block-navigation-item{align-items:center;display:flex;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{color:inherit;display:block;padding:0}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-item,.wp-block-navigation[style*=text-decoration] .wp-block-navigation__submenu-container,.wp-block-navigation[style*=text-decoration] a,.wp-block-navigation[style*=text-decoration] a:active,.wp-block-navigation[style*=text-decoration] a:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) a,.wp-block-navigation:not([style*=text-decoration]) a:active,.wp-block-navigation:not([style*=text-decoration]) a:focus{text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;background-color:inherit;border:none;color:currentColor;height:inherit;line-height:0;margin-right:6px;padding:0}.wp-block-navigation .wp-block-navigation__submenu-icon svg{stroke:currentColor;display:inline-block}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container){align-items:normal;background-color:inherit;color:inherit;display:flex;flex-direction:column;height:0;opacity:0;overflow:hidden;position:absolute;right:-1px;top:100%;transition:opacity .1s linear;visibility:hidden;width:0;z-index:2}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-left:0;margin-right:auto}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{margin:0}@media (min-width:782px){.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container{right:100%;top:-1px}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container:before{background:transparent;content:"";display:block;height:100%;left:100%;position:absolute;width:.5em}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-icon svg{transform:rotate(90deg)}}.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation .has-child:where(:not(.open-on-click):not(.open-on-hover-click)):focus-within>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]+.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{right:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:100%;top:0}}.wp-block-navigation,.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-container-content{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation:where(.has-background),.wp-block-navigation:where(.has-background) .wp-block-navigation .wp-block-page-list,.wp-block-navigation:where(.has-background) .wp-block-navigation__container{gap:var(--wp--style--block-gap,.5em)}.wp-block-navigation:where(.has-background) .wp-block-navigation-item__content{padding:.5em 1em}.wp-block-navigation :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{padding:.5em 1em}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{left:0;right:auto}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;right:auto}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;border:1px solid rgba(0,0,0,.15);color:#000}.wp-block-navigation__container{align-items:var(--layout-align,initial);display:flex;flex-direction:var(--layout-direction,initial);flex-wrap:var(--layout-wrap,wrap);justify-content:var(--layout-justify,initial);list-style:none;margin:0;padding-right:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__responsive-container{bottom:0;display:none;left:0;position:fixed;right:0;top:0}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{align-items:var(--layout-align,initial);display:flex;flex-direction:var(--layout-direction,initial);flex-wrap:var(--layout-wrap,wrap);justify-content:var(--layout-justify,initial)}.wp-block-navigation__responsive-container.is-menu-open{background-color:inherit;display:flex;flex-direction:column;overflow:auto;padding:72px 24px 24px;z-index:100000}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:var(--layout-justification-setting,inherit);display:flex;flex-direction:column;justify-content:flex-start;overflow:auto;padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{border:none;height:auto;min-width:200px;opacity:1;overflow:initial;padding-left:32px;padding-right:32px;position:static;visibility:visible;width:auto}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{align-items:var(--layout-justification-setting,initial);display:flex;flex-direction:column}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container{background:transparent!important;color:inherit!important}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:auto;right:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){background-color:inherit;display:block;position:relative;width:100%;z-index:2}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{right:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{background-color:#fff;color:#000}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{background:transparent;border:none;color:currentColor;cursor:pointer;margin:0;padding:0;vertical-align:middle}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;display:block;height:24px;pointer-events:none;width:24px}.wp-block-navigation__responsive-container-open{display:flex}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{left:24px;position:absolute;top:24px;z-index:2}.wp-block-navigation__responsive-close{width:100%}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{height:100%;width:100%}html.has-modal-open{overflow:hidden}.wp-block-navigation .wp-block-navigation-item__label{overflow-wrap:break-word;word-break:normal}.wp-block-navigation-submenu{display:flex;position:relative}.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg{stroke:currentColor}button.wp-block-navigation-item__content{background-color:transparent;border:none;color:currentColor;font-family:inherit;font-size:inherit;line-height:inherit;text-align:right}.wp-block-navigation-submenu__toggle{cursor:pointer}.wp-block-navigation .wp-block-home-link__content{color:inherit;display:block}.wp-block-navigation[style*=text-decoration] .wp-block-home-link,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:active,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:active,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:focus{text-decoration:none}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container{background-color:#fff;border:1px solid rgba(0,0,0,.15);color:#000}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container .wp-block-home-link__container{top:-1px}.wp-block-navigation .wp-block-page-list{align-items:var(--layout-align,initial);background-color:inherit;display:flex;flex-direction:var(--layout-direction,initial);flex-wrap:var(--layout-wrap,wrap);justify-content:var(--layout-justify,initial)}.wp-block-navigation .wp-block-navigation-item{background-color:inherit}.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em 0 0 .1em;text-transform:uppercase}p{overflow-wrap:break-word}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author__byline{font-size:.5em;margin-bottom:0;margin-top:0;width:100%}.wp-block-post-author__avatar{margin-left:1em}.wp-block-post-author__bio{font-size:.7em;margin-bottom:.7em}.wp-block-post-author__content{flex-basis:0;flex-grow:1}.wp-block-post-author__name{margin:0}.wp-block-post-comments>h3:first-of-type{margin-top:0}.wp-block-post-comments .commentlist{list-style:none;margin:0;padding:0}.wp-block-post-comments .commentlist .comment{min-height:2.25em;padding-right:3.25em}.wp-block-post-comments .commentlist .comment p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-post-comments .commentlist .children{list-style:none;margin:0;padding:0}.wp-block-post-comments .comment-author{line-height:1.5;margin-right:-3.25em}.wp-block-post-comments .comment-author .avatar{border-radius:1.5em;display:block;float:right;height:2.5em;margin-left:.75em;width:2.5em}.wp-block-post-comments .comment-author cite{font-style:normal}.wp-block-post-comments .comment-meta{line-height:1.5;margin-right:-3.25em}.wp-block-post-comments .comment-body .commentmetadata{font-size:.75em}.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments .comment-form-comment textarea{box-sizing:border-box;width:100%}.wp-block-post-comments .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-comments .reply{font-size:.75em;margin-bottom:1.4em}.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{padding:calc(.667em + 2px)}.wp-block-post-comments input[type=submit]{border:none}.wp-block-post-comments-form input[type=submit]{border:none;box-shadow:none;cursor:pointer;display:inline-block;overflow-wrap:break-word;text-align:center}.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{padding:calc(.667em + 2px)}.wp-block-post-comments-form .comment-form-comment textarea{box-sizing:border-box;display:block;width:100%}.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-comment label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments-form .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-excerpt__more-link{display:inline-block}.wp-block-post-terms__separator{white-space:pre-wrap}.wp-block-post-title a{display:inline-block}.wp-block-preformatted{white-space:pre-wrap}.wp-block-preformatted.has-background{padding:1.25em 2.375em}.wp-block-pullquote{margin:0 0 1em;overflow-wrap:break-word;padding:3em 0;text-align:center}.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{color:inherit}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright,.wp-block-pullquote.has-text-align-left,.wp-block-pullquote.has-text-align-right{max-width:420px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p,.wp-block-pullquote.has-text-align-left p,.wp-block-pullquote.has-text-align-right p{font-size:1.25em}.wp-block-pullquote p{font-size:1.75em;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote.has-text-align-left blockquote{text-align:right}.wp-block-pullquote.has-text-align-right blockquote{text-align:left}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:2em;margin-bottom:0;margin-top:0}.wp-block-pullquote.is-style-solid-color blockquote cite{font-style:normal;text-transform:none}.wp-block-pullquote cite{color:inherit}.wp-block-post-template,.wp-block-query-loop{list-style:none;margin-bottom:0;margin-top:0;max-width:100%;padding:0}.wp-block-post-template li,.wp-block-query-loop li{clear:both}.wp-block-post-template.is-flex-container,.wp-block-query-loop.is-flex-container{display:flex;flex-direction:row;flex-wrap:wrap}.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin:0 0 1.25em;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin-left:1.25em}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li:nth-child(2n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li:nth-child(2n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li:nth-child(3n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li:nth-child(3n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li:nth-child(4n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li:nth-child(4n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li:nth-child(5n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li:nth-child(5n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li:nth-child(6n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li:nth-child(6n){margin-left:0}}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin-bottom:.5em;margin-right:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow{display:inline-block;margin-left:1ch}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron){transform:scaleX(-1)}.wp-block-query-pagination .wp-block-query-pagination-next-arrow{display:inline-block;margin-right:1ch}.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron){transform:scaleX(-1)}.wp-block-query-pagination.aligncenter{justify-content:center}.wp-block-quote{overflow-wrap:break-word}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:1.125em;text-align:left}ul.wp-block-rss{list-style:none;padding:0}ul.wp-block-rss.wp-block-rss{box-sizing:border-box}ul.wp-block-rss.alignleft{margin-right:2em}ul.wp-block-rss.alignright{margin-left:2em}ul.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;list-style:none;padding:0}ul.wp-block-rss.is-grid li{margin:0 0 1em 1em;width:100%}@media (min-width:600px){ul.wp-block-rss.columns-2 li{width:calc(50% - 1em)}ul.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}ul.wp-block-rss.columns-4 li{width:calc(25% - 1em)}ul.wp-block-rss.columns-5 li{width:calc(20% - 1em)}ul.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;font-size:.8125em}.wp-block-search__button{background:#f7f7f7;border:1px solid #ccc;color:#32373c;font-family:inherit;font-size:inherit;line-height:inherit;margin-right:.625em;padding:.375em .625em;word-break:normal}.wp-block-search__button.has-icon{line-height:0}.wp-block-search__button svg{fill:currentColor;min-height:1.5em;min-width:1.5em}.wp-block-search__inside-wrapper{display:flex;flex:auto;flex-wrap:nowrap;max-width:100%}.wp-block-search__label{width:100%}.wp-block-search__input{border:1px solid #949494;flex-grow:1;font-family:inherit;font-size:inherit;line-height:inherit;min-width:3em;padding:8px}.wp-block-search.wp-block-search__button-only .wp-block-search__button{margin-right:0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{border:1px solid #949494;padding:4px}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input{border:none;border-radius:0;padding:0 .25em 0 0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input:focus{outline:none}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button{padding:.125em .5em}.wp-block-search.aligncenter .wp-block-search__inside-wrapper{margin:auto}.wp-block-separator{border-bottom:1px solid;border-top:1px solid}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;height:auto;line-height:1;text-align:center}.wp-block-separator.is-style-dots:before{color:currentColor;content:"···";font-family:serif;font-size:1.5em;letter-spacing:2em;padding-left:2em}.wp-block-site-logo{line-height:0}.wp-block-site-logo a{display:inline-block}.wp-block-site-logo.is-default-size img{height:auto;width:120px}.wp-block-site-logo a,.wp-block-site-logo img{border-radius:inherit}.wp-block-site-logo.aligncenter{display:table}.wp-block-site-logo.is-style-rounded{border-radius:9999px}.wp-block-social-links{margin-right:0;padding-left:0;padding-right:0;text-indent:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{border-bottom:0;box-shadow:none;text-decoration:none}.wp-block-social-links .wp-social-link a{padding:.25em}.wp-block-social-links .wp-social-link svg{height:1em;width:1em}.wp-block-social-links.has-small-icon-size{font-size:16px}.wp-block-social-links,.wp-block-social-links.has-normal-icon-size{font-size:24px}.wp-block-social-links.has-large-icon-size{font-size:36px}.wp-block-social-links.has-huge-icon-size{font-size:48px}.wp-block-social-links.aligncenter{display:flex;justify-content:center}.wp-block-social-links.alignright{justify-content:flex-end}.wp-block-social-link{border-radius:9999px;display:block;height:auto;transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.wp-block-social-link{transition-delay:0s;transition-duration:0s}}.wp-block-social-link a{display:block;line-height:0;transition:transform .1s ease}.wp-block-social-link:hover{transform:scale(1.1)}.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg{fill:currentColor;color:currentColor}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1778f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0d66c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{background-color:#ff424d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{stroke:#000;background-color:#fefc00;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{background-color:#2aabee;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#1da1f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:red;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none}.wp-block-social-links.is-style-logos-only .wp-social-link a{padding:0}.wp-block-social-links.is-style-logos-only .wp-social-link svg{height:1.25em;width:1.25em}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1778f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0d66c2}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{color:#ff424d}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{stroke:#000;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{color:#2aabee}.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#1da1f2}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{color:#d32422}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:red}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-left:.66667em;padding-right:.66667em}.wp-block-spacer{clear:both}.wp-block-tag-cloud.aligncenter{text-align:center}.wp-block-tag-cloud.alignfull{padding-left:1em;padding-right:1em}.wp-block-tag-cloud a{display:inline-block;margin-left:5px}.wp-block-tag-cloud span{display:inline-block;margin-right:5px;text-decoration:none}.wp-block-table{margin:0 0 1em;overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{background-color:transparent;border-bottom:1px solid #f0f0f0;border-collapse:inherit;border-spacing:0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color>*,.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr{border-color:inherit}.wp-block-table table[style*=border-style]>*,.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr{border-style:inherit}.wp-block-table table[style*=border-width]>*,.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr{border-width:inherit}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 1em;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{font-family:inherit;overflow:auto;white-space:pre-wrap}.wp-block-video{margin:0 0 1em}.wp-block-video video{width:100%}@supports (position:sticky){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-post-featured-image{margin-left:0;margin-right:0}.wp-block-post-featured-image a{display:inline-block}.wp-block-post-featured-image img{height:auto;max-width:100%;vertical-align:bottom;width:100%}.wp-block-post-featured-image.alignfull img,.wp-block-post-featured-image.alignwide img{width:100%}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.screen-reader-text:focus{clip:auto!important;background-color:#ddd;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;line-height:normal;padding:15px 23px 14px;right:5px;text-decoration:none;top:5px;width:auto;z-index:100000}
1
+ @charset "UTF-8";.wp-block-archives-dropdown label{display:block}.wp-block-audio{margin:0 0 1em}.wp-block-audio figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-audio audio{min-width:300px;width:100%}.wp-block-button__link{background-color:#32373c;border-radius:9999px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-size:1.125em;padding:calc(.667em + 2px) calc(1.333em + 2px);text-align:center;text-decoration:none;word-break:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:#fff}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{flex-basis:100%;width:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.is-style-outline>:where(.wp-block-button__link),:where(.wp-block-button__link).is-style-outline{border:2px solid;padding:.667em 1.333em}.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button__link.is-style-outline:not(.has-text-color){color:currentColor}.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button__link.is-style-outline:not(.has-background){background-color:transparent}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-left:auto;margin-right:auto;width:100%}.wp-block-button.aligncenter,.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{border:1px solid #ddd;padding:.25em}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{border-collapse:collapse;width:100%}.wp-block-calendar table th{background:#ddd;font-weight:400}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-code code{display:block;overflow-wrap:break-word;white-space:pre-wrap}.wp-block-columns{box-sizing:border-box;display:flex;flex-wrap:wrap;margin-bottom:1.75em}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns:where(.has-background){padding:1.25em 2.375em}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}@media (max-width:599px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child){flex-basis:calc(50% - var(--wp--style--block-gap, 2em)/2)!important;flex-grow:0}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2n){margin-right:var(--wp--style--block-gap,2em)}}@media (min-width:782px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child){margin-right:var(--wp--style--block-gap,2em)}}.wp-block-columns.is-not-stacked-on-mobile{flex-wrap:nowrap}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column:not(:first-child){margin-right:var(--wp--style--block-gap,2em)}.wp-block-column{flex-grow:1;min-width:0;overflow-wrap:break-word;word-break:break-word}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-cover,.wp-block-cover-image{align-items:center;background-position:50%;background-size:cover;box-sizing:border-box;display:flex;justify-content:center;min-height:430px;padding:1em;position:relative;width:100%}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover-image .has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]),.wp-block-cover .has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover-image.has-background-dim:before,.wp-block-cover-image .has-background-dim:before,.wp-block-cover.has-background-dim:before,.wp-block-cover .has-background-dim:before{background-color:inherit;content:""}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{bottom:0;left:0;opacity:.5;position:absolute;right:0;top:0;z-index:1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{opacity:0}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{opacity:.1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{opacity:.2}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{opacity:.3}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{opacity:.4}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{opacity:.5}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{opacity:.6}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{opacity:.7}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{opacity:.8}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{opacity:.9}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{content:"";display:block;font-size:0;min-height:inherit}@supports (position:sticky){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{color:#fff;width:100%;z-index:1}.wp-block-cover-image.is-light .wp-block-cover__inner-container,.wp-block-cover.is-light .wp-block-cover__inner-container{color:#000}.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover-image img.wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background,.wp-block-cover img.wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background{border:none;bottom:0;box-shadow:none;height:100%;left:0;margin:0;max-height:none;max-width:none;-o-object-fit:cover;object-fit:cover;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;margin-bottom:0;max-width:840px;padding:.44em;text-align:center;z-index:1}.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{max-width:360px;width:100%}.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{min-width:280px}.wp-block-cover .wp-block-embed{min-height:240px;min-width:320px}.wp-block-embed{margin:0 0 1em;overflow-wrap:break-word}.wp-block-embed figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-embed iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-has-aspect-ratio iframe{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.77%}.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__embed{margin-bottom:1em}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:.8em;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;margin:0;padding:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0 0 1em 1em;position:relative;width:calc(50% - 1em)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{align-items:flex-end;display:flex;height:100%;justify-content:flex-start;margin:0}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;height:auto;max-width:100%;width:auto}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;box-sizing:border-box;color:#fff;font-size:.8em;margin:0;max-height:100%;overflow:auto;padding:3em .77em .7em;position:absolute;text-align:center;width:100%;z-index:2}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid figcaption,.wp-block-gallery figcaption{flex-grow:1}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{flex:1;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{margin-left:0;width:100%}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{margin-left:1em;width:calc(33.33333% - .66667em)}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{margin-left:1em;width:calc(25% - .75em)}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{margin-left:1em;width:calc(20% - .8em)}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{margin-left:1em;width:calc(16.66667% - .83333em)}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{margin-left:1em;width:calc(14.28571% - .85714em)}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{margin-left:1em;width:calc(12.5% - .875em)}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:420px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-gallery:not(.is-cropped) .blocks-gallery-item{align-self:flex-start}.wp-block-gallery.has-nested-images{display:flex;flex-wrap:wrap}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){margin:0 0 var(--gallery-block--gutter-size,16px) var(--gallery-block--gutter-size,16px);width:calc(50% - var(--gallery-block--gutter-size, 16px)/2)}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):last-of-type:not(#individual-image),.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):nth-of-type(2n){margin-left:0}.wp-block-gallery.has-nested-images figure.wp-block-image{display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin-bottom:auto;margin-top:auto;position:relative}.wp-block-gallery.has-nested-images figure.wp-block-image>a,.wp-block-gallery.has-nested-images figure.wp-block-image>div{flex-direction:column;flex-grow:1;margin:0}.wp-block-gallery.has-nested-images figure.wp-block-image img{display:block;height:auto;max-width:100%;width:auto}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;box-sizing:border-box;color:#fff;font-size:13px;margin-bottom:0;max-height:60%;overflow:auto;padding:0 8px 8px;position:absolute;right:0;text-align:center;width:100%}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img{display:inline}.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>a,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>div{flex:1 1 auto}.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded figcaption{background:none;color:inherit;flex:initial;margin:0;padding:10px 10px 9px;position:relative}.wp-block-gallery.has-nested-images figcaption{flex-basis:100%;flex-grow:1;text-align:center}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image){margin-bottom:auto;margin-top:0}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) img{margin-bottom:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) figcaption{bottom:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image){align-self:inherit}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>div:not(.components-drop-zone){display:flex}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img{flex:1 0 0%;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image){margin-left:0;width:100%}@media (min-width:600px){.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(33.33333% - var(--gallery-block--gutter-size, 16px)*.66667)}.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(25% - var(--gallery-block--gutter-size, 16px)*.75)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(20% - var(--gallery-block--gutter-size, 16px)*.8)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(16.66667% - var(--gallery-block--gutter-size, 16px)*.83333)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(14.28571% - var(--gallery-block--gutter-size, 16px)*.85714)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(12.5% - var(--gallery-block--gutter-size, 16px)*.875)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image):nth-of-type(1n),.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:not(#individual-image):nth-of-type(2n),.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image):nth-of-type(3n),.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image):nth-of-type(4n),.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image):nth-of-type(5n),.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image):nth-of-type(6n),.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image):nth-of-type(7n),.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image):nth-of-type(8n){margin-left:0}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){margin-left:var(--gallery-block--gutter-size,16px);width:calc(33.33% - var(--gallery-block--gutter-size, 16px)*.66667)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):nth-of-type(3n+3){margin-left:0}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image){width:calc(50% - var(--gallery-block--gutter-size, 16px)*.5)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child{width:100%}}.wp-block-gallery.has-nested-images.alignleft,.wp-block-gallery.has-nested-images.alignright{max-width:420px;width:100%}.wp-block-gallery.has-nested-images.aligncenter{justify-content:center}.wp-block-group{box-sizing:border-box}h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}h1.has-background,h2.has-background,h3.has-background,h4.has-background,h5.has-background,h6.has-background{padding:1.25em 2.375em}.wp-block-image{margin:0 0 1em}.wp-block-image img{height:auto;max-width:100%;vertical-align:bottom}.wp-block-image:not(.is-style-rounded)>a,.wp-block-image:not(.is-style-rounded) img{border-radius:inherit}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{height:auto;width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption{caption-side:bottom;display:table-caption}.wp-block-image .alignleft{float:left;margin-bottom:.5em;margin-left:1em;margin-top:.5em}.wp-block-image .alignright{float:right;margin-bottom:.5em;margin-right:1em;margin-top:.5em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{border-radius:0;-webkit-mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-mode:alpha;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}}.wp-block-image figure{margin:0}ol.wp-block-latest-comments{margin-right:0}.wp-block-latest-comments .wp-block-latest-comments{padding-right:0}.wp-block-latest-comments__comment{line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{list-style:none;min-height:2.25em}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:3.25em}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-latest-comments__comment-date{display:block;font-size:.75em}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:1.5em;display:block;float:right;height:2.5em;margin-left:.75em;width:2.5em}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none;padding-right:0}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 0 1.25em 1.25em;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - .625em)}.wp-block-latest-posts.columns-2 li:nth-child(2n){margin-left:0}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - .83333em)}.wp-block-latest-posts.columns-3 li:nth-child(3n){margin-left:0}.wp-block-latest-posts.columns-4 li{width:calc(25% - .9375em)}.wp-block-latest-posts.columns-4 li:nth-child(4n){margin-left:0}.wp-block-latest-posts.columns-5 li{width:calc(20% - 1em)}.wp-block-latest-posts.columns-5 li:nth-child(5n){margin-left:0}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 1.04167em)}.wp-block-latest-posts.columns-6 li:nth-child(6n){margin-left:0}}.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{display:block;font-size:.8125em}.wp-block-latest-posts__post-excerpt{margin-bottom:1em;margin-top:.5em}.wp-block-latest-posts__featured-image a{display:inline-block}.wp-block-latest-posts__featured-image img{height:auto;max-width:100%;width:auto}.wp-block-latest-posts__featured-image.alignleft{margin-right:1em}.wp-block-latest-posts__featured-image.alignright{margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center}.block-editor-image-alignment-control__row .components-base-control__field{align-items:center;display:flex;justify-content:space-between}.block-editor-image-alignment-control__row .components-base-control__field .components-base-control__label{margin-bottom:0}ol,ul{overflow-wrap:break-word}ol.has-background,ul.has-background{padding:1.25em 2.375em}.wp-block-media-text{direction:ltr;display:grid;grid-template-columns:50% 1fr;grid-template-rows:auto}.wp-block-media-text.has-media-on-the-right{grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{align-self:end}.wp-block-media-text .wp-block-media-text__media{grid-column:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{direction:rtl;grid-column:2;grid-row:1;padding:0 8%;word-break:break-word}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media{grid-column:2;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{grid-column:1;grid-row:1}.wp-block-media-text__media img,.wp-block-media-text__media video{height:auto;max-width:unset;vertical-align:middle;width:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media{background-size:cover;height:100%;min-height:250px}.wp-block-media-text.is-image-fill .wp-block-media-text__media>a{display:block;height:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media img{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{grid-column:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{grid-column:1;grid-row:2}}.wp-block-navigation{position:relative}.wp-block-navigation ul{margin-bottom:0;margin-right:0;margin-top:0;padding-right:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none;padding:0}.wp-block-navigation .wp-block-navigation-item{align-items:center;display:flex;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{color:inherit;display:block;padding:0}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-item,.wp-block-navigation[style*=text-decoration] .wp-block-navigation__submenu-container,.wp-block-navigation[style*=text-decoration] a,.wp-block-navigation[style*=text-decoration] a:active,.wp-block-navigation[style*=text-decoration] a:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) a,.wp-block-navigation:not([style*=text-decoration]) a:active,.wp-block-navigation:not([style*=text-decoration]) a:focus{text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;background-color:inherit;border:none;color:currentColor;height:inherit;line-height:0;margin-right:6px;padding:0}.wp-block-navigation .wp-block-navigation__submenu-icon svg{stroke:currentColor;display:inline-block}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container){align-items:normal;background-color:inherit;color:inherit;display:flex;flex-direction:column;height:0;opacity:0;overflow:hidden;position:absolute;right:-1px;top:100%;transition:opacity .1s linear;visibility:hidden;width:0;z-index:2}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-left:0;margin-right:auto}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{margin:0}@media (min-width:782px){.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container{right:100%;top:-1px}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container:before{background:transparent;content:"";display:block;height:100%;left:100%;position:absolute;width:.5em}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-icon svg{transform:rotate(90deg)}}.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation .has-child:where(:not(.open-on-click):not(.open-on-hover-click)):focus-within>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]+.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{right:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{right:100%;top:0}}.wp-block-navigation,.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-container-content{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation:where(.has-background),.wp-block-navigation:where(.has-background) .wp-block-navigation .wp-block-page-list,.wp-block-navigation:where(.has-background) .wp-block-navigation__container{gap:var(--wp--style--block-gap,.5em)}.wp-block-navigation:where(.has-background) .wp-block-navigation-item__content{padding:.5em 1em}.wp-block-navigation :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{padding:.5em 1em}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{left:0;right:auto}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;right:auto}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;border:1px solid rgba(0,0,0,.15);color:#000}.wp-block-navigation__container{align-items:var(--layout-align,initial);display:flex;flex-direction:var(--layout-direction,initial);flex-wrap:var(--layout-wrap,wrap);justify-content:var(--layout-justify,initial);list-style:none;margin:0;padding-right:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__responsive-container{bottom:0;display:none;left:0;position:fixed;right:0;top:0}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{align-items:var(--layout-align,initial);display:flex;flex-direction:var(--layout-direction,initial);flex-wrap:var(--layout-wrap,wrap);justify-content:var(--layout-justify,initial)}.wp-block-navigation__responsive-container.is-menu-open{background-color:inherit;display:flex;flex-direction:column;overflow:auto;padding:72px 24px 24px;z-index:100000}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:var(--layout-justification-setting,inherit);display:flex;flex-direction:column;justify-content:flex-start;overflow:auto;padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{border:none;height:auto;min-width:200px;opacity:1;overflow:initial;padding-left:32px;padding-right:32px;position:static;visibility:visible;width:auto}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{align-items:var(--layout-justification-setting,initial);display:flex;flex-direction:column}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container{background:transparent!important;color:inherit!important}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:auto;right:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){background-color:inherit;display:block;position:relative;width:100%;z-index:2}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{right:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{background-color:#fff;color:#000}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{background:transparent;border:none;color:currentColor;cursor:pointer;margin:0;padding:0;vertical-align:middle}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;display:block;height:24px;pointer-events:none;width:24px}.wp-block-navigation__responsive-container-open{display:flex}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{left:24px;position:absolute;top:24px;z-index:2}.wp-block-navigation__responsive-close{width:100%}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{height:100%;width:100%}html.has-modal-open{overflow:hidden}.wp-block-navigation .wp-block-navigation-item__label{overflow-wrap:break-word;word-break:normal}.wp-block-navigation-submenu{display:flex;position:relative}.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg{stroke:currentColor}button.wp-block-navigation-item__content{background-color:transparent;border:none;color:currentColor;font-family:inherit;font-size:inherit;line-height:inherit;text-align:right}.wp-block-navigation-submenu__toggle{cursor:pointer}.wp-block-navigation .wp-block-home-link__content{color:inherit;display:block}.wp-block-navigation[style*=text-decoration] .wp-block-home-link,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:active,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:active,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:focus{text-decoration:none}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container{background-color:#fff;border:1px solid rgba(0,0,0,.15);color:#000}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container .wp-block-home-link__container{top:-1px}.wp-block-navigation .wp-block-page-list{align-items:var(--layout-align,initial);background-color:inherit;display:flex;flex-direction:var(--layout-direction,initial);flex-wrap:var(--layout-wrap,wrap);justify-content:var(--layout-justify,initial)}.wp-block-navigation .wp-block-navigation-item{background-color:inherit}.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em 0 0 .1em;text-transform:uppercase}p{overflow-wrap:break-word}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author__byline{font-size:.5em;margin-bottom:0;margin-top:0;width:100%}.wp-block-post-author__avatar{margin-left:1em}.wp-block-post-author__bio{font-size:.7em;margin-bottom:.7em}.wp-block-post-author__content{flex-basis:0;flex-grow:1}.wp-block-post-author__name{margin:0}.wp-block-post-comments>h3:first-of-type{margin-top:0}.wp-block-post-comments .commentlist{list-style:none;margin:0;padding:0}.wp-block-post-comments .commentlist .comment{min-height:2.25em;padding-right:3.25em}.wp-block-post-comments .commentlist .comment p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-post-comments .commentlist .children{list-style:none;margin:0;padding:0}.wp-block-post-comments .comment-author{line-height:1.5;margin-right:-3.25em}.wp-block-post-comments .comment-author .avatar{border-radius:1.5em;display:block;float:right;height:2.5em;margin-left:.75em;width:2.5em}.wp-block-post-comments .comment-author cite{font-style:normal}.wp-block-post-comments .comment-meta{line-height:1.5;margin-right:-3.25em}.wp-block-post-comments .comment-body .commentmetadata{font-size:.75em}.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments .comment-form-comment textarea{box-sizing:border-box;width:100%}.wp-block-post-comments .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-comments .reply{font-size:.75em;margin-bottom:1.4em}.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{padding:calc(.667em + 2px)}.wp-block-post-comments input[type=submit]{border:none}.wp-block-post-comments-form input[type=submit]{border:none;box-shadow:none;cursor:pointer;display:inline-block;overflow-wrap:break-word;text-align:center}.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{padding:calc(.667em + 2px)}.wp-block-post-comments-form .comment-form-comment textarea{box-sizing:border-box;display:block;width:100%}.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-comment label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments-form .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-excerpt__more-link{display:inline-block}.wp-block-post-terms__separator{white-space:pre-wrap}.wp-block-post-title a{display:inline-block}.wp-block-preformatted{white-space:pre-wrap}.wp-block-preformatted.has-background{padding:1.25em 2.375em}.wp-block-pullquote{margin:0 0 1em;overflow-wrap:break-word;padding:3em 0;text-align:center}.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{color:inherit}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright,.wp-block-pullquote.has-text-align-left,.wp-block-pullquote.has-text-align-right{max-width:420px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p,.wp-block-pullquote.has-text-align-left p,.wp-block-pullquote.has-text-align-right p{font-size:1.25em}.wp-block-pullquote p{font-size:1.75em;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote.has-text-align-left blockquote{text-align:right}.wp-block-pullquote.has-text-align-right blockquote{text-align:left}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:2em;margin-bottom:0;margin-top:0}.wp-block-pullquote.is-style-solid-color blockquote cite{font-style:normal;text-transform:none}.wp-block-pullquote cite{color:inherit}.wp-block-post-template,.wp-block-query-loop{list-style:none;margin-bottom:0;margin-top:0;max-width:100%;padding:0}.wp-block-post-template li,.wp-block-query-loop li{clear:both}.wp-block-post-template.is-flex-container,.wp-block-query-loop.is-flex-container{display:flex;flex-direction:row;flex-wrap:wrap}.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin:0 0 1.25em;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin-left:1.25em}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li:nth-child(2n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li:nth-child(2n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li:nth-child(3n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li:nth-child(3n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li:nth-child(4n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li:nth-child(4n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li:nth-child(5n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li:nth-child(5n){margin-left:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li:nth-child(6n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li:nth-child(6n){margin-left:0}}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin-bottom:.5em;margin-right:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow{display:inline-block;margin-left:1ch}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron){transform:scaleX(-1)}.wp-block-query-pagination .wp-block-query-pagination-next-arrow{display:inline-block;margin-right:1ch}.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron){transform:scaleX(-1)}.wp-block-query-pagination.aligncenter{justify-content:center}.wp-block-quote{overflow-wrap:break-word}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:1.125em;text-align:left}ul.wp-block-rss{list-style:none;padding:0}ul.wp-block-rss.wp-block-rss{box-sizing:border-box}ul.wp-block-rss.alignleft{margin-right:2em}ul.wp-block-rss.alignright{margin-left:2em}ul.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;list-style:none;padding:0}ul.wp-block-rss.is-grid li{margin:0 0 1em 1em;width:100%}@media (min-width:600px){ul.wp-block-rss.columns-2 li{width:calc(50% - 1em)}ul.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}ul.wp-block-rss.columns-4 li{width:calc(25% - 1em)}ul.wp-block-rss.columns-5 li{width:calc(20% - 1em)}ul.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;font-size:.8125em}.wp-block-search__button{background:#f7f7f7;border:1px solid #ccc;color:#32373c;font-family:inherit;font-size:inherit;line-height:inherit;margin-right:.625em;padding:.375em .625em;word-break:normal}.wp-block-search__button.has-icon{line-height:0}.wp-block-search__button svg{fill:currentColor;min-height:1.5em;min-width:1.5em}.wp-block-search__inside-wrapper{display:flex;flex:auto;flex-wrap:nowrap;max-width:100%}.wp-block-search__label{width:100%}.wp-block-search__input{border:1px solid #949494;flex-grow:1;font-family:inherit;font-size:inherit;line-height:inherit;min-width:3em;padding:8px}.wp-block-search.wp-block-search__button-only .wp-block-search__button{margin-right:0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{border:1px solid #949494;padding:4px}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input{border:none;border-radius:0;padding:0 .25em 0 0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input:focus{outline:none}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button{padding:.125em .5em}.wp-block-search.aligncenter .wp-block-search__inside-wrapper{margin:auto}.wp-block-separator{border-bottom:1px solid;border-top:1px solid}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;height:auto;line-height:1;text-align:center}.wp-block-separator.is-style-dots:before{color:currentColor;content:"···";font-family:serif;font-size:1.5em;letter-spacing:2em;padding-left:2em}.wp-block-site-logo{line-height:0}.wp-block-site-logo a{display:inline-block}.wp-block-site-logo.is-default-size img{height:auto;width:120px}.wp-block-site-logo a,.wp-block-site-logo img{border-radius:inherit}.wp-block-site-logo.aligncenter{display:table}.wp-block-site-logo.is-style-rounded{border-radius:9999px}.wp-block-social-links{margin-right:0;padding-left:0;padding-right:0;text-indent:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{border-bottom:0;box-shadow:none;text-decoration:none}.wp-block-social-links .wp-social-link a{padding:.25em}.wp-block-social-links .wp-social-link svg{height:1em;width:1em}.wp-block-social-links.has-small-icon-size{font-size:16px}.wp-block-social-links,.wp-block-social-links.has-normal-icon-size{font-size:24px}.wp-block-social-links.has-large-icon-size{font-size:36px}.wp-block-social-links.has-huge-icon-size{font-size:48px}.wp-block-social-links.aligncenter{display:flex;justify-content:center}.wp-block-social-links.alignright{justify-content:flex-end}.wp-block-social-link{border-radius:9999px;display:block;height:auto;transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.wp-block-social-link{transition-delay:0s;transition-duration:0s}}.wp-block-social-link a{display:block;line-height:0;transition:transform .1s ease}.wp-block-social-link:hover{transform:scale(1.1)}.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg{fill:currentColor;color:currentColor}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1778f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0d66c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{background-color:#ff424d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{stroke:#000;background-color:#fefc00;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{background-color:#2aabee;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#1da1f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:red;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none}.wp-block-social-links.is-style-logos-only .wp-social-link a{padding:0}.wp-block-social-links.is-style-logos-only .wp-social-link svg{height:1.25em;width:1.25em}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1778f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0d66c2}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{color:#ff424d}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{stroke:#000;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{color:#2aabee}.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#1da1f2}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{color:#d32422}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:red}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-left:.66667em;padding-right:.66667em}.wp-block-spacer{clear:both}.wp-block-tag-cloud.aligncenter{text-align:center}.wp-block-tag-cloud.alignfull{padding-left:1em;padding-right:1em}.wp-block-tag-cloud a{display:inline-block;margin-left:5px}.wp-block-tag-cloud span{display:inline-block;margin-right:5px;text-decoration:none}.wp-block-table{margin:0 0 1em;overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{background-color:transparent;border-bottom:1px solid #f0f0f0;border-collapse:inherit;border-spacing:0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color>*,.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr{border-color:inherit}.wp-block-table table[style*=border-style]>*,.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr{border-style:inherit}.wp-block-table table[style*=border-width]>*,.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr{border-width:inherit}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 1em;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{font-family:inherit;overflow:auto;white-space:pre-wrap}.wp-block-video{margin:0 0 1em}.wp-block-video video{width:100%}@supports (position:sticky){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-post-featured-image{margin-left:0;margin-right:0}.wp-block-post-featured-image a{display:inline-block}.wp-block-post-featured-image img{height:auto;max-width:100%;vertical-align:bottom;width:100%}.wp-block-post-featured-image.alignfull img,.wp-block-post-featured-image.alignwide img{width:100%}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.screen-reader-text:focus{clip:auto!important;background-color:#ddd;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;line-height:normal;padding:15px 23px 14px;right:5px;text-decoration:none;top:5px;width:auto;z-index:100000}
build/block-library/style.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.wp-block-archives-dropdown label{display:block}.wp-block-audio{margin:0 0 1em}.wp-block-audio figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-audio audio{min-width:300px;width:100%}.wp-block-button__link{background-color:#32373c;border-radius:9999px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-size:1.125em;padding:calc(.667em + 2px) calc(1.333em + 2px);text-align:center;text-decoration:none;word-break:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:#fff}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{flex-basis:100%;width:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.is-style-outline>:where(.wp-block-button__link),:where(.wp-block-button__link).is-style-outline{border:2px solid;padding:.667em 1.333em}.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button__link.is-style-outline:not(.has-text-color){color:currentColor}.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button__link.is-style-outline:not(.has-background){background-color:transparent}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-left:auto;margin-right:auto;width:100%}.wp-block-button.aligncenter,.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{border:1px solid #ddd;padding:.25em}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{border-collapse:collapse;width:100%}.wp-block-calendar table th{background:#ddd;font-weight:400}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-code code{display:block;overflow-wrap:break-word;white-space:pre-wrap}.wp-block-columns{box-sizing:border-box;display:flex;flex-wrap:wrap;margin-bottom:1.75em}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns:where(.has-background){padding:1.25em 2.375em}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}@media (max-width:599px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child){flex-basis:calc(50% - var(--wp--style--block-gap, 2em)/2)!important;flex-grow:0}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2n){margin-left:var(--wp--style--block-gap,2em)}}@media (min-width:782px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child){margin-left:var(--wp--style--block-gap,2em)}}.wp-block-columns.is-not-stacked-on-mobile{flex-wrap:nowrap}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column:not(:first-child){margin-left:var(--wp--style--block-gap,2em)}.wp-block-column{flex-grow:1;min-width:0;overflow-wrap:break-word;word-break:break-word}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-cover,.wp-block-cover-image{align-items:center;background-position:50%;background-size:cover;box-sizing:border-box;display:flex;justify-content:center;min-height:430px;padding:1em;position:relative;width:100%}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image .has-background-dim:not([class*=-background-color]),.wp-block-cover .has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover-image .has-background-dim:before,.wp-block-cover .has-background-dim:before{background-color:inherit;content:""}.wp-block-cover-image .has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover .has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{bottom:0;left:0;opacity:.5;position:absolute;right:0;top:0;z-index:1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{opacity:0}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{opacity:.1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{opacity:.2}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{opacity:.3}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{opacity:.4}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{opacity:.5}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{opacity:.6}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{opacity:.7}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{opacity:.8}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{opacity:.9}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{content:"";display:block;font-size:0;min-height:inherit}@supports (position:sticky){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{color:#fff;width:100%;z-index:1}.wp-block-cover-image.is-light .wp-block-cover__inner-container,.wp-block-cover.is-light .wp-block-cover__inner-container{color:#000}.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover-image img.wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background,.wp-block-cover img.wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background{border:none;bottom:0;box-shadow:none;height:100%;left:0;margin:0;max-height:none;max-width:none;-o-object-fit:cover;object-fit:cover;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;margin-bottom:0;max-width:840px;padding:.44em;text-align:center;z-index:1}.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{max-width:360px;width:100%}.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{min-width:280px}.wp-block-cover .wp-block-embed{min-height:240px;min-width:320px}.wp-block-embed{margin:0 0 1em;overflow-wrap:break-word}.wp-block-embed figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-embed iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-has-aspect-ratio iframe{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.77%}.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__embed{margin-bottom:1em}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:.8em;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-left:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;margin:0;padding:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0 1em 1em 0;position:relative;width:calc(50% - 1em)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{align-items:flex-end;display:flex;height:100%;justify-content:flex-start;margin:0}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;height:auto;max-width:100%;width:auto}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;box-sizing:border-box;color:#fff;font-size:.8em;margin:0;max-height:100%;overflow:auto;padding:3em .77em .7em;position:absolute;text-align:center;width:100%;z-index:2}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid figcaption,.wp-block-gallery figcaption{flex-grow:1}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{flex:1;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{margin-right:0;width:100%}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{margin-right:1em;width:calc(33.33333% - .66667em)}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{margin-right:1em;width:calc(25% - .75em)}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{margin-right:1em;width:calc(20% - .8em)}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{margin-right:1em;width:calc(16.66667% - .83333em)}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{margin-right:1em;width:calc(14.28571% - .85714em)}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{margin-right:1em;width:calc(12.5% - .875em)}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:420px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-gallery:not(.is-cropped) .blocks-gallery-item{align-self:flex-start}.wp-block-gallery.has-nested-images{display:flex;flex-wrap:wrap}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){margin:0 var(--gallery-block--gutter-size,16px) var(--gallery-block--gutter-size,16px) 0;width:calc(50% - var(--gallery-block--gutter-size, 16px)/2)}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):last-of-type:not(#individual-image),.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):nth-of-type(2n){margin-right:0}.wp-block-gallery.has-nested-images figure.wp-block-image{display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin-bottom:auto;margin-top:auto;position:relative}.wp-block-gallery.has-nested-images figure.wp-block-image>a,.wp-block-gallery.has-nested-images figure.wp-block-image>div{flex-direction:column;flex-grow:1;margin:0}.wp-block-gallery.has-nested-images figure.wp-block-image img{display:block;height:auto;max-width:100%;width:auto}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;box-sizing:border-box;color:#fff;font-size:13px;left:0;margin-bottom:0;max-height:60%;overflow:auto;padding:0 8px 8px;position:absolute;text-align:center;width:100%}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img{display:inline}.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>a,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>div{flex:1 1 auto}.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded figcaption{background:none;color:inherit;flex:initial;margin:0;padding:10px 10px 9px;position:relative}.wp-block-gallery.has-nested-images figcaption{flex-basis:100%;flex-grow:1;text-align:center}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image){margin-bottom:auto;margin-top:0}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) img{margin-bottom:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) figcaption{bottom:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image){align-self:inherit}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>div:not(.components-drop-zone){display:flex}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img{flex:1 0 0%;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image){margin-right:0;width:100%}@media (min-width:600px){.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px);width:calc(33.33333% - var(--gallery-block--gutter-size, 16px)*.66667)}.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px);width:calc(25% - var(--gallery-block--gutter-size, 16px)*.75)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px);width:calc(20% - var(--gallery-block--gutter-size, 16px)*.8)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px);width:calc(16.66667% - var(--gallery-block--gutter-size, 16px)*.83333)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px);width:calc(14.28571% - var(--gallery-block--gutter-size, 16px)*.85714)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px);width:calc(12.5% - var(--gallery-block--gutter-size, 16px)*.875)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image):nth-of-type(1n),.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:not(#individual-image):nth-of-type(2n),.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image):nth-of-type(3n),.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image):nth-of-type(4n),.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image):nth-of-type(5n),.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image):nth-of-type(6n),.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image):nth-of-type(7n),.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image):nth-of-type(8n){margin-right:0}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px);width:calc(33.33% - var(--gallery-block--gutter-size, 16px)*.66667)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):nth-of-type(3n+3){margin-right:0}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image){width:calc(50% - var(--gallery-block--gutter-size, 16px)*.5)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child{width:100%}}.wp-block-gallery.has-nested-images.alignleft,.wp-block-gallery.has-nested-images.alignright{max-width:420px;width:100%}.wp-block-gallery.has-nested-images.aligncenter{justify-content:center}.wp-block-group{box-sizing:border-box}h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}h1.has-background,h2.has-background,h3.has-background,h4.has-background,h5.has-background,h6.has-background{padding:1.25em 2.375em}.wp-block-image{margin:0 0 1em}.wp-block-image img{height:auto;max-width:100%;vertical-align:bottom}.wp-block-image:not(.is-style-rounded)>a,.wp-block-image:not(.is-style-rounded) img{border-radius:inherit}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{height:auto;width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption{caption-side:bottom;display:table-caption}.wp-block-image .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-image .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{border-radius:0;-webkit-mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-mode:alpha;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}}.wp-block-image figure{margin:0}ol.wp-block-latest-comments{margin-left:0}.wp-block-latest-comments .wp-block-latest-comments{padding-left:0}.wp-block-latest-comments__comment{line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{list-style:none;min-height:2.25em}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-left:3.25em}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-latest-comments__comment-date{display:block;font-size:.75em}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:1.5em;display:block;float:left;height:2.5em;margin-right:.75em;width:2.5em}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none;padding-left:0}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 1.25em 1.25em 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - .625em)}.wp-block-latest-posts.columns-2 li:nth-child(2n){margin-right:0}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - .83333em)}.wp-block-latest-posts.columns-3 li:nth-child(3n){margin-right:0}.wp-block-latest-posts.columns-4 li{width:calc(25% - .9375em)}.wp-block-latest-posts.columns-4 li:nth-child(4n){margin-right:0}.wp-block-latest-posts.columns-5 li{width:calc(20% - 1em)}.wp-block-latest-posts.columns-5 li:nth-child(5n){margin-right:0}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 1.04167em)}.wp-block-latest-posts.columns-6 li:nth-child(6n){margin-right:0}}.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{display:block;font-size:.8125em}.wp-block-latest-posts__post-excerpt{margin-bottom:1em;margin-top:.5em}.wp-block-latest-posts__featured-image a{display:inline-block}.wp-block-latest-posts__featured-image img{height:auto;max-width:100%;width:auto}.wp-block-latest-posts__featured-image.alignleft{margin-right:1em}.wp-block-latest-posts__featured-image.alignright{margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center}.block-editor-image-alignment-control__row .components-base-control__field{align-items:center;display:flex;justify-content:space-between}.block-editor-image-alignment-control__row .components-base-control__field .components-base-control__label{margin-bottom:0}ol,ul{overflow-wrap:break-word}ol.has-background,ul.has-background{padding:1.25em 2.375em}.wp-block-media-text{direction:ltr;display:grid;grid-template-columns:50% 1fr;grid-template-rows:auto}.wp-block-media-text.has-media-on-the-right{grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{align-self:end}.wp-block-media-text .wp-block-media-text__media{grid-column:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{direction:ltr;grid-column:2;grid-row:1;padding:0 8%;word-break:break-word}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media{grid-column:2;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{grid-column:1;grid-row:1}.wp-block-media-text__media img,.wp-block-media-text__media video{height:auto;max-width:unset;vertical-align:middle;width:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media{background-size:cover;height:100%;min-height:250px}.wp-block-media-text.is-image-fill .wp-block-media-text__media>a{display:block;height:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media img{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{grid-column:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{grid-column:1;grid-row:2}}.wp-block-navigation{position:relative}.wp-block-navigation ul{margin-bottom:0;margin-left:0;margin-top:0;padding-left:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none;padding:0}.wp-block-navigation .wp-block-navigation-item{align-items:center;display:flex;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{color:inherit;display:block;padding:0}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-item,.wp-block-navigation[style*=text-decoration] .wp-block-navigation__submenu-container,.wp-block-navigation[style*=text-decoration] a,.wp-block-navigation[style*=text-decoration] a:active,.wp-block-navigation[style*=text-decoration] a:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) a,.wp-block-navigation:not([style*=text-decoration]) a:active,.wp-block-navigation:not([style*=text-decoration]) a:focus{text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;background-color:inherit;border:none;color:currentColor;height:inherit;line-height:0;margin-left:6px;padding:0}.wp-block-navigation .wp-block-navigation__submenu-icon svg{stroke:currentColor;display:inline-block}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container){align-items:normal;background-color:inherit;color:inherit;display:flex;flex-direction:column;height:0;left:-1px;opacity:0;overflow:hidden;position:absolute;top:100%;transition:opacity .1s linear;visibility:hidden;width:0;z-index:2}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-left:auto;margin-right:0}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{margin:0}@media (min-width:782px){.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container{left:100%;top:-1px}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container:before{background:transparent;content:"";display:block;height:100%;position:absolute;right:100%;width:.5em}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-icon svg{transform:rotate(-90deg)}}.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation .has-child:where(:not(.open-on-click):not(.open-on-hover-click)):focus-within>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]+.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{left:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:0}}.wp-block-navigation,.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-container-content{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation:where(.has-background),.wp-block-navigation:where(.has-background) .wp-block-navigation .wp-block-page-list,.wp-block-navigation:where(.has-background) .wp-block-navigation__container{gap:var(--wp--style--block-gap,.5em)}.wp-block-navigation:where(.has-background) .wp-block-navigation-item__content{padding:.5em 1em}.wp-block-navigation :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{padding:.5em 1em}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{left:auto;right:0}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:auto;right:100%}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;border:1px solid rgba(0,0,0,.15);color:#000}.wp-block-navigation__container{align-items:var(--layout-align,initial);display:flex;flex-direction:var(--layout-direction,initial);flex-wrap:var(--layout-wrap,wrap);justify-content:var(--layout-justify,initial);list-style:none;margin:0;padding-left:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__responsive-container{bottom:0;display:none;left:0;position:fixed;right:0;top:0}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{align-items:var(--layout-align,initial);display:flex;flex-direction:var(--layout-direction,initial);flex-wrap:var(--layout-wrap,wrap);justify-content:var(--layout-justify,initial)}.wp-block-navigation__responsive-container.is-menu-open{background-color:inherit;display:flex;flex-direction:column;overflow:auto;padding:72px 24px 24px;z-index:100000}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:var(--layout-justification-setting,inherit);display:flex;flex-direction:column;justify-content:flex-start;overflow:auto;padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{border:none;height:auto;min-width:200px;opacity:1;overflow:initial;padding-left:32px;padding-right:32px;position:static;visibility:visible;width:auto}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{align-items:var(--layout-justification-setting,initial);display:flex;flex-direction:column}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container{background:transparent!important;color:inherit!important}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:auto;right:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){background-color:inherit;display:block;position:relative;width:100%;z-index:2}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{background-color:#fff;color:#000}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{background:transparent;border:none;color:currentColor;cursor:pointer;margin:0;padding:0;vertical-align:middle}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;display:block;height:24px;pointer-events:none;width:24px}.wp-block-navigation__responsive-container-open{display:flex}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{position:absolute;right:24px;top:24px;z-index:2}.wp-block-navigation__responsive-close{width:100%}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{height:100%;width:100%}html.has-modal-open{overflow:hidden}.wp-block-navigation .wp-block-navigation-item__label{overflow-wrap:break-word;word-break:normal}.wp-block-navigation-submenu{display:flex;position:relative}.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg{stroke:currentColor}button.wp-block-navigation-item__content{background-color:transparent;border:none;color:currentColor;font-family:inherit;font-size:inherit;line-height:inherit;text-align:left}.wp-block-navigation-submenu__toggle{cursor:pointer}.wp-block-navigation .wp-block-home-link__content{color:inherit;display:block}.wp-block-navigation[style*=text-decoration] .wp-block-home-link,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:active,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:active,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:focus{text-decoration:none}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container{background-color:#fff;border:1px solid rgba(0,0,0,.15);color:#000}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container .wp-block-home-link__container{top:-1px}.wp-block-navigation .wp-block-page-list{align-items:var(--layout-align,initial);background-color:inherit;display:flex;flex-direction:var(--layout-direction,initial);flex-wrap:var(--layout-wrap,wrap);justify-content:var(--layout-justify,initial)}.wp-block-navigation .wp-block-navigation-item{background-color:inherit}.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}p{overflow-wrap:break-word}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author__byline{font-size:.5em;margin-bottom:0;margin-top:0;width:100%}.wp-block-post-author__avatar{margin-right:1em}.wp-block-post-author__bio{font-size:.7em;margin-bottom:.7em}.wp-block-post-author__content{flex-basis:0;flex-grow:1}.wp-block-post-author__name{margin:0}.wp-block-post-comments>h3:first-of-type{margin-top:0}.wp-block-post-comments .commentlist{list-style:none;margin:0;padding:0}.wp-block-post-comments .commentlist .comment{min-height:2.25em;padding-left:3.25em}.wp-block-post-comments .commentlist .comment p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-post-comments .commentlist .children{list-style:none;margin:0;padding:0}.wp-block-post-comments .comment-author{line-height:1.5;margin-left:-3.25em}.wp-block-post-comments .comment-author .avatar{border-radius:1.5em;display:block;float:left;height:2.5em;margin-right:.75em;width:2.5em}.wp-block-post-comments .comment-author cite{font-style:normal}.wp-block-post-comments .comment-meta{line-height:1.5;margin-left:-3.25em}.wp-block-post-comments .comment-body .commentmetadata{font-size:.75em}.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments .comment-form-comment textarea{box-sizing:border-box;width:100%}.wp-block-post-comments .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-comments .reply{font-size:.75em;margin-bottom:1.4em}.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{padding:calc(.667em + 2px)}.wp-block-post-comments input[type=submit]{border:none}.wp-block-post-comments-form input[type=submit]{border:none;box-shadow:none;cursor:pointer;display:inline-block;overflow-wrap:break-word;text-align:center}.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{padding:calc(.667em + 2px)}.wp-block-post-comments-form .comment-form-comment textarea{box-sizing:border-box;display:block;width:100%}.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-comment label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments-form .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-excerpt__more-link{display:inline-block}.wp-block-post-terms__separator{white-space:pre-wrap}.wp-block-post-title a{display:inline-block}.wp-block-preformatted{white-space:pre-wrap}.wp-block-preformatted.has-background{padding:1.25em 2.375em}.wp-block-pullquote{margin:0 0 1em;overflow-wrap:break-word;padding:3em 0;text-align:center}.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{color:inherit}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright,.wp-block-pullquote.has-text-align-left,.wp-block-pullquote.has-text-align-right{max-width:420px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p,.wp-block-pullquote.has-text-align-left p,.wp-block-pullquote.has-text-align-right p{font-size:1.25em}.wp-block-pullquote p{font-size:1.75em;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote.has-text-align-left blockquote{text-align:left}.wp-block-pullquote.has-text-align-right blockquote{text-align:right}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:2em;margin-bottom:0;margin-top:0}.wp-block-pullquote.is-style-solid-color blockquote cite{font-style:normal;text-transform:none}.wp-block-pullquote cite{color:inherit}.wp-block-post-template,.wp-block-query-loop{list-style:none;margin-bottom:0;margin-top:0;max-width:100%;padding:0}.wp-block-post-template li,.wp-block-query-loop li{clear:both}.wp-block-post-template.is-flex-container,.wp-block-query-loop.is-flex-container{display:flex;flex-direction:row;flex-wrap:wrap}.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin:0 0 1.25em;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin-right:1.25em}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li:nth-child(2n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li:nth-child(2n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li:nth-child(3n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li:nth-child(3n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li:nth-child(4n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li:nth-child(4n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li:nth-child(5n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li:nth-child(5n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li:nth-child(6n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li:nth-child(6n){margin-right:0}}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin-bottom:.5em;margin-right:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow{display:inline-block;margin-right:1ch}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron){transform:scaleX(1)}.wp-block-query-pagination .wp-block-query-pagination-next-arrow{display:inline-block;margin-left:1ch}.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron){transform:scaleX(1)}.wp-block-query-pagination.aligncenter{justify-content:center}.wp-block-quote{overflow-wrap:break-word}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:1.125em;text-align:right}ul.wp-block-rss{list-style:none;padding:0}ul.wp-block-rss.wp-block-rss{box-sizing:border-box}ul.wp-block-rss.alignleft{margin-right:2em}ul.wp-block-rss.alignright{margin-left:2em}ul.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;list-style:none;padding:0}ul.wp-block-rss.is-grid li{margin:0 1em 1em 0;width:100%}@media (min-width:600px){ul.wp-block-rss.columns-2 li{width:calc(50% - 1em)}ul.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}ul.wp-block-rss.columns-4 li{width:calc(25% - 1em)}ul.wp-block-rss.columns-5 li{width:calc(20% - 1em)}ul.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;font-size:.8125em}.wp-block-search__button{background:#f7f7f7;border:1px solid #ccc;color:#32373c;font-family:inherit;font-size:inherit;line-height:inherit;margin-left:.625em;padding:.375em .625em;word-break:normal}.wp-block-search__button.has-icon{line-height:0}.wp-block-search__button svg{fill:currentColor;min-height:1.5em;min-width:1.5em}.wp-block-search__inside-wrapper{display:flex;flex:auto;flex-wrap:nowrap;max-width:100%}.wp-block-search__label{width:100%}.wp-block-search__input{border:1px solid #949494;flex-grow:1;font-family:inherit;font-size:inherit;line-height:inherit;min-width:3em;padding:8px}.wp-block-search.wp-block-search__button-only .wp-block-search__button{margin-left:0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{border:1px solid #949494;padding:4px}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input{border:none;border-radius:0;padding:0 0 0 .25em}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input:focus{outline:none}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button{padding:.125em .5em}.wp-block-search.aligncenter .wp-block-search__inside-wrapper{margin:auto}.wp-block-separator{border-bottom:1px solid;border-top:1px solid}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;height:auto;line-height:1;text-align:center}.wp-block-separator.is-style-dots:before{color:currentColor;content:"···";font-family:serif;font-size:1.5em;letter-spacing:2em;padding-left:2em}.wp-block-site-logo{line-height:0}.wp-block-site-logo a{display:inline-block}.wp-block-site-logo.is-default-size img{height:auto;width:120px}.wp-block-site-logo a,.wp-block-site-logo img{border-radius:inherit}.wp-block-site-logo.aligncenter{display:table}.wp-block-site-logo.is-style-rounded{border-radius:9999px}.wp-block-social-links{margin-left:0;padding-left:0;padding-right:0;text-indent:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{border-bottom:0;box-shadow:none;text-decoration:none}.wp-block-social-links .wp-social-link a{padding:.25em}.wp-block-social-links .wp-social-link svg{height:1em;width:1em}.wp-block-social-links.has-small-icon-size{font-size:16px}.wp-block-social-links,.wp-block-social-links.has-normal-icon-size{font-size:24px}.wp-block-social-links.has-large-icon-size{font-size:36px}.wp-block-social-links.has-huge-icon-size{font-size:48px}.wp-block-social-links.aligncenter{display:flex;justify-content:center}.wp-block-social-links.alignright{justify-content:flex-end}.wp-block-social-link{border-radius:9999px;display:block;height:auto;transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.wp-block-social-link{transition-delay:0s;transition-duration:0s}}.wp-block-social-link a{display:block;line-height:0;transition:transform .1s ease}.wp-block-social-link:hover{transform:scale(1.1)}.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg{fill:currentColor;color:currentColor}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1778f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0d66c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{background-color:#ff424d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{stroke:#000;background-color:#fefc00;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{background-color:#2aabee;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#1da1f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:red;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none}.wp-block-social-links.is-style-logos-only .wp-social-link a{padding:0}.wp-block-social-links.is-style-logos-only .wp-social-link svg{height:1.25em;width:1.25em}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1778f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0d66c2}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{color:#ff424d}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{stroke:#000;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{color:#2aabee}.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#1da1f2}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{color:#d32422}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:red}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-left:.66667em;padding-right:.66667em}.wp-block-spacer{clear:both}.wp-block-tag-cloud.aligncenter{text-align:center}.wp-block-tag-cloud.alignfull{padding-left:1em;padding-right:1em}.wp-block-tag-cloud a{display:inline-block;margin-right:5px}.wp-block-tag-cloud span{display:inline-block;margin-left:5px;text-decoration:none}.wp-block-table{margin:0 0 1em;overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{background-color:transparent;border-bottom:1px solid #f0f0f0;border-collapse:inherit;border-spacing:0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color>*,.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr{border-color:inherit}.wp-block-table table[style*=border-style]>*,.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr{border-style:inherit}.wp-block-table table[style*=border-width]>*,.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr{border-width:inherit}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 1em;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-left:0}.wp-block-text-columns .wp-block-column:last-child{margin-right:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{font-family:inherit;overflow:auto;white-space:pre-wrap}.wp-block-video{margin:0 0 1em}.wp-block-video video{width:100%}@supports (position:sticky){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-post-featured-image{margin-left:0;margin-right:0}.wp-block-post-featured-image a{display:inline-block}.wp-block-post-featured-image img{height:auto;max-width:100%;vertical-align:bottom;width:100%}.wp-block-post-featured-image.alignfull img,.wp-block-post-featured-image.alignwide img{width:100%}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.screen-reader-text:focus{clip:auto!important;background-color:#ddd;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
1
+ @charset "UTF-8";.wp-block-archives-dropdown label{display:block}.wp-block-audio{margin:0 0 1em}.wp-block-audio figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-audio audio{min-width:300px;width:100%}.wp-block-button__link{background-color:#32373c;border-radius:9999px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-size:1.125em;padding:calc(.667em + 2px) calc(1.333em + 2px);text-align:center;text-decoration:none;word-break:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:#fff}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{flex-basis:100%;width:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.is-style-outline>:where(.wp-block-button__link),:where(.wp-block-button__link).is-style-outline{border:2px solid;padding:.667em 1.333em}.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button__link.is-style-outline:not(.has-text-color){color:currentColor}.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button__link.is-style-outline:not(.has-background){background-color:transparent}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-left:auto;margin-right:auto;width:100%}.wp-block-button.aligncenter,.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{border:1px solid #ddd;padding:.25em}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{border-collapse:collapse;width:100%}.wp-block-calendar table th{background:#ddd;font-weight:400}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-code code{display:block;overflow-wrap:break-word;white-space:pre-wrap}.wp-block-columns{box-sizing:border-box;display:flex;flex-wrap:wrap;margin-bottom:1.75em}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns:where(.has-background){padding:1.25em 2.375em}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}@media (max-width:599px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child){flex-basis:calc(50% - var(--wp--style--block-gap, 2em)/2)!important;flex-grow:0}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2n){margin-left:var(--wp--style--block-gap,2em)}}@media (min-width:782px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child){margin-left:var(--wp--style--block-gap,2em)}}.wp-block-columns.is-not-stacked-on-mobile{flex-wrap:nowrap}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column:not(:first-child){margin-left:var(--wp--style--block-gap,2em)}.wp-block-column{flex-grow:1;min-width:0;overflow-wrap:break-word;word-break:break-word}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-cover,.wp-block-cover-image{align-items:center;background-position:50%;background-size:cover;box-sizing:border-box;display:flex;justify-content:center;min-height:430px;padding:1em;position:relative;width:100%}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover-image .has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]),.wp-block-cover .has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover-image.has-background-dim:before,.wp-block-cover-image .has-background-dim:before,.wp-block-cover.has-background-dim:before,.wp-block-cover .has-background-dim:before{background-color:inherit;content:""}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{bottom:0;left:0;opacity:.5;position:absolute;right:0;top:0;z-index:1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{opacity:0}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{opacity:.1}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{opacity:.2}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{opacity:.3}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{opacity:.4}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{opacity:.5}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{opacity:.6}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{opacity:.7}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{opacity:.8}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{opacity:.9}.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{content:"";display:block;font-size:0;min-height:inherit}@supports (position:sticky){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{color:#fff;width:100%;z-index:1}.wp-block-cover-image.is-light .wp-block-cover__inner-container,.wp-block-cover.is-light .wp-block-cover__inner-container{color:#000}.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover-image img.wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background,.wp-block-cover img.wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background{border:none;bottom:0;box-shadow:none;height:100%;left:0;margin:0;max-height:none;max-width:none;-o-object-fit:cover;object-fit:cover;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;margin-bottom:0;max-width:840px;padding:.44em;text-align:center;z-index:1}.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{max-width:360px;width:100%}.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{min-width:280px}.wp-block-cover .wp-block-embed{min-height:240px;min-width:320px}.wp-block-embed{margin:0 0 1em;overflow-wrap:break-word}.wp-block-embed figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-embed iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-has-aspect-ratio iframe{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.77%}.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__embed{margin-bottom:1em}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:.8em;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-left:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;margin:0;padding:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0 1em 1em 0;position:relative;width:calc(50% - 1em)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{align-items:flex-end;display:flex;height:100%;justify-content:flex-start;margin:0}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;height:auto;max-width:100%;width:auto}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;box-sizing:border-box;color:#fff;font-size:.8em;margin:0;max-height:100%;overflow:auto;padding:3em .77em .7em;position:absolute;text-align:center;width:100%;z-index:2}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid figcaption,.wp-block-gallery figcaption{flex-grow:1}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{flex:1;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{margin-right:0;width:100%}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{margin-right:1em;width:calc(33.33333% - .66667em)}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{margin-right:1em;width:calc(25% - .75em)}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{margin-right:1em;width:calc(20% - .8em)}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{margin-right:1em;width:calc(16.66667% - .83333em)}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{margin-right:1em;width:calc(14.28571% - .85714em)}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{margin-right:1em;width:calc(12.5% - .875em)}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:420px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-gallery:not(.is-cropped) .blocks-gallery-item{align-self:flex-start}.wp-block-gallery.has-nested-images{display:flex;flex-wrap:wrap}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){margin:0 var(--gallery-block--gutter-size,16px) var(--gallery-block--gutter-size,16px) 0;width:calc(50% - var(--gallery-block--gutter-size, 16px)/2)}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):last-of-type:not(#individual-image),.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):nth-of-type(2n){margin-right:0}.wp-block-gallery.has-nested-images figure.wp-block-image{display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin-bottom:auto;margin-top:auto;position:relative}.wp-block-gallery.has-nested-images figure.wp-block-image>a,.wp-block-gallery.has-nested-images figure.wp-block-image>div{flex-direction:column;flex-grow:1;margin:0}.wp-block-gallery.has-nested-images figure.wp-block-image img{display:block;height:auto;max-width:100%;width:auto}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;box-sizing:border-box;color:#fff;font-size:13px;left:0;margin-bottom:0;max-height:60%;overflow:auto;padding:0 8px 8px;position:absolute;text-align:center;width:100%}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img{display:inline}.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>a,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>div{flex:1 1 auto}.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded figcaption{background:none;color:inherit;flex:initial;margin:0;padding:10px 10px 9px;position:relative}.wp-block-gallery.has-nested-images figcaption{flex-basis:100%;flex-grow:1;text-align:center}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image){margin-bottom:auto;margin-top:0}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) img{margin-bottom:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) figcaption{bottom:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image){align-self:inherit}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>div:not(.components-drop-zone){display:flex}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img{flex:1 0 0%;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image){margin-right:0;width:100%}@media (min-width:600px){.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px);width:calc(33.33333% - var(--gallery-block--gutter-size, 16px)*.66667)}.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px);width:calc(25% - var(--gallery-block--gutter-size, 16px)*.75)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px);width:calc(20% - var(--gallery-block--gutter-size, 16px)*.8)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px);width:calc(16.66667% - var(--gallery-block--gutter-size, 16px)*.83333)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px);width:calc(14.28571% - var(--gallery-block--gutter-size, 16px)*.85714)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px);width:calc(12.5% - var(--gallery-block--gutter-size, 16px)*.875)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image).is-dragging~figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px)}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image):nth-of-type(1n),.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:not(#individual-image):nth-of-type(2n),.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image):nth-of-type(3n),.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image):nth-of-type(4n),.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image):nth-of-type(5n),.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image):nth-of-type(6n),.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image):nth-of-type(7n),.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image):nth-of-type(8n){margin-right:0}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){margin-right:var(--gallery-block--gutter-size,16px);width:calc(33.33% - var(--gallery-block--gutter-size, 16px)*.66667)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):nth-of-type(3n+3){margin-right:0}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image){width:calc(50% - var(--gallery-block--gutter-size, 16px)*.5)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child{width:100%}}.wp-block-gallery.has-nested-images.alignleft,.wp-block-gallery.has-nested-images.alignright{max-width:420px;width:100%}.wp-block-gallery.has-nested-images.aligncenter{justify-content:center}.wp-block-group{box-sizing:border-box}h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}h1.has-background,h2.has-background,h3.has-background,h4.has-background,h5.has-background,h6.has-background{padding:1.25em 2.375em}.wp-block-image{margin:0 0 1em}.wp-block-image img{height:auto;max-width:100%;vertical-align:bottom}.wp-block-image:not(.is-style-rounded)>a,.wp-block-image:not(.is-style-rounded) img{border-radius:inherit}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{height:auto;width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption{caption-side:bottom;display:table-caption}.wp-block-image .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-image .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{border-radius:0;-webkit-mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-mode:alpha;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}}.wp-block-image figure{margin:0}ol.wp-block-latest-comments{margin-left:0}.wp-block-latest-comments .wp-block-latest-comments{padding-left:0}.wp-block-latest-comments__comment{line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{list-style:none;min-height:2.25em}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-left:3.25em}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-latest-comments__comment-date{display:block;font-size:.75em}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:1.5em;display:block;float:left;height:2.5em;margin-right:.75em;width:2.5em}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none;padding-left:0}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 1.25em 1.25em 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - .625em)}.wp-block-latest-posts.columns-2 li:nth-child(2n){margin-right:0}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - .83333em)}.wp-block-latest-posts.columns-3 li:nth-child(3n){margin-right:0}.wp-block-latest-posts.columns-4 li{width:calc(25% - .9375em)}.wp-block-latest-posts.columns-4 li:nth-child(4n){margin-right:0}.wp-block-latest-posts.columns-5 li{width:calc(20% - 1em)}.wp-block-latest-posts.columns-5 li:nth-child(5n){margin-right:0}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 1.04167em)}.wp-block-latest-posts.columns-6 li:nth-child(6n){margin-right:0}}.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{display:block;font-size:.8125em}.wp-block-latest-posts__post-excerpt{margin-bottom:1em;margin-top:.5em}.wp-block-latest-posts__featured-image a{display:inline-block}.wp-block-latest-posts__featured-image img{height:auto;max-width:100%;width:auto}.wp-block-latest-posts__featured-image.alignleft{margin-right:1em}.wp-block-latest-posts__featured-image.alignright{margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center}.block-editor-image-alignment-control__row .components-base-control__field{align-items:center;display:flex;justify-content:space-between}.block-editor-image-alignment-control__row .components-base-control__field .components-base-control__label{margin-bottom:0}ol,ul{overflow-wrap:break-word}ol.has-background,ul.has-background{padding:1.25em 2.375em}.wp-block-media-text{direction:ltr;display:grid;grid-template-columns:50% 1fr;grid-template-rows:auto}.wp-block-media-text.has-media-on-the-right{grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{align-self:end}.wp-block-media-text .wp-block-media-text__media{grid-column:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{direction:ltr;grid-column:2;grid-row:1;padding:0 8%;word-break:break-word}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media{grid-column:2;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{grid-column:1;grid-row:1}.wp-block-media-text__media img,.wp-block-media-text__media video{height:auto;max-width:unset;vertical-align:middle;width:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media{background-size:cover;height:100%;min-height:250px}.wp-block-media-text.is-image-fill .wp-block-media-text__media>a{display:block;height:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media img{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{grid-column:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{grid-column:1;grid-row:2}}.wp-block-navigation{position:relative}.wp-block-navigation ul{margin-bottom:0;margin-left:0;margin-top:0;padding-left:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none;padding:0}.wp-block-navigation .wp-block-navigation-item{align-items:center;display:flex;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{color:inherit;display:block;padding:0}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-item,.wp-block-navigation[style*=text-decoration] .wp-block-navigation__submenu-container,.wp-block-navigation[style*=text-decoration] a,.wp-block-navigation[style*=text-decoration] a:active,.wp-block-navigation[style*=text-decoration] a:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) a,.wp-block-navigation:not([style*=text-decoration]) a:active,.wp-block-navigation:not([style*=text-decoration]) a:focus{text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;background-color:inherit;border:none;color:currentColor;height:inherit;line-height:0;margin-left:6px;padding:0}.wp-block-navigation .wp-block-navigation__submenu-icon svg{stroke:currentColor;display:inline-block}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container){align-items:normal;background-color:inherit;color:inherit;display:flex;flex-direction:column;height:0;left:-1px;opacity:0;overflow:hidden;position:absolute;top:100%;transition:opacity .1s linear;visibility:hidden;width:0;z-index:2}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container)>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-left:auto;margin-right:0}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{margin:0}@media (min-width:782px){.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container{left:100%;top:-1px}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container:before{background:transparent;content:"";display:block;height:100%;position:absolute;right:100%;width:.5em}.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-icon svg{transform:rotate(-90deg)}}.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation .has-child:where(:not(.open-on-click):not(.open-on-hover-click)):focus-within>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]+.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{left:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:0}}.wp-block-navigation,.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-container-content{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation:where(.has-background),.wp-block-navigation:where(.has-background) .wp-block-navigation .wp-block-page-list,.wp-block-navigation:where(.has-background) .wp-block-navigation__container{gap:var(--wp--style--block-gap,.5em)}.wp-block-navigation:where(.has-background) .wp-block-navigation-item__content{padding:.5em 1em}.wp-block-navigation :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content{padding:.5em 1em}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{left:auto;right:0}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:auto;right:100%}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;border:1px solid rgba(0,0,0,.15);color:#000}.wp-block-navigation__container{align-items:var(--layout-align,initial);display:flex;flex-direction:var(--layout-direction,initial);flex-wrap:var(--layout-wrap,wrap);justify-content:var(--layout-justify,initial);list-style:none;margin:0;padding-left:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__responsive-container{bottom:0;display:none;left:0;position:fixed;right:0;top:0}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{align-items:var(--layout-align,initial);display:flex;flex-direction:var(--layout-direction,initial);flex-wrap:var(--layout-wrap,wrap);justify-content:var(--layout-justify,initial)}.wp-block-navigation__responsive-container.is-menu-open{background-color:inherit;display:flex;flex-direction:column;overflow:auto;padding:72px 24px 24px;z-index:100000}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:var(--layout-justification-setting,inherit);display:flex;flex-direction:column;justify-content:flex-start;overflow:auto;padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{border:none;height:auto;min-width:200px;opacity:1;overflow:initial;padding-left:32px;padding-right:32px;position:static;visibility:visible;width:auto}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list{align-items:var(--layout-justification-setting,initial);display:flex;flex-direction:column}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container{background:transparent!important;color:inherit!important}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:auto;right:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){background-color:inherit;display:block;position:relative;width:100%;z-index:2}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{background-color:#fff;color:#000}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{background:transparent;border:none;color:currentColor;cursor:pointer;margin:0;padding:0;vertical-align:middle}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;display:block;height:24px;pointer-events:none;width:24px}.wp-block-navigation__responsive-container-open{display:flex}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{position:absolute;right:24px;top:24px;z-index:2}.wp-block-navigation__responsive-close{width:100%}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{height:100%;width:100%}html.has-modal-open{overflow:hidden}.wp-block-navigation .wp-block-navigation-item__label{overflow-wrap:break-word;word-break:normal}.wp-block-navigation-submenu{display:flex;position:relative}.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg{stroke:currentColor}button.wp-block-navigation-item__content{background-color:transparent;border:none;color:currentColor;font-family:inherit;font-size:inherit;line-height:inherit;text-align:left}.wp-block-navigation-submenu__toggle{cursor:pointer}.wp-block-navigation .wp-block-home-link__content{color:inherit;display:block}.wp-block-navigation[style*=text-decoration] .wp-block-home-link,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:active,.wp-block-navigation[style*=text-decoration] .wp-block-home-link__content:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:active,.wp-block-navigation:not([style*=text-decoration]) .wp-block-home-link__content:focus{text-decoration:none}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container{background-color:#fff;border:1px solid rgba(0,0,0,.15);color:#000}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-home-link__container .wp-block-home-link__container{top:-1px}.wp-block-navigation .wp-block-page-list{align-items:var(--layout-align,initial);background-color:inherit;display:flex;flex-direction:var(--layout-direction,initial);flex-wrap:var(--layout-wrap,wrap);justify-content:var(--layout-justify,initial)}.wp-block-navigation .wp-block-navigation-item{background-color:inherit}.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}p{overflow-wrap:break-word}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author__byline{font-size:.5em;margin-bottom:0;margin-top:0;width:100%}.wp-block-post-author__avatar{margin-right:1em}.wp-block-post-author__bio{font-size:.7em;margin-bottom:.7em}.wp-block-post-author__content{flex-basis:0;flex-grow:1}.wp-block-post-author__name{margin:0}.wp-block-post-comments>h3:first-of-type{margin-top:0}.wp-block-post-comments .commentlist{list-style:none;margin:0;padding:0}.wp-block-post-comments .commentlist .comment{min-height:2.25em;padding-left:3.25em}.wp-block-post-comments .commentlist .comment p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-post-comments .commentlist .children{list-style:none;margin:0;padding:0}.wp-block-post-comments .comment-author{line-height:1.5;margin-left:-3.25em}.wp-block-post-comments .comment-author .avatar{border-radius:1.5em;display:block;float:left;height:2.5em;margin-right:.75em;width:2.5em}.wp-block-post-comments .comment-author cite{font-style:normal}.wp-block-post-comments .comment-meta{line-height:1.5;margin-left:-3.25em}.wp-block-post-comments .comment-body .commentmetadata{font-size:.75em}.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments .comment-form-comment textarea{box-sizing:border-box;width:100%}.wp-block-post-comments .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-comments .reply{font-size:.75em;margin-bottom:1.4em}.wp-block-post-comments input:not([type=submit]),.wp-block-post-comments textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments textarea{padding:calc(.667em + 2px)}.wp-block-post-comments input[type=submit]{border:none}.wp-block-post-comments-form input[type=submit]{border:none;box-shadow:none;cursor:pointer;display:inline-block;overflow-wrap:break-word;text-align:center}.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{padding:calc(.667em + 2px)}.wp-block-post-comments-form .comment-form-comment textarea{box-sizing:border-box;display:block;width:100%}.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-comment label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments-form .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-excerpt__more-link{display:inline-block}.wp-block-post-terms__separator{white-space:pre-wrap}.wp-block-post-title a{display:inline-block}.wp-block-preformatted{white-space:pre-wrap}.wp-block-preformatted.has-background{padding:1.25em 2.375em}.wp-block-pullquote{margin:0 0 1em;overflow-wrap:break-word;padding:3em 0;text-align:center}.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{color:inherit}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright,.wp-block-pullquote.has-text-align-left,.wp-block-pullquote.has-text-align-right{max-width:420px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p,.wp-block-pullquote.has-text-align-left p,.wp-block-pullquote.has-text-align-right p{font-size:1.25em}.wp-block-pullquote p{font-size:1.75em;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote.has-text-align-left blockquote{text-align:left}.wp-block-pullquote.has-text-align-right blockquote{text-align:right}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:2em;margin-bottom:0;margin-top:0}.wp-block-pullquote.is-style-solid-color blockquote cite{font-style:normal;text-transform:none}.wp-block-pullquote cite{color:inherit}.wp-block-post-template,.wp-block-query-loop{list-style:none;margin-bottom:0;margin-top:0;max-width:100%;padding:0}.wp-block-post-template li,.wp-block-query-loop li{clear:both}.wp-block-post-template.is-flex-container,.wp-block-query-loop.is-flex-container{display:flex;flex-direction:row;flex-wrap:wrap}.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin:0 0 1.25em;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container li,.wp-block-query-loop.is-flex-container li{margin-right:1.25em}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li:nth-child(2n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li:nth-child(2n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li:nth-child(3n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li:nth-child(3n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li:nth-child(4n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li:nth-child(4n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li:nth-child(5n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li:nth-child(5n){margin-right:0}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li,.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li:nth-child(6n),.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li:nth-child(6n){margin-right:0}}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{margin-bottom:.5em;margin-right:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow{display:inline-block;margin-right:1ch}.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron){transform:scaleX(1)}.wp-block-query-pagination .wp-block-query-pagination-next-arrow{display:inline-block;margin-left:1ch}.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron){transform:scaleX(1)}.wp-block-query-pagination.aligncenter{justify-content:center}.wp-block-quote{overflow-wrap:break-word}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:1.125em;text-align:right}ul.wp-block-rss{list-style:none;padding:0}ul.wp-block-rss.wp-block-rss{box-sizing:border-box}ul.wp-block-rss.alignleft{margin-right:2em}ul.wp-block-rss.alignright{margin-left:2em}ul.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;list-style:none;padding:0}ul.wp-block-rss.is-grid li{margin:0 1em 1em 0;width:100%}@media (min-width:600px){ul.wp-block-rss.columns-2 li{width:calc(50% - 1em)}ul.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}ul.wp-block-rss.columns-4 li{width:calc(25% - 1em)}ul.wp-block-rss.columns-5 li{width:calc(20% - 1em)}ul.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;font-size:.8125em}.wp-block-search__button{background:#f7f7f7;border:1px solid #ccc;color:#32373c;font-family:inherit;font-size:inherit;line-height:inherit;margin-left:.625em;padding:.375em .625em;word-break:normal}.wp-block-search__button.has-icon{line-height:0}.wp-block-search__button svg{fill:currentColor;min-height:1.5em;min-width:1.5em}.wp-block-search__inside-wrapper{display:flex;flex:auto;flex-wrap:nowrap;max-width:100%}.wp-block-search__label{width:100%}.wp-block-search__input{border:1px solid #949494;flex-grow:1;font-family:inherit;font-size:inherit;line-height:inherit;min-width:3em;padding:8px}.wp-block-search.wp-block-search__button-only .wp-block-search__button{margin-left:0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{border:1px solid #949494;padding:4px}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input{border:none;border-radius:0;padding:0 0 0 .25em}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input:focus{outline:none}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button{padding:.125em .5em}.wp-block-search.aligncenter .wp-block-search__inside-wrapper{margin:auto}.wp-block-separator{border-bottom:1px solid;border-top:1px solid}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;height:auto;line-height:1;text-align:center}.wp-block-separator.is-style-dots:before{color:currentColor;content:"···";font-family:serif;font-size:1.5em;letter-spacing:2em;padding-left:2em}.wp-block-site-logo{line-height:0}.wp-block-site-logo a{display:inline-block}.wp-block-site-logo.is-default-size img{height:auto;width:120px}.wp-block-site-logo a,.wp-block-site-logo img{border-radius:inherit}.wp-block-site-logo.aligncenter{display:table}.wp-block-site-logo.is-style-rounded{border-radius:9999px}.wp-block-social-links{margin-left:0;padding-left:0;padding-right:0;text-indent:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{border-bottom:0;box-shadow:none;text-decoration:none}.wp-block-social-links .wp-social-link a{padding:.25em}.wp-block-social-links .wp-social-link svg{height:1em;width:1em}.wp-block-social-links.has-small-icon-size{font-size:16px}.wp-block-social-links,.wp-block-social-links.has-normal-icon-size{font-size:24px}.wp-block-social-links.has-large-icon-size{font-size:36px}.wp-block-social-links.has-huge-icon-size{font-size:48px}.wp-block-social-links.aligncenter{display:flex;justify-content:center}.wp-block-social-links.alignright{justify-content:flex-end}.wp-block-social-link{border-radius:9999px;display:block;height:auto;transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.wp-block-social-link{transition-delay:0s;transition-duration:0s}}.wp-block-social-link a{display:block;line-height:0;transition:transform .1s ease}.wp-block-social-link:hover{transform:scale(1.1)}.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited,.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg{fill:currentColor;color:currentColor}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1778f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0d66c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{background-color:#ff424d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{stroke:#000;background-color:#fefc00;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{background-color:#2aabee;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#1da1f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:red;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none}.wp-block-social-links.is-style-logos-only .wp-social-link a{padding:0}.wp-block-social-links.is-style-logos-only .wp-social-link svg{height:1.25em;width:1.25em}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1778f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0d66c2}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{color:#ff424d}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{stroke:#000;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{color:#2aabee}.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#1da1f2}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{color:#d32422}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:red}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-left:.66667em;padding-right:.66667em}.wp-block-spacer{clear:both}.wp-block-tag-cloud.aligncenter{text-align:center}.wp-block-tag-cloud.alignfull{padding-left:1em;padding-right:1em}.wp-block-tag-cloud a{display:inline-block;margin-right:5px}.wp-block-tag-cloud span{display:inline-block;margin-left:5px;text-decoration:none}.wp-block-table{margin:0 0 1em;overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{background-color:transparent;border-bottom:1px solid #f0f0f0;border-collapse:inherit;border-spacing:0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color>*,.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr{border-color:inherit}.wp-block-table table[style*=border-style]>*,.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr{border-style:inherit}.wp-block-table table[style*=border-width]>*,.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr{border-width:inherit}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 1em;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-left:0}.wp-block-text-columns .wp-block-column:last-child{margin-right:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{font-family:inherit;overflow:auto;white-space:pre-wrap}.wp-block-video{margin:0 0 1em}.wp-block-video video{width:100%}@supports (position:sticky){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-bottom:1em;margin-top:.5em}.wp-block-post-featured-image{margin-left:0;margin-right:0}.wp-block-post-featured-image a{display:inline-block}.wp-block-post-featured-image img{height:auto;max-width:100%;vertical-align:bottom;width:100%}.wp-block-post-featured-image.alignfull img,.wp-block-post-featured-image.alignwide img{width:100%}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.screen-reader-text:focus{clip:auto!important;background-color:#ddd;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
build/edit-site/index.js CHANGED
@@ -560,7 +560,7 @@ const TEMPLATES_TOP_LEVEL = [...TEMPLATES_PRIMARY, ...TEMPLATES_SECONDARY];
560
  const TEMPLATES_GENERAL = ['page-home'];
561
  const TEMPLATES_POSTS_PREFIXES = ['post-', 'author-', 'single-post-', 'tag-'];
562
  const TEMPLATES_PAGES_PREFIXES = ['page-'];
563
- const TEMPLATES_NEW_OPTIONS = (/* unused pure expression or super */ null && (['front-page', 'single-post', 'page', 'archive', 'search', '404', 'index']));
564
  const TEMPLATE_OVERRIDES = {
565
  singular: ['single', 'page'],
566
  index: ['archive', '404', 'search', 'singular', 'home'],
@@ -2728,7 +2728,7 @@ function getTemplateLocation(slug) {
2728
  return MENU_TEMPLATES_GENERAL;
2729
  }
2730
  function getUnusedTemplates(templates, showOnFront) {
2731
- const templateSlugs = map(templates, 'slug');
2732
  const supersededTemplates = templates.filter(({
2733
  slug
2734
  }) => isTemplateSuperseded(slug, templateSlugs, showOnFront));
@@ -3719,6 +3719,7 @@ function TemplateAreas({
3719
  ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/template-details/index.js
3720
 
3721
 
 
3722
  /**
3723
  * WordPress dependencies
3724
  */
@@ -3744,7 +3745,9 @@ function TemplateDetails({
3744
  title,
3745
  description
3746
  } = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_editor_namespaceObject.store).__experimentalGetTemplateInfo(template), []);
 
3747
  const {
 
3748
  revertTemplate
3749
  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
3750
  const templateSubMenu = (0,external_wp_element_namespaceObject.useMemo)(() => {
@@ -3764,6 +3767,11 @@ function TemplateDetails({
3764
  return null;
3765
  }
3766
 
 
 
 
 
 
3767
  const revert = () => {
3768
  revertTemplate(template);
3769
  onClose();
@@ -3789,13 +3797,19 @@ function TemplateDetails({
3789
  className: "edit-site-template-details__revert-button",
3790
  info: (0,external_wp_i18n_namespaceObject.__)('Restore template to theme default'),
3791
  onClick: revert
3792
- }, (0,external_wp_i18n_namespaceObject.__)('Clear customizations'))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
3793
- className: "edit-site-template-details__show-all-button",
 
3794
  href: (0,external_wp_url_namespaceObject.addQueryArgs)('edit.php', {
3795
  // TODO: We should update this to filter by template part's areas as well.
3796
  post_type: template.type
3797
  })
3798
- }, (0,external_wp_i18n_namespaceObject.sprintf)(
 
 
 
 
 
3799
  /* translators: the template part's area name ("Headers", "Sidebars") or "templates". */
3800
  (0,external_wp_i18n_namespaceObject.__)('Browse all %s'), templateSubMenu.title)));
3801
  }
@@ -3880,14 +3894,16 @@ function Header({
3880
  isInserterOpen,
3881
  isListViewOpen,
3882
  listViewShortcut,
3883
- isLoaded
 
3884
  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
3885
  const {
3886
  __experimentalGetPreviewDeviceType,
3887
  getEditedPostType,
3888
  getEditedPostId,
3889
  isInserterOpened,
3890
- isListViewOpened
 
3891
  } = select(store_store);
3892
  const {
3893
  getEditedEntityRecord
@@ -3912,7 +3928,8 @@ function Header({
3912
  templateType: postType,
3913
  isInserterOpen: isInserterOpened(),
3914
  isListViewOpen: isListViewOpened(),
3915
- listViewShortcut: getShortcutRepresentation('core/edit-site/toggle-list-view')
 
3916
  };
3917
  }, []);
3918
  const {
@@ -3935,7 +3952,7 @@ function Header({
3935
  className: "edit-site-header"
3936
  }, (0,external_wp_element_namespaceObject.createElement)("div", {
3937
  className: "edit-site-header_start"
3938
- }, (0,external_wp_element_namespaceObject.createElement)(main_dashboard_button.Slot, null, (0,external_wp_element_namespaceObject.createElement)(navigation_link, null)), (0,external_wp_element_namespaceObject.createElement)("div", {
3939
  className: "edit-site-header__toolbar"
3940
  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
3941
  ref: inserterButton,
@@ -7284,111 +7301,142 @@ function KeyboardShortcutsRegister() {
7284
  KeyboardShortcuts.Register = KeyboardShortcutsRegister;
7285
  /* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts);
7286
  //# sourceMappingURL=index.js.map
7287
- ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/url-query-controller/index.js
 
 
 
 
7288
  /**
7289
  * WordPress dependencies
7290
  */
7291
 
7292
 
7293
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7294
  /**
7295
- * Internal dependencies
7296
  */
7297
 
7298
 
7299
- function URLQueryController() {
7300
- const {
7301
- setTemplate,
7302
- setTemplatePart,
7303
- showHomepage,
7304
- setPage
7305
- } = (0,external_wp_data_namespaceObject.useDispatch)(store_store); // Set correct entity on load.
7306
 
7307
- (0,external_wp_element_namespaceObject.useEffect)(() => {
7308
- const url = window.location.href;
7309
- const postId = (0,external_wp_url_namespaceObject.getQueryArg)(url, 'postId');
7310
 
7311
- if (!postId) {
7312
- showHomepage();
7313
- return;
7314
- }
7315
 
7316
- const postType = (0,external_wp_url_namespaceObject.getQueryArg)(url, 'postType');
7317
 
7318
- if ('page' === postType || 'post' === postType) {
7319
- setPage({
7320
- context: {
7321
- postType,
7322
- postId
7323
- }
7324
- }); // Resolves correct template based on ID.
7325
- } else if ('wp_template' === postType) {
7326
- setTemplate(postId);
7327
- } else if ('wp_template_part' === postType) {
7328
- setTemplatePart(postId);
7329
- } else {
7330
- showHomepage();
7331
- }
7332
- }, []); // Update page URL when context changes.
7333
 
7334
- const pageContext = useCurrentPageContext();
7335
- (0,external_wp_element_namespaceObject.useEffect)(() => {
7336
- const newUrl = pageContext ? (0,external_wp_url_namespaceObject.addQueryArgs)(window.location.href, pageContext) : (0,external_wp_url_namespaceObject.removeQueryArgs)(window.location.href, 'postType', 'postId');
7337
- window.history.replaceState({}, '', newUrl);
7338
- }, [pageContext]);
7339
- return null;
7340
- }
7341
 
7342
- function useCurrentPageContext() {
7343
- return (0,external_wp_data_namespaceObject.useSelect)(select => {
7344
- var _page$context, _page$context2;
7345
 
7346
- const {
7347
- getEditedPostType,
7348
- getEditedPostId,
7349
- getPage
7350
- } = select(store_store);
7351
- const page = getPage();
7352
 
7353
- let _postId = getEditedPostId(),
7354
- _postType = getEditedPostType(); // This doesn't seem right to me,
7355
- // we shouldn't be using the "page" and the "template" in the same way.
7356
- // This need to be investigated.
7357
 
 
 
7358
 
7359
- if (page !== null && page !== void 0 && (_page$context = page.context) !== null && _page$context !== void 0 && _page$context.postId && page !== null && page !== void 0 && (_page$context2 = page.context) !== null && _page$context2 !== void 0 && _page$context2.postType) {
7360
- _postId = page.context.postId;
7361
- _postType = page.context.postType;
7362
- }
7363
 
7364
- if (_postId && _postType) {
7365
- return {
7366
- postId: _postId,
7367
- postType: _postType
7368
- };
 
 
 
 
 
 
 
7369
  }
7370
 
7371
- return null;
7372
- }, []);
7373
- }
7374
- //# sourceMappingURL=index.js.map
7375
- ;// CONCATENATED MODULE: ./packages/icons/build-module/library/close.js
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7376
 
 
 
 
7377
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7378
  /**
7379
- * WordPress dependencies
7380
  */
 
7381
 
7382
- const close_close = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
7383
- xmlns: "http://www.w3.org/2000/svg",
7384
- viewBox: "0 0 24 24"
7385
- }, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
7386
- d: "M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"
7387
- }));
7388
- /* harmony default export */ var library_close = (close_close);
7389
- //# sourceMappingURL=close.js.map
7390
- ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/secondary-sidebar/inserter-sidebar.js
7391
-
7392
 
7393
 
7394
  /**
@@ -7404,44 +7452,71 @@ const close_close = (0,external_wp_element_namespaceObject.createElement)(extern
7404
  */
7405
 
7406
 
7407
- function InserterSidebar() {
 
 
 
 
7408
  const {
7409
- setIsInserterOpened
 
 
 
 
 
 
 
 
 
 
 
 
 
7410
  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
7411
- const insertionPoint = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).__experimentalGetInsertionPoint(), []);
7412
- const isMobile = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium', '<');
7413
- const [inserterDialogRef, inserterDialogProps] = (0,external_wp_compose_namespaceObject.__experimentalUseDialog)({
7414
- onClose: () => setIsInserterOpened(false)
7415
- });
7416
- return (0,external_wp_element_namespaceObject.createElement)("div", _extends({
7417
- ref: inserterDialogRef
7418
- }, inserterDialogProps, {
7419
- className: "edit-site-editor__inserter-panel"
7420
- }), (0,external_wp_element_namespaceObject.createElement)("div", {
7421
- className: "edit-site-editor__inserter-panel-header"
 
 
 
 
 
 
 
 
7422
  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
7423
- icon: library_close,
7424
- onClick: () => setIsInserterOpened(false)
7425
- })), (0,external_wp_element_namespaceObject.createElement)("div", {
7426
- className: "edit-site-editor__inserter-panel-content"
7427
- }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalLibrary, {
7428
- showInserterHelpPanel: true,
7429
- shouldFocusBlock: isMobile,
7430
- rootClientId: insertionPoint.rootClientId,
7431
- __experimentalInsertionIndex: insertionPoint.insertionIndex,
7432
- __experimentalFilterValue: insertionPoint.filterValue
 
7433
  })));
7434
  }
7435
- //# sourceMappingURL=inserter-sidebar.js.map
7436
- ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/secondary-sidebar/list-view-sidebar.js
7437
 
7438
 
7439
  /**
7440
- * WordPress dependencies
7441
  */
7442
 
7443
-
7444
-
 
7445
 
7446
 
7447
 
@@ -7451,69 +7526,1302 @@ function InserterSidebar() {
7451
  */
7452
 
7453
 
7454
- function ListViewSidebar() {
7455
- const {
7456
- setIsListViewOpened
7457
- } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
7458
- const {
7459
- clearSelectedBlock,
7460
- selectBlock
7461
- } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
7462
 
7463
- async function selectEditorBlock(clientId) {
7464
- await clearSelectedBlock();
7465
- selectBlock(clientId, -1);
7466
- }
7467
 
7468
- const focusOnMountRef = (0,external_wp_compose_namespaceObject.useFocusOnMount)('firstElement');
7469
- const focusReturnRef = (0,external_wp_compose_namespaceObject.useFocusReturn)();
7470
 
7471
- function closeOnEscape(event) {
7472
- if (event.keyCode === external_wp_keycodes_namespaceObject.ESCAPE && !event.defaultPrevented) {
7473
- setIsListViewOpened(false);
 
 
 
 
 
 
 
 
 
 
7474
  }
7475
  }
7476
 
7477
- const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(ListViewSidebar);
7478
- const labelId = `edit-site-editor__list-view-panel-label-${instanceId}`;
7479
- return (// eslint-disable-next-line jsx-a11y/no-static-element-interactions
7480
- (0,external_wp_element_namespaceObject.createElement)("div", {
7481
- "aria-labelledby": labelId,
7482
- className: "edit-site-editor__list-view-panel",
7483
- onKeyDown: closeOnEscape
7484
- }, (0,external_wp_element_namespaceObject.createElement)("div", {
7485
- className: "edit-site-editor__list-view-panel-header"
7486
- }, (0,external_wp_element_namespaceObject.createElement)("strong", {
7487
- id: labelId
7488
- }, (0,external_wp_i18n_namespaceObject.__)('List view')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
7489
- icon: close_small,
7490
- label: (0,external_wp_i18n_namespaceObject.__)('Close list view sidebar'),
7491
- onClick: () => setIsListViewOpened(false)
7492
- })), (0,external_wp_element_namespaceObject.createElement)("div", {
7493
- className: "edit-site-editor__list-view-panel-content",
7494
- ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([focusReturnRef, focusOnMountRef])
7495
- }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalListView, {
7496
- onSelect: selectEditorBlock,
7497
- showNestedBlocks: true,
7498
- __experimentalFeatures: true,
7499
- __experimentalPersistentListViewFeatures: true
7500
- })))
7501
- );
7502
- }
7503
- //# sourceMappingURL=list-view-sidebar.js.map
7504
- ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/error-boundary/index.js
7505
 
 
 
 
 
 
 
 
 
 
7506
 
7507
- /**
7508
- * WordPress dependencies
7509
- */
 
 
 
 
7510
 
 
 
7511
 
 
 
 
 
 
 
 
 
 
 
 
 
7512
 
 
 
 
7513
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7514
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7515
 
7516
- function CopyButton({
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7517
  text,
7518
  children
7519
  }) {
@@ -7804,8 +9112,10 @@ function GlobalStylesProvider({
7804
 
7805
 
7806
 
 
7807
  const interfaceLabels = {
7808
- secondarySidebar: (0,external_wp_i18n_namespaceObject.__)('Block Library')
 
7809
  };
7810
 
7811
  function Editor({
@@ -7873,7 +9183,8 @@ function Editor({
7873
 
7874
  const {
7875
  defaultTemplateTypes,
7876
- defaultTemplatePartAreas
 
7877
  } = settings;
7878
  (0,external_wp_element_namespaceObject.useEffect)(() => {
7879
  updateEditorSettings({
@@ -7941,6 +9252,7 @@ function Editor({
7941
  isActive: true
7942
  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.UnsavedChangesWarning, null), (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcuts.Register, null), (0,external_wp_element_namespaceObject.createElement)(SidebarComplementaryAreaFills, null), (0,external_wp_element_namespaceObject.createElement)(interface_skeleton, {
7943
  labels: interfaceLabels,
 
7944
  secondarySidebar: secondarySidebar(),
7945
  sidebar: sidebarIsOpened && (0,external_wp_element_namespaceObject.createElement)(complementary_area.Slot, {
7946
  scope: "core/edit-site"
@@ -7973,106 +9285,6 @@ function Editor({
7973
 
7974
  /* harmony default export */ var editor = (Editor);
7975
  //# sourceMappingURL=index.js.map
7976
- ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-toggle/index.js
7977
-
7978
-
7979
- /**
7980
- * WordPress dependencies
7981
- */
7982
-
7983
-
7984
-
7985
-
7986
-
7987
-
7988
- /**
7989
- * Internal dependencies
7990
- */
7991
-
7992
-
7993
-
7994
- function NavigationToggle({
7995
- icon,
7996
- isOpen
7997
- }) {
7998
- const {
7999
- isRequestingSiteIcon,
8000
- navigationPanelMenu,
8001
- siteIconUrl
8002
- } = (0,external_wp_data_namespaceObject.useSelect)(select => {
8003
- const {
8004
- getCurrentTemplateNavigationPanelSubMenu
8005
- } = select(store_store);
8006
- const {
8007
- getEntityRecord,
8008
- isResolving
8009
- } = select(external_wp_coreData_namespaceObject.store);
8010
- const siteData = getEntityRecord('root', '__unstableBase', undefined) || {};
8011
- return {
8012
- isRequestingSiteIcon: isResolving('core', 'getEntityRecord', ['root', '__unstableBase', undefined]),
8013
- navigationPanelMenu: getCurrentTemplateNavigationPanelSubMenu(),
8014
- siteIconUrl: siteData.site_icon_url
8015
- };
8016
- }, []);
8017
- const {
8018
- openNavigationPanelToMenu,
8019
- setIsNavigationPanelOpened
8020
- } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
8021
- const disableMotion = (0,external_wp_compose_namespaceObject.useReducedMotion)();
8022
-
8023
- const toggleNavigationPanel = () => {
8024
- if (isOpen) {
8025
- setIsNavigationPanelOpened(false);
8026
- return;
8027
- }
8028
-
8029
- openNavigationPanelToMenu(navigationPanelMenu);
8030
- };
8031
-
8032
- let buttonIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
8033
- size: "36px",
8034
- icon: library_wordpress
8035
- });
8036
- const effect = {
8037
- expand: {
8038
- scale: 1.7,
8039
- borderRadius: 0,
8040
- transition: {
8041
- type: 'tween',
8042
- duration: '0.2'
8043
- }
8044
- }
8045
- };
8046
-
8047
- if (siteIconUrl) {
8048
- buttonIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableMotion.img, {
8049
- variants: !disableMotion && effect,
8050
- alt: (0,external_wp_i18n_namespaceObject.__)('Site Icon'),
8051
- className: "edit-site-navigation-toggle__site-icon",
8052
- src: siteIconUrl
8053
- });
8054
- } else if (isRequestingSiteIcon) {
8055
- buttonIcon = null;
8056
- } else if (icon) {
8057
- buttonIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
8058
- size: "36px",
8059
- icon: icon
8060
- });
8061
- }
8062
-
8063
- return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableMotion.div, {
8064
- className: 'edit-site-navigation-toggle' + (isOpen ? ' is-open' : ''),
8065
- whileHover: "expand"
8066
- }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
8067
- className: "edit-site-navigation-toggle__button has-icon",
8068
- label: (0,external_wp_i18n_namespaceObject.__)('Toggle navigation'),
8069
- onClick: toggleNavigationPanel,
8070
- showTooltip: true
8071
- }, buttonIcon));
8072
- }
8073
-
8074
- /* harmony default export */ var navigation_toggle = (NavigationToggle);
8075
- //# sourceMappingURL=index.js.map
8076
  ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/sidebar/plugin-sidebar/index.js
8077
 
8078
 
@@ -8341,7 +9553,9 @@ function initialize(id, settings) {
8341
  settings.__experimentalFetchLinkSuggestions = (search, searchOptions) => (0,external_wp_coreData_namespaceObject.__experimentalFetchLinkSuggestions)(search, searchOptions, settings);
8342
 
8343
  settings.__experimentalFetchRichUrlData = external_wp_coreData_namespaceObject.__experimentalFetchUrlData;
8344
- settings.__experimentalSpotlightEntityBlocks = ['core/template-part'];
 
 
8345
  const target = document.getElementById(id);
8346
  const reboot = reinitializeEditor.bind(null, target, settings);
8347
 
560
  const TEMPLATES_GENERAL = ['page-home'];
561
  const TEMPLATES_POSTS_PREFIXES = ['post-', 'author-', 'single-post-', 'tag-'];
562
  const TEMPLATES_PAGES_PREFIXES = ['page-'];
563
+ const TEMPLATES_NEW_OPTIONS = ['front-page', 'single-post', 'page', 'archive', 'search', '404', 'index'];
564
  const TEMPLATE_OVERRIDES = {
565
  singular: ['single', 'page'],
566
  index: ['archive', '404', 'search', 'singular', 'home'],
2728
  return MENU_TEMPLATES_GENERAL;
2729
  }
2730
  function getUnusedTemplates(templates, showOnFront) {
2731
+ const templateSlugs = (0,external_lodash_namespaceObject.map)(templates, 'slug');
2732
  const supersededTemplates = templates.filter(({
2733
  slug
2734
  }) => isTemplateSuperseded(slug, templateSlugs, showOnFront));
3719
  ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/template-details/index.js
3720
 
3721
 
3722
+
3723
  /**
3724
  * WordPress dependencies
3725
  */
3745
  title,
3746
  description
3747
  } = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_editor_namespaceObject.store).__experimentalGetTemplateInfo(template), []);
3748
+ const newMenuSidebar = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).getSettings().__experimentalNewMenuSidebar);
3749
  const {
3750
+ openNavigationPanelToMenu,
3751
  revertTemplate
3752
  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
3753
  const templateSubMenu = (0,external_wp_element_namespaceObject.useMemo)(() => {
3767
  return null;
3768
  }
3769
 
3770
+ const showTemplateInSidebar = () => {
3771
+ onClose();
3772
+ openNavigationPanelToMenu(templateSubMenu.menu);
3773
+ };
3774
+
3775
  const revert = () => {
3776
  revertTemplate(template);
3777
  onClose();
3797
  className: "edit-site-template-details__revert-button",
3798
  info: (0,external_wp_i18n_namespaceObject.__)('Restore template to theme default'),
3799
  onClick: revert
3800
+ }, (0,external_wp_i18n_namespaceObject.__)('Clear customizations'))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({
3801
+ className: "edit-site-template-details__show-all-button"
3802
+ }, newMenuSidebar ? {
3803
  href: (0,external_wp_url_namespaceObject.addQueryArgs)('edit.php', {
3804
  // TODO: We should update this to filter by template part's areas as well.
3805
  post_type: template.type
3806
  })
3807
+ } : {
3808
+ onClick: showTemplateInSidebar,
3809
+ 'aria-label': (0,external_wp_i18n_namespaceObject.sprintf)(
3810
+ /* translators: %1$s: the template part's area name ("Headers", "Sidebars") or "templates". */
3811
+ (0,external_wp_i18n_namespaceObject.__)('Browse all %1$s. This will open the %1$s menu in the navigation side panel.'), templateSubMenu.title)
3812
+ }), (0,external_wp_i18n_namespaceObject.sprintf)(
3813
  /* translators: the template part's area name ("Headers", "Sidebars") or "templates". */
3814
  (0,external_wp_i18n_namespaceObject.__)('Browse all %s'), templateSubMenu.title)));
3815
  }
3894
  isInserterOpen,
3895
  isListViewOpen,
3896
  listViewShortcut,
3897
+ isLoaded,
3898
+ newMenuSidebar
3899
  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
3900
  const {
3901
  __experimentalGetPreviewDeviceType,
3902
  getEditedPostType,
3903
  getEditedPostId,
3904
  isInserterOpened,
3905
+ isListViewOpened,
3906
+ getSettings
3907
  } = select(store_store);
3908
  const {
3909
  getEditedEntityRecord
3928
  templateType: postType,
3929
  isInserterOpen: isInserterOpened(),
3930
  isListViewOpen: isListViewOpened(),
3931
+ listViewShortcut: getShortcutRepresentation('core/edit-site/toggle-list-view'),
3932
+ newMenuSidebar: getSettings().__experimentalNewMenuSidebar
3933
  };
3934
  }, []);
3935
  const {
3952
  className: "edit-site-header"
3953
  }, (0,external_wp_element_namespaceObject.createElement)("div", {
3954
  className: "edit-site-header_start"
3955
+ }, newMenuSidebar && (0,external_wp_element_namespaceObject.createElement)(main_dashboard_button.Slot, null, (0,external_wp_element_namespaceObject.createElement)(navigation_link, null)), (0,external_wp_element_namespaceObject.createElement)("div", {
3956
  className: "edit-site-header__toolbar"
3957
  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
3958
  ref: inserterButton,
7301
  KeyboardShortcuts.Register = KeyboardShortcutsRegister;
7302
  /* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts);
7303
  //# sourceMappingURL=index.js.map
7304
+ ;// CONCATENATED MODULE: external ["wp","htmlEntities"]
7305
+ var external_wp_htmlEntities_namespaceObject = window["wp"]["htmlEntities"];
7306
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/template-preview.js
7307
+
7308
+
7309
  /**
7310
  * WordPress dependencies
7311
  */
7312
 
7313
 
7314
 
7315
+ function TemplatePreview({
7316
+ rawContent,
7317
+ blockContext
7318
+ }) {
7319
+ const blocks = (0,external_wp_element_namespaceObject.useMemo)(() => rawContent ? (0,external_wp_blocks_namespaceObject.parse)(rawContent) : [], [rawContent]);
7320
+
7321
+ if (!blocks || blocks.length === 0) {
7322
+ return null;
7323
+ }
7324
+
7325
+ if (blockContext) {
7326
+ return (0,external_wp_element_namespaceObject.createElement)("div", {
7327
+ className: "edit-site-navigation-panel__preview"
7328
+ }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockContextProvider, {
7329
+ value: blockContext
7330
+ }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockPreview, {
7331
+ blocks: blocks,
7332
+ viewportWidth: 1200
7333
+ })));
7334
+ }
7335
+
7336
+ return (0,external_wp_element_namespaceObject.createElement)("div", {
7337
+ className: "edit-site-navigation-panel__preview"
7338
+ }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockPreview, {
7339
+ blocks: blocks,
7340
+ viewportWidth: 1200
7341
+ }));
7342
+ }
7343
+ //# sourceMappingURL=template-preview.js.map
7344
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/content-navigation-item.js
7345
+
7346
+
7347
  /**
7348
+ * WordPress dependencies
7349
  */
7350
 
7351
 
 
 
 
 
 
 
 
7352
 
 
 
 
7353
 
 
 
 
 
7354
 
 
7355
 
7356
+ /**
7357
+ * Internal dependencies
7358
+ */
 
 
 
 
 
 
 
 
 
 
 
 
7359
 
 
 
 
 
 
 
 
7360
 
 
 
 
7361
 
 
 
 
 
 
 
7362
 
 
 
 
 
7363
 
7364
+ const getTitle = entity => {
7365
+ var _entity$title;
7366
 
7367
+ const title = entity.taxonomy ? entity.name : entity === null || entity === void 0 ? void 0 : (_entity$title = entity.title) === null || _entity$title === void 0 ? void 0 : _entity$title.rendered; // Make sure encoded characters are displayed as the characters they represent.
 
 
 
7368
 
7369
+ const titleElement = document.createElement('div');
7370
+ titleElement.innerHTML = title;
7371
+ return titleElement.textContent || titleElement.innerText || '';
7372
+ };
7373
+
7374
+ function ContentNavigationItem({
7375
+ item
7376
+ }) {
7377
+ const [isPreviewVisible, setIsPreviewVisible] = (0,external_wp_element_namespaceObject.useState)(false);
7378
+ const previewContent = (0,external_wp_data_namespaceObject.useSelect)(select => {
7379
+ if (!isPreviewVisible) {
7380
+ return null;
7381
  }
7382
 
7383
+ const template = select(external_wp_coreData_namespaceObject.store).__experimentalGetTemplateForLink(item.link);
7384
+
7385
+ return template === null || template === void 0 ? void 0 : template.content;
7386
+ }, [isPreviewVisible]);
7387
+ const {
7388
+ setPage,
7389
+ setIsNavigationPanelOpened
7390
+ } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
7391
+ const onActivateItem = (0,external_wp_element_namespaceObject.useCallback)(() => {
7392
+ const {
7393
+ type,
7394
+ slug,
7395
+ link,
7396
+ id
7397
+ } = item;
7398
+ setPage({
7399
+ type,
7400
+ slug,
7401
+ path: (0,external_wp_url_namespaceObject.getPathAndQueryString)(link),
7402
+ context: {
7403
+ postType: type,
7404
+ postId: id
7405
+ }
7406
+ });
7407
+ setIsNavigationPanelOpened(false);
7408
+ }, [setPage, item]);
7409
 
7410
+ if (!item) {
7411
+ return null;
7412
+ }
7413
 
7414
+ return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
7415
+ className: "edit-site-navigation-panel__content-item",
7416
+ item: `${item.taxonomy || item.type}-${item.id}`,
7417
+ title: getTitle(item) || (0,external_wp_i18n_namespaceObject.__)('(no title)'),
7418
+ onClick: onActivateItem,
7419
+ onMouseEnter: () => setIsPreviewVisible(true),
7420
+ onMouseLeave: () => setIsPreviewVisible(false)
7421
+ }), isPreviewVisible && previewContent && (0,external_wp_element_namespaceObject.createElement)(NavigationPanelPreviewFill, null, (0,external_wp_element_namespaceObject.createElement)(TemplatePreview, {
7422
+ rawContent: previewContent,
7423
+ blockContext: {
7424
+ postType: item.type,
7425
+ postId: item.id
7426
+ }
7427
+ })));
7428
+ }
7429
+ //# sourceMappingURL=content-navigation-item.js.map
7430
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/utils.js
7431
  /**
7432
+ * External dependencies
7433
  */
7434
+ // @see packages/block-editor/src/components/inserter/search-items.js
7435
 
7436
+ const normalizeInput = input => (0,external_lodash_namespaceObject.deburr)(input).replace(/^\//, '').toLowerCase();
7437
+ const normalizedSearch = (title, search) => -1 !== normalizeInput(title).indexOf(normalizeInput(search));
7438
+ //# sourceMappingURL=utils.js.map
7439
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/template-navigation-item.js
 
 
 
 
 
 
7440
 
7441
 
7442
  /**
7452
  */
7453
 
7454
 
7455
+
7456
+
7457
+ function TemplateNavigationItem({
7458
+ item
7459
+ }) {
7460
  const {
7461
+ title,
7462
+ description
7463
+ } = (0,external_wp_data_namespaceObject.useSelect)(select => {
7464
+ var _item$title;
7465
+
7466
+ return 'wp_template' === item.type ? select(external_wp_editor_namespaceObject.store).__experimentalGetTemplateInfo(item) : {
7467
+ title: (item === null || item === void 0 ? void 0 : (_item$title = item.title) === null || _item$title === void 0 ? void 0 : _item$title.rendered) || (item === null || item === void 0 ? void 0 : item.slug),
7468
+ description: ''
7469
+ };
7470
+ }, []);
7471
+ const {
7472
+ setTemplate,
7473
+ setTemplatePart,
7474
+ setIsNavigationPanelOpened
7475
  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
7476
+ const [isPreviewVisible, setIsPreviewVisible] = (0,external_wp_element_namespaceObject.useState)(false);
7477
+
7478
+ if (!item) {
7479
+ return null;
7480
+ }
7481
+
7482
+ const onActivateItem = () => {
7483
+ if ('wp_template' === item.type) {
7484
+ setTemplate(item.id, item.slug);
7485
+ } else {
7486
+ setTemplatePart(item.id);
7487
+ }
7488
+
7489
+ setIsNavigationPanelOpened(false);
7490
+ };
7491
+
7492
+ return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
7493
+ className: "edit-site-navigation-panel__template-item",
7494
+ item: `${item.type}-${item.id}`
7495
  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
7496
+ onClick: onActivateItem,
7497
+ onMouseEnter: () => setIsPreviewVisible(true),
7498
+ onMouseLeave: () => setIsPreviewVisible(false)
7499
+ }, (0,external_wp_element_namespaceObject.createElement)("span", {
7500
+ className: "edit-site-navigation-panel__info-wrapper"
7501
+ }, (0,external_wp_element_namespaceObject.createElement)("div", {
7502
+ className: "edit-site-navigation-panel__template-item-title"
7503
+ }, 'draft' === item.status && (0,external_wp_element_namespaceObject.createElement)("em", null, (0,external_wp_i18n_namespaceObject.__)('[Draft]')), title), description && (0,external_wp_element_namespaceObject.createElement)("div", {
7504
+ className: "edit-site-navigation-panel__template-item-description"
7505
+ }, description))), isPreviewVisible && (0,external_wp_element_namespaceObject.createElement)(NavigationPanelPreviewFill, null, (0,external_wp_element_namespaceObject.createElement)(TemplatePreview, {
7506
+ rawContent: item.content.raw
7507
  })));
7508
  }
7509
+ //# sourceMappingURL=template-navigation-item.js.map
7510
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/search-results.js
7511
 
7512
 
7513
  /**
7514
+ * External dependencies
7515
  */
7516
 
7517
+ /**
7518
+ * WordPress dependencies
7519
+ */
7520
 
7521
 
7522
 
7526
  */
7527
 
7528
 
 
 
 
 
 
 
 
 
7529
 
 
 
 
 
7530
 
 
 
7531
 
7532
+
7533
+ function SearchResults({
7534
+ items,
7535
+ search,
7536
+ disableFilter
7537
+ }) {
7538
+ let itemType = null;
7539
+
7540
+ if ((items === null || items === void 0 ? void 0 : items.length) > 0) {
7541
+ if (items[0].taxonomy) {
7542
+ itemType = 'taxonomy';
7543
+ } else {
7544
+ itemType = items[0].type;
7545
  }
7546
  }
7547
 
7548
+ const itemInfos = (0,external_wp_data_namespaceObject.useSelect)(select => {
7549
+ if (itemType === null || items === null) {
7550
+ return [];
7551
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7552
 
7553
+ if (itemType === 'wp_template') {
7554
+ const {
7555
+ __experimentalGetTemplateInfo: getTemplateInfo
7556
+ } = select(external_wp_editor_namespaceObject.store);
7557
+ return items.map(item => ({
7558
+ slug: item.slug,
7559
+ ...getTemplateInfo(item)
7560
+ }));
7561
+ }
7562
 
7563
+ if (itemType === 'taxonomy') {
7564
+ return items.map(item => ({
7565
+ slug: item.slug,
7566
+ title: item.name,
7567
+ description: item.description
7568
+ }));
7569
+ }
7570
 
7571
+ return items.map(item => {
7572
+ var _item$title, _item$excerpt;
7573
 
7574
+ return {
7575
+ slug: item.slug,
7576
+ title: (_item$title = item.title) === null || _item$title === void 0 ? void 0 : _item$title.rendered,
7577
+ description: (_item$excerpt = item.excerpt) === null || _item$excerpt === void 0 ? void 0 : _item$excerpt.rendered
7578
+ };
7579
+ });
7580
+ }, [items, itemType]);
7581
+ const itemInfosMap = (0,external_wp_element_namespaceObject.useMemo)(() => (0,external_lodash_namespaceObject.keyBy)(itemInfos, 'slug'), [itemInfos]);
7582
+ const itemsFiltered = (0,external_wp_element_namespaceObject.useMemo)(() => {
7583
+ if (items === null || search.length === 0) {
7584
+ return [];
7585
+ }
7586
 
7587
+ if (disableFilter) {
7588
+ return items;
7589
+ }
7590
 
7591
+ return items.filter(({
7592
+ slug
7593
+ }) => {
7594
+ const {
7595
+ title,
7596
+ description
7597
+ } = itemInfosMap[slug];
7598
+ return normalizedSearch(slug, search) || normalizedSearch(title, search) || normalizedSearch(description, search);
7599
+ });
7600
+ }, [items, itemInfos, search]);
7601
+ const itemsSorted = (0,external_wp_element_namespaceObject.useMemo)(() => {
7602
+ if (!itemsFiltered) {
7603
+ return [];
7604
+ }
7605
 
7606
+ return (0,external_lodash_namespaceObject.sortBy)(itemsFiltered, [({
7607
+ slug
7608
+ }) => {
7609
+ const {
7610
+ title
7611
+ } = itemInfosMap[slug];
7612
+ return !normalizedSearch(title, search);
7613
+ }]);
7614
+ }, [itemsFiltered, search]);
7615
+ const ItemComponent = itemType === 'wp_template' || itemType === 'wp_template_part' ? TemplateNavigationItem : ContentNavigationItem;
7616
+ return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationGroup, {
7617
+ title: (0,external_wp_i18n_namespaceObject.__)('Search results')
7618
+ }, (0,external_lodash_namespaceObject.map)(itemsSorted, item => (0,external_wp_element_namespaceObject.createElement)(ItemComponent, {
7619
+ item: item,
7620
+ key: `${item.taxonomy || item.type}-${item.id}`
7621
+ })));
7622
+ }
7623
+ //# sourceMappingURL=search-results.js.map
7624
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/use-debounced-search.js
7625
+ /**
7626
+ * External dependencies
7627
+ */
7628
 
7629
+ /**
7630
+ * WordPress dependencies
7631
+ */
7632
+
7633
+
7634
+ /**
7635
+ * Internal dependencies
7636
+ */
7637
+
7638
+
7639
+ function useDebouncedSearch() {
7640
+ // The value used by the NavigationMenu to control the input field.
7641
+ const [search, setSearch] = (0,external_wp_element_namespaceObject.useState)(''); // The value used to actually perform the search query.
7642
+
7643
+ const [searchQuery, setSearchQuery] = (0,external_wp_element_namespaceObject.useState)('');
7644
+ const [isDebouncing, setIsDebouncing] = (0,external_wp_element_namespaceObject.useState)(false);
7645
+ (0,external_wp_element_namespaceObject.useEffect)(() => {
7646
+ setIsDebouncing(false);
7647
+ }, [searchQuery]);
7648
+ const debouncedSetSearchQuery = (0,external_wp_element_namespaceObject.useCallback)((0,external_lodash_namespaceObject.debounce)(setSearchQuery, SEARCH_DEBOUNCE_IN_MS), [setSearchQuery]);
7649
+ const onSearch = (0,external_wp_element_namespaceObject.useCallback)(value => {
7650
+ setSearch(value);
7651
+ debouncedSetSearchQuery(value);
7652
+ setIsDebouncing(true);
7653
+ }, [setSearch, setIsDebouncing, debouncedSetSearchQuery]);
7654
+ return {
7655
+ search,
7656
+ searchQuery,
7657
+ isDebouncing,
7658
+ onSearch
7659
+ };
7660
+ }
7661
+ //# sourceMappingURL=use-debounced-search.js.map
7662
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/menus/content-pages.js
7663
+
7664
+
7665
+ /**
7666
+ * WordPress dependencies
7667
+ */
7668
+
7669
+
7670
+
7671
+
7672
+ /**
7673
+ * Internal dependencies
7674
+ */
7675
+
7676
+
7677
+
7678
+
7679
+
7680
+ function ContentPagesMenu() {
7681
+ const {
7682
+ search,
7683
+ searchQuery,
7684
+ onSearch,
7685
+ isDebouncing
7686
+ } = useDebouncedSearch();
7687
+ const {
7688
+ pages,
7689
+ isResolved
7690
+ } = (0,external_wp_data_namespaceObject.useSelect)(select => {
7691
+ const {
7692
+ getEntityRecords,
7693
+ hasFinishedResolution
7694
+ } = select(external_wp_coreData_namespaceObject.store);
7695
+ const query = searchQuery ? {
7696
+ search: searchQuery
7697
+ } : undefined;
7698
+ const getEntityRecordsArgs = ['postType', 'page', query];
7699
+ const hasResolvedPosts = hasFinishedResolution('getEntityRecords', getEntityRecordsArgs);
7700
+ return {
7701
+ pages: getEntityRecords(...getEntityRecordsArgs),
7702
+ isResolved: hasResolvedPosts
7703
+ };
7704
+ }, [searchQuery]);
7705
+ const shouldShowLoadingForDebouncing = search && isDebouncing;
7706
+ const showLoading = !isResolved || shouldShowLoadingForDebouncing;
7707
+ return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationMenu, {
7708
+ menu: MENU_CONTENT_PAGES,
7709
+ title: (0,external_wp_i18n_namespaceObject.__)('Pages'),
7710
+ parentMenu: MENU_ROOT,
7711
+ hasSearch: true,
7712
+ onSearch: onSearch,
7713
+ search: search,
7714
+ isSearchDebouncing: isDebouncing || !isResolved
7715
+ }, search && !isDebouncing && (0,external_wp_element_namespaceObject.createElement)(SearchResults, {
7716
+ items: pages,
7717
+ search: search,
7718
+ disableFilter: true
7719
+ }), !search && (pages === null || pages === void 0 ? void 0 : pages.map(page => (0,external_wp_element_namespaceObject.createElement)(ContentNavigationItem, {
7720
+ item: page,
7721
+ key: `${page.type}-${page.id}`
7722
+ }))), showLoading && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
7723
+ title: (0,external_wp_i18n_namespaceObject.__)('Loading…'),
7724
+ isText: true
7725
+ }));
7726
+ }
7727
+ //# sourceMappingURL=content-pages.js.map
7728
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/menus/content-categories.js
7729
+
7730
+
7731
+ /**
7732
+ * WordPress dependencies
7733
+ */
7734
+
7735
+
7736
+
7737
+
7738
+ /**
7739
+ * Internal dependencies
7740
+ */
7741
+
7742
+
7743
+
7744
+
7745
+
7746
+ function ContentCategoriesMenu() {
7747
+ const {
7748
+ search,
7749
+ searchQuery,
7750
+ onSearch,
7751
+ isDebouncing
7752
+ } = useDebouncedSearch();
7753
+ const {
7754
+ categories,
7755
+ isResolved
7756
+ } = (0,external_wp_data_namespaceObject.useSelect)(select => {
7757
+ const {
7758
+ getEntityRecords,
7759
+ hasFinishedResolution
7760
+ } = select(external_wp_coreData_namespaceObject.store);
7761
+ const query = searchQuery ? {
7762
+ search: searchQuery
7763
+ } : undefined;
7764
+ const getEntityRecordsArgs = ['taxonomy', 'category', query];
7765
+ const hasResolvedPosts = hasFinishedResolution('getEntityRecords', getEntityRecordsArgs);
7766
+ return {
7767
+ categories: getEntityRecords(...getEntityRecordsArgs),
7768
+ isResolved: hasResolvedPosts
7769
+ };
7770
+ }, [searchQuery]);
7771
+ const shouldShowLoadingForDebouncing = search && isDebouncing;
7772
+ const showLoading = !isResolved || shouldShowLoadingForDebouncing;
7773
+ return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationMenu, {
7774
+ menu: MENU_CONTENT_CATEGORIES,
7775
+ title: (0,external_wp_i18n_namespaceObject.__)('Categories'),
7776
+ parentMenu: MENU_ROOT,
7777
+ hasSearch: true,
7778
+ onSearch: onSearch,
7779
+ search: search,
7780
+ isSearchDebouncing: isDebouncing || !isResolved
7781
+ }, search && !isDebouncing && (0,external_wp_element_namespaceObject.createElement)(SearchResults, {
7782
+ items: categories,
7783
+ search: search,
7784
+ disableFilter: true
7785
+ }), !search && (categories === null || categories === void 0 ? void 0 : categories.map(category => (0,external_wp_element_namespaceObject.createElement)(ContentNavigationItem, {
7786
+ item: category,
7787
+ key: `${category.taxonomy}-${category.id}`
7788
+ }))), showLoading && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
7789
+ title: (0,external_wp_i18n_namespaceObject.__)('Loading…'),
7790
+ isText: true
7791
+ }));
7792
+ }
7793
+ //# sourceMappingURL=content-categories.js.map
7794
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/menus/content-posts.js
7795
+
7796
+
7797
+ /**
7798
+ * WordPress dependencies
7799
+ */
7800
+
7801
+
7802
+
7803
+
7804
+
7805
+ /**
7806
+ * Internal dependencies
7807
+ */
7808
+
7809
+
7810
+
7811
+
7812
+
7813
+
7814
+ function ContentPostsMenu() {
7815
+ const {
7816
+ search,
7817
+ searchQuery,
7818
+ onSearch,
7819
+ isDebouncing
7820
+ } = useDebouncedSearch();
7821
+ const {
7822
+ posts,
7823
+ showOnFront,
7824
+ isResolved
7825
+ } = (0,external_wp_data_namespaceObject.useSelect)(select => {
7826
+ const {
7827
+ getEntityRecords,
7828
+ getEditedEntityRecord,
7829
+ hasFinishedResolution
7830
+ } = select(external_wp_coreData_namespaceObject.store);
7831
+ const query = searchQuery ? {
7832
+ search: searchQuery
7833
+ } : undefined;
7834
+ const getEntityRecodsArgs = ['postType', 'post', query];
7835
+ const hasResolvedPosts = hasFinishedResolution('getEntityRecords', getEntityRecodsArgs);
7836
+ return {
7837
+ posts: getEntityRecords(...getEntityRecodsArgs),
7838
+ isResolved: hasResolvedPosts,
7839
+ showOnFront: getEditedEntityRecord('root', 'site').show_on_front
7840
+ };
7841
+ }, [searchQuery]);
7842
+ const {
7843
+ setPage,
7844
+ setIsNavigationPanelOpened
7845
+ } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
7846
+ const onActivateFrontItem = (0,external_wp_element_namespaceObject.useCallback)(() => {
7847
+ setPage({
7848
+ type: 'page',
7849
+ path: '/',
7850
+ context: {
7851
+ queryContext: {
7852
+ page: 1
7853
+ }
7854
+ }
7855
+ });
7856
+ setIsNavigationPanelOpened(false);
7857
+ }, [setPage, setIsNavigationPanelOpened]);
7858
+ const shouldShowLoadingForDebouncing = search && isDebouncing;
7859
+ const showLoading = !isResolved || shouldShowLoadingForDebouncing;
7860
+ return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationMenu, {
7861
+ menu: MENU_CONTENT_POSTS,
7862
+ title: (0,external_wp_i18n_namespaceObject.__)('Posts'),
7863
+ parentMenu: MENU_ROOT,
7864
+ hasSearch: true,
7865
+ onSearch: onSearch,
7866
+ search: search,
7867
+ isSearchDebouncing: isDebouncing || !isResolved
7868
+ }, search && !isDebouncing && (0,external_wp_element_namespaceObject.createElement)(SearchResults, {
7869
+ items: posts,
7870
+ search: search,
7871
+ disableFilter: true
7872
+ }), !search && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, showOnFront === 'posts' && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
7873
+ item: 'post-/',
7874
+ title: (0,external_wp_i18n_namespaceObject.__)('All Posts'),
7875
+ onClick: onActivateFrontItem
7876
+ }), posts === null || posts === void 0 ? void 0 : posts.map(post => (0,external_wp_element_namespaceObject.createElement)(ContentNavigationItem, {
7877
+ item: post,
7878
+ key: `${post.type}-${post.id}`
7879
+ }))), showLoading && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
7880
+ title: (0,external_wp_i18n_namespaceObject.__)('Loading…'),
7881
+ isText: true
7882
+ }));
7883
+ }
7884
+ //# sourceMappingURL=content-posts.js.map
7885
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/utils/get-closest-available-template.js
7886
+ /**
7887
+ * External dependencies
7888
+ */
7889
+
7890
+ function getClosestAvailableTemplate(slug, templates) {
7891
+ const template = (0,external_lodash_namespaceObject.find)(templates, {
7892
+ slug
7893
+ });
7894
+
7895
+ if (template) {
7896
+ return template;
7897
+ }
7898
+
7899
+ switch (slug) {
7900
+ case 'single':
7901
+ case 'page':
7902
+ return getClosestAvailableTemplate('singular', templates);
7903
+
7904
+ case 'author':
7905
+ case 'category':
7906
+ case 'taxonomy':
7907
+ case 'date':
7908
+ case 'tag':
7909
+ return getClosestAvailableTemplate('archive', templates);
7910
+
7911
+ case 'front-page':
7912
+ return getClosestAvailableTemplate('home', templates);
7913
+
7914
+ case 'attachment':
7915
+ return getClosestAvailableTemplate('single', templates);
7916
+
7917
+ case 'privacy-policy':
7918
+ return getClosestAvailableTemplate('page', templates);
7919
+ }
7920
+
7921
+ return (0,external_lodash_namespaceObject.find)(templates, {
7922
+ slug: 'index'
7923
+ });
7924
+ }
7925
+ //# sourceMappingURL=get-closest-available-template.js.map
7926
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/new-template-dropdown.js
7927
+
7928
+
7929
+ /**
7930
+ * External dependencies
7931
+ */
7932
+
7933
+ /**
7934
+ * WordPress dependencies
7935
+ */
7936
+
7937
+
7938
+
7939
+
7940
+
7941
+
7942
+
7943
+ /**
7944
+ * Internal dependencies
7945
+ */
7946
+
7947
+
7948
+
7949
+
7950
+ function NewTemplateDropdown() {
7951
+ const {
7952
+ defaultTemplateTypes,
7953
+ templates
7954
+ } = (0,external_wp_data_namespaceObject.useSelect)(select => {
7955
+ const {
7956
+ __experimentalGetDefaultTemplateTypes: getDefaultTemplateTypes
7957
+ } = select(external_wp_editor_namespaceObject.store);
7958
+ const templateEntities = select(external_wp_coreData_namespaceObject.store).getEntityRecords('postType', 'wp_template');
7959
+ return {
7960
+ defaultTemplateTypes: getDefaultTemplateTypes(),
7961
+ templates: templateEntities
7962
+ };
7963
+ }, []);
7964
+ const {
7965
+ addTemplate
7966
+ } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
7967
+
7968
+ const createTemplate = slug => {
7969
+ const closestAvailableTemplate = getClosestAvailableTemplate(slug, templates);
7970
+ const {
7971
+ title,
7972
+ description
7973
+ } = (0,external_lodash_namespaceObject.find)(defaultTemplateTypes, {
7974
+ slug
7975
+ });
7976
+ addTemplate({
7977
+ content: closestAvailableTemplate.content.raw,
7978
+ excerpt: description,
7979
+ // Slugs need to be strings, so this is for template `404`
7980
+ slug: slug.toString(),
7981
+ status: 'publish',
7982
+ title
7983
+ });
7984
+ };
7985
+
7986
+ const existingTemplateSlugs = (0,external_lodash_namespaceObject.map)(templates, 'slug');
7987
+ const missingTemplates = (0,external_lodash_namespaceObject.filter)(defaultTemplateTypes, template => (0,external_lodash_namespaceObject.includes)(TEMPLATES_NEW_OPTIONS, template.slug) && !(0,external_lodash_namespaceObject.includes)(existingTemplateSlugs, template.slug));
7988
+
7989
+ if (!missingTemplates.length) {
7990
+ return null;
7991
+ }
7992
+
7993
+ return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, {
7994
+ className: "edit-site-navigation-panel__new-template-dropdown",
7995
+ icon: null,
7996
+ label: (0,external_wp_i18n_namespaceObject.__)('Add Template'),
7997
+ popoverProps: {
7998
+ noArrow: false
7999
+ },
8000
+ toggleProps: {
8001
+ children: (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
8002
+ icon: library_plus
8003
+ }),
8004
+ isSmall: true,
8005
+ variant: 'tertiary'
8006
+ }
8007
+ }, ({
8008
+ onClose
8009
+ }) => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.NavigableMenu, {
8010
+ className: "edit-site-navigation-panel__new-template-popover"
8011
+ }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
8012
+ label: (0,external_wp_i18n_namespaceObject.__)('Add Template')
8013
+ }, (0,external_lodash_namespaceObject.map)(missingTemplates, ({
8014
+ title,
8015
+ description,
8016
+ slug
8017
+ }) => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
8018
+ info: description,
8019
+ key: slug,
8020
+ onClick: () => {
8021
+ createTemplate(slug);
8022
+ onClose();
8023
+ }
8024
+ }, title)))));
8025
+ }
8026
+ //# sourceMappingURL=new-template-dropdown.js.map
8027
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/menus/templates-sub.js
8028
+
8029
+
8030
+ /**
8031
+ * External dependencies
8032
+ */
8033
+
8034
+ /**
8035
+ * WordPress dependencies
8036
+ */
8037
+
8038
+
8039
+
8040
+ /**
8041
+ * Internal dependencies
8042
+ */
8043
+
8044
+
8045
+
8046
+ function TemplatesSubMenu({
8047
+ menu,
8048
+ title,
8049
+ templates
8050
+ }) {
8051
+ const templatesFiltered = (0,external_wp_element_namespaceObject.useMemo)(() => {
8052
+ var _templates$filter$map, _templates$filter;
8053
+
8054
+ return (_templates$filter$map = templates === null || templates === void 0 ? void 0 : (_templates$filter = templates.filter(({
8055
+ location
8056
+ }) => location === menu)) === null || _templates$filter === void 0 ? void 0 : _templates$filter.map(({
8057
+ template
8058
+ }) => template)) !== null && _templates$filter$map !== void 0 ? _templates$filter$map : [];
8059
+ }, [menu, templates]);
8060
+ return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationMenu, {
8061
+ menu: menu,
8062
+ title: title,
8063
+ parentMenu: MENU_TEMPLATES,
8064
+ isEmpty: templatesFiltered.length === 0
8065
+ }, (0,external_lodash_namespaceObject.map)(templatesFiltered, template => (0,external_wp_element_namespaceObject.createElement)(TemplateNavigationItem, {
8066
+ item: template,
8067
+ key: `wp_template-${template.id}`
8068
+ })));
8069
+ }
8070
+ //# sourceMappingURL=templates-sub.js.map
8071
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/menus/templates.js
8072
+
8073
+
8074
+ /**
8075
+ * External dependencies
8076
+ */
8077
+
8078
+ /**
8079
+ * WordPress dependencies
8080
+ */
8081
+
8082
+
8083
+
8084
+
8085
+
8086
+
8087
+ /**
8088
+ * Internal dependencies
8089
+ */
8090
+
8091
+
8092
+
8093
+
8094
+
8095
+
8096
+
8097
+ function TemplatesMenu() {
8098
+ const [search, setSearch] = (0,external_wp_element_namespaceObject.useState)('');
8099
+ const onSearch = (0,external_wp_element_namespaceObject.useCallback)(value => {
8100
+ setSearch(value);
8101
+ });
8102
+ const {
8103
+ templates,
8104
+ showOnFront
8105
+ } = (0,external_wp_data_namespaceObject.useSelect)(select => {
8106
+ const {
8107
+ getEntityRecords,
8108
+ getEditedEntityRecord
8109
+ } = select(external_wp_coreData_namespaceObject.store);
8110
+ return {
8111
+ templates: getEntityRecords('postType', 'wp_template'),
8112
+ showOnFront: getEditedEntityRecord('root', 'site').show_on_front
8113
+ };
8114
+ }, []);
8115
+ const templatesWithLocation = (0,external_wp_element_namespaceObject.useMemo)(() => {
8116
+ if (!templates) {
8117
+ return null;
8118
+ }
8119
+
8120
+ const unusedTemplates = getUnusedTemplates(templates, showOnFront);
8121
+ const templateLocations = getTemplatesLocationMap(templates);
8122
+ return templates.map(template => ({
8123
+ template,
8124
+ location: (0,external_lodash_namespaceObject.find)(unusedTemplates, {
8125
+ slug: template.slug
8126
+ }) ? MENU_TEMPLATES_UNUSED : templateLocations[template.slug]
8127
+ }));
8128
+ }, [templates]);
8129
+ const topLevelTemplates = (0,external_wp_element_namespaceObject.useMemo)(() => {
8130
+ var _templatesWithLocatio, _templatesWithLocatio2;
8131
+
8132
+ return (_templatesWithLocatio = templatesWithLocation === null || templatesWithLocation === void 0 ? void 0 : (_templatesWithLocatio2 = templatesWithLocation.filter(({
8133
+ location
8134
+ }) => location === MENU_TEMPLATES)) === null || _templatesWithLocatio2 === void 0 ? void 0 : _templatesWithLocatio2.map(({
8135
+ template
8136
+ }) => template)) !== null && _templatesWithLocatio !== void 0 ? _templatesWithLocatio : [];
8137
+ }, [templatesWithLocation]);
8138
+ return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationMenu, {
8139
+ menu: MENU_TEMPLATES,
8140
+ title: (0,external_wp_i18n_namespaceObject.__)('Templates'),
8141
+ titleAction: (0,external_wp_element_namespaceObject.createElement)(NewTemplateDropdown, null),
8142
+ parentMenu: MENU_ROOT,
8143
+ hasSearch: true,
8144
+ onSearch: onSearch,
8145
+ search: search
8146
+ }, search && (0,external_wp_element_namespaceObject.createElement)(SearchResults, {
8147
+ items: templates,
8148
+ search: search
8149
+ }), !search && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_lodash_namespaceObject.map)(topLevelTemplates, template => (0,external_wp_element_namespaceObject.createElement)(TemplateNavigationItem, {
8150
+ item: template,
8151
+ key: `wp_template-${template.id}`
8152
+ })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
8153
+ navigateToMenu: MENU_TEMPLATES_POSTS,
8154
+ title: (0,external_wp_i18n_namespaceObject.__)('Post templates'),
8155
+ hideIfTargetMenuEmpty: true
8156
+ }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
8157
+ navigateToMenu: MENU_TEMPLATES_PAGES,
8158
+ title: (0,external_wp_i18n_namespaceObject.__)('Page templates'),
8159
+ hideIfTargetMenuEmpty: true
8160
+ }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
8161
+ navigateToMenu: MENU_TEMPLATES_GENERAL,
8162
+ title: (0,external_wp_i18n_namespaceObject.__)('General templates'),
8163
+ hideIfTargetMenuEmpty: true
8164
+ }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
8165
+ navigateToMenu: MENU_TEMPLATES_UNUSED,
8166
+ title: (0,external_wp_i18n_namespaceObject.__)('Unused templates'),
8167
+ hideIfTargetMenuEmpty: true
8168
+ })), !search && templates === null && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
8169
+ title: (0,external_wp_i18n_namespaceObject.__)('Loading…'),
8170
+ isText: true
8171
+ }), (0,external_wp_element_namespaceObject.createElement)(TemplatesSubMenu, {
8172
+ menu: MENU_TEMPLATES_POSTS,
8173
+ title: (0,external_wp_i18n_namespaceObject.__)('Post templates'),
8174
+ templates: templatesWithLocation
8175
+ }), (0,external_wp_element_namespaceObject.createElement)(TemplatesSubMenu, {
8176
+ menu: MENU_TEMPLATES_PAGES,
8177
+ title: (0,external_wp_i18n_namespaceObject.__)('Page templates'),
8178
+ templates: templatesWithLocation
8179
+ }), (0,external_wp_element_namespaceObject.createElement)(TemplatesSubMenu, {
8180
+ menu: MENU_TEMPLATES_GENERAL,
8181
+ title: (0,external_wp_i18n_namespaceObject.__)('General templates'),
8182
+ templates: templatesWithLocation
8183
+ }), (0,external_wp_element_namespaceObject.createElement)(TemplatesSubMenu, {
8184
+ menu: MENU_TEMPLATES_UNUSED,
8185
+ title: (0,external_wp_i18n_namespaceObject.__)('Unused templates'),
8186
+ templates: templatesWithLocation
8187
+ }));
8188
+ }
8189
+ //# sourceMappingURL=templates.js.map
8190
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/menus/template-parts-sub.js
8191
+
8192
+
8193
+ /**
8194
+ * External dependencies
8195
+ */
8196
+
8197
+ /**
8198
+ * WordPress dependencies
8199
+ */
8200
+
8201
+
8202
+ /**
8203
+ * Internal dependencies
8204
+ */
8205
+
8206
+
8207
+
8208
+ function TemplatePartsSubMenu({
8209
+ menu,
8210
+ title,
8211
+ templateParts
8212
+ }) {
8213
+ return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationMenu, {
8214
+ className: "edit-site-navigation-panel__template-parts",
8215
+ menu: menu,
8216
+ title: title,
8217
+ parentMenu: MENU_TEMPLATE_PARTS,
8218
+ isEmpty: !templateParts || templateParts.length === 0
8219
+ }, (0,external_lodash_namespaceObject.map)(templateParts, templatePart => (0,external_wp_element_namespaceObject.createElement)(TemplateNavigationItem, {
8220
+ item: templatePart,
8221
+ key: `wp_template_part-${templatePart.id}`
8222
+ })));
8223
+ }
8224
+ //# sourceMappingURL=template-parts-sub.js.map
8225
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/menus/template-parts.js
8226
+
8227
+
8228
+ /**
8229
+ * External dependencies
8230
+ */
8231
+
8232
+ /**
8233
+ * WordPress dependencies
8234
+ */
8235
+
8236
+
8237
+
8238
+
8239
+
8240
+
8241
+ /**
8242
+ * Internal dependencies
8243
+ */
8244
+
8245
+
8246
+
8247
+
8248
+ function TemplatePartsMenu() {
8249
+ const [search, setSearch] = (0,external_wp_element_namespaceObject.useState)('');
8250
+ const onSearch = (0,external_wp_element_namespaceObject.useCallback)(value => {
8251
+ setSearch(value);
8252
+ });
8253
+ const {
8254
+ isLoading,
8255
+ templateParts,
8256
+ templatePartsByArea
8257
+ } = (0,external_wp_data_namespaceObject.useSelect)(select => {
8258
+ const templatePartRecords = select(external_wp_coreData_namespaceObject.store).getEntityRecords('postType', 'wp_template_part');
8259
+
8260
+ const _templateParts = templatePartRecords || [];
8261
+
8262
+ const _templatePartsByArea = (0,external_lodash_namespaceObject.groupBy)(_templateParts, 'area');
8263
+
8264
+ return {
8265
+ isLoading: templatePartRecords === null,
8266
+ templateParts: _templateParts,
8267
+ templatePartsByArea: _templatePartsByArea
8268
+ };
8269
+ }, []);
8270
+ return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationMenu, {
8271
+ menu: MENU_TEMPLATE_PARTS,
8272
+ title: (0,external_wp_i18n_namespaceObject.__)('Template Parts'),
8273
+ parentMenu: MENU_ROOT,
8274
+ hasSearch: true,
8275
+ onSearch: onSearch,
8276
+ search: search
8277
+ }, search && (0,external_wp_element_namespaceObject.createElement)(SearchResults, {
8278
+ items: templateParts,
8279
+ search: search
8280
+ }), !search && TEMPLATE_PARTS_SUB_MENUS.map(({
8281
+ title,
8282
+ menu
8283
+ }) => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
8284
+ key: `template-parts-navigate-to-${menu}`,
8285
+ className: "edit-site-navigation-panel__template-part-item",
8286
+ navigateToMenu: menu,
8287
+ title: title,
8288
+ hideIfTargetMenuEmpty: true
8289
+ })), !search && isLoading && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
8290
+ title: (0,external_wp_i18n_namespaceObject.__)('Loading…'),
8291
+ isText: true
8292
+ })), TEMPLATE_PARTS_SUB_MENUS.map(({
8293
+ area,
8294
+ menu,
8295
+ title
8296
+ }) => (0,external_wp_element_namespaceObject.createElement)(TemplatePartsSubMenu, {
8297
+ key: `template-parts-menu-${menu}`,
8298
+ menu: menu,
8299
+ title: title,
8300
+ templateParts: templatePartsByArea[area]
8301
+ })));
8302
+ }
8303
+ //# sourceMappingURL=template-parts.js.map
8304
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/menus/index.js
8305
+
8306
+
8307
+ /**
8308
+ * WordPress dependencies
8309
+ */
8310
+
8311
+
8312
+ /**
8313
+ * Internal dependencies
8314
+ */
8315
+
8316
+
8317
+
8318
+
8319
+
8320
+
8321
+
8322
+ function SiteMenu() {
8323
+ return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationMenu, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationGroup, {
8324
+ title: (0,external_wp_i18n_namespaceObject.__)('Theme')
8325
+ }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
8326
+ title: (0,external_wp_i18n_namespaceObject.__)('Templates'),
8327
+ navigateToMenu: MENU_TEMPLATES
8328
+ }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
8329
+ title: (0,external_wp_i18n_namespaceObject.__)('Template Parts'),
8330
+ navigateToMenu: MENU_TEMPLATE_PARTS
8331
+ })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationGroup, {
8332
+ title: (0,external_wp_i18n_namespaceObject.__)('Content')
8333
+ }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
8334
+ title: (0,external_wp_i18n_namespaceObject.__)('Pages'),
8335
+ navigateToMenu: MENU_CONTENT_PAGES
8336
+ }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
8337
+ title: (0,external_wp_i18n_namespaceObject.__)('Categories'),
8338
+ navigateToMenu: MENU_CONTENT_CATEGORIES
8339
+ }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, {
8340
+ title: (0,external_wp_i18n_namespaceObject.__)('Posts'),
8341
+ navigateToMenu: MENU_CONTENT_POSTS
8342
+ })), (0,external_wp_element_namespaceObject.createElement)(TemplatesMenu, null), (0,external_wp_element_namespaceObject.createElement)(TemplatePartsMenu, null), (0,external_wp_element_namespaceObject.createElement)(ContentPagesMenu, null), (0,external_wp_element_namespaceObject.createElement)(ContentCategoriesMenu, null), (0,external_wp_element_namespaceObject.createElement)(ContentPostsMenu, null));
8343
+ }
8344
+ //# sourceMappingURL=index.js.map
8345
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-panel/index.js
8346
+
8347
+
8348
+ /**
8349
+ * External dependencies
8350
+ */
8351
+
8352
+ /**
8353
+ * WordPress dependencies
8354
+ */
8355
+
8356
+
8357
+
8358
+
8359
+
8360
+
8361
+
8362
+
8363
+ /**
8364
+ * Internal dependencies
8365
+ */
8366
+
8367
+
8368
+
8369
+
8370
+
8371
+
8372
+ const NavigationPanel = ({
8373
+ isOpen
8374
+ }) => {
8375
+ const {
8376
+ page: {
8377
+ context: {
8378
+ postType,
8379
+ postId
8380
+ } = {}
8381
+ } = {},
8382
+ editedPostId,
8383
+ editedPostType,
8384
+ activeMenu,
8385
+ siteTitle
8386
+ } = (0,external_wp_data_namespaceObject.useSelect)(select => {
8387
+ const {
8388
+ getEditedPostType,
8389
+ getEditedPostId,
8390
+ getNavigationPanelActiveMenu,
8391
+ getPage
8392
+ } = select(store_store);
8393
+ const {
8394
+ getEntityRecord
8395
+ } = select(external_wp_coreData_namespaceObject.store);
8396
+ const siteData = getEntityRecord('root', '__unstableBase', undefined) || {};
8397
+ return {
8398
+ page: getPage(),
8399
+ editedPostId: getEditedPostId(),
8400
+ editedPostType: getEditedPostType(),
8401
+ activeMenu: getNavigationPanelActiveMenu(),
8402
+ siteTitle: siteData.name
8403
+ };
8404
+ }, []);
8405
+ const {
8406
+ setNavigationPanelActiveMenu: setActive,
8407
+ setIsNavigationPanelOpened
8408
+ } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
8409
+ let activeItem;
8410
+
8411
+ if (activeMenu !== MENU_ROOT) {
8412
+ if (activeMenu.startsWith('content')) {
8413
+ activeItem = `${postType}-${postId}`;
8414
+ } else {
8415
+ activeItem = `${editedPostType}-${editedPostId}`;
8416
+ }
8417
+ } // Ensures focus is moved to the panel area when it is activated
8418
+ // from a separate component (such as document actions in the header).
8419
+
8420
+
8421
+ const panelRef = (0,external_wp_element_namespaceObject.useRef)();
8422
+ (0,external_wp_element_namespaceObject.useEffect)(() => {
8423
+ if (isOpen) {
8424
+ panelRef.current.focus();
8425
+ }
8426
+ }, [activeMenu, isOpen]);
8427
+
8428
+ const closeOnEscape = event => {
8429
+ if (event.keyCode === external_wp_keycodes_namespaceObject.ESCAPE && !event.defaultPrevented) {
8430
+ event.preventDefault();
8431
+ setIsNavigationPanelOpened(false);
8432
+ }
8433
+ };
8434
+
8435
+ return (// eslint-disable-next-line jsx-a11y/no-static-element-interactions
8436
+ (0,external_wp_element_namespaceObject.createElement)("div", {
8437
+ className: classnames_default()(`edit-site-navigation-panel`, {
8438
+ 'is-open': isOpen
8439
+ }),
8440
+ ref: panelRef,
8441
+ tabIndex: "-1",
8442
+ onKeyDown: closeOnEscape
8443
+ }, (0,external_wp_element_namespaceObject.createElement)("div", {
8444
+ className: "edit-site-navigation-panel__inner"
8445
+ }, (0,external_wp_element_namespaceObject.createElement)("div", {
8446
+ className: "edit-site-navigation-panel__site-title-container"
8447
+ }, (0,external_wp_element_namespaceObject.createElement)("div", {
8448
+ className: "edit-site-navigation-panel__site-title"
8449
+ }, (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(siteTitle))), (0,external_wp_element_namespaceObject.createElement)("div", {
8450
+ className: "edit-site-navigation-panel__scroll-container"
8451
+ }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigation, {
8452
+ activeItem: activeItem,
8453
+ activeMenu: activeMenu,
8454
+ onActivateMenu: setActive
8455
+ }, activeMenu === MENU_ROOT && (0,external_wp_element_namespaceObject.createElement)(main_dashboard_button.Slot, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationBackButton, {
8456
+ backButtonLabel: (0,external_wp_i18n_namespaceObject.__)('Dashboard'),
8457
+ className: "edit-site-navigation-panel__back-to-dashboard",
8458
+ href: "index.php"
8459
+ })), (0,external_wp_element_namespaceObject.createElement)(SiteMenu, null)))))
8460
+ );
8461
+ };
8462
+
8463
+ /* harmony default export */ var navigation_panel = (NavigationPanel);
8464
+ //# sourceMappingURL=index.js.map
8465
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/navigation-toggle/index.js
8466
+
8467
+
8468
+ /**
8469
+ * WordPress dependencies
8470
+ */
8471
+
8472
+
8473
+
8474
+
8475
+
8476
+
8477
+ /**
8478
+ * Internal dependencies
8479
+ */
8480
+
8481
+
8482
+
8483
+ function NavigationToggle({
8484
+ icon,
8485
+ isOpen
8486
+ }) {
8487
+ const {
8488
+ isRequestingSiteIcon,
8489
+ navigationPanelMenu,
8490
+ siteIconUrl
8491
+ } = (0,external_wp_data_namespaceObject.useSelect)(select => {
8492
+ const {
8493
+ getCurrentTemplateNavigationPanelSubMenu
8494
+ } = select(store_store);
8495
+ const {
8496
+ getEntityRecord,
8497
+ isResolving
8498
+ } = select(external_wp_coreData_namespaceObject.store);
8499
+ const siteData = getEntityRecord('root', '__unstableBase', undefined) || {};
8500
+ return {
8501
+ isRequestingSiteIcon: isResolving('core', 'getEntityRecord', ['root', '__unstableBase', undefined]),
8502
+ navigationPanelMenu: getCurrentTemplateNavigationPanelSubMenu(),
8503
+ siteIconUrl: siteData.site_icon_url
8504
+ };
8505
+ }, []);
8506
+ const {
8507
+ openNavigationPanelToMenu,
8508
+ setIsNavigationPanelOpened
8509
+ } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
8510
+ const disableMotion = (0,external_wp_compose_namespaceObject.useReducedMotion)();
8511
+
8512
+ const toggleNavigationPanel = () => {
8513
+ if (isOpen) {
8514
+ setIsNavigationPanelOpened(false);
8515
+ return;
8516
+ }
8517
+
8518
+ openNavigationPanelToMenu(navigationPanelMenu);
8519
+ };
8520
+
8521
+ let buttonIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
8522
+ size: "36px",
8523
+ icon: library_wordpress
8524
+ });
8525
+ const effect = {
8526
+ expand: {
8527
+ scale: 1.7,
8528
+ borderRadius: 0,
8529
+ transition: {
8530
+ type: 'tween',
8531
+ duration: '0.2'
8532
+ }
8533
+ }
8534
+ };
8535
+
8536
+ if (siteIconUrl) {
8537
+ buttonIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableMotion.img, {
8538
+ variants: !disableMotion && effect,
8539
+ alt: (0,external_wp_i18n_namespaceObject.__)('Site Icon'),
8540
+ className: "edit-site-navigation-toggle__site-icon",
8541
+ src: siteIconUrl
8542
+ });
8543
+ } else if (isRequestingSiteIcon) {
8544
+ buttonIcon = null;
8545
+ } else if (icon) {
8546
+ buttonIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
8547
+ size: "36px",
8548
+ icon: icon
8549
+ });
8550
+ }
8551
+
8552
+ return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableMotion.div, {
8553
+ className: 'edit-site-navigation-toggle' + (isOpen ? ' is-open' : ''),
8554
+ whileHover: "expand"
8555
+ }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
8556
+ className: "edit-site-navigation-toggle__button has-icon",
8557
+ label: (0,external_wp_i18n_namespaceObject.__)('Toggle navigation'),
8558
+ onClick: toggleNavigationPanel,
8559
+ showTooltip: true
8560
+ }, buttonIcon));
8561
+ }
8562
+
8563
+ /* harmony default export */ var navigation_toggle = (NavigationToggle);
8564
+ //# sourceMappingURL=index.js.map
8565
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/navigation-sidebar/index.js
8566
+
8567
+
8568
+ /**
8569
+ * WordPress dependencies
8570
+ */
8571
+
8572
+
8573
+ /**
8574
+ * Internal dependencies
8575
+ */
8576
+
8577
+
8578
+
8579
+
8580
+ const {
8581
+ Fill: NavigationPanelPreviewFill,
8582
+ Slot: NavigationPanelPreviewSlot
8583
+ } = (0,external_wp_components_namespaceObject.createSlotFill)('EditSiteNavigationPanelPreview');
8584
+ function NavigationSidebar() {
8585
+ const isNavigationOpen = (0,external_wp_data_namespaceObject.useSelect)(select => {
8586
+ return select(store_store).isNavigationOpened();
8587
+ }, []);
8588
+ return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(navigation_toggle, {
8589
+ isOpen: isNavigationOpen
8590
+ }), (0,external_wp_element_namespaceObject.createElement)(navigation_panel, {
8591
+ isOpen: isNavigationOpen
8592
+ }), (0,external_wp_element_namespaceObject.createElement)(NavigationPanelPreviewSlot, null));
8593
+ }
8594
+ //# sourceMappingURL=index.js.map
8595
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/url-query-controller/index.js
8596
+ /**
8597
+ * WordPress dependencies
8598
+ */
8599
+
8600
+
8601
+
8602
+ /**
8603
+ * Internal dependencies
8604
+ */
8605
+
8606
+
8607
+ function URLQueryController() {
8608
+ const {
8609
+ setTemplate,
8610
+ setTemplatePart,
8611
+ showHomepage,
8612
+ setPage
8613
+ } = (0,external_wp_data_namespaceObject.useDispatch)(store_store); // Set correct entity on load.
8614
+
8615
+ (0,external_wp_element_namespaceObject.useEffect)(() => {
8616
+ const url = window.location.href;
8617
+ const postId = (0,external_wp_url_namespaceObject.getQueryArg)(url, 'postId');
8618
+
8619
+ if (!postId) {
8620
+ showHomepage();
8621
+ return;
8622
+ }
8623
+
8624
+ const postType = (0,external_wp_url_namespaceObject.getQueryArg)(url, 'postType');
8625
+
8626
+ if ('page' === postType || 'post' === postType) {
8627
+ setPage({
8628
+ context: {
8629
+ postType,
8630
+ postId
8631
+ }
8632
+ }); // Resolves correct template based on ID.
8633
+ } else if ('wp_template' === postType) {
8634
+ setTemplate(postId);
8635
+ } else if ('wp_template_part' === postType) {
8636
+ setTemplatePart(postId);
8637
+ } else {
8638
+ showHomepage();
8639
+ }
8640
+ }, []); // Update page URL when context changes.
8641
+
8642
+ const pageContext = useCurrentPageContext();
8643
+ (0,external_wp_element_namespaceObject.useEffect)(() => {
8644
+ const newUrl = pageContext ? (0,external_wp_url_namespaceObject.addQueryArgs)(window.location.href, pageContext) : (0,external_wp_url_namespaceObject.removeQueryArgs)(window.location.href, 'postType', 'postId');
8645
+ window.history.replaceState({}, '', newUrl);
8646
+ }, [pageContext]);
8647
+ return null;
8648
+ }
8649
+
8650
+ function useCurrentPageContext() {
8651
+ return (0,external_wp_data_namespaceObject.useSelect)(select => {
8652
+ var _page$context, _page$context2;
8653
+
8654
+ const {
8655
+ getEditedPostType,
8656
+ getEditedPostId,
8657
+ getPage
8658
+ } = select(store_store);
8659
+ const page = getPage();
8660
+
8661
+ let _postId = getEditedPostId(),
8662
+ _postType = getEditedPostType(); // This doesn't seem right to me,
8663
+ // we shouldn't be using the "page" and the "template" in the same way.
8664
+ // This need to be investigated.
8665
+
8666
+
8667
+ if (page !== null && page !== void 0 && (_page$context = page.context) !== null && _page$context !== void 0 && _page$context.postId && page !== null && page !== void 0 && (_page$context2 = page.context) !== null && _page$context2 !== void 0 && _page$context2.postType) {
8668
+ _postId = page.context.postId;
8669
+ _postType = page.context.postType;
8670
+ }
8671
+
8672
+ if (_postId && _postType) {
8673
+ return {
8674
+ postId: _postId,
8675
+ postType: _postType
8676
+ };
8677
+ }
8678
+
8679
+ return null;
8680
+ }, []);
8681
+ }
8682
+ //# sourceMappingURL=index.js.map
8683
+ ;// CONCATENATED MODULE: ./packages/icons/build-module/library/close.js
8684
+
8685
+
8686
+ /**
8687
+ * WordPress dependencies
8688
+ */
8689
+
8690
+ const close_close = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
8691
+ xmlns: "http://www.w3.org/2000/svg",
8692
+ viewBox: "0 0 24 24"
8693
+ }, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
8694
+ d: "M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"
8695
+ }));
8696
+ /* harmony default export */ var library_close = (close_close);
8697
+ //# sourceMappingURL=close.js.map
8698
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/secondary-sidebar/inserter-sidebar.js
8699
+
8700
+
8701
+
8702
+ /**
8703
+ * WordPress dependencies
8704
+ */
8705
+
8706
+
8707
+
8708
+
8709
+
8710
+ /**
8711
+ * Internal dependencies
8712
+ */
8713
+
8714
+
8715
+ function InserterSidebar() {
8716
+ const {
8717
+ setIsInserterOpened
8718
+ } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
8719
+ const insertionPoint = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).__experimentalGetInsertionPoint(), []);
8720
+ const isMobile = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium', '<');
8721
+ const [inserterDialogRef, inserterDialogProps] = (0,external_wp_compose_namespaceObject.__experimentalUseDialog)({
8722
+ onClose: () => setIsInserterOpened(false)
8723
+ });
8724
+ return (0,external_wp_element_namespaceObject.createElement)("div", _extends({
8725
+ ref: inserterDialogRef
8726
+ }, inserterDialogProps, {
8727
+ className: "edit-site-editor__inserter-panel"
8728
+ }), (0,external_wp_element_namespaceObject.createElement)("div", {
8729
+ className: "edit-site-editor__inserter-panel-header"
8730
+ }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
8731
+ icon: library_close,
8732
+ onClick: () => setIsInserterOpened(false)
8733
+ })), (0,external_wp_element_namespaceObject.createElement)("div", {
8734
+ className: "edit-site-editor__inserter-panel-content"
8735
+ }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalLibrary, {
8736
+ showInserterHelpPanel: true,
8737
+ shouldFocusBlock: isMobile,
8738
+ rootClientId: insertionPoint.rootClientId,
8739
+ __experimentalInsertionIndex: insertionPoint.insertionIndex,
8740
+ __experimentalFilterValue: insertionPoint.filterValue
8741
+ })));
8742
+ }
8743
+ //# sourceMappingURL=inserter-sidebar.js.map
8744
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/secondary-sidebar/list-view-sidebar.js
8745
+
8746
+
8747
+ /**
8748
+ * WordPress dependencies
8749
+ */
8750
+
8751
+
8752
+
8753
+
8754
+
8755
+
8756
+
8757
+ /**
8758
+ * Internal dependencies
8759
+ */
8760
+
8761
+
8762
+ function ListViewSidebar() {
8763
+ const {
8764
+ setIsListViewOpened
8765
+ } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
8766
+ const {
8767
+ clearSelectedBlock,
8768
+ selectBlock
8769
+ } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
8770
+
8771
+ async function selectEditorBlock(clientId) {
8772
+ await clearSelectedBlock();
8773
+ selectBlock(clientId, -1);
8774
+ }
8775
+
8776
+ const focusOnMountRef = (0,external_wp_compose_namespaceObject.useFocusOnMount)('firstElement');
8777
+ const focusReturnRef = (0,external_wp_compose_namespaceObject.useFocusReturn)();
8778
+
8779
+ function closeOnEscape(event) {
8780
+ if (event.keyCode === external_wp_keycodes_namespaceObject.ESCAPE && !event.defaultPrevented) {
8781
+ setIsListViewOpened(false);
8782
+ }
8783
+ }
8784
+
8785
+ const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(ListViewSidebar);
8786
+ const labelId = `edit-site-editor__list-view-panel-label-${instanceId}`;
8787
+ return (// eslint-disable-next-line jsx-a11y/no-static-element-interactions
8788
+ (0,external_wp_element_namespaceObject.createElement)("div", {
8789
+ "aria-labelledby": labelId,
8790
+ className: "edit-site-editor__list-view-panel",
8791
+ onKeyDown: closeOnEscape
8792
+ }, (0,external_wp_element_namespaceObject.createElement)("div", {
8793
+ className: "edit-site-editor__list-view-panel-header"
8794
+ }, (0,external_wp_element_namespaceObject.createElement)("strong", {
8795
+ id: labelId
8796
+ }, (0,external_wp_i18n_namespaceObject.__)('List view')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
8797
+ icon: close_small,
8798
+ label: (0,external_wp_i18n_namespaceObject.__)('Close list view sidebar'),
8799
+ onClick: () => setIsListViewOpened(false)
8800
+ })), (0,external_wp_element_namespaceObject.createElement)("div", {
8801
+ className: "edit-site-editor__list-view-panel-content",
8802
+ ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([focusReturnRef, focusOnMountRef])
8803
+ }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalListView, {
8804
+ onSelect: selectEditorBlock,
8805
+ showNestedBlocks: true,
8806
+ __experimentalFeatures: true,
8807
+ __experimentalPersistentListViewFeatures: true
8808
+ })))
8809
+ );
8810
+ }
8811
+ //# sourceMappingURL=list-view-sidebar.js.map
8812
+ ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/error-boundary/index.js
8813
+
8814
+
8815
+ /**
8816
+ * WordPress dependencies
8817
+ */
8818
+
8819
+
8820
+
8821
+
8822
+
8823
+
8824
+ function CopyButton({
8825
  text,
8826
  children
8827
  }) {
9112
 
9113
 
9114
 
9115
+
9116
  const interfaceLabels = {
9117
+ secondarySidebar: (0,external_wp_i18n_namespaceObject.__)('Block Library'),
9118
+ drawer: (0,external_wp_i18n_namespaceObject.__)('Navigation Sidebar')
9119
  };
9120
 
9121
  function Editor({
9183
 
9184
  const {
9185
  defaultTemplateTypes,
9186
+ defaultTemplatePartAreas,
9187
+ __experimentalNewMenuSidebar: newMenuSidebar
9188
  } = settings;
9189
  (0,external_wp_element_namespaceObject.useEffect)(() => {
9190
  updateEditorSettings({
9252
  isActive: true
9253
  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.UnsavedChangesWarning, null), (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcuts.Register, null), (0,external_wp_element_namespaceObject.createElement)(SidebarComplementaryAreaFills, null), (0,external_wp_element_namespaceObject.createElement)(interface_skeleton, {
9254
  labels: interfaceLabels,
9255
+ drawer: newMenuSidebar ? undefined : (0,external_wp_element_namespaceObject.createElement)(NavigationSidebar, null),
9256
  secondarySidebar: secondarySidebar(),
9257
  sidebar: sidebarIsOpened && (0,external_wp_element_namespaceObject.createElement)(complementary_area.Slot, {
9258
  scope: "core/edit-site"
9285
 
9286
  /* harmony default export */ var editor = (Editor);
9287
  //# sourceMappingURL=index.js.map
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9288
  ;// CONCATENATED MODULE: ./packages/edit-site/build-module/components/sidebar/plugin-sidebar/index.js
9289
 
9290
 
9553
  settings.__experimentalFetchLinkSuggestions = (search, searchOptions) => (0,external_wp_coreData_namespaceObject.__experimentalFetchLinkSuggestions)(search, searchOptions, settings);
9554
 
9555
  settings.__experimentalFetchRichUrlData = external_wp_coreData_namespaceObject.__experimentalFetchUrlData;
9556
+ settings.__experimentalSpotlightEntityBlocks = ['core/template-part']; // Feature flag for the new menu sidebar which isn't stable yet.
9557
+
9558
+ settings.__experimentalNewMenuSidebar = false;
9559
  const target = document.getElementById(id);
9560
  const reboot = reinitializeEditor.bind(null, target, settings);
9561
 
build/edit-site/index.min.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => 'ca267fb55fdaf43eaf7214fde4d78c32');
1
+ <?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => '8de1f6e7225b2fd27bb5d786ddbd16b8');
build/edit-site/index.min.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(){var e={4184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var o=a.apply(null,n);o&&e.push(o)}}else if("object"===l)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},3729:function(e,t){var n,r;void 0===(r="function"==typeof(n=function(){return function e(t,n,r){var a,l,o=window,s="application/octet-stream",i=r||s,c=t,u=!n&&!r&&c,m=document.createElement("a"),d=function(e){return String(e)},p=o.Blob||o.MozBlob||o.WebKitBlob||d,_=n||"download";if(p=p.call?p.bind(o):Blob,"true"===String(this)&&(i=(c=[c,i])[0],c=c[1]),u&&u.length<2048&&(_=u.split("/").pop().split("?")[0],m.href=u,-1!==m.href.indexOf(u))){var E=new XMLHttpRequest;return E.open("GET",u,!0),E.responseType="blob",E.onload=function(t){e(t.target.response,_,s)},setTimeout((function(){E.send()}),0),E}if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(c)){if(!(c.length>2096103.424&&p!==d))return navigator.msSaveBlob?navigator.msSaveBlob(v(c),_):y(c);i=(c=v(c)).type||s}else if(/([\x80-\xff])/.test(c)){for(var g=0,f=new Uint8Array(c.length),h=f.length;g<h;++g)f[g]=c.charCodeAt(g);c=new p([f],{type:i})}function v(e){for(var t=e.split(/[:;,]/),n=t[1],r=("base64"==t[2]?atob:decodeURIComponent)(t.pop()),a=r.length,l=0,o=new Uint8Array(a);l<a;++l)o[l]=r.charCodeAt(l);return new p([o],{type:n})}function y(e,t){if("download"in m)return m.href=e,m.setAttribute("download",_),m.className="download-js-link",m.innerHTML="downloading...",m.style.display="none",document.body.appendChild(m),setTimeout((function(){m.click(),document.body.removeChild(m),!0===t&&setTimeout((function(){o.URL.revokeObjectURL(m.href)}),250)}),66),!0;if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))return/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),window.open(e)||confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")&&(location.href=e),!0;var n=document.createElement("iframe");document.body.appendChild(n),!t&&/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),n.src=e,setTimeout((function(){document.body.removeChild(n)}),333)}if(a=c instanceof p?c:new p([c],{type:i}),navigator.msSaveBlob)return navigator.msSaveBlob(a,_);if(o.URL)y(o.URL.createObjectURL(a),!0);else{if("string"==typeof a||a.constructor===d)try{return y("data:"+i+";base64,"+o.btoa(a))}catch(e){return y("data:"+i+","+encodeURIComponent(a))}(l=new FileReader).onload=function(e){y(this.result)},l.readAsDataURL(a)}return!0}})?n.apply(t,[]):n)||(e.exports=r)}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var l=t[r]={exports:{}};return e[r].call(l.exports,l,l.exports,n),l.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){"use strict";n.r(r),n.d(r,{PluginMoreMenuItem:function(){return fa},PluginSidebar:function(){return Ea},PluginSidebarMoreMenuItem:function(){return ga},__experimentalMainDashboardButton:function(){return an},__experimentalNavigationToggle:function(){return _a},initialize:function(){return va},reinitializeEditor:function(){return ha}});var e={};n.r(e),n.d(e,{disableComplementaryArea:function(){return se},enableComplementaryArea:function(){return oe},pinItem:function(){return ce},setFeatureDefaults:function(){return pe},setFeatureValue:function(){return de},toggleFeature:function(){return me},unpinItem:function(){return ue}});var t={};n.r(t),n.d(t,{getActiveComplementaryArea:function(){return _e},isFeatureActive:function(){return ge},isItemPinned:function(){return Ee}});var a={};n.r(a),n.d(a,{__experimentalSetPreviewDeviceType:function(){return Fe},addTemplate:function(){return ze},closeGeneralSidebar:function(){return nt},goBack:function(){return je},openGeneralSidebar:function(){return tt},openNavigationPanelToMenu:function(){return Xe},pushTemplatePart:function(){return He},removeTemplate:function(){return Ge},revertTemplate:function(){return et},setHomeTemplateId:function(){return $e},setIsInserterOpened:function(){return Qe},setIsListViewOpened:function(){return Ze},setIsNavigationPanelOpened:function(){return Ke},setNavigationPanelActiveMenu:function(){return qe},setPage:function(){return We},setTemplate:function(){return Ve},setTemplatePart:function(){return Ue},showHomepage:function(){return Ye},toggleFeature:function(){return De},updateSettings:function(){return Je}});var l={};n.r(l),n.d(l,{__experimentalGetInsertionPoint:function(){return wt},__experimentalGetPreviewDeviceType:function(){return it},getCanUserCreateMedia:function(){return ct},getCurrentTemplateNavigationPanelSubMenu:function(){return yt},getCurrentTemplateTemplateParts:function(){return Tt},getEditedPostId:function(){return Et},getEditedPostType:function(){return _t},getHomeTemplateId:function(){return mt},getNavigationPanelActiveMenu:function(){return vt},getPage:function(){return ht},getPreviousEditedPostId:function(){return ft},getPreviousEditedPostType:function(){return gt},getSettings:function(){return ut},isFeatureActive:function(){return st},isInserterOpened:function(){return St},isListViewOpened:function(){return kt},isNavigationOpened:function(){return bt}});var o=window.wp.element,s=window.wp.blocks,i=window.wp.blockLibrary,c=window.wp.data,u=window.wp.coreData,m=n(3729),d=n.n(m),p=window.wp.components,_=window.wp.i18n,E=window.wp.plugins,g=window.wp.apiFetch,f=n.n(g),h=window.wp.primitives,v=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M18 11.3l-1-1.1-4 4V3h-1.5v11.3L7 10.2l-1 1.1 6.2 5.8 5.8-5.8zm.5 3.7v3.5h-13V15H4v5h16v-5h-1.5z"})),y=window.lodash;const{Fill:b,Slot:S}=(0,p.createSlotFill)("EditSiteToolsMoreMenuGroup");b.Slot=({fillProps:e})=>(0,o.createElement)(S,{fillProps:e},(e=>!(0,y.isEmpty)(e)&&(0,o.createElement)(p.MenuGroup,{label:(0,_.__)("Tools")},e)));var w=b;(0,E.registerPlugin)("edit-site",{render:()=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(w,null,(0,o.createElement)(p.MenuItem,{role:"menuitem",icon:v,onClick:()=>f()({path:"/__experimental/edit-site/v1/export",parse:!1}).then((e=>e.blob())).then((e=>d()(e,"edit-site-export.zip","application/zip"))),info:(0,_.__)("Download your templates and template parts.")},(0,_.__)("Export"))))});var k=window.wp.hooks,T=window.wp.mediaUtils;(0,k.addFilter)("editor.MediaUpload","core/edit-site/components/media-upload",(()=>T.MediaUpload));var x=window.wp.dataControls;const I={},C="core/edit-site",P="header",N="footer",M="sidebar",A="uncategorized",B={[P]:(0,_.__)("Header"),[N]:(0,_.__)("Footer"),[M]:(0,_.__)("Sidebar"),[A]:(0,_.__)("General")},R=["index","singular","archive","single","page","home","404","search","author","category","taxonomy","date","tag","attachment","single-post","front-page"],L=["page-home"],O=["post-","author-","single-post-","tag-"],D=["page-"],F={singular:["single","page"],index:["archive","404","search","singular","home"],home:["front-page"]},V="root",z="templates",G="templates-general",U=[{area:P,menu:"template-parts-headers",title:(0,_.__)("headers")},{area:N,menu:"template-parts-footers",title:(0,_.__)("footers")},{area:M,menu:"template-parts-sidebars",title:(0,_.__)("sidebars")},{area:A,menu:"template-parts-general",title:(0,_.__)("general")}],H=(0,c.combineReducers)({features(e=I,t){switch(t.type){case"TOGGLE_FEATURE":return{...e,[t.feature]:!e[t.feature]};default:return e}}});var $=(0,c.combineReducers)({preferences:H,deviceType:function(e="Desktop",t){switch(t.type){case"SET_PREVIEW_DEVICE_TYPE":return t.deviceType}return e},settings:function(e={},t){switch(t.type){case"UPDATE_SETTINGS":return{...e,...t.settings}}return e},editedPost:function(e=[],t){switch(t.type){case"SET_TEMPLATE":case"SET_PAGE":return[{type:"wp_template",id:t.templateId,page:t.page}];case"SET_TEMPLATE_PART":return[{type:"wp_template_part",id:t.templatePartId}];case"PUSH_TEMPLATE_PART":return[...e,{type:"wp_template_part",id:t.templatePartId}];case"GO_BACK":return e.slice(0,-1)}return e},homeTemplateId:function(e,t){switch(t.type){case"SET_HOME_TEMPLATE":return t.homeTemplateId}return e},navigationPanel:function(e={menu:V,isOpen:!1},t){switch(t.type){case"SET_NAVIGATION_PANEL_ACTIVE_MENU":return{...e,menu:t.menu};case"OPEN_NAVIGATION_PANEL_TO_MENU":return{...e,isOpen:!0,menu:t.menu};case"SET_IS_NAVIGATION_PANEL_OPENED":return{...e,menu:t.isOpen?e.menu:V,isOpen:t.isOpen};case"SET_IS_LIST_VIEW_OPENED":return{...e,menu:e.isOpen&&t.isOpen?V:e.menu,isOpen:!t.isOpen&&e.isOpen};case"SET_IS_INSERTER_OPENED":return{...e,menu:e.isOpen&&t.value?V:e.menu,isOpen:!t.value&&e.isOpen}}return e},blockInserterPanel:function(e=!1,t){switch(t.type){case"OPEN_NAVIGATION_PANEL_TO_MENU":return!1;case"SET_IS_NAVIGATION_PANEL_OPENED":case"SET_IS_LIST_VIEW_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return t.value}return e},listViewPanel:function(e=!1,t){switch(t.type){case"OPEN_NAVIGATION_PANEL_TO_MENU":return!1;case"SET_IS_NAVIGATION_PANEL_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return!t.value&&e;case"SET_IS_LIST_VIEW_OPENED":return t.isOpen}return e}}),W=window.wp.url,j=window.wp.notices;function Y(){return(Y=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}).apply(this,arguments)}var q=n(4184),X=n.n(q),K=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),Q=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"})),J=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{fillRule:"evenodd",d:"M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z",clipRule:"evenodd"})),Z=window.wp.viewport,ee=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));const te=(0,c.combineReducers)({features(e={},t){if("SET_FEATURE_DEFAULTS"===t.type){const{scope:n,defaults:r}=t;return{...e,[n]:{...e[n],...r}}}return e}}),ne=(0,c.combineReducers)({features(e={},t){if("SET_FEATURE_VALUE"===t.type){const{scope:n,featureName:r,value:a}=t;return{...e,[n]:{...e[n],[r]:a}}}return e}}),re=(0,c.combineReducers)({singleEnableItems:function(e={},{type:t,itemType:n,scope:r,item:a}){return"SET_SINGLE_ENABLE_ITEM"===t&&n&&r?{...e,[n]:{...e[n],[r]:a||null}}:e},multipleEnableItems:function(e={},{type:t,itemType:n,scope:r,item:a,isEnable:l}){if("SET_MULTIPLE_ENABLE_ITEM"!==t||!n||!r||!a||(0,y.get)(e,[n,r,a])===l)return e;const o=e[n]||{},s=o[r]||{};return{...e,[n]:{...o,[r]:{...s,[a]:l||!1}}}}});var ae=(0,c.combineReducers)({enableItems:re,preferenceDefaults:te,preferences:ne});function le(e,t,n){return{type:"SET_SINGLE_ENABLE_ITEM",itemType:e,scope:t,item:n}}function oe(e,t){return le("complementaryArea",e,t)}function se(e){return le("complementaryArea",e,void 0)}function ie(e,t,n,r){return{type:"SET_MULTIPLE_ENABLE_ITEM",itemType:e,scope:t,item:n,isEnable:r}}function ce(e,t){return ie("pinnedItems",e,t,!0)}function ue(e,t){return ie("pinnedItems",e,t,!1)}function me(e,t){return function({select:n,dispatch:r}){const a=n.isFeatureActive(e,t);r.setFeatureValue(e,t,!a)}}function de(e,t,n){return{type:"SET_FEATURE_VALUE",scope:e,featureName:t,value:!!n}}function pe(e,t){return{type:"SET_FEATURE_DEFAULTS",scope:e,defaults:t}}function _e(e,t){return function(e,t,n){return(0,y.get)(e.enableItems.singleEnableItems,["complementaryArea",n])}(e,0,t)}function Ee(e,t,n){return!1!==function(e,t,n,r){return(0,y.get)(e.enableItems.multipleEnableItems,["pinnedItems",n,r])}(e,0,t,n)}function ge(e,t,n){var r,a;const l=null===(r=e.preferences.features[t])||void 0===r?void 0:r[n];return!!(void 0!==l?l:null===(a=e.preferenceDefaults.features[t])||void 0===a?void 0:a[n])}const fe="core/interface",he=(0,c.createReduxStore)(fe,{reducer:ae,actions:e,selectors:t,persist:["enableItems","preferences"],__experimentalUseThunks:!0});(0,c.registerStore)(fe,{reducer:ae,actions:e,selectors:t,persist:["enableItems","preferences"],__experimentalUseThunks:!0});var ve=(0,E.withPluginContext)(((e,t)=>({icon:t.icon||e.icon,identifier:t.identifier||`${e.name}/${t.name}`}))),ye=ve((function({as:e=p.Button,scope:t,identifier:n,icon:r,selectedIcon:a,...l}){const s=e,i=(0,c.useSelect)((e=>e(he).getActiveComplementaryArea(t)===n),[n]),{enableComplementaryArea:u,disableComplementaryArea:m}=(0,c.useDispatch)(he);return(0,o.createElement)(s,Y({icon:a&&i?a:r,onClick:()=>{i?m(t):u(t,n)}},(0,y.omit)(l,["name"])))})),be=({smallScreenTitle:e,children:t,className:n,toggleButtonProps:r})=>{const a=(0,o.createElement)(ye,Y({icon:ee},r));return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"components-panel__header interface-complementary-area-header__small"},e&&(0,o.createElement)("span",{className:"interface-complementary-area-header__small-title"},e),a),(0,o.createElement)("div",{className:X()("components-panel__header","interface-complementary-area-header",n),tabIndex:-1},t,a))};function Se({name:e,as:t=p.Button,onClick:n,...r}){return(0,o.createElement)(p.Fill,{name:e},(({onClick:e})=>(0,o.createElement)(t,Y({onClick:n||e?(...t)=>{(n||y.noop)(...t),(e||y.noop)(...t)}:void 0},r))))}Se.Slot=function({name:e,as:t=p.ButtonGroup,fillProps:n={},bubblesVirtually:r,...a}){return(0,o.createElement)(p.Slot,{name:e,bubblesVirtually:r,fillProps:n},(e=>{if((0,y.isEmpty)(o.Children.toArray(e)))return null;const n=[];o.Children.forEach(e,(({props:{__unstableExplicitMenuItem:e,__unstableTarget:t}})=>{t&&e&&n.push(t)}));const r=o.Children.map(e,(e=>!e.props.__unstableExplicitMenuItem&&n.includes(e.props.__unstableTarget)?null:e));return(0,o.createElement)(t,a,r)}))};var we=Se;const ke=e=>(0,o.createElement)(p.MenuItem,(0,y.omit)(e,["__unstableExplicitMenuItem","__unstableTarget"]));function Te({scope:e,target:t,__unstableExplicitMenuItem:n,...r}){return(0,o.createElement)(ye,Y({as:r=>(0,o.createElement)(we,Y({__unstableExplicitMenuItem:n,__unstableTarget:`${e}/${t}`,as:ke,name:`${e}/plugin-more-menu`},r)),role:"menuitemcheckbox",selectedIcon:K,name:t,scope:e},r))}function xe({scope:e,...t}){return(0,o.createElement)(p.Fill,Y({name:`PinnedItems/${e}`},t))}xe.Slot=function({scope:e,className:t,...n}){return(0,o.createElement)(p.Slot,Y({name:`PinnedItems/${e}`},n),(e=>!(0,y.isEmpty)(e)&&(0,o.createElement)("div",{className:X()(t,"interface-pinned-items")},e)))};var Ie=xe;function Ce({scope:e,children:t,className:n}){return(0,o.createElement)(p.Fill,{name:`ComplementaryArea/${e}`},(0,o.createElement)("div",{className:n},t))}const Pe=ve((function({children:e,className:t,closeLabel:n=(0,_.__)("Close plugin"),identifier:r,header:a,headerClassName:l,icon:s,isPinnable:i=!0,panelClassName:u,scope:m,name:d,smallScreenTitle:E,title:g,toggleShortcut:f,isActiveByDefault:h,showIconLabels:v=!1}){const{isActive:y,isPinned:b,activeArea:S,isSmall:w,isLarge:k}=(0,c.useSelect)((e=>{const{getActiveComplementaryArea:t,isItemPinned:n}=e(he),a=t(m);return{isActive:a===r,isPinned:n(m,r),activeArea:a,isSmall:e(Z.store).isViewportMatch("< medium"),isLarge:e(Z.store).isViewportMatch("large")}}),[r,m]);!function(e,t,n,r,a){const l=(0,o.useRef)(!1),s=(0,o.useRef)(!1),{enableComplementaryArea:i,disableComplementaryArea:u}=(0,c.useDispatch)(he);(0,o.useEffect)((()=>{r&&a&&!l.current?(u(e),s.current=!0):s.current&&!a&&l.current?(s.current=!1,i(e,t)):s.current&&n&&n!==t&&(s.current=!1),a!==l.current&&(l.current=a)}),[r,a,e,t,n])}(m,r,S,y,w);const{enableComplementaryArea:T,disableComplementaryArea:x,pinItem:I,unpinItem:C}=(0,c.useDispatch)(he);return(0,o.useEffect)((()=>{h&&void 0===S&&!w&&T(m,r)}),[S,h,m,r,w]),(0,o.createElement)(o.Fragment,null,i&&(0,o.createElement)(Ie,{scope:m},b&&(0,o.createElement)(ye,{scope:m,identifier:r,isPressed:y&&(!v||k),"aria-expanded":y,label:g,icon:v?K:s,showTooltip:!v,variant:v?"tertiary":void 0})),d&&i&&(0,o.createElement)(Te,{target:d,scope:m,icon:s},g),y&&(0,o.createElement)(Ce,{className:X()("interface-complementary-area",t),scope:m},(0,o.createElement)(be,{className:l,closeLabel:n,onClose:()=>x(m),smallScreenTitle:E,toggleButtonProps:{label:n,shortcut:f,scope:m,identifier:r}},a||(0,o.createElement)(o.Fragment,null,(0,o.createElement)("strong",null,g),i&&(0,o.createElement)(p.Button,{className:"interface-complementary-area__pin-unpin-item",icon:b?Q:J,label:b?(0,_.__)("Unpin from toolbar"):(0,_.__)("Pin to toolbar"),onClick:()=>(b?C:I)(m,r),isPressed:b,"aria-expanded":b}))),(0,o.createElement)(p.Panel,{className:u},e)))}));Pe.Slot=function({scope:e,...t}){return(0,o.createElement)(p.Slot,Y({name:`ComplementaryArea/${e}`},t))};var Ne,Me,Ae=Pe,Be=({isActive:e})=>((0,o.useEffect)((()=>{let e=!1;return document.body.classList.contains("sticky-menu")&&(e=!0,document.body.classList.remove("sticky-menu")),()=>{e&&document.body.classList.add("sticky-menu")}}),[]),(0,o.useEffect)((()=>(e?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode"),()=>{e&&document.body.classList.remove("is-fullscreen-mode")})),[e]),null),Re=window.wp.compose,Le=(0,o.forwardRef)((function({footer:e,header:t,sidebar:n,secondarySidebar:r,notices:a,content:l,drawer:s,actions:i,labels:c,className:u,shortcuts:m},d){const E=(0,p.__unstableUseNavigateRegions)(m);!function(e){(0,o.useEffect)((()=>{const t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}}),[e])}("interface-interface-skeleton__html-container");const g={
2
  /* translators: accessibility text for the nav bar landmark region. */
3
  drawer:(0,_.__)("Drawer"),
4
  /* translators: accessibility text for the top bar landmark region. */
@@ -12,22 +12,24 @@ sidebar:(0,_.__)("Settings"),
12
  /* translators: accessibility text for the publish landmark region. */
13
  actions:(0,_.__)("Publish"),
14
  /* translators: accessibility text for the footer landmark region. */
15
- footer:(0,_.__)("Footer"),...c};return(0,o.createElement)("div",Y({},E,{ref:(0,Re.useMergeRefs)([d,E.ref]),className:X()(u,"interface-interface-skeleton",E.className,!!e&&"has-footer")}),!!s&&(0,o.createElement)("div",{className:"interface-interface-skeleton__drawer",role:"region","aria-label":g.drawer},s),(0,o.createElement)("div",{className:"interface-interface-skeleton__editor"},!!t&&(0,o.createElement)("div",{className:"interface-interface-skeleton__header",role:"region","aria-label":g.header,tabIndex:"-1"},t),(0,o.createElement)("div",{className:"interface-interface-skeleton__body"},!!r&&(0,o.createElement)("div",{className:"interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":g.secondarySidebar,tabIndex:"-1"},r),!!a&&(0,o.createElement)("div",{className:"interface-interface-skeleton__notices"},a),(0,o.createElement)("div",{className:"interface-interface-skeleton__content",role:"region","aria-label":g.body,tabIndex:"-1"},l),!!n&&(0,o.createElement)("div",{className:"interface-interface-skeleton__sidebar",role:"region","aria-label":g.sidebar,tabIndex:"-1"},n),!!i&&(0,o.createElement)("div",{className:"interface-interface-skeleton__actions",role:"region","aria-label":g.actions,tabIndex:"-1"},i))),!!e&&(0,o.createElement)("div",{className:"interface-interface-skeleton__footer",role:"region","aria-label":g.footer,tabIndex:"-1"},e))}));function Oe(e){return!!e&&"custom"===(null==e?void 0:e.source)&&(null==e?void 0:e.has_theme_file)}function De(e){return{type:"TOGGLE_FEATURE",feature:e}}function Fe(e){return{type:"SET_PREVIEW_DEVICE_TYPE",deviceType:e}}function*Ve(e,t){const n={templateSlug:t};if(!t){const t=yield c.controls.resolveSelect(u.store,"getEntityRecord","postType","wp_template",e);n.templateSlug=null==t?void 0:t.slug}return{type:"SET_TEMPLATE",templateId:e,page:{context:n}}}function*ze(e){const t=yield c.controls.dispatch(u.store,"saveEntityRecord","postType","wp_template",e);return e.content&&(yield c.controls.dispatch(u.store,"editEntityRecord","postType","wp_template",t.id,{blocks:(0,s.parse)(e.content)},{undoIgnore:!0})),{type:"SET_TEMPLATE",templateId:t.id,page:{context:{templateSlug:t.slug}}}}function*Ge(e){yield(0,x.apiFetch)({path:`/wp/v2/templates/${e}`,method:"DELETE"});const t=yield c.controls.select(C,"getPage");yield c.controls.dispatch(C,"setPage",t)}function Ue(e){return{type:"SET_TEMPLATE_PART",templatePartId:e}}function He(e){return{type:"PUSH_TEMPLATE_PART",templatePartId:e}}function $e(e){return{type:"SET_HOME_TEMPLATE",homeTemplateId:e}}function*We(e){var t;if(!e.path&&null!==(t=e.context)&&void 0!==t&&t.postId){const t=yield c.controls.resolveSelect(u.store,"getEntityRecord","postType",e.context.postType||"post",e.context.postId);e.path=(0,W.getPathAndQueryString)(t.link)}const{id:n,slug:r}=yield c.controls.resolveSelect(u.store,"__experimentalGetTemplateForLink",e.path);return yield{type:"SET_PAGE",page:r?{...e,context:{...e.context,templateSlug:r}}:e,templateId:n},n}function je(){return{type:"GO_BACK"}}function*Ye(){const{show_on_front:e,page_on_front:t}=yield c.controls.resolveSelect(u.store,"getEntityRecord","root","site"),{siteUrl:n}=yield c.controls.select(C,"getSettings"),r={path:n,context:"page"===e?{postType:"page",postId:t}:{}},a=yield*We(r);yield $e(a)}function qe(e){return{type:"SET_NAVIGATION_PANEL_ACTIVE_MENU",menu:e}}function Xe(e){return{type:"OPEN_NAVIGATION_PANEL_TO_MENU",menu:e}}function Ke(e){return{type:"SET_IS_NAVIGATION_PANEL_OPENED",isOpen:e}}function Qe(e){return{type:"SET_IS_INSERTER_OPENED",value:e}}function Je(e){return{type:"UPDATE_SETTINGS",settings:e}}function Ze(e){return{type:"SET_IS_LIST_VIEW_OPENED",isOpen:e}}function*et(e){if(Oe(e))try{var t;const n=yield c.controls.select(u.store,"getEntity","postType",e.type);if(!n)return void(yield c.controls.dispatch(j.store,"createErrorNotice",(0,_.__)("The editor has encountered an unexpected error. Please reload."),{type:"snackbar"}));const r=(0,W.addQueryArgs)(`${n.baseURL}/${e.id}`,{context:"edit",source:"theme"}),a=yield(0,x.apiFetch)({path:r});if(!a)return void(yield c.controls.dispatch(j.store,"createErrorNotice",(0,_.__)("The editor has encountered an unexpected error. Please reload."),{type:"snackbar"}));const l=({blocks:e=[]})=>(0,s.__unstableSerializeAndClean)(e),o=yield c.controls.select(u.store,"getEditedEntityRecord","postType",e.type,e.id);yield c.controls.dispatch(u.store,"editEntityRecord","postType",e.type,e.id,{content:l,blocks:o.blocks,source:"custom"},{undoIgnore:!0});const i=(0,s.parse)(null==a||null===(t=a.content)||void 0===t?void 0:t.raw);yield c.controls.dispatch(u.store,"editEntityRecord","postType",e.type,a.id,{content:l,blocks:i,source:"theme"});const m=async()=>{await(0,c.dispatch)(u.store).editEntityRecord("postType",e.type,o.id,{content:l,blocks:o.blocks,source:"custom"})};yield c.controls.dispatch(j.store,"createSuccessNotice",(0,_.__)("Template reverted."),{type:"snackbar",actions:[{label:(0,_.__)("Undo"),onClick:m}]})}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,_.__)("Template revert failed. Please reload.");yield c.controls.dispatch(j.store,"createErrorNotice",t,{type:"snackbar"})}else yield c.controls.dispatch(j.store,"createErrorNotice",(0,_.__)("This template is not revertable."),{type:"snackbar"})}function*tt(e){yield c.controls.dispatch(he,"enableComplementaryArea",C,e)}function*nt(){yield c.controls.dispatch(he,"disableComplementaryArea",C)}function rt(e){return[e]}function at(){var e={clear:function(){e.head=null}};return e}function lt(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}function ot(e,t,n){return!!F[e]&&("home"===e&&"posts"!==n||F[e].every((e=>t.includes(e)||ot(e,t,n))))}function st(e,t){return(0,y.get)(e.preferences.features,[t],!1)}function it(e){return e.deviceType}Ne={},Me="undefined"!=typeof WeakMap;const ct=(0,c.createRegistrySelector)((e=>()=>e(u.store).canUser("create","media"))),ut=function(e,t){var n,r;function a(){n=Me?new WeakMap:at()}function l(){var n,a,l,o,s,i=arguments.length;for(o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];for(s=t.apply(null,o),(n=r(s)).isUniqueByDependants||(n.lastDependants&&!lt(s,n.lastDependants,0)&&n.clear(),n.lastDependants=s),a=n.head;a;){if(lt(a.args,o,1))return a!==n.head&&(a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=n.head,a.prev=null,n.head.prev=a,n.head=a),a.val;a=a.next}return a={val:e.apply(null,o)},o[0]=null,a.args=o,n.head&&(n.head.prev=a,a.next=n.head),n.head=a,a.val}return t||(t=rt),r=Me?function(e){var t,r,a,l,o,s=n,i=!0;for(t=0;t<e.length;t++){if(!(o=r=e[t])||"object"!=typeof o){i=!1;break}s.has(r)?s=s.get(r):(a=new WeakMap,s.set(r,a),s=a)}return s.has(Ne)||((l=at()).isUniqueByDependants=i,s.set(Ne,l)),s.get(Ne)}:function(){return n},l.getDependants=t,l.clear=a,a(),l}(((e,t)=>{const n={...e.settings,outlineMode:!0,focusMode:st(e,"focusMode"),hasFixedToolbar:st(e,"fixedToolbar"),__experimentalSetIsInserterOpened:t};return ct(e)?(n.mediaUpload=({onError:t,...n})=>{(0,T.uploadMedia)({wpAllowedMimeTypes:e.settings.allowedMimeTypes,onError:({message:e})=>t(e),...n})},n):n}),(e=>[ct(e),e.settings,st(e,"focusMode"),st(e,"fixedToolbar")]));function mt(e){return e.homeTemplateId}function dt(e){return e.editedPost[e.editedPost.length-1]||{}}function pt(e){return e.editedPost[e.editedPost.length-2]||{}}function _t(e){return dt(e).type}function Et(e){return dt(e).id}function gt(e){return pt(e).type}function ft(e){return pt(e).id}function ht(e){return dt(e).page}function vt(e){return e.navigationPanel.menu}const yt=(0,c.createRegistrySelector)((e=>t=>{const n=_t(t),r=Et(t),a=r?e(u.store).getEntityRecord("postType",n,r):null;if(!a)return V;var l;if("wp_template_part"===n)return(null===(l=U.find((e=>e.area===(null==a?void 0:a.area))))||void 0===l?void 0:l.menu)||"template-parts";const o=e(u.store).getEntityRecords("postType","wp_template"),s=e(u.store).getEditedEntityRecord("root","site").show_on_front;return ot(a.slug,(0,y.map)(o,"slug"),s)?"templates-unused":(i=a.slug,R.includes(i)?z:L.includes(i)?G:O.some((e=>i.startsWith(e)))?"templates-posts":D.some((e=>i.startsWith(e)))?"templates-pages":G);var i}));function bt(e){return e.navigationPanel.isOpen}function St(e){return!!e.blockInserterPanel}function wt(e){const{rootClientId:t,insertionIndex:n,filterValue:r}=e.blockInserterPanel;return{rootClientId:t,insertionIndex:n,filterValue:r}}function kt(e){return e.listViewPanel}const Tt=(0,c.createRegistrySelector)((e=>t=>{var n;const r=_t(t),a=Et(t),l=e(u.store).getEditedEntityRecord("postType",r,a),o=e(u.store).getEntityRecords("postType","wp_template_part"),i=(0,y.keyBy)(o,(e=>e.id));return(null!==(n=l.blocks)&&void 0!==n?n:[]).filter((e=>(0,s.isTemplatePart)(e))).map((e=>{const{attributes:{theme:t,slug:n}}=e;return{templatePart:i[`${t}//${n}`],block:e}})).filter((({templatePart:e})=>!!e))})),xt={reducer:$,actions:a,selectors:l,controls:x.controls,persist:["preferences"]},It=(0,c.createReduxStore)(C,xt);(0,c.registerStore)(C,xt);var Ct=window.wp.blockEditor,Pt=window.wp.editor,Nt=window.wp.keyboardShortcuts,Mt=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})),At=(0,o.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(h.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"})),Bt=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(h.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"})),Rt=function({icon:e}){const{isRequestingSiteIcon:t,siteIconUrl:n}=(0,c.useSelect)((e=>{const{getEntityRecord:t,isResolving:n}=e(u.store),r=t("root","__unstableBase",void 0)||{};return{isRequestingSiteIcon:n("core","getEntityRecord",["root","__unstableBase",void 0]),siteIconUrl:r.site_icon_url}}),[]),r=(0,Re.useReducedMotion)();let a=(0,o.createElement)(p.Icon,{size:"36px",icon:Bt});return n?a=(0,o.createElement)(p.__unstableMotion.img,{variants:!r&&{expand:{scale:1.7,borderRadius:0,transition:{type:"tween",duration:"0.2"}}},alt:(0,_.__)("Site Icon"),className:"edit-site-navigation-link__site-icon",src:n}):t?a=null:e&&(a=(0,o.createElement)(p.Icon,{size:"36px",icon:e})),(0,o.createElement)(p.__unstableMotion.div,{className:"edit-site-navigation-link",whileHover:"expand"},(0,o.createElement)(p.Button,{className:"edit-site-navigation-link__button has-icon",label:(0,_.__)("Dashboard"),href:"index.php"},a))},Lt=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})),Ot=window.wp.a11y;function Dt({feature:e,label:t,info:n,messageActivated:r,messageDeactivated:a}){const l=(0,c.useSelect)((t=>t(It).isFeatureActive(e)),[]),{toggleFeature:s}=(0,c.useDispatch)(It);return(0,o.createElement)(p.MenuItem,{icon:l&&K,isSelected:l,onClick:(0,y.flow)(s.bind(null,e),(()=>{l?(0,Ot.speak)(a||(0,_.__)("Feature deactivated")):(0,Ot.speak)(r||(0,_.__)("Feature activated"))})),role:"menuitemcheckbox",info:n},t)}const Ft={className:"edit-site-more-menu__content",position:"bottom left"},Vt={tooltipPosition:"bottom"};var zt=()=>(0,o.createElement)(p.DropdownMenu,{className:"edit-site-more-menu",icon:Lt,label:(0,_.__)("More tools & options"),popoverProps:Ft,toggleProps:Vt},(({onClose:e})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.MenuGroup,{label:(0,_._x)("View","noun")},(0,o.createElement)(Dt,{feature:"fixedToolbar",label:(0,_.__)("Top toolbar"),info:(0,_.__)("Access all block and document tools in a single place"),messageActivated:(0,_.__)("Top toolbar activated"),messageDeactivated:(0,_.__)("Top toolbar deactivated")}),(0,o.createElement)(Dt,{feature:"focusMode",label:(0,_.__)("Spotlight mode"),info:(0,_.__)("Focus on one block at a time"),messageActivated:(0,_.__)("Spotlight mode activated"),messageDeactivated:(0,_.__)("Spotlight mode deactivated")}),(0,o.createElement)(we.Slot,{name:"core/edit-site/plugin-more-menu",label:(0,_.__)("Plugins"),as:p.MenuGroup,fillProps:{onClick:e}})),(0,o.createElement)(w.Slot,{fillProps:{onClose:e}}))));function Gt({openEntitiesSavedStates:e,isEntitiesSavedStatesOpen:t}){const{isDirty:n,isSaving:r}=(0,c.useSelect)((e=>{const{__experimentalGetDirtyEntityRecords:t,isSavingEntityRecord:n}=e(u.store),r=t();return{isDirty:r.length>0,isSaving:(0,y.some)(r,(e=>n(e.kind,e.name,e.key)))}}),[]),a=!n||r;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.Button,{variant:"primary",className:"edit-site-save-button__button","aria-disabled":a,"aria-expanded":t,disabled:a,isBusy:r,onClick:a?void 0:e},(0,_.__)("Save")))}var Ut=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"})),Ht=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"})),$t=window.wp.keycodes;function Wt(){const e=(0,c.useSelect)((e=>e(u.store).hasUndo()),[]),{undo:t}=(0,c.useDispatch)(u.store);return(0,o.createElement)(p.Button,{icon:(0,_.isRTL)()?Ht:Ut,label:(0,_.__)("Undo"),shortcut:$t.displayShortcut.primary("z"),"aria-disabled":!e,onClick:e?t:void 0})}function jt(){const e=(0,c.useSelect)((e=>e(u.store).hasRedo()),[]),{redo:t}=(0,c.useDispatch)(u.store);return(0,o.createElement)(p.Button,{icon:(0,_.isRTL)()?Ut:Ht,label:(0,_.__)("Redo"),shortcut:$t.displayShortcut.primaryShift("z"),"aria-disabled":!e,onClick:e?t:void 0})}var Yt=(0,o.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(h.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));function qt(e){if(e){const t=(0,s.getBlockType)(e.name);return t?(0,s.__experimentalGetBlockLabel)(t,e.attributes):null}return null}function Xt({entityTitle:e,entityLabel:t,isLoaded:n,children:r}){const{label:a}=function(){const{getBlock:e}=(0,c.useSelect)(Ct.store),t=(0,c.useSelect)((e=>e(Ct.store).__experimentalGetActiveBlockIdByBlockNames(["core/template-part"])),[]);return t?{label:qt(e(t)),isActive:!0}:{}}(),l=(0,o.useRef)();return n?e?(0,o.createElement)("div",{className:X()("edit-site-document-actions",{"has-secondary-label":!!a})},(0,o.createElement)("div",{ref:l,className:"edit-site-document-actions__title-wrapper"},(0,o.createElement)(p.__experimentalText,{size:"body",className:"edit-site-document-actions__title-prefix"},(0,o.createElement)(p.VisuallyHidden,{as:"span"},(0,_.sprintf)(
16
  /* translators: %s: the entity being edited, like "template"*/
17
- (0,_.__)("Editing %s:"),t))),(0,o.createElement)(p.__experimentalText,{size:"body",className:"edit-site-document-actions__title",as:"h1"},e),(0,o.createElement)(p.__experimentalText,{size:"body",className:"edit-site-document-actions__secondary-item"},null!=a?a:""),r&&(0,o.createElement)(p.Dropdown,{popoverProps:{anchorRef:l.current},position:"bottom center",renderToggle:({isOpen:e,onToggle:n})=>(0,o.createElement)(p.Button,{className:"edit-site-document-actions__get-info",icon:Yt,"aria-expanded":e,"aria-haspopup":"true",onClick:n,label:(0,_.sprintf)(
18
  /* translators: %s: the entity to see details about, like "template"*/
19
- (0,_.__)("Show %s details"),t)}),contentClassName:"edit-site-document-actions__info-dropdown",renderContent:r}))):(0,o.createElement)("div",{className:"edit-site-document-actions"},(0,_.__)("Template not found")):(0,o.createElement)("div",{className:"edit-site-document-actions"},(0,_.__)("Loading…"))}function Kt({onClose:e,templatePart:t,closeTemplateDetailsDropdown:n}){var r;const{pushTemplatePart:a,revertTemplate:l}=(0,c.useDispatch)(It);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.MenuGroup,null,(0,o.createElement)(p.MenuItem,{onClick:function(){a(t.id),e(),n()}},(0,_.sprintf)(
20
  /* translators: %s: template part title */
21
- (0,_.__)("Edit %s"),null===(r=t.title)||void 0===r?void 0:r.rendered))),Oe(t)&&(0,o.createElement)(p.MenuGroup,null,(0,o.createElement)(p.MenuItem,{info:(0,_.__)("Restore template to theme default"),onClick:function(){l(t),e(),n()}},(0,_.__)("Clear customizations"))))}function Qt({templatePart:e,clientId:t,closeTemplateDetailsDropdown:n}){const{selectBlock:r,toggleBlockHighlight:a}=(0,c.useDispatch)(Ct.store),l=()=>a(t,!0),s=()=>a(t,!1);return(0,o.createElement)("div",{role:"menuitem",className:"edit-site-template-details__template-areas-item"},(0,o.createElement)(p.MenuItem,{role:"button",icon:(0,Pt.getTemplatePartIcon)(e.area),iconPosition:"left",onClick:()=>{r(t)},onMouseOver:l,onMouseLeave:s,onFocus:l,onBlur:s},B[e.area]),(0,o.createElement)(p.DropdownMenu,{icon:Lt,label:(0,_.__)("More options"),className:"edit-site-template-details__template-areas-item-more"},(({onClose:t})=>(0,o.createElement)(Kt,{onClose:t,templatePart:e,closeTemplateDetailsDropdown:n}))))}function Jt({closeTemplateDetailsDropdown:e}){const t=(0,c.useSelect)((e=>e(It).getCurrentTemplateTemplateParts()),[]);return t.length?(0,o.createElement)(p.MenuGroup,{label:(0,_.__)("Areas"),className:"edit-site-template-details__group edit-site-template-details__template-areas"},t.map((({templatePart:t,block:n})=>(0,o.createElement)(Qt,{key:t.slug,clientId:n.clientId,templatePart:t,closeTemplateDetailsDropdown:e})))):null}function Zt({template:e,onClose:t}){const{title:n,description:r}=(0,c.useSelect)((t=>t(Pt.store).__experimentalGetTemplateInfo(e)),[]),{revertTemplate:a}=(0,c.useDispatch)(It),l=(0,o.useMemo)((()=>"wp_template"===(null==e?void 0:e.type)?{title:(0,_.__)("templates"),menu:z}:U.find((({area:t})=>t===(null==e?void 0:e.area)))),[e]);return e?(0,o.createElement)("div",{className:"edit-site-template-details"},(0,o.createElement)("div",{className:"edit-site-template-details__group"},(0,o.createElement)(p.__experimentalHeading,{level:4,weight:600,className:"edit-site-template-details__title"},n),r&&(0,o.createElement)(p.__experimentalText,{size:"body",className:"edit-site-template-details__description",as:"p"},r)),(0,o.createElement)(Jt,{closeTemplateDetailsDropdown:t}),Oe(e)&&(0,o.createElement)(p.MenuGroup,{className:"edit-site-template-details__group edit-site-template-details__revert"},(0,o.createElement)(p.MenuItem,{className:"edit-site-template-details__revert-button",info:(0,_.__)("Restore template to theme default"),onClick:()=>{a(e),t()}},(0,_.__)("Clear customizations"))),(0,o.createElement)(p.Button,{className:"edit-site-template-details__show-all-button",href:(0,W.addQueryArgs)("edit.php",{post_type:e.type})},(0,_.sprintf)(
 
 
22
  /* translators: the template part's area name ("Headers", "Sidebars") or "templates". */
23
- (0,_.__)("Browse all %s"),l.title))):null}const en="__experimentalMainDashboardButton",{Fill:tn,Slot:nn}=(0,p.createSlotFill)(en),rn=tn;rn.Slot=({children:e})=>{const t=(0,p.__experimentalUseSlot)(en);return Boolean(t.fills&&t.fills.length)?(0,o.createElement)(nn,{bubblesVirtually:!0}):e};var an=rn;const ln=e=>{e.preventDefault()};function on({openEntitiesSavedStates:e,isEntitiesSavedStatesOpen:t}){const n=(0,o.useRef)(),{deviceType:r,entityTitle:a,template:l,templateType:s,isInserterOpen:i,isListViewOpen:m,listViewShortcut:d,isLoaded:E}=(0,c.useSelect)((e=>{const{__experimentalGetPreviewDeviceType:t,getEditedPostType:n,getEditedPostId:r,isInserterOpened:a,isListViewOpened:l}=e(It),{getEditedEntityRecord:o}=e(u.store),{__experimentalGetTemplateInfo:s}=e(Pt.store),{getShortcutRepresentation:i}=e(Nt.store),c=n(),m=r(),d=o("postType",c,m),p=!!m;return{deviceType:t(),entityTitle:s(d).title,isLoaded:p,template:d,templateType:c,isInserterOpen:a(),isListViewOpen:l(),listViewShortcut:i("core/edit-site/toggle-list-view")}}),[]),{__experimentalSetPreviewDeviceType:g,setIsInserterOpened:f,setIsListViewOpened:h}=(0,c.useDispatch)(It),v=(0,Re.useViewportMatch)("medium"),y=(0,o.useCallback)((()=>{i?n.current.focus():f(!0)}),[i,f]),b=(0,o.useCallback)((()=>h(!m)),[h,m]),S="wp_template_part"===s;return(0,o.createElement)("div",{className:"edit-site-header"},(0,o.createElement)("div",{className:"edit-site-header_start"},(0,o.createElement)(an.Slot,null,(0,o.createElement)(Rt,null)),(0,o.createElement)("div",{className:"edit-site-header__toolbar"},(0,o.createElement)(p.Button,{ref:n,variant:"primary",isPressed:i,className:"edit-site-header-toolbar__inserter-toggle",onMouseDown:ln,onClick:y,icon:Mt,label:(0,_._x)("Toggle block inserter","Generic label for block inserter button")}),v&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Ct.ToolSelector,null),(0,o.createElement)(Wt,null),(0,o.createElement)(jt,null),(0,o.createElement)(p.Button,{className:"edit-site-header-toolbar__list-view-toggle",icon:At,isPressed:m
24
- /* translators: button label text should, if possible, be under 16 characters. */,label:(0,_.__)("List View"),onClick:b,shortcut:d})))),(0,o.createElement)("div",{className:"edit-site-header_center"},(0,o.createElement)(Xt,{entityTitle:a,entityLabel:"wp_template_part"===s?"template part":"template",isLoaded:E},(({onClose:e})=>(0,o.createElement)(Zt,{template:l,onClose:e})))),(0,o.createElement)("div",{className:"edit-site-header_end"},(0,o.createElement)("div",{className:"edit-site-header__actions"},!S&&(0,o.createElement)(Ct.__experimentalPreviewOptions,{deviceType:r,setDeviceType:g}),(0,o.createElement)(Gt,{openEntitiesSavedStates:e,isEntitiesSavedStatesOpen:t}),(0,o.createElement)(Ie.Slot,{scope:"core/edit-site"}),(0,o.createElement)(zt,null))))}var sn=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"}));function cn({className:e,identifier:t,title:n,icon:r,children:a,closeLabel:l,header:s,headerClassName:i}){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Ae,{className:e,scope:"core/edit-site",identifier:t,title:n,icon:r,closeLabel:l,header:s,headerClassName:i},a),(0,o.createElement)(Te,{scope:"core/edit-site",identifier:t,icon:r},n))}var un=(0,o.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(h.Path,{d:"M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z"}));const mn="body",dn=[{path:["color","palette"],valueKey:"color",cssVarInfix:"color",classes:[{classSuffix:"color",propertyName:"color"},{classSuffix:"background-color",propertyName:"background-color"},{classSuffix:"border-color",propertyName:"border-color"}]},{path:["color","gradients"],valueKey:"gradient",cssVarInfix:"gradient",classes:[{classSuffix:"gradient-background",propertyName:"background"}]},{path:["typography","fontSizes"],valueKey:"size",cssVarInfix:"font-size",classes:[{classSuffix:"font-size",propertyName:"font-size"}]},{path:["typography","fontFamilies"],valueKey:"fontFamily",cssVarInfix:"font-family",classes:[{classSuffix:"font-family",propertyName:"font-family"}]}],pn={"color.background":"color","color.text":"color","elements.link.color.text":"color","color.gradient":"gradient","typography.fontSize":"font-size","typography.fontFamily":"font-family"};function En(e,t,n,r,a){const l=[(0,y.get)(e,["blocks",t,...n]),(0,y.get)(e,n)];for(const o of l)if(o){const l=["user","theme","core"];for(const s of l){const l=o[s];if(l){const o=(0,y.find)(l,(e=>e[r]===a));if(o)return"slug"===r||En(e,t,n,"slug",o.slug)[r]===o[r]?o:void 0}}}}function gn(e,t,n){if(!n||!(0,y.isString)(n))return n;const r="var:",a="var(--wp--";let l;if(n.startsWith(r))l=n.slice(r.length).split("|");else{if(!n.startsWith(a)||!n.endsWith(")"))return n;l=n.slice(a.length,-")".length).split("--")}const[o,...s]=l;return"preset"===o?function(e,t,n,[r,a]){const l=(0,y.find)(dn,["cssVarInfix",r]);if(!l)return n;const o=En(e,t,l.path,"slug",a);if(o){const{valueKey:n}=l;return gn(e,t,o[n])}return n}(e,t,n,s):"custom"===o?function(e,t,n,r){var a;const l=null!==(a=(0,y.get)(e,["blocks",t,"custom",...r]))&&void 0!==a?a:(0,y.get)(e,["custom",...r]);return l?gn(e,t,l):n}(e,t,n,s):n}const fn=(0,o.createContext)({user:{},base:{},merged:{},setUserConfig:()=>{}}),hn={isGlobalStylesUserThemeJSON:!0,version:1};function vn(e,t,n="all"){var r;const{merged:a,base:l,user:i,setUserConfig:c}=(0,o.useContext)(fn),u=t?`settings.blocks.${t}.${e}`:`settings.${e}`,m=t=>{const r=t?`settings.blocks.${t}.${e}`:`settings.${e}`,o=t=>{const n=(0,y.get)(t,r);var a,l;return s.__EXPERIMENTAL_PATHS_WITH_MERGE[e]?null!==(a=null!==(l=null==n?void 0:n.user)&&void 0!==l?l:null==n?void 0:n.theme)&&void 0!==a?a:null==n?void 0:n.core:n};let c;switch(n){case"all":c=o(a);break;case"user":c=o(i);break;case"base":c=o(l);break;default:throw"Unsupported source"}return c};return[null!==(r=m(t))&&void 0!==r?r:m(),t=>{c((n=>{const r=(0,y.cloneDeep)(n),a=s.__EXPERIMENTAL_PATHS_WITH_MERGE[e]?u+".user":u;return(0,y.set)(r,a,t),r}))}]}function yn(e,t,n="all"){var r;const{merged:a,base:l,user:s,setUserConfig:i}=(0,o.useContext)(fn),c=t?`styles.blocks.${t}.${e}`:`styles.${e}`;let u;switch(n){case"all":u=gn(a.settings,t,null!==(r=(0,y.get)(s,c))&&void 0!==r?r:(0,y.get)(l,c));break;case"user":u=gn(a.settings,t,(0,y.get)(s,c));break;case"base":u=gn(l.settings,t,(0,y.get)(l,c));break;default:throw"Unsupported source"}return[u,n=>{i((r=>{const l=(0,y.cloneDeep)(r);return(0,y.set)(l,c,function(e,t,n,r){if(!r)return r;const a=pn[n],l=(0,y.find)(dn,["cssVarInfix",a]);if(!l)return r;const{valueKey:o,path:s}=l,i=En(e,t,s,o,r);return i?`var:preset|${a}|${i.slug}`:r}(a.settings,t,e,n)),l}))}]}const bn=["background","backgroundColor","color","linkColor","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textDecoration","textTransform","padding"];function Sn(e){if(!e)return bn;const t=(0,s.getBlockType)(e);if(!t)return[];const n=[];return Object.keys(s.__EXPERIMENTAL_STYLE_PROPERTY).forEach((e=>{if(s.__EXPERIMENTAL_STYLE_PROPERTY[e].support)return s.__EXPERIMENTAL_STYLE_PROPERTY[e].requiresOptOut&&(0,y.has)(t.supports,s.__EXPERIMENTAL_STYLE_PROPERTY[e].support[0])&&!1!==(0,y.get)(t.supports,s.__EXPERIMENTAL_STYLE_PROPERTY[e].support)||(0,y.get)(t.supports,s.__EXPERIMENTAL_STYLE_PROPERTY[e].support,!1)?n.push(e):void 0})),n}function wn(e){const[t]=vn("color.palette.user",e),[n]=vn("color.palette.theme",e),[r]=vn("color.palette.core",e);return(0,o.useMemo)((()=>{const e=[];return r&&r.length&&e.push({name:(0,_.__)("Core"),colors:r}),n&&n.length&&e.push({name:(0,_.__)("Theme"),colors:n}),t&&t.length&&e.push({name:(0,_.__)("User"),colors:t}),e}),[t,n,r])}var kn=()=>{const[e="serif"]=yn("typography.fontFamily"),[t="black"]=yn("color.text"),[n="blue"]=yn("elements.link.color.text"),[r="white"]=yn("color.background"),[a]=yn("color.gradient");return(0,o.createElement)(p.Card,{className:"edit-site-global-styles-preview",style:{background:null!=a?a:r}},(0,o.createElement)(p.__experimentalHStack,{spacing:5},(0,o.createElement)("div",{style:{fontFamily:e,fontSize:"80px",color:t}},"Aa"),(0,o.createElement)(p.__experimentalVStack,{spacing:2},(0,o.createElement)(p.ColorIndicator,{colorValue:t}),(0,o.createElement)(p.ColorIndicator,{colorValue:n}))))},Tn=function({icon:e,size:t=24,...n}){return(0,o.cloneElement)(e,{width:t,height:t,...n})},xn=function({path:e,icon:t,children:n,isBack:r=!1,...a}){const l=(0,p.__experimentalUseNavigator)();return(0,o.createElement)(p.__experimentalItem,Y({onClick:()=>l.push(e,{isBack:r})},a),t&&(0,o.createElement)(p.__experimentalHStack,{justify:"flex-start"},(0,o.createElement)(p.FlexItem,null,(0,o.createElement)(Tn,{icon:t,size:24})),(0,o.createElement)(p.FlexItem,null,n)),!t&&n)},In=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"})),Cn=(0,o.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(h.Path,{d:"M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3zm-5.1 7.6c-2.5 0-4.6-2.1-4.6-4.6 0-.3.1-1 .8-2.3.5-.9 1.1-1.9 2-3.1.7-.9 1.3-1.7 1.8-2.3.7.8 1.3 1.6 1.8 2.3.8 1.1 1.5 2.2 2 3.1.7 1.3.8 2 .8 2.3 0 2.5-2.1 4.6-4.6 4.6z"})),Pn=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));const Nn=[];function Mn(e){return[An(e),Bn(e),Rn(e),Ln(e)].some(Boolean)}function An(e){const t=Sn(e);return vn("border.color",e)[0]&&t.includes("borderColor")}function Bn(e){const t=Sn(e);return vn("border.radius",e)[0]&&t.includes("borderRadius")}function Rn(e){const t=Sn(e);return vn("border.style",e)[0]&&t.includes("borderStyle")}function Ln(e){const t=Sn(e);return vn("border.width",e)[0]&&t.includes("borderWidth")}function On({name:e}){const t=(0,p.__experimentalUseCustomUnits)({availableUnits:vn("spacing.units")[0]||["px","em","rem"]}),n=Ln(e),[r,a]=yn("border.width",e),l=Rn(e),[s,i]=yn("border.style",e),[c=Nn]=vn("color.palette"),u=!vn("color.custom")[0],m=!vn("color.customGradient")[0],d=An(e),[E,g]=yn("border.color",e),f=Bn(e),[h,v]=yn("border.radius",e);return(0,o.createElement)(p.PanelBody,{title:(0,_.__)("Border"),initialOpen:!0},(n||l)&&(0,o.createElement)("div",{className:"edit-site-global-styles-sidebar__border-controls-row"},n&&(0,o.createElement)(p.__experimentalUnitControl,{value:r,label:(0,_.__)("Width"),min:0,onChange:e=>{a(e||void 0)},units:t}),l&&(0,o.createElement)(Ct.__experimentalBorderStyleControl,{value:s,onChange:i})),d&&(0,o.createElement)(Ct.__experimentalColorGradientControl,{label:(0,_.__)("Color"),colorValue:E,colors:c,gradients:void 0,disableCustomColors:u,disableCustomGradients:m,onColorChange:g}),f&&(0,o.createElement)(Ct.__experimentalBorderRadiusControl,{values:h,onChange:v}))}function Dn(e){const t=Sn(e);return t.includes("color")||t.includes("backgroundColor")||t.includes("background")||t.includes("linkColor")}const Fn=["horizontal","vertical"];function Vn(e){const t=zn(e),n=Gn(e),r=Un(e);return t||n||r}function zn(e){const t=Sn(e),[n]=vn("spacing.padding",e);return n&&t.includes("padding")}function Gn(e){const t=Sn(e),[n]=vn("spacing.margin",e);return n&&t.includes("margin")}function Un(e){const t=Sn(e),[n]=vn("spacing.blockGap",e);return n&&t.includes("--wp--style--block-gap")}function Hn(e,t){if(!t)return e;const n={};return t.forEach((t=>{"vertical"===t&&(n.top=e.top,n.bottom=e.bottom),"horizontal"===t&&(n.left=e.left,n.right=e.right),n[t]=e[t]})),n}function $n(e){return e&&"string"==typeof e?{top:e,right:e,bottom:e,left:e}:e}function Wn({name:e}){const t=zn(e),n=Gn(e),r=Un(e),a=(0,p.__experimentalUseCustomUnits)({availableUnits:vn("spacing.units",e)[0]||["%","px","em","rem","vw"]}),[l,s]=yn("spacing.padding",e),i=$n(l),c=(0,Ct.__experimentalUseCustomSides)(e,"padding"),u=c&&c.some((e=>Fn.includes(e))),m=e=>{const t=Hn(e,c);s(t)},d=()=>m({}),[E,g]=yn("spacing.margin",e),f=$n(E),h=(0,Ct.__experimentalUseCustomSides)(e,"margin"),v=h&&h.some((e=>Fn.includes(e))),y=e=>{const t=Hn(e,h);g(t)},b=()=>y({}),[S,w]=yn("spacing.blockGap",e),k=()=>w(void 0);return(0,o.createElement)(p.__experimentalToolsPanel,{label:(0,_.__)("Dimensions"),resetAll:()=>{d(),b(),k()}},t&&(0,o.createElement)(p.__experimentalToolsPanelItem,{hasValue:()=>!!i&&Object.keys(i).length,label:(0,_.__)("Padding"),onDeselect:d,isShownByDefault:!0},(0,o.createElement)(p.__experimentalBoxControl,{values:i,onChange:m,label:(0,_.__)("Padding"),sides:c,units:a,allowReset:!1,splitOnAxis:u})),n&&(0,o.createElement)(p.__experimentalToolsPanelItem,{hasValue:()=>!!f&&Object.keys(f).length,label:(0,_.__)("Margin"),onDeselect:b,isShownByDefault:!0},(0,o.createElement)(p.__experimentalBoxControl,{values:f,onChange:y,label:(0,_.__)("Margin"),sides:h,units:a,allowReset:!1,splitOnAxis:v})),r&&(0,o.createElement)(p.__experimentalToolsPanelItem,{hasValue:()=>!!S,label:(0,_.__)("Block spacing"),onDeselect:k,isShownByDefault:!0},(0,o.createElement)(p.__experimentalUnitControl,{label:(0,_.__)("Block spacing"),__unstableInputWidth:"80px",min:0,onChange:w,units:a,value:S})))}function jn(e){const t=Yn(e),n=qn(e),r=Xn(e),a=Sn(e);return t||n||r||a.includes("fontSize")}function Yn(e){const t=Sn(e);return vn("typography.lineHeight",e)[0]&&t.includes("lineHeight")}function qn(e){const t=Sn(e),n=vn("typography.fontStyle",e)[0]&&t.includes("fontStyle"),r=vn("typography.fontWeight",e)[0]&&t.includes("fontWeight");return n||r}function Xn(e){const t=Sn(e);return vn("typography.letterSpacing",e)[0]&&t.includes("letterSpacing")}function Kn({name:e}){const t=Sn(e),[n]=vn("typography.fontSizes",e),r=!vn("typography.customFontSize",e)[0],[a]=vn("typography.fontFamilies",e),l=vn("typography.fontStyle",e)[0]&&t.includes("fontStyle"),s=vn("typography.fontWeight",e)[0]&&t.includes("fontWeight"),i=Yn(e),c=qn(e),u=Xn(e),[m,d]=yn("typography.fontFamily",e),[_,E]=yn("typography.fontSize",e),[g,f]=yn("typography.fontStyle",e),[h,v]=yn("typography.fontWeight",e),[y,b]=yn("typography.lineHeight",e),[S,w]=yn("typography.letterSpacing",e);return(0,o.createElement)(p.PanelBody,{className:"edit-site-typography-panel",initialOpen:!0},t.includes("fontFamily")&&(0,o.createElement)(Ct.__experimentalFontFamilyControl,{fontFamilies:a,value:m,onChange:d}),t.includes("fontSize")&&(0,o.createElement)(p.FontSizePicker,{value:_,onChange:E,fontSizes:n,disableCustomFontSizes:r}),i&&(0,o.createElement)(Ct.LineHeightControl,{value:y,onChange:b}),c&&(0,o.createElement)(Ct.__experimentalFontAppearanceControl,{value:{fontStyle:g,fontWeight:h},onChange:({fontStyle:e,fontWeight:t})=>{f(e),v(t)},hasFontStyles:l,hasFontWeights:s}),u&&(0,o.createElement)(Ct.__experimentalLetterSpacingControl,{value:S,onChange:w}))}var Qn=function({name:e,parentMenu:t=""}){const n=jn(e),r=Dn(e),a=Mn(e),l=Vn(e),s=a||l;return(0,o.createElement)(p.__experimentalItemGroup,null,n&&(0,o.createElement)(xn,{icon:In,path:t+"/typography"},(0,_.__)("Typography")),r&&(0,o.createElement)(xn,{icon:Cn,path:t+"/colors"},(0,_.__)("Colors")),s&&(0,o.createElement)(xn,{icon:Pn,path:t+"/layout"},(0,_.__)("Layout")))},Jn=function(){return(0,o.createElement)(p.Card,{size:"small"},(0,o.createElement)(p.CardBody,null,(0,o.createElement)(kn,null)),(0,o.createElement)(p.CardBody,null,(0,o.createElement)(Qn,null)),(0,o.createElement)(p.CardDivider,null),(0,o.createElement)(p.CardBody,null,(0,o.createElement)(p.__experimentalItemGroup,null,(0,o.createElement)(p.__experimentalItem,null,(0,o.createElement)("p",null,(0,_.__)("Customize the appearance of specific blocks for the whole site."))),(0,o.createElement)(xn,{path:"/blocks"},(0,_.__)("Blocks")))))},Zn=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})),er=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})),tr=function({back:e,title:t,description:n}){return(0,o.createElement)(p.__experimentalVStack,{spacing:2},(0,o.createElement)(p.__experimentalHStack,{spacing:2},(0,o.createElement)(p.__experimentalView,null,(0,o.createElement)(xn,{path:e,icon:(0,o.createElement)(Tn,{icon:(0,_.isRTL)()?Zn:er,variant:"muted"}),size:"small",isBack:!0,"aria-label":(0,_.__)("Navigate to the previous view")})),(0,o.createElement)(p.__experimentalSpacer,null,(0,o.createElement)(p.__experimentalHeading,{level:5},t))),n&&(0,o.createElement)("p",{className:"edit-site-global-styles-header__description"},n))};function nr({block:e}){const t=jn(e.name),n=Dn(e.name),r=Mn(e.name),a=Vn(e.name);return t||n||r||a?(0,o.createElement)(xn,{path:"/blocks/"+e.name},e.title):null}var rr=function(){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tr,{back:"/",title:(0,_.__)("Blocks"),description:(0,_.__)("Customize the appearance of specific blocks and for the whole site.")}),(0,s.getBlockTypes)().map((e=>(0,o.createElement)(nr,{block:e,key:"menu-itemblock-"+e.name}))))},ar=function({name:e}){const t=(0,s.getBlockType)(e);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tr,{back:"/blocks",title:t.title}),(0,o.createElement)(Qn,{parentMenu:"/blocks/"+e,name:e}))},lr=function({name:e}){const t=void 0===e?"":"/blocks/"+e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tr,{back:t||"/",title:(0,_.__)("Typography"),description:(0,_.__)("Manage the fonts used on the website and the default aspect of different global elements.")}),(0,o.createElement)(Kn,{name:e}))},or=function({children:e}){return(0,o.createElement)(p.__experimentalHeading,{className:"edit-site-global-styles-subtitle",level:2},e)};const sr=[];var ir=function({name:e}){const[t]=vn("color.palette.user",e),n=t||sr,r=e?"/blocks/"+e+"/colors/palette":"/colors/palette";return(0,o.createElement)(p.__experimentalVStack,{spacing:3},(0,o.createElement)(or,null,(0,_.__)("Palette")),(0,o.createElement)(p.__experimentalItemGroup,{isBordered:!0,isSeparated:!0},(0,o.createElement)(xn,{path:r},(0,o.createElement)(p.__experimentalHStack,null,(0,o.createElement)(p.FlexBlock,null,(0,o.createElement)(p.__experimentalZStack,{isLayered:!1,offset:-8},n.slice(0,5).map((({color:e})=>(0,o.createElement)(p.ColorIndicator,{key:e,colorValue:e}))))),(0,o.createElement)(p.FlexItem,null,(0,_.sprintf)(// Translators: %d: Number of palette colors.
25
- (0,_._n)("%d color","%d colors",n.length),n.length))))))};function cr({name:e,parentMenu:t}){const n=Sn(e),r=n.includes("backgroundColor")||n.includes("background"),[a]=yn("color.background",e),[l]=yn("color.gradient",e);return r?(0,o.createElement)(xn,{path:t+"/colors/background"},(0,o.createElement)(p.__experimentalHStack,{justify:"flex-start"},(0,o.createElement)(p.FlexItem,null,(0,o.createElement)(p.ColorIndicator,{colorValue:null!=l?l:a})),(0,o.createElement)(p.FlexItem,null,(0,_.__)("Background")))):null}function ur({name:e,parentMenu:t}){const n=Sn(e).includes("color"),[r]=yn("color.text",e);return n?(0,o.createElement)(xn,{path:t+"/colors/text"},(0,o.createElement)(p.__experimentalHStack,{justify:"flex-start"},(0,o.createElement)(p.FlexItem,null,(0,o.createElement)(p.ColorIndicator,{colorValue:r})),(0,o.createElement)(p.FlexItem,null,(0,_.__)("Text")))):null}function mr({name:e,parentMenu:t}){const n=Sn(e).includes("linkColor"),[r]=yn("elements.link.color.text",e);return n?(0,o.createElement)(xn,{path:t+"/colors/link"},(0,o.createElement)(p.__experimentalHStack,{justify:"flex-start"},(0,o.createElement)(p.FlexItem,null,(0,o.createElement)(p.ColorIndicator,{colorValue:r})),(0,o.createElement)(p.FlexItem,null,(0,_.__)("Links")))):null}var dr=function({name:e}){const t=void 0===e?"":"/blocks/"+e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tr,{back:t||"/",title:(0,_.__)("Colors"),description:(0,_.__)("Manage palettes and the default color of different global elements on the website.")}),(0,o.createElement)("div",{className:"edit-site-global-styles-screen-colors"},(0,o.createElement)(p.__experimentalVStack,{spacing:10},(0,o.createElement)(ir,{name:e}),(0,o.createElement)(p.__experimentalVStack,{spacing:3},(0,o.createElement)(or,null,(0,_.__)("Elements")),(0,o.createElement)(p.__experimentalItemGroup,{isBordered:!0,isSeparated:!0},(0,o.createElement)(cr,{name:e,parentMenu:t}),(0,o.createElement)(ur,{name:e,parentMenu:t}),(0,o.createElement)(mr,{name:e,parentMenu:t}))))))};function pr({name:e}){const[t,n]=vn("color.palette",e,"user");return(0,o.createElement)("div",{className:"edit-site-global-styles-color-palette-panel"},(0,o.createElement)(p.__experimentalColorEdit,{colors:t,onChange:n}))}var _r=function({name:e}){const t=void 0===e?"":"/blocks/"+e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tr,{back:t+"/colors",title:(0,_.__)("Color Palette"),description:(0,_.__)("Color palettes are used to provide default color options for blocks and various design tools. Here you can edit the colors with their labels.")}),(0,o.createElement)(pr,{name:e}))},Er=function({name:e}){const t=void 0===e?"":"/blocks/"+e,n=Sn(e),[r]=vn("color.palette",e),[a]=vn("color.gradients",e),[l]=vn("color.custom",e),[s]=vn("color.customGradient",e),i=wn(e),c=function(e){const[t]=vn("color.gradients.user",e),[n]=vn("color.gradients.theme",e),[r]=vn("color.gradients.core",e);return(0,o.useMemo)((()=>{const e=[];return r&&r.length&&e.push({name:(0,_.__)("Core"),gradients:r}),n&&n.length&&e.push({name:(0,_.__)("Theme"),gradients:n}),t&&t.length&&e.push({name:(0,_.__)("User"),gradients:t}),e}),[t,n,r])}(e),[u]=vn("color.background",e),m=n.includes("backgroundColor")&&u&&(r.length>0||l),d=n.includes("background")&&(a.length>0||s),[p,E]=yn("color.background",e),[g]=yn("color.background",e,"user"),[f,h]=yn("color.gradient",e),[v]=yn("color.gradient",e,"user");if(!m&&!d)return null;const y=[];let b={};m&&(b={colorValue:p,onColorChange:E},p&&(b.clearable=p===g));let S={};return d&&(S={gradientValue:f,onGradientChange:h},f&&(S.clearable=f===v)),y.push({...b,...S,label:(0,_.__)("Background color")}),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tr,{back:t+"/colors",title:(0,_.__)("Background"),description:(0,_.__)("Set a background color or gradient for the whole website.")}),(0,o.createElement)(Ct.__experimentalPanelColorGradientSettings,{title:(0,_.__)("Color"),settings:y,colors:i,gradients:c,disableCustomColors:!l,disableCustomGradients:!s,__experimentalHasMultipleOrigins:!0,showTitle:!1}))},gr=function({name:e}){const t=void 0===e?"":"/blocks/"+e,n=Sn(e),[r]=vn("color.palette",e),[a]=vn("color.custom",e),[l]=vn("color.text",e),s=wn(e),i=n.includes("color")&&l&&(r.length>0||a),[c,u]=yn("color.text",e),[m]=yn("color.text",e,"user");if(!i)return null;const d=[{colorValue:c,onColorChange:u,label:(0,_.__)("Text color"),clearable:c===m}];return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tr,{back:t+"/colors",title:(0,_.__)("Text"),description:(0,_.__)("Set the default color used for text across the site.")}),(0,o.createElement)(Ct.__experimentalPanelColorGradientSettings,{title:(0,_.__)("Color"),settings:d,colors:s,disableCustomColors:!a,__experimentalHasMultipleOrigins:!0,showTitle:!1}))},fr=function({name:e}){const t=void 0===e?"":"/blocks/"+e,n=Sn(e),[r]=vn("color.palette",e),[a]=vn("color.custom",e),l=wn(e),[s]=vn("color.link",e),i=n.includes("linkColor")&&s&&(r.length>0||a),[c,u]=yn("elements.link.color.text",e),[m]=yn("elements.link.color.text",e,"user");if(!i)return null;const d=[{colorValue:c,onColorChange:u,label:(0,_.__)("Link color"),clearable:c===m}];return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tr,{back:t+"/colors",title:(0,_.__)("Links"),description:(0,_.__)("Set the default color used for links across the site.")}),(0,o.createElement)(Ct.__experimentalPanelColorGradientSettings,{title:(0,_.__)("Color"),settings:d,colors:l,disableCustomColors:!a,__experimentalHasMultipleOrigins:!0,showTitle:!1}))},hr=function({name:e}){const t=void 0===e?"":"/blocks/"+e,n=Mn(e),r=Vn(e);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tr,{back:t||"/",title:(0,_.__)("Layout")}),r&&(0,o.createElement)(Wn,{name:e}),n&&(0,o.createElement)(On,{name:e}))};function vr({name:e}){const t=void 0===e?"":"/blocks/"+e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.__experimentalNavigatorScreen,{path:t+"/typography"},(0,o.createElement)(lr,{name:e})),(0,o.createElement)(p.__experimentalNavigatorScreen,{path:t+"/colors"},(0,o.createElement)(dr,{name:e})),(0,o.createElement)(p.__experimentalNavigatorScreen,{path:t+"/colors/palette"},(0,o.createElement)(_r,{name:e})),(0,o.createElement)(p.__experimentalNavigatorScreen,{path:t+"/colors/background"},(0,o.createElement)(Er,{name:e})),(0,o.createElement)(p.__experimentalNavigatorScreen,{path:t+"/colors/text"},(0,o.createElement)(gr,{name:e})),(0,o.createElement)(p.__experimentalNavigatorScreen,{path:t+"/colors/link"},(0,o.createElement)(fr,{name:e})),(0,o.createElement)(p.__experimentalNavigatorScreen,{path:t+"/layout"},(0,o.createElement)(hr,{name:e})))}var yr=function(){const e=(0,s.getBlockTypes)();return(0,o.createElement)(p.__experimentalNavigatorProvider,{initialPath:"/"},(0,o.createElement)(p.__experimentalNavigatorScreen,{path:"/"},(0,o.createElement)(Jn,null)),(0,o.createElement)(p.__experimentalNavigatorScreen,{path:"/blocks"},(0,o.createElement)(rr,null)),e.map((e=>(0,o.createElement)(p.__experimentalNavigatorScreen,{key:"menu-block-"+e.name,path:"/blocks/"+e.name},(0,o.createElement)(ar,{name:e.name})))),(0,o.createElement)(vr,null),e.map((e=>(0,o.createElement)(vr,{key:"screens-block-"+e.name,name:e.name}))))};function br(e){const t="var:";return(0,y.startsWith)(e,t)?`var(--wp--${e.slice(t.length).split("|").join("--")})`:e}function Sr(e={},t,n){let r=[];return Object.keys(e).forEach((a=>{const l=t+(0,y.kebabCase)(a.replace("/","-")),o=e[a];if(o instanceof Object){const e=l+n;r=[...r,...Sr(o,e,n)]}else r.push(`${l}: ${o}`)})),r}const wr=(e,t)=>{var n,r;const a=[];if(null==e||!e.settings)return a;const l=e=>{const t={};return dn.forEach((({path:n})=>{const r=(0,y.get)(e,n,!1);!1!==r&&(0,y.set)(t,n,r)})),t},o=l(e.settings),s=null===(n=e.settings)||void 0===n?void 0:n.custom;return(0,y.isEmpty)(o)&&!s||a.push({presets:o,custom:s,selector:mn}),(0,y.forEach)(null===(r=e.settings)||void 0===r?void 0:r.blocks,((e,n)=>{const r=l(e),o=e.custom;(0,y.isEmpty)(r)&&!o||a.push({presets:r,custom:o,selector:t[n].selector})})),a},kr=(e,t)=>{const n=wr(e,t);let r="";return n.forEach((({presets:e,custom:t,selector:n})=>{const a=function(e={}){return(0,y.reduce)(dn,((t,{path:n,valueKey:r,cssVarInfix:a})=>{const l=(0,y.get)(e,n,[]);return["core","theme","user"].forEach((e=>{l[e]&&l[e].forEach((e=>{t.push(`--wp--preset--${a}--${(0,y.kebabCase)(e.slug)}: ${e[r]}`)}))})),t}),[])}(e),l=Sr(t,"--wp--custom--","--");l.length>0&&a.push(...l),a.length>0&&(r+=`${n}{${a.join(";")};}`)})),r};function Tr(){const[e,t]=(()=>{const{user:e,setUserConfig:t}=(0,o.useContext)(fn);return[!!e&&!(0,y.isEqual)(e,hn),(0,o.useCallback)((()=>t((()=>hn))),[t])]})();return(0,o.createElement)(cn,{className:"edit-site-global-styles-sidebar",identifier:"edit-site/global-styles",title:(0,_.__)("Styles"),icon:un,closeLabel:(0,_.__)("Close global styles sidebar"),header:(0,o.createElement)(p.Flex,null,(0,o.createElement)(p.FlexBlock,null,(0,o.createElement)("strong",null,(0,_.__)("Styles")),(0,o.createElement)("span",{className:"edit-site-global-styles-sidebar__beta"},(0,_.__)("Beta"))),(0,o.createElement)(p.FlexItem,null,(0,o.createElement)(p.DropdownMenu,{icon:Lt,label:(0,_.__)("More Global Styles Actions"),toggleProps:{disabled:!e},controls:[{title:(0,_.__)("Reset to defaults"),onClick:t}]})))},(0,o.createElement)(yr,null))}const xr="edit-site/template",Ir="edit-site/block-inspector";var Cr=({sidebarName:e})=>{const{enableComplementaryArea:t}=(0,c.useDispatch)(he),[n,r]=e===xr?// translators: ARIA label for the Template sidebar tab, selected.
26
  [(0,_.__)("Template (selected)"),"is-active"]:// translators: ARIA label for the Template Settings Sidebar tab, not selected.
27
- [(0,_.__)("Template"),""],[a,l]=e===Ir?// translators: ARIA label for the Block Settings Sidebar tab, selected.
28
  [(0,_.__)("Block (selected)"),"is-active"]:// translators: ARIA label for the Block Settings Sidebar tab, not selected.
29
- [(0,_.__)("Block"),""];return(0,o.createElement)("ul",null,(0,o.createElement)("li",null,(0,o.createElement)(p.Button,{onClick:()=>t(C,xr),className:`edit-site-sidebar__panel-tab ${r}`,"aria-label":n,"data-label":(0,_.__)("Template")},// translators: Text label for the Template Settings Sidebar tab.
30
- (0,_.__)("Template"))),(0,o.createElement)("li",null,(0,o.createElement)(p.Button,{onClick:()=>t(C,Ir),className:`edit-site-sidebar__panel-tab ${l}`,"aria-label":a,"data-label":(0,_.__)("Block")},// translators: Text label for the Block Settings Sidebar tab.
31
- (0,_.__)("Block"))))};function Pr({area:e,clientId:t}){const{selectBlock:n,toggleBlockHighlight:r}=(0,c.useDispatch)(Ct.store),a=()=>r(t,!0),l=()=>r(t,!1);return(0,o.createElement)(p.Button,{className:"edit-site-template-card__template-areas-item",icon:(0,Pt.getTemplatePartIcon)(e),onMouseOver:a,onMouseLeave:l,onFocus:a,onBlur:l,onClick:()=>{n(t)}},B[e])}function Nr(){const e=(0,c.useSelect)((e=>e(It).getCurrentTemplateTemplateParts()),[]);return e.length?(0,o.createElement)("section",{className:"edit-site-template-card__template-areas"},(0,o.createElement)(p.__experimentalHeading,{level:3,className:"edit-site-template-card__template-areas-title"},(0,_.__)("Areas")),(0,o.createElement)("ul",{className:"edit-site-template-card__template-areas-list"},e.map((({templatePart:e,block:t})=>(0,o.createElement)("li",{key:e.slug},(0,o.createElement)(Pr,{area:e.area,clientId:t.clientId})))))):null}function Mr(){const{title:e,description:t,icon:n}=(0,c.useSelect)((e=>{const{getEditedPostType:t,getEditedPostId:n}=e(It),{getEntityRecord:r}=e(u.store),{__experimentalGetTemplateInfo:a}=e(Pt.store),l=r("postType",t(),n());return l?a(l):{}}),[]);return e||t?(0,o.createElement)("div",{className:"edit-site-template-card"},(0,o.createElement)(p.Icon,{className:"edit-site-template-card__icon",icon:n}),(0,o.createElement)("div",{className:"edit-site-template-card__content"},(0,o.createElement)("h2",{className:"edit-site-template-card__title"},e),(0,o.createElement)("div",{className:"edit-site-template-card__description"},t),(0,o.createElement)(Nr,null))):null}const{Slot:Ar,Fill:Br}=(0,p.createSlotFill)("EditSiteSidebarInspector"),Rr=Br;function Lr(){const{sidebar:e,isEditorSidebarOpened:t,hasBlockSelection:n}=(0,c.useSelect)((e=>{const t=e(he).getActiveComplementaryArea(C);return{sidebar:t,isEditorSidebarOpened:[Ir,xr].includes(t),hasBlockSelection:!!e(Ct.store).getBlockSelectionStart()}}),[]),{enableComplementaryArea:r}=(0,c.useDispatch)(he);(0,o.useEffect)((()=>{t&&r(C,n?Ir:xr)}),[n,t]);let a=e;return t||(a=n?Ir:xr),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(cn,{identifier:a,title:(0,_.__)("Settings"),icon:sn,closeLabel:(0,_.__)("Close settings sidebar"),header:(0,o.createElement)(Cr,{sidebarName:a}),headerClassName:"edit-site-sidebar__panel-tabs"},a===xr&&(0,o.createElement)(p.PanelBody,null,(0,o.createElement)(Mr,null)),a===Ir&&(0,o.createElement)(Ar,{bubblesVirtually:!0})),(0,o.createElement)(Tr,null))}function Or({clientId:e}){const{getBlocks:t}=(0,c.useSelect)(Ct.store),{replaceBlocks:n}=(0,c.useDispatch)(Ct.store);return(0,o.createElement)(Ct.BlockSettingsMenuControls,null,(({onClose:r})=>(0,o.createElement)(p.MenuItem,{onClick:()=>{n(e,t(e)),r()}},(0,_.__)("Detach blocks from template part"))))}function Dr({clientIds:e,blocks:t}){const n=(0,Re.useInstanceId)(Dr),[r,a]=(0,o.useState)(!1),[l,i]=(0,o.useState)(""),{replaceBlocks:m}=(0,c.useDispatch)(Ct.store),{saveEntityRecord:d}=(0,c.useDispatch)(u.store),{createSuccessNotice:E}=(0,c.useDispatch)(j.store),[g,f]=(0,o.useState)(A),h=(0,c.useSelect)((e=>e(Pt.store).__experimentalGetDefaultTemplatePartAreas()),[]);return(0,o.createElement)(Ct.BlockSettingsMenuControls,null,(({onClose:c})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.MenuItem,{onClick:()=>{a(!0)}},(0,_.__)("Make template part")),r&&(0,o.createElement)(p.Modal,{title:(0,_.__)("Create a template part"),closeLabel:(0,_.__)("Close"),onRequestClose:()=>{a(!1),i("")},overlayClassName:"edit-site-template-part-converter__modal"},(0,o.createElement)("form",{onSubmit:n=>{n.preventDefault(),(async n=>{const r=(0,_.__)("Untitled Template Part"),a=await d("postType","wp_template_part",{slug:(0,y.kebabCase)(n||r),title:n||r,content:(0,s.serialize)(t),area:g});m(e,(0,s.createBlock)("core/template-part",{slug:a.slug,theme:a.theme})),E((0,_.__)("Template part created."),{type:"snackbar"})})(l),a(!1),i(""),c()}},(0,o.createElement)(p.TextControl,{label:(0,_.__)("Name"),value:l,onChange:i}),(0,o.createElement)(p.BaseControl,{label:(0,_.__)("Area"),id:`edit-site-template-part-converter__area-selection-${n}`,className:"edit-site-template-part-converter__area-base-control"},(0,o.createElement)(p.__experimentalRadioGroup,{label:(0,_.__)("Area"),className:"edit-site-template-part-converter__area-radio-group",id:`edit-site-template-part-converter__area-selection-${n}`,onChange:f,checked:g},h.map((({icon:e,label:t,area:n,description:r})=>(0,o.createElement)(p.__experimentalRadio,{key:t,value:n,className:"edit-site-template-part-converter__area-radio"},(0,o.createElement)(p.Flex,{align:"start",justify:"start"},(0,o.createElement)(p.FlexItem,null,(0,o.createElement)(p.Icon,{icon:e})),(0,o.createElement)(p.FlexBlock,{className:"edit-site-template-part-converter__option-label"},t,(0,o.createElement)("div",null,r)),(0,o.createElement)(p.FlexItem,{className:"edit-site-template-part-converter__checkbox"},g===n&&(0,o.createElement)(p.Icon,{icon:K})))))))),(0,o.createElement)(p.Flex,{className:"edit-site-template-part-converter__convert-modal-actions",justify:"flex-end"},(0,o.createElement)(p.FlexItem,null,(0,o.createElement)(p.Button,{variant:"secondary",onClick:()=>{a(!1),i("")}},(0,_.__)("Cancel"))),(0,o.createElement)(p.FlexItem,null,(0,o.createElement)(p.Button,{variant:"primary",type:"submit"},(0,_.__)("Create")))))))))}function Fr(){var e;const{clientIds:t,blocks:n}=(0,c.useSelect)((e=>{const{getSelectedBlockClientIds:t,getBlocksByClientId:n}=e(Ct.store),r=t();return{clientIds:r,blocks:n(r)}}),[]);return 1===n.length&&"core/template-part"===(null===(e=n[0])||void 0===e?void 0:e.name)?(0,o.createElement)(Or,{clientId:t[0]}):(0,o.createElement)(Dr,{clientIds:t,blocks:n})}var Vr=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));function zr({type:e,id:t,activePage:n,onActivePageChange:r}){const a=(0,c.useSelect)((n=>e&&t&&"URL"!==e&&n(u.store).getEntityRecord("postType",e,t)),[e,t]),l=(0,o.useMemo)((()=>{if(null==a||!a.link)return null;const t=(0,W.getPathAndQueryString)(a.link);return t===(null==n?void 0:n.path)?null:()=>r({type:e,slug:a.slug,path:t,context:{postType:a.type,postId:a.id}})}),[a,null==n?void 0:n.path,r]);return l&&(0,o.createElement)(p.Button,{icon:Vr,label:(0,_.__)("Edit Page Template"),onClick:l})}function Gr({onClick:e=(()=>{})}){const{shortcut:t,isBlockInspectorOpen:n}=(0,c.useSelect)((e=>({shortcut:e(Nt.store).getShortcutRepresentation("core/edit-site/toggle-block-settings-sidebar"),isBlockInspectorOpen:e(he).getActiveComplementaryArea(It.name)===Ir})),[]),{enableComplementaryArea:r,disableComplementaryArea:a}=(0,c.useDispatch)(he),l=n?(0,_.__)("Hide more settings"):(0,_.__)("Show more settings");return(0,o.createElement)(p.MenuItem,{onClick:()=>{n?(a(C),(0,Ot.speak)((0,_.__)("Block settings closed"))):(r(C,Ir),(0,Ot.speak)((0,_.__)("Additional settings are now available in the Editor block settings sidebar"))),e()},shortcut:t},l)}function Ur(){return(0,o.createElement)(Ct.BlockSettingsMenuControls,null,(({selectedClientIds:e,onClose:t})=>(0,o.createElement)(Hr,{selectedClientId:e[0],onClose:t})))}function Hr({selectedClientId:e,onClose:t}){const n=(0,c.useSelect)((t=>{const n=t(Ct.store).getBlock(e);if(n&&(0,s.isTemplatePart)(n)){const{theme:e,slug:r}=n.attributes;return t(u.store).getEntityRecord("postType","wp_template_part",`${e}//${r}`)}}),[e]),{pushTemplatePart:r}=(0,c.useDispatch)(It);return n?(0,o.createElement)(p.MenuItem,{onClick:()=>{r(n.id),t()}},
32
  /* translators: %s: template part title */
33
- (0,_.sprintf)((0,_.__)("Edit %s"),n.slug)):null}var $r=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M20 10.8H6.7l4.1-4.5-1.1-1.1-5.8 6.3 5.8 5.8 1.1-1.1-4-3.9H20z"})),Wr=function(){const{isTemplatePart:e,previousTemplateId:t}=(0,c.useSelect)((e=>{const{getEditedPostType:t,getPreviousEditedPostId:n}=e(It);return{isTemplatePart:"wp_template_part"===t(),previousTemplateId:n()}}),[]),{goBack:n}=(0,c.useDispatch)(It);return e&&t?(0,o.createElement)(p.Button,{className:"edit-site-visual-editor__back-button",icon:$r,onClick:()=>{n()}},(0,_.__)("Back")):null};function jr({direction:e,resizeWidthBy:t}){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("button",{className:`resizable-editor__drag-handle is-${e}`,"aria-label":(0,_.__)("Drag to resize"),"aria-describedby":`resizable-editor__resize-help-${e}`,onKeyDown:function(n){const{keyCode:r}=n;"left"===e&&r===$t.LEFT||"right"===e&&r===$t.RIGHT?t(20):("left"===e&&r===$t.RIGHT||"right"===e&&r===$t.LEFT)&&t(-20)}}),(0,o.createElement)(p.VisuallyHidden,{id:`resizable-editor__resize-help-${e}`},(0,_.__)("Use left and right arrow keys to resize the canvas.")))}const Yr={position:void 0,userSelect:void 0,cursor:void 0,width:void 0,height:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0};var qr=function({enableResizing:e,settings:t,...n}){const r=(0,c.useSelect)((e=>e(It).__experimentalGetPreviewDeviceType()),[]),a=(0,Ct.__experimentalUseResizeCanvas)(r),[l,s]=(0,o.useState)("100%"),[i,u]=(0,o.useState)("100%"),m=(0,o.useRef)(),d=(0,Ct.__unstableUseMouseMoveTypingReset)(),_=(0,Re.useMergeRefs)([m,d]);(0,o.useEffect)((function(){const t=m.current;if(!t||!e)return;const n=new t.contentWindow.ResizeObserver((()=>{u(t.contentDocument.querySelector(".edit-site-block-editor__block-list").offsetHeight)}));return n.observe(t.contentDocument.documentElement),()=>{n.disconnect()}}),[e]);const E=(0,o.useCallback)((e=>{m.current&&s(m.current.offsetWidth+e)}),[]);return(0,o.createElement)(p.ResizableBox,{size:{width:l,height:i},onResizeStop:(e,t,n)=>{s(n.style.width)},minWidth:300,maxWidth:"100%",maxHeight:"100%",enable:{right:e,left:e},showHandle:e,resizeRatio:2,handleComponent:{left:(0,o.createElement)(jr,{direction:"left",resizeWidthBy:E}),right:(0,o.createElement)(jr,{direction:"right",resizeWidthBy:E})},handleClasses:void 0,handleStyles:{left:Yr,right:Yr}},(0,o.createElement)(Ct.__unstableIframe,Y({style:e?void 0:a,head:(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Ct.__unstableEditorStyles,{styles:t.styles}),(0,o.createElement)("style",null,".edit-site-block-editor__block-list { display: flow-root; }")),ref:_,name:"editor-canvas",className:"edit-site-visual-editor__editor-canvas"},n)))};const Xr={type:"default",alignments:[]};function Kr({setIsInserterOpen:e}){const{settings:t,templateType:n,templateId:r,page:a}=(0,c.useSelect)((t=>{const{getSettings:n,getEditedPostType:r,getEditedPostId:a,getPage:l}=t(It);return{settings:n(e),templateType:r(),templateId:a(),page:l()}}),[e]),[l,s,i]=(0,u.useEntityBlockEditor)("postType",n),{setPage:m}=(0,c.useDispatch)(It),d=(0,o.useRef)(),p=(0,Re.useMergeRefs)([d,(0,Ct.__unstableUseTypingObserver)()]),_=(0,Re.useViewportMatch)("small","<"),{clearSelectedBlock:E}=(0,c.useDispatch)(Ct.store),g="wp_template_part"===n;return(0,o.createElement)(Ct.BlockEditorProvider,{settings:t,value:l,onInput:s,onChange:i,useSubRegistry:!1},(0,o.createElement)(Ur,null),(0,o.createElement)(Fr,null),(0,o.createElement)(Ct.__experimentalLinkControl.ViewerFill,null,(0,o.useCallback)((e=>(0,o.createElement)(zr,Y({},e,{activePage:a,onActivePageChange:m}))),[a])),(0,o.createElement)(Rr,null,(0,o.createElement)(Ct.BlockInspector,null)),(0,o.createElement)(Ct.BlockTools,{className:X()("edit-site-visual-editor",{"is-focus-mode":g}),__unstableContentRef:d,onClick:e=>{e.target===e.currentTarget&&E()}},(0,o.createElement)(Wr,null),(0,o.createElement)(qr,{key:r,enableResizing:g&&!_,settings:t,contentRef:p},(0,o.createElement)(Ct.BlockList,{className:"edit-site-block-editor__block-list wp-site-blocks",__experimentalLayout:Xr})),(0,o.createElement)(Ct.__unstableBlockSettingsMenuFirstItem,null,(({onClose:e})=>(0,o.createElement)(Gr,{onClick:e})))))}function Qr({openEntitiesSavedStates:e}){const{__experimentalGetDirtyEntityRecords:t,isSavingEntityRecord:n}=(0,c.useSelect)(u.store),r=(0,c.useSelect)((e=>e(It).isListViewOpened()),[]),a=(0,c.useSelect)((e=>e(he).getActiveComplementaryArea(It.name)===Ir),[]),{redo:l,undo:o}=(0,c.useDispatch)(u.store),{setIsListViewOpened:s}=(0,c.useDispatch)(It),{enableComplementaryArea:i,disableComplementaryArea:m}=(0,c.useDispatch)(he);return(0,Nt.useShortcut)("core/edit-site/save",(r=>{r.preventDefault();const a=t(),l=!!a.length;!a.some((e=>n(e.kind,e.name,e.key)))&&l&&e()})),(0,Nt.useShortcut)("core/edit-site/undo",(e=>{o(),e.preventDefault()})),(0,Nt.useShortcut)("core/edit-site/redo",(e=>{l(),e.preventDefault()})),(0,Nt.useShortcut)("core/edit-site/toggle-list-view",(()=>{s(!r)})),(0,Nt.useShortcut)("core/edit-site/toggle-block-settings-sidebar",(e=>{e.preventDefault(),a?m(C):i(C,Ir)})),null}Qr.Register=function(){const{registerShortcut:e}=(0,c.useDispatch)(Nt.store);return(0,o.useEffect)((()=>{e({name:"core/edit-site/save",category:"global",description:(0,_.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/edit-site/undo",category:"global",description:(0,_.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/edit-site/redo",category:"global",description:(0,_.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}}),e({name:"core/edit-site/toggle-list-view",category:"global",description:(0,_.__)("Open the block list view."),keyCombination:{modifier:"access",character:"o"}}),e({name:"core/edit-site/toggle-block-settings-sidebar",category:"global",description:(0,_.__)("Show or hide the block settings sidebar."),keyCombination:{modifier:"primaryShift",character:","}})}),[e]),null};var Jr=Qr;function Zr(){const{setTemplate:e,setTemplatePart:t,showHomepage:n,setPage:r}=(0,c.useDispatch)(It);(0,o.useEffect)((()=>{const a=window.location.href,l=(0,W.getQueryArg)(a,"postId");if(!l)return void n();const o=(0,W.getQueryArg)(a,"postType");"page"===o||"post"===o?r({context:{postType:o,postId:l}}):"wp_template"===o?e(l):"wp_template_part"===o?t(l):n()}),[]);const a=(0,c.useSelect)((e=>{var t,n;const{getEditedPostType:r,getEditedPostId:a,getPage:l}=e(It),o=l();let s=a(),i=r();return null!=o&&null!==(t=o.context)&&void 0!==t&&t.postId&&null!=o&&null!==(n=o.context)&&void 0!==n&&n.postType&&(s=o.context.postId,i=o.context.postType),s&&i?{postId:s,postType:i}:null}),[]);return(0,o.useEffect)((()=>{const e=a?(0,W.addQueryArgs)(window.location.href,a):(0,W.removeQueryArgs)(window.location.href,"postType","postId");window.history.replaceState({},"",e)}),[a]),null}var ea=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));function ta(){const{setIsInserterOpened:e}=(0,c.useDispatch)(It),t=(0,c.useSelect)((e=>e(It).__experimentalGetInsertionPoint()),[]),n=(0,Re.useViewportMatch)("medium","<"),[r,a]=(0,Re.__experimentalUseDialog)({onClose:()=>e(!1)});return(0,o.createElement)("div",Y({ref:r},a,{className:"edit-site-editor__inserter-panel"}),(0,o.createElement)("div",{className:"edit-site-editor__inserter-panel-header"},(0,o.createElement)(p.Button,{icon:ea,onClick:()=>e(!1)})),(0,o.createElement)("div",{className:"edit-site-editor__inserter-panel-content"},(0,o.createElement)(Ct.__experimentalLibrary,{showInserterHelpPanel:!0,shouldFocusBlock:n,rootClientId:t.rootClientId,__experimentalInsertionIndex:t.insertionIndex,__experimentalFilterValue:t.filterValue})))}function na(){const{setIsListViewOpened:e}=(0,c.useDispatch)(It),{clearSelectedBlock:t,selectBlock:n}=(0,c.useDispatch)(Ct.store),r=(0,Re.useFocusOnMount)("firstElement"),a=(0,Re.useFocusReturn)(),l=`edit-site-editor__list-view-panel-label-${(0,Re.useInstanceId)(na)}`;return(0,o.createElement)("div",{"aria-labelledby":l,className:"edit-site-editor__list-view-panel",onKeyDown:function(t){t.keyCode!==$t.ESCAPE||t.defaultPrevented||e(!1)}},(0,o.createElement)("div",{className:"edit-site-editor__list-view-panel-header"},(0,o.createElement)("strong",{id:l},(0,_.__)("List view")),(0,o.createElement)(p.Button,{icon:ee,label:(0,_.__)("Close list view sidebar"),onClick:()=>e(!1)})),(0,o.createElement)("div",{className:"edit-site-editor__list-view-panel-content",ref:(0,Re.useMergeRefs)([a,r])},(0,o.createElement)(Ct.__experimentalListView,{onSelect:async function(e){await t(),n(e,-1)},showNestedBlocks:!0,__experimentalFeatures:!0,__experimentalPersistentListViewFeatures:!0})))}function ra({text:e,children:t}){const n=(0,Re.useCopyToClipboard)(e);return(0,o.createElement)(p.Button,{variant:"secondary",ref:n},t)}class aa extends o.Component{constructor(){super(...arguments),this.reboot=this.reboot.bind(this),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}reboot(){this.props.onError()}render(){const{error:e}=this.state;return e?(0,o.createElement)(Ct.Warning,{className:"editor-error-boundary",actions:[(0,o.createElement)(p.Button,{key:"recovery",onClick:this.reboot,variant:"secondary"},(0,_.__)("Attempt Recovery")),(0,o.createElement)(ra,{key:"copy-error",text:e.stack},(0,_.__)("Copy Error"))]},(0,_.__)("The editor has encountered an unexpected error.")):this.props.children}}function la(){const[e,t]=function(){const[e,t]=(0,o.useState)([]),[n,r]=(0,o.useState)({}),{merged:a}=(0,o.useContext)(fn);return(0,o.useEffect)((()=>{if(null==a||!a.styles||null==a||!a.settings)return;const e=(e=>{const t={};return e.forEach((e=>{var n,r;const a=e.name,l=null!==(n=null==e||null===(r=e.supports)||void 0===r?void 0:r.__experimentalSelector)&&void 0!==n?n:".wp-block-"+a.replace("core/","").replace("/","-");t[a]={name:a,selector:l}})),t})((0,s.getBlockTypes)()),n=kr(a,e),l=((e,t)=>{const n=((e,t)=>{var n,r;const a=[];if(null==e||!e.styles)return a;const l=e=>(0,y.pickBy)(e,((e,t)=>["border","color","spacing","typography"].includes(t))),o=l(e.styles);return o&&a.push({styles:o,selector:mn}),(0,y.forEach)(null===(n=e.styles)||void 0===n?void 0:n.elements,((e,t)=>{e&&s.__EXPERIMENTAL_ELEMENTS[t]&&a.push({styles:e,selector:s.__EXPERIMENTAL_ELEMENTS[t]})})),(0,y.forEach)(null===(r=e.styles)||void 0===r?void 0:r.blocks,((e,n)=>{var r;const o=l(e);o&&null!=t&&null!==(r=t[n])&&void 0!==r&&r.selector&&a.push({styles:o,selector:t[n].selector}),(0,y.forEach)(null==e?void 0:e.elements,((e,r)=>{e&&null!=t&&t[n]&&null!==s.__EXPERIMENTAL_ELEMENTS&&void 0!==s.__EXPERIMENTAL_ELEMENTS&&s.__EXPERIMENTAL_ELEMENTS[r]&&a.push({styles:e,selector:t[n].selector.split(",").map((e=>e+" "+s.__EXPERIMENTAL_ELEMENTS[r])).join(",")})}))})),a})(e,t),r=wr(e,t);let a=".wp-site-blocks > * { margin-top: 0; margin-bottom: 0; }.wp-site-blocks > * + * { margin-top: var( --wp--style--block-gap ); }";return n.forEach((({selector:e,styles:t})=>{const n=function(e={}){return(0,y.reduce)(s.__EXPERIMENTAL_STYLE_PROPERTY,((t,{value:n,properties:r},a)=>{const l=n;if("elements"===(0,y.first)(l))return t;const o=(0,y.get)(e,l);if(r&&!(0,y.isString)(o))Object.entries(r).forEach((e=>{const[n,r]=e;if(!(0,y.get)(o,[r],!1))return;const a=(0,y.kebabCase)(n);t.push(`${a}: ${br((0,y.get)(o,[r]))}`)}));else if((0,y.get)(e,l,!1)){const n=a.startsWith("--")?a:(0,y.kebabCase)(a);t.push(`${n}: ${br((0,y.get)(e,l))}`)}return t}),[])}(t);0!==n.length&&(a+=`${e}{${n.join(";")};}`)})),r.forEach((({selector:e,presets:t})=>{mn===e&&(e="");const n=function(e,t={}){return(0,y.reduce)(dn,((n,{path:r,cssVarInfix:a,classes:l})=>{if(!l)return n;const o=(0,y.get)(t,r,[]);return["core","theme","user"].forEach((t=>{o[t]&&o[t].forEach((({slug:t})=>{l.forEach((({classSuffix:r,propertyName:l})=>{const o=`.has-${(0,y.kebabCase)(t)}-${r}`,s=e.split(",").map((e=>`${e}${o}`)).join(","),i=`var(--wp--preset--${a}--${(0,y.kebabCase)(t)})`;n+=`${s}{${l}: ${i} !important;}`}))}))})),n}),"")}(e,t);(0,y.isEmpty)(n)||(a+=n)})),a})(a,e);t([{css:n,isGlobalStyles:!0,__experimentalNoWrapper:!0},{css:l,isGlobalStyles:!0}]),r(a.settings)}),[a]),[e,n]}(),{getSettings:n}=(0,c.useSelect)(It),{updateSettings:r}=(0,c.useDispatch)(It);(0,o.useEffect)((()=>{var a;if(!e||!t)return;const l=n(),o=null==l||null===(a=l.styles)||void 0===a?void 0:a.filter((e=>!e.isGlobalStyles));r({...l,styles:[...o,...e],__experimentalFeatures:t})}),[e,t])}function oa(){return la(),null}function sa(e,t){if(Array.isArray(t))return t}function ia(e){const t=(0,y.cloneDeep)(e);return dn.forEach((({path:e})=>{const n=(0,y.get)(t,e);n&&(0,y.set)(t,e,{user:n})})),t}function ca(e){const t=(0,y.cloneDeep)(e);return dn.forEach((({path:e})=>{const n=(0,y.get)(t,e);n&&(0,y.set)(t,e,(null!=n?n:{}).user)})),t}const ua=e=>{if(!(0,y.isObject)(e)||Array.isArray(e))return e;const t=(0,y.pickBy)((0,y.mapValues)(e,ua),y.identity);return(0,y.isEmpty)(t)?void 0:t};function ma({children:e}){const t=function(){const[e,t,n]=function(){const{globalStylesId:e,settings:t,styles:n}=(0,c.useSelect)((e=>{const t=e(u.store).__experimentalGetCurrentGlobalStylesId(),n=t?e(u.store).getEditedEntityRecord("root","globalStyles",t):void 0;return{globalStylesId:t,settings:null==n?void 0:n.settings,styles:null==n?void 0:n.styles}}),[]),{getEditedEntityRecord:r}=(0,c.useSelect)(u.store),{editEntityRecord:a}=(0,c.useDispatch)(u.store),l=(0,o.useMemo)((()=>({settings:ia(null!=t?t:{}),styles:null!=n?n:{}})),[t,n]),s=(0,o.useCallback)((t=>{var n,l;const o=r("root","globalStyles",e),s=t({styles:null!==(n=null==o?void 0:o.styles)&&void 0!==n?n:{},settings:ia(null!==(l=null==o?void 0:o.settings)&&void 0!==l?l:{})});a("root","globalStyles",e,{styles:ua(s.styles)||{},settings:ua(ca(s.settings))||{}})}),[e]);return[!!t||!!n,l,s]}(),r=(0,c.useSelect)((e=>e(u.store).__experimentalGetCurrentThemeBaseGlobalStyles()),[]),a=(0,o.useMemo)((()=>{return r&&t?(e=r,n=t,(0,y.mergeWith)({},e,n,sa)):{};var e,n}),[t,r]);return(0,o.useMemo)((()=>({isReady:e,user:t,base:r,merged:a,setUserConfig:n})),[a,t,r,n,e])}();return t.isReady?(0,o.createElement)(fn.Provider,{value:t},e):null}const da={secondarySidebar:(0,_.__)("Block Library")};var pa=function({initialSettings:e,onError:t}){const{isInserterOpen:n,isListViewOpen:r,sidebarIsOpened:a,settings:l,entityId:s,templateType:i,page:m,template:d,templateResolved:g,isNavigationOpen:f}=(0,c.useSelect)((e=>{const{isInserterOpened:t,isListViewOpened:n,getSettings:r,getEditedPostType:a,getEditedPostId:l,getPage:o,isNavigationOpened:s}=e(It),{hasFinishedResolution:i,getEntityRecord:c}=e(u.store),m=a(),d=l();return{isInserterOpen:t(),isListViewOpen:n(),sidebarIsOpened:!!e(he).getActiveComplementaryArea(It.name),settings:r(),templateType:m,page:o(),template:d?c("postType",m,d):null,templateResolved:!!d&&i("getEntityRecord",["postType",m,d]),entityId:d,isNavigationOpen:s()}}),[]),{updateEditorSettings:h}=(0,c.useDispatch)(Pt.store),{setPage:v,setIsInserterOpened:y,updateSettings:b}=(0,c.useDispatch)(It),{enableComplementaryArea:S}=(0,c.useDispatch)(he);(0,o.useEffect)((()=>{b(e)}),[]);const{defaultTemplateTypes:w,defaultTemplatePartAreas:k}=l;(0,o.useEffect)((()=>{h({defaultTemplateTypes:w,defaultTemplatePartAreas:k})}),[w,k]);const[T,x]=(0,o.useState)(!1),I=(0,o.useCallback)((()=>x(!0)),[]),C=(0,o.useCallback)((()=>{x(!1)}),[]),P=(0,o.useMemo)((()=>({...null==m?void 0:m.context,queryContext:[(null==m?void 0:m.context.queryContext)||{page:1},e=>v({...m,context:{...null==m?void 0:m.context,queryContext:{...null==m?void 0:m.context.queryContext,...e}}})]})),[null==m?void 0:m.context]);(0,o.useEffect)((()=>{f?document.body.classList.add("is-navigation-sidebar-open"):document.body.classList.remove("is-navigation-sidebar-open")}),[f]),(0,o.useEffect)((function(){"open"===new URLSearchParams(window.location.search).get("styles")&&S("core/edit-site","edit-site/global-styles")}),[S]);const N=(null==l?void 0:l.siteUrl)&&void 0!==i&&void 0!==s;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Zr,null),N&&(0,o.createElement)(Nt.ShortcutProvider,null,(0,o.createElement)(p.SlotFillProvider,null,(0,o.createElement)(u.EntityProvider,{kind:"root",type:"site"},(0,o.createElement)(u.EntityProvider,{kind:"postType",type:i,id:s},(0,o.createElement)(ma,null,(0,o.createElement)(Ct.BlockContextProvider,{value:P},(0,o.createElement)(oa,null),(0,o.createElement)(aa,{onError:t},(0,o.createElement)(Be,{isActive:!0}),(0,o.createElement)(Pt.UnsavedChangesWarning,null),(0,o.createElement)(Jr.Register,null),(0,o.createElement)(Lr,null),(0,o.createElement)(Le,{labels:da,secondarySidebar:n?(0,o.createElement)(ta,null):r?(0,o.createElement)(na,null):null,sidebar:a&&(0,o.createElement)(Ae.Slot,{scope:"core/edit-site"}),header:(0,o.createElement)(on,{openEntitiesSavedStates:I}),notices:(0,o.createElement)(Pt.EditorSnackbars,null),content:(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Pt.EditorNotices,null),d&&(0,o.createElement)(Kr,{setIsInserterOpen:y}),g&&!d&&(null==l?void 0:l.siteUrl)&&s&&(0,o.createElement)(p.Notice,{status:"warning",isDismissible:!1},(0,_.__)("You attempted to edit an item that doesn't exist. Perhaps it was deleted?")),(0,o.createElement)(Jr,{openEntitiesSavedStates:I})),actions:(0,o.createElement)(o.Fragment,null,T?(0,o.createElement)(Pt.EntitiesSavedStates,{close:C}):(0,o.createElement)("div",{className:"edit-site-editor__toggle-save-panel"},(0,o.createElement)(p.Button,{variant:"secondary",className:"edit-site-editor__toggle-save-panel-button",onClick:I,"aria-expanded":!1},(0,_.__)("Open save panel")))),footer:(0,o.createElement)(Ct.BlockBreadcrumb,null)}),(0,o.createElement)(p.Popover.Slot,null),(0,o.createElement)(E.PluginArea,null)))))))))},_a=function({icon:e,isOpen:t}){const{isRequestingSiteIcon:n,navigationPanelMenu:r,siteIconUrl:a}=(0,c.useSelect)((e=>{const{getCurrentTemplateNavigationPanelSubMenu:t}=e(It),{getEntityRecord:n,isResolving:r}=e(u.store),a=n("root","__unstableBase",void 0)||{};return{isRequestingSiteIcon:r("core","getEntityRecord",["root","__unstableBase",void 0]),navigationPanelMenu:t(),siteIconUrl:a.site_icon_url}}),[]),{openNavigationPanelToMenu:l,setIsNavigationPanelOpened:s}=(0,c.useDispatch)(It),i=(0,Re.useReducedMotion)();let m=(0,o.createElement)(p.Icon,{size:"36px",icon:Bt});return a?m=(0,o.createElement)(p.__unstableMotion.img,{variants:!i&&{expand:{scale:1.7,borderRadius:0,transition:{type:"tween",duration:"0.2"}}},alt:(0,_.__)("Site Icon"),className:"edit-site-navigation-toggle__site-icon",src:a}):n?m=null:e&&(m=(0,o.createElement)(p.Icon,{size:"36px",icon:e})),(0,o.createElement)(p.__unstableMotion.div,{className:"edit-site-navigation-toggle"+(t?" is-open":""),whileHover:"expand"},(0,o.createElement)(p.Button,{className:"edit-site-navigation-toggle__button has-icon",label:(0,_.__)("Toggle navigation"),onClick:()=>{t?s(!1):l(r)},showTooltip:!0},m))};function Ea({className:e,...t}){return(0,o.createElement)(Ae,Y({panelClassName:e,className:"edit-site-sidebar",scope:"core/edit-site"},t))}function ga(e){return(0,o.createElement)(Te,Y({__unstableExplicitMenuItem:!0,scope:"core/edit-site"},e))}var fa=(0,Re.compose)((0,E.withPluginContext)(((e,t)=>({icon:t.icon||e.icon,name:"core/edit-site/plugin-more-menu"}))))(we);function ha(e,t){(0,o.unmountComponentAtNode)(e);const n=ha.bind(null,e,t);(0,o.render)((0,o.createElement)(pa,{initialSettings:t,onError:n}),e)}function va(e,t){t.__experimentalFetchLinkSuggestions=(e,n)=>(0,u.__experimentalFetchLinkSuggestions)(e,n,t),t.__experimentalFetchRichUrlData=u.__experimentalFetchUrlData,t.__experimentalSpotlightEntityBlocks=["core/template-part"];const n=document.getElementById(e),r=ha.bind(null,n,t);(0,c.dispatch)(s.store).__experimentalReapplyBlockTypeFilters(),(0,i.registerCoreBlocks)(),(0,i.__experimentalRegisterExperimentalCoreBlocks)({enableFSEBlocks:!0}),(0,o.render)((0,o.createElement)(pa,{initialSettings:t,onError:r}),n)}}(),(window.wp=window.wp||{}).editSite=r}();
1
+ !function(){var e={4184:function(e,t){var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===l)if(n.toString===Object.prototype.toString)for(var i in n)a.call(n,i)&&n[i]&&e.push(i);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},3729:function(e,t){var n,a;void 0===(a="function"==typeof(n=function(){return function e(t,n,a){var r,l,o=window,i="application/octet-stream",s=a||i,c=t,u=!n&&!a&&c,m=document.createElement("a"),p=function(e){return String(e)},d=o.Blob||o.MozBlob||o.WebKitBlob||p,_=n||"download";if(d=d.call?d.bind(o):Blob,"true"===String(this)&&(s=(c=[c,s])[0],c=c[1]),u&&u.length<2048&&(_=u.split("/").pop().split("?")[0],m.href=u,-1!==m.href.indexOf(u))){var g=new XMLHttpRequest;return g.open("GET",u,!0),g.responseType="blob",g.onload=function(t){e(t.target.response,_,i)},setTimeout((function(){g.send()}),0),g}if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(c)){if(!(c.length>2096103.424&&d!==p))return navigator.msSaveBlob?navigator.msSaveBlob(v(c),_):y(c);s=(c=v(c)).type||i}else if(/([\x80-\xff])/.test(c)){for(var E=0,f=new Uint8Array(c.length),h=f.length;E<h;++E)f[E]=c.charCodeAt(E);c=new d([f],{type:s})}function v(e){for(var t=e.split(/[:;,]/),n=t[1],a=("base64"==t[2]?atob:decodeURIComponent)(t.pop()),r=a.length,l=0,o=new Uint8Array(r);l<r;++l)o[l]=a.charCodeAt(l);return new d([o],{type:n})}function y(e,t){if("download"in m)return m.href=e,m.setAttribute("download",_),m.className="download-js-link",m.innerHTML="downloading...",m.style.display="none",document.body.appendChild(m),setTimeout((function(){m.click(),document.body.removeChild(m),!0===t&&setTimeout((function(){o.URL.revokeObjectURL(m.href)}),250)}),66),!0;if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))return/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,i)),window.open(e)||confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")&&(location.href=e),!0;var n=document.createElement("iframe");document.body.appendChild(n),!t&&/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,i)),n.src=e,setTimeout((function(){document.body.removeChild(n)}),333)}if(r=c instanceof d?c:new d([c],{type:s}),navigator.msSaveBlob)return navigator.msSaveBlob(r,_);if(o.URL)y(o.URL.createObjectURL(r),!0);else{if("string"==typeof r||r.constructor===p)try{return y("data:"+s+";base64,"+o.btoa(r))}catch(e){return y("data:"+s+","+encodeURIComponent(r))}(l=new FileReader).onload=function(e){y(this.result)},l.readAsDataURL(r)}return!0}})?n.apply(t,[]):n)||(e.exports=a)}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var l=t[a]={exports:{}};return e[a].call(l.exports,l,l.exports,n),l.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};!function(){"use strict";n.r(a),n.d(a,{PluginMoreMenuItem:function(){return Xr},PluginSidebar:function(){return qr},PluginSidebarMoreMenuItem:function(){return Yr},__experimentalMainDashboardButton:function(){return gn},__experimentalNavigationToggle:function(){return Pr},initialize:function(){return Qr},reinitializeEditor:function(){return Kr}});var e={};n.r(e),n.d(e,{disableComplementaryArea:function(){return ge},enableComplementaryArea:function(){return _e},pinItem:function(){return fe},setFeatureDefaults:function(){return be},setFeatureValue:function(){return ye},toggleFeature:function(){return ve},unpinItem:function(){return he}});var t={};n.r(t),n.d(t,{getActiveComplementaryArea:function(){return Se},isFeatureActive:function(){return xe},isItemPinned:function(){return we}});var r={};n.r(r),n.d(r,{__experimentalSetPreviewDeviceType:function(){return je},addTemplate:function(){return Ye},closeGeneralSidebar:function(){return ut},goBack:function(){return et},openGeneralSidebar:function(){return ct},openNavigationPanelToMenu:function(){return at},pushTemplatePart:function(){return Qe},removeTemplate:function(){return Xe},revertTemplate:function(){return st},setHomeTemplateId:function(){return Je},setIsInserterOpened:function(){return lt},setIsListViewOpened:function(){return it},setIsNavigationPanelOpened:function(){return rt},setNavigationPanelActiveMenu:function(){return nt},setPage:function(){return Ze},setTemplate:function(){return qe},setTemplatePart:function(){return Ke},showHomepage:function(){return tt},toggleFeature:function(){return We},updateSettings:function(){return ot}});var l={};n.r(l),n.d(l,{__experimentalGetInsertionPoint:function(){return Rt},__experimentalGetPreviewDeviceType:function(){return ft},getCanUserCreateMedia:function(){return ht},getCurrentTemplateNavigationPanelSubMenu:function(){return Ct},getCurrentTemplateTemplateParts:function(){return Bt},getEditedPostId:function(){return xt},getEditedPostType:function(){return wt},getHomeTemplateId:function(){return yt},getNavigationPanelActiveMenu:function(){return Pt},getPage:function(){return It},getPreviousEditedPostId:function(){return kt},getPreviousEditedPostType:function(){return Tt},getSettings:function(){return vt},isFeatureActive:function(){return Et},isInserterOpened:function(){return Mt},isListViewOpened:function(){return At},isNavigationOpened:function(){return Nt}});var o=window.wp.element,i=window.wp.blocks,s=window.wp.blockLibrary,c=window.wp.data,u=window.wp.coreData,m=n(3729),p=n.n(m),d=window.wp.components,_=window.wp.i18n,g=window.wp.plugins,E=window.wp.apiFetch,f=n.n(E),h=window.wp.primitives,v=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M18 11.3l-1-1.1-4 4V3h-1.5v11.3L7 10.2l-1 1.1 6.2 5.8 5.8-5.8zm.5 3.7v3.5h-13V15H4v5h16v-5h-1.5z"})),y=window.lodash;const{Fill:b,Slot:S}=(0,d.createSlotFill)("EditSiteToolsMoreMenuGroup");b.Slot=({fillProps:e})=>(0,o.createElement)(S,{fillProps:e},(e=>!(0,y.isEmpty)(e)&&(0,o.createElement)(d.MenuGroup,{label:(0,_.__)("Tools")},e)));var w=b;(0,g.registerPlugin)("edit-site",{render:()=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(w,null,(0,o.createElement)(d.MenuItem,{role:"menuitem",icon:v,onClick:()=>f()({path:"/__experimental/edit-site/v1/export",parse:!1}).then((e=>e.blob())).then((e=>p()(e,"edit-site-export.zip","application/zip"))),info:(0,_.__)("Download your templates and template parts.")},(0,_.__)("Export"))))});var x=window.wp.hooks,T=window.wp.mediaUtils;(0,x.addFilter)("editor.MediaUpload","core/edit-site/components/media-upload",(()=>T.MediaUpload));var k=window.wp.dataControls;const I={},P="core/edit-site",C="header",N="footer",M="sidebar",R="uncategorized",A={[C]:(0,_.__)("Header"),[N]:(0,_.__)("Footer"),[M]:(0,_.__)("Sidebar"),[R]:(0,_.__)("General")},B=["index","singular","archive","single","page","home","404","search","author","category","taxonomy","date","tag","attachment","single-post","front-page"],L=["page-home"],O=["post-","author-","single-post-","tag-"],D=["page-"],F=["front-page","single-post","page","archive","search","404","index"],V={singular:["single","page"],index:["archive","404","search","singular","home"],home:["front-page"]},G="root",z="content-categories",U="content-pages",$="content-posts",H="template-parts",W="templates",j="templates-general",q="templates-pages",Y="templates-posts",X="templates-unused",K=[{area:C,menu:"template-parts-headers",title:(0,_.__)("headers")},{area:N,menu:"template-parts-footers",title:(0,_.__)("footers")},{area:M,menu:"template-parts-sidebars",title:(0,_.__)("sidebars")},{area:R,menu:"template-parts-general",title:(0,_.__)("general")}],Q=(0,c.combineReducers)({features(e=I,t){switch(t.type){case"TOGGLE_FEATURE":return{...e,[t.feature]:!e[t.feature]};default:return e}}});var J=(0,c.combineReducers)({preferences:Q,deviceType:function(e="Desktop",t){switch(t.type){case"SET_PREVIEW_DEVICE_TYPE":return t.deviceType}return e},settings:function(e={},t){switch(t.type){case"UPDATE_SETTINGS":return{...e,...t.settings}}return e},editedPost:function(e=[],t){switch(t.type){case"SET_TEMPLATE":case"SET_PAGE":return[{type:"wp_template",id:t.templateId,page:t.page}];case"SET_TEMPLATE_PART":return[{type:"wp_template_part",id:t.templatePartId}];case"PUSH_TEMPLATE_PART":return[...e,{type:"wp_template_part",id:t.templatePartId}];case"GO_BACK":return e.slice(0,-1)}return e},homeTemplateId:function(e,t){switch(t.type){case"SET_HOME_TEMPLATE":return t.homeTemplateId}return e},navigationPanel:function(e={menu:G,isOpen:!1},t){switch(t.type){case"SET_NAVIGATION_PANEL_ACTIVE_MENU":return{...e,menu:t.menu};case"OPEN_NAVIGATION_PANEL_TO_MENU":return{...e,isOpen:!0,menu:t.menu};case"SET_IS_NAVIGATION_PANEL_OPENED":return{...e,menu:t.isOpen?e.menu:G,isOpen:t.isOpen};case"SET_IS_LIST_VIEW_OPENED":return{...e,menu:e.isOpen&&t.isOpen?G:e.menu,isOpen:!t.isOpen&&e.isOpen};case"SET_IS_INSERTER_OPENED":return{...e,menu:e.isOpen&&t.value?G:e.menu,isOpen:!t.value&&e.isOpen}}return e},blockInserterPanel:function(e=!1,t){switch(t.type){case"OPEN_NAVIGATION_PANEL_TO_MENU":return!1;case"SET_IS_NAVIGATION_PANEL_OPENED":case"SET_IS_LIST_VIEW_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return t.value}return e},listViewPanel:function(e=!1,t){switch(t.type){case"OPEN_NAVIGATION_PANEL_TO_MENU":return!1;case"SET_IS_NAVIGATION_PANEL_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return!t.value&&e;case"SET_IS_LIST_VIEW_OPENED":return t.isOpen}return e}}),Z=window.wp.url,ee=window.wp.notices;function te(){return(te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ne=n(4184),ae=n.n(ne),re=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),le=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"})),oe=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{fillRule:"evenodd",d:"M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z",clipRule:"evenodd"})),ie=window.wp.viewport,se=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));const ce=(0,c.combineReducers)({features(e={},t){if("SET_FEATURE_DEFAULTS"===t.type){const{scope:n,defaults:a}=t;return{...e,[n]:{...e[n],...a}}}return e}}),ue=(0,c.combineReducers)({features(e={},t){if("SET_FEATURE_VALUE"===t.type){const{scope:n,featureName:a,value:r}=t;return{...e,[n]:{...e[n],[a]:r}}}return e}}),me=(0,c.combineReducers)({singleEnableItems:function(e={},{type:t,itemType:n,scope:a,item:r}){return"SET_SINGLE_ENABLE_ITEM"===t&&n&&a?{...e,[n]:{...e[n],[a]:r||null}}:e},multipleEnableItems:function(e={},{type:t,itemType:n,scope:a,item:r,isEnable:l}){if("SET_MULTIPLE_ENABLE_ITEM"!==t||!n||!a||!r||(0,y.get)(e,[n,a,r])===l)return e;const o=e[n]||{},i=o[a]||{};return{...e,[n]:{...o,[a]:{...i,[r]:l||!1}}}}});var pe=(0,c.combineReducers)({enableItems:me,preferenceDefaults:ce,preferences:ue});function de(e,t,n){return{type:"SET_SINGLE_ENABLE_ITEM",itemType:e,scope:t,item:n}}function _e(e,t){return de("complementaryArea",e,t)}function ge(e){return de("complementaryArea",e,void 0)}function Ee(e,t,n,a){return{type:"SET_MULTIPLE_ENABLE_ITEM",itemType:e,scope:t,item:n,isEnable:a}}function fe(e,t){return Ee("pinnedItems",e,t,!0)}function he(e,t){return Ee("pinnedItems",e,t,!1)}function ve(e,t){return function({select:n,dispatch:a}){const r=n.isFeatureActive(e,t);a.setFeatureValue(e,t,!r)}}function ye(e,t,n){return{type:"SET_FEATURE_VALUE",scope:e,featureName:t,value:!!n}}function be(e,t){return{type:"SET_FEATURE_DEFAULTS",scope:e,defaults:t}}function Se(e,t){return function(e,t,n){return(0,y.get)(e.enableItems.singleEnableItems,["complementaryArea",n])}(e,0,t)}function we(e,t,n){return!1!==function(e,t,n,a){return(0,y.get)(e.enableItems.multipleEnableItems,["pinnedItems",n,a])}(e,0,t,n)}function xe(e,t,n){var a,r;const l=null===(a=e.preferences.features[t])||void 0===a?void 0:a[n];return!!(void 0!==l?l:null===(r=e.preferenceDefaults.features[t])||void 0===r?void 0:r[n])}const Te="core/interface",ke=(0,c.createReduxStore)(Te,{reducer:pe,actions:e,selectors:t,persist:["enableItems","preferences"],__experimentalUseThunks:!0});(0,c.registerStore)(Te,{reducer:pe,actions:e,selectors:t,persist:["enableItems","preferences"],__experimentalUseThunks:!0});var Ie=(0,g.withPluginContext)(((e,t)=>({icon:t.icon||e.icon,identifier:t.identifier||`${e.name}/${t.name}`}))),Pe=Ie((function({as:e=d.Button,scope:t,identifier:n,icon:a,selectedIcon:r,...l}){const i=e,s=(0,c.useSelect)((e=>e(ke).getActiveComplementaryArea(t)===n),[n]),{enableComplementaryArea:u,disableComplementaryArea:m}=(0,c.useDispatch)(ke);return(0,o.createElement)(i,te({icon:r&&s?r:a,onClick:()=>{s?m(t):u(t,n)}},(0,y.omit)(l,["name"])))})),Ce=({smallScreenTitle:e,children:t,className:n,toggleButtonProps:a})=>{const r=(0,o.createElement)(Pe,te({icon:se},a));return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"components-panel__header interface-complementary-area-header__small"},e&&(0,o.createElement)("span",{className:"interface-complementary-area-header__small-title"},e),r),(0,o.createElement)("div",{className:ae()("components-panel__header","interface-complementary-area-header",n),tabIndex:-1},t,r))};function Ne({name:e,as:t=d.Button,onClick:n,...a}){return(0,o.createElement)(d.Fill,{name:e},(({onClick:e})=>(0,o.createElement)(t,te({onClick:n||e?(...t)=>{(n||y.noop)(...t),(e||y.noop)(...t)}:void 0},a))))}Ne.Slot=function({name:e,as:t=d.ButtonGroup,fillProps:n={},bubblesVirtually:a,...r}){return(0,o.createElement)(d.Slot,{name:e,bubblesVirtually:a,fillProps:n},(e=>{if((0,y.isEmpty)(o.Children.toArray(e)))return null;const n=[];o.Children.forEach(e,(({props:{__unstableExplicitMenuItem:e,__unstableTarget:t}})=>{t&&e&&n.push(t)}));const a=o.Children.map(e,(e=>!e.props.__unstableExplicitMenuItem&&n.includes(e.props.__unstableTarget)?null:e));return(0,o.createElement)(t,r,a)}))};var Me=Ne;const Re=e=>(0,o.createElement)(d.MenuItem,(0,y.omit)(e,["__unstableExplicitMenuItem","__unstableTarget"]));function Ae({scope:e,target:t,__unstableExplicitMenuItem:n,...a}){return(0,o.createElement)(Pe,te({as:a=>(0,o.createElement)(Me,te({__unstableExplicitMenuItem:n,__unstableTarget:`${e}/${t}`,as:Re,name:`${e}/plugin-more-menu`},a)),role:"menuitemcheckbox",selectedIcon:re,name:t,scope:e},a))}function Be({scope:e,...t}){return(0,o.createElement)(d.Fill,te({name:`PinnedItems/${e}`},t))}Be.Slot=function({scope:e,className:t,...n}){return(0,o.createElement)(d.Slot,te({name:`PinnedItems/${e}`},n),(e=>!(0,y.isEmpty)(e)&&(0,o.createElement)("div",{className:ae()(t,"interface-pinned-items")},e)))};var Le=Be;function Oe({scope:e,children:t,className:n}){return(0,o.createElement)(d.Fill,{name:`ComplementaryArea/${e}`},(0,o.createElement)("div",{className:n},t))}const De=Ie((function({children:e,className:t,closeLabel:n=(0,_.__)("Close plugin"),identifier:a,header:r,headerClassName:l,icon:i,isPinnable:s=!0,panelClassName:u,scope:m,name:p,smallScreenTitle:g,title:E,toggleShortcut:f,isActiveByDefault:h,showIconLabels:v=!1}){const{isActive:y,isPinned:b,activeArea:S,isSmall:w,isLarge:x}=(0,c.useSelect)((e=>{const{getActiveComplementaryArea:t,isItemPinned:n}=e(ke),r=t(m);return{isActive:r===a,isPinned:n(m,a),activeArea:r,isSmall:e(ie.store).isViewportMatch("< medium"),isLarge:e(ie.store).isViewportMatch("large")}}),[a,m]);!function(e,t,n,a,r){const l=(0,o.useRef)(!1),i=(0,o.useRef)(!1),{enableComplementaryArea:s,disableComplementaryArea:u}=(0,c.useDispatch)(ke);(0,o.useEffect)((()=>{a&&r&&!l.current?(u(e),i.current=!0):i.current&&!r&&l.current?(i.current=!1,s(e,t)):i.current&&n&&n!==t&&(i.current=!1),r!==l.current&&(l.current=r)}),[a,r,e,t,n])}(m,a,S,y,w);const{enableComplementaryArea:T,disableComplementaryArea:k,pinItem:I,unpinItem:P}=(0,c.useDispatch)(ke);return(0,o.useEffect)((()=>{h&&void 0===S&&!w&&T(m,a)}),[S,h,m,a,w]),(0,o.createElement)(o.Fragment,null,s&&(0,o.createElement)(Le,{scope:m},b&&(0,o.createElement)(Pe,{scope:m,identifier:a,isPressed:y&&(!v||x),"aria-expanded":y,label:E,icon:v?re:i,showTooltip:!v,variant:v?"tertiary":void 0})),p&&s&&(0,o.createElement)(Ae,{target:p,scope:m,icon:i},E),y&&(0,o.createElement)(Oe,{className:ae()("interface-complementary-area",t),scope:m},(0,o.createElement)(Ce,{className:l,closeLabel:n,onClose:()=>k(m),smallScreenTitle:g,toggleButtonProps:{label:n,shortcut:f,scope:m,identifier:a}},r||(0,o.createElement)(o.Fragment,null,(0,o.createElement)("strong",null,E),s&&(0,o.createElement)(d.Button,{className:"interface-complementary-area__pin-unpin-item",icon:b?le:oe,label:b?(0,_.__)("Unpin from toolbar"):(0,_.__)("Pin to toolbar"),onClick:()=>(b?P:I)(m,a),isPressed:b,"aria-expanded":b}))),(0,o.createElement)(d.Panel,{className:u},e)))}));De.Slot=function({scope:e,...t}){return(0,o.createElement)(d.Slot,te({name:`ComplementaryArea/${e}`},t))};var Fe,Ve,Ge=De,ze=({isActive:e})=>((0,o.useEffect)((()=>{let e=!1;return document.body.classList.contains("sticky-menu")&&(e=!0,document.body.classList.remove("sticky-menu")),()=>{e&&document.body.classList.add("sticky-menu")}}),[]),(0,o.useEffect)((()=>(e?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode"),()=>{e&&document.body.classList.remove("is-fullscreen-mode")})),[e]),null),Ue=window.wp.compose,$e=(0,o.forwardRef)((function({footer:e,header:t,sidebar:n,secondarySidebar:a,notices:r,content:l,drawer:i,actions:s,labels:c,className:u,shortcuts:m},p){const g=(0,d.__unstableUseNavigateRegions)(m);!function(e){(0,o.useEffect)((()=>{const t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}}),[e])}("interface-interface-skeleton__html-container");const E={
2
  /* translators: accessibility text for the nav bar landmark region. */
3
  drawer:(0,_.__)("Drawer"),
4
  /* translators: accessibility text for the top bar landmark region. */
12
  /* translators: accessibility text for the publish landmark region. */
13
  actions:(0,_.__)("Publish"),
14
  /* translators: accessibility text for the footer landmark region. */
15
+ footer:(0,_.__)("Footer"),...c};return(0,o.createElement)("div",te({},g,{ref:(0,Ue.useMergeRefs)([p,g.ref]),className:ae()(u,"interface-interface-skeleton",g.className,!!e&&"has-footer")}),!!i&&(0,o.createElement)("div",{className:"interface-interface-skeleton__drawer",role:"region","aria-label":E.drawer},i),(0,o.createElement)("div",{className:"interface-interface-skeleton__editor"},!!t&&(0,o.createElement)("div",{className:"interface-interface-skeleton__header",role:"region","aria-label":E.header,tabIndex:"-1"},t),(0,o.createElement)("div",{className:"interface-interface-skeleton__body"},!!a&&(0,o.createElement)("div",{className:"interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":E.secondarySidebar,tabIndex:"-1"},a),!!r&&(0,o.createElement)("div",{className:"interface-interface-skeleton__notices"},r),(0,o.createElement)("div",{className:"interface-interface-skeleton__content",role:"region","aria-label":E.body,tabIndex:"-1"},l),!!n&&(0,o.createElement)("div",{className:"interface-interface-skeleton__sidebar",role:"region","aria-label":E.sidebar,tabIndex:"-1"},n),!!s&&(0,o.createElement)("div",{className:"interface-interface-skeleton__actions",role:"region","aria-label":E.actions,tabIndex:"-1"},s))),!!e&&(0,o.createElement)("div",{className:"interface-interface-skeleton__footer",role:"region","aria-label":E.footer,tabIndex:"-1"},e))}));function He(e){return!!e&&"custom"===(null==e?void 0:e.source)&&(null==e?void 0:e.has_theme_file)}function We(e){return{type:"TOGGLE_FEATURE",feature:e}}function je(e){return{type:"SET_PREVIEW_DEVICE_TYPE",deviceType:e}}function*qe(e,t){const n={templateSlug:t};if(!t){const t=yield c.controls.resolveSelect(u.store,"getEntityRecord","postType","wp_template",e);n.templateSlug=null==t?void 0:t.slug}return{type:"SET_TEMPLATE",templateId:e,page:{context:n}}}function*Ye(e){const t=yield c.controls.dispatch(u.store,"saveEntityRecord","postType","wp_template",e);return e.content&&(yield c.controls.dispatch(u.store,"editEntityRecord","postType","wp_template",t.id,{blocks:(0,i.parse)(e.content)},{undoIgnore:!0})),{type:"SET_TEMPLATE",templateId:t.id,page:{context:{templateSlug:t.slug}}}}function*Xe(e){yield(0,k.apiFetch)({path:`/wp/v2/templates/${e}`,method:"DELETE"});const t=yield c.controls.select(P,"getPage");yield c.controls.dispatch(P,"setPage",t)}function Ke(e){return{type:"SET_TEMPLATE_PART",templatePartId:e}}function Qe(e){return{type:"PUSH_TEMPLATE_PART",templatePartId:e}}function Je(e){return{type:"SET_HOME_TEMPLATE",homeTemplateId:e}}function*Ze(e){var t;if(!e.path&&null!==(t=e.context)&&void 0!==t&&t.postId){const t=yield c.controls.resolveSelect(u.store,"getEntityRecord","postType",e.context.postType||"post",e.context.postId);e.path=(0,Z.getPathAndQueryString)(t.link)}const{id:n,slug:a}=yield c.controls.resolveSelect(u.store,"__experimentalGetTemplateForLink",e.path);return yield{type:"SET_PAGE",page:a?{...e,context:{...e.context,templateSlug:a}}:e,templateId:n},n}function et(){return{type:"GO_BACK"}}function*tt(){const{show_on_front:e,page_on_front:t}=yield c.controls.resolveSelect(u.store,"getEntityRecord","root","site"),{siteUrl:n}=yield c.controls.select(P,"getSettings"),a={path:n,context:"page"===e?{postType:"page",postId:t}:{}},r=yield*Ze(a);yield Je(r)}function nt(e){return{type:"SET_NAVIGATION_PANEL_ACTIVE_MENU",menu:e}}function at(e){return{type:"OPEN_NAVIGATION_PANEL_TO_MENU",menu:e}}function rt(e){return{type:"SET_IS_NAVIGATION_PANEL_OPENED",isOpen:e}}function lt(e){return{type:"SET_IS_INSERTER_OPENED",value:e}}function ot(e){return{type:"UPDATE_SETTINGS",settings:e}}function it(e){return{type:"SET_IS_LIST_VIEW_OPENED",isOpen:e}}function*st(e){if(He(e))try{var t;const n=yield c.controls.select(u.store,"getEntity","postType",e.type);if(!n)return void(yield c.controls.dispatch(ee.store,"createErrorNotice",(0,_.__)("The editor has encountered an unexpected error. Please reload."),{type:"snackbar"}));const a=(0,Z.addQueryArgs)(`${n.baseURL}/${e.id}`,{context:"edit",source:"theme"}),r=yield(0,k.apiFetch)({path:a});if(!r)return void(yield c.controls.dispatch(ee.store,"createErrorNotice",(0,_.__)("The editor has encountered an unexpected error. Please reload."),{type:"snackbar"}));const l=({blocks:e=[]})=>(0,i.__unstableSerializeAndClean)(e),o=yield c.controls.select(u.store,"getEditedEntityRecord","postType",e.type,e.id);yield c.controls.dispatch(u.store,"editEntityRecord","postType",e.type,e.id,{content:l,blocks:o.blocks,source:"custom"},{undoIgnore:!0});const s=(0,i.parse)(null==r||null===(t=r.content)||void 0===t?void 0:t.raw);yield c.controls.dispatch(u.store,"editEntityRecord","postType",e.type,r.id,{content:l,blocks:s,source:"theme"});const m=async()=>{await(0,c.dispatch)(u.store).editEntityRecord("postType",e.type,o.id,{content:l,blocks:o.blocks,source:"custom"})};yield c.controls.dispatch(ee.store,"createSuccessNotice",(0,_.__)("Template reverted."),{type:"snackbar",actions:[{label:(0,_.__)("Undo"),onClick:m}]})}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,_.__)("Template revert failed. Please reload.");yield c.controls.dispatch(ee.store,"createErrorNotice",t,{type:"snackbar"})}else yield c.controls.dispatch(ee.store,"createErrorNotice",(0,_.__)("This template is not revertable."),{type:"snackbar"})}function*ct(e){yield c.controls.dispatch(ke,"enableComplementaryArea",P,e)}function*ut(){yield c.controls.dispatch(ke,"disableComplementaryArea",P)}function mt(e){return[e]}function pt(){var e={clear:function(){e.head=null}};return e}function dt(e,t,n){var a;if(e.length!==t.length)return!1;for(a=n;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}function _t(e,t,n){return!!V[e]&&("home"===e&&"posts"!==n||V[e].every((e=>t.includes(e)||_t(e,t,n))))}function gt(e){return B.includes(e)?W:L.includes(e)?j:O.some((t=>e.startsWith(t)))?Y:D.some((t=>e.startsWith(t)))?q:j}function Et(e,t){return(0,y.get)(e.preferences.features,[t],!1)}function ft(e){return e.deviceType}Fe={},Ve="undefined"!=typeof WeakMap;const ht=(0,c.createRegistrySelector)((e=>()=>e(u.store).canUser("create","media"))),vt=function(e,t){var n,a;function r(){n=Ve?new WeakMap:pt()}function l(){var n,r,l,o,i,s=arguments.length;for(o=new Array(s),l=0;l<s;l++)o[l]=arguments[l];for(i=t.apply(null,o),(n=a(i)).isUniqueByDependants||(n.lastDependants&&!dt(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(dt(r.args,o,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,o)},o[0]=null,r.args=o,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=mt),a=Ve?function(e){var t,a,r,l,o,i=n,s=!0;for(t=0;t<e.length;t++){if(!(o=a=e[t])||"object"!=typeof o){s=!1;break}i.has(a)?i=i.get(a):(r=new WeakMap,i.set(a,r),i=r)}return i.has(Fe)||((l=pt()).isUniqueByDependants=s,i.set(Fe,l)),i.get(Fe)}:function(){return n},l.getDependants=t,l.clear=r,r(),l}(((e,t)=>{const n={...e.settings,outlineMode:!0,focusMode:Et(e,"focusMode"),hasFixedToolbar:Et(e,"fixedToolbar"),__experimentalSetIsInserterOpened:t};return ht(e)?(n.mediaUpload=({onError:t,...n})=>{(0,T.uploadMedia)({wpAllowedMimeTypes:e.settings.allowedMimeTypes,onError:({message:e})=>t(e),...n})},n):n}),(e=>[ht(e),e.settings,Et(e,"focusMode"),Et(e,"fixedToolbar")]));function yt(e){return e.homeTemplateId}function bt(e){return e.editedPost[e.editedPost.length-1]||{}}function St(e){return e.editedPost[e.editedPost.length-2]||{}}function wt(e){return bt(e).type}function xt(e){return bt(e).id}function Tt(e){return St(e).type}function kt(e){return St(e).id}function It(e){return bt(e).page}function Pt(e){return e.navigationPanel.menu}const Ct=(0,c.createRegistrySelector)((e=>t=>{const n=wt(t),a=xt(t),r=a?e(u.store).getEntityRecord("postType",n,a):null;if(!r)return G;var l;if("wp_template_part"===n)return(null===(l=K.find((e=>e.area===(null==r?void 0:r.area))))||void 0===l?void 0:l.menu)||H;const o=e(u.store).getEntityRecords("postType","wp_template"),i=e(u.store).getEditedEntityRecord("root","site").show_on_front;return _t(r.slug,(0,y.map)(o,"slug"),i)?X:gt(r.slug)}));function Nt(e){return e.navigationPanel.isOpen}function Mt(e){return!!e.blockInserterPanel}function Rt(e){const{rootClientId:t,insertionIndex:n,filterValue:a}=e.blockInserterPanel;return{rootClientId:t,insertionIndex:n,filterValue:a}}function At(e){return e.listViewPanel}const Bt=(0,c.createRegistrySelector)((e=>t=>{var n;const a=wt(t),r=xt(t),l=e(u.store).getEditedEntityRecord("postType",a,r),o=e(u.store).getEntityRecords("postType","wp_template_part"),s=(0,y.keyBy)(o,(e=>e.id));return(null!==(n=l.blocks)&&void 0!==n?n:[]).filter((e=>(0,i.isTemplatePart)(e))).map((e=>{const{attributes:{theme:t,slug:n}}=e;return{templatePart:s[`${t}//${n}`],block:e}})).filter((({templatePart:e})=>!!e))})),Lt={reducer:J,actions:r,selectors:l,controls:k.controls,persist:["preferences"]},Ot=(0,c.createReduxStore)(P,Lt);(0,c.registerStore)(P,Lt);var Dt=window.wp.blockEditor,Ft=window.wp.editor,Vt=window.wp.keyboardShortcuts,Gt=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})),zt=(0,o.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(h.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"})),Ut=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(h.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"})),$t=function({icon:e}){const{isRequestingSiteIcon:t,siteIconUrl:n}=(0,c.useSelect)((e=>{const{getEntityRecord:t,isResolving:n}=e(u.store),a=t("root","__unstableBase",void 0)||{};return{isRequestingSiteIcon:n("core","getEntityRecord",["root","__unstableBase",void 0]),siteIconUrl:a.site_icon_url}}),[]),a=(0,Ue.useReducedMotion)();let r=(0,o.createElement)(d.Icon,{size:"36px",icon:Ut});return n?r=(0,o.createElement)(d.__unstableMotion.img,{variants:!a&&{expand:{scale:1.7,borderRadius:0,transition:{type:"tween",duration:"0.2"}}},alt:(0,_.__)("Site Icon"),className:"edit-site-navigation-link__site-icon",src:n}):t?r=null:e&&(r=(0,o.createElement)(d.Icon,{size:"36px",icon:e})),(0,o.createElement)(d.__unstableMotion.div,{className:"edit-site-navigation-link",whileHover:"expand"},(0,o.createElement)(d.Button,{className:"edit-site-navigation-link__button has-icon",label:(0,_.__)("Dashboard"),href:"index.php"},r))},Ht=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})),Wt=window.wp.a11y;function jt({feature:e,label:t,info:n,messageActivated:a,messageDeactivated:r}){const l=(0,c.useSelect)((t=>t(Ot).isFeatureActive(e)),[]),{toggleFeature:i}=(0,c.useDispatch)(Ot);return(0,o.createElement)(d.MenuItem,{icon:l&&re,isSelected:l,onClick:(0,y.flow)(i.bind(null,e),(()=>{l?(0,Wt.speak)(r||(0,_.__)("Feature deactivated")):(0,Wt.speak)(a||(0,_.__)("Feature activated"))})),role:"menuitemcheckbox",info:n},t)}const qt={className:"edit-site-more-menu__content",position:"bottom left"},Yt={tooltipPosition:"bottom"};var Xt=()=>(0,o.createElement)(d.DropdownMenu,{className:"edit-site-more-menu",icon:Ht,label:(0,_.__)("More tools & options"),popoverProps:qt,toggleProps:Yt},(({onClose:e})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(d.MenuGroup,{label:(0,_._x)("View","noun")},(0,o.createElement)(jt,{feature:"fixedToolbar",label:(0,_.__)("Top toolbar"),info:(0,_.__)("Access all block and document tools in a single place"),messageActivated:(0,_.__)("Top toolbar activated"),messageDeactivated:(0,_.__)("Top toolbar deactivated")}),(0,o.createElement)(jt,{feature:"focusMode",label:(0,_.__)("Spotlight mode"),info:(0,_.__)("Focus on one block at a time"),messageActivated:(0,_.__)("Spotlight mode activated"),messageDeactivated:(0,_.__)("Spotlight mode deactivated")}),(0,o.createElement)(Me.Slot,{name:"core/edit-site/plugin-more-menu",label:(0,_.__)("Plugins"),as:d.MenuGroup,fillProps:{onClick:e}})),(0,o.createElement)(w.Slot,{fillProps:{onClose:e}}))));function Kt({openEntitiesSavedStates:e,isEntitiesSavedStatesOpen:t}){const{isDirty:n,isSaving:a}=(0,c.useSelect)((e=>{const{__experimentalGetDirtyEntityRecords:t,isSavingEntityRecord:n}=e(u.store),a=t();return{isDirty:a.length>0,isSaving:(0,y.some)(a,(e=>n(e.kind,e.name,e.key)))}}),[]),r=!n||a;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(d.Button,{variant:"primary",className:"edit-site-save-button__button","aria-disabled":r,"aria-expanded":t,disabled:r,isBusy:a,onClick:r?void 0:e},(0,_.__)("Save")))}var Qt=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"})),Jt=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"})),Zt=window.wp.keycodes;function en(){const e=(0,c.useSelect)((e=>e(u.store).hasUndo()),[]),{undo:t}=(0,c.useDispatch)(u.store);return(0,o.createElement)(d.Button,{icon:(0,_.isRTL)()?Jt:Qt,label:(0,_.__)("Undo"),shortcut:Zt.displayShortcut.primary("z"),"aria-disabled":!e,onClick:e?t:void 0})}function tn(){const e=(0,c.useSelect)((e=>e(u.store).hasRedo()),[]),{redo:t}=(0,c.useDispatch)(u.store);return(0,o.createElement)(d.Button,{icon:(0,_.isRTL)()?Qt:Jt,label:(0,_.__)("Redo"),shortcut:Zt.displayShortcut.primaryShift("z"),"aria-disabled":!e,onClick:e?t:void 0})}var nn=(0,o.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(h.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));function an(e){if(e){const t=(0,i.getBlockType)(e.name);return t?(0,i.__experimentalGetBlockLabel)(t,e.attributes):null}return null}function rn({entityTitle:e,entityLabel:t,isLoaded:n,children:a}){const{label:r}=function(){const{getBlock:e}=(0,c.useSelect)(Dt.store),t=(0,c.useSelect)((e=>e(Dt.store).__experimentalGetActiveBlockIdByBlockNames(["core/template-part"])),[]);return t?{label:an(e(t)),isActive:!0}:{}}(),l=(0,o.useRef)();return n?e?(0,o.createElement)("div",{className:ae()("edit-site-document-actions",{"has-secondary-label":!!r})},(0,o.createElement)("div",{ref:l,className:"edit-site-document-actions__title-wrapper"},(0,o.createElement)(d.__experimentalText,{size:"body",className:"edit-site-document-actions__title-prefix"},(0,o.createElement)(d.VisuallyHidden,{as:"span"},(0,_.sprintf)(
16
  /* translators: %s: the entity being edited, like "template"*/
17
+ (0,_.__)("Editing %s:"),t))),(0,o.createElement)(d.__experimentalText,{size:"body",className:"edit-site-document-actions__title",as:"h1"},e),(0,o.createElement)(d.__experimentalText,{size:"body",className:"edit-site-document-actions__secondary-item"},null!=r?r:""),a&&(0,o.createElement)(d.Dropdown,{popoverProps:{anchorRef:l.current},position:"bottom center",renderToggle:({isOpen:e,onToggle:n})=>(0,o.createElement)(d.Button,{className:"edit-site-document-actions__get-info",icon:nn,"aria-expanded":e,"aria-haspopup":"true",onClick:n,label:(0,_.sprintf)(
18
  /* translators: %s: the entity to see details about, like "template"*/
19
+ (0,_.__)("Show %s details"),t)}),contentClassName:"edit-site-document-actions__info-dropdown",renderContent:a}))):(0,o.createElement)("div",{className:"edit-site-document-actions"},(0,_.__)("Template not found")):(0,o.createElement)("div",{className:"edit-site-document-actions"},(0,_.__)("Loading…"))}function ln({onClose:e,templatePart:t,closeTemplateDetailsDropdown:n}){var a;const{pushTemplatePart:r,revertTemplate:l}=(0,c.useDispatch)(Ot);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(d.MenuGroup,null,(0,o.createElement)(d.MenuItem,{onClick:function(){r(t.id),e(),n()}},(0,_.sprintf)(
20
  /* translators: %s: template part title */
21
+ (0,_.__)("Edit %s"),null===(a=t.title)||void 0===a?void 0:a.rendered))),He(t)&&(0,o.createElement)(d.MenuGroup,null,(0,o.createElement)(d.MenuItem,{info:(0,_.__)("Restore template to theme default"),onClick:function(){l(t),e(),n()}},(0,_.__)("Clear customizations"))))}function on({templatePart:e,clientId:t,closeTemplateDetailsDropdown:n}){const{selectBlock:a,toggleBlockHighlight:r}=(0,c.useDispatch)(Dt.store),l=()=>r(t,!0),i=()=>r(t,!1);return(0,o.createElement)("div",{role:"menuitem",className:"edit-site-template-details__template-areas-item"},(0,o.createElement)(d.MenuItem,{role:"button",icon:(0,Ft.getTemplatePartIcon)(e.area),iconPosition:"left",onClick:()=>{a(t)},onMouseOver:l,onMouseLeave:i,onFocus:l,onBlur:i},A[e.area]),(0,o.createElement)(d.DropdownMenu,{icon:Ht,label:(0,_.__)("More options"),className:"edit-site-template-details__template-areas-item-more"},(({onClose:t})=>(0,o.createElement)(ln,{onClose:t,templatePart:e,closeTemplateDetailsDropdown:n}))))}function sn({closeTemplateDetailsDropdown:e}){const t=(0,c.useSelect)((e=>e(Ot).getCurrentTemplateTemplateParts()),[]);return t.length?(0,o.createElement)(d.MenuGroup,{label:(0,_.__)("Areas"),className:"edit-site-template-details__group edit-site-template-details__template-areas"},t.map((({templatePart:t,block:n})=>(0,o.createElement)(on,{key:t.slug,clientId:n.clientId,templatePart:t,closeTemplateDetailsDropdown:e})))):null}function cn({template:e,onClose:t}){const{title:n,description:a}=(0,c.useSelect)((t=>t(Ft.store).__experimentalGetTemplateInfo(e)),[]),r=(0,c.useSelect)((e=>e(Ot).getSettings().__experimentalNewMenuSidebar)),{openNavigationPanelToMenu:l,revertTemplate:i}=(0,c.useDispatch)(Ot),s=(0,o.useMemo)((()=>"wp_template"===(null==e?void 0:e.type)?{title:(0,_.__)("templates"),menu:W}:K.find((({area:t})=>t===(null==e?void 0:e.area)))),[e]);return e?(0,o.createElement)("div",{className:"edit-site-template-details"},(0,o.createElement)("div",{className:"edit-site-template-details__group"},(0,o.createElement)(d.__experimentalHeading,{level:4,weight:600,className:"edit-site-template-details__title"},n),a&&(0,o.createElement)(d.__experimentalText,{size:"body",className:"edit-site-template-details__description",as:"p"},a)),(0,o.createElement)(sn,{closeTemplateDetailsDropdown:t}),He(e)&&(0,o.createElement)(d.MenuGroup,{className:"edit-site-template-details__group edit-site-template-details__revert"},(0,o.createElement)(d.MenuItem,{className:"edit-site-template-details__revert-button",info:(0,_.__)("Restore template to theme default"),onClick:()=>{i(e),t()}},(0,_.__)("Clear customizations"))),(0,o.createElement)(d.Button,te({className:"edit-site-template-details__show-all-button"},r?{href:(0,Z.addQueryArgs)("edit.php",{post_type:e.type})}:{onClick:()=>{t(),l(s.menu)},"aria-label":(0,_.sprintf)(
22
+ /* translators: %1$s: the template part's area name ("Headers", "Sidebars") or "templates". */
23
+ (0,_.__)("Browse all %1$s. This will open the %1$s menu in the navigation side panel."),s.title)}),(0,_.sprintf)(
24
  /* translators: the template part's area name ("Headers", "Sidebars") or "templates". */
25
+ (0,_.__)("Browse all %s"),s.title))):null}const un="__experimentalMainDashboardButton",{Fill:mn,Slot:pn}=(0,d.createSlotFill)(un),dn=mn;dn.Slot=({children:e})=>{const t=(0,d.__experimentalUseSlot)(un);return Boolean(t.fills&&t.fills.length)?(0,o.createElement)(pn,{bubblesVirtually:!0}):e};var gn=dn;const En=e=>{e.preventDefault()};function fn({openEntitiesSavedStates:e,isEntitiesSavedStatesOpen:t}){const n=(0,o.useRef)(),{deviceType:a,entityTitle:r,template:l,templateType:i,isInserterOpen:s,isListViewOpen:m,listViewShortcut:p,isLoaded:g,newMenuSidebar:E}=(0,c.useSelect)((e=>{const{__experimentalGetPreviewDeviceType:t,getEditedPostType:n,getEditedPostId:a,isInserterOpened:r,isListViewOpened:l,getSettings:o}=e(Ot),{getEditedEntityRecord:i}=e(u.store),{__experimentalGetTemplateInfo:s}=e(Ft.store),{getShortcutRepresentation:c}=e(Vt.store),m=n(),p=a(),d=i("postType",m,p),_=!!p;return{deviceType:t(),entityTitle:s(d).title,isLoaded:_,template:d,templateType:m,isInserterOpen:r(),isListViewOpen:l(),listViewShortcut:c("core/edit-site/toggle-list-view"),newMenuSidebar:o().__experimentalNewMenuSidebar}}),[]),{__experimentalSetPreviewDeviceType:f,setIsInserterOpened:h,setIsListViewOpened:v}=(0,c.useDispatch)(Ot),y=(0,Ue.useViewportMatch)("medium"),b=(0,o.useCallback)((()=>{s?n.current.focus():h(!0)}),[s,h]),S=(0,o.useCallback)((()=>v(!m)),[v,m]),w="wp_template_part"===i;return(0,o.createElement)("div",{className:"edit-site-header"},(0,o.createElement)("div",{className:"edit-site-header_start"},E&&(0,o.createElement)(gn.Slot,null,(0,o.createElement)($t,null)),(0,o.createElement)("div",{className:"edit-site-header__toolbar"},(0,o.createElement)(d.Button,{ref:n,variant:"primary",isPressed:s,className:"edit-site-header-toolbar__inserter-toggle",onMouseDown:En,onClick:b,icon:Gt,label:(0,_._x)("Toggle block inserter","Generic label for block inserter button")}),y&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Dt.ToolSelector,null),(0,o.createElement)(en,null),(0,o.createElement)(tn,null),(0,o.createElement)(d.Button,{className:"edit-site-header-toolbar__list-view-toggle",icon:zt,isPressed:m
26
+ /* translators: button label text should, if possible, be under 16 characters. */,label:(0,_.__)("List View"),onClick:S,shortcut:p})))),(0,o.createElement)("div",{className:"edit-site-header_center"},(0,o.createElement)(rn,{entityTitle:r,entityLabel:"wp_template_part"===i?"template part":"template",isLoaded:g},(({onClose:e})=>(0,o.createElement)(cn,{template:l,onClose:e})))),(0,o.createElement)("div",{className:"edit-site-header_end"},(0,o.createElement)("div",{className:"edit-site-header__actions"},!w&&(0,o.createElement)(Dt.__experimentalPreviewOptions,{deviceType:a,setDeviceType:f}),(0,o.createElement)(Kt,{openEntitiesSavedStates:e,isEntitiesSavedStatesOpen:t}),(0,o.createElement)(Le.Slot,{scope:"core/edit-site"}),(0,o.createElement)(Xt,null))))}var hn=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"}));function vn({className:e,identifier:t,title:n,icon:a,children:r,closeLabel:l,header:i,headerClassName:s}){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Ge,{className:e,scope:"core/edit-site",identifier:t,title:n,icon:a,closeLabel:l,header:i,headerClassName:s},r),(0,o.createElement)(Ae,{scope:"core/edit-site",identifier:t,icon:a},n))}var yn=(0,o.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(h.Path,{d:"M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z"}));const bn="body",Sn=[{path:["color","palette"],valueKey:"color",cssVarInfix:"color",classes:[{classSuffix:"color",propertyName:"color"},{classSuffix:"background-color",propertyName:"background-color"},{classSuffix:"border-color",propertyName:"border-color"}]},{path:["color","gradients"],valueKey:"gradient",cssVarInfix:"gradient",classes:[{classSuffix:"gradient-background",propertyName:"background"}]},{path:["typography","fontSizes"],valueKey:"size",cssVarInfix:"font-size",classes:[{classSuffix:"font-size",propertyName:"font-size"}]},{path:["typography","fontFamilies"],valueKey:"fontFamily",cssVarInfix:"font-family",classes:[{classSuffix:"font-family",propertyName:"font-family"}]}],wn={"color.background":"color","color.text":"color","elements.link.color.text":"color","color.gradient":"gradient","typography.fontSize":"font-size","typography.fontFamily":"font-family"};function xn(e,t,n,a,r){const l=[(0,y.get)(e,["blocks",t,...n]),(0,y.get)(e,n)];for(const o of l)if(o){const l=["user","theme","core"];for(const i of l){const l=o[i];if(l){const o=(0,y.find)(l,(e=>e[a]===r));if(o)return"slug"===a||xn(e,t,n,"slug",o.slug)[a]===o[a]?o:void 0}}}}function Tn(e,t,n){if(!n||!(0,y.isString)(n))return n;const a="var:",r="var(--wp--";let l;if(n.startsWith(a))l=n.slice(a.length).split("|");else{if(!n.startsWith(r)||!n.endsWith(")"))return n;l=n.slice(r.length,-")".length).split("--")}const[o,...i]=l;return"preset"===o?function(e,t,n,[a,r]){const l=(0,y.find)(Sn,["cssVarInfix",a]);if(!l)return n;const o=xn(e,t,l.path,"slug",r);if(o){const{valueKey:n}=l;return Tn(e,t,o[n])}return n}(e,t,n,i):"custom"===o?function(e,t,n,a){var r;const l=null!==(r=(0,y.get)(e,["blocks",t,"custom",...a]))&&void 0!==r?r:(0,y.get)(e,["custom",...a]);return l?Tn(e,t,l):n}(e,t,n,i):n}const kn=(0,o.createContext)({user:{},base:{},merged:{},setUserConfig:()=>{}}),In={isGlobalStylesUserThemeJSON:!0,version:1};function Pn(e,t,n="all"){var a;const{merged:r,base:l,user:s,setUserConfig:c}=(0,o.useContext)(kn),u=t?`settings.blocks.${t}.${e}`:`settings.${e}`,m=t=>{const a=t?`settings.blocks.${t}.${e}`:`settings.${e}`,o=t=>{const n=(0,y.get)(t,a);var r,l;return i.__EXPERIMENTAL_PATHS_WITH_MERGE[e]?null!==(r=null!==(l=null==n?void 0:n.user)&&void 0!==l?l:null==n?void 0:n.theme)&&void 0!==r?r:null==n?void 0:n.core:n};let c;switch(n){case"all":c=o(r);break;case"user":c=o(s);break;case"base":c=o(l);break;default:throw"Unsupported source"}return c};return[null!==(a=m(t))&&void 0!==a?a:m(),t=>{c((n=>{const a=(0,y.cloneDeep)(n),r=i.__EXPERIMENTAL_PATHS_WITH_MERGE[e]?u+".user":u;return(0,y.set)(a,r,t),a}))}]}function Cn(e,t,n="all"){var a;const{merged:r,base:l,user:i,setUserConfig:s}=(0,o.useContext)(kn),c=t?`styles.blocks.${t}.${e}`:`styles.${e}`;let u;switch(n){case"all":u=Tn(r.settings,t,null!==(a=(0,y.get)(i,c))&&void 0!==a?a:(0,y.get)(l,c));break;case"user":u=Tn(r.settings,t,(0,y.get)(i,c));break;case"base":u=Tn(l.settings,t,(0,y.get)(l,c));break;default:throw"Unsupported source"}return[u,n=>{s((a=>{const l=(0,y.cloneDeep)(a);return(0,y.set)(l,c,function(e,t,n,a){if(!a)return a;const r=wn[n],l=(0,y.find)(Sn,["cssVarInfix",r]);if(!l)return a;const{valueKey:o,path:i}=l,s=xn(e,t,i,o,a);return s?`var:preset|${r}|${s.slug}`:a}(r.settings,t,e,n)),l}))}]}const Nn=["background","backgroundColor","color","linkColor","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textDecoration","textTransform","padding"];function Mn(e){if(!e)return Nn;const t=(0,i.getBlockType)(e);if(!t)return[];const n=[];return Object.keys(i.__EXPERIMENTAL_STYLE_PROPERTY).forEach((e=>{if(i.__EXPERIMENTAL_STYLE_PROPERTY[e].support)return i.__EXPERIMENTAL_STYLE_PROPERTY[e].requiresOptOut&&(0,y.has)(t.supports,i.__EXPERIMENTAL_STYLE_PROPERTY[e].support[0])&&!1!==(0,y.get)(t.supports,i.__EXPERIMENTAL_STYLE_PROPERTY[e].support)||(0,y.get)(t.supports,i.__EXPERIMENTAL_STYLE_PROPERTY[e].support,!1)?n.push(e):void 0})),n}function Rn(e){const[t]=Pn("color.palette.user",e),[n]=Pn("color.palette.theme",e),[a]=Pn("color.palette.core",e);return(0,o.useMemo)((()=>{const e=[];return a&&a.length&&e.push({name:(0,_.__)("Core"),colors:a}),n&&n.length&&e.push({name:(0,_.__)("Theme"),colors:n}),t&&t.length&&e.push({name:(0,_.__)("User"),colors:t}),e}),[t,n,a])}var An=()=>{const[e="serif"]=Cn("typography.fontFamily"),[t="black"]=Cn("color.text"),[n="blue"]=Cn("elements.link.color.text"),[a="white"]=Cn("color.background"),[r]=Cn("color.gradient");return(0,o.createElement)(d.Card,{className:"edit-site-global-styles-preview",style:{background:null!=r?r:a}},(0,o.createElement)(d.__experimentalHStack,{spacing:5},(0,o.createElement)("div",{style:{fontFamily:e,fontSize:"80px",color:t}},"Aa"),(0,o.createElement)(d.__experimentalVStack,{spacing:2},(0,o.createElement)(d.ColorIndicator,{colorValue:t}),(0,o.createElement)(d.ColorIndicator,{colorValue:n}))))},Bn=function({icon:e,size:t=24,...n}){return(0,o.cloneElement)(e,{width:t,height:t,...n})},Ln=function({path:e,icon:t,children:n,isBack:a=!1,...r}){const l=(0,d.__experimentalUseNavigator)();return(0,o.createElement)(d.__experimentalItem,te({onClick:()=>l.push(e,{isBack:a})},r),t&&(0,o.createElement)(d.__experimentalHStack,{justify:"flex-start"},(0,o.createElement)(d.FlexItem,null,(0,o.createElement)(Bn,{icon:t,size:24})),(0,o.createElement)(d.FlexItem,null,n)),!t&&n)},On=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"})),Dn=(0,o.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(h.Path,{d:"M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3zm-5.1 7.6c-2.5 0-4.6-2.1-4.6-4.6 0-.3.1-1 .8-2.3.5-.9 1.1-1.9 2-3.1.7-.9 1.3-1.7 1.8-2.3.7.8 1.3 1.6 1.8 2.3.8 1.1 1.5 2.2 2 3.1.7 1.3.8 2 .8 2.3 0 2.5-2.1 4.6-4.6 4.6z"})),Fn=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));const Vn=[];function Gn(e){return[zn(e),Un(e),$n(e),Hn(e)].some(Boolean)}function zn(e){const t=Mn(e);return Pn("border.color",e)[0]&&t.includes("borderColor")}function Un(e){const t=Mn(e);return Pn("border.radius",e)[0]&&t.includes("borderRadius")}function $n(e){const t=Mn(e);return Pn("border.style",e)[0]&&t.includes("borderStyle")}function Hn(e){const t=Mn(e);return Pn("border.width",e)[0]&&t.includes("borderWidth")}function Wn({name:e}){const t=(0,d.__experimentalUseCustomUnits)({availableUnits:Pn("spacing.units")[0]||["px","em","rem"]}),n=Hn(e),[a,r]=Cn("border.width",e),l=$n(e),[i,s]=Cn("border.style",e),[c=Vn]=Pn("color.palette"),u=!Pn("color.custom")[0],m=!Pn("color.customGradient")[0],p=zn(e),[g,E]=Cn("border.color",e),f=Un(e),[h,v]=Cn("border.radius",e);return(0,o.createElement)(d.PanelBody,{title:(0,_.__)("Border"),initialOpen:!0},(n||l)&&(0,o.createElement)("div",{className:"edit-site-global-styles-sidebar__border-controls-row"},n&&(0,o.createElement)(d.__experimentalUnitControl,{value:a,label:(0,_.__)("Width"),min:0,onChange:e=>{r(e||void 0)},units:t}),l&&(0,o.createElement)(Dt.__experimentalBorderStyleControl,{value:i,onChange:s})),p&&(0,o.createElement)(Dt.__experimentalColorGradientControl,{label:(0,_.__)("Color"),colorValue:g,colors:c,gradients:void 0,disableCustomColors:u,disableCustomGradients:m,onColorChange:E}),f&&(0,o.createElement)(Dt.__experimentalBorderRadiusControl,{values:h,onChange:v}))}function jn(e){const t=Mn(e);return t.includes("color")||t.includes("backgroundColor")||t.includes("background")||t.includes("linkColor")}const qn=["horizontal","vertical"];function Yn(e){const t=Xn(e),n=Kn(e),a=Qn(e);return t||n||a}function Xn(e){const t=Mn(e),[n]=Pn("spacing.padding",e);return n&&t.includes("padding")}function Kn(e){const t=Mn(e),[n]=Pn("spacing.margin",e);return n&&t.includes("margin")}function Qn(e){const t=Mn(e),[n]=Pn("spacing.blockGap",e);return n&&t.includes("--wp--style--block-gap")}function Jn(e,t){if(!t)return e;const n={};return t.forEach((t=>{"vertical"===t&&(n.top=e.top,n.bottom=e.bottom),"horizontal"===t&&(n.left=e.left,n.right=e.right),n[t]=e[t]})),n}function Zn(e){return e&&"string"==typeof e?{top:e,right:e,bottom:e,left:e}:e}function ea({name:e}){const t=Xn(e),n=Kn(e),a=Qn(e),r=(0,d.__experimentalUseCustomUnits)({availableUnits:Pn("spacing.units",e)[0]||["%","px","em","rem","vw"]}),[l,i]=Cn("spacing.padding",e),s=Zn(l),c=(0,Dt.__experimentalUseCustomSides)(e,"padding"),u=c&&c.some((e=>qn.includes(e))),m=e=>{const t=Jn(e,c);i(t)},p=()=>m({}),[g,E]=Cn("spacing.margin",e),f=Zn(g),h=(0,Dt.__experimentalUseCustomSides)(e,"margin"),v=h&&h.some((e=>qn.includes(e))),y=e=>{const t=Jn(e,h);E(t)},b=()=>y({}),[S,w]=Cn("spacing.blockGap",e),x=()=>w(void 0);return(0,o.createElement)(d.__experimentalToolsPanel,{label:(0,_.__)("Dimensions"),resetAll:()=>{p(),b(),x()}},t&&(0,o.createElement)(d.__experimentalToolsPanelItem,{hasValue:()=>!!s&&Object.keys(s).length,label:(0,_.__)("Padding"),onDeselect:p,isShownByDefault:!0},(0,o.createElement)(d.__experimentalBoxControl,{values:s,onChange:m,label:(0,_.__)("Padding"),sides:c,units:r,allowReset:!1,splitOnAxis:u})),n&&(0,o.createElement)(d.__experimentalToolsPanelItem,{hasValue:()=>!!f&&Object.keys(f).length,label:(0,_.__)("Margin"),onDeselect:b,isShownByDefault:!0},(0,o.createElement)(d.__experimentalBoxControl,{values:f,onChange:y,label:(0,_.__)("Margin"),sides:h,units:r,allowReset:!1,splitOnAxis:v})),a&&(0,o.createElement)(d.__experimentalToolsPanelItem,{hasValue:()=>!!S,label:(0,_.__)("Block spacing"),onDeselect:x,isShownByDefault:!0},(0,o.createElement)(d.__experimentalUnitControl,{label:(0,_.__)("Block spacing"),__unstableInputWidth:"80px",min:0,onChange:w,units:r,value:S})))}function ta(e){const t=na(e),n=aa(e),a=ra(e),r=Mn(e);return t||n||a||r.includes("fontSize")}function na(e){const t=Mn(e);return Pn("typography.lineHeight",e)[0]&&t.includes("lineHeight")}function aa(e){const t=Mn(e),n=Pn("typography.fontStyle",e)[0]&&t.includes("fontStyle"),a=Pn("typography.fontWeight",e)[0]&&t.includes("fontWeight");return n||a}function ra(e){const t=Mn(e);return Pn("typography.letterSpacing",e)[0]&&t.includes("letterSpacing")}function la({name:e}){const t=Mn(e),[n]=Pn("typography.fontSizes",e),a=!Pn("typography.customFontSize",e)[0],[r]=Pn("typography.fontFamilies",e),l=Pn("typography.fontStyle",e)[0]&&t.includes("fontStyle"),i=Pn("typography.fontWeight",e)[0]&&t.includes("fontWeight"),s=na(e),c=aa(e),u=ra(e),[m,p]=Cn("typography.fontFamily",e),[_,g]=Cn("typography.fontSize",e),[E,f]=Cn("typography.fontStyle",e),[h,v]=Cn("typography.fontWeight",e),[y,b]=Cn("typography.lineHeight",e),[S,w]=Cn("typography.letterSpacing",e);return(0,o.createElement)(d.PanelBody,{className:"edit-site-typography-panel",initialOpen:!0},t.includes("fontFamily")&&(0,o.createElement)(Dt.__experimentalFontFamilyControl,{fontFamilies:r,value:m,onChange:p}),t.includes("fontSize")&&(0,o.createElement)(d.FontSizePicker,{value:_,onChange:g,fontSizes:n,disableCustomFontSizes:a}),s&&(0,o.createElement)(Dt.LineHeightControl,{value:y,onChange:b}),c&&(0,o.createElement)(Dt.__experimentalFontAppearanceControl,{value:{fontStyle:E,fontWeight:h},onChange:({fontStyle:e,fontWeight:t})=>{f(e),v(t)},hasFontStyles:l,hasFontWeights:i}),u&&(0,o.createElement)(Dt.__experimentalLetterSpacingControl,{value:S,onChange:w}))}var oa=function({name:e,parentMenu:t=""}){const n=ta(e),a=jn(e),r=Gn(e),l=Yn(e),i=r||l;return(0,o.createElement)(d.__experimentalItemGroup,null,n&&(0,o.createElement)(Ln,{icon:On,path:t+"/typography"},(0,_.__)("Typography")),a&&(0,o.createElement)(Ln,{icon:Dn,path:t+"/colors"},(0,_.__)("Colors")),i&&(0,o.createElement)(Ln,{icon:Fn,path:t+"/layout"},(0,_.__)("Layout")))},ia=function(){return(0,o.createElement)(d.Card,{size:"small"},(0,o.createElement)(d.CardBody,null,(0,o.createElement)(An,null)),(0,o.createElement)(d.CardBody,null,(0,o.createElement)(oa,null)),(0,o.createElement)(d.CardDivider,null),(0,o.createElement)(d.CardBody,null,(0,o.createElement)(d.__experimentalItemGroup,null,(0,o.createElement)(d.__experimentalItem,null,(0,o.createElement)("p",null,(0,_.__)("Customize the appearance of specific blocks for the whole site."))),(0,o.createElement)(Ln,{path:"/blocks"},(0,_.__)("Blocks")))))},sa=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})),ca=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})),ua=function({back:e,title:t,description:n}){return(0,o.createElement)(d.__experimentalVStack,{spacing:2},(0,o.createElement)(d.__experimentalHStack,{spacing:2},(0,o.createElement)(d.__experimentalView,null,(0,o.createElement)(Ln,{path:e,icon:(0,o.createElement)(Bn,{icon:(0,_.isRTL)()?sa:ca,variant:"muted"}),size:"small",isBack:!0,"aria-label":(0,_.__)("Navigate to the previous view")})),(0,o.createElement)(d.__experimentalSpacer,null,(0,o.createElement)(d.__experimentalHeading,{level:5},t))),n&&(0,o.createElement)("p",{className:"edit-site-global-styles-header__description"},n))};function ma({block:e}){const t=ta(e.name),n=jn(e.name),a=Gn(e.name),r=Yn(e.name);return t||n||a||r?(0,o.createElement)(Ln,{path:"/blocks/"+e.name},e.title):null}var pa=function(){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(ua,{back:"/",title:(0,_.__)("Blocks"),description:(0,_.__)("Customize the appearance of specific blocks and for the whole site.")}),(0,i.getBlockTypes)().map((e=>(0,o.createElement)(ma,{block:e,key:"menu-itemblock-"+e.name}))))},da=function({name:e}){const t=(0,i.getBlockType)(e);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(ua,{back:"/blocks",title:t.title}),(0,o.createElement)(oa,{parentMenu:"/blocks/"+e,name:e}))},_a=function({name:e}){const t=void 0===e?"":"/blocks/"+e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(ua,{back:t||"/",title:(0,_.__)("Typography"),description:(0,_.__)("Manage the fonts used on the website and the default aspect of different global elements.")}),(0,o.createElement)(la,{name:e}))},ga=function({children:e}){return(0,o.createElement)(d.__experimentalHeading,{className:"edit-site-global-styles-subtitle",level:2},e)};const Ea=[];var fa=function({name:e}){const[t]=Pn("color.palette.user",e),n=t||Ea,a=e?"/blocks/"+e+"/colors/palette":"/colors/palette";return(0,o.createElement)(d.__experimentalVStack,{spacing:3},(0,o.createElement)(ga,null,(0,_.__)("Palette")),(0,o.createElement)(d.__experimentalItemGroup,{isBordered:!0,isSeparated:!0},(0,o.createElement)(Ln,{path:a},(0,o.createElement)(d.__experimentalHStack,null,(0,o.createElement)(d.FlexBlock,null,(0,o.createElement)(d.__experimentalZStack,{isLayered:!1,offset:-8},n.slice(0,5).map((({color:e})=>(0,o.createElement)(d.ColorIndicator,{key:e,colorValue:e}))))),(0,o.createElement)(d.FlexItem,null,(0,_.sprintf)(// Translators: %d: Number of palette colors.
27
+ (0,_._n)("%d color","%d colors",n.length),n.length))))))};function ha({name:e,parentMenu:t}){const n=Mn(e),a=n.includes("backgroundColor")||n.includes("background"),[r]=Cn("color.background",e),[l]=Cn("color.gradient",e);return a?(0,o.createElement)(Ln,{path:t+"/colors/background"},(0,o.createElement)(d.__experimentalHStack,{justify:"flex-start"},(0,o.createElement)(d.FlexItem,null,(0,o.createElement)(d.ColorIndicator,{colorValue:null!=l?l:r})),(0,o.createElement)(d.FlexItem,null,(0,_.__)("Background")))):null}function va({name:e,parentMenu:t}){const n=Mn(e).includes("color"),[a]=Cn("color.text",e);return n?(0,o.createElement)(Ln,{path:t+"/colors/text"},(0,o.createElement)(d.__experimentalHStack,{justify:"flex-start"},(0,o.createElement)(d.FlexItem,null,(0,o.createElement)(d.ColorIndicator,{colorValue:a})),(0,o.createElement)(d.FlexItem,null,(0,_.__)("Text")))):null}function ya({name:e,parentMenu:t}){const n=Mn(e).includes("linkColor"),[a]=Cn("elements.link.color.text",e);return n?(0,o.createElement)(Ln,{path:t+"/colors/link"},(0,o.createElement)(d.__experimentalHStack,{justify:"flex-start"},(0,o.createElement)(d.FlexItem,null,(0,o.createElement)(d.ColorIndicator,{colorValue:a})),(0,o.createElement)(d.FlexItem,null,(0,_.__)("Links")))):null}var ba=function({name:e}){const t=void 0===e?"":"/blocks/"+e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(ua,{back:t||"/",title:(0,_.__)("Colors"),description:(0,_.__)("Manage palettes and the default color of different global elements on the website.")}),(0,o.createElement)("div",{className:"edit-site-global-styles-screen-colors"},(0,o.createElement)(d.__experimentalVStack,{spacing:10},(0,o.createElement)(fa,{name:e}),(0,o.createElement)(d.__experimentalVStack,{spacing:3},(0,o.createElement)(ga,null,(0,_.__)("Elements")),(0,o.createElement)(d.__experimentalItemGroup,{isBordered:!0,isSeparated:!0},(0,o.createElement)(ha,{name:e,parentMenu:t}),(0,o.createElement)(va,{name:e,parentMenu:t}),(0,o.createElement)(ya,{name:e,parentMenu:t}))))))};function Sa({name:e}){const[t,n]=Pn("color.palette",e,"user");return(0,o.createElement)("div",{className:"edit-site-global-styles-color-palette-panel"},(0,o.createElement)(d.__experimentalColorEdit,{colors:t,onChange:n}))}var wa=function({name:e}){const t=void 0===e?"":"/blocks/"+e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(ua,{back:t+"/colors",title:(0,_.__)("Color Palette"),description:(0,_.__)("Color palettes are used to provide default color options for blocks and various design tools. Here you can edit the colors with their labels.")}),(0,o.createElement)(Sa,{name:e}))},xa=function({name:e}){const t=void 0===e?"":"/blocks/"+e,n=Mn(e),[a]=Pn("color.palette",e),[r]=Pn("color.gradients",e),[l]=Pn("color.custom",e),[i]=Pn("color.customGradient",e),s=Rn(e),c=function(e){const[t]=Pn("color.gradients.user",e),[n]=Pn("color.gradients.theme",e),[a]=Pn("color.gradients.core",e);return(0,o.useMemo)((()=>{const e=[];return a&&a.length&&e.push({name:(0,_.__)("Core"),gradients:a}),n&&n.length&&e.push({name:(0,_.__)("Theme"),gradients:n}),t&&t.length&&e.push({name:(0,_.__)("User"),gradients:t}),e}),[t,n,a])}(e),[u]=Pn("color.background",e),m=n.includes("backgroundColor")&&u&&(a.length>0||l),p=n.includes("background")&&(r.length>0||i),[d,g]=Cn("color.background",e),[E]=Cn("color.background",e,"user"),[f,h]=Cn("color.gradient",e),[v]=Cn("color.gradient",e,"user");if(!m&&!p)return null;const y=[];let b={};m&&(b={colorValue:d,onColorChange:g},d&&(b.clearable=d===E));let S={};return p&&(S={gradientValue:f,onGradientChange:h},f&&(S.clearable=f===v)),y.push({...b,...S,label:(0,_.__)("Background color")}),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(ua,{back:t+"/colors",title:(0,_.__)("Background"),description:(0,_.__)("Set a background color or gradient for the whole website.")}),(0,o.createElement)(Dt.__experimentalPanelColorGradientSettings,{title:(0,_.__)("Color"),settings:y,colors:s,gradients:c,disableCustomColors:!l,disableCustomGradients:!i,__experimentalHasMultipleOrigins:!0,showTitle:!1}))},Ta=function({name:e}){const t=void 0===e?"":"/blocks/"+e,n=Mn(e),[a]=Pn("color.palette",e),[r]=Pn("color.custom",e),[l]=Pn("color.text",e),i=Rn(e),s=n.includes("color")&&l&&(a.length>0||r),[c,u]=Cn("color.text",e),[m]=Cn("color.text",e,"user");if(!s)return null;const p=[{colorValue:c,onColorChange:u,label:(0,_.__)("Text color"),clearable:c===m}];return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(ua,{back:t+"/colors",title:(0,_.__)("Text"),description:(0,_.__)("Set the default color used for text across the site.")}),(0,o.createElement)(Dt.__experimentalPanelColorGradientSettings,{title:(0,_.__)("Color"),settings:p,colors:i,disableCustomColors:!r,__experimentalHasMultipleOrigins:!0,showTitle:!1}))},ka=function({name:e}){const t=void 0===e?"":"/blocks/"+e,n=Mn(e),[a]=Pn("color.palette",e),[r]=Pn("color.custom",e),l=Rn(e),[i]=Pn("color.link",e),s=n.includes("linkColor")&&i&&(a.length>0||r),[c,u]=Cn("elements.link.color.text",e),[m]=Cn("elements.link.color.text",e,"user");if(!s)return null;const p=[{colorValue:c,onColorChange:u,label:(0,_.__)("Link color"),clearable:c===m}];return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(ua,{back:t+"/colors",title:(0,_.__)("Links"),description:(0,_.__)("Set the default color used for links across the site.")}),(0,o.createElement)(Dt.__experimentalPanelColorGradientSettings,{title:(0,_.__)("Color"),settings:p,colors:l,disableCustomColors:!r,__experimentalHasMultipleOrigins:!0,showTitle:!1}))},Ia=function({name:e}){const t=void 0===e?"":"/blocks/"+e,n=Gn(e),a=Yn(e);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(ua,{back:t||"/",title:(0,_.__)("Layout")}),a&&(0,o.createElement)(ea,{name:e}),n&&(0,o.createElement)(Wn,{name:e}))};function Pa({name:e}){const t=void 0===e?"":"/blocks/"+e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(d.__experimentalNavigatorScreen,{path:t+"/typography"},(0,o.createElement)(_a,{name:e})),(0,o.createElement)(d.__experimentalNavigatorScreen,{path:t+"/colors"},(0,o.createElement)(ba,{name:e})),(0,o.createElement)(d.__experimentalNavigatorScreen,{path:t+"/colors/palette"},(0,o.createElement)(wa,{name:e})),(0,o.createElement)(d.__experimentalNavigatorScreen,{path:t+"/colors/background"},(0,o.createElement)(xa,{name:e})),(0,o.createElement)(d.__experimentalNavigatorScreen,{path:t+"/colors/text"},(0,o.createElement)(Ta,{name:e})),(0,o.createElement)(d.__experimentalNavigatorScreen,{path:t+"/colors/link"},(0,o.createElement)(ka,{name:e})),(0,o.createElement)(d.__experimentalNavigatorScreen,{path:t+"/layout"},(0,o.createElement)(Ia,{name:e})))}var Ca=function(){const e=(0,i.getBlockTypes)();return(0,o.createElement)(d.__experimentalNavigatorProvider,{initialPath:"/"},(0,o.createElement)(d.__experimentalNavigatorScreen,{path:"/"},(0,o.createElement)(ia,null)),(0,o.createElement)(d.__experimentalNavigatorScreen,{path:"/blocks"},(0,o.createElement)(pa,null)),e.map((e=>(0,o.createElement)(d.__experimentalNavigatorScreen,{key:"menu-block-"+e.name,path:"/blocks/"+e.name},(0,o.createElement)(da,{name:e.name})))),(0,o.createElement)(Pa,null),e.map((e=>(0,o.createElement)(Pa,{key:"screens-block-"+e.name,name:e.name}))))};function Na(e){const t="var:";return(0,y.startsWith)(e,t)?`var(--wp--${e.slice(t.length).split("|").join("--")})`:e}function Ma(e={},t,n){let a=[];return Object.keys(e).forEach((r=>{const l=t+(0,y.kebabCase)(r.replace("/","-")),o=e[r];if(o instanceof Object){const e=l+n;a=[...a,...Ma(o,e,n)]}else a.push(`${l}: ${o}`)})),a}const Ra=(e,t)=>{var n,a;const r=[];if(null==e||!e.settings)return r;const l=e=>{const t={};return Sn.forEach((({path:n})=>{const a=(0,y.get)(e,n,!1);!1!==a&&(0,y.set)(t,n,a)})),t},o=l(e.settings),i=null===(n=e.settings)||void 0===n?void 0:n.custom;return(0,y.isEmpty)(o)&&!i||r.push({presets:o,custom:i,selector:bn}),(0,y.forEach)(null===(a=e.settings)||void 0===a?void 0:a.blocks,((e,n)=>{const a=l(e),o=e.custom;(0,y.isEmpty)(a)&&!o||r.push({presets:a,custom:o,selector:t[n].selector})})),r},Aa=(e,t)=>{const n=Ra(e,t);let a="";return n.forEach((({presets:e,custom:t,selector:n})=>{const r=function(e={}){return(0,y.reduce)(Sn,((t,{path:n,valueKey:a,cssVarInfix:r})=>{const l=(0,y.get)(e,n,[]);return["core","theme","user"].forEach((e=>{l[e]&&l[e].forEach((e=>{t.push(`--wp--preset--${r}--${(0,y.kebabCase)(e.slug)}: ${e[a]}`)}))})),t}),[])}(e),l=Ma(t,"--wp--custom--","--");l.length>0&&r.push(...l),r.length>0&&(a+=`${n}{${r.join(";")};}`)})),a};function Ba(){const[e,t]=(()=>{const{user:e,setUserConfig:t}=(0,o.useContext)(kn);return[!!e&&!(0,y.isEqual)(e,In),(0,o.useCallback)((()=>t((()=>In))),[t])]})();return(0,o.createElement)(vn,{className:"edit-site-global-styles-sidebar",identifier:"edit-site/global-styles",title:(0,_.__)("Styles"),icon:yn,closeLabel:(0,_.__)("Close global styles sidebar"),header:(0,o.createElement)(d.Flex,null,(0,o.createElement)(d.FlexBlock,null,(0,o.createElement)("strong",null,(0,_.__)("Styles")),(0,o.createElement)("span",{className:"edit-site-global-styles-sidebar__beta"},(0,_.__)("Beta"))),(0,o.createElement)(d.FlexItem,null,(0,o.createElement)(d.DropdownMenu,{icon:Ht,label:(0,_.__)("More Global Styles Actions"),toggleProps:{disabled:!e},controls:[{title:(0,_.__)("Reset to defaults"),onClick:t}]})))},(0,o.createElement)(Ca,null))}const La="edit-site/template",Oa="edit-site/block-inspector";var Da=({sidebarName:e})=>{const{enableComplementaryArea:t}=(0,c.useDispatch)(ke),[n,a]=e===La?// translators: ARIA label for the Template sidebar tab, selected.
28
  [(0,_.__)("Template (selected)"),"is-active"]:// translators: ARIA label for the Template Settings Sidebar tab, not selected.
29
+ [(0,_.__)("Template"),""],[r,l]=e===Oa?// translators: ARIA label for the Block Settings Sidebar tab, selected.
30
  [(0,_.__)("Block (selected)"),"is-active"]:// translators: ARIA label for the Block Settings Sidebar tab, not selected.
31
+ [(0,_.__)("Block"),""];return(0,o.createElement)("ul",null,(0,o.createElement)("li",null,(0,o.createElement)(d.Button,{onClick:()=>t(P,La),className:`edit-site-sidebar__panel-tab ${a}`,"aria-label":n,"data-label":(0,_.__)("Template")},// translators: Text label for the Template Settings Sidebar tab.
32
+ (0,_.__)("Template"))),(0,o.createElement)("li",null,(0,o.createElement)(d.Button,{onClick:()=>t(P,Oa),className:`edit-site-sidebar__panel-tab ${l}`,"aria-label":r,"data-label":(0,_.__)("Block")},// translators: Text label for the Block Settings Sidebar tab.
33
+ (0,_.__)("Block"))))};function Fa({area:e,clientId:t}){const{selectBlock:n,toggleBlockHighlight:a}=(0,c.useDispatch)(Dt.store),r=()=>a(t,!0),l=()=>a(t,!1);return(0,o.createElement)(d.Button,{className:"edit-site-template-card__template-areas-item",icon:(0,Ft.getTemplatePartIcon)(e),onMouseOver:r,onMouseLeave:l,onFocus:r,onBlur:l,onClick:()=>{n(t)}},A[e])}function Va(){const e=(0,c.useSelect)((e=>e(Ot).getCurrentTemplateTemplateParts()),[]);return e.length?(0,o.createElement)("section",{className:"edit-site-template-card__template-areas"},(0,o.createElement)(d.__experimentalHeading,{level:3,className:"edit-site-template-card__template-areas-title"},(0,_.__)("Areas")),(0,o.createElement)("ul",{className:"edit-site-template-card__template-areas-list"},e.map((({templatePart:e,block:t})=>(0,o.createElement)("li",{key:e.slug},(0,o.createElement)(Fa,{area:e.area,clientId:t.clientId})))))):null}function Ga(){const{title:e,description:t,icon:n}=(0,c.useSelect)((e=>{const{getEditedPostType:t,getEditedPostId:n}=e(Ot),{getEntityRecord:a}=e(u.store),{__experimentalGetTemplateInfo:r}=e(Ft.store),l=a("postType",t(),n());return l?r(l):{}}),[]);return e||t?(0,o.createElement)("div",{className:"edit-site-template-card"},(0,o.createElement)(d.Icon,{className:"edit-site-template-card__icon",icon:n}),(0,o.createElement)("div",{className:"edit-site-template-card__content"},(0,o.createElement)("h2",{className:"edit-site-template-card__title"},e),(0,o.createElement)("div",{className:"edit-site-template-card__description"},t),(0,o.createElement)(Va,null))):null}const{Slot:za,Fill:Ua}=(0,d.createSlotFill)("EditSiteSidebarInspector"),$a=Ua;function Ha(){const{sidebar:e,isEditorSidebarOpened:t,hasBlockSelection:n}=(0,c.useSelect)((e=>{const t=e(ke).getActiveComplementaryArea(P);return{sidebar:t,isEditorSidebarOpened:[Oa,La].includes(t),hasBlockSelection:!!e(Dt.store).getBlockSelectionStart()}}),[]),{enableComplementaryArea:a}=(0,c.useDispatch)(ke);(0,o.useEffect)((()=>{t&&a(P,n?Oa:La)}),[n,t]);let r=e;return t||(r=n?Oa:La),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(vn,{identifier:r,title:(0,_.__)("Settings"),icon:hn,closeLabel:(0,_.__)("Close settings sidebar"),header:(0,o.createElement)(Da,{sidebarName:r}),headerClassName:"edit-site-sidebar__panel-tabs"},r===La&&(0,o.createElement)(d.PanelBody,null,(0,o.createElement)(Ga,null)),r===Oa&&(0,o.createElement)(za,{bubblesVirtually:!0})),(0,o.createElement)(Ba,null))}function Wa({clientId:e}){const{getBlocks:t}=(0,c.useSelect)(Dt.store),{replaceBlocks:n}=(0,c.useDispatch)(Dt.store);return(0,o.createElement)(Dt.BlockSettingsMenuControls,null,(({onClose:a})=>(0,o.createElement)(d.MenuItem,{onClick:()=>{n(e,t(e)),a()}},(0,_.__)("Detach blocks from template part"))))}function ja({clientIds:e,blocks:t}){const n=(0,Ue.useInstanceId)(ja),[a,r]=(0,o.useState)(!1),[l,s]=(0,o.useState)(""),{replaceBlocks:m}=(0,c.useDispatch)(Dt.store),{saveEntityRecord:p}=(0,c.useDispatch)(u.store),{createSuccessNotice:g}=(0,c.useDispatch)(ee.store),[E,f]=(0,o.useState)(R),h=(0,c.useSelect)((e=>e(Ft.store).__experimentalGetDefaultTemplatePartAreas()),[]);return(0,o.createElement)(Dt.BlockSettingsMenuControls,null,(({onClose:c})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(d.MenuItem,{onClick:()=>{r(!0)}},(0,_.__)("Make template part")),a&&(0,o.createElement)(d.Modal,{title:(0,_.__)("Create a template part"),closeLabel:(0,_.__)("Close"),onRequestClose:()=>{r(!1),s("")},overlayClassName:"edit-site-template-part-converter__modal"},(0,o.createElement)("form",{onSubmit:n=>{n.preventDefault(),(async n=>{const a=(0,_.__)("Untitled Template Part"),r=await p("postType","wp_template_part",{slug:(0,y.kebabCase)(n||a),title:n||a,content:(0,i.serialize)(t),area:E});m(e,(0,i.createBlock)("core/template-part",{slug:r.slug,theme:r.theme})),g((0,_.__)("Template part created."),{type:"snackbar"})})(l),r(!1),s(""),c()}},(0,o.createElement)(d.TextControl,{label:(0,_.__)("Name"),value:l,onChange:s}),(0,o.createElement)(d.BaseControl,{label:(0,_.__)("Area"),id:`edit-site-template-part-converter__area-selection-${n}`,className:"edit-site-template-part-converter__area-base-control"},(0,o.createElement)(d.__experimentalRadioGroup,{label:(0,_.__)("Area"),className:"edit-site-template-part-converter__area-radio-group",id:`edit-site-template-part-converter__area-selection-${n}`,onChange:f,checked:E},h.map((({icon:e,label:t,area:n,description:a})=>(0,o.createElement)(d.__experimentalRadio,{key:t,value:n,className:"edit-site-template-part-converter__area-radio"},(0,o.createElement)(d.Flex,{align:"start",justify:"start"},(0,o.createElement)(d.FlexItem,null,(0,o.createElement)(d.Icon,{icon:e})),(0,o.createElement)(d.FlexBlock,{className:"edit-site-template-part-converter__option-label"},t,(0,o.createElement)("div",null,a)),(0,o.createElement)(d.FlexItem,{className:"edit-site-template-part-converter__checkbox"},E===n&&(0,o.createElement)(d.Icon,{icon:re})))))))),(0,o.createElement)(d.Flex,{className:"edit-site-template-part-converter__convert-modal-actions",justify:"flex-end"},(0,o.createElement)(d.FlexItem,null,(0,o.createElement)(d.Button,{variant:"secondary",onClick:()=>{r(!1),s("")}},(0,_.__)("Cancel"))),(0,o.createElement)(d.FlexItem,null,(0,o.createElement)(d.Button,{variant:"primary",type:"submit"},(0,_.__)("Create")))))))))}function qa(){var e;const{clientIds:t,blocks:n}=(0,c.useSelect)((e=>{const{getSelectedBlockClientIds:t,getBlocksByClientId:n}=e(Dt.store),a=t();return{clientIds:a,blocks:n(a)}}),[]);return 1===n.length&&"core/template-part"===(null===(e=n[0])||void 0===e?void 0:e.name)?(0,o.createElement)(Wa,{clientId:t[0]}):(0,o.createElement)(ja,{clientIds:t,blocks:n})}var Ya=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));function Xa({type:e,id:t,activePage:n,onActivePageChange:a}){const r=(0,c.useSelect)((n=>e&&t&&"URL"!==e&&n(u.store).getEntityRecord("postType",e,t)),[e,t]),l=(0,o.useMemo)((()=>{if(null==r||!r.link)return null;const t=(0,Z.getPathAndQueryString)(r.link);return t===(null==n?void 0:n.path)?null:()=>a({type:e,slug:r.slug,path:t,context:{postType:r.type,postId:r.id}})}),[r,null==n?void 0:n.path,a]);return l&&(0,o.createElement)(d.Button,{icon:Ya,label:(0,_.__)("Edit Page Template"),onClick:l})}function Ka({onClick:e=(()=>{})}){const{shortcut:t,isBlockInspectorOpen:n}=(0,c.useSelect)((e=>({shortcut:e(Vt.store).getShortcutRepresentation("core/edit-site/toggle-block-settings-sidebar"),isBlockInspectorOpen:e(ke).getActiveComplementaryArea(Ot.name)===Oa})),[]),{enableComplementaryArea:a,disableComplementaryArea:r}=(0,c.useDispatch)(ke),l=n?(0,_.__)("Hide more settings"):(0,_.__)("Show more settings");return(0,o.createElement)(d.MenuItem,{onClick:()=>{n?(r(P),(0,Wt.speak)((0,_.__)("Block settings closed"))):(a(P,Oa),(0,Wt.speak)((0,_.__)("Additional settings are now available in the Editor block settings sidebar"))),e()},shortcut:t},l)}function Qa(){return(0,o.createElement)(Dt.BlockSettingsMenuControls,null,(({selectedClientIds:e,onClose:t})=>(0,o.createElement)(Ja,{selectedClientId:e[0],onClose:t})))}function Ja({selectedClientId:e,onClose:t}){const n=(0,c.useSelect)((t=>{const n=t(Dt.store).getBlock(e);if(n&&(0,i.isTemplatePart)(n)){const{theme:e,slug:a}=n.attributes;return t(u.store).getEntityRecord("postType","wp_template_part",`${e}//${a}`)}}),[e]),{pushTemplatePart:a}=(0,c.useDispatch)(Ot);return n?(0,o.createElement)(d.MenuItem,{onClick:()=>{a(n.id),t()}},
34
  /* translators: %s: template part title */
35
+ (0,_.sprintf)((0,_.__)("Edit %s"),n.slug)):null}var Za=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M20 10.8H6.7l4.1-4.5-1.1-1.1-5.8 6.3 5.8 5.8 1.1-1.1-4-3.9H20z"})),er=function(){const{isTemplatePart:e,previousTemplateId:t}=(0,c.useSelect)((e=>{const{getEditedPostType:t,getPreviousEditedPostId:n}=e(Ot);return{isTemplatePart:"wp_template_part"===t(),previousTemplateId:n()}}),[]),{goBack:n}=(0,c.useDispatch)(Ot);return e&&t?(0,o.createElement)(d.Button,{className:"edit-site-visual-editor__back-button",icon:Za,onClick:()=>{n()}},(0,_.__)("Back")):null};function tr({direction:e,resizeWidthBy:t}){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("button",{className:`resizable-editor__drag-handle is-${e}`,"aria-label":(0,_.__)("Drag to resize"),"aria-describedby":`resizable-editor__resize-help-${e}`,onKeyDown:function(n){const{keyCode:a}=n;"left"===e&&a===Zt.LEFT||"right"===e&&a===Zt.RIGHT?t(20):("left"===e&&a===Zt.RIGHT||"right"===e&&a===Zt.LEFT)&&t(-20)}}),(0,o.createElement)(d.VisuallyHidden,{id:`resizable-editor__resize-help-${e}`},(0,_.__)("Use left and right arrow keys to resize the canvas.")))}const nr={position:void 0,userSelect:void 0,cursor:void 0,width:void 0,height:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0};var ar=function({enableResizing:e,settings:t,...n}){const a=(0,c.useSelect)((e=>e(Ot).__experimentalGetPreviewDeviceType()),[]),r=(0,Dt.__experimentalUseResizeCanvas)(a),[l,i]=(0,o.useState)("100%"),[s,u]=(0,o.useState)("100%"),m=(0,o.useRef)(),p=(0,Dt.__unstableUseMouseMoveTypingReset)(),_=(0,Ue.useMergeRefs)([m,p]);(0,o.useEffect)((function(){const t=m.current;if(!t||!e)return;const n=new t.contentWindow.ResizeObserver((()=>{u(t.contentDocument.querySelector(".edit-site-block-editor__block-list").offsetHeight)}));return n.observe(t.contentDocument.documentElement),()=>{n.disconnect()}}),[e]);const g=(0,o.useCallback)((e=>{m.current&&i(m.current.offsetWidth+e)}),[]);return(0,o.createElement)(d.ResizableBox,{size:{width:l,height:s},onResizeStop:(e,t,n)=>{i(n.style.width)},minWidth:300,maxWidth:"100%",maxHeight:"100%",enable:{right:e,left:e},showHandle:e,resizeRatio:2,handleComponent:{left:(0,o.createElement)(tr,{direction:"left",resizeWidthBy:g}),right:(0,o.createElement)(tr,{direction:"right",resizeWidthBy:g})},handleClasses:void 0,handleStyles:{left:nr,right:nr}},(0,o.createElement)(Dt.__unstableIframe,te({style:e?void 0:r,head:(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Dt.__unstableEditorStyles,{styles:t.styles}),(0,o.createElement)("style",null,".edit-site-block-editor__block-list { display: flow-root; }")),ref:_,name:"editor-canvas",className:"edit-site-visual-editor__editor-canvas"},n)))};const rr={type:"default",alignments:[]};function lr({setIsInserterOpen:e}){const{settings:t,templateType:n,templateId:a,page:r}=(0,c.useSelect)((t=>{const{getSettings:n,getEditedPostType:a,getEditedPostId:r,getPage:l}=t(Ot);return{settings:n(e),templateType:a(),templateId:r(),page:l()}}),[e]),[l,i,s]=(0,u.useEntityBlockEditor)("postType",n),{setPage:m}=(0,c.useDispatch)(Ot),p=(0,o.useRef)(),d=(0,Ue.useMergeRefs)([p,(0,Dt.__unstableUseTypingObserver)()]),_=(0,Ue.useViewportMatch)("small","<"),{clearSelectedBlock:g}=(0,c.useDispatch)(Dt.store),E="wp_template_part"===n;return(0,o.createElement)(Dt.BlockEditorProvider,{settings:t,value:l,onInput:i,onChange:s,useSubRegistry:!1},(0,o.createElement)(Qa,null),(0,o.createElement)(qa,null),(0,o.createElement)(Dt.__experimentalLinkControl.ViewerFill,null,(0,o.useCallback)((e=>(0,o.createElement)(Xa,te({},e,{activePage:r,onActivePageChange:m}))),[r])),(0,o.createElement)($a,null,(0,o.createElement)(Dt.BlockInspector,null)),(0,o.createElement)(Dt.BlockTools,{className:ae()("edit-site-visual-editor",{"is-focus-mode":E}),__unstableContentRef:p,onClick:e=>{e.target===e.currentTarget&&g()}},(0,o.createElement)(er,null),(0,o.createElement)(ar,{key:a,enableResizing:E&&!_,settings:t,contentRef:d},(0,o.createElement)(Dt.BlockList,{className:"edit-site-block-editor__block-list wp-site-blocks",__experimentalLayout:rr})),(0,o.createElement)(Dt.__unstableBlockSettingsMenuFirstItem,null,(({onClose:e})=>(0,o.createElement)(Ka,{onClick:e})))))}function or({openEntitiesSavedStates:e}){const{__experimentalGetDirtyEntityRecords:t,isSavingEntityRecord:n}=(0,c.useSelect)(u.store),a=(0,c.useSelect)((e=>e(Ot).isListViewOpened()),[]),r=(0,c.useSelect)((e=>e(ke).getActiveComplementaryArea(Ot.name)===Oa),[]),{redo:l,undo:o}=(0,c.useDispatch)(u.store),{setIsListViewOpened:i}=(0,c.useDispatch)(Ot),{enableComplementaryArea:s,disableComplementaryArea:m}=(0,c.useDispatch)(ke);return(0,Vt.useShortcut)("core/edit-site/save",(a=>{a.preventDefault();const r=t(),l=!!r.length;!r.some((e=>n(e.kind,e.name,e.key)))&&l&&e()})),(0,Vt.useShortcut)("core/edit-site/undo",(e=>{o(),e.preventDefault()})),(0,Vt.useShortcut)("core/edit-site/redo",(e=>{l(),e.preventDefault()})),(0,Vt.useShortcut)("core/edit-site/toggle-list-view",(()=>{i(!a)})),(0,Vt.useShortcut)("core/edit-site/toggle-block-settings-sidebar",(e=>{e.preventDefault(),r?m(P):s(P,Oa)})),null}or.Register=function(){const{registerShortcut:e}=(0,c.useDispatch)(Vt.store);return(0,o.useEffect)((()=>{e({name:"core/edit-site/save",category:"global",description:(0,_.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/edit-site/undo",category:"global",description:(0,_.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/edit-site/redo",category:"global",description:(0,_.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}}),e({name:"core/edit-site/toggle-list-view",category:"global",description:(0,_.__)("Open the block list view."),keyCombination:{modifier:"access",character:"o"}}),e({name:"core/edit-site/toggle-block-settings-sidebar",category:"global",description:(0,_.__)("Show or hide the block settings sidebar."),keyCombination:{modifier:"primaryShift",character:","}})}),[e]),null};var ir=or,sr=window.wp.htmlEntities;function cr({rawContent:e,blockContext:t}){const n=(0,o.useMemo)((()=>e?(0,i.parse)(e):[]),[e]);return n&&0!==n.length?t?(0,o.createElement)("div",{className:"edit-site-navigation-panel__preview"},(0,o.createElement)(Dt.BlockContextProvider,{value:t},(0,o.createElement)(Dt.BlockPreview,{blocks:n,viewportWidth:1200}))):(0,o.createElement)("div",{className:"edit-site-navigation-panel__preview"},(0,o.createElement)(Dt.BlockPreview,{blocks:n,viewportWidth:1200})):null}const ur=e=>{var t;const n=e.taxonomy?e.name:null==e||null===(t=e.title)||void 0===t?void 0:t.rendered,a=document.createElement("div");return a.innerHTML=n,a.textContent||a.innerText||""};function mr({item:e}){const[t,n]=(0,o.useState)(!1),a=(0,c.useSelect)((n=>{if(!t)return null;const a=n(u.store).__experimentalGetTemplateForLink(e.link);return null==a?void 0:a.content}),[t]),{setPage:r,setIsNavigationPanelOpened:l}=(0,c.useDispatch)(Ot),i=(0,o.useCallback)((()=>{const{type:t,slug:n,link:a,id:o}=e;r({type:t,slug:n,path:(0,Z.getPathAndQueryString)(a),context:{postType:t,postId:o}}),l(!1)}),[r,e]);return e?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(d.__experimentalNavigationItem,{className:"edit-site-navigation-panel__content-item",item:`${e.taxonomy||e.type}-${e.id}`,title:ur(e)||(0,_.__)("(no title)"),onClick:i,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1)}),t&&a&&(0,o.createElement)(Cr,null,(0,o.createElement)(cr,{rawContent:a,blockContext:{postType:e.type,postId:e.id}}))):null}const pr=e=>(0,y.deburr)(e).replace(/^\//,"").toLowerCase(),dr=(e,t)=>-1!==pr(e).indexOf(pr(t));function _r({item:e}){const{title:t,description:n}=(0,c.useSelect)((t=>{var n;return"wp_template"===e.type?t(Ft.store).__experimentalGetTemplateInfo(e):{title:(null==e||null===(n=e.title)||void 0===n?void 0:n.rendered)||(null==e?void 0:e.slug),description:""}}),[]),{setTemplate:a,setTemplatePart:r,setIsNavigationPanelOpened:l}=(0,c.useDispatch)(Ot),[i,s]=(0,o.useState)(!1);return e?(0,o.createElement)(d.__experimentalNavigationItem,{className:"edit-site-navigation-panel__template-item",item:`${e.type}-${e.id}`},(0,o.createElement)(d.Button,{onClick:()=>{"wp_template"===e.type?a(e.id,e.slug):r(e.id),l(!1)},onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1)},(0,o.createElement)("span",{className:"edit-site-navigation-panel__info-wrapper"},(0,o.createElement)("div",{className:"edit-site-navigation-panel__template-item-title"},"draft"===e.status&&(0,o.createElement)("em",null,(0,_.__)("[Draft]")),t),n&&(0,o.createElement)("div",{className:"edit-site-navigation-panel__template-item-description"},n))),i&&(0,o.createElement)(Cr,null,(0,o.createElement)(cr,{rawContent:e.content.raw}))):null}function gr({items:e,search:t,disableFilter:n}){let a=null;(null==e?void 0:e.length)>0&&(a=e[0].taxonomy?"taxonomy":e[0].type);const r=(0,c.useSelect)((t=>{if(null===a||null===e)return[];if("wp_template"===a){const{__experimentalGetTemplateInfo:n}=t(Ft.store);return e.map((e=>({slug:e.slug,...n(e)})))}return"taxonomy"===a?e.map((e=>({slug:e.slug,title:e.name,description:e.description}))):e.map((e=>{var t,n;return{slug:e.slug,title:null===(t=e.title)||void 0===t?void 0:t.rendered,description:null===(n=e.excerpt)||void 0===n?void 0:n.rendered}}))}),[e,a]),l=(0,o.useMemo)((()=>(0,y.keyBy)(r,"slug")),[r]),i=(0,o.useMemo)((()=>null===e||0===t.length?[]:n?e:e.filter((({slug:e})=>{const{title:n,description:a}=l[e];return dr(e,t)||dr(n,t)||dr(a,t)}))),[e,r,t]),s=(0,o.useMemo)((()=>i?(0,y.sortBy)(i,[({slug:e})=>{const{title:n}=l[e];return!dr(n,t)}]):[]),[i,t]),u="wp_template"===a||"wp_template_part"===a?_r:mr;return(0,o.createElement)(d.__experimentalNavigationGroup,{title:(0,_.__)("Search results")},(0,y.map)(s,(e=>(0,o.createElement)(u,{item:e,key:`${e.taxonomy||e.type}-${e.id}`}))))}function Er(){const[e,t]=(0,o.useState)(""),[n,a]=(0,o.useState)(""),[r,l]=(0,o.useState)(!1);(0,o.useEffect)((()=>{l(!1)}),[n]);const i=(0,o.useCallback)((0,y.debounce)(a,75),[a]);return{search:e,searchQuery:n,isDebouncing:r,onSearch:(0,o.useCallback)((e=>{t(e),i(e),l(!0)}),[t,l,i])}}function fr(){const{search:e,searchQuery:t,onSearch:n,isDebouncing:a}=Er(),{pages:r,isResolved:l}=(0,c.useSelect)((e=>{const{getEntityRecords:n,hasFinishedResolution:a}=e(u.store),r=["postType","page",t?{search:t}:void 0],l=a("getEntityRecords",r);return{pages:n(...r),isResolved:l}}),[t]),i=!l||e&&a;return(0,o.createElement)(d.__experimentalNavigationMenu,{menu:U,title:(0,_.__)("Pages"),parentMenu:G,hasSearch:!0,onSearch:n,search:e,isSearchDebouncing:a||!l},e&&!a&&(0,o.createElement)(gr,{items:r,search:e,disableFilter:!0}),!e&&(null==r?void 0:r.map((e=>(0,o.createElement)(mr,{item:e,key:`${e.type}-${e.id}`})))),i&&(0,o.createElement)(d.__experimentalNavigationItem,{title:(0,_.__)("Loading…"),isText:!0}))}function hr(){const{search:e,searchQuery:t,onSearch:n,isDebouncing:a}=Er(),{categories:r,isResolved:l}=(0,c.useSelect)((e=>{const{getEntityRecords:n,hasFinishedResolution:a}=e(u.store),r=["taxonomy","category",t?{search:t}:void 0],l=a("getEntityRecords",r);return{categories:n(...r),isResolved:l}}),[t]),i=!l||e&&a;return(0,o.createElement)(d.__experimentalNavigationMenu,{menu:z,title:(0,_.__)("Categories"),parentMenu:G,hasSearch:!0,onSearch:n,search:e,isSearchDebouncing:a||!l},e&&!a&&(0,o.createElement)(gr,{items:r,search:e,disableFilter:!0}),!e&&(null==r?void 0:r.map((e=>(0,o.createElement)(mr,{item:e,key:`${e.taxonomy}-${e.id}`})))),i&&(0,o.createElement)(d.__experimentalNavigationItem,{title:(0,_.__)("Loading…"),isText:!0}))}function vr(){const{search:e,searchQuery:t,onSearch:n,isDebouncing:a}=Er(),{posts:r,showOnFront:l,isResolved:i}=(0,c.useSelect)((e=>{const{getEntityRecords:n,getEditedEntityRecord:a,hasFinishedResolution:r}=e(u.store),l=["postType","post",t?{search:t}:void 0],o=r("getEntityRecords",l);return{posts:n(...l),isResolved:o,showOnFront:a("root","site").show_on_front}}),[t]),{setPage:s,setIsNavigationPanelOpened:m}=(0,c.useDispatch)(Ot),p=(0,o.useCallback)((()=>{s({type:"page",path:"/",context:{queryContext:{page:1}}}),m(!1)}),[s,m]),g=!i||e&&a;return(0,o.createElement)(d.__experimentalNavigationMenu,{menu:$,title:(0,_.__)("Posts"),parentMenu:G,hasSearch:!0,onSearch:n,search:e,isSearchDebouncing:a||!i},e&&!a&&(0,o.createElement)(gr,{items:r,search:e,disableFilter:!0}),!e&&(0,o.createElement)(o.Fragment,null,"posts"===l&&(0,o.createElement)(d.__experimentalNavigationItem,{item:"post-/",title:(0,_.__)("All Posts"),onClick:p}),null==r?void 0:r.map((e=>(0,o.createElement)(mr,{item:e,key:`${e.type}-${e.id}`})))),g&&(0,o.createElement)(d.__experimentalNavigationItem,{title:(0,_.__)("Loading…"),isText:!0}))}function yr(e,t){const n=(0,y.find)(t,{slug:e});if(n)return n;switch(e){case"single":case"page":return yr("singular",t);case"author":case"category":case"taxonomy":case"date":case"tag":return yr("archive",t);case"front-page":return yr("home",t);case"attachment":return yr("single",t);case"privacy-policy":return yr("page",t)}return(0,y.find)(t,{slug:"index"})}function br(){const{defaultTemplateTypes:e,templates:t}=(0,c.useSelect)((e=>{const{__experimentalGetDefaultTemplateTypes:t}=e(Ft.store),n=e(u.store).getEntityRecords("postType","wp_template");return{defaultTemplateTypes:t(),templates:n}}),[]),{addTemplate:n}=(0,c.useDispatch)(Ot),a=a=>{const r=yr(a,t),{title:l,description:o}=(0,y.find)(e,{slug:a});n({content:r.content.raw,excerpt:o,slug:a.toString(),status:"publish",title:l})},r=(0,y.map)(t,"slug"),l=(0,y.filter)(e,(e=>(0,y.includes)(F,e.slug)&&!(0,y.includes)(r,e.slug)));return l.length?(0,o.createElement)(d.DropdownMenu,{className:"edit-site-navigation-panel__new-template-dropdown",icon:null,label:(0,_.__)("Add Template"),popoverProps:{noArrow:!1},toggleProps:{children:(0,o.createElement)(Bn,{icon:Gt}),isSmall:!0,variant:"tertiary"}},(({onClose:e})=>(0,o.createElement)(d.NavigableMenu,{className:"edit-site-navigation-panel__new-template-popover"},(0,o.createElement)(d.MenuGroup,{label:(0,_.__)("Add Template")},(0,y.map)(l,(({title:t,description:n,slug:r})=>(0,o.createElement)(d.MenuItem,{info:n,key:r,onClick:()=>{a(r),e()}},t))))))):null}function Sr({menu:e,title:t,templates:n}){const a=(0,o.useMemo)((()=>{var t,a;return null!==(t=null==n||null===(a=n.filter((({location:t})=>t===e)))||void 0===a?void 0:a.map((({template:e})=>e)))&&void 0!==t?t:[]}),[e,n]);return(0,o.createElement)(d.__experimentalNavigationMenu,{menu:e,title:t,parentMenu:W,isEmpty:0===a.length},(0,y.map)(a,(e=>(0,o.createElement)(_r,{item:e,key:`wp_template-${e.id}`}))))}function wr(){const[e,t]=(0,o.useState)(""),n=(0,o.useCallback)((e=>{t(e)})),{templates:a,showOnFront:r}=(0,c.useSelect)((e=>{const{getEntityRecords:t,getEditedEntityRecord:n}=e(u.store);return{templates:t("postType","wp_template"),showOnFront:n("root","site").show_on_front}}),[]),l=(0,o.useMemo)((()=>{if(!a)return null;const e=function(e,t){const n=(0,y.map)(e,"slug");return e.filter((({slug:e})=>_t(e,n,t)))}(a,r),t=function(e){return e.reduce(((e,t)=>(e[t.slug]=gt(t.slug),e)),{})}(a);return a.map((n=>({template:n,location:(0,y.find)(e,{slug:n.slug})?X:t[n.slug]})))}),[a]),i=(0,o.useMemo)((()=>{var e,t;return null!==(e=null==l||null===(t=l.filter((({location:e})=>e===W)))||void 0===t?void 0:t.map((({template:e})=>e)))&&void 0!==e?e:[]}),[l]);return(0,o.createElement)(d.__experimentalNavigationMenu,{menu:W,title:(0,_.__)("Templates"),titleAction:(0,o.createElement)(br,null),parentMenu:G,hasSearch:!0,onSearch:n,search:e},e&&(0,o.createElement)(gr,{items:a,search:e}),!e&&(0,o.createElement)(o.Fragment,null,(0,y.map)(i,(e=>(0,o.createElement)(_r,{item:e,key:`wp_template-${e.id}`}))),(0,o.createElement)(d.__experimentalNavigationItem,{navigateToMenu:Y,title:(0,_.__)("Post templates"),hideIfTargetMenuEmpty:!0}),(0,o.createElement)(d.__experimentalNavigationItem,{navigateToMenu:q,title:(0,_.__)("Page templates"),hideIfTargetMenuEmpty:!0}),(0,o.createElement)(d.__experimentalNavigationItem,{navigateToMenu:j,title:(0,_.__)("General templates"),hideIfTargetMenuEmpty:!0}),(0,o.createElement)(d.__experimentalNavigationItem,{navigateToMenu:X,title:(0,_.__)("Unused templates"),hideIfTargetMenuEmpty:!0})),!e&&null===a&&(0,o.createElement)(d.__experimentalNavigationItem,{title:(0,_.__)("Loading…"),isText:!0}),(0,o.createElement)(Sr,{menu:Y,title:(0,_.__)("Post templates"),templates:l}),(0,o.createElement)(Sr,{menu:q,title:(0,_.__)("Page templates"),templates:l}),(0,o.createElement)(Sr,{menu:j,title:(0,_.__)("General templates"),templates:l}),(0,o.createElement)(Sr,{menu:X,title:(0,_.__)("Unused templates"),templates:l}))}function xr({menu:e,title:t,templateParts:n}){return(0,o.createElement)(d.__experimentalNavigationMenu,{className:"edit-site-navigation-panel__template-parts",menu:e,title:t,parentMenu:H,isEmpty:!n||0===n.length},(0,y.map)(n,(e=>(0,o.createElement)(_r,{item:e,key:`wp_template_part-${e.id}`}))))}function Tr(){const[e,t]=(0,o.useState)(""),n=(0,o.useCallback)((e=>{t(e)})),{isLoading:a,templateParts:r,templatePartsByArea:l}=(0,c.useSelect)((e=>{const t=e(u.store).getEntityRecords("postType","wp_template_part"),n=t||[];return{isLoading:null===t,templateParts:n,templatePartsByArea:(0,y.groupBy)(n,"area")}}),[]);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(d.__experimentalNavigationMenu,{menu:H,title:(0,_.__)("Template Parts"),parentMenu:G,hasSearch:!0,onSearch:n,search:e},e&&(0,o.createElement)(gr,{items:r,search:e}),!e&&K.map((({title:e,menu:t})=>(0,o.createElement)(d.__experimentalNavigationItem,{key:`template-parts-navigate-to-${t}`,className:"edit-site-navigation-panel__template-part-item",navigateToMenu:t,title:e,hideIfTargetMenuEmpty:!0}))),!e&&a&&(0,o.createElement)(d.__experimentalNavigationItem,{title:(0,_.__)("Loading…"),isText:!0})),K.map((({area:e,menu:t,title:n})=>(0,o.createElement)(xr,{key:`template-parts-menu-${t}`,menu:t,title:n,templateParts:l[e]}))))}function kr(){return(0,o.createElement)(d.__experimentalNavigationMenu,null,(0,o.createElement)(d.__experimentalNavigationGroup,{title:(0,_.__)("Theme")},(0,o.createElement)(d.__experimentalNavigationItem,{title:(0,_.__)("Templates"),navigateToMenu:W}),(0,o.createElement)(d.__experimentalNavigationItem,{title:(0,_.__)("Template Parts"),navigateToMenu:H})),(0,o.createElement)(d.__experimentalNavigationGroup,{title:(0,_.__)("Content")},(0,o.createElement)(d.__experimentalNavigationItem,{title:(0,_.__)("Pages"),navigateToMenu:U}),(0,o.createElement)(d.__experimentalNavigationItem,{title:(0,_.__)("Categories"),navigateToMenu:z}),(0,o.createElement)(d.__experimentalNavigationItem,{title:(0,_.__)("Posts"),navigateToMenu:$})),(0,o.createElement)(wr,null),(0,o.createElement)(Tr,null),(0,o.createElement)(fr,null),(0,o.createElement)(hr,null),(0,o.createElement)(vr,null))}var Ir=({isOpen:e})=>{const{page:{context:{postType:t,postId:n}={}}={},editedPostId:a,editedPostType:r,activeMenu:l,siteTitle:i}=(0,c.useSelect)((e=>{const{getEditedPostType:t,getEditedPostId:n,getNavigationPanelActiveMenu:a,getPage:r}=e(Ot),{getEntityRecord:l}=e(u.store),o=l("root","__unstableBase",void 0)||{};return{page:r(),editedPostId:n(),editedPostType:t(),activeMenu:a(),siteTitle:o.name}}),[]),{setNavigationPanelActiveMenu:s,setIsNavigationPanelOpened:m}=(0,c.useDispatch)(Ot);let p;l!==G&&(p=l.startsWith("content")?`${t}-${n}`:`${r}-${a}`);const g=(0,o.useRef)();return(0,o.useEffect)((()=>{e&&g.current.focus()}),[l,e]),(0,o.createElement)("div",{className:ae()("edit-site-navigation-panel",{"is-open":e}),ref:g,tabIndex:"-1",onKeyDown:e=>{e.keyCode!==Zt.ESCAPE||e.defaultPrevented||(e.preventDefault(),m(!1))}},(0,o.createElement)("div",{className:"edit-site-navigation-panel__inner"},(0,o.createElement)("div",{className:"edit-site-navigation-panel__site-title-container"},(0,o.createElement)("div",{className:"edit-site-navigation-panel__site-title"},(0,sr.decodeEntities)(i))),(0,o.createElement)("div",{className:"edit-site-navigation-panel__scroll-container"},(0,o.createElement)(d.__experimentalNavigation,{activeItem:p,activeMenu:l,onActivateMenu:s},l===G&&(0,o.createElement)(gn.Slot,null,(0,o.createElement)(d.__experimentalNavigationBackButton,{backButtonLabel:(0,_.__)("Dashboard"),className:"edit-site-navigation-panel__back-to-dashboard",href:"index.php"})),(0,o.createElement)(kr,null)))))},Pr=function({icon:e,isOpen:t}){const{isRequestingSiteIcon:n,navigationPanelMenu:a,siteIconUrl:r}=(0,c.useSelect)((e=>{const{getCurrentTemplateNavigationPanelSubMenu:t}=e(Ot),{getEntityRecord:n,isResolving:a}=e(u.store),r=n("root","__unstableBase",void 0)||{};return{isRequestingSiteIcon:a("core","getEntityRecord",["root","__unstableBase",void 0]),navigationPanelMenu:t(),siteIconUrl:r.site_icon_url}}),[]),{openNavigationPanelToMenu:l,setIsNavigationPanelOpened:i}=(0,c.useDispatch)(Ot),s=(0,Ue.useReducedMotion)();let m=(0,o.createElement)(d.Icon,{size:"36px",icon:Ut});return r?m=(0,o.createElement)(d.__unstableMotion.img,{variants:!s&&{expand:{scale:1.7,borderRadius:0,transition:{type:"tween",duration:"0.2"}}},alt:(0,_.__)("Site Icon"),className:"edit-site-navigation-toggle__site-icon",src:r}):n?m=null:e&&(m=(0,o.createElement)(d.Icon,{size:"36px",icon:e})),(0,o.createElement)(d.__unstableMotion.div,{className:"edit-site-navigation-toggle"+(t?" is-open":""),whileHover:"expand"},(0,o.createElement)(d.Button,{className:"edit-site-navigation-toggle__button has-icon",label:(0,_.__)("Toggle navigation"),onClick:()=>{t?i(!1):l(a)},showTooltip:!0},m))};const{Fill:Cr,Slot:Nr}=(0,d.createSlotFill)("EditSiteNavigationPanelPreview");function Mr(){const e=(0,c.useSelect)((e=>e(Ot).isNavigationOpened()),[]);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Pr,{isOpen:e}),(0,o.createElement)(Ir,{isOpen:e}),(0,o.createElement)(Nr,null))}function Rr(){const{setTemplate:e,setTemplatePart:t,showHomepage:n,setPage:a}=(0,c.useDispatch)(Ot);(0,o.useEffect)((()=>{const r=window.location.href,l=(0,Z.getQueryArg)(r,"postId");if(!l)return void n();const o=(0,Z.getQueryArg)(r,"postType");"page"===o||"post"===o?a({context:{postType:o,postId:l}}):"wp_template"===o?e(l):"wp_template_part"===o?t(l):n()}),[]);const r=(0,c.useSelect)((e=>{var t,n;const{getEditedPostType:a,getEditedPostId:r,getPage:l}=e(Ot),o=l();let i=r(),s=a();return null!=o&&null!==(t=o.context)&&void 0!==t&&t.postId&&null!=o&&null!==(n=o.context)&&void 0!==n&&n.postType&&(i=o.context.postId,s=o.context.postType),i&&s?{postId:i,postType:s}:null}),[]);return(0,o.useEffect)((()=>{const e=r?(0,Z.addQueryArgs)(window.location.href,r):(0,Z.removeQueryArgs)(window.location.href,"postType","postId");window.history.replaceState({},"",e)}),[r]),null}var Ar=(0,o.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(h.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));function Br(){const{setIsInserterOpened:e}=(0,c.useDispatch)(Ot),t=(0,c.useSelect)((e=>e(Ot).__experimentalGetInsertionPoint()),[]),n=(0,Ue.useViewportMatch)("medium","<"),[a,r]=(0,Ue.__experimentalUseDialog)({onClose:()=>e(!1)});return(0,o.createElement)("div",te({ref:a},r,{className:"edit-site-editor__inserter-panel"}),(0,o.createElement)("div",{className:"edit-site-editor__inserter-panel-header"},(0,o.createElement)(d.Button,{icon:Ar,onClick:()=>e(!1)})),(0,o.createElement)("div",{className:"edit-site-editor__inserter-panel-content"},(0,o.createElement)(Dt.__experimentalLibrary,{showInserterHelpPanel:!0,shouldFocusBlock:n,rootClientId:t.rootClientId,__experimentalInsertionIndex:t.insertionIndex,__experimentalFilterValue:t.filterValue})))}function Lr(){const{setIsListViewOpened:e}=(0,c.useDispatch)(Ot),{clearSelectedBlock:t,selectBlock:n}=(0,c.useDispatch)(Dt.store),a=(0,Ue.useFocusOnMount)("firstElement"),r=(0,Ue.useFocusReturn)(),l=`edit-site-editor__list-view-panel-label-${(0,Ue.useInstanceId)(Lr)}`;return(0,o.createElement)("div",{"aria-labelledby":l,className:"edit-site-editor__list-view-panel",onKeyDown:function(t){t.keyCode!==Zt.ESCAPE||t.defaultPrevented||e(!1)}},(0,o.createElement)("div",{className:"edit-site-editor__list-view-panel-header"},(0,o.createElement)("strong",{id:l},(0,_.__)("List view")),(0,o.createElement)(d.Button,{icon:se,label:(0,_.__)("Close list view sidebar"),onClick:()=>e(!1)})),(0,o.createElement)("div",{className:"edit-site-editor__list-view-panel-content",ref:(0,Ue.useMergeRefs)([r,a])},(0,o.createElement)(Dt.__experimentalListView,{onSelect:async function(e){await t(),n(e,-1)},showNestedBlocks:!0,__experimentalFeatures:!0,__experimentalPersistentListViewFeatures:!0})))}function Or({text:e,children:t}){const n=(0,Ue.useCopyToClipboard)(e);return(0,o.createElement)(d.Button,{variant:"secondary",ref:n},t)}class Dr extends o.Component{constructor(){super(...arguments),this.reboot=this.reboot.bind(this),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}reboot(){this.props.onError()}render(){const{error:e}=this.state;return e?(0,o.createElement)(Dt.Warning,{className:"editor-error-boundary",actions:[(0,o.createElement)(d.Button,{key:"recovery",onClick:this.reboot,variant:"secondary"},(0,_.__)("Attempt Recovery")),(0,o.createElement)(Or,{key:"copy-error",text:e.stack},(0,_.__)("Copy Error"))]},(0,_.__)("The editor has encountered an unexpected error.")):this.props.children}}function Fr(){const[e,t]=function(){const[e,t]=(0,o.useState)([]),[n,a]=(0,o.useState)({}),{merged:r}=(0,o.useContext)(kn);return(0,o.useEffect)((()=>{if(null==r||!r.styles||null==r||!r.settings)return;const e=(e=>{const t={};return e.forEach((e=>{var n,a;const r=e.name,l=null!==(n=null==e||null===(a=e.supports)||void 0===a?void 0:a.__experimentalSelector)&&void 0!==n?n:".wp-block-"+r.replace("core/","").replace("/","-");t[r]={name:r,selector:l}})),t})((0,i.getBlockTypes)()),n=Aa(r,e),l=((e,t)=>{const n=((e,t)=>{var n,a;const r=[];if(null==e||!e.styles)return r;const l=e=>(0,y.pickBy)(e,((e,t)=>["border","color","spacing","typography"].includes(t))),o=l(e.styles);return o&&r.push({styles:o,selector:bn}),(0,y.forEach)(null===(n=e.styles)||void 0===n?void 0:n.elements,((e,t)=>{e&&i.__EXPERIMENTAL_ELEMENTS[t]&&r.push({styles:e,selector:i.__EXPERIMENTAL_ELEMENTS[t]})})),(0,y.forEach)(null===(a=e.styles)||void 0===a?void 0:a.blocks,((e,n)=>{var a;const o=l(e);o&&null!=t&&null!==(a=t[n])&&void 0!==a&&a.selector&&r.push({styles:o,selector:t[n].selector}),(0,y.forEach)(null==e?void 0:e.elements,((e,a)=>{e&&null!=t&&t[n]&&null!==i.__EXPERIMENTAL_ELEMENTS&&void 0!==i.__EXPERIMENTAL_ELEMENTS&&i.__EXPERIMENTAL_ELEMENTS[a]&&r.push({styles:e,selector:t[n].selector.split(",").map((e=>e+" "+i.__EXPERIMENTAL_ELEMENTS[a])).join(",")})}))})),r})(e,t),a=Ra(e,t);let r=".wp-site-blocks > * { margin-top: 0; margin-bottom: 0; }.wp-site-blocks > * + * { margin-top: var( --wp--style--block-gap ); }";return n.forEach((({selector:e,styles:t})=>{const n=function(e={}){return(0,y.reduce)(i.__EXPERIMENTAL_STYLE_PROPERTY,((t,{value:n,properties:a},r)=>{const l=n;if("elements"===(0,y.first)(l))return t;const o=(0,y.get)(e,l);if(a&&!(0,y.isString)(o))Object.entries(a).forEach((e=>{const[n,a]=e;if(!(0,y.get)(o,[a],!1))return;const r=(0,y.kebabCase)(n);t.push(`${r}: ${Na((0,y.get)(o,[a]))}`)}));else if((0,y.get)(e,l,!1)){const n=r.startsWith("--")?r:(0,y.kebabCase)(r);t.push(`${n}: ${Na((0,y.get)(e,l))}`)}return t}),[])}(t);0!==n.length&&(r+=`${e}{${n.join(";")};}`)})),a.forEach((({selector:e,presets:t})=>{bn===e&&(e="");const n=function(e,t={}){return(0,y.reduce)(Sn,((n,{path:a,cssVarInfix:r,classes:l})=>{if(!l)return n;const o=(0,y.get)(t,a,[]);return["core","theme","user"].forEach((t=>{o[t]&&o[t].forEach((({slug:t})=>{l.forEach((({classSuffix:a,propertyName:l})=>{const o=`.has-${(0,y.kebabCase)(t)}-${a}`,i=e.split(",").map((e=>`${e}${o}`)).join(","),s=`var(--wp--preset--${r}--${(0,y.kebabCase)(t)})`;n+=`${i}{${l}: ${s} !important;}`}))}))})),n}),"")}(e,t);(0,y.isEmpty)(n)||(r+=n)})),r})(r,e);t([{css:n,isGlobalStyles:!0,__experimentalNoWrapper:!0},{css:l,isGlobalStyles:!0}]),a(r.settings)}),[r]),[e,n]}(),{getSettings:n}=(0,c.useSelect)(Ot),{updateSettings:a}=(0,c.useDispatch)(Ot);(0,o.useEffect)((()=>{var r;if(!e||!t)return;const l=n(),o=null==l||null===(r=l.styles)||void 0===r?void 0:r.filter((e=>!e.isGlobalStyles));a({...l,styles:[...o,...e],__experimentalFeatures:t})}),[e,t])}function Vr(){return Fr(),null}function Gr(e,t){if(Array.isArray(t))return t}function zr(e){const t=(0,y.cloneDeep)(e);return Sn.forEach((({path:e})=>{const n=(0,y.get)(t,e);n&&(0,y.set)(t,e,{user:n})})),t}function Ur(e){const t=(0,y.cloneDeep)(e);return Sn.forEach((({path:e})=>{const n=(0,y.get)(t,e);n&&(0,y.set)(t,e,(null!=n?n:{}).user)})),t}const $r=e=>{if(!(0,y.isObject)(e)||Array.isArray(e))return e;const t=(0,y.pickBy)((0,y.mapValues)(e,$r),y.identity);return(0,y.isEmpty)(t)?void 0:t};function Hr({children:e}){const t=function(){const[e,t,n]=function(){const{globalStylesId:e,settings:t,styles:n}=(0,c.useSelect)((e=>{const t=e(u.store).__experimentalGetCurrentGlobalStylesId(),n=t?e(u.store).getEditedEntityRecord("root","globalStyles",t):void 0;return{globalStylesId:t,settings:null==n?void 0:n.settings,styles:null==n?void 0:n.styles}}),[]),{getEditedEntityRecord:a}=(0,c.useSelect)(u.store),{editEntityRecord:r}=(0,c.useDispatch)(u.store),l=(0,o.useMemo)((()=>({settings:zr(null!=t?t:{}),styles:null!=n?n:{}})),[t,n]),i=(0,o.useCallback)((t=>{var n,l;const o=a("root","globalStyles",e),i=t({styles:null!==(n=null==o?void 0:o.styles)&&void 0!==n?n:{},settings:zr(null!==(l=null==o?void 0:o.settings)&&void 0!==l?l:{})});r("root","globalStyles",e,{styles:$r(i.styles)||{},settings:$r(Ur(i.settings))||{}})}),[e]);return[!!t||!!n,l,i]}(),a=(0,c.useSelect)((e=>e(u.store).__experimentalGetCurrentThemeBaseGlobalStyles()),[]),r=(0,o.useMemo)((()=>{return a&&t?(e=a,n=t,(0,y.mergeWith)({},e,n,Gr)):{};var e,n}),[t,a]);return(0,o.useMemo)((()=>({isReady:e,user:t,base:a,merged:r,setUserConfig:n})),[r,t,a,n,e])}();return t.isReady?(0,o.createElement)(kn.Provider,{value:t},e):null}const Wr={secondarySidebar:(0,_.__)("Block Library"),drawer:(0,_.__)("Navigation Sidebar")};var jr=function({initialSettings:e,onError:t}){const{isInserterOpen:n,isListViewOpen:a,sidebarIsOpened:r,settings:l,entityId:i,templateType:s,page:m,template:p,templateResolved:E,isNavigationOpen:f}=(0,c.useSelect)((e=>{const{isInserterOpened:t,isListViewOpened:n,getSettings:a,getEditedPostType:r,getEditedPostId:l,getPage:o,isNavigationOpened:i}=e(Ot),{hasFinishedResolution:s,getEntityRecord:c}=e(u.store),m=r(),p=l();return{isInserterOpen:t(),isListViewOpen:n(),sidebarIsOpened:!!e(ke).getActiveComplementaryArea(Ot.name),settings:a(),templateType:m,page:o(),template:p?c("postType",m,p):null,templateResolved:!!p&&s("getEntityRecord",["postType",m,p]),entityId:p,isNavigationOpen:i()}}),[]),{updateEditorSettings:h}=(0,c.useDispatch)(Ft.store),{setPage:v,setIsInserterOpened:y,updateSettings:b}=(0,c.useDispatch)(Ot),{enableComplementaryArea:S}=(0,c.useDispatch)(ke);(0,o.useEffect)((()=>{b(e)}),[]);const{defaultTemplateTypes:w,defaultTemplatePartAreas:x,__experimentalNewMenuSidebar:T}=l;(0,o.useEffect)((()=>{h({defaultTemplateTypes:w,defaultTemplatePartAreas:x})}),[w,x]);const[k,I]=(0,o.useState)(!1),P=(0,o.useCallback)((()=>I(!0)),[]),C=(0,o.useCallback)((()=>{I(!1)}),[]),N=(0,o.useMemo)((()=>({...null==m?void 0:m.context,queryContext:[(null==m?void 0:m.context.queryContext)||{page:1},e=>v({...m,context:{...null==m?void 0:m.context,queryContext:{...null==m?void 0:m.context.queryContext,...e}}})]})),[null==m?void 0:m.context]);(0,o.useEffect)((()=>{f?document.body.classList.add("is-navigation-sidebar-open"):document.body.classList.remove("is-navigation-sidebar-open")}),[f]),(0,o.useEffect)((function(){"open"===new URLSearchParams(window.location.search).get("styles")&&S("core/edit-site","edit-site/global-styles")}),[S]);const M=(null==l?void 0:l.siteUrl)&&void 0!==s&&void 0!==i;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Rr,null),M&&(0,o.createElement)(Vt.ShortcutProvider,null,(0,o.createElement)(d.SlotFillProvider,null,(0,o.createElement)(u.EntityProvider,{kind:"root",type:"site"},(0,o.createElement)(u.EntityProvider,{kind:"postType",type:s,id:i},(0,o.createElement)(Hr,null,(0,o.createElement)(Dt.BlockContextProvider,{value:N},(0,o.createElement)(Vr,null),(0,o.createElement)(Dr,{onError:t},(0,o.createElement)(ze,{isActive:!0}),(0,o.createElement)(Ft.UnsavedChangesWarning,null),(0,o.createElement)(ir.Register,null),(0,o.createElement)(Ha,null),(0,o.createElement)($e,{labels:Wr,drawer:T?void 0:(0,o.createElement)(Mr,null),secondarySidebar:n?(0,o.createElement)(Br,null):a?(0,o.createElement)(Lr,null):null,sidebar:r&&(0,o.createElement)(Ge.Slot,{scope:"core/edit-site"}),header:(0,o.createElement)(fn,{openEntitiesSavedStates:P}),notices:(0,o.createElement)(Ft.EditorSnackbars,null),content:(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Ft.EditorNotices,null),p&&(0,o.createElement)(lr,{setIsInserterOpen:y}),E&&!p&&(null==l?void 0:l.siteUrl)&&i&&(0,o.createElement)(d.Notice,{status:"warning",isDismissible:!1},(0,_.__)("You attempted to edit an item that doesn't exist. Perhaps it was deleted?")),(0,o.createElement)(ir,{openEntitiesSavedStates:P})),actions:(0,o.createElement)(o.Fragment,null,k?(0,o.createElement)(Ft.EntitiesSavedStates,{close:C}):(0,o.createElement)("div",{className:"edit-site-editor__toggle-save-panel"},(0,o.createElement)(d.Button,{variant:"secondary",className:"edit-site-editor__toggle-save-panel-button",onClick:P,"aria-expanded":!1},(0,_.__)("Open save panel")))),footer:(0,o.createElement)(Dt.BlockBreadcrumb,null)}),(0,o.createElement)(d.Popover.Slot,null),(0,o.createElement)(g.PluginArea,null)))))))))};function qr({className:e,...t}){return(0,o.createElement)(Ge,te({panelClassName:e,className:"edit-site-sidebar",scope:"core/edit-site"},t))}function Yr(e){return(0,o.createElement)(Ae,te({__unstableExplicitMenuItem:!0,scope:"core/edit-site"},e))}var Xr=(0,Ue.compose)((0,g.withPluginContext)(((e,t)=>({icon:t.icon||e.icon,name:"core/edit-site/plugin-more-menu"}))))(Me);function Kr(e,t){(0,o.unmountComponentAtNode)(e);const n=Kr.bind(null,e,t);(0,o.render)((0,o.createElement)(jr,{initialSettings:t,onError:n}),e)}function Qr(e,t){t.__experimentalFetchLinkSuggestions=(e,n)=>(0,u.__experimentalFetchLinkSuggestions)(e,n,t),t.__experimentalFetchRichUrlData=u.__experimentalFetchUrlData,t.__experimentalSpotlightEntityBlocks=["core/template-part"],t.__experimentalNewMenuSidebar=!1;const n=document.getElementById(e),a=Kr.bind(null,n,t);(0,c.dispatch)(i.store).__experimentalReapplyBlockTypeFilters(),(0,s.registerCoreBlocks)(),(0,s.__experimentalRegisterExperimentalCoreBlocks)({enableFSEBlocks:!0}),(0,o.render)((0,o.createElement)(jr,{initialSettings:t,onError:a}),n)}}(),(window.wp=window.wp||{}).editSite=a}();
build/edit-site/style-rtl.css CHANGED
@@ -1 +1 @@
1
- :root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-left:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-left:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-right:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-right:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}.components-panel__header+.interface-complementary-area-header{margin-top:0}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2{color:#1e1e1e;font-size:13px;margin-bottom:1.5em}.interface-complementary-area h3{color:#1e1e1e;font-size:11px;font-weight:500;margin-bottom:1.5em;text-transform:uppercase}.interface-complementary-area hr{border-bottom:1px solid #f0f0f0;border-top:none;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{bottom:10px;left:10px;right:auto;top:auto}@media (min-width:782px){body.js.is-fullscreen-mode{height:calc(100% + 32px);margin-top:-32px}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{bottom:0;display:flex;flex-direction:row;height:auto;left:0;max-height:100%;position:fixed;top:46px}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex:0 1 100%;flex-direction:column;overflow:hidden}.interface-interface-skeleton{right:0}@media (min-width:783px){.interface-interface-skeleton{right:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{right:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{right:160px}}.folded .interface-interface-skeleton{right:0}@media (min-width:783px){.folded .interface-interface-skeleton{right:36px}}body.is-fullscreen-mode .interface-interface-skeleton{right:0!important}.interface-interface-skeleton__body{display:flex;flex-grow:1;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{display:flex;flex-direction:column;flex-grow:1;overflow:auto;z-index:20}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{background:#fff;bottom:0;color:#1e1e1e;display:block;flex-shrink:0;left:0;position:absolute;right:0;top:0;z-index:100000}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;width:auto;z-index:90}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-right:1px solid #e0e0e0}.interface-interface-skeleton__secondary-sidebar{border-left:1px solid #e0e0e0}}.interface-interface-skeleton__header{border-bottom:1px solid #e0e0e0;color:#1e1e1e;flex-shrink:0;height:auto;z-index:30}.interface-interface-skeleton__footer{background-color:#fff;border-top:1px solid #e0e0e0;bottom:0;color:#1e1e1e;display:none;flex-shrink:0;height:auto;position:absolute;right:0;width:100%;z-index:90}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{align-items:center;background:#fff;display:flex;font-size:13px;height:24px;padding:0 18px;z-index:30}.interface-interface-skeleton__actions{bottom:auto;color:#1e1e1e;left:0;position:fixed!important;right:auto;top:-9999em;width:280px;z-index:100000}.interface-interface-skeleton__actions:focus{bottom:0;top:auto}.interface-more-menu-dropdown{margin-right:-4px}.interface-more-menu-dropdown .components-button{padding:0 2px;width:auto}@media (min-width:600px){.interface-more-menu-dropdown{margin-right:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media (min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{max-width:480px;width:auto}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-right:4px}.interface-pinned-items .components-button svg{max-height:24px;max-width:24px}.edit-site-block-editor__editor-styles-wrapper .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-site-block-editor__editor-styles-wrapper .components-button.has-icon,.edit-site-block-editor__editor-styles-wrapper .components-button.is-tertiary{padding:6px}.edit-site-visual-editor{align-items:center;background-color:#2f2f2f}.edit-site-visual-editor.is-focus-mode{padding:48px}.edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas{border-radius:2px}.edit-site-visual-editor__editor-canvas{border-radius:2px 2px 0 0}.edit-site-visual-editor__back-button{color:#fff;position:absolute;right:8px;top:8px}.edit-site-visual-editor__back-button:active:not([aria-disabled=true]),.edit-site-visual-editor__back-button:focus:not([aria-disabled=true]),.edit-site-visual-editor__back-button:hover{color:#f0f0f0}.components-resizable-box__container{margin:0 auto}.resizable-editor__drag-handle{-webkit-appearance:none;appearance:none;background:#757575;border:0;border-radius:4px;bottom:0;cursor:grab;height:100px;margin:auto 0;outline:none;padding:0;position:absolute;top:0;width:8px}.resizable-editor__drag-handle.is-left{right:-28px}.resizable-editor__drag-handle.is-right{left:-28px}.resizable-editor__drag-handle:hover{background:#949494}.resizable-editor__drag-handle:active{background:#949494;cursor:grabbing}.resizable-editor__drag-handle:focus{box-shadow:0 0 0 1px #2f2f2f,0 0 0 calc(var(--wp-admin-border-width-focus) + 1px) var(--wp-admin-theme-color)}.edit-site-global-styles-preview{align-items:center;display:flex;justify-content:center;line-height:1;min-height:152px}.edit-site-global-styles-preview .component-color-indicator{border:0;border-radius:50%;height:36px;margin-right:0;padding:0;width:36px}.edit-site-global-styles-screen-colors{margin:16px}.edit-site-global-styles-screen-colors .component-color-indicator{background-image:repeating-linear-gradient(-45deg,#e0e0e0 25%,transparent 0,transparent 75%,#e0e0e0 0,#e0e0e0),repeating-linear-gradient(-45deg,#e0e0e0 25%,transparent 0,transparent 75%,#e0e0e0 0,#e0e0e0);background-position:100% 0,25px 25px;background-size:10px 10px;border:0;border-radius:50%;display:block;height:24px;margin-right:0;padding:0;width:24px}.edit-site-global-styles-header__description{padding:0 16px}.edit-site-global-styles-subtitle{font-weight:500;margin-bottom:0!important;text-transform:uppercase}.edit-site-header{align-items:center;background-color:#fff;box-sizing:border-box;display:flex;height:60px;justify-content:space-between;width:100%}body.is-fullscreen-mode .edit-site-header{padding-right:60px;transition:padding-right 20ms linear;transition-delay:80ms}@media (prefers-reduced-motion:reduce){body.is-fullscreen-mode .edit-site-header{transition-delay:0s;transition-duration:0s}}.edit-site-header .edit-site-header_end,.edit-site-header .edit-site-header_start{display:flex}.edit-site-header .edit-site-header_center{align-items:center;display:flex;height:100%;min-width:0}.edit-site-header .edit-site-header_end{justify-content:flex-end}body.is-navigation-sidebar-open .edit-site-header{padding-right:0;transition:padding-right 20ms linear;transition-delay:0ms}@media (prefers-reduced-motion:reduce){body.is-navigation-sidebar-open .edit-site-header{transition-delay:0s;transition-duration:0s}}@media (max-width:959px){body.is-navigation-sidebar-open .edit-site-header .edit-site-header-toolbar__inserter-toggle~.components-button,body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .components-button:not(.is-primary){display:none}body.is-navigation-sidebar-open .edit-site-header .edit-site-save-button__button{margin-left:0}}.edit-site-header__toolbar{align-items:center;display:flex;padding-right:8px}@media (min-width:600px){.edit-site-header__toolbar{padding-right:24px}}@media (min-width:1280px){.edit-site-header__toolbar{padding-left:8px}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle{height:32px;margin-left:8px;min-width:32px;padding:0;width:32px}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition-delay:0s;transition-duration:0s}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(-45deg)}.edit-site-header__toolbar-switchers{align-items:center;display:flex}.edit-site-header__toolbar-switchers-separator{margin:0 -6px}.edit-site-header__actions{align-items:center;display:inline-flex;flex-wrap:wrap;padding-left:4px}.edit-site-header__actions .interface-pinned-items{display:none}@media (min-width:782px){.edit-site-header__actions .interface-pinned-items{display:inline-flex}}.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-left:4px}@media (min-width:600px){.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-left:12px}}.edit-site-header__actions .components-button.is-tertiary,.edit-site-header__actions .editor-post-saved-state{padding:0 6px}.edit-site-header__actions .edit-site-more-menu .components-button,.edit-site-header__actions .interface-pinned-items .components-button{margin-left:0}@media (min-width:600px){.edit-site-header__actions{padding-left:16px}}.edit-site-header__actions-more-menu{margin-right:-4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 2px;width:auto}@media (min-width:600px){.edit-site-header__actions-more-menu{margin-right:4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 4px}}.edit-site-document-actions{display:flex;flex-direction:column;height:100%;justify-content:center;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper{align-items:center;display:flex;flex-direction:row;justify-content:center;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown{display:inline-flex;margin-right:4px}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown .components-button{min-width:0;padding:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper>h1{margin:0;min-width:0}.edit-site-document-actions .edit-site-document-actions__title{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width:782px){.edit-site-document-actions .edit-site-document-actions__title{max-width:75px}}@media (min-width:1080px){.edit-site-document-actions .edit-site-document-actions__title{max-width:180px}}.edit-site-document-actions .edit-site-document-actions__secondary-item{background:#e0e0e0;border-radius:2px;max-width:0;opacity:0;overflow:hidden;padding:0;text-overflow:ellipsis;transition:all .2s ease;white-space:nowrap}@media (prefers-reduced-motion:reduce){.edit-site-document-actions .edit-site-document-actions__secondary-item{transition-delay:0s;transition-duration:0s}}.edit-site-document-actions.has-secondary-label .edit-site-document-actions__secondary-item{margin-right:6px;max-width:180px;opacity:1;padding:0 4px}.edit-site-document-actions__info-dropdown>.components-popover__content>div{min-width:240px;padding:0}.edit-site-more-menu{margin-right:-4px}.edit-site-more-menu .components-button{padding:0 2px;width:auto}@media (min-width:600px){.edit-site-more-menu{margin-right:4px}.edit-site-more-menu .components-button{padding:0 4px}}.edit-site-more-menu__content .components-popover__content{min-width:260px}.edit-site-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-site-more-menu__content{z-index:99998}.edit-site-navigation-link{display:flex;height:60px;position:absolute;right:0;top:0;z-index:31}.edit-site-navigation-link,.edit-site-navigation-link__button{align-items:center;background:#1e1e1e;border-radius:0;width:60px}.edit-site-navigation-link__button{color:#fff;height:61px;margin-bottom:-1px;z-index:1}.edit-site-navigation-link__button.has-icon{min-width:60px}.edit-site-navigation-link__button.has-icon:active,.edit-site-navigation-link__button.has-icon:focus,.edit-site-navigation-link__button.has-icon:hover{color:#fff}.edit-site-navigation-link__button.has-icon:focus{box-shadow:none}.edit-site-navigation-link__button.has-icon:before{border-radius:4px;bottom:9px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e;content:"";display:block;left:9px;position:absolute;right:9px;top:9px;transition:box-shadow .1s ease}@media (prefers-reduced-motion:reduce){.edit-site-navigation-link__button.has-icon:before{transition-delay:0s;transition-duration:0s}}.edit-site-navigation-link__button.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}.edit-site-navigation-link__button.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-site-navigation-link__site-icon{border-radius:2px;width:36px}.edit-site-sidebar{width:280px}.edit-site-sidebar>.components-panel{border-left:0;border-right:0;margin-bottom:-1px;margin-top:-1px}.edit-site-sidebar>.components-panel>.components-panel__header{background:#f0f0f0}.edit-site-sidebar .block-editor-block-inspector__card{margin:0}.edit-site-global-styles-sidebar .interface-complementary-area-header .components-button.has-icon{margin-right:0}.edit-site-global-styles-sidebar__reset-button.components-button{margin-right:auto}.edit-site-global-styles-sidebar__border-controls-row{display:flex;justify-content:space-between;margin-bottom:12px}.edit-site-global-styles-sidebar__border-controls-row>*{width:calc(50% - 8px)}.edit-site-global-styles-sidebar__border-controls-row .components-border-style-control__buttons{margin-bottom:0}.edit-site-global-styles-sidebar .components-navigation__menu-title-heading{font-size:15.6px;font-weight:500}.edit-site-global-styles-sidebar .components-navigation__item>button span{font-weight:500}.edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings,.edit-site-typography-panel{border:0}.edit-site-global-styles-sidebar__blocks-group{border-top:1px solid #e0e0e0;padding-top:24px}.edit-site-global-styles-sidebar__blocks-group-help{padding:0 16px}.edit-site-global-styles-color-palette-panel{padding:16px}.edit-site-global-styles-sidebar__beta{align-items:center;background-color:#000;border-radius:2px;color:#fff;display:inline-flex;font-size:12px;height:24px;line-height:1;margin-right:8px;padding:0 8px}.components-panel__header.edit-site-sidebar__panel-tabs{border-top:0;justify-content:flex-start;margin-top:0;padding-left:16px;padding-right:0}.components-panel__header.edit-site-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-site-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:none;height:24px;margin:0 auto 0 0;min-width:24px;padding:0}@media (min-width:782px){.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-button.edit-site-sidebar__panel-tab{background:transparent;border:none;border-radius:0;box-shadow:none;cursor:pointer;display:inline-block;font-weight:500;height:48px;margin-right:0;padding:3px 15px}.components-button.edit-site-sidebar__panel-tab:after{speak:none;content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;visibility:hidden}.components-button.edit-site-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:before{border-bottom:4px solid transparent;bottom:1px;content:"";left:0;position:absolute;right:0;top:0}.components-button.edit-site-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.edit-site-template-card{align-items:flex-start;display:flex}.edit-site-template-card__content{flex-grow:1;margin-bottom:4px}.edit-site-template-card__title{font-weight:500;line-height:24px}.edit-site-template-card__title.edit-site-template-card__title{margin:0 0 4px}.edit-site-template-card__description{font-size:13px;margin:0 0 16px}.edit-site-template-card__icon{flex:0 0 24px;height:24px;margin-left:12px;width:24px}h3.edit-site-template-card__template-areas-title{font-weight:500;margin:0 0 8px}.edit-site-template-card__template-areas-list,.edit-site-template-card__template-areas-list>li{margin:0}.edit-site-template-card__template-areas-item{width:100%}.edit-site-template-card__template-areas-item.components-button.has-icon{padding:0}.edit-site-editor__toggle-save-panel{background-color:#fff;border:1px dotted #ddd;bottom:auto;display:flex;height:auto!important;justify-content:center;left:0;padding:24px;position:fixed!important;right:auto;top:-9999em;width:280px;z-index:100000}.interface-interface-skeleton__actions:focus-within .edit-site-editor__toggle-save-panel,.interface-interface-skeleton__actions:focus .edit-site-editor__toggle-save-panel{bottom:0;top:auto}.edit-site-visual-editor{display:block;height:100%;overflow:hidden;position:relative}.edit-site-visual-editor iframe{background-color:#fff;display:block;height:100%;width:100%}.edit-site .components-editor-notices__snackbar{bottom:40px;left:0;padding-left:16px;padding-right:16px;position:fixed;right:0}@media (min-width:783px){.edit-site .components-editor-notices__snackbar{right:160px}}@media (min-width:783px){.auto-fold .edit-site .components-editor-notices__snackbar{right:36px}}@media (min-width:961px){.auto-fold .edit-site .components-editor-notices__snackbar{right:160px}}.folded .edit-site .components-editor-notices__snackbar{right:0}@media (min-width:783px){.folded .edit-site .components-editor-notices__snackbar{right:36px}}body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar{right:0!important}.edit-site-template-details .edit-site-template-details__group{margin:0;padding:16px}.edit-site-template-details .edit-site-template-details__group+.edit-site-template-details__group{border-top:1px solid #ccc}.edit-site-template-details .edit-site-template-details__title{margin:0}.edit-site-template-details .edit-site-template-details__description{color:#757575;margin:12px 0 0}.edit-site-template-details .edit-site-template-details__group.edit-site-template-details__template-areas{padding:8px}.edit-site-template-details .edit-site-template-details__template-areas-item{position:relative}.edit-site-template-details .edit-site-template-details__template-areas-item .edit-site-template-details__template-areas-item-more{bottom:0;left:0;margin:auto 0;position:absolute;top:0}.edit-site-template-details .edit-site-template-details__revert{padding:12px 8px}.edit-site-template-details .edit-site-template-details__revert-button{height:auto;padding:4px 8px;text-align:right}.edit-site-template-details .edit-site-template-details__revert-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button{background:#1e1e1e;border-radius:0;color:#fff;display:flex;height:44px;justify-content:center;width:100%}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:hover{color:#fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:active{color:#ccc}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-template-part-converter__modal{z-index:1000001}@media (min-width:600px){.edit-site-template-part-converter__modal .components-modal__frame{max-width:500px}}.edit-site-template-part-converter__convert-modal-actions{padding-top:12px}.edit-site-template-part-converter__area-base-control .components-base-control__label{cursor:auto;margin:16px 0 8px}.edit-site-template-part-converter__area-radio-group{border:1px solid #757575;border-radius:2px;width:100%}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio{display:block;height:100%;padding:12px;text-align:right;width:100%}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover{background-color:inherit;border-bottom:1px solid #757575;border-radius:0;margin:0}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:not(:focus),.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:not(:focus),.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:focus){box-shadow:none}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:focus,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:focus,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:focus{border-bottom:1px solid #fff}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:last-of-type,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:last-of-type,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:last-of-type{border-bottom:none}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:hover),.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio[aria-checked=true]{color:#1e1e1e;cursor:auto}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:hover) .edit-site-template-part-converter__option-label div,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio[aria-checked=true] .edit-site-template-part-converter__option-label div{color:#949494}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__option-label{padding-top:4px;white-space:normal}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__option-label div{font-size:12px;padding-top:4px}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__checkbox{margin-right:auto;min-width:24px}.edit-site-editor__inserter-panel,.edit-site-editor__list-view-panel{display:flex;flex-direction:column;height:100%}.edit-site-editor__list-view-panel{min-width:350px}.edit-site-editor__inserter-panel-header{display:flex;justify-content:flex-end;padding-left:8px;padding-top:8px}@media (min-width:782px){.edit-site-editor__inserter-panel-header{display:none}}.edit-site-editor__inserter-panel-content,.edit-site-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-site-editor__inserter-panel-content{height:100%}}.edit-site-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;height:48px;justify-content:space-between;padding-left:4px;padding-right:16px}.edit-site-editor__list-view-panel-content{overflow-y:auto;padding:8px}body.appearance_page_gutenberg-edit-site,html.wp-toolbar{background:#fff}body.appearance_page_gutenberg-edit-site #wpcontent{padding-right:0}body.appearance_page_gutenberg-edit-site #wpbody-content{padding-bottom:0}body.appearance_page_gutenberg-edit-site #wpbody-content>div:not(.edit-site):not(#screen-meta),body.appearance_page_gutenberg-edit-site #wpfooter{display:none}body.appearance_page_gutenberg-edit-site .a11y-speak-region{right:-1px;top:-1px}body.appearance_page_gutenberg-edit-site ul#adminmenu>li.current>a.current:after,body.appearance_page_gutenberg-edit-site ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.appearance_page_gutenberg-edit-site .media-frame select.attachment-filters:last-of-type{max-width:100%;width:auto}.components-modal__frame,.edit-site{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.edit-site *,.edit-site :after,.edit-site :before{box-sizing:inherit}@media (min-width:600px){.edit-site{bottom:0;left:0;min-height:calc(100vh - 46px);position:absolute;right:0;top:0}}@media (min-width:782px){.edit-site{min-height:calc(100vh - 32px)}}.edit-site .interface-complementary-area__pin-unpin-item.components-button{display:none}.edit-site .interface-interface-skeleton__content{background-color:#2f2f2f}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}}
1
+ :root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-left:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-left:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-right:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-right:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}.components-panel__header+.interface-complementary-area-header{margin-top:0}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2{color:#1e1e1e;font-size:13px;margin-bottom:1.5em}.interface-complementary-area h3{color:#1e1e1e;font-size:11px;font-weight:500;margin-bottom:1.5em;text-transform:uppercase}.interface-complementary-area hr{border-bottom:1px solid #f0f0f0;border-top:none;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{bottom:10px;left:10px;right:auto;top:auto}@media (min-width:782px){body.js.is-fullscreen-mode{height:calc(100% + 32px);margin-top:-32px}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{bottom:0;display:flex;flex-direction:row;height:auto;left:0;max-height:100%;position:fixed;top:46px}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex:0 1 100%;flex-direction:column;overflow:hidden}.interface-interface-skeleton{right:0}@media (min-width:783px){.interface-interface-skeleton{right:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{right:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{right:160px}}.folded .interface-interface-skeleton{right:0}@media (min-width:783px){.folded .interface-interface-skeleton{right:36px}}body.is-fullscreen-mode .interface-interface-skeleton{right:0!important}.interface-interface-skeleton__body{display:flex;flex-grow:1;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{display:flex;flex-direction:column;flex-grow:1;overflow:auto;z-index:20}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{background:#fff;bottom:0;color:#1e1e1e;display:block;flex-shrink:0;left:0;position:absolute;right:0;top:0;z-index:100000}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;width:auto;z-index:90}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-right:1px solid #e0e0e0}.interface-interface-skeleton__secondary-sidebar{border-left:1px solid #e0e0e0}}.interface-interface-skeleton__header{border-bottom:1px solid #e0e0e0;color:#1e1e1e;flex-shrink:0;height:auto;z-index:30}.interface-interface-skeleton__footer{background-color:#fff;border-top:1px solid #e0e0e0;bottom:0;color:#1e1e1e;display:none;flex-shrink:0;height:auto;position:absolute;right:0;width:100%;z-index:90}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{align-items:center;background:#fff;display:flex;font-size:13px;height:24px;padding:0 18px;z-index:30}.interface-interface-skeleton__actions{bottom:auto;color:#1e1e1e;left:0;position:fixed!important;right:auto;top:-9999em;width:280px;z-index:100000}.interface-interface-skeleton__actions:focus{bottom:0;top:auto}.interface-more-menu-dropdown{margin-right:-4px}.interface-more-menu-dropdown .components-button{padding:0 2px;width:auto}@media (min-width:600px){.interface-more-menu-dropdown{margin-right:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media (min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{max-width:480px;width:auto}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-right:4px}.interface-pinned-items .components-button svg{max-height:24px;max-width:24px}.edit-site-block-editor__editor-styles-wrapper .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-site-block-editor__editor-styles-wrapper .components-button.has-icon,.edit-site-block-editor__editor-styles-wrapper .components-button.is-tertiary{padding:6px}.edit-site-visual-editor{align-items:center;background-color:#2f2f2f}.edit-site-visual-editor.is-focus-mode{padding:48px}.edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas{border-radius:2px}.edit-site-visual-editor__editor-canvas{border-radius:2px 2px 0 0}.edit-site-visual-editor__back-button{color:#fff;position:absolute;right:8px;top:8px}.edit-site-visual-editor__back-button:active:not([aria-disabled=true]),.edit-site-visual-editor__back-button:focus:not([aria-disabled=true]),.edit-site-visual-editor__back-button:hover{color:#f0f0f0}.components-resizable-box__container{margin:0 auto}.resizable-editor__drag-handle{-webkit-appearance:none;appearance:none;background:#757575;border:0;border-radius:4px;bottom:0;cursor:grab;height:100px;margin:auto 0;outline:none;padding:0;position:absolute;top:0;width:8px}.resizable-editor__drag-handle.is-left{right:-28px}.resizable-editor__drag-handle.is-right{left:-28px}.resizable-editor__drag-handle:hover{background:#949494}.resizable-editor__drag-handle:active{background:#949494;cursor:grabbing}.resizable-editor__drag-handle:focus{box-shadow:0 0 0 1px #2f2f2f,0 0 0 calc(var(--wp-admin-border-width-focus) + 1px) var(--wp-admin-theme-color)}.edit-site-global-styles-preview{align-items:center;display:flex;justify-content:center;line-height:1;min-height:152px}.edit-site-global-styles-preview .component-color-indicator{border:0;border-radius:50%;height:36px;margin-right:0;padding:0;width:36px}.edit-site-global-styles-screen-colors{margin:16px}.edit-site-global-styles-screen-colors .component-color-indicator{background-image:repeating-linear-gradient(-45deg,#e0e0e0 25%,transparent 0,transparent 75%,#e0e0e0 0,#e0e0e0),repeating-linear-gradient(-45deg,#e0e0e0 25%,transparent 0,transparent 75%,#e0e0e0 0,#e0e0e0);background-position:100% 0,25px 25px;background-size:10px 10px;border:0;border-radius:50%;display:block;height:24px;margin-right:0;padding:0;width:24px}.edit-site-global-styles-header__description{padding:0 16px}.edit-site-global-styles-subtitle{font-weight:500;margin-bottom:0!important;text-transform:uppercase}.edit-site-header{align-items:center;background-color:#fff;box-sizing:border-box;display:flex;height:60px;justify-content:space-between;width:100%}body.is-fullscreen-mode .edit-site-header{padding-right:60px;transition:padding-right 20ms linear;transition-delay:80ms}@media (prefers-reduced-motion:reduce){body.is-fullscreen-mode .edit-site-header{transition-delay:0s;transition-duration:0s}}.edit-site-header .edit-site-header_end,.edit-site-header .edit-site-header_start{display:flex}.edit-site-header .edit-site-header_center{align-items:center;display:flex;height:100%;min-width:0}.edit-site-header .edit-site-header_end{justify-content:flex-end}body.is-navigation-sidebar-open .edit-site-header{padding-right:0;transition:padding-right 20ms linear;transition-delay:0ms}@media (prefers-reduced-motion:reduce){body.is-navigation-sidebar-open .edit-site-header{transition-delay:0s;transition-duration:0s}}@media (max-width:959px){body.is-navigation-sidebar-open .edit-site-header .edit-site-header-toolbar__inserter-toggle~.components-button,body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .components-button:not(.is-primary){display:none}body.is-navigation-sidebar-open .edit-site-header .edit-site-save-button__button{margin-left:0}}.edit-site-header__toolbar{align-items:center;display:flex;padding-right:8px}@media (min-width:600px){.edit-site-header__toolbar{padding-right:24px}}@media (min-width:1280px){.edit-site-header__toolbar{padding-left:8px}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle{height:32px;margin-left:8px;min-width:32px;padding:0;width:32px}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition-delay:0s;transition-duration:0s}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(-45deg)}.edit-site-header__toolbar-switchers{align-items:center;display:flex}.edit-site-header__toolbar-switchers-separator{margin:0 -6px}.edit-site-header__actions{align-items:center;display:inline-flex;flex-wrap:wrap;padding-left:4px}.edit-site-header__actions .interface-pinned-items{display:none}@media (min-width:782px){.edit-site-header__actions .interface-pinned-items{display:inline-flex}}.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-left:4px}@media (min-width:600px){.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-left:12px}}.edit-site-header__actions .components-button.is-tertiary,.edit-site-header__actions .editor-post-saved-state{padding:0 6px}.edit-site-header__actions .edit-site-more-menu .components-button,.edit-site-header__actions .interface-pinned-items .components-button{margin-left:0}@media (min-width:600px){.edit-site-header__actions{padding-left:16px}}.edit-site-header__actions-more-menu{margin-right:-4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 2px;width:auto}@media (min-width:600px){.edit-site-header__actions-more-menu{margin-right:4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 4px}}.edit-site-document-actions{display:flex;flex-direction:column;height:100%;justify-content:center;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper{align-items:center;display:flex;flex-direction:row;justify-content:center;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown{display:inline-flex;margin-right:4px}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown .components-button{min-width:0;padding:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper>h1{margin:0;min-width:0}.edit-site-document-actions .edit-site-document-actions__title{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width:782px){.edit-site-document-actions .edit-site-document-actions__title{max-width:75px}}@media (min-width:1080px){.edit-site-document-actions .edit-site-document-actions__title{max-width:180px}}.edit-site-document-actions .edit-site-document-actions__secondary-item{background:#e0e0e0;border-radius:2px;max-width:0;opacity:0;overflow:hidden;padding:0;text-overflow:ellipsis;transition:all .2s ease;white-space:nowrap}@media (prefers-reduced-motion:reduce){.edit-site-document-actions .edit-site-document-actions__secondary-item{transition-delay:0s;transition-duration:0s}}.edit-site-document-actions.has-secondary-label .edit-site-document-actions__secondary-item{margin-right:6px;max-width:180px;opacity:1;padding:0 4px}.edit-site-document-actions__info-dropdown>.components-popover__content>div{min-width:240px;padding:0}.edit-site-more-menu{margin-right:-4px}.edit-site-more-menu .components-button{padding:0 2px;width:auto}@media (min-width:600px){.edit-site-more-menu{margin-right:4px}.edit-site-more-menu .components-button{padding:0 4px}}.edit-site-more-menu__content .components-popover__content{min-width:260px}.edit-site-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-site-more-menu__content{z-index:99998}.edit-site-navigation-link{display:flex;height:60px;position:absolute;right:0;top:0;z-index:31}.edit-site-navigation-link,.edit-site-navigation-link__button{align-items:center;background:#1e1e1e;border-radius:0;width:60px}.edit-site-navigation-link__button{color:#fff;height:61px;margin-bottom:-1px;z-index:1}.edit-site-navigation-link__button.has-icon{min-width:60px}.edit-site-navigation-link__button.has-icon:active,.edit-site-navigation-link__button.has-icon:focus,.edit-site-navigation-link__button.has-icon:hover{color:#fff}.edit-site-navigation-link__button.has-icon:focus{box-shadow:none}.edit-site-navigation-link__button.has-icon:before{border-radius:4px;bottom:9px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e;content:"";display:block;left:9px;position:absolute;right:9px;top:9px;transition:box-shadow .1s ease}@media (prefers-reduced-motion:reduce){.edit-site-navigation-link__button.has-icon:before{transition-delay:0s;transition-duration:0s}}.edit-site-navigation-link__button.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}.edit-site-navigation-link__button.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-site-navigation-link__site-icon{border-radius:2px;width:36px}.edit-site-navigation-toggle{align-items:center;background:#1e1e1e;border-radius:0;display:flex;height:60px;position:absolute;width:60px;z-index:31}.edit-site-navigation-toggle__button{align-items:center;background:#1e1e1e;border-radius:0;color:#fff;height:61px;margin-bottom:-1px;width:60px;z-index:1}.edit-site-navigation-toggle__button.has-icon{min-width:60px}.edit-site-navigation-toggle__button.has-icon:active,.edit-site-navigation-toggle__button.has-icon:hover{color:#fff}.edit-site-navigation-toggle__button.has-icon:focus{box-shadow:none}.edit-site-navigation-toggle__button.has-icon:before{border-radius:4px;bottom:9px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e;content:"";display:block;left:9px;position:absolute;right:9px;top:9px;transition:box-shadow .1s ease}@media (prefers-reduced-motion:reduce){.edit-site-navigation-toggle__button.has-icon:before{transition-delay:0s;transition-duration:0s}}.edit-site-navigation-toggle__button.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}.edit-site-navigation-toggle__button.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-site-navigation-toggle__site-icon{border-radius:2px;width:36px}.edit-site-navigation-panel{background:#1e1e1e;color:#fff;height:100%;overflow:hidden;position:relative;transition:width .1s linear;width:0}@media (prefers-reduced-motion:reduce){.edit-site-navigation-panel{transition-delay:0s;transition-duration:0s}}@media (min-width:782px){.edit-site-navigation-panel{height:calc(100% - 25px)}}.edit-site-navigation-panel__inner{height:100%;overflow:hidden;position:relative;transition:visibility .1s linear;visibility:hidden;width:300px}@media (prefers-reduced-motion:reduce){.edit-site-navigation-panel__inner{transition-delay:0s;transition-duration:0s}}.edit-site-navigation-panel.is-open{width:300px}.edit-site-navigation-panel.is-open .edit-site-navigation-panel__inner{visibility:visible}.edit-site-navigation-panel__site-title-container{align-items:center;display:flex;height:60px;margin:0 8px 0 16px;padding-right:60px}.edit-site-navigation-panel__site-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#ddd;display:-webkit-box;font-size:14px;font-style:normal;font-weight:600;line-height:20px;overflow:hidden}.edit-site-navigation-panel__scroll-container{height:calc(100% - 60px);overflow-x:hidden;overflow-y:auto}.edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary{height:36px;margin-top:24px;padding:8px 8px 8px 16px}.edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary:focus:not(:disabled){border-bottom-color:transparent}.edit-site-navigation-panel__preview{background:#fff;border:1px solid #ccc;border-radius:2px;box-shadow:0 2px 6px rgba(0,0,0,.05);color:#1e1e1e;display:none;padding:16px;position:absolute;right:312px;top:73px;width:300px;z-index:32}@media (min-width:782px){.edit-site-navigation-panel__preview{display:block}}.edit-site-navigation-panel__template-item{display:block}.edit-site-navigation-panel__template-item .components-button{align-items:flex-start;color:inherit;display:flex;flex-direction:column;height:auto;justify-content:center;min-height:36px;padding-left:16px;padding-right:16px;text-align:right}.edit-site-navigation-panel__template-item-title{font-size:14px;line-height:20px}.edit-site-navigation-panel__template-item-title em{margin-left:1ch}.edit-site-navigation-panel__template-part-item .components-navigation__item-title,.edit-site-navigation-panel__template-parts .components-navigation__menu-title-heading{text-transform:capitalize}.components-navigation__item+.edit-site-navigation-panel__template-item{margin-top:16px}.edit-site-navigation-panel__template-item+.edit-site-navigation-panel__template-item{margin-top:8px}.edit-site-navigation-panel__info-wrapper{padding:4px 0}.edit-site-navigation-panel__template-item-description{font-size:12px;line-height:16px;padding-top:8px}.edit-site-navigation-panel__new-template-dropdown{margin:0 12px 0 0}.edit-site-navigation-panel__new-template-dropdown button{margin:0}@media (min-width:600px){.edit-site-navigation-panel__new-template-popover{min-width:300px}}.edit-site-sidebar{width:280px}.edit-site-sidebar>.components-panel{border-left:0;border-right:0;margin-bottom:-1px;margin-top:-1px}.edit-site-sidebar>.components-panel>.components-panel__header{background:#f0f0f0}.edit-site-sidebar .block-editor-block-inspector__card{margin:0}.edit-site-global-styles-sidebar .interface-complementary-area-header .components-button.has-icon{margin-right:0}.edit-site-global-styles-sidebar__reset-button.components-button{margin-right:auto}.edit-site-global-styles-sidebar__border-controls-row{display:flex;justify-content:space-between;margin-bottom:12px}.edit-site-global-styles-sidebar__border-controls-row>*{width:calc(50% - 8px)}.edit-site-global-styles-sidebar__border-controls-row .components-border-style-control__buttons{margin-bottom:0}.edit-site-global-styles-sidebar .components-navigation__menu-title-heading{font-size:15.6px;font-weight:500}.edit-site-global-styles-sidebar .components-navigation__item>button span{font-weight:500}.edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings,.edit-site-typography-panel{border:0}.edit-site-global-styles-sidebar__blocks-group{border-top:1px solid #e0e0e0;padding-top:24px}.edit-site-global-styles-sidebar__blocks-group-help{padding:0 16px}.edit-site-global-styles-color-palette-panel{padding:16px}.edit-site-global-styles-sidebar__beta{align-items:center;background-color:#000;border-radius:2px;color:#fff;display:inline-flex;font-size:12px;height:24px;line-height:1;margin-right:8px;padding:0 8px}.components-panel__header.edit-site-sidebar__panel-tabs{border-top:0;justify-content:flex-start;margin-top:0;padding-left:16px;padding-right:0}.components-panel__header.edit-site-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-site-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:none;height:24px;margin:0 auto 0 0;min-width:24px;padding:0}@media (min-width:782px){.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-button.edit-site-sidebar__panel-tab{background:transparent;border:none;border-radius:0;box-shadow:none;cursor:pointer;display:inline-block;font-weight:500;height:48px;margin-right:0;padding:3px 15px}.components-button.edit-site-sidebar__panel-tab:after{speak:none;content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;visibility:hidden}.components-button.edit-site-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:before{border-bottom:4px solid transparent;bottom:1px;content:"";left:0;position:absolute;right:0;top:0}.components-button.edit-site-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.edit-site-template-card{align-items:flex-start;display:flex}.edit-site-template-card__content{flex-grow:1;margin-bottom:4px}.edit-site-template-card__title{font-weight:500;line-height:24px}.edit-site-template-card__title.edit-site-template-card__title{margin:0 0 4px}.edit-site-template-card__description{font-size:13px;margin:0 0 16px}.edit-site-template-card__icon{flex:0 0 24px;height:24px;margin-left:12px;width:24px}h3.edit-site-template-card__template-areas-title{font-weight:500;margin:0 0 8px}.edit-site-template-card__template-areas-list,.edit-site-template-card__template-areas-list>li{margin:0}.edit-site-template-card__template-areas-item{width:100%}.edit-site-template-card__template-areas-item.components-button.has-icon{padding:0}.edit-site-editor__toggle-save-panel{background-color:#fff;border:1px dotted #ddd;bottom:auto;display:flex;height:auto!important;justify-content:center;left:0;padding:24px;position:fixed!important;right:auto;top:-9999em;width:280px;z-index:100000}.interface-interface-skeleton__actions:focus-within .edit-site-editor__toggle-save-panel,.interface-interface-skeleton__actions:focus .edit-site-editor__toggle-save-panel{bottom:0;top:auto}.edit-site-visual-editor{display:block;height:100%;overflow:hidden;position:relative}.edit-site-visual-editor iframe{background-color:#fff;display:block;height:100%;width:100%}.edit-site .components-editor-notices__snackbar{bottom:40px;left:0;padding-left:16px;padding-right:16px;position:fixed;right:0}@media (min-width:783px){.edit-site .components-editor-notices__snackbar{right:160px}}@media (min-width:783px){.auto-fold .edit-site .components-editor-notices__snackbar{right:36px}}@media (min-width:961px){.auto-fold .edit-site .components-editor-notices__snackbar{right:160px}}.folded .edit-site .components-editor-notices__snackbar{right:0}@media (min-width:783px){.folded .edit-site .components-editor-notices__snackbar{right:36px}}body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar{right:0!important}.edit-site-template-details .edit-site-template-details__group{margin:0;padding:16px}.edit-site-template-details .edit-site-template-details__group+.edit-site-template-details__group{border-top:1px solid #ccc}.edit-site-template-details .edit-site-template-details__title{margin:0}.edit-site-template-details .edit-site-template-details__description{color:#757575;margin:12px 0 0}.edit-site-template-details .edit-site-template-details__group.edit-site-template-details__template-areas{padding:8px}.edit-site-template-details .edit-site-template-details__template-areas-item{position:relative}.edit-site-template-details .edit-site-template-details__template-areas-item .edit-site-template-details__template-areas-item-more{bottom:0;left:0;margin:auto 0;position:absolute;top:0}.edit-site-template-details .edit-site-template-details__revert{padding:12px 8px}.edit-site-template-details .edit-site-template-details__revert-button{height:auto;padding:4px 8px;text-align:right}.edit-site-template-details .edit-site-template-details__revert-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button{background:#1e1e1e;border-radius:0;color:#fff;display:flex;height:44px;justify-content:center;width:100%}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:hover{color:#fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:active{color:#ccc}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-template-part-converter__modal{z-index:1000001}@media (min-width:600px){.edit-site-template-part-converter__modal .components-modal__frame{max-width:500px}}.edit-site-template-part-converter__convert-modal-actions{padding-top:12px}.edit-site-template-part-converter__area-base-control .components-base-control__label{cursor:auto;margin:16px 0 8px}.edit-site-template-part-converter__area-radio-group{border:1px solid #757575;border-radius:2px;width:100%}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio{display:block;height:100%;padding:12px;text-align:right;width:100%}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover{background-color:inherit;border-bottom:1px solid #757575;border-radius:0;margin:0}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:not(:focus),.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:not(:focus),.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:focus){box-shadow:none}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:focus,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:focus,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:focus{border-bottom:1px solid #fff}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:last-of-type,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:last-of-type,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:last-of-type{border-bottom:none}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:hover),.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio[aria-checked=true]{color:#1e1e1e;cursor:auto}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:hover) .edit-site-template-part-converter__option-label div,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio[aria-checked=true] .edit-site-template-part-converter__option-label div{color:#949494}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__option-label{padding-top:4px;white-space:normal}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__option-label div{font-size:12px;padding-top:4px}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__checkbox{margin-right:auto;min-width:24px}.edit-site-editor__inserter-panel,.edit-site-editor__list-view-panel{display:flex;flex-direction:column;height:100%}.edit-site-editor__list-view-panel{min-width:350px}.edit-site-editor__inserter-panel-header{display:flex;justify-content:flex-end;padding-left:8px;padding-top:8px}@media (min-width:782px){.edit-site-editor__inserter-panel-header{display:none}}.edit-site-editor__inserter-panel-content,.edit-site-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-site-editor__inserter-panel-content{height:100%}}.edit-site-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;height:48px;justify-content:space-between;padding-left:4px;padding-right:16px}.edit-site-editor__list-view-panel-content{overflow-y:auto;padding:8px}body.appearance_page_gutenberg-edit-site,html.wp-toolbar{background:#fff}body.appearance_page_gutenberg-edit-site #wpcontent{padding-right:0}body.appearance_page_gutenberg-edit-site #wpbody-content{padding-bottom:0}body.appearance_page_gutenberg-edit-site #wpbody-content>div:not(.edit-site):not(#screen-meta),body.appearance_page_gutenberg-edit-site #wpfooter{display:none}body.appearance_page_gutenberg-edit-site .a11y-speak-region{right:-1px;top:-1px}body.appearance_page_gutenberg-edit-site ul#adminmenu>li.current>a.current:after,body.appearance_page_gutenberg-edit-site ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.appearance_page_gutenberg-edit-site .media-frame select.attachment-filters:last-of-type{max-width:100%;width:auto}.components-modal__frame,.edit-site{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.edit-site *,.edit-site :after,.edit-site :before{box-sizing:inherit}@media (min-width:600px){.edit-site{bottom:0;left:0;min-height:calc(100vh - 46px);position:absolute;right:0;top:0}}@media (min-width:782px){.edit-site{min-height:calc(100vh - 32px)}}.edit-site .interface-complementary-area__pin-unpin-item.components-button{display:none}.edit-site .interface-interface-skeleton__content{background-color:#2f2f2f}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}}
build/edit-site/style.css CHANGED
@@ -1 +1 @@
1
- :root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-right:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-right:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-left:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-left:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}.components-panel__header+.interface-complementary-area-header{margin-top:0}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2{color:#1e1e1e;font-size:13px;margin-bottom:1.5em}.interface-complementary-area h3{color:#1e1e1e;font-size:11px;font-weight:500;margin-bottom:1.5em;text-transform:uppercase}.interface-complementary-area hr{border-bottom:1px solid #f0f0f0;border-top:none;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{bottom:10px;left:auto;right:10px;top:auto}@media (min-width:782px){body.js.is-fullscreen-mode{height:calc(100% + 32px);margin-top:-32px}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{bottom:0;display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;right:0;top:46px}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex:0 1 100%;flex-direction:column;overflow:hidden}.interface-interface-skeleton{left:0}@media (min-width:783px){.interface-interface-skeleton{left:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{left:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{left:160px}}.folded .interface-interface-skeleton{left:0}@media (min-width:783px){.folded .interface-interface-skeleton{left:36px}}body.is-fullscreen-mode .interface-interface-skeleton{left:0!important}.interface-interface-skeleton__body{display:flex;flex-grow:1;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{display:flex;flex-direction:column;flex-grow:1;overflow:auto;z-index:20}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{background:#fff;bottom:0;color:#1e1e1e;display:block;flex-shrink:0;left:0;position:absolute;right:0;top:0;z-index:100000}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;width:auto;z-index:90}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-left:1px solid #e0e0e0}.interface-interface-skeleton__secondary-sidebar{border-right:1px solid #e0e0e0}}.interface-interface-skeleton__header{border-bottom:1px solid #e0e0e0;color:#1e1e1e;flex-shrink:0;height:auto;z-index:30}.interface-interface-skeleton__footer{background-color:#fff;border-top:1px solid #e0e0e0;bottom:0;color:#1e1e1e;display:none;flex-shrink:0;height:auto;left:0;position:absolute;width:100%;z-index:90}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{align-items:center;background:#fff;display:flex;font-size:13px;height:24px;padding:0 18px;z-index:30}.interface-interface-skeleton__actions{bottom:auto;color:#1e1e1e;left:auto;position:fixed!important;right:0;top:-9999em;width:280px;z-index:100000}.interface-interface-skeleton__actions:focus{bottom:0;top:auto}.interface-more-menu-dropdown{margin-left:-4px}.interface-more-menu-dropdown .components-button{padding:0 2px;width:auto}@media (min-width:600px){.interface-more-menu-dropdown{margin-left:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media (min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{max-width:480px;width:auto}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-left:4px}.interface-pinned-items .components-button svg{max-height:24px;max-width:24px}.edit-site-block-editor__editor-styles-wrapper .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-site-block-editor__editor-styles-wrapper .components-button.has-icon,.edit-site-block-editor__editor-styles-wrapper .components-button.is-tertiary{padding:6px}.edit-site-visual-editor{align-items:center;background-color:#2f2f2f}.edit-site-visual-editor.is-focus-mode{padding:48px}.edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas{border-radius:2px}.edit-site-visual-editor__editor-canvas{border-radius:2px 2px 0 0}.edit-site-visual-editor__back-button{color:#fff;left:8px;position:absolute;top:8px}.edit-site-visual-editor__back-button:active:not([aria-disabled=true]),.edit-site-visual-editor__back-button:focus:not([aria-disabled=true]),.edit-site-visual-editor__back-button:hover{color:#f0f0f0}.components-resizable-box__container{margin:0 auto}.resizable-editor__drag-handle{-webkit-appearance:none;appearance:none;background:#757575;border:0;border-radius:4px;bottom:0;cursor:grab;height:100px;margin:auto 0;outline:none;padding:0;position:absolute;top:0;width:8px}.resizable-editor__drag-handle.is-left{left:-28px}.resizable-editor__drag-handle.is-right{right:-28px}.resizable-editor__drag-handle:hover{background:#949494}.resizable-editor__drag-handle:active{background:#949494;cursor:grabbing}.resizable-editor__drag-handle:focus{box-shadow:0 0 0 1px #2f2f2f,0 0 0 calc(var(--wp-admin-border-width-focus) + 1px) var(--wp-admin-theme-color)}.edit-site-global-styles-preview{align-items:center;display:flex;justify-content:center;line-height:1;min-height:152px}.edit-site-global-styles-preview .component-color-indicator{border:0;border-radius:50%;height:36px;margin-left:0;padding:0;width:36px}.edit-site-global-styles-screen-colors{margin:16px}.edit-site-global-styles-screen-colors .component-color-indicator{background-image:repeating-linear-gradient(45deg,#e0e0e0 25%,transparent 0,transparent 75%,#e0e0e0 0,#e0e0e0),repeating-linear-gradient(45deg,#e0e0e0 25%,transparent 0,transparent 75%,#e0e0e0 0,#e0e0e0);background-position:0 0,25px 25px;background-size:10px 10px;border:0;border-radius:50%;display:block;height:24px;margin-left:0;padding:0;width:24px}.edit-site-global-styles-header__description{padding:0 16px}.edit-site-global-styles-subtitle{font-weight:500;margin-bottom:0!important;text-transform:uppercase}.edit-site-header{align-items:center;background-color:#fff;box-sizing:border-box;display:flex;height:60px;justify-content:space-between;width:100%}body.is-fullscreen-mode .edit-site-header{padding-left:60px;transition:padding-left 20ms linear;transition-delay:80ms}@media (prefers-reduced-motion:reduce){body.is-fullscreen-mode .edit-site-header{transition-delay:0s;transition-duration:0s}}.edit-site-header .edit-site-header_end,.edit-site-header .edit-site-header_start{display:flex}.edit-site-header .edit-site-header_center{align-items:center;display:flex;height:100%;min-width:0}.edit-site-header .edit-site-header_end{justify-content:flex-end}body.is-navigation-sidebar-open .edit-site-header{padding-left:0;transition:padding-left 20ms linear;transition-delay:0ms}@media (prefers-reduced-motion:reduce){body.is-navigation-sidebar-open .edit-site-header{transition-delay:0s;transition-duration:0s}}@media (max-width:959px){body.is-navigation-sidebar-open .edit-site-header .edit-site-header-toolbar__inserter-toggle~.components-button,body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .components-button:not(.is-primary){display:none}body.is-navigation-sidebar-open .edit-site-header .edit-site-save-button__button{margin-right:0}}.edit-site-header__toolbar{align-items:center;display:flex;padding-left:8px}@media (min-width:600px){.edit-site-header__toolbar{padding-left:24px}}@media (min-width:1280px){.edit-site-header__toolbar{padding-right:8px}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle{height:32px;margin-right:8px;min-width:32px;padding:0;width:32px}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition-delay:0s;transition-duration:0s}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(45deg)}.edit-site-header__toolbar-switchers{align-items:center;display:flex}.edit-site-header__toolbar-switchers-separator{margin:0 -6px}.edit-site-header__actions{align-items:center;display:inline-flex;flex-wrap:wrap;padding-right:4px}.edit-site-header__actions .interface-pinned-items{display:none}@media (min-width:782px){.edit-site-header__actions .interface-pinned-items{display:inline-flex}}.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-right:4px}@media (min-width:600px){.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-right:12px}}.edit-site-header__actions .components-button.is-tertiary,.edit-site-header__actions .editor-post-saved-state{padding:0 6px}.edit-site-header__actions .edit-site-more-menu .components-button,.edit-site-header__actions .interface-pinned-items .components-button{margin-right:0}@media (min-width:600px){.edit-site-header__actions{padding-right:16px}}.edit-site-header__actions-more-menu{margin-left:-4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 2px;width:auto}@media (min-width:600px){.edit-site-header__actions-more-menu{margin-left:4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 4px}}.edit-site-document-actions{display:flex;flex-direction:column;height:100%;justify-content:center;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper{align-items:center;display:flex;flex-direction:row;justify-content:center;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown{display:inline-flex;margin-left:4px}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown .components-button{min-width:0;padding:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper>h1{margin:0;min-width:0}.edit-site-document-actions .edit-site-document-actions__title{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width:782px){.edit-site-document-actions .edit-site-document-actions__title{max-width:75px}}@media (min-width:1080px){.edit-site-document-actions .edit-site-document-actions__title{max-width:180px}}.edit-site-document-actions .edit-site-document-actions__secondary-item{background:#e0e0e0;border-radius:2px;max-width:0;opacity:0;overflow:hidden;padding:0;text-overflow:ellipsis;transition:all .2s ease;white-space:nowrap}@media (prefers-reduced-motion:reduce){.edit-site-document-actions .edit-site-document-actions__secondary-item{transition-delay:0s;transition-duration:0s}}.edit-site-document-actions.has-secondary-label .edit-site-document-actions__secondary-item{margin-left:6px;max-width:180px;opacity:1;padding:0 4px}.edit-site-document-actions__info-dropdown>.components-popover__content>div{min-width:240px;padding:0}.edit-site-more-menu{margin-left:-4px}.edit-site-more-menu .components-button{padding:0 2px;width:auto}@media (min-width:600px){.edit-site-more-menu{margin-left:4px}.edit-site-more-menu .components-button{padding:0 4px}}.edit-site-more-menu__content .components-popover__content{min-width:260px}.edit-site-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-site-more-menu__content{z-index:99998}.edit-site-navigation-link{display:flex;height:60px;left:0;position:absolute;top:0;z-index:31}.edit-site-navigation-link,.edit-site-navigation-link__button{align-items:center;background:#1e1e1e;border-radius:0;width:60px}.edit-site-navigation-link__button{color:#fff;height:61px;margin-bottom:-1px;z-index:1}.edit-site-navigation-link__button.has-icon{min-width:60px}.edit-site-navigation-link__button.has-icon:active,.edit-site-navigation-link__button.has-icon:focus,.edit-site-navigation-link__button.has-icon:hover{color:#fff}.edit-site-navigation-link__button.has-icon:focus{box-shadow:none}.edit-site-navigation-link__button.has-icon:before{border-radius:4px;bottom:9px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e;content:"";display:block;left:9px;position:absolute;right:9px;top:9px;transition:box-shadow .1s ease}@media (prefers-reduced-motion:reduce){.edit-site-navigation-link__button.has-icon:before{transition-delay:0s;transition-duration:0s}}.edit-site-navigation-link__button.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}.edit-site-navigation-link__button.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-site-navigation-link__site-icon{border-radius:2px;width:36px}.edit-site-sidebar{width:280px}.edit-site-sidebar>.components-panel{border-left:0;border-right:0;margin-bottom:-1px;margin-top:-1px}.edit-site-sidebar>.components-panel>.components-panel__header{background:#f0f0f0}.edit-site-sidebar .block-editor-block-inspector__card{margin:0}.edit-site-global-styles-sidebar .interface-complementary-area-header .components-button.has-icon{margin-left:0}.edit-site-global-styles-sidebar__reset-button.components-button{margin-left:auto}.edit-site-global-styles-sidebar__border-controls-row{display:flex;justify-content:space-between;margin-bottom:12px}.edit-site-global-styles-sidebar__border-controls-row>*{width:calc(50% - 8px)}.edit-site-global-styles-sidebar__border-controls-row .components-border-style-control__buttons{margin-bottom:0}.edit-site-global-styles-sidebar .components-navigation__menu-title-heading{font-size:15.6px;font-weight:500}.edit-site-global-styles-sidebar .components-navigation__item>button span{font-weight:500}.edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings,.edit-site-typography-panel{border:0}.edit-site-global-styles-sidebar__blocks-group{border-top:1px solid #e0e0e0;padding-top:24px}.edit-site-global-styles-sidebar__blocks-group-help{padding:0 16px}.edit-site-global-styles-color-palette-panel{padding:16px}.edit-site-global-styles-sidebar__beta{align-items:center;background-color:#000;border-radius:2px;color:#fff;display:inline-flex;font-size:12px;height:24px;line-height:1;margin-left:8px;padding:0 8px}.components-panel__header.edit-site-sidebar__panel-tabs{border-top:0;justify-content:flex-start;margin-top:0;padding-left:0;padding-right:16px}.components-panel__header.edit-site-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-site-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:none;height:24px;margin:0 0 0 auto;min-width:24px;padding:0}@media (min-width:782px){.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-button.edit-site-sidebar__panel-tab{background:transparent;border:none;border-radius:0;box-shadow:none;cursor:pointer;display:inline-block;font-weight:500;height:48px;margin-left:0;padding:3px 15px}.components-button.edit-site-sidebar__panel-tab:after{speak:none;content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;visibility:hidden}.components-button.edit-site-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:before{border-bottom:4px solid transparent;bottom:1px;content:"";left:0;position:absolute;right:0;top:0}.components-button.edit-site-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.edit-site-template-card{align-items:flex-start;display:flex}.edit-site-template-card__content{flex-grow:1;margin-bottom:4px}.edit-site-template-card__title{font-weight:500;line-height:24px}.edit-site-template-card__title.edit-site-template-card__title{margin:0 0 4px}.edit-site-template-card__description{font-size:13px;margin:0 0 16px}.edit-site-template-card__icon{flex:0 0 24px;height:24px;margin-right:12px;width:24px}h3.edit-site-template-card__template-areas-title{font-weight:500;margin:0 0 8px}.edit-site-template-card__template-areas-list,.edit-site-template-card__template-areas-list>li{margin:0}.edit-site-template-card__template-areas-item{width:100%}.edit-site-template-card__template-areas-item.components-button.has-icon{padding:0}.edit-site-editor__toggle-save-panel{background-color:#fff;border:1px dotted #ddd;bottom:auto;display:flex;height:auto!important;justify-content:center;left:auto;padding:24px;position:fixed!important;right:0;top:-9999em;width:280px;z-index:100000}.interface-interface-skeleton__actions:focus-within .edit-site-editor__toggle-save-panel,.interface-interface-skeleton__actions:focus .edit-site-editor__toggle-save-panel{bottom:0;top:auto}.edit-site-visual-editor{display:block;height:100%;overflow:hidden;position:relative}.edit-site-visual-editor iframe{background-color:#fff;display:block;height:100%;width:100%}.edit-site .components-editor-notices__snackbar{bottom:40px;left:0;padding-left:16px;padding-right:16px;position:fixed;right:0}@media (min-width:783px){.edit-site .components-editor-notices__snackbar{left:160px}}@media (min-width:783px){.auto-fold .edit-site .components-editor-notices__snackbar{left:36px}}@media (min-width:961px){.auto-fold .edit-site .components-editor-notices__snackbar{left:160px}}.folded .edit-site .components-editor-notices__snackbar{left:0}@media (min-width:783px){.folded .edit-site .components-editor-notices__snackbar{left:36px}}body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar{left:0!important}.edit-site-template-details .edit-site-template-details__group{margin:0;padding:16px}.edit-site-template-details .edit-site-template-details__group+.edit-site-template-details__group{border-top:1px solid #ccc}.edit-site-template-details .edit-site-template-details__title{margin:0}.edit-site-template-details .edit-site-template-details__description{color:#757575;margin:12px 0 0}.edit-site-template-details .edit-site-template-details__group.edit-site-template-details__template-areas{padding:8px}.edit-site-template-details .edit-site-template-details__template-areas-item{position:relative}.edit-site-template-details .edit-site-template-details__template-areas-item .edit-site-template-details__template-areas-item-more{bottom:0;margin:auto 0;position:absolute;right:0;top:0}.edit-site-template-details .edit-site-template-details__revert{padding:12px 8px}.edit-site-template-details .edit-site-template-details__revert-button{height:auto;padding:4px 8px;text-align:left}.edit-site-template-details .edit-site-template-details__revert-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button{background:#1e1e1e;border-radius:0;color:#fff;display:flex;height:44px;justify-content:center;width:100%}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:hover{color:#fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:active{color:#ccc}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-template-part-converter__modal{z-index:1000001}@media (min-width:600px){.edit-site-template-part-converter__modal .components-modal__frame{max-width:500px}}.edit-site-template-part-converter__convert-modal-actions{padding-top:12px}.edit-site-template-part-converter__area-base-control .components-base-control__label{cursor:auto;margin:16px 0 8px}.edit-site-template-part-converter__area-radio-group{border:1px solid #757575;border-radius:2px;width:100%}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio{display:block;height:100%;padding:12px;text-align:left;width:100%}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover{background-color:inherit;border-bottom:1px solid #757575;border-radius:0;margin:0}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:not(:focus),.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:not(:focus),.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:focus){box-shadow:none}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:focus,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:focus,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:focus{border-bottom:1px solid #fff}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:last-of-type,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:last-of-type,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:last-of-type{border-bottom:none}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:hover),.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio[aria-checked=true]{color:#1e1e1e;cursor:auto}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:hover) .edit-site-template-part-converter__option-label div,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio[aria-checked=true] .edit-site-template-part-converter__option-label div{color:#949494}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__option-label{padding-top:4px;white-space:normal}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__option-label div{font-size:12px;padding-top:4px}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__checkbox{margin-left:auto;min-width:24px}.edit-site-editor__inserter-panel,.edit-site-editor__list-view-panel{display:flex;flex-direction:column;height:100%}.edit-site-editor__list-view-panel{min-width:350px}.edit-site-editor__inserter-panel-header{display:flex;justify-content:flex-end;padding-right:8px;padding-top:8px}@media (min-width:782px){.edit-site-editor__inserter-panel-header{display:none}}.edit-site-editor__inserter-panel-content,.edit-site-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-site-editor__inserter-panel-content{height:100%}}.edit-site-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;height:48px;justify-content:space-between;padding-left:16px;padding-right:4px}.edit-site-editor__list-view-panel-content{overflow-y:auto;padding:8px}body.appearance_page_gutenberg-edit-site,html.wp-toolbar{background:#fff}body.appearance_page_gutenberg-edit-site #wpcontent{padding-left:0}body.appearance_page_gutenberg-edit-site #wpbody-content{padding-bottom:0}body.appearance_page_gutenberg-edit-site #wpbody-content>div:not(.edit-site):not(#screen-meta),body.appearance_page_gutenberg-edit-site #wpfooter{display:none}body.appearance_page_gutenberg-edit-site .a11y-speak-region{left:-1px;top:-1px}body.appearance_page_gutenberg-edit-site ul#adminmenu>li.current>a.current:after,body.appearance_page_gutenberg-edit-site ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.appearance_page_gutenberg-edit-site .media-frame select.attachment-filters:last-of-type{max-width:100%;width:auto}.components-modal__frame,.edit-site{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.edit-site *,.edit-site :after,.edit-site :before{box-sizing:inherit}@media (min-width:600px){.edit-site{bottom:0;left:0;min-height:calc(100vh - 46px);position:absolute;right:0;top:0}}@media (min-width:782px){.edit-site{min-height:calc(100vh - 32px)}}.edit-site .interface-complementary-area__pin-unpin-item.components-button{display:none}.edit-site .interface-interface-skeleton__content{background-color:#2f2f2f}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}}
1
+ :root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-right:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-right:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-left:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-left:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}.components-panel__header+.interface-complementary-area-header{margin-top:0}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2{color:#1e1e1e;font-size:13px;margin-bottom:1.5em}.interface-complementary-area h3{color:#1e1e1e;font-size:11px;font-weight:500;margin-bottom:1.5em;text-transform:uppercase}.interface-complementary-area hr{border-bottom:1px solid #f0f0f0;border-top:none;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{bottom:10px;left:auto;right:10px;top:auto}@media (min-width:782px){body.js.is-fullscreen-mode{height:calc(100% + 32px);margin-top:-32px}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{bottom:0;display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;right:0;top:46px}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex:0 1 100%;flex-direction:column;overflow:hidden}.interface-interface-skeleton{left:0}@media (min-width:783px){.interface-interface-skeleton{left:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{left:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{left:160px}}.folded .interface-interface-skeleton{left:0}@media (min-width:783px){.folded .interface-interface-skeleton{left:36px}}body.is-fullscreen-mode .interface-interface-skeleton{left:0!important}.interface-interface-skeleton__body{display:flex;flex-grow:1;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{display:flex;flex-direction:column;flex-grow:1;overflow:auto;z-index:20}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{background:#fff;bottom:0;color:#1e1e1e;display:block;flex-shrink:0;left:0;position:absolute;right:0;top:0;z-index:100000}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;width:auto;z-index:90}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-left:1px solid #e0e0e0}.interface-interface-skeleton__secondary-sidebar{border-right:1px solid #e0e0e0}}.interface-interface-skeleton__header{border-bottom:1px solid #e0e0e0;color:#1e1e1e;flex-shrink:0;height:auto;z-index:30}.interface-interface-skeleton__footer{background-color:#fff;border-top:1px solid #e0e0e0;bottom:0;color:#1e1e1e;display:none;flex-shrink:0;height:auto;left:0;position:absolute;width:100%;z-index:90}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{align-items:center;background:#fff;display:flex;font-size:13px;height:24px;padding:0 18px;z-index:30}.interface-interface-skeleton__actions{bottom:auto;color:#1e1e1e;left:auto;position:fixed!important;right:0;top:-9999em;width:280px;z-index:100000}.interface-interface-skeleton__actions:focus{bottom:0;top:auto}.interface-more-menu-dropdown{margin-left:-4px}.interface-more-menu-dropdown .components-button{padding:0 2px;width:auto}@media (min-width:600px){.interface-more-menu-dropdown{margin-left:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media (min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{max-width:480px;width:auto}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-left:4px}.interface-pinned-items .components-button svg{max-height:24px;max-width:24px}.edit-site-block-editor__editor-styles-wrapper .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-site-block-editor__editor-styles-wrapper .components-button.has-icon,.edit-site-block-editor__editor-styles-wrapper .components-button.is-tertiary{padding:6px}.edit-site-visual-editor{align-items:center;background-color:#2f2f2f}.edit-site-visual-editor.is-focus-mode{padding:48px}.edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas{border-radius:2px}.edit-site-visual-editor__editor-canvas{border-radius:2px 2px 0 0}.edit-site-visual-editor__back-button{color:#fff;left:8px;position:absolute;top:8px}.edit-site-visual-editor__back-button:active:not([aria-disabled=true]),.edit-site-visual-editor__back-button:focus:not([aria-disabled=true]),.edit-site-visual-editor__back-button:hover{color:#f0f0f0}.components-resizable-box__container{margin:0 auto}.resizable-editor__drag-handle{-webkit-appearance:none;appearance:none;background:#757575;border:0;border-radius:4px;bottom:0;cursor:grab;height:100px;margin:auto 0;outline:none;padding:0;position:absolute;top:0;width:8px}.resizable-editor__drag-handle.is-left{left:-28px}.resizable-editor__drag-handle.is-right{right:-28px}.resizable-editor__drag-handle:hover{background:#949494}.resizable-editor__drag-handle:active{background:#949494;cursor:grabbing}.resizable-editor__drag-handle:focus{box-shadow:0 0 0 1px #2f2f2f,0 0 0 calc(var(--wp-admin-border-width-focus) + 1px) var(--wp-admin-theme-color)}.edit-site-global-styles-preview{align-items:center;display:flex;justify-content:center;line-height:1;min-height:152px}.edit-site-global-styles-preview .component-color-indicator{border:0;border-radius:50%;height:36px;margin-left:0;padding:0;width:36px}.edit-site-global-styles-screen-colors{margin:16px}.edit-site-global-styles-screen-colors .component-color-indicator{background-image:repeating-linear-gradient(45deg,#e0e0e0 25%,transparent 0,transparent 75%,#e0e0e0 0,#e0e0e0),repeating-linear-gradient(45deg,#e0e0e0 25%,transparent 0,transparent 75%,#e0e0e0 0,#e0e0e0);background-position:0 0,25px 25px;background-size:10px 10px;border:0;border-radius:50%;display:block;height:24px;margin-left:0;padding:0;width:24px}.edit-site-global-styles-header__description{padding:0 16px}.edit-site-global-styles-subtitle{font-weight:500;margin-bottom:0!important;text-transform:uppercase}.edit-site-header{align-items:center;background-color:#fff;box-sizing:border-box;display:flex;height:60px;justify-content:space-between;width:100%}body.is-fullscreen-mode .edit-site-header{padding-left:60px;transition:padding-left 20ms linear;transition-delay:80ms}@media (prefers-reduced-motion:reduce){body.is-fullscreen-mode .edit-site-header{transition-delay:0s;transition-duration:0s}}.edit-site-header .edit-site-header_end,.edit-site-header .edit-site-header_start{display:flex}.edit-site-header .edit-site-header_center{align-items:center;display:flex;height:100%;min-width:0}.edit-site-header .edit-site-header_end{justify-content:flex-end}body.is-navigation-sidebar-open .edit-site-header{padding-left:0;transition:padding-left 20ms linear;transition-delay:0ms}@media (prefers-reduced-motion:reduce){body.is-navigation-sidebar-open .edit-site-header{transition-delay:0s;transition-duration:0s}}@media (max-width:959px){body.is-navigation-sidebar-open .edit-site-header .edit-site-header-toolbar__inserter-toggle~.components-button,body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .components-button:not(.is-primary){display:none}body.is-navigation-sidebar-open .edit-site-header .edit-site-save-button__button{margin-right:0}}.edit-site-header__toolbar{align-items:center;display:flex;padding-left:8px}@media (min-width:600px){.edit-site-header__toolbar{padding-left:24px}}@media (min-width:1280px){.edit-site-header__toolbar{padding-right:8px}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle{height:32px;margin-right:8px;min-width:32px;padding:0;width:32px}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition-delay:0s;transition-duration:0s}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(45deg)}.edit-site-header__toolbar-switchers{align-items:center;display:flex}.edit-site-header__toolbar-switchers-separator{margin:0 -6px}.edit-site-header__actions{align-items:center;display:inline-flex;flex-wrap:wrap;padding-right:4px}.edit-site-header__actions .interface-pinned-items{display:none}@media (min-width:782px){.edit-site-header__actions .interface-pinned-items{display:inline-flex}}.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-right:4px}@media (min-width:600px){.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-right:12px}}.edit-site-header__actions .components-button.is-tertiary,.edit-site-header__actions .editor-post-saved-state{padding:0 6px}.edit-site-header__actions .edit-site-more-menu .components-button,.edit-site-header__actions .interface-pinned-items .components-button{margin-right:0}@media (min-width:600px){.edit-site-header__actions{padding-right:16px}}.edit-site-header__actions-more-menu{margin-left:-4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 2px;width:auto}@media (min-width:600px){.edit-site-header__actions-more-menu{margin-left:4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 4px}}.edit-site-document-actions{display:flex;flex-direction:column;height:100%;justify-content:center;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper{align-items:center;display:flex;flex-direction:row;justify-content:center;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown{display:inline-flex;margin-left:4px}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown .components-button{min-width:0;padding:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper>h1{margin:0;min-width:0}.edit-site-document-actions .edit-site-document-actions__title{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width:782px){.edit-site-document-actions .edit-site-document-actions__title{max-width:75px}}@media (min-width:1080px){.edit-site-document-actions .edit-site-document-actions__title{max-width:180px}}.edit-site-document-actions .edit-site-document-actions__secondary-item{background:#e0e0e0;border-radius:2px;max-width:0;opacity:0;overflow:hidden;padding:0;text-overflow:ellipsis;transition:all .2s ease;white-space:nowrap}@media (prefers-reduced-motion:reduce){.edit-site-document-actions .edit-site-document-actions__secondary-item{transition-delay:0s;transition-duration:0s}}.edit-site-document-actions.has-secondary-label .edit-site-document-actions__secondary-item{margin-left:6px;max-width:180px;opacity:1;padding:0 4px}.edit-site-document-actions__info-dropdown>.components-popover__content>div{min-width:240px;padding:0}.edit-site-more-menu{margin-left:-4px}.edit-site-more-menu .components-button{padding:0 2px;width:auto}@media (min-width:600px){.edit-site-more-menu{margin-left:4px}.edit-site-more-menu .components-button{padding:0 4px}}.edit-site-more-menu__content .components-popover__content{min-width:260px}.edit-site-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-site-more-menu__content{z-index:99998}.edit-site-navigation-link{display:flex;height:60px;left:0;position:absolute;top:0;z-index:31}.edit-site-navigation-link,.edit-site-navigation-link__button{align-items:center;background:#1e1e1e;border-radius:0;width:60px}.edit-site-navigation-link__button{color:#fff;height:61px;margin-bottom:-1px;z-index:1}.edit-site-navigation-link__button.has-icon{min-width:60px}.edit-site-navigation-link__button.has-icon:active,.edit-site-navigation-link__button.has-icon:focus,.edit-site-navigation-link__button.has-icon:hover{color:#fff}.edit-site-navigation-link__button.has-icon:focus{box-shadow:none}.edit-site-navigation-link__button.has-icon:before{border-radius:4px;bottom:9px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e;content:"";display:block;left:9px;position:absolute;right:9px;top:9px;transition:box-shadow .1s ease}@media (prefers-reduced-motion:reduce){.edit-site-navigation-link__button.has-icon:before{transition-delay:0s;transition-duration:0s}}.edit-site-navigation-link__button.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}.edit-site-navigation-link__button.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-site-navigation-link__site-icon{border-radius:2px;width:36px}.edit-site-navigation-toggle{align-items:center;background:#1e1e1e;border-radius:0;display:flex;height:60px;position:absolute;width:60px;z-index:31}.edit-site-navigation-toggle__button{align-items:center;background:#1e1e1e;border-radius:0;color:#fff;height:61px;margin-bottom:-1px;width:60px;z-index:1}.edit-site-navigation-toggle__button.has-icon{min-width:60px}.edit-site-navigation-toggle__button.has-icon:active,.edit-site-navigation-toggle__button.has-icon:hover{color:#fff}.edit-site-navigation-toggle__button.has-icon:focus{box-shadow:none}.edit-site-navigation-toggle__button.has-icon:before{border-radius:4px;bottom:9px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e;content:"";display:block;left:9px;position:absolute;right:9px;top:9px;transition:box-shadow .1s ease}@media (prefers-reduced-motion:reduce){.edit-site-navigation-toggle__button.has-icon:before{transition-delay:0s;transition-duration:0s}}.edit-site-navigation-toggle__button.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}.edit-site-navigation-toggle__button.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-site-navigation-toggle__site-icon{border-radius:2px;width:36px}.edit-site-navigation-panel{background:#1e1e1e;color:#fff;height:100%;overflow:hidden;position:relative;transition:width .1s linear;width:0}@media (prefers-reduced-motion:reduce){.edit-site-navigation-panel{transition-delay:0s;transition-duration:0s}}@media (min-width:782px){.edit-site-navigation-panel{height:calc(100% - 25px)}}.edit-site-navigation-panel__inner{height:100%;overflow:hidden;position:relative;transition:visibility .1s linear;visibility:hidden;width:300px}@media (prefers-reduced-motion:reduce){.edit-site-navigation-panel__inner{transition-delay:0s;transition-duration:0s}}.edit-site-navigation-panel.is-open{width:300px}.edit-site-navigation-panel.is-open .edit-site-navigation-panel__inner{visibility:visible}.edit-site-navigation-panel__site-title-container{align-items:center;display:flex;height:60px;margin:0 16px 0 8px;padding-left:60px}.edit-site-navigation-panel__site-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#ddd;display:-webkit-box;font-size:14px;font-style:normal;font-weight:600;line-height:20px;overflow:hidden}.edit-site-navigation-panel__scroll-container{height:calc(100% - 60px);overflow-x:hidden;overflow-y:auto}.edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary{height:36px;margin-top:24px;padding:8px 16px 8px 8px}.edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary:focus:not(:disabled){border-bottom-color:transparent}.edit-site-navigation-panel__preview{background:#fff;border:1px solid #ccc;border-radius:2px;box-shadow:0 2px 6px rgba(0,0,0,.05);color:#1e1e1e;display:none;left:312px;padding:16px;position:absolute;top:73px;width:300px;z-index:32}@media (min-width:782px){.edit-site-navigation-panel__preview{display:block}}.edit-site-navigation-panel__template-item{display:block}.edit-site-navigation-panel__template-item .components-button{align-items:flex-start;color:inherit;display:flex;flex-direction:column;height:auto;justify-content:center;min-height:36px;padding-left:16px;padding-right:16px;text-align:left}.edit-site-navigation-panel__template-item-title{font-size:14px;line-height:20px}.edit-site-navigation-panel__template-item-title em{margin-right:1ch}.edit-site-navigation-panel__template-part-item .components-navigation__item-title,.edit-site-navigation-panel__template-parts .components-navigation__menu-title-heading{text-transform:capitalize}.components-navigation__item+.edit-site-navigation-panel__template-item{margin-top:16px}.edit-site-navigation-panel__template-item+.edit-site-navigation-panel__template-item{margin-top:8px}.edit-site-navigation-panel__info-wrapper{padding:4px 0}.edit-site-navigation-panel__template-item-description{font-size:12px;line-height:16px;padding-top:8px}.edit-site-navigation-panel__new-template-dropdown{margin:0 0 0 12px}.edit-site-navigation-panel__new-template-dropdown button{margin:0}@media (min-width:600px){.edit-site-navigation-panel__new-template-popover{min-width:300px}}.edit-site-sidebar{width:280px}.edit-site-sidebar>.components-panel{border-left:0;border-right:0;margin-bottom:-1px;margin-top:-1px}.edit-site-sidebar>.components-panel>.components-panel__header{background:#f0f0f0}.edit-site-sidebar .block-editor-block-inspector__card{margin:0}.edit-site-global-styles-sidebar .interface-complementary-area-header .components-button.has-icon{margin-left:0}.edit-site-global-styles-sidebar__reset-button.components-button{margin-left:auto}.edit-site-global-styles-sidebar__border-controls-row{display:flex;justify-content:space-between;margin-bottom:12px}.edit-site-global-styles-sidebar__border-controls-row>*{width:calc(50% - 8px)}.edit-site-global-styles-sidebar__border-controls-row .components-border-style-control__buttons{margin-bottom:0}.edit-site-global-styles-sidebar .components-navigation__menu-title-heading{font-size:15.6px;font-weight:500}.edit-site-global-styles-sidebar .components-navigation__item>button span{font-weight:500}.edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings,.edit-site-typography-panel{border:0}.edit-site-global-styles-sidebar__blocks-group{border-top:1px solid #e0e0e0;padding-top:24px}.edit-site-global-styles-sidebar__blocks-group-help{padding:0 16px}.edit-site-global-styles-color-palette-panel{padding:16px}.edit-site-global-styles-sidebar__beta{align-items:center;background-color:#000;border-radius:2px;color:#fff;display:inline-flex;font-size:12px;height:24px;line-height:1;margin-left:8px;padding:0 8px}.components-panel__header.edit-site-sidebar__panel-tabs{border-top:0;justify-content:flex-start;margin-top:0;padding-left:0;padding-right:16px}.components-panel__header.edit-site-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-site-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:none;height:24px;margin:0 0 0 auto;min-width:24px;padding:0}@media (min-width:782px){.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-button.edit-site-sidebar__panel-tab{background:transparent;border:none;border-radius:0;box-shadow:none;cursor:pointer;display:inline-block;font-weight:500;height:48px;margin-left:0;padding:3px 15px}.components-button.edit-site-sidebar__panel-tab:after{speak:none;content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;visibility:hidden}.components-button.edit-site-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:before{border-bottom:4px solid transparent;bottom:1px;content:"";left:0;position:absolute;right:0;top:0}.components-button.edit-site-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.edit-site-template-card{align-items:flex-start;display:flex}.edit-site-template-card__content{flex-grow:1;margin-bottom:4px}.edit-site-template-card__title{font-weight:500;line-height:24px}.edit-site-template-card__title.edit-site-template-card__title{margin:0 0 4px}.edit-site-template-card__description{font-size:13px;margin:0 0 16px}.edit-site-template-card__icon{flex:0 0 24px;height:24px;margin-right:12px;width:24px}h3.edit-site-template-card__template-areas-title{font-weight:500;margin:0 0 8px}.edit-site-template-card__template-areas-list,.edit-site-template-card__template-areas-list>li{margin:0}.edit-site-template-card__template-areas-item{width:100%}.edit-site-template-card__template-areas-item.components-button.has-icon{padding:0}.edit-site-editor__toggle-save-panel{background-color:#fff;border:1px dotted #ddd;bottom:auto;display:flex;height:auto!important;justify-content:center;left:auto;padding:24px;position:fixed!important;right:0;top:-9999em;width:280px;z-index:100000}.interface-interface-skeleton__actions:focus-within .edit-site-editor__toggle-save-panel,.interface-interface-skeleton__actions:focus .edit-site-editor__toggle-save-panel{bottom:0;top:auto}.edit-site-visual-editor{display:block;height:100%;overflow:hidden;position:relative}.edit-site-visual-editor iframe{background-color:#fff;display:block;height:100%;width:100%}.edit-site .components-editor-notices__snackbar{bottom:40px;left:0;padding-left:16px;padding-right:16px;position:fixed;right:0}@media (min-width:783px){.edit-site .components-editor-notices__snackbar{left:160px}}@media (min-width:783px){.auto-fold .edit-site .components-editor-notices__snackbar{left:36px}}@media (min-width:961px){.auto-fold .edit-site .components-editor-notices__snackbar{left:160px}}.folded .edit-site .components-editor-notices__snackbar{left:0}@media (min-width:783px){.folded .edit-site .components-editor-notices__snackbar{left:36px}}body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar{left:0!important}.edit-site-template-details .edit-site-template-details__group{margin:0;padding:16px}.edit-site-template-details .edit-site-template-details__group+.edit-site-template-details__group{border-top:1px solid #ccc}.edit-site-template-details .edit-site-template-details__title{margin:0}.edit-site-template-details .edit-site-template-details__description{color:#757575;margin:12px 0 0}.edit-site-template-details .edit-site-template-details__group.edit-site-template-details__template-areas{padding:8px}.edit-site-template-details .edit-site-template-details__template-areas-item{position:relative}.edit-site-template-details .edit-site-template-details__template-areas-item .edit-site-template-details__template-areas-item-more{bottom:0;margin:auto 0;position:absolute;right:0;top:0}.edit-site-template-details .edit-site-template-details__revert{padding:12px 8px}.edit-site-template-details .edit-site-template-details__revert-button{height:auto;padding:4px 8px;text-align:left}.edit-site-template-details .edit-site-template-details__revert-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button{background:#1e1e1e;border-radius:0;color:#fff;display:flex;height:44px;justify-content:center;width:100%}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:hover{color:#fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:active{color:#ccc}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-template-part-converter__modal{z-index:1000001}@media (min-width:600px){.edit-site-template-part-converter__modal .components-modal__frame{max-width:500px}}.edit-site-template-part-converter__convert-modal-actions{padding-top:12px}.edit-site-template-part-converter__area-base-control .components-base-control__label{cursor:auto;margin:16px 0 8px}.edit-site-template-part-converter__area-radio-group{border:1px solid #757575;border-radius:2px;width:100%}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio{display:block;height:100%;padding:12px;text-align:left;width:100%}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover{background-color:inherit;border-bottom:1px solid #757575;border-radius:0;margin:0}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:not(:focus),.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:not(:focus),.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:focus){box-shadow:none}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:focus,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:focus,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:focus{border-bottom:1px solid #fff}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-primary:hover:last-of-type,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio.is-secondary:hover:last-of-type,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:last-of-type{border-bottom:none}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:hover),.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio[aria-checked=true]{color:#1e1e1e;cursor:auto}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio:not(:hover) .edit-site-template-part-converter__option-label div,.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio[aria-checked=true] .edit-site-template-part-converter__option-label div{color:#949494}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__option-label{padding-top:4px;white-space:normal}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__option-label div{font-size:12px;padding-top:4px}.edit-site-template-part-converter__area-radio-group .components-button.edit-site-template-part-converter__area-radio .edit-site-template-part-converter__checkbox{margin-left:auto;min-width:24px}.edit-site-editor__inserter-panel,.edit-site-editor__list-view-panel{display:flex;flex-direction:column;height:100%}.edit-site-editor__list-view-panel{min-width:350px}.edit-site-editor__inserter-panel-header{display:flex;justify-content:flex-end;padding-right:8px;padding-top:8px}@media (min-width:782px){.edit-site-editor__inserter-panel-header{display:none}}.edit-site-editor__inserter-panel-content,.edit-site-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-site-editor__inserter-panel-content{height:100%}}.edit-site-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;height:48px;justify-content:space-between;padding-left:16px;padding-right:4px}.edit-site-editor__list-view-panel-content{overflow-y:auto;padding:8px}body.appearance_page_gutenberg-edit-site,html.wp-toolbar{background:#fff}body.appearance_page_gutenberg-edit-site #wpcontent{padding-left:0}body.appearance_page_gutenberg-edit-site #wpbody-content{padding-bottom:0}body.appearance_page_gutenberg-edit-site #wpbody-content>div:not(.edit-site):not(#screen-meta),body.appearance_page_gutenberg-edit-site #wpfooter{display:none}body.appearance_page_gutenberg-edit-site .a11y-speak-region{left:-1px;top:-1px}body.appearance_page_gutenberg-edit-site ul#adminmenu>li.current>a.current:after,body.appearance_page_gutenberg-edit-site ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.appearance_page_gutenberg-edit-site .media-frame select.attachment-filters:last-of-type{max-width:100%;width:auto}.components-modal__frame,.edit-site{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.edit-site *,.edit-site :after,.edit-site :before{box-sizing:inherit}@media (min-width:600px){.edit-site{bottom:0;left:0;min-height:calc(100vh - 46px);position:absolute;right:0;top:0}}@media (min-width:782px){.edit-site{min-height:calc(100vh - 32px)}}.edit-site .interface-complementary-area__pin-unpin-item.components-button{display:none}.edit-site .interface-interface-skeleton__content{background-color:#2f2f2f}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}}
changelog.txt CHANGED
@@ -1,349 +1,368 @@
1
  == Changelog ==
2
 
3
- = 11.9.0 =
4
 
5
- ### Features
6
-
7
- #### Block Library
8
- - New Block: Comment Reply Link. ([35774](https://github.com/WordPress/gutenberg/pull/35774))
9
- - New Block: Comment Link. ([35965](https://github.com/WordPress/gutenberg/pull/35965))
10
- - New Block: Comment Avatar. ([35396](https://github.com/WordPress/gutenberg/pull/35396))
11
- - New Block: Comments Query Loop. ([35231](https://github.com/WordPress/gutenberg/pull/35231))
12
-
13
- ### Enhancements
14
-
15
- #### Block Library
16
- - Buttons: Add flex layout and new layout type. ([35819](https://github.com/WordPress/gutenberg/pull/35819))
17
- - Code: Add support for padding, color, and border styles. ([27582](https://github.com/WordPress/gutenberg/pull/27582))
18
- - Columns: Add padding support. ([35701](https://github.com/WordPress/gutenberg/pull/35701))
19
- - Comment Author Name: Add spacing to have same options as Post Author Name. ([36213](https://github.com/WordPress/gutenberg/pull/36213))
20
- - Comment Edit Link: Add alignment option. ([36033](https://github.com/WordPress/gutenberg/pull/36033))
21
- - Embed: Add Wolfram Cloud as an embed provider. ([35656](https://github.com/WordPress/gutenberg/pull/35656))
22
- - Gallery: Replace gallery experimental setting with a check for use_balanceTags. ([34979](https://github.com/WordPress/gutenberg/pull/34979))
23
- - Image: Add data-id attribute on server side render for core galleries. ([35975](https://github.com/WordPress/gutenberg/pull/35975))
24
- - Navigation: Add create new menu button. ([36245](https://github.com/WordPress/gutenberg/pull/36245))
25
- - Navigation: Add delete nav menu button. ([35981](https://github.com/WordPress/gutenberg/pull/35981))
26
- - Navigation: Add featured transforms in Link Control for Navigation Link items. ([35857](https://github.com/WordPress/gutenberg/pull/35857))
27
- - Navigation: Add flex layout. ([36169](https://github.com/WordPress/gutenberg/pull/36169))
28
- - Navigation: Add missing menu item attributes. ([35634](https://github.com/WordPress/gutenberg/pull/35634))
29
- - Navigation: Create nav menu on pattern insertion or when the block has uncontrolled inner blocks. ([36024](https://github.com/WordPress/gutenberg/pull/36024))
30
- - Navigation: Migrate classic menus to block-based menus on theme switch. ([36255](https://github.com/WordPress/gutenberg/pull/36255))
31
- - Navigation: Mobile responsive navigation by default. ([35917](https://github.com/WordPress/gutenberg/pull/35917))
32
- - Navigation: Provide a way to manage wp_navigation posts from wp-admin. ([36126](https://github.com/WordPress/gutenberg/pull/36126))
33
- - Navigation: Reword navigation color labels. ([35916](https://github.com/WordPress/gutenberg/pull/35916))
34
- - Navigation: Save data to a wp_navigation post type. ([35746](https://github.com/WordPress/gutenberg/pull/35746))
35
- - Navigation: Show the placeholder again when moving from a valid menu to non-existing menu. ([36210](https://github.com/WordPress/gutenberg/pull/36210))
36
- - Navigation: Update block entity automatic name generation and refine naming UI. ([36238](https://github.com/WordPress/gutenberg/pull/36238))
37
- - Navigation: Use a single placeholder for the block. ([36023](https://github.com/WordPress/gutenberg/pull/36023))
38
- - Page List: Create a JS version for the editor. ([31670](https://github.com/WordPress/gutenberg/pull/31670))
39
- - Post Author: Add spacing controls. ([35963](https://github.com/WordPress/gutenberg/pull/35963))
40
- - Post Comment: Deprecate the block now that the Comment Query Loop block has been added. ([36032](https://github.com/WordPress/gutenberg/pull/36032))
41
- - Post Comment Author: Add alignment options. ([36045](https://github.com/WordPress/gutenberg/pull/36045))
42
- - Post Comments: Even out the top margin inside the block. ([35887](https://github.com/WordPress/gutenberg/pull/35887))
43
- - Post Comments: Hide the "Comments Closed" message. ([35743](https://github.com/WordPress/gutenberg/pull/35743))
44
- - Post Comment Form: Adds in basic styling for post comment form. ([35704](https://github.com/WordPress/gutenberg/pull/35704))
45
- - Post Excerpt: Add spacing controls. ([35959](https://github.com/WordPress/gutenberg/pull/35959))
46
- - Post Excerpt: Don't print the wrapper when there is no excerpt. ([35749](https://github.com/WordPress/gutenberg/pull/35749))
47
- - Post Title: Return no markup if title is empty. ([35861](https://github.com/WordPress/gutenberg/pull/35861))
48
- - Search: Add contextual defaults when inserted in Navigation block. ([36125](https://github.com/WordPress/gutenberg/pull/36125))
49
- - Gallery block: Add a dismissible warning about the need for versions >=18.2 of the mobile app. ([36012](https://github.com/WordPress/gutenberg/pull/36012))
50
-
51
- #### Accessibility
52
- - Add announcement on formatting change for screen readers. ([35896](https://github.com/WordPress/gutenberg/pull/35896))
53
- - Add aria-current to navigation link, submenu, page list. ([35880](https://github.com/WordPress/gutenberg/pull/35880))
54
- - Link editing: Improve focus styles for Link UI preview title. ([35853](https://github.com/WordPress/gutenberg/pull/35853))
55
- - Site Editor: Enable the "Save" keyboard shortcut. ([36138](https://github.com/WordPress/gutenberg/pull/36138))
56
- - Try to communicate to screen readers that post title is textarea. ([35898](https://github.com/WordPress/gutenberg/pull/35898))
57
-
58
- #### Block Editor
59
- - Block toolbar: Remove visual clue from text alignment icon. ([35922](https://github.com/WordPress/gutenberg/pull/35922))
60
- - Drag and drop: Show drag slot instead of hiding the block being dragged. ([33950](https://github.com/WordPress/gutenberg/pull/33950))
61
- - Enable rich previews in the Link UI for the Site Editor. ([35951](https://github.com/WordPress/gutenberg/pull/35951))
62
- - Link editing: Update Link UI design for preview action buttons to use icons for edit and unlink. ([35833](https://github.com/WordPress/gutenberg/pull/35833))
63
- - Multi-Entity Saving UI Improvements. ([35933](https://github.com/WordPress/gutenberg/pull/35933))
64
- - Use the block's name in the "remove block" menu item in the block settings dropdown. ([35872](https://github.com/WordPress/gutenberg/pull/35872))
65
- - StripHTML: preserve leading and trailing spaces and strip script and on* attributes. ([35539](https://github.com/WordPress/gutenberg/pull/35539))
66
-
67
- #### Full Site Editing
68
- - Improve the initial loading of the site editor. ([36044](https://github.com/WordPress/gutenberg/pull/36044))
69
- - Move the Site Editor menu item to sit under Appearance and rename to Editor. ([36064](https://github.com/WordPress/gutenberg/pull/36064))
70
- - Remove navigation panel in site editor. ([36194](https://github.com/WordPress/gutenberg/pull/36194))
71
- - Use Heading component on NavigationMenu and NavigationGroup components. ([36009](https://github.com/WordPress/gutenberg/pull/36009))
72
- - Use SearchControl component inside nav menu. ([36011](https://github.com/WordPress/gutenberg/pull/36011))
73
-
74
- #### Components
75
- - ColorPicker: Implement new color palette editor component. ([35783](https://github.com/WordPress/gutenberg/pull/35783))
76
- - Duotone: Add description to clarify that the underlying image will not be affected. ([36018](https://github.com/WordPress/gutenberg/pull/36018))
77
- - Modal: Wrap the modal contents in a StyleProvider. ([36261](https://github.com/WordPress/gutenberg/pull/36261))
78
- - ToolsPanel: Update typography panel layout. ([35911](https://github.com/WordPress/gutenberg/pull/35911))
79
- - LinkControl: Split control for URL and Text within Link UI. ([33849](https://github.com/WordPress/gutenberg/pull/33849))
80
- #### Template Editor
81
- - Add resizer to template part focus mode. ([35728](https://github.com/WordPress/gutenberg/pull/35728))
82
- - Auto resize the height of template part focus mode. ([35974](https://github.com/WordPress/gutenberg/pull/35974))
83
-
84
- #### Global Styles
85
- - Remove the duplicated title in background, text and link views. ([35583](https://github.com/WordPress/gutenberg/pull/35583))
86
- - Typography: Switch to ToolsPanel for block support UI. ([33744](https://github.com/WordPress/gutenberg/pull/33744))
87
- - Add a Global Styles endpoint and use it in the site editor. ([35801](https://github.com/WordPress/gutenberg/pull/35801))
88
- - Migrate theme.json v1 to v2. ([36155](https://github.com/WordPress/gutenberg/pull/36155))
89
- - Update: Show all color and gradient origins (core, theme, and user). ([35970](https://github.com/WordPress/gutenberg/pull/35970))
90
-
91
- #### Design Tools
92
- - Duotone: Enable transparency. ([34130](https://github.com/WordPress/gutenberg/pull/34130))
93
- - Layout: Add `flex-wrap` control to `flex` layout. ([36003](https://github.com/WordPress/gutenberg/pull/36003))
94
- - Typography block support: Add typography support and defaults. ([34064](https://github.com/WordPress/gutenberg/pull/34064))
95
-
96
- #### Media
97
- - Remove "security" verbiage from warning when filetype does not pass on upload. ([36226](https://github.com/WordPress/gutenberg/pull/36226))
98
-
99
- #### Patterns
100
- - Add an `inserter` flag to hide patterns from UI. ([36108](https://github.com/WordPress/gutenberg/pull/36108))
101
-
102
- #### Themes
103
- - Remove experimental feature notice for block themes. ([36083](https://github.com/WordPress/gutenberg/pull/36083))
104
-
105
- #### General Interface
106
- - Apply borders to canvas rather than other UI elements. ([31081](https://github.com/WordPress/gutenberg/pull/31081))
107
-
108
- #### REST API
109
- - Respect fields param for global styles REST API requests. ([36206](https://github.com/WordPress/gutenberg/pull/36206))
110
- - URL Details: Update regex to include `og:Description`. ([35875](https://github.com/WordPress/gutenberg/pull/35875))
111
-
112
-
113
- ### New APIs
114
-
115
- #### Global Styles
116
- - Add API to access global settings, styles, and stylesheet. ([34843](https://github.com/WordPress/gutenberg/pull/34843))
117
-
118
- #### Block Library
119
- - Inner blocks: Add `useInnerBlocksProps.save` function for edit/save symmetry, and stabilise API. ([26031](https://github.com/WordPress/gutenberg/pull/26031))
120
-
121
-
122
  ### Bug Fixes
123
 
124
  #### Block Library
125
- - Buttons: Address deprecation issues from Buttons flex layout PR. ([36192](https://github.com/WordPress/gutenberg/pull/36192))
126
- - Classic: Fix select all blocks side effect that overwrote paragraph block contents. ([35999](https://github.com/WordPress/gutenberg/pull/35999))
127
- - Column: Only add flex-basis if width contains a number. ([35831](https://github.com/WordPress/gutenberg/pull/35831))
128
- - Comment Template: Move inner blocks container to separate components. ([36174](https://github.com/WordPress/gutenberg/pull/36174))
129
- - Blocks: Fix relative URLs for inlined styles. ([35538](https://github.com/WordPress/gutenberg/pull/35538))
130
- - Navigation: Disable ability to edit wp_navigation menus via `Appearance -> Navigation Menus` for non-FSE themes. ([36257](https://github.com/WordPress/gutenberg/pull/36257))
131
- - Fix incorrect attributes definitions. ([36264](https://github.com/WordPress/gutenberg/pull/36264))
132
- - Fix saving template parts in the site editor by fixing controlled inner blocks parent block attributes updates. ([35827](https://github.com/WordPress/gutenberg/pull/35827))
133
- - Fix incorrect attributes definitions for Column, Cover, and Group blocks. ([36140](https://github.com/WordPress/gutenberg/pull/36140))
134
- - Gallery: Make sure the mobile warning notice only runs when images are added to a new block. ([36326](https://github.com/WordPress/gutenberg/pull/36326))
135
- - Gallery: Only show the gallery upload error message if mixed multiple files are uploaded. ([35790](https://github.com/WordPress/gutenberg/pull/35790))
136
- - Gallery: Remove the arbitrary alt text that is added to gallery images. ([35936](https://github.com/WordPress/gutenberg/pull/35936))
137
- - Group: Fix inner container regexes that relied on fixed div tag. ([36256](https://github.com/WordPress/gutenberg/pull/36256))
138
- - Heading: Avoid error on split when the paragraph isn't registered. ([35871](https://github.com/WordPress/gutenberg/pull/35871))
139
- - Image: Make sure the Image block border radius is inherited if the image is linked. ([36289](https://github.com/WordPress/gutenberg/pull/36289))
140
- - Navigation Submenu: Fix PHP notice caused by stale id reference. ([35984](https://github.com/WordPress/gutenberg/pull/35984))
141
- - Navigation overlay menu: Fix submenu spacing. ([35823](https://github.com/WordPress/gutenberg/pull/35823))
142
- - Navigation: Ensure menus exist before map operation. ([36355](https://github.com/WordPress/gutenberg/pull/36355))
143
- - Navigation: Fix accessibility issues. ([36292](https://github.com/WordPress/gutenberg/pull/36292))
144
- - Navigation: Fix dropdown indicator position. ([36106](https://github.com/WordPress/gutenberg/pull/36106))
145
- - Navigation: Fix issues with responsive justifications. ([35913](https://github.com/WordPress/gutenberg/pull/35913)) and ([36105](https://github.com/WordPress/gutenberg/pull/36105))
146
- - Navigation: Fix padding for social links on mobile. ([35824](https://github.com/WordPress/gutenberg/pull/35824))
147
- - Navigation: Fix submenus not opening on click. ([36290](https://github.com/WordPress/gutenberg/pull/36290))
148
- - Navigation: Hide post attributes meta box. ([36358](https://github.com/WordPress/gutenberg/pull/36358))
149
- - Navigation: Small styling fixes and tweaks. ([36298](https://github.com/WordPress/gutenberg/pull/36298))
150
- - Pattern: Remove wrapping div. ([36090](https://github.com/WordPress/gutenberg/pull/36090))
151
- - Post Comment: Handle the case where a comment does not exist. ([35810](https://github.com/WordPress/gutenberg/pull/35810))
152
- - Post Navigation Link: Do not translate HTML tag. ([35930](https://github.com/WordPress/gutenberg/pull/35930))
153
- - Post Template Block: Move inner blocks container to separate component. ([35945](https://github.com/WordPress/gutenberg/pull/35945))
154
- - Post Terms: Prevent the block from breaking on pages. ([35957](https://github.com/WordPress/gutenberg/pull/35957))
155
- - Site Logo: Fix center alignment. ([35971](https://github.com/WordPress/gutenberg/pull/35971))
156
- - Site Logo: Fix fatal error in Site Logo block in WP 5.9. ([36195](https://github.com/WordPress/gutenberg/pull/36195))
157
- - Prevent PHP notice in Elements block support for blocks with empty content. ([35836](https://github.com/WordPress/gutenberg/pull/35836))
158
-
159
- #### Components
160
- - AnglePickerControl: Use admin color scheme. ([35908](https://github.com/WordPress/gutenberg/pull/35908))
161
- - BaseControl: Fix undefined Help text id if no id is passed to component. ([35899](https://github.com/WordPress/gutenberg/pull/35899))
162
- - ColorListPicker: Fix spacing to accomodate the new color picker. ([36017](https://github.com/WordPress/gutenberg/pull/36017))
163
- - ColorPalette: Fix className. ([36016](https://github.com/WordPress/gutenberg/pull/36016))
164
- - ColorPicker: Fix unexpected movements, and closing on first click in the color picker. ([35670](https://github.com/WordPress/gutenberg/pull/35670))
165
- - Popover: Check anchorDocument default view before removing events. ([35832](https://github.com/WordPress/gutenberg/pull/35832))
166
- - RangeControl: Fix style issue in RTL. ([35777](https://github.com/WordPress/gutenberg/pull/35777))
167
- - Storybook: Lazy load LTR/RTL styles for consistent specificity. ([35771](https://github.com/WordPress/gutenberg/pull/35771))
168
- - Text: Fix text color value to use correct gray color value for Link UI preview description text. ([35851](https://github.com/WordPress/gutenberg/pull/35851))
169
-
170
- #### Global Styles
171
- - Fix navigation in global styles sidebar. ([36203](https://github.com/WordPress/gutenberg/pull/36203))
172
- - Fix presets data for themes that do not provide any preset. ([36054](https://github.com/WordPress/gutenberg/pull/36054))
173
- - Generate preset metadata for font-family in the site editor. ([36022](https://github.com/WordPress/gutenberg/pull/36022))
174
- - Hotfix for leftovers of `WP_Theme_JSON_Resolver::Get_merged_data`. ([36173](https://github.com/WordPress/gutenberg/pull/36173))
175
- - Lower the specificity of border & padding styles for the outline block style in the button block. ([35968](https://github.com/WordPress/gutenberg/pull/35968))
176
- - Theme.json: Remove custom prefixes from properties that did not land in 5.8. ([34485](https://github.com/WordPress/gutenberg/pull/34485))
177
- - Fix Rest global styles controller accessing configuration that may not exist. ([36047](https://github.com/WordPress/gutenberg/pull/36047))
178
-
179
- #### Block Editor
180
- - Allow moving metaboxes to previously empty area. ([25187](https://github.com/WordPress/gutenberg/pull/25187))
181
- - Change `console.error` to `console.warn` for enqueued styles in the editor. ([35914](https://github.com/WordPress/gutenberg/pull/35914))
182
- - Fix inserter with block pattern categories. ([36116](https://github.com/WordPress/gutenberg/pull/36116))
183
- - Fix navigation block link control zero value in it. ([36198](https://github.com/WordPress/gutenberg/pull/36198))
184
- - Fix the update of link and suggestions in LinkControl. ([32320](https://github.com/WordPress/gutenberg/pull/32320))
185
- - Make Link UI inactive if selection extends beyond format bounds or encounters new link. ([35946](https://github.com/WordPress/gutenberg/pull/35946))
186
- - Fix selection by holding shift key for nested blocks. ([35668](https://github.com/WordPress/gutenberg/pull/35668))
187
- - Fix shift+click on a child block with its parent selected. ([35988](https://github.com/WordPress/gutenberg/pull/35988))
188
- - Fix: Crash when resetting user color palette. ([36233](https://github.com/WordPress/gutenberg/pull/36233))
189
- - Fix: Show user colors on palette indicator. ([36232](https://github.com/WordPress/gutenberg/pull/36232))
190
- - Fix `getPxFromCssUnit` test stability and test that memoized function works correctly. ([35939](https://github.com/WordPress/gutenberg/pull/35939))
191
- - Link editing: Account for link anchor no longer being present when generating unique link instance key. ([36357](https://github.com/WordPress/gutenberg/pull/36357))
192
- - Preserve highlighted text selection when changing colors ([36263](https://github.com/WordPress/gutenberg/pull/36263))
193
-
194
- #### Design Tools
195
- - Font Appearance: Improve consistency of label in Typography panel. ([35860](https://github.com/WordPress/gutenberg/pull/35860))
196
- - Font Family Support: Fix skip serialization check. ([36073](https://github.com/WordPress/gutenberg/pull/36073))
197
- - Navigation: Force text decoration styles on nav item in editor. ([35859](https://github.com/WordPress/gutenberg/pull/35859))
198
-
199
- #### Template Editor
200
- - Clear selected block when clicking outside in the template part focus mode. ([35816](https://github.com/WordPress/gutenberg/pull/35816))
201
- - Templates: Only include templates for the current post types. ([35802](https://github.com/WordPress/gutenberg/pull/35802))
202
-
203
- #### Core Data
204
- - Avoid showing deleted records in editor saving flow. ([36027](https://github.com/WordPress/gutenberg/pull/36027))
205
- - Fix getEntityRecords to ensure resolution on REST API failure. ([36353](https://github.com/WordPress/gutenberg/pull/36353))
206
- - Fix Core Data using hardcoded baseURL prefix for taxonomies and post types API requests. ([35850](https://github.com/WordPress/gutenberg/pull/35850))
207
- - Make `saveEditedEntityRecord` use the entity key when available. ([36212](https://github.com/WordPress/gutenberg/pull/36212))
208
-
209
- #### Patterns
210
- - Update unsaved navigation block flow. ([35976](https://github.com/WordPress/gutenberg/pull/35976))
211
-
212
- #### Full Site Editing
213
- - Add fallback handling for plugins or themes using the Customizer. ([35877](https://github.com/WordPress/gutenberg/pull/35877))
214
- - Fix missing `<MainDashboardButton>` slot fill in site editor. ([36369](https://github.com/WordPress/gutenberg/pull/36369))
215
- - Remove duplicate Editor menu item. ([36342](https://github.com/WordPress/gutenberg/pull/36342))
216
- - Theme resolver: Fix crash from calls to `undefined` functions. ([36248](https://github.com/WordPress/gutenberg/pull/36248))
217
- - Unhook `_block_template_render_title_tag` to prevent duplicate title tags from rendering. ([36133](https://github.com/WordPress/gutenberg/pull/36133))
218
-
219
- #### Widgets Editor
220
- - Fix layout styles not applying in widgets customizer. ([35865](https://github.com/WordPress/gutenberg/pull/35865))
221
-
222
- #### CSS & Styling
223
- - Editor defaults for themes with no editor styles and when user disables theme styles. ([35736](https://github.com/WordPress/gutenberg/pull/35736))
224
-
225
- #### History
226
- - Support disabling autosave for native Unsupported Block Editor. ([35639](https://github.com/WordPress/gutenberg/pull/35639))
227
-
228
-
229
- ### Performance
230
-
231
- #### List View
232
- - Fix pagedown/pageup and improve scrolling. ([36063](https://github.com/WordPress/gutenberg/pull/36063))
233
- - List View: Render a fixed number of items. ([35230](https://github.com/WordPress/gutenberg/pull/35230))
234
-
235
- #### Block Editor
236
- - Improve opening of the block inserter via manual token-based analysis of reusable blocks. ([35763](https://github.com/WordPress/gutenberg/pull/35763))
237
-
238
- #### Widgets Editor
239
- - List View: Avoid re-rendering all items on block focus. Enable persistent List View in the widget editor. ([35706](https://github.com/WordPress/gutenberg/pull/35706))
240
-
241
- ### Experiments
242
-
243
- #### Block Library
244
- - Navigation Area block. ([36178](https://github.com/WordPress/gutenberg/pull/36178))
245
-
246
 
247
  #### Full Site Editing
248
- - Always display Customizer menu item. ([36168](https://github.com/Word
1
  == Changelog ==
2
 
3
+ = 11.9.1 =
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  ### Bug Fixes
6
 
7
  #### Block Library
8
+ - Gallery: Fix issue with columns and link destination not copying across when gallery updated to v2 format. ([36388](https://github.com/WordPress/gutenberg/pull/36388))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
10
  #### Full Site Editing