Gutenberg - Version 10.8.1

Version Description

Download this release

Release Info

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

Code changes from version 10.8.0 to 10.8.1

build/block-library/blocks/post-author/block.json CHANGED
@@ -24,7 +24,7 @@
24
  "type": "string"
25
  }
26
  },
27
- "usesContext": [ "postType", "postId" ],
28
  "supports": {
29
  "html": false,
30
  "typography": {
24
  "type": "string"
25
  }
26
  },
27
+ "usesContext": [ "postType", "postId", "queryId" ],
28
  "supports": {
29
  "html": false,
30
  "typography": {
build/block-library/blocks/post-content/block.json CHANGED
@@ -5,7 +5,7 @@
5
  "category": "design",
6
  "description": "Displays the contents of a post or page.",
7
  "textdomain": "default",
8
- "usesContext": [ "postId", "postType" ],
9
  "supports": {
10
  "align": [ "wide", "full" ],
11
  "html": false,
5
  "category": "design",
6
  "description": "Displays the contents of a post or page.",
7
  "textdomain": "default",
8
+ "usesContext": [ "postId", "postType", "queryId" ],
9
  "supports": {
10
  "align": [ "wide", "full" ],
11
  "html": false,
build/block-library/blocks/post-date/block.json CHANGED
@@ -17,7 +17,7 @@
17
  "default": false
18
  }
19
  },
20
- "usesContext": [ "postId", "postType" ],
21
  "supports": {
22
  "html": false,
23
  "color": {
17
  "default": false
18
  }
19
  },
20
+ "usesContext": [ "postId", "postType", "queryId" ],
21
  "supports": {
22
  "html": false,
23
  "color": {
build/block-library/blocks/post-excerpt/block.json CHANGED
@@ -21,7 +21,7 @@
21
  "default": true
22
  }
23
  },
24
- "usesContext": [ "postId", "postType" ],
25
  "supports": {
26
  "html": false,
27
  "color": {
21
  "default": true
22
  }
23
  },
24
+ "usesContext": [ "postId", "postType", "queryId" ],
25
  "supports": {
26
  "html": false,
27
  "color": {
build/block-library/blocks/post-featured-image/block.json CHANGED
@@ -11,7 +11,7 @@
11
  "default": false
12
  }
13
  },
14
- "usesContext": [ "postId", "postType" ],
15
  "supports": {
16
  "align": [ "left", "right", "center", "wide", "full" ],
17
  "html": false
11
  "default": false
12
  }
13
  },
14
+ "usesContext": [ "postId", "postType", "queryId" ],
15
  "supports": {
16
  "align": [ "left", "right", "center", "wide", "full" ],
17
  "html": false
build/block-library/blocks/post-title/block.json CHANGED
@@ -5,7 +5,7 @@
5
  "category": "design",
6
  "description": "Displays the title of a post, page, or any other content-type.",
7
  "textdomain": "default",
8
- "usesContext": [ "postId", "postType" ],
9
  "attributes": {
10
  "textAlign": {
11
  "type": "string"
5
  "category": "design",
6
  "description": "Displays the title of a post, page, or any other content-type.",
7
  "textdomain": "default",
8
+ "usesContext": [ "postId", "postType", "queryId" ],
9
  "attributes": {
10
  "textAlign": {
11
  "type": "string"
build/block-library/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'moment', 'react', '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-editor', 'wp-element', 'wp-hooks', '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' => 'ede834ee4f12403f4d71daa77429ca9d');
1
+ <?php return array('dependencies' => array('lodash', 'moment', 'react', '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-editor', 'wp-element', 'wp-hooks', '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' => '4abba25fa57743b4d0837ba7e0475fa5');
build/block-library/index.js CHANGED
@@ -1,4 +1,4 @@
1
- window.wp=window.wp||{},window.wp.blockLibrary=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=395)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},10:function(e,t,n){var o;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o))e.push(r.apply(null,o));else if("object"===a)for(var c in o)n.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}e.exports?e.exports=r:void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},100:function(e,t){e.exports=window.wp.reusableBlocks},104:function(e,t){e.exports=window.wp.autop},106:function(e,t,n){var o;!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,o=0;o<n;++o)r(e,t[o])}e.prototype=Object.create(null);var n={}.hasOwnProperty,o=/\s+/;function r(e,r){if(r){var a=typeof r;"string"===a?function(e,t){for(var n=t.split(o),r=n.length,a=0;a<r;++a)e[n[a]]=!0}(e,r):Array.isArray(r)?t(e,r):"object"===a?function(e,t){for(var o in t)n.call(t,o)&&(e[o]=!!t[o])}(e,r):"number"===a&&function(e,t){e[t]=!0}(e,r)}}return function(){for(var n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];var a=new e;t(a,o);var c=[];for(var l in a)a[l]&&c.push(l);return c.join(" ")}}();e.exports?e.exports=n:void 0===(o=function(){return n}.apply(t,[]))||(e.exports=o)}()},109:function(e,t,n){"use strict";var o=n(0);t.a=function({icon:e,size:t=24,...n}){return Object(o.cloneElement)(e,{width:t,height:t,...n})}},11:function(e,t){e.exports=window.wp.coreData},110:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.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"}));t.a=a},12:function(e,t){e.exports=window.React},13:function(e,t){e.exports=window.wp.keycodes},134:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));const o=()=>!(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)&&!r("AcroPDF.PDF")&&!r("PDF.PdfCtrl")),r=e=>{let t;try{t=new window.ActiveXObject(e)}catch(e){t=void 0}return t},a=()=>{if(!o()){const e=document.getElementsByClassName("wp-block-file__embed");Array.from(e).forEach(e=>{e.style.display="none"})}}},146:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));t.a=a},148:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));t.a=a},15:function(e,t){e.exports=window.wp.editor},16:function(e,t){e.exports=window.wp.richText},173:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));t.a=a},184:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.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"}));t.a=a},185:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.a=a},19:function(e,t){e.exports=window.wp.hooks},197:function(e,t,n){"use strict";var o=n(0),r=n(6),a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.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"}));t.a=a},2:function(e,t){e.exports=window.lodash},20:function(e,t){e.exports=window.wp.url},206:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"}));t.a=a},207:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=a},208:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));t.a=a},209:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(o.createElement)(r.Path,{d:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"}));t.a=a},21:function(e,t){e.exports=window.wp.dom},210:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"}));t.a=a},211:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"}));t.a=a},23:function(e,t){e.exports=window.wp.deprecated},258:function(e,t,n){e.exports=function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,o;return n=t,(o=[{key:"getColorAsync",value:function(e,t,n){e.complete?t.call(e,this.getColor(e,n),n&&n.data):this._bindImageEvents(e,t,n)}},{key:"getColor",value:function(e,t){t=t||{};var n=this._getDefaultColor(t),o=this._getOriginalSize(e),r=this._prepareSizeAndPosition(o,t),a=null,c=n;if(!(r.srcWidth&&r.srcHeight&&r.destWidth&&r.destHeight))return this._prepareResult(n,new Error("FastAverageColor: Incorrect sizes."));if(!this._ctx&&(this._canvas=this._makeCanvas(),this._ctx=this._canvas.getContext&&this._canvas.getContext("2d"),!this._ctx))return this._prepareResult(n,new Error("FastAverageColor: Canvas Context 2D is not supported in this browser."));this._canvas.width=r.destWidth,this._canvas.height=r.destHeight;try{this._ctx.clearRect(0,0,r.destWidth,r.destHeight),this._ctx.drawImage(e,r.srcLeft,r.srcTop,r.srcWidth,r.srcHeight,0,0,r.destWidth,r.destHeight);var l=this._ctx.getImageData(0,0,r.destWidth,r.destHeight).data;c=this.getColorFromArray4(l,t)}catch(e){a=e}return this._prepareResult(c,a)}},{key:"getColorFromArray4",value:function(e,t){t=t||{};var n=e.length;if(n<4)return this._getDefaultColor(t);var o=n-n%4,r=4*(t.step||1),a="_"+(t.algorithm||"sqrt")+"Algorithm";if("function"!=typeof this[a])throw new Error("FastAverageColor: ".concat(t.algorithm," is unknown algorithm."));return this[a](e,o,r)}},{key:"destroy",value:function(){delete this._canvas,delete this._ctx}},{key:"_getDefaultColor",value:function(e){return this._getOption(e,"defaultColor",[255,255,255,255])}},{key:"_getOption",value:function(e,t,n){return void 0===e[t]?n:e[t]}},{key:"_prepareSizeAndPosition",value:function(e,t){var n,o=this._getOption(t,"left",0),r=this._getOption(t,"top",0),a=this._getOption(t,"width",e.width),c=this._getOption(t,"height",e.height),l=a,i=c;return"precision"===t.mode||(a>c?(n=a/c,l=100,i=Math.round(l/n)):(n=c/a,i=100,l=Math.round(i/n)),(l>a||i>c||l<10||i<10)&&(l=a,i=c)),{srcLeft:o,srcTop:r,srcWidth:a,srcHeight:c,destWidth:l,destHeight:i}}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,c=0,l=0,i=0;i<t;i+=n){var s=e[i+3];o+=e[i]*s,r+=e[i+1]*s,a+=e[i+2]*s,c+=s,l++}return c?[Math.round(o/c),Math.round(r/c),Math.round(a/c),Math.round(c/l)]:[0,0,0,0]}},{key:"_sqrtAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,c=0,l=0,i=0;i<t;i+=n){var s=e[i],u=e[i+1],m=e[i+2],d=e[i+3];o+=s*s*d,r+=u*u*d,a+=m*m*d,c+=d,l++}return c?[Math.round(Math.sqrt(o/c)),Math.round(Math.sqrt(r/c)),Math.round(Math.sqrt(a/c)),Math.round(c/l)]:[0,0,0,0]}},{key:"_dominantAlgorithm",value:function(e,t,n){for(var o={},r=0;r<t;r+=n){var a=e[r],c=e[r+1],l=e[r+2],i=e[r+3],s=Math.round(a/24)+","+Math.round(c/24)+","+Math.round(l/24);o[s]?o[s]=[o[s][0]+a*i,o[s][1]+c*i,o[s][2]+l*i,o[s][3]+i,o[s][4]+1]:o[s]=[a*i,c*i,l*i,i,1]}var u=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],_n=!0,o=!1,r=void 0;try{for(var a,c=e[Symbol.iterator]();!(_n=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){o=!0,r=e}finally{try{_n||null==c.return||c.return()}finally{if(o)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(Object.keys(o).map((function(e){return o[e]})).sort((function(e,t){var n=e[4],o=t[4];return n>o?-1:n===o?0:1}))[0],5),m=u[0],d=u[1],b=u[2],p=u[3],g=u[4];return p?[Math.round(m/p),Math.round(d/p),Math.round(b/p),Math.round(p/g)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var o=this,r=(n=n||{})&&n.data,a=this._getDefaultColor(n),c=function(){s(),t.call(e,o.getColor(e,n),r)},l=function(){s(),t.call(e,o._prepareResult(a,new Error("Image error")),r)},i=function(){s(),t.call(e,o._prepareResult(a,new Error("Image abort")),r)},s=function(){e.removeEventListener("load",c),e.removeEventListener("error",l),e.removeEventListener("abort",i)};e.addEventListener("load",c),e.addEventListener("error",l),e.addEventListener("abort",i)}},{key:"_prepareResult",value:function(e,t){var n=e.slice(0,3),o=[].concat(n,e[3]/255),r=this._isDark(e);return{error:t,value:e,rgb:"rgb("+n.join(",")+")",rgba:"rgba("+o.join(",")+")",hex:this._arrayToHex(n),hexa:this._arrayToHex(e),isDark:r,isLight:!r}}},{key:"_getOriginalSize",value:function(e){return e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}},{key:"_toHex",value:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}},{key:"_arrayToHex",value:function(e){return"#"+e.map(this._toHex).join("")}},{key:"_isDark",value:function(e){return(299*e[0]+587*e[1]+114*e[2])/1e3<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(n.prototype,o),t}()}()},28:function(e,t){e.exports=window.wp.notices},280:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"}));t.a=a},281:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"}));t.a=a},282:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"}));t.a=a},285:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.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-7.8 16.5H5c-.3 0-.5-.2-.5-.5v-6.2h6.8v6.7zm0-8.3H4.5V5c0-.3.2-.5.5-.5h6.2v6.7zm8.3 7.8c0 .3-.2.5-.5.5h-6.2v-6.8h6.8V19zm0-7.8h-6.8V4.5H19c.3 0 .5.2.5.5v6.2z",fillRule:"evenodd",clipRule:"evenodd"}));t.a=a},286:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.a=a},288:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"}));t.a=a},289:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"}));t.a=a},290:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M7 5.5h10a.5.5 0 01.5.5v12a.5.5 0 01-.5.5H7a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM17 4H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V6a2 2 0 00-2-2zm-1 3.75H8v1.5h8v-1.5zM8 11h8v1.5H8V11zm6 3.25H8v1.5h6v-1.5z"}));t.a=a},291:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18.5 10.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"}));t.a=a},292:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{fillRule:"evenodd",d:"M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=a},293:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.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.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=a},3:function(e,t){e.exports=window.wp.components},31:function(e,t){e.exports=window.wp.apiFetch},32:function(e,t){e.exports=window.wp.blob},34:function(e,t){e.exports=window.moment},35:function(e,t,n){var o;!function(r){var a=/^\s+/,c=/\s+$/,l=0,i=r.round,s=r.min,u=r.max,m=r.random;function d(e,t){if(t=t||{},(e=e||"")instanceof d)return e;if(!(this instanceof d))return new d(e,t);var n=function(e){var t,n,o,l={r:0,g:0,b:0},i=1,m=null,d=null,b=null,p=!1,g=!1;return"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(c,"").toLowerCase();var t,n=!1;if(T[e])e=T[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=G.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=G.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=G.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=G.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=G.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=G.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=G.hex8.exec(e))?{r:V(t[1]),g:V(t[2]),b:V(t[3]),a:A(t[4]),format:n?"name":"hex8"}:(t=G.hex6.exec(e))?{r:V(t[1]),g:V(t[2]),b:V(t[3]),format:n?"name":"hex"}:(t=G.hex4.exec(e))?{r:V(t[1]+""+t[1]),g:V(t[2]+""+t[2]),b:V(t[3]+""+t[3]),a:A(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=G.hex3.exec(e))&&{r:V(t[1]+""+t[1]),g:V(t[2]+""+t[2]),b:V(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==typeof e&&(U(e.r)&&U(e.g)&&U(e.b)?(t=e.r,n=e.g,o=e.b,l={r:255*N(t,255),g:255*N(n,255),b:255*N(o,255)},p=!0,g="%"===String(e.r).substr(-1)?"prgb":"rgb"):U(e.h)&&U(e.s)&&U(e.v)?(m=R(e.s),d=R(e.v),l=function(e,t,n){e=6*N(e,360),t=N(t,100),n=N(n,100);var o=r.floor(e),a=e-o,c=n*(1-t),l=n*(1-a*t),i=n*(1-(1-a)*t),s=o%6;return{r:255*[n,l,c,c,i,n][s],g:255*[i,n,n,l,c,c][s],b:255*[c,c,i,n,n,l][s]}}(e.h,m,d),p=!0,g="hsv"):U(e.h)&&U(e.s)&&U(e.l)&&(m=R(e.s),b=R(e.l),l=function(e,t,n){var o,r,a;function c(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=N(e,360),t=N(t,100),n=N(n,100),0===t)o=r=a=n;else{var l=n<.5?n*(1+t):n+t-n*t,i=2*n-l;o=c(i,l,e+1/3),r=c(i,l,e),a=c(i,l,e-1/3)}return{r:255*o,g:255*r,b:255*a}}(e.h,m,b),p=!0,g="hsl"),e.hasOwnProperty("a")&&(i=e.a)),i=P(i),{ok:p,format:e.format||g,r:s(255,u(l.r,0)),g:s(255,u(l.g,0)),b:s(255,u(l.b,0)),a:i}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=i(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=n.ok,this._tc_id=l++}function b(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var o,r,a=u(e,t,n),c=s(e,t,n),l=(a+c)/2;if(a==c)o=r=0;else{var i=a-c;switch(r=l>.5?i/(2-a-c):i/(a+c),a){case e:o=(t-n)/i+(t<n?6:0);break;case t:o=(n-e)/i+2;break;case n:o=(e-t)/i+4}o/=6}return{h:o,s:r,l:l}}function p(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var o,r,a=u(e,t,n),c=s(e,t,n),l=a,i=a-c;if(r=0===a?0:i/a,a==c)o=0;else{switch(a){case e:o=(t-n)/i+(t<n?6:0);break;case t:o=(n-e)/i+2;break;case n:o=(e-t)/i+4}o/=6}return{h:o,s:r,v:l}}function g(e,t,n,o){var r=[I(i(e).toString(16)),I(i(t).toString(16)),I(i(n).toString(16))];return o&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function h(e,t,n,o){return[I(H(o)),I(i(e).toString(16)),I(i(t).toString(16)),I(i(n).toString(16))].join("")}function v(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s-=t/100,n.s=M(n.s),d(n)}function O(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s+=t/100,n.s=M(n.s),d(n)}function j(e){return d(e).desaturate(100)}function f(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l+=t/100,n.l=M(n.l),d(n)}function y(e,t){t=0===t?0:t||10;var n=d(e).toRgb();return n.r=u(0,s(255,n.r-i(-t/100*255))),n.g=u(0,s(255,n.g-i(-t/100*255))),n.b=u(0,s(255,n.b-i(-t/100*255))),d(n)}function _(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l-=t/100,n.l=M(n.l),d(n)}function w(e,t){var n=d(e).toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,d(n)}function k(e){var t=d(e).toHsl();return t.h=(t.h+180)%360,d(t)}function E(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+120)%360,s:t.s,l:t.l}),d({h:(n+240)%360,s:t.s,l:t.l})]}function C(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+90)%360,s:t.s,l:t.l}),d({h:(n+180)%360,s:t.s,l:t.l}),d({h:(n+270)%360,s:t.s,l:t.l})]}function x(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+72)%360,s:t.s,l:t.l}),d({h:(n+216)%360,s:t.s,l:t.l})]}function S(e,t,n){t=t||6,n=n||30;var o=d(e).toHsl(),r=360/n,a=[d(e)];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(d(o));return a}function B(e,t){t=t||6;for(var n=d(e).toHsv(),o=n.h,r=n.s,a=n.v,c=[],l=1/t;t--;)c.push(d({h:o,s:r,v:a})),a=(a+l)%1;return c}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,o=this.toRgb();return e=o.r/255,t=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=P(e),this._roundA=i(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=i(360*e.h),n=i(100*e.s),o=i(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+o+"%)":"hsva("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var e=b(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=b(this._r,this._g,this._b),t=i(360*e.h),n=i(100*e.s),o=i(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+o+"%)":"hsla("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,o,r){var a=[I(i(e).toString(16)),I(i(t).toString(16)),I(i(n).toString(16)),I(H(o))];return r&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(100*N(this._r,255))+"%",g:i(100*N(this._g,255))+"%",b:i(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+i(100*N(this._r,255))+"%, "+i(100*N(this._g,255))+"%, "+i(100*N(this._b,255))+"%)":"rgba("+i(100*N(this._r,255))+"%, "+i(100*N(this._g,255))+"%, "+i(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(z[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var r=d(e);n="#"+h(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,o=this._a<1&&this._a>=0;return t||!o||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return d(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(f,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(j,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(B,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]="a"===o?e[o]:R(e[o]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:m(),g:m(),b:m()})},d.mix=function(e,t,n){n=0===n?0:n||50;var o=d(e).toRgb(),r=d(t).toRgb(),a=n/100;return d({r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a})},d.readability=function(e,t){var n=d(e),o=d(t);return(r.max(n.getLuminance(),o.getLuminance())+.05)/(r.min(n.getLuminance(),o.getLuminance())+.05)},d.isReadable=function(e,t,n){var o,r,a,c,l,i=d.readability(e,t);switch(r=!1,(a=n,"AA"!==(c=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==c&&(c="AA"),"small"!==(l=(a.size||"small").toLowerCase())&&"large"!==l&&(l="small"),o={level:c,size:l}).level+o.size){case"AAsmall":case"AAAlarge":r=i>=4.5;break;case"AAlarge":r=i>=3;break;case"AAAsmall":r=i>=7}return r},d.mostReadable=function(e,t,n){var o,r,a,c,l=null,i=0;r=(n=n||{}).includeFallbackColors,a=n.level,c=n.size;for(var s=0;s<t.length;s++)(o=d.readability(e,t[s]))>i&&(i=o,l=d(t[s]));return d.isReadable(e,l,{level:a,size:c})||!r?l:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var T=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},z=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(T);function P(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return s(1,u(0,e))}function V(e){return parseInt(e,16)}function I(e){return 1==e.length?"0"+e:""+e}function R(e){return e<=1&&(e=100*e+"%"),e}function H(e){return r.round(255*parseFloat(e)).toString(16)}function A(e){return V(e)/255}var L,D,F,G=(D="[\\s|\\(]+("+(L="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+L+")[,|\\s]+("+L+")\\s*\\)?",F="[\\s|\\(]+("+L+")[,|\\s]+("+L+")[,|\\s]+("+L+")[,|\\s]+("+L+")\\s*\\)?",{CSS_UNIT:new RegExp(L),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function U(e){return!!G.CSS_UNIT.exec(e)}e.exports?e.exports=d:void 0===(o=function(){return d}.call(t,n,t,e))||(e.exports=o)}(Math)},395:function(e,t,n){"use strict";n.r(t),n.d(t,"__experimentalGetCoreBlocks",(function(){return Op})),n.d(t,"registerCoreBlocks",(function(){return jp})),n.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return fp}));var o={};n.r(o),n.d(o,"metadata",(function(){return qe})),n.d(o,"name",(function(){return We})),n.d(o,"settings",(function(){return $e}));var r={};n.r(r),n.d(r,"metadata",(function(){return cn})),n.d(r,"name",(function(){return ln})),n.d(r,"settings",(function(){return sn}));var a={};n.r(a),n.d(a,"metadata",(function(){return En})),n.d(a,"name",(function(){return Cn})),n.d(a,"settings",(function(){return xn}));var c={};n.r(c),n.d(c,"metadata",(function(){return Mn})),n.d(c,"name",(function(){return Vn})),n.d(c,"settings",(function(){return In}));var l={};n.r(l),n.d(l,"metadata",(function(){return ro})),n.d(l,"name",(function(){return ao})),n.d(l,"settings",(function(){return co}));var i={};n.r(i),n.d(i,"metadata",(function(){return uo})),n.d(i,"name",(function(){return mo})),n.d(i,"settings",(function(){return bo}));var s={};n.r(s),n.d(s,"metadata",(function(){return jo})),n.d(s,"name",(function(){return fo})),n.d(s,"settings",(function(){return yo}));var u={};n.r(u),n.d(u,"metadata",(function(){return Io})),n.d(u,"name",(function(){return Ro})),n.d(u,"settings",(function(){return Ho}));var m={};n.r(m),n.d(m,"metadata",(function(){return qo})),n.d(m,"name",(function(){return Wo})),n.d(m,"settings",(function(){return $o}));var d={};n.r(d),n.d(d,"metadata",(function(){return Xo})),n.d(d,"name",(function(){return er})),n.d(d,"settings",(function(){return tr}));var b={};n.r(b),n.d(b,"metadata",(function(){return rr})),n.d(b,"name",(function(){return ar})),n.d(b,"settings",(function(){return cr}));var p={};n.r(p),n.d(p,"metadata",(function(){return mr})),n.d(p,"name",(function(){return dr})),n.d(p,"settings",(function(){return br}));var g={};n.r(g),n.d(g,"metadata",(function(){return Cr})),n.d(g,"name",(function(){return xr})),n.d(g,"settings",(function(){return Sr}));var h={};n.r(h),n.d(h,"metadata",(function(){return zr})),n.d(h,"name",(function(){return Pr})),n.d(h,"settings",(function(){return Nr}));var v={};n.r(v),n.d(v,"metadata",(function(){return oa})),n.d(v,"name",(function(){return ra})),n.d(v,"settings",(function(){return aa}));var O={};n.r(O),n.d(O,"metadata",(function(){return Ia})),n.d(O,"name",(function(){return Ra})),n.d(O,"settings",(function(){return Ha}));var j={};n.r(j),n.d(j,"metadata",(function(){return $a})),n.d(j,"name",(function(){return Za})),n.d(j,"settings",(function(){return Qa}));var f={};n.r(f),n.d(f,"metadata",(function(){return Ya})),n.d(f,"name",(function(){return Xa})),n.d(f,"settings",(function(){return ec}));var y={};n.r(y),n.d(y,"metadata",(function(){return Oc})),n.d(y,"name",(function(){return jc})),n.d(y,"settings",(function(){return fc}));var _={};n.r(_),n.d(_,"metadata",(function(){return Ac})),n.d(_,"name",(function(){return Lc})),n.d(_,"settings",(function(){return Dc}));var w={};n.r(w),n.d(w,"metadata",(function(){return nl})),n.d(w,"name",(function(){return ol})),n.d(w,"settings",(function(){return rl}));var k={};n.r(k),n.d(k,"metadata",(function(){return ll})),n.d(k,"name",(function(){return il})),n.d(k,"settings",(function(){return sl}));var E={};n.r(E),n.d(E,"metadata",(function(){return ml})),n.d(E,"name",(function(){return dl})),n.d(E,"settings",(function(){return bl}));var C={};n.r(C),n.d(C,"metadata",(function(){return _l})),n.d(C,"name",(function(){return wl})),n.d(C,"settings",(function(){return kl}));var x={};n.r(x),n.d(x,"metadata",(function(){return Ul})),n.d(x,"name",(function(){return ql})),n.d(x,"settings",(function(){return Wl}));var S={};n.r(S),n.d(S,"metadata",(function(){return Zl})),n.d(S,"name",(function(){return Ql})),n.d(S,"settings",(function(){return Jl}));var B={};n.r(B),n.d(B,"metadata",(function(){return ii})),n.d(B,"name",(function(){return si})),n.d(B,"settings",(function(){return ui}));var T={};n.r(T),n.d(T,"metadata",(function(){return di})),n.d(T,"name",(function(){return bi})),n.d(T,"settings",(function(){return pi}));var z={};n.r(z),n.d(z,"metadata",(function(){return Oi})),n.d(z,"name",(function(){return ji})),n.d(z,"settings",(function(){return fi}));var P={};n.r(P),n.d(P,"metadata",(function(){return wi})),n.d(P,"name",(function(){return ki})),n.d(P,"settings",(function(){return Ei}));var N={};n.r(N),n.d(N,"metadata",(function(){return Ti})),n.d(N,"name",(function(){return zi})),n.d(N,"settings",(function(){return Pi}));var M={};n.r(M),n.d(M,"metadata",(function(){return Vi})),n.d(M,"name",(function(){return Ii})),n.d(M,"settings",(function(){return Ri}));var V={};n.r(V),n.d(V,"metadata",(function(){return Ui})),n.d(V,"name",(function(){return qi})),n.d(V,"settings",(function(){return Wi}));var I={};n.r(I),n.d(I,"metadata",(function(){return Qi})),n.d(I,"name",(function(){return Ji})),n.d(I,"settings",(function(){return Ki}));var R={};n.r(R),n.d(R,"metadata",(function(){return Xi})),n.d(R,"name",(function(){return es})),n.d(R,"settings",(function(){return ts}));var H={};n.r(H),n.d(H,"metadata",(function(){return ss})),n.d(H,"name",(function(){return us})),n.d(H,"settings",(function(){return ms}));var A={};n.r(A),n.d(A,"metadata",(function(){return gs})),n.d(A,"name",(function(){return hs})),n.d(A,"settings",(function(){return vs}));var L={};n.r(L),n.d(L,"metadata",(function(){return _s})),n.d(L,"name",(function(){return ws})),n.d(L,"settings",(function(){return ks}));var D={};n.r(D),n.d(D,"metadata",(function(){return Ss})),n.d(D,"name",(function(){return Bs})),n.d(D,"settings",(function(){return Ts}));var F={};n.r(F),n.d(F,"metadata",(function(){return Ns})),n.d(F,"name",(function(){return Ms})),n.d(F,"settings",(function(){return Vs}));var G={};n.r(G),n.d(G,"metadata",(function(){return lu})),n.d(G,"name",(function(){return iu})),n.d(G,"settings",(function(){return su}));var U={};n.r(U),n.d(U,"metadata",(function(){return bu})),n.d(U,"name",(function(){return pu})),n.d(U,"settings",(function(){return gu}));var q={};n.r(q),n.d(q,"metadata",(function(){return ju})),n.d(q,"name",(function(){return fu})),n.d(q,"settings",(function(){return yu}));var W={};n.r(W),n.d(W,"metadata",(function(){return Hu})),n.d(W,"name",(function(){return Au})),n.d(W,"settings",(function(){return Lu}));var $={};n.r($),n.d($,"metadata",(function(){return Fu})),n.d($,"name",(function(){return Gu})),n.d($,"settings",(function(){return Uu}));var Z={};n.r(Z),n.d(Z,"metadata",(function(){return Zu})),n.d(Z,"name",(function(){return Qu})),n.d(Z,"settings",(function(){return Ju}));var Q={};n.r(Q),n.d(Q,"metadata",(function(){return nm})),n.d(Q,"name",(function(){return om})),n.d(Q,"settings",(function(){return rm}));var J={};n.r(J),n.d(J,"metadata",(function(){return sm})),n.d(J,"name",(function(){return um})),n.d(J,"settings",(function(){return mm}));var K={};n.r(K),n.d(K,"metadata",(function(){return gm})),n.d(K,"name",(function(){return hm})),n.d(K,"settings",(function(){return vm}));var Y={};n.r(Y),n.d(Y,"metadata",(function(){return jm})),n.d(Y,"name",(function(){return fm})),n.d(Y,"settings",(function(){return ym}));var X={};n.r(X),n.d(X,"metadata",(function(){return Em})),n.d(X,"name",(function(){return Cm})),n.d(X,"settings",(function(){return xm}));var ee={};n.r(ee),n.d(ee,"metadata",(function(){return Jm})),n.d(ee,"name",(function(){return Km})),n.d(ee,"settings",(function(){return Ym}));var te={};n.r(te),n.d(te,"metadata",(function(){return vd})),n.d(te,"name",(function(){return Od})),n.d(te,"settings",(function(){return jd}));var ne={};n.r(ne),n.d(ne,"metadata",(function(){return yd})),n.d(ne,"name",(function(){return _d})),n.d(ne,"settings",(function(){return wd}));var oe={};n.r(oe),n.d(oe,"metadata",(function(){return Sd})),n.d(oe,"name",(function(){return Bd})),n.d(oe,"settings",(function(){return Td}));var re={};n.r(re),n.d(re,"metadata",(function(){return Nd})),n.d(re,"name",(function(){return Md})),n.d(re,"settings",(function(){return Vd}));var ae={};n.r(ae),n.d(ae,"metadata",(function(){return Rd})),n.d(ae,"name",(function(){return Hd})),n.d(ae,"settings",(function(){return Ad}));var ce={};n.r(ce),n.d(ce,"metadata",(function(){return Fd})),n.d(ce,"name",(function(){return Gd})),n.d(ce,"settings",(function(){return Ud}));var le={};n.r(le),n.d(le,"metadata",(function(){return Wd})),n.d(le,"name",(function(){return $d})),n.d(le,"settings",(function(){return Zd}));var ie={};n.r(ie),n.d(ie,"metadata",(function(){return Xd})),n.d(ie,"name",(function(){return eb})),n.d(ie,"settings",(function(){return tb}));var se={};n.r(se),n.d(se,"metadata",(function(){return nb})),n.d(se,"name",(function(){return ob})),n.d(se,"settings",(function(){return rb}));var ue={};n.r(ue),n.d(ue,"metadata",(function(){return sb})),n.d(ue,"name",(function(){return ub})),n.d(ue,"settings",(function(){return mb}));var me={};n.r(me),n.d(me,"metadata",(function(){return bb})),n.d(me,"name",(function(){return pb})),n.d(me,"settings",(function(){return gb}));var de={};n.r(de),n.d(de,"metadata",(function(){return Ob})),n.d(de,"name",(function(){return jb})),n.d(de,"settings",(function(){return fb}));var be={};n.r(be),n.d(be,"metadata",(function(){return _b})),n.d(be,"name",(function(){return wb})),n.d(be,"settings",(function(){return kb}));var pe={};n.r(pe),n.d(pe,"metadata",(function(){return Eb})),n.d(pe,"name",(function(){return Cb})),n.d(pe,"settings",(function(){return xb}));var ge={};n.r(ge),n.d(ge,"metadata",(function(){return Bb})),n.d(ge,"name",(function(){return Tb})),n.d(ge,"settings",(function(){return zb}));var he={};n.r(he),n.d(he,"metadata",(function(){return Mb})),n.d(he,"name",(function(){return Vb})),n.d(he,"settings",(function(){return Ib}));var ve={};n.r(ve),n.d(ve,"metadata",(function(){return Hb})),n.d(ve,"name",(function(){return Ab})),n.d(ve,"settings",(function(){return Lb}));var Oe={};n.r(Oe),n.d(Oe,"metadata",(function(){return Fb})),n.d(Oe,"name",(function(){return Gb})),n.d(Oe,"settings",(function(){return Ub}));var je={};n.r(je),n.d(je,"metadata",(function(){return qb})),n.d(je,"name",(function(){return Wb})),n.d(je,"settings",(function(){return $b}));var fe={};n.r(fe),n.d(fe,"metadata",(function(){return Zb})),n.d(fe,"name",(function(){return Qb})),n.d(fe,"settings",(function(){return Jb}));var ye={};n.r(ye),n.d(ye,"metadata",(function(){return Yb})),n.d(ye,"name",(function(){return Xb})),n.d(ye,"settings",(function(){return ep}));var _e={};n.r(_e),n.d(_e,"metadata",(function(){return ap})),n.d(_e,"name",(function(){return cp})),n.d(_e,"settings",(function(){return lp}));var we={};n.r(we),n.d(we,"metadata",(function(){return up})),n.d(we,"name",(function(){return mp})),n.d(we,"settings",(function(){return dp}));var ke={};n.r(ke),n.d(ke,"metadata",(function(){return pp})),n.d(ke,"name",(function(){return gp})),n.d(ke,"settings",(function(){return hp}));var Ee=n(11),Ce=n(5),xe=n(8),Se=n(2),Be=n(1),Te=n(0),ze=n(6),Pe=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M18.3 4H9.9v-.1l-.9.2c-2.3.4-4 2.4-4 4.8s1.7 4.4 4 4.8l.7.1V20h1.5V5.5h2.9V20h1.5V5.5h2.7V4z"})),Ne=n(10),Me=n.n(Ne);const Ve={className:!1},Ie={align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},backgroundColor:{type:"string"},fontSize:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]},style:{type:"object"}},Re=e=>{if(!e.customTextColor&&!e.customBackgroundColor&&!e.customFontSize)return e;const t={};return(e.customTextColor||e.customBackgroundColor)&&(t.color={}),e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customFontSize&&(t.typography={fontSize:e.customFontSize}),{...Object(Se.omit)(e,["customTextColor","customBackgroundColor","customFontSize"]),style:t}};var He=[{supports:Ve,attributes:{...Object(Se.omit)(Ie,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:Re,save({attributes:e}){const{align:t,content:n,dropCap:o,backgroundColor:r,textColor:a,customBackgroundColor:c,customTextColor:l,fontSize:i,customFontSize:s,direction:u}=e,m=Object(Ce.getColorClassName)("color",a),d=Object(Ce.getColorClassName)("background-color",r),b=Object(Ce.getFontSizeClass)(i),p=Me()({"has-text-color":a||l,"has-background":r||c,"has-drop-cap":o,["has-text-align-"+t]:t,[b]:b,[m]:m,[d]:d}),g={backgroundColor:d?void 0:c,color:m?void 0:l,fontSize:b?void 0:s};return Object(Te.createElement)(Ce.RichText.Content,{tagName:"p",style:g,className:p||void 0,value:n,dir:u})}},{supports:Ve,attributes:{...Object(Se.omit)(Ie,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:Re,save({attributes:e}){const{align:t,content:n,dropCap:o,backgroundColor:r,textColor:a,customBackgroundColor:c,customTextColor:l,fontSize:i,customFontSize:s,direction:u}=e,m=Object(Ce.getColorClassName)("color",a),d=Object(Ce.getColorClassName)("background-color",r),b=Object(Ce.getFontSizeClass)(i),p=Me()({"has-text-color":a||l,"has-background":r||c,"has-drop-cap":o,[b]:b,[m]:m,[d]:d}),g={backgroundColor:d?void 0:c,color:m?void 0:l,fontSize:b?void 0:s,textAlign:t};return Object(Te.createElement)(Ce.RichText.Content,{tagName:"p",style:g,className:p||void 0,value:n,dir:u})}},{supports:Ve,attributes:{...Object(Se.omit)(Ie,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"},width:{type:"string"}},migrate:Re,save({attributes:e}){const{width:t,align:n,content:o,dropCap:r,backgroundColor:a,textColor:c,customBackgroundColor:l,customTextColor:i,fontSize:s,customFontSize:u}=e,m=Object(Ce.getColorClassName)("color",c),d=Object(Ce.getColorClassName)("background-color",a),b=s&&`is-${s}-text`,p=Me()({["align"+t]:t,"has-background":a||l,"has-drop-cap":r,[b]:b,[m]:m,[d]:d}),g={backgroundColor:d?void 0:l,color:m?void 0:i,fontSize:b?void 0:u,textAlign:n};return Object(Te.createElement)(Ce.RichText.Content,{tagName:"p",style:g,className:p||void 0,value:o})}},{supports:Ve,attributes:Object(Se.omit)({...Ie,fontSize:{type:"number"}},["style"]),save({attributes:e}){const{width:t,align:n,content:o,dropCap:r,backgroundColor:a,textColor:c,fontSize:l}=e,i=Me()({["align"+t]:t,"has-background":a,"has-drop-cap":r}),s={backgroundColor:a,color:c,fontSize:l,textAlign:n};return Object(Te.createElement)("p",{style:s,className:i||void 0},o)},migrate:e=>Re(Object(Se.omit)({...e,customFontSize:Object(Se.isFinite)(e.fontSize)?e.fontSize:void 0,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.backgroundColor&&"#"===e.backgroundColor[0]?e.backgroundColor:void 0}))},{supports:Ve,attributes:{...Ie,content:{type:"string",source:"html",default:""}},save:({attributes:e})=>Object(Te.createElement)(Te.RawHTML,null,e.content),migrate:e=>e}],Ae=n(7),Le=n(3),De=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Te.createElement)(ze.Path,{d:"M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z"}));function Fe({direction:e,setDirection:t}){return Object(Be.isRTL)()&&Object(Te.createElement)(Le.ToolbarDropdownMenu,{controls:[{icon:De,title:Object(Be._x)("Left to right","editor button"),isActive:"ltr"===e,onClick(){t("ltr"===e?void 0:"ltr")}}]})}const{name:Ge}={apiVersion:2,name:"core/paragraph",title:"Paragraph",category:"text",description:"Start with the building block of all narrative.",keywords:["text"],textdomain:"default",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:"",__experimentalRole:"content"},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]}},supports:{anchor:!0,className:!1,color:{link:!0},typography:{fontSize:!0,lineHeight:!0},__experimentalSelector:"p",__unstablePasteTextInline:!0},editorStyle:"wp-block-paragraph-editor",style:"wp-block-paragraph"};var Ue={from:[{type:"raw",priority:20,selector:"p",schema:({phrasingContentSchema:e,isPaste:t})=>({p:{children:e,attributes:t?[]:["style","id"]}}),transform(e){const t=Object(xe.getBlockAttributes)(Ge,e.outerHTML),{textAlign:n}=e.style||{};return"left"!==n&&"center"!==n&&"right"!==n||(t.align=n),Object(xe.createBlock)(Ge,t)}}]};const qe={apiVersion:2,name:"core/paragraph",title:"Paragraph",category:"text",description:"Start with the building block of all narrative.",keywords:["text"],textdomain:"default",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:"",__experimentalRole:"content"},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]}},supports:{anchor:!0,className:!1,color:{link:!0},typography:{fontSize:!0,lineHeight:!0},__experimentalSelector:"p",__unstablePasteTextInline:!0},editorStyle:"wp-block-paragraph-editor",style:"wp-block-paragraph"},{name:We}=qe,$e={icon:Pe,example:{attributes:{content:Object(Be.__)("In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing."),style:{typography:{fontSize:28}},dropCap:!0}},__experimentalLabel(e,{context:t}){if("accessibility"===t){const{content:t}=e;return Object(Se.isEmpty)(t)?Object(Be.__)("Empty"):t}},transforms:Ue,deprecated:He,merge:(e,t)=>({content:(e.content||"")+(t.content||"")}),edit:function({attributes:e,mergeBlocks:t,onReplace:n,onRemove:o,setAttributes:r,clientId:a}){const{align:c,content:l,direction:i,dropCap:s,placeholder:u}=e,m=Object(Ce.useSetting)("typography.dropCap"),d=Object(Ce.useBlockProps)({className:Me()({"has-drop-cap":s,["has-text-align-"+c]:c}),style:{direction:i}});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:c,onChange:e=>r({align:e})}),Object(Te.createElement)(Fe,{direction:i,setDirection:e=>r({direction:e})})),m&&Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Text settings")},Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Drop cap"),checked:!!s,onChange:()=>r({dropCap:!s}),help:s?Object(Be.__)("Showing large initial letter."):Object(Be.__)("Toggle to show a large initial letter.")}))),Object(Te.createElement)(Ce.RichText,Object(Ae.a)({identifier:"content",tagName:"p"},d,{value:l,onChange:e=>r({content:e}),onSplit:(t,n)=>{let o;(n||t)&&(o={...e,content:t});const r=Object(xe.createBlock)("core/paragraph",o);return n&&(r.clientId=a),r},onMerge:t,onReplace:n,onRemove:o,"aria-label":l?Object(Be.__)("Paragraph block"):Object(Be.__)("Empty block; start writing or type forward slash to choose a block"),"data-empty":!l,placeholder:u||Object(Be.__)("Type / to choose a block"),__unstableEmbedURLOnPaste:!0,__unstableAllowPrefixTransformations:!0})))},save:function({attributes:e}){const{align:t,content:n,dropCap:o,direction:r}=e,a=Me()({"has-drop-cap":o,["has-text-align-"+t]:t});return Object(Te.createElement)("p",Ce.useBlockProps.save({className:a,dir:r}),Object(Te.createElement)(Ce.RichText.Content,{value:n}))}};var Ze=Object(Te.createElement)(ze.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Te.createElement)(ze.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"}));const Qe={align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}};var Je=[{attributes:Qe,save({attributes:e}){const{url:t,alt:n,caption:o,align:r,href:a,width:c,height:l,id:i}=e,s=Me()({["align"+r]:r,"is-resized":c||l}),u=Object(Te.createElement)("img",{src:t,alt:n,className:i?"wp-image-"+i:null,width:c,height:l});return Object(Te.createElement)("figure",{className:s},a?Object(Te.createElement)("a",{href:a},u):u,!Ce.RichText.isEmpty(o)&&Object(Te.createElement)(Ce.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:Qe,save({attributes:e}){const{url:t,alt:n,caption:o,align:r,href:a,width:c,height:l,id:i}=e,s=Object(Te.createElement)("img",{src:t,alt:n,className:i?"wp-image-"+i:null,width:c,height:l});return Object(Te.createElement)("figure",{className:r?"align"+r:null},a?Object(Te.createElement)("a",{href:a},s):s,!Ce.RichText.isEmpty(o)&&Object(Te.createElement)(Ce.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:Qe,save({attributes:e}){const{url:t,alt:n,caption:o,align:r,href:a,width:c,height:l}=e,i=c||l?{width:c,height:l}:{},s=Object(Te.createElement)("img",Object(Ae.a)({src:t,alt:n},i));let u={};return c?u={width:c}:"left"!==r&&"right"!==r||(u={maxWidth:"50%"}),Object(Te.createElement)("figure",{className:r?"align"+r:null,style:u},a?Object(Te.createElement)("a",{href:a},s):s,!Ce.RichText.isEmpty(o)&&Object(Te.createElement)(Ce.RichText.Content,{tagName:"figcaption",value:o}))}}],Ke=n(32),Ye=n(4),Xe=n(9),et=n(20),tt=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M16.5 7.8v7H18v-7c0-1-.8-1.8-1.8-1.8h-7v1.5h7c.2 0 .3.1.3.3zm-8.7 8.7c-.1 0-.2-.1-.2-.2V2H6v4H2v1.5h4v8.8c0 1 .8 1.8 1.8 1.8h8.8v4H18v-4h4v-1.5H7.8z"})),nt=n(210),ot=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12-9.8c.4 0 .8-.3.9-.7l1.1-3h3.6l.5 1.7h1.9L13 9h-2.2l-3.4 9.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12H20V6c0-1.1-.9-2-2-2zm-6 7l1.4 3.9h-2.7L12 11z"})),rt=n(28);const at=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}];var ct=n(106),lt=n.n(ct),it=n(48),st=n.n(it);const{name:ut}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter, Instagram 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"},mt=e=>e&&e.includes('class="wp-embedded-content"'),dt=(e,t={})=>{var n;const{preview:o,attributes:{url:r,providerNameSlug:a,type:c}={}}=e;if(!r||!Object(xe.getBlockType)(ut))return;const l=(e=>{var t;return null===(t=Object(xe.getBlockVariations)(ut))||void 0===t?void 0:t.find(({patterns:t})=>((e,t=[])=>t.some(t=>e.match(t)))(e,t))})(r),i="wordpress"===a||"wp-embed"===c;if(!i&&l&&(l.attributes.providerNameSlug!==a||!a))return Object(xe.createBlock)(ut,{url:r,...l.attributes});const s=null===(n=Object(xe.getBlockVariations)(ut))||void 0===n?void 0:n.find(({name:e})=>"wordpress"===e);return s&&o&&mt(o.html)&&!i?Object(xe.createBlock)(ut,{url:r,...s.attributes,...t}):void 0},bt=e=>{if(!e)return e;const t=at.reduce((e,{className:t})=>(e[t]=!1,e),{"wp-has-aspect-ratio":!1});return lt()(e,t)};function pt(e,t,n=!0){if(!n)return bt(t);const o=document.implementation.createHTMLDocument("");o.body.innerHTML=e;const r=o.body.querySelector("iframe");if(r&&r.height&&r.width){const e=(r.width/r.height).toFixed(2);for(let n=0;n<at.length;n++){const o=at[n];if(e>=o.ratio)return e-o.ratio>.1?bt(t):lt()(bt(t),o.className,"wp-has-aspect-ratio")}}return t}const gt=st()((e,t,n,o,r=!0)=>{if(!e)return{};const a={};let{type:c="rich"}=e;const{html:l,provider_name:i}=e,s=Object(Se.kebabCase)((i||t).toLowerCase());return mt(l)&&(c="wp-embed"),(l||"photo"===c)&&(a.type=c,a.providerNameSlug=s),a.className=pt(l,n,o&&r),a});function ht(e,t){const[n,o]=Object(Te.useState)();function r(){o(e.current.clientWidth)}return Object(Te.useEffect)(r,t),Object(Te.useEffect)(()=>{const{defaultView:t}=e.current.ownerDocument;return t.addEventListener("resize",r),()=>{t.removeEventListener("resize",r)}},[]),n}var vt=function(e,t){return(vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},Ot=function(){return(Ot=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},jt=n(12),ft=n.n(jt);function yt(e,t,n,o){void 0===o&&(o=0);var r=Pt(e,t,o),a=r.width,c=r.height;return e>=t*n&&a>t*n?{width:t*n,height:t}:a>t*n?{width:e,height:e/n}:a>c*n?{width:c*n,height:c}:{width:a,height:a/n}}function _t(e,t,n,o,r){void 0===r&&(r=0);var a=Pt(t.width,t.height,r),c=a.width,l=a.height;return{x:wt(e.x,c,n.width,o),y:wt(e.y,l,n.height,o)}}function wt(e,t,n,o){var r=t*o/2-n/2;return Math.min(r,Math.max(e,-r))}function kt(e,t){return Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2))}function Et(e,t){return 180*Math.atan2(t.y-e.y,t.x-e.x)/Math.PI}function Ct(e,t,n,o,r,a,c){void 0===a&&(a=0),void 0===c&&(c=!0);var l=c&&0===a?xt:St,i={x:l(100,((t.width-n.width/r)/2-e.x/r)/t.width*100),y:l(100,((t.height-n.height/r)/2-e.y/r)/t.height*100),width:l(100,n.width/t.width*100/r),height:l(100,n.height/t.height*100/r)},s=Math.round(l(t.naturalWidth,i.width*t.naturalWidth/100)),u=Math.round(l(t.naturalHeight,i.height*t.naturalHeight/100)),m=t.naturalWidth>=t.naturalHeight*o?{width:Math.round(u*o),height:u}:{width:s,height:Math.round(s/o)};return{croppedAreaPercentages:i,croppedAreaPixels:Ot(Ot({},m),{x:Math.round(l(t.naturalWidth-m.width,i.x*t.naturalWidth/100)),y:Math.round(l(t.naturalHeight-m.height,i.y*t.naturalHeight/100))})}}function xt(e,t){return Math.min(e,Math.max(0,t))}function St(e,t){return t}function Bt(e,t,n){var o=t.width/t.naturalWidth,r=function(e,t,n){var o=t.width/t.naturalWidth;if(n)return n.height>n.width?n.height/o/e.height:n.width/o/e.width;var r=e.width/e.height;return t.naturalWidth>=t.naturalHeight*r?t.naturalHeight/e.height:t.naturalWidth/e.width}(e,t,n),a=o*r;return{crop:{x:((t.naturalWidth-e.width)/2-e.x)*a,y:((t.naturalHeight-e.height)/2-e.y)*a},zoom:r}}function Tt(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function zt(e,t,n,o,r){var a=Math.cos,c=Math.sin,l=r*Math.PI/180;return[(e-n)*a(l)-(t-o)*c(l)+n,(e-n)*c(l)+(t-o)*a(l)+o]}function Pt(e,t,n){var o=e/2,r=t/2,a=[zt(0,0,o,r,n),zt(e,0,o,r,n),zt(e,t,o,r,n),zt(0,t,o,r,n)],c=Math.min.apply(Math,a.map((function(e){return e[0]}))),l=Math.max.apply(Math,a.map((function(e){return e[0]}))),i=Math.min.apply(Math,a.map((function(e){return e[1]})));return{width:l-c,height:Math.max.apply(Math,a.map((function(e){return e[1]})))-i}}function Nt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return"string"==typeof e&&e.length>0})).join(" ").trim()}var Mt=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.imageRef=null,n.videoRef=null,n.containerRef=null,n.styleRef=null,n.containerRect=null,n.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},n.dragStartPosition={x:0,y:0},n.dragStartCrop={x:0,y:0},n.lastPinchDistance=0,n.lastPinchRotation=0,n.rafDragTimeout=null,n.rafPinchTimeout=null,n.wheelTimer=null,n.state={cropSize:null,hasWheelJustStarted:!1},n.preventZoomSafari=function(e){return e.preventDefault()},n.cleanEvents=function(){document.removeEventListener("mousemove",n.onMouseMove),document.removeEventListener("mouseup",n.onDragStopped),document.removeEventListener("touchmove",n.onTouchMove),document.removeEventListener("touchend",n.onDragStopped)},n.clearScrollEvent=function(){n.containerRef&&n.containerRef.removeEventListener("wheel",n.onWheel),n.wheelTimer&&clearTimeout(n.wheelTimer)},n.onMediaLoad=function(){n.computeSizes(),n.emitCropData(),n.setInitialCrop(),n.props.onMediaLoaded&&n.props.onMediaLoaded(n.mediaSize)},n.setInitialCrop=function(){var e=n.props,t=e.initialCroppedAreaPixels,o=e.cropSize;if(t){var r=Bt(t,n.mediaSize,o),a=r.crop,c=r.zoom;n.props.onCropChange(a),n.props.onZoomChange&&n.props.onZoomChange(c)}},n.computeSizes=function(){var e,t,o,r,a=n.imageRef||n.videoRef;if(a){n.mediaSize={width:a.offsetWidth,height:a.offsetHeight,naturalWidth:(null===(e=n.imageRef)||void 0===e?void 0:e.naturalWidth)||(null===(t=n.videoRef)||void 0===t?void 0:t.videoWidth)||0,naturalHeight:(null===(o=n.imageRef)||void 0===o?void 0:o.naturalHeight)||(null===(r=n.videoRef)||void 0===r?void 0:r.videoHeight)||0};var c=n.props.cropSize?n.props.cropSize:yt(a.offsetWidth,a.offsetHeight,n.props.aspect,n.props.rotation);n.setState({cropSize:c},n.recomputeCropPosition)}n.containerRef&&(n.containerRect=n.containerRef.getBoundingClientRect())},n.onMouseDown=function(e){e.preventDefault(),document.addEventListener("mousemove",n.onMouseMove),document.addEventListener("mouseup",n.onDragStopped),n.onDragStart(t.getMousePoint(e))},n.onMouseMove=function(e){return n.onDrag(t.getMousePoint(e))},n.onTouchStart=function(e){e.preventDefault(),document.addEventListener("touchmove",n.onTouchMove,{passive:!1}),document.addEventListener("touchend",n.onDragStopped),2===e.touches.length?n.onPinchStart(e):1===e.touches.length&&n.onDragStart(t.getTouchPoint(e.touches[0]))},n.onTouchMove=function(e){e.preventDefault(),2===e.touches.length?n.onPinchMove(e):1===e.touches.length&&n.onDrag(t.getTouchPoint(e.touches[0]))},n.onDragStart=function(e){var t,o,r=e.x,a=e.y;n.dragStartPosition={x:r,y:a},n.dragStartCrop=Ot({},n.props.crop),null===(o=(t=n.props).onInteractionStart)||void 0===o||o.call(t)},n.onDrag=function(e){var t=e.x,o=e.y;n.rafDragTimeout&&window.cancelAnimationFrame(n.rafDragTimeout),n.rafDragTimeout=window.requestAnimationFrame((function(){if(n.state.cropSize&&void 0!==t&&void 0!==o){var e=t-n.dragStartPosition.x,r=o-n.dragStartPosition.y,a={x:n.dragStartCrop.x+e,y:n.dragStartCrop.y+r},c=n.props.restrictPosition?_t(a,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):a;n.props.onCropChange(c)}}))},n.onDragStopped=function(){var e,t;n.cleanEvents(),n.emitCropData(),null===(t=(e=n.props).onInteractionEnd)||void 0===t||t.call(e)},n.onWheel=function(e){e.preventDefault();var o=t.getMousePoint(e),r=n.props.zoom-e.deltaY*n.props.zoomSpeed/200;n.setNewZoom(r,o),n.state.hasWheelJustStarted||n.setState({hasWheelJustStarted:!0},(function(){var e,t;return null===(t=(e=n.props).onInteractionStart)||void 0===t?void 0:t.call(e)})),n.wheelTimer&&clearTimeout(n.wheelTimer),n.wheelTimer=window.setTimeout((function(){return n.setState({hasWheelJustStarted:!1},(function(){var e,t;return null===(t=(e=n.props).onInteractionEnd)||void 0===t?void 0:t.call(e)}))}),250)},n.getPointOnContainer=function(e){var t=e.x,o=e.y;if(!n.containerRect)throw new Error("The Cropper is not mounted");return{x:n.containerRect.width/2-(t-n.containerRect.left),y:n.containerRect.height/2-(o-n.containerRect.top)}},n.getPointOnMedia=function(e){var t=e.x,o=e.y,r=n.props,a=r.crop,c=r.zoom;return{x:(t+a.x)/c,y:(o+a.y)/c}},n.setNewZoom=function(e,t){if(n.state.cropSize&&n.props.onZoomChange){var o=n.getPointOnContainer(t),r=n.getPointOnMedia(o),a=Math.min(n.props.maxZoom,Math.max(e,n.props.minZoom)),c={x:r.x*a-o.x,y:r.y*a-o.y},l=n.props.restrictPosition?_t(c,n.mediaSize,n.state.cropSize,a,n.props.rotation):c;n.props.onCropChange(l),n.props.onZoomChange(a)}},n.emitCropData=function(){if(n.state.cropSize){var e=Ct(n.props.restrictPosition?_t(n.props.crop,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):n.props.crop,n.mediaSize,n.state.cropSize,n.getAspect(),n.props.zoom,n.props.rotation,n.props.restrictPosition),t=e.croppedAreaPercentages,o=e.croppedAreaPixels;n.props.onCropComplete&&n.props.onCropComplete(t,o)}},n.recomputeCropPosition=function(){if(n.state.cropSize){var e=n.props.restrictPosition?_t(n.props.crop,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):n.props.crop;n.props.onCropChange(e),n.emitCropData()}},n}return function(e,t){function __(){this.constructor=e}vt(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}(t,e),t.prototype.componentDidMount=function(){window.addEventListener("resize",this.computeSizes),this.containerRef&&(this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.preventZoomSafari),this.containerRef.addEventListener("gesturechange",this.preventZoomSafari)),this.props.disableAutomaticStylesInjection||(this.styleRef=document.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.styleRef.innerHTML=".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n user-select: none;\n touch-action: none;\n cursor: move;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n max-width: 100%;\n max-height: 100%;\n margin: auto;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_CropArea {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border: 1px solid rgba(255, 255, 255, 0.5);\n box-sizing: border-box;\n box-shadow: 0 0 0 9999em;\n color: rgba(0, 0, 0, 0.5);\n overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 0;\n bottom: 0;\n left: 33.33%;\n right: 33.33%;\n border-top: 0;\n border-bottom: 0;\n}\n\n.reactEasyCrop_CropAreaGrid::after {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 33.33%;\n bottom: 33.33%;\n left: 0;\n right: 0;\n border-left: 0;\n border-right: 0;\n}\n",document.head.appendChild(this.styleRef)),this.imageRef&&this.imageRef.complete&&this.onMediaLoad()},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.computeSizes),this.containerRef&&(this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.containerRef.removeEventListener("gesturechange",this.preventZoomSafari)),this.styleRef&&this.styleRef.remove(),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent()},t.prototype.componentDidUpdate=function(e){e.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):e.aspect!==this.props.aspect?this.computeSizes():e.zoom!==this.props.zoom?this.recomputeCropPosition():e.cropSize!==this.props.cropSize&&this.computeSizes(),e.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent())},t.prototype.getAspect=function(){var e=this.props,t=e.cropSize,n=e.aspect;return t?t.width/t.height:n},t.prototype.onPinchStart=function(e){var n=t.getTouchPoint(e.touches[0]),o=t.getTouchPoint(e.touches[1]);this.lastPinchDistance=kt(n,o),this.lastPinchRotation=Et(n,o),this.onDragStart(Tt(n,o))},t.prototype.onPinchMove=function(e){var n=this,o=t.getTouchPoint(e.touches[0]),r=t.getTouchPoint(e.touches[1]),a=Tt(o,r);this.onDrag(a),this.rafPinchTimeout&&window.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=window.requestAnimationFrame((function(){var e=kt(o,r),t=n.props.zoom*(e/n.lastPinchDistance);n.setNewZoom(t,a),n.lastPinchDistance=e;var c=Et(o,r),l=n.props.rotation+(c-n.lastPinchRotation);n.props.onRotationChange&&n.props.onRotationChange(l),n.lastPinchRotation=c}))},t.prototype.render=function(){var e=this,t=this.props,n=t.image,o=t.video,r=t.mediaProps,a=t.crop,c=a.x,l=a.y,i=t.rotation,s=t.zoom,u=t.cropShape,m=t.showGrid,d=t.style,b=d.containerStyle,p=d.cropAreaStyle,g=d.mediaStyle,h=t.classes,v=h.containerClassName,O=h.cropAreaClassName,j=h.mediaClassName;return ft.a.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(t){return e.containerRef=t},"data-testid":"container",style:b,className:Nt("reactEasyCrop_Container",v)},n?ft.a.createElement("img",Ot({alt:"",className:Nt("reactEasyCrop_Image",j)},r,{src:n,ref:function(t){return e.imageRef=t},style:Ot(Ot({},g),{transform:"translate("+c+"px, "+l+"px) rotate("+i+"deg) scale("+s+")"}),onLoad:this.onMediaLoad})):o&&ft.a.createElement("video",Ot({autoPlay:!0,loop:!0,muted:!0,className:Nt("reactEasyCrop_Video",j)},r,{src:o,ref:function(t){return e.videoRef=t},onLoadedMetadata:this.onMediaLoad,style:Ot(Ot({},g),{transform:"translate("+c+"px, "+l+"px) rotate("+i+"deg) scale("+s+")"}),controls:!1})),this.state.cropSize&&ft.a.createElement("div",{style:Ot(Ot({},p),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:Nt("reactEasyCrop_CropArea","round"===u&&"reactEasyCrop_CropAreaRound",m&&"reactEasyCrop_CropAreaGrid",O)}))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:3,minZoom:1,cropShape:"rect",showGrid:!0,style:{},classes:{},mediaProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0},t.getMousePoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t.getTouchPoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t}(ft.a.Component);const Vt={position:"bottom right",isAlternate:!0};var It=n(31),Rt=n.n(It),Ht=n(19);const At=Object(Te.createContext)({}),Lt=()=>Object(Te.useContext)(At);function Dt({id:e,url:t,naturalWidth:n,naturalHeight:o,isEditing:r,onFinishEditing:a,onSaveImage:c,children:l}){const i=function(e,t){const n=function({url:e,naturalWidth:t,naturalHeight:n}){const[o,r]=Object(Te.useState)(),[a,c]=Object(Te.useState)(),[l,i]=Object(Te.useState)({x:0,y:0}),[s,u]=Object(Te.useState)(),[m,d]=Object(Te.useState)(),[b,p]=Object(Te.useState)(),[g,h]=Object(Te.useState)(),v=Object(Te.useCallback)(()=>{i({x:0,y:0}),u(100),d(0),p(t/n),h(t/n)},[t,n,i,u,d,p,h]),O=Object(Te.useCallback)(()=>{const o=(m+90)%360;let a=t/n;if(m%180==90&&(a=n/t),0===o)return r(),d(o),p(1/b),void i({x:-l.y*a,y:l.x*a});const c=new window.Image;c.src=e,c.onload=function(e){const t=document.createElement("canvas");let n=0,c=0;o%180?(t.width=e.target.height,t.height=e.target.width):(t.width=e.target.width,t.height=e.target.height),90!==o&&180!==o||(n=t.width),270!==o&&180!==o||(c=t.height);const s=t.getContext("2d");s.translate(n,c),s.rotate(o*Math.PI/180),s.drawImage(e.target,0,0),t.toBlob(e=>{r(URL.createObjectURL(e)),d(o),p(1/b),i({x:-l.y*a,y:l.x*a})})};const s=Object(Ht.applyFilters)("media.crossOrigin",void 0,e);"string"==typeof s&&(c.crossOrigin=s)},[m,t,n,r,d,p,i]);return Object(Te.useMemo)(()=>({editedUrl:o,setEditedUrl:r,crop:a,setCrop:c,position:l,setPosition:i,zoom:s,setZoom:u,rotation:m,setRotation:d,rotateClockwise:O,aspect:b,setAspect:p,defaultAspect:g,initializeTransformValues:v}),[o,r,a,c,l,i,s,u,m,d,O,b,p,g,v])}(e),{initializeTransformValues:o}=n;return Object(Te.useEffect)(()=>{t&&o()},[t,o]),n}({url:t,naturalWidth:n,naturalHeight:o},r),s=function({crop:e,rotation:t,height:n,width:o,aspect:r,url:a,id:c,onSaveImage:l,onFinishEditing:i}){const{createErrorNotice:s}=Object(Ye.useDispatch)(rt.store),[u,m]=Object(Te.useState)(!1),d=Object(Te.useCallback)(()=>{m(!1),i()},[m,i]),b=Object(Te.useCallback)(()=>{m(!0);let u={};(e.width<99.9||e.height<99.9)&&(u=e),t>0&&(u.rotation=t),u.src=a,Rt()({path:`/wp/v2/media/${c}/edit`,method:"POST",data:u}).then(e=>{l({id:e.id,url:e.source_url,height:n&&o?o/r:void 0})}).catch(e=>{s(Object(Be.sprintf)(
2
  /* translators: 1. Error message */
3
  Object(Be.__)("Could not edit image. %s"),e.message),{id:"image-editing-error",type:"snackbar"})}).finally(()=>{m(!1),i()})},[m,e,t,n,o,r,a,l,s,m,i]);return Object(Te.useMemo)(()=>({isInProgress:u,apply:b,cancel:d}),[u,b,d])}({id:e,url:t,onSaveImage:c,onFinishEditing:a,...i}),u=Object(Te.useMemo)(()=>({...i,...s}),[i,s]);return Object(Te.createElement)(At.Provider,{value:u},l)}function Ft({url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:a}){const{isInProgress:c,editedUrl:l,position:i,zoom:s,aspect:u,setPosition:m,setCrop:d,setZoom:b,rotation:p}=Lt();let g=n||o*r/a;return p%180==90&&(g=o*a/r),Object(Te.createElement)("div",{className:Me()("wp-block-image__crop-area",{"is-applying":c}),style:{width:t||o,height:g}},Object(Te.createElement)(Mt,{image:l||e,disabled:c,minZoom:1,maxZoom:3,crop:i,zoom:s/100,aspect:u,onCropChange:m,onCropComplete:e=>{d(e)},onZoomChange:e=>{b(100*e)}}),c&&Object(Te.createElement)(Le.Spinner,null))}var Gt=n(206);function Ut(){const{isInProgress:e,zoom:t,setZoom:n}=Lt();return Object(Te.createElement)(Le.Dropdown,{contentClassName:"wp-block-image__zoom",popoverProps:Vt,renderToggle:({isOpen:t,onToggle:n})=>Object(Te.createElement)(Le.ToolbarButton,{icon:Gt.a,label:Object(Be.__)("Zoom"),onClick:n,"aria-expanded":t,disabled:e}),renderContent:()=>Object(Te.createElement)(Le.RangeControl,{label:Object(Be.__)("Zoom"),min:100,max:300,value:Math.round(t),onChange:n})})}var qt=n(92),Wt=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"}));function $t({aspectRatios:e,isDisabled:t,label:n,onClick:o,value:r}){return Object(Te.createElement)(Le.MenuGroup,{label:n},e.map(({title:e,aspect:n})=>Object(Te.createElement)(Le.MenuItem,{key:n,disabled:t,onClick:()=>{o(n)},role:"menuitemradio",isSelected:n===r,icon:n===r?qt.a:void 0},e)))}function Zt({toggleProps:e}){const{isInProgress:t,aspect:n,setAspect:o,defaultAspect:r}=Lt();return Object(Te.createElement)(Le.DropdownMenu,{icon:Wt,label:Object(Be.__)("Aspect Ratio"),popoverProps:Vt,toggleProps:e,className:"wp-block-image__aspect-ratio"},({onClose:e})=>Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)($t,{isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(Be.__)("Original"),aspect:r},{title:Object(Be.__)("Square"),aspect:1}]}),Object(Te.createElement)($t,{label:Object(Be.__)("Landscape"),isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(Be.__)("16:10"),aspect:1.6},{title:Object(Be.__)("16:9"),aspect:16/9},{title:Object(Be.__)("4:3"),aspect:4/3},{title:Object(Be.__)("3:2"),aspect:1.5}]}),Object(Te.createElement)($t,{label:Object(Be.__)("Portrait"),isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(Be.__)("10:16"),aspect:.625},{title:Object(Be.__)("9:16"),aspect:9/16},{title:Object(Be.__)("3:4"),aspect:3/4},{title:Object(Be.__)("2:3"),aspect:2/3}]})))}var Qt=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"}));function Jt(){const{isInProgress:e,rotateClockwise:t}=Lt();return Object(Te.createElement)(Le.ToolbarButton,{icon:Qt,label:Object(Be.__)("Rotate"),onClick:t,disabled:e})}function Kt(){const{isInProgress:e,apply:t,cancel:n}=Lt();return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Le.ToolbarButton,{onClick:t,disabled:e},Object(Be.__)("Apply")),Object(Te.createElement)(Le.ToolbarButton,{onClick:n},Object(Be.__)("Cancel")))}function Yt({url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:a}){return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ft,{url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:a}),Object(Te.createElement)(Ce.BlockControls,null,Object(Te.createElement)(Le.ToolbarGroup,null,Object(Te.createElement)(Ut,null),Object(Te.createElement)(Le.ToolbarItem,null,e=>Object(Te.createElement)(Zt,{toggleProps:e})),Object(Te.createElement)(Jt,null)),Object(Te.createElement)(Le.ToolbarGroup,null,Object(Te.createElement)(Kt,null))))}const Xt=["image"];function en({temporaryURL:e,attributes:{url:t="",alt:n,caption:o,align:r,id:a,href:c,rel:l,linkClass:i,linkDestination:s,title:u,width:m,height:d,linkTarget:b,sizeSlug:p},setAttributes:g,isSelected:h,insertBlocksAfter:v,onReplace:O,onSelectImage:j,onSelectURL:f,onUploadError:y,containerRef:_,clientId:w}){const k=Object(Te.useRef)(),E=Object(Xe.usePrevious)(t),{getBlock:C}=Object(Ye.useSelect)(Ce.store),{image:x,multiImageSelection:S}=Object(Ye.useSelect)(e=>{const{getMedia:t}=e(Ee.store),{getMultiSelectedBlockClientIds:n,getBlockName:o}=e(Ce.store),r=n();return{image:a&&h?t(a):null,multiImageSelection:r.length&&r.every(e=>"core/image"===o(e))}},[a,h]),{imageEditing:B,imageSizes:T,maxWidth:z,mediaUpload:P}=Object(Ye.useSelect)(e=>{const{getSettings:t}=e(Ce.store);return Object(Se.pick)(t(),["imageEditing","imageSizes","maxWidth","mediaUpload"])}),{replaceBlocks:N,toggleSelection:M}=Object(Ye.useDispatch)(Ce.store),{createErrorNotice:V,createSuccessNotice:I}=Object(Ye.useDispatch)(rt.store),R=Object(Xe.useViewportMatch)("medium"),H=Object(Se.includes)(["wide","full"],r),[{naturalWidth:A,naturalHeight:L},D]=Object(Te.useState)({}),[F,G]=Object(Te.useState)(!1),[U,q]=Object(Te.useState)(),W=ht(_,[r]),$=!H&&R,Z=Object(Se.map)(Object(Se.filter)(T,({slug:e})=>Object(Se.get)(x,["media_details","sizes",e,"source_url"])),({name:e,slug:t})=>({value:t,label:e})),Q=!!Object(xe.getBlockType)("core/cover");Object(Te.useEffect)(()=>{tn(a,t)&&h&&!U&&window.fetch(t).then(e=>e.blob()).then(e=>q(e))},[a,t,h,U]),Object(Te.useEffect)(()=>{t&&!E&&h&&k.current.focus()},[t,E]),Object(Te.useEffect)(()=>{h||G(!1)},[h]);const J=a&&A&&L&&B,K=!S&&J&&!F,Y=Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.BlockAlignmentControl,{value:r,onChange:function(e){const t=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};g({...t,align:e})}}),!S&&!F&&Object(Te.createElement)(Ce.__experimentalImageURLInputUI,{url:c||"",onChangeUrl:function(e){g(e)},linkDestination:s,mediaUrl:x&&x.source_url||t,mediaLink:x&&x.link,linkTarget:b,linkClass:i,rel:l}),K&&Object(Te.createElement)(Le.ToolbarButton,{onClick:()=>G(!0),icon:tt,label:Object(Be.__)("Crop")}),U&&Object(Te.createElement)(Le.ToolbarButton,{onClick:function(){P({filesList:[U],onFileChange([e]){j(e),Object(Ke.isBlobURL)(e.url)||(q(),I(Object(Be.__)("Image uploaded."),{type:"snackbar"}))},allowedTypes:Xt,onError(e){V(e,{type:"snackbar"})}})},icon:nt.a,label:Object(Be.__)("Upload external image")}),!S&&Q&&Object(Te.createElement)(Le.ToolbarButton,{icon:ot,label:Object(Be.__)("Add text over image"),onClick:function(){N(w,Object(xe.switchToBlockType)(C(w),"core/cover"))}})),!S&&!F&&Object(Te.createElement)(Ce.BlockControls,{group:"other"},Object(Te.createElement)(Ce.MediaReplaceFlow,{mediaId:a,mediaURL:t,allowedTypes:Xt,accept:"image/*",onSelect:j,onSelectURL:f,onError:y})),Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Image settings")},!S&&Object(Te.createElement)(Le.TextareaControl,{label:Object(Be.__)("Alt text (alternative text)"),value:n,onChange:function(e){g({alt:e})},help:Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Le.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(Be.__)("Describe the purpose of the image")),Object(Be.__)("Leave empty if the image is purely decorative."))}),Object(Te.createElement)(Ce.__experimentalImageSizeControl,{onChangeImage:function(e){const t=Object(Se.get)(x,["media_details","sizes",e,"source_url"]);if(!t)return null;g({url:t,width:void 0,height:void 0,sizeSlug:e})},onChange:e=>g(e),slug:p,width:m,height:d,imageSizeOptions:Z,isResizable:$,imageWidth:A,imageHeight:L}))),Object(Te.createElement)(Ce.InspectorAdvancedControls,null,Object(Te.createElement)(Le.TextControl,{label:Object(Be.__)("Title attribute"),value:u||"",onChange:function(e){g({title:e})},help:Object(Te.createElement)(Te.Fragment,null,Object(Be.__)("Describe the role of this image on the page."),Object(Te.createElement)(Le.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"},Object(Be.__)("(Note: many devices and browsers do not display this text.)")))}))),X=function(e){const t=Object(et.getPath)(e);if(t)return Object(Se.last)(t.split("/"))}(t);let ee;ee=n||(X?Object(Be.sprintf)(
4
  /* translators: %s: file name */
@@ -84,8 +84,8 @@ Object(Be.__)('Template Part "%s" inserted.'),c||r),{type:"snackbar"}),n()},[r,a
84
  /* translators: %s: HTML tag based on area. */
85
  Object(Be.__)("Default based on area (%s)"),`<${r}>`),value:""},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"},{label:"<div>",value:"div"}],value:e||"",onChange:e=>t({tagName:e})}))}function Um({postId:e,hasInnerBlocks:t,layout:n,tagName:o,blockProps:r}){const a=Object(Ye.useSelect)(e=>{var t;const{getSettings:n}=e(Ce.store);return null===(t=n())||void 0===t?void 0:t.supportsLayout},[]),c=Object(Ce.useSetting)("layout")||{},l=n&&n.inherit?c:n,{contentSize:i,wideSize:s}=l,u=Object(Te.useMemo)(()=>{if(a)return{type:"default",alignments:i||s?["wide","full"]:["left","center","right"]}},[a,i,s]),[m,d,b]=Object(Ee.useEntityBlockEditor)("postType","wp_template_part",{id:e}),p=Object(Ce.__experimentalUseInnerBlocksProps)(r,{value:m,onInput:d,onChange:b,renderAppender:t?void 0:Ce.InnerBlocks.ButtonBlockAppender,__experimentalLayout:u});return Object(Te.createElement)(o,p)}var qm=n(291),Wm=n(292),$m=n(293);const Zm=[{name:"header",icon:qm.a,title:Object(Be.__)("Header"),description:Object(Be.__)("The Header template defines a page area that typically contains a title, logo, and main navigation."),attributes:{area:"header"},scope:["inserter"]},{name:"footer",icon:Wm.a,title:Object(Be.__)("Footer"),description:Object(Be.__)("The Footer template defines a page area that typically contains site credits, social links, or any other combination of blocks."),attributes:{area:"footer"},scope:["inserter"]}];Zm.forEach(e=>{e.isActive||(e.isActive=(e,t)=>{const{area:n,theme:o,slug:r}=e;if(n)return n===t.area;if(!r)return!1;const a=Object(Ye.select)(Ee.store).getEntityRecord("postType","wp_template_part",`${o}//${r}`);return(null==a?void 0:a.area)===t.area})});var Qm=Zm;const Jm={apiVersion:2,name:"core/template-part",title:"Template Part",category:"theme",description:"Edit the different global regions of your site, like the header, footer, sidebar, or create your own.",textdomain:"default",attributes:{slug:{type:"string"},theme:{type:"string"},tagName:{type:"string"},area:{type:"string"}},supports:{align:!0,html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0},__experimentalLayout:!0},editorStyle:"wp-block-template-part-editor"},{name:Km}=Jm,Ym={icon:Sm.a,__experimentalLabel:({slug:e,theme:t})=>{var n;if(!e)return;const o=Object(Ye.select)(Ee.store).getEntityRecord("postType","wp_template_part",t+"//"+e);return o?Object(Se.startCase)((null===(n=o.title)||void 0===n?void 0:n.rendered)||o.slug):void 0},edit:function({attributes:e,setAttributes:t,clientId:n}){const{slug:o,theme:r,tagName:a,layout:c={}}=e,l=Bm(r,o),[i,s]=Object(Ce.__experimentalUseNoRecursiveRenders)(l),{isResolved:u,innerBlocks:m,isMissing:d,defaultWrapper:b,area:p,enableSelection:g}=Object(Ye.useSelect)(t=>{var o;const{getEditedEntityRecord:r,getEntityRecords:a,hasFinishedResolution:c}=t(Ee.store),{getBlocks:i}=t(Ce.store),s=["postType","wp_template_part",l],u=l?r(...s):null,m=(null==u?void 0:u.area)||e.area,d=a("postType","wp_template_part",m&&"uncategorized"!==m&&{area:m}),b=l?(null==d?void 0:d.length)>1:(null==d?void 0:d.length)>0,p=!!l&&c("getEditedEntityRecord",s),g=null===(o=t(Ko.store).__experimentalGetDefaultTemplatePartAreas().find(({area:e})=>e===m))||void 0===o?void 0:o.area_tag;return{innerBlocks:i(n),isResolved:p,isMissing:p&&!u,defaultWrapper:g||"div",area:m,enableSelection:b}},[l,n]),h=Object(Ce.useBlockProps)(),v=!o,O=!v&&!d&&u,j=a||b;return 0===m.length&&(o&&!r||o&&d)?Object(Te.createElement)(j,h,Object(Te.createElement)(Ce.Warning,null,Object(Be.sprintf)(
86
  /* translators: %s: Template part slug */
87
- Object(Be.__)("Template part has been deleted or is unavailable: %s"),o))):O&&i?Object(Te.createElement)(j,h,Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Block cannot be rendered inside itself."))):Object(Te.createElement)(s,null,Object(Te.createElement)(Gm,{tagName:a,setAttributes:t,isEntityAvailable:O,templatePartId:l,defaultWrapper:b}),v&&Object(Te.createElement)(j,h,Object(Te.createElement)(Fm,{area:e.area,clientId:n,setAttributes:t,enableSelection:g})),O&&g&&Object(Te.createElement)(Ce.BlockControls,null,Object(Te.createElement)(Le.ToolbarGroup,{className:"wp-block-template-part__block-control-group"},Object(Te.createElement)(Le.Dropdown,{className:"wp-block-template-part__preview-dropdown-button",contentClassName:"wp-block-template-part__preview-dropdown-content",position:"bottom right left",renderToggle:({isOpen:e,onToggle:t})=>Object(Te.createElement)(Le.ToolbarButton,{"aria-expanded":e,onClick:t,disabled:e},Object(Be.__)("Replace")),renderContent:({onClose:e})=>Object(Te.createElement)(Am,{setAttributes:t,onClose:e,area:p,templatePartId:l})}))),O&&Object(Te.createElement)(Um,{tagName:j,blockProps:h,postId:l,hasInnerBlocks:m.length>0,layout:c}),!v&&!u&&Object(Te.createElement)(j,h,Object(Te.createElement)(Le.Spinner,null)))}};Object(Ht.addFilter)("blocks.registerBlockType","core/template-part",(function(e,t){if("core/template-part"!==t)return e;if(!e.variations||!e.variations.length)return{...e,variations:Qm};if(e.variations){const t=(e,t)=>{const{area:n,theme:o,slug:r}=e;if(n)return n===t.area;if(!r)return!1;const a=Object(Ye.select)(Ee.store).getEntityRecord("postType","wp_template_part",`${o}//${r}`);return(null==a?void 0:a.area)===t.area},n=e.variations.map(e=>{return{...e,...!e.isActive&&{isActive:t},..."string"==typeof e.icon&&{icon:(n=e.icon,"header"===n?qm.a:"footer"===n?Wm.a:"sidebar"===n?$m.a:Sm.a)}};var n});return{...e,variations:n}}return e}));var Xm=Object(Te.createElement)(ze.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Te.createElement)(ze.Path,{d:"M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"})),ed=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M17 4h-2v4.5h2V7h3V5.5h-3V4zM4 5.5h9V7H4V5.5zm16 5.75h-9v1.5h9v-1.5zm-16 0h3V10h2v4.25H7v-1.5H4v-1.5zM9 17H4v1.5h5V17zm4 0h7v1.5h-7V20h-2v-4.25h2V17z"}));function td({attributes:{query:e,displayLayout:t},setQuery:n,setDisplayLayout:o}){const r=Object(Xe.useInstanceId)(td,"blocks-query-pagination-max-page-input"),a=[{icon:Ol,title:Object(Be.__)("List view"),onClick:()=>o({type:"list"}),isActive:"list"===(null==t?void 0:t.type)},{icon:jl.a,title:Object(Be.__)("Grid view"),onClick:()=>o({type:"flex",columns:(null==t?void 0:t.columns)||3}),isActive:"flex"===(null==t?void 0:t.type)}];return Object(Te.createElement)(Te.Fragment,null,!e.inherit&&Object(Te.createElement)(Le.ToolbarGroup,null,Object(Te.createElement)(Le.Dropdown,{contentClassName:"block-library-query-toolbar__popover",renderToggle:({onToggle:e})=>Object(Te.createElement)(Le.ToolbarButton,{icon:ed,label:Object(Be.__)("Display settings"),onClick:e}),renderContent:()=>Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Le.BaseControl,null,Object(Te.createElement)(Le.__experimentalNumberControl,{__unstableInputWidth:"60px",label:Object(Be.__)("Items per Page"),labelPosition:"edge",min:1,max:100,onChange:e=>{var t;return n({perPage:null!==(t=+e)&&void 0!==t?t:-1})},step:"1",value:e.perPage,isDragEnabled:!1})),Object(Te.createElement)(Le.BaseControl,null,Object(Te.createElement)(Le.__experimentalNumberControl,{__unstableInputWidth:"60px",label:Object(Be.__)("Offset"),labelPosition:"edge",min:0,max:100,onChange:e=>n({offset:+e}),step:"1",value:e.offset,isDragEnabled:!1})),Object(Te.createElement)(Le.BaseControl,{id:r,help:Object(Be.__)("Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).")},Object(Te.createElement)(Le.__experimentalNumberControl,{id:r,__unstableInputWidth:"60px",label:Object(Be.__)("Max page to show"),labelPosition:"edge",min:0,onChange:e=>n({pages:+e}),step:"1",value:e.pages,isDragEnabled:!1})))})),Object(Te.createElement)(Le.ToolbarGroup,{controls:a}))}const nd=e=>({terms:e,...null==e?void 0:e.reduce((e,t)=>{const{mapById:n,mapByName:o,names:r}=e;return n[t.id]=t,o[t.name]=t,r.push(t.name),e},{mapById:{},mapByName:{},names:[]})}),od=[{label:Object(Be.__)("Include"),value:""},{label:Object(Be.__)("Exclude"),value:"exclude"},{label:Object(Be.__)("Only"),value:"only"}];function rd({attributes:{query:e,displayLayout:t},setQuery:n,setDisplayLayout:o}){var r,a;const{order:c,orderBy:l,author:i,postType:s,sticky:u,inherit:m}=e,[d,b]=Object(Te.useState)(!0),[p,g]=Object(Te.useState)(!0),[h,v]=Object(Te.useState)("post"===s),{postTypesTaxonomiesMap:O,postTypesSelectOptions:j}=(()=>{const{postTypes:e}=Object(Ye.useSelect)(e=>{var t;const{getPostTypes:n}=e(Ee.store),o=["attachment"];return{postTypes:null===(t=n({per_page:-1}))||void 0===t?void 0:t.filter(({viewable:e,slug:t})=>e&&!o.includes(t))}},[]);return{postTypesTaxonomiesMap:Object(Te.useMemo)(()=>{if(null!=e&&e.length)return e.reduce((e,t)=>(e[t.slug]=t.taxonomies,e),{})},[e]),postTypesSelectOptions:Object(Te.useMemo)(()=>(e||[]).map(({labels:e,slug:t})=>({label:e.singular_name,value:t})),[e])}})(),{authorList:f,categories:y,tags:_}=Object(Ye.useSelect)(e=>{const{getEntityRecords:t}=e(Ee.store),n={per_page:100},o=t("taxonomy","category",n),r=t("taxonomy","post_tag",n);return{categories:nd(o),tags:nd(r),authorList:t("root","user",{per_page:-1})}},[]);Object(Te.useEffect)(()=>{if(!O)return;const e=O[s];b(e.includes("category")),g(e.includes("post_tag"))},[s,O]),Object(Te.useEffect)(()=>{v("post"===s)},[s]);const w=(e,t)=>o=>{const r=Array.from(o.reduce((t,n)=>{const o=((e,t)=>{var n;const o=(null==t?void 0:t.id)||(null===(n=e[t])||void 0===n?void 0:n.id);if(o)return o;const r=t.toLocaleLowerCase();for(const t in e)if(t.toLocaleLowerCase()===r)return e[t].id})(e.mapByName,n);return o&&t.add(o),t},new Set));n({[t]:r})},k=w(y,"categoryIds"),E=w(_,"tagIds"),[C,x]=Object(Te.useState)(e.search),S=Object(Te.useCallback)(Object(Se.debounce)(()=>{e.search!==C&&n({search:C})},250),[C,e.search]);Object(Te.useEffect)(()=>(S(),S.cancel),[C,S]);const B=t=>{const n={category:{queryProp:"categoryIds",terms:y},post_tag:{queryProp:"tagIds",terms:_}}[t];return(e[n.queryProp]||[]).reduce((e,t)=>{const o=n.terms.mapById[t];return o&&e.push({id:t,value:o.name}),e},[])};return Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Settings")},Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Inherit query from URL"),help:Object(Be.__)("Disable the option to customize the query arguments. Leave enabled to inherit the global query depending on the URL."),checked:!!m,onChange:e=>n({inherit:!!e})}),!m&&Object(Te.createElement)(Le.SelectControl,{options:j,value:s,label:Object(Be.__)("Post Type"),onChange:e=>{const t={postType:e};O[e].includes("category")||(t.categoryIds=[]),O[e].includes("post_tag")||(t.tagIds=[]),"post"!==e&&(t.sticky=""),n(t)}}),"flex"===(null==t?void 0:t.type)&&Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Le.RangeControl,{label:Object(Be.__)("Columns"),value:t.columns,onChange:e=>o({columns:e}),min:2,max:Math.max(6,t.columns)}),t.columns>6&&Object(Te.createElement)(Le.Notice,{status:"warning",isDismissible:!1},Object(Be.__)("This column count exceeds the recommended amount and may cause visual breakage."))),!m&&Object(Te.createElement)(Le.QueryControls,{order:c,orderBy:l,onOrderChange:e=>n({order:e}),onOrderByChange:e=>n({orderBy:e})}),h&&Object(Te.createElement)(Le.SelectControl,{label:Object(Be.__)("Sticky posts"),options:od,value:u,onChange:e=>n({sticky:e})})),!m&&Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Filters")},d&&(null==y||null===(r=y.terms)||void 0===r?void 0:r.length)>0&&Object(Te.createElement)(Le.FormTokenField,{label:Object(Be.__)("Categories"),value:B("category"),suggestions:y.names,onChange:k}),p&&(null==_||null===(a=_.terms)||void 0===a?void 0:a.length)>0&&Object(Te.createElement)(Le.FormTokenField,{label:Object(Be.__)("Tags"),value:B("post_tag"),suggestions:_.names,onChange:E}),Object(Te.createElement)(Le.QueryControls,{selectedAuthorId:i,authorList:f,onAuthorChange:e=>n({author:""!==e?+e:void 0})}),Object(Te.createElement)(Le.TextControl,{label:Object(Be.__)("Keyword"),value:C,onChange:x})))}var ad=({clientId:e,name:t,attributes:n,setAttributes:o})=>{var r;const{blockType:a,defaultVariation:c,scopeVariations:l,allVariations:i}=Object(Ye.useSelect)(e=>{const{getBlockVariations:n,getBlockType:o,getDefaultBlockVariation:r}=e(xe.store);return{blockType:o(t),defaultVariation:r(t,"block"),scopeVariations:n(t,"block"),allVariations:n(t)}},[t]),{replaceInnerBlocks:s}=Object(Ye.useDispatch)(Ce.store),u=Object(Ce.useBlockProps)(),m=Object(Ce.__experimentalGetMatchingVariation)(n,i),d=(null==m?void 0:m.icon)||(null==a||null===(r=a.icon)||void 0===r?void 0:r.src),b=(null==m?void 0:m.title)||(null==a?void 0:a.title);return Object(Te.createElement)("div",u,Object(Te.createElement)(Ce.__experimentalBlockVariationPicker,{icon:d,label:b,variations:l,onSelect:(t=c)=>{t.attributes&&o(t.attributes),t.innerBlocks&&s(e,Object(xe.createBlocksFromInnerBlocksTemplate)(t.innerBlocks),!1)}}))};const cd=[["core/query-loop"]];function ld({attributes:e,setAttributes:t}){const{queryId:n,query:o,displayLayout:r,tagName:a="div",layout:c={}}=e,{__unstableMarkNextChangeAsNotPersistent:l}=Object(Ye.useDispatch)(Ce.store),i=Object(Xe.useInstanceId)(ld),{themeSupportsLayout:s}=Object(Ye.useSelect)(e=>{var t;const{getSettings:n}=e(Ce.store);return{themeSupportsLayout:null===(t=n())||void 0===t?void 0:t.supportsLayout}},[]),u=Object(Ce.useSetting)("layout")||{},m=c&&c.inherit?u:c,{contentSize:d,wideSize:b}=m,p=Object(Ce.useBlockProps)(),g=Object(Te.useMemo)(()=>{if(s)return{type:"default",alignments:d||b?["wide","full"]:["left","center","right"]}},[s,d,b]),h=Object(Ce.__experimentalUseInnerBlocksProps)(p,{template:cd,__experimentalLayout:g}),{postsPerPage:v}=Object(Ye.useSelect)(e=>{const{getSettings:t}=e(Ce.store);return{postsPerPage:+t().postsPerPage||3}},[]);Object(Te.useEffect)(()=>{const e={};!o.perPage&&v&&(e.perPage=v),Object.keys(e).length&&(l(),O(e))},[o.perPage]),Object(Te.useEffect)(()=>{n||(l(),t({queryId:i}))},[n,i]);const O=e=>t({query:{...o,...e}}),j=e=>t({displayLayout:{...r,...e}});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(rd,{attributes:e,setQuery:O,setDisplayLayout:j}),Object(Te.createElement)(Ce.BlockControls,null,Object(Te.createElement)(td,{attributes:e,setQuery:O,setDisplayLayout:j})),Object(Te.createElement)(Ce.InspectorAdvancedControls,null,Object(Te.createElement)(Le.SelectControl,{label:Object(Be.__)("HTML element"),options:[{label:Object(Be.__)("Default (<div>)"),value:"div"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<aside>",value:"aside"}],value:a,onChange:e=>t({tagName:e})})),Object(Te.createElement)(a,h))}function id(e){const{clientId:t,name:n}=e,o=Object(Ce.useBlockProps)();return Object(Te.createElement)("div",o,Object(Te.createElement)(Ce.__experimentalBlockPatternSetup,{blockName:n,clientId:t,startBlankComponent:Object(Te.createElement)(ad,e)}))}const sd=Object(Te.createElement)(Le.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(Te.createElement)(Le.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zM7 26h12v1H7v-1zm34-5H7v3h34v-3zM7 38h12v1H7v-1zm34-5H7v3h34v-3z"})),ud=Object(Te.createElement)(Le.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(Te.createElement)(Le.Path,{d:"M41 9H7v3h34V9zm-4 5H7v1h30v-1zm4 3H7v1h34v-1zM7 20h30v1H7v-1zm0 12h30v1H7v-1zm34 3H7v1h34v-1zM7 38h30v1H7v-1zm34-11H7v3h34v-3z"})),md=Object(Te.createElement)(Le.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(Te.createElement)(Le.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zm22 3H7v1h34v-1zM7 20h34v1H7v-1zm0 12h12v1H7v-1zm34 3H7v1h34v-1zM7 38h34v1H7v-1zm34-11H7v3h34v-3z"})),dd=Object(Te.createElement)(Le.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(Te.createElement)(Le.Path,{d:"M7 9h34v6H7V9zm12 8H7v1h12v-1zm18 3H7v1h30v-1zm0 18H7v1h30v-1zM7 35h12v1H7v-1zm34-8H7v6h34v-6z"}));var bd=[{name:"posts-list",title:Object(Be.__)("Posts List"),description:Object(Be.__)("Display a list of your most recent posts, excluding sticky posts."),icon:pl,attributes:{query:{perPage:4,pages:1,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude"}},scope:["inserter"]},{name:"title-date",title:Object(Be.__)("Title & Date"),icon:sd,innerBlocks:[["core/query-loop",{},[["core/post-title"],["core/post-date"]]]],scope:["block"]},{name:"title-excerpt",title:Object(Be.__)("Title & Excerpt"),icon:ud,innerBlocks:[["core/query-loop",{},[["core/post-title"],["core/post-excerpt"]]]],scope:["block"]},{name:"title-date-excerpt",title:Object(Be.__)("Title, Date, & Excerpt"),icon:md,innerBlocks:[["core/query-loop",{},[["core/post-title"],["core/post-date"],["core/post-excerpt"]]]],scope:["block"]},{name:"image-date-title",title:Object(Be.__)("Image, Date, & Title"),icon:dd,innerBlocks:[["core/query-loop",{},[["core/post-featured-image"],["core/post-date"],["core/post-title"]]]],scope:["block"]}],pd=[{attributes:{queryId:{type:"number"},query:{type:"object",default:{perPage:null,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!0}},layout:{type:"object",default:{type:"list"}}},supports:{html:!1},save:()=>Object(Te.createElement)(Ce.InnerBlocks.Content,null)}];const gd=({attributes:{query:{postType:e}={}}={}})=>{if(!e)return null;const t=Object(et.addQueryArgs)("post-new.php",{post_type:e});return Object(Te.createElement)("div",{className:"wp-block-query__create-new-link"},Object(Te.createInterpolateElement)(Object(Be.__)("<a>Create a new post</a> for this feed."),{a:Object(Te.createElement)("a",{href:t})}))};var hd=Object(Xe.createHigherOrderComponent)(e=>t=>{const{name:n,isSelected:o}=t;return"core/query"===n&&o?Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(gd,t)),Object(Te.createElement)(e,Object(Ae.a)({key:"edit"},t))):Object(Te.createElement)(e,Object(Ae.a)({key:"edit"},t))},"withInspectorControls");const vd={apiVersion:2,name:"core/query",title:"Query",category:"design",description:"Displays a list of posts as a result of a query.",textdomain:"default",attributes:{queryId:{type:"number"},query:{type:"object",default:{perPage:null,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!0}},tagName:{type:"string",default:"div"},displayLayout:{type:"object",default:{type:"list"}}},providesContext:{queryId:"queryId",query:"query",displayLayout:"displayLayout"},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},__experimentalLayout:!0},editorStyle:"wp-block-query-editor"},{name:Od}=vd,jd={icon:Xm,edit:e=>{const{clientId:t}=e,n=Object(Ye.useSelect)(e=>!!e(Ce.store).getBlocks(t).length,[t])?ld:id;return Object(Te.createElement)(n,e)},save:function({attributes:{tagName:e="div"}}){return Object(Te.createElement)(e,Ce.useBlockProps.save(),Object(Te.createElement)(Ce.InnerBlocks.Content,null))},variations:bd,deprecated:pd};Object(Ht.addFilter)("editor.BlockEdit","core/query",hd);const fd=[["core/post-title"],["core/post-date"],["core/post-excerpt"]],yd={apiVersion:2,name:"core/query-loop",title:"Query Loop",category:"design",parent:["core/query"],description:"Query loop.",textdomain:"default",usesContext:["queryId","query","queryContext","displayLayout","templateSlug"],supports:{reusable:!1,html:!1,align:!0},style:"wp-block-query-loop",editorStyle:"wp-block-query-loop-editor"},{name:_d}=yd,wd={icon:Xm,edit:function({clientId:e,context:{query:{perPage:t,offset:n,categoryIds:o=[],postType:r,tagIds:a=[],order:c,orderBy:l,author:i,search:s,exclude:u,sticky:m,inherit:d}={},queryContext:b=[{page:1}],templateSlug:p,displayLayout:{type:g="flex",columns:h=1}={}}}){const[{page:v}]=b,[O,j]=Object(Te.useState)(),{posts:f,blocks:y}=Object(Ye.useSelect)(b=>{const{getEntityRecords:g}=b(Ee.store),{getBlocks:h}=b(Ce.store),O={offset:t?t*(v-1)+n:0,categories:o,tags:a,order:c,orderby:l};return t&&(O.per_page=t),i&&(O.author=i),s&&(O.search=s),null!=u&&u.length&&(O.exclude=u),m&&(O.sticky="only"===m),d&&null!=p&&p.startsWith("archive-")&&(O.postType=p.replace("archive-",""),r=O.postType),{posts:g("postType",r,O),blocks:h(e)}},[t,v,n,o,a,c,l,e,i,s,r,u,m,d,p]),_=Object(Te.useMemo)(()=>null==f?void 0:f.map(e=>({postType:e.type,postId:e.id})),[f]),w="flex"===g&&h>1,k=Object(Ce.useBlockProps)({className:Me()({"is-flex-container":w,["columns-"+h]:w})}),E=Object(Ce.__experimentalUseInnerBlocksProps)({},{template:fd});return f?f.length?Object(Te.createElement)("ul",k,_&&_.map(e=>Object(Te.createElement)(Ce.BlockContextProvider,{key:e.postId,value:e},e===(O||_[0])?Object(Te.createElement)("li",E):Object(Te.createElement)("li",null,Object(Te.createElement)(Ce.BlockPreview,{blocks:y,__experimentalLive:!0,__experimentalOnClick:()=>j(e)}))))):Object(Te.createElement)("p",k," ",Object(Be.__)("No results found.")):Object(Te.createElement)("p",k,Object(Te.createElement)(Le.Spinner,null))},save:function(){return Object(Te.createElement)(Ce.InnerBlocks.Content,null)}},kd=["archive"];var Ed=Object(Te.createElement)(ze.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Te.createElement)(ze.Path,{stroke:"#1E1E1E",strokeWidth:"1.5",d:"M4 19.25h9M4 15.25h16"}),Object(Te.createElement)(ze.Path,{d:"M8.994 10.103H6.08L5.417 12H4l2.846-8h1.383l2.845 8H9.657l-.663-1.897zm-.457-1.28l-.994-2.857-1.006 2.857h2z",fill:"#1E1E1E"}));const Cd=[{isDefault:!0,name:"archive-title",title:Object(Be.__)("Archive Title"),description:Object(Be.__)("Display the archive title based on the queried object."),icon:Ed,attributes:{type:"archive"},scope:["inserter"]}];Cd.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.type===t.type)});var xd=Cd;const Sd={apiVersion:2,name:"core/query-title",title:"Query Title",category:"design",description:"Display the query title.",textdomain:"default",attributes:{type:{type:"string"},textAlign:{type:"string"},level:{type:"number",default:1}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0}},editorStyle:"wp-block-query-title-editor"},{name:Bd}=Sd,Td={edit:function({attributes:{type:e,level:t,textAlign:n},setAttributes:o}){const r="h"+t,a=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+n]:n,"wp-block-query-title__placeholder":"archive"===e})});if(!kd.includes(e))return Object(Te.createElement)("div",a,Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Provided type is not supported.")));let c;return"archive"===e&&(c=Object(Te.createElement)(r,a,Object(Be.__)("Archive title"))),Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(yn,{selectedLevel:t,onChange:e=>o({level:e})}),Object(Te.createElement)(Ce.AlignmentControl,{value:n,onChange:e=>{o({textAlign:e})}})),c)},variations:xd};var zd=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Rect,{x:"4",y:"10.5",width:"6",height:"3",rx:"1.5",fill:"#000"}),Object(Te.createElement)(ze.Rect,{x:"12",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(Te.createElement)(ze.Rect,{x:"17",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}));const Pd=[["core/query-pagination-previous"],["core/query-pagination-numbers"],["core/query-pagination-next"]],Nd={apiVersion:2,name:"core/query-pagination",title:"Query Pagination",category:"design",parent:["core/query"],description:"Displays a paginated navigation to next/previous set of posts, when applicable.",textdomain:"default",usesContext:["queryId","query"],supports:{align:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0}},editorStyle:"wp-block-query-pagination-editor",style:"wp-block-query-pagination"},{name:Md}=Nd,Vd={icon:zd,edit:function(){const e=Object(Ce.useBlockProps)(),t=Object(Ce.__experimentalUseInnerBlocksProps)(e,{template:Pd,allowedBlocks:["core/query-pagination-previous","core/query-pagination-numbers","core/query-pagination-next"],orientation:"horizontal"});return Object(Te.createElement)("div",t)},save:function(){return Object(Te.createElement)("div",Ce.useBlockProps.save(),Object(Te.createElement)(Ce.InnerBlocks.Content,null))}};var Id=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Rect,{x:"6",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(Te.createElement)(ze.Rect,{x:"11",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(Te.createElement)(ze.Path,{d:"M16.5 9.5L19 12l-2.5 2.5",stroke:"#1E1E1E",strokeWidth:"1.5"}));const Rd={apiVersion:2,name:"core/query-pagination-next",title:"Query Pagination Next",category:"design",parent:["core/query-pagination"],description:"Displays the next posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query"],supports:{reusable:!1,html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0}}},{name:Hd}=Rd,Ad={icon:Id,edit:function({attributes:{label:e},setAttributes:t}){return Object(Te.createElement)(Ce.PlainText,Object(Ae.a)({__experimentalVersion:2,tagName:"a","aria-label":Object(Be.__)("Next page link"),placeholder:Object(Be.__)("Next Page"),value:e,onChange:e=>t({label:e})},Object(Ce.useBlockProps)()))}};var Ld=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Rect,{x:"4",y:"10.5",width:"6",height:"3",rx:"1.5",fill:"#000"}),Object(Te.createElement)(ze.Path,{d:"M13.5 14v-4l-1.5.5",stroke:"#1E1E1E"}),Object(Te.createElement)(ze.Path,{d:"M19.266 9.805c-.473-.611-1.22-.51-1.702-.367a3.854 3.854 0 00-.718.307l.13 1.082c.192-.17.47-.422.782-.515.34-.1.578.025.668.141.21.27-.034.835-.16 1.055-.49.85-.93 1.594-1.45 2.492H19.5v-1h-.914c.277-.574.814-1.443.914-2.106.052-.343.02-.762-.234-1.09z",fill:"#1E1E1E"}));const Dd=(e,t="a",n="")=>Object(Te.createElement)(t,{className:"page-numbers "+n},e),Fd={apiVersion:2,name:"core/query-pagination-numbers",title:"Query Pagination Numbers",category:"design",parent:["core/query-pagination"],description:"Displays a list of page numbers for pagination",textdomain:"default",usesContext:["queryId","query"],supports:{reusable:!1,html:!1},editorStyle:"query-pagination-numbers-editor"},{name:Gd}=Fd,Ud={icon:Ld,edit:function(){const e=Object(Te.createElement)(Te.Fragment,null,Dd(1),Dd(2),Dd(3,"span","current"),Dd(4),Dd(5),Dd("...","span","dots"),Dd(8));return Object(Te.createElement)("div",Object(Ce.useBlockProps)(),e)}};var qd=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Rect,{x:"18",y:"13.5",width:"3",height:"3",rx:"1.5",transform:"rotate(-180 18 13.5)",fill:"#000"}),Object(Te.createElement)(ze.Rect,{x:"13",y:"13.5",width:"3",height:"3",rx:"1.5",transform:"rotate(-180 13 13.5)",fill:"#000"}),Object(Te.createElement)(ze.Path,{d:"M7.5 14.5L5 12l2.5-2.5",stroke:"#1E1E1E",strokeWidth:"1.5"}));const Wd={apiVersion:2,name:"core/query-pagination-previous",title:"Query Pagination Previous",category:"design",parent:["core/query-pagination"],description:"Displays the previous posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query"],supports:{reusable:!1,html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0}}},{name:$d}=Wd,Zd={icon:qd,edit:function({attributes:{label:e},setAttributes:t}){return Object(Te.createElement)(Ce.PlainText,Object(Ae.a)({__experimentalVersion:2,tagName:"a","aria-label":Object(Be.__)("Previous page link"),placeholder:Object(Be.__)("Previous Page"),value:e,onChange:e=>t({label:e})},Object(Ce.useBlockProps)()))}};var Qd=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M6.6 6L5.4 7l4.5 5-4.5 5 1.1 1 5.5-6-5.4-6zm6 0l-1.1 1 4.5 5-4.5 5 1.1 1 5.5-6-5.5-6z"})),Jd=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M11.6 7l-1.1-1L5 12l5.5 6 1.1-1L7 12l4.6-5zm6 0l-1.1-1-5.5 6 5.5 6 1.1-1-4.6-5 4.6-5z"}));const Kd=[{isDefault:!0,name:"post-next",title:Object(Be.__)("Next post"),description:Object(Be.__)("Displays the post link that follows the current post."),icon:Qd,attributes:{type:"next"},scope:["inserter","transform"]},{name:"post-previous",title:Object(Be.__)("Previous post"),description:Object(Be.__)("Displays the post link that precedes the current post."),icon:Jd,attributes:{type:"previous"},scope:["inserter","transform"]}];Kd.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.type===t.type)});var Yd=Kd;const Xd={apiVersion:2,name:"core/post-navigation-link",title:"Post Navigation Link",category:"design",description:"Displays the next or previous post link that is adjacent to the current post.",textdomain:"default",attributes:{textAlign:{type:"string"},type:{type:"string",default:"next"},label:{type:"string"},showTitle:{type:"boolean",default:!1}},supports:{reusable:!1,html:!1}},{name:eb}=Xd,tb={edit:function({attributes:{type:e,label:t,showTitle:n,textAlign:o},setAttributes:r}){const a="next"===e,c=a?Object(Be.__)("Next"):Object(Be.__)("Previous"),l=a?Object(Be.__)("Next post"):Object(Be.__)("Previous post"),i=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+o]:o})});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,null,Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Display the title as a link"),help:Object(Be.__)("If you have entered a custom label, it will be prepended before the title."),checked:!!n,onChange:()=>r({showTitle:!n})}))),Object(Te.createElement)(Ce.BlockControls,null,Object(Te.createElement)(Ce.AlignmentToolbar,{value:o,onChange:e=>{r({textAlign:e})}})),Object(Te.createElement)("div",i,Object(Te.createElement)(Ce.RichText,{tagName:"a","aria-label":l,placeholder:c,value:t,allowedFormats:["core/bold","core/italic"],onChange:e=>r({label:e})})))},variations:Yd},nb={apiVersion:2,name:"core/post-title",title:"Post Title",category:"design",description:"Displays the title of a post, page, or any other content-type.",textdomain:"default",usesContext:["postId","postType"],attributes:{textAlign:{type:"string"},level:{type:"number",default:2},isLink:{type:"boolean",default:!1},rel:{type:"string",attribute:"rel",default:""},linkTarget:{type:"string",default:"_self"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0}},style:"wp-block-post-title"},{name:ob}=nb,rb={icon:Qc,edit:function({attributes:{level:e,textAlign:t,isLink:n,rel:o,linkTarget:r},setAttributes:a,context:{postType:c,postId:l}}){const i=0===e?"p":"h"+e,s=Object(Ye.useSelect)(e=>e(Ee.store).getEditedEntityRecord("postType",c,l),[c,l]),{editEntityRecord:u}=Object(Ye.useDispatch)(Ee.store),m=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+t]:t})});if(!s)return null;const{title:d="",link:b}=s;let p=Object(Te.createElement)(i,n?{}:m,Object(Be.__)("An example title"));return c&&l&&(p=Object(Te.createElement)(Ce.PlainText,Object(Ae.a)({tagName:i,placeholder:Object(Be.__)("No Title"),value:d,onChange:e=>u("postType",c,l,{title:e}),__experimentalVersion:2},n?{}:m))),n&&(p=Object(Te.createElement)(i,m,Object(Te.createElement)(Ce.PlainText,{tagName:"a",href:b,target:r,rel:o,placeholder:0===d.length?Object(Be.__)("No Title"):null,value:d,onChange:e=>u("postType",c,l,{title:e}),__experimentalVersion:2}))),Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(yn,{selectedLevel:e,onChange:e=>a({level:e})}),Object(Te.createElement)(Ce.AlignmentControl,{value:t,onChange:e=>{a({textAlign:e})}})),Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Link settings")},Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Make title a link"),onChange:()=>a({isLink:!n}),checked:n}),n&&Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Open in new tab"),onChange:e=>a({linkTarget:e?"_blank":"_self"}),checked:"_blank"===r}),Object(Te.createElement)(Le.TextControl,{label:Object(Be.__)("Link rel"),value:o,onChange:e=>a({rel:e})})))),p)}};var ab=Object(Te.createElement)(ze.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M4 20h16v-1.5H4V20zm0-4.8h16v-1.5H4v1.5zm0-6.4v1.5h16V8.8H4zM16 4H4v1.5h12V4z"}));function cb({layout:e,postType:t,postId:n}){const o=Object(Ye.useSelect)(e=>{var t;const{getSettings:n}=e(Ce.store);return null===(t=n())||void 0===t?void 0:t.supportsLayout},[]),r=Object(Ce.useSetting)("layout")||{},a=e&&e.inherit?r:e,{contentSize:c,wideSize:l}=a,i=Object(Te.useMemo)(()=>{if(o)return{type:"default",alignments:c||l?["wide","full"]:["left","center","right"]}},[o,c,l]),[s,u,m]=Object(Ee.useEntityBlockEditor)("postType",t,{id:n}),d=Object(Ce.__experimentalUseInnerBlocksProps)(Object(Ce.useBlockProps)({className:"entry-content"}),{value:s,onInput:u,onChange:m,__experimentalLayout:i});return Object(Te.createElement)("div",d)}function lb(){const e=Object(Ce.useBlockProps)();return Object(Te.createElement)("div",e,Object(Te.createElement)("div",{className:"wp-block-post-content__placeholder"},Object(Te.createElement)("span",null,Object(Be.__)("This is a placeholder for post content."))))}function ib(){const e=Object(Ce.useBlockProps)();return Object(Te.createElement)("div",e,Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Block cannot be rendered inside itself.")))}const sb={apiVersion:2,name:"core/post-content",title:"Post Content",category:"design",description:"Displays the contents of a post or page.",textdomain:"default",usesContext:["postId","postType"],supports:{align:["wide","full"],html:!1,__experimentalLayout:!0},editorStyle:"wp-block-post-content-editor"},{name:ub}=sb,mb={icon:ab,edit:function({context:{postId:e,postType:t},attributes:n}){const{layout:o={}}=n,[r,a]=Object(Ce.__experimentalUseNoRecursiveRenders)(e);return e&&t&&r?Object(Te.createElement)(ib,null):Object(Te.createElement)(a,null,e&&t?Object(Te.createElement)(cb,{postType:t,postId:e,layout:o}):Object(Te.createElement)(lb,null))}};var db=Object(Te.createElement)(Le.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(Le.Path,{d:"M5.8 11c0-.7.6-1.2 1.2-1.2h4c.7 0 1.2.6 1.2 1.2v1h1.5v-1c0-1.5-1.2-2.8-2.8-2.8H7c-1.5 0-2.8 1.2-2.8 2.8v1h1.5v-1zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zM9 7c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}));const bb={apiVersion:2,name:"core/post-author",title:"Post Author",category:"design",description:"Add the author of this post.",textdomain:"default",attributes:{textAlign:{type:"string"},avatarSize:{type:"number",default:48},showAvatar:{type:"boolean",default:!0},showBio:{type:"boolean"},byline:{type:"string"}},usesContext:["postType","postId"],supports:{html:!1,typography:{fontSize:!0,lineHeight:!0},color:{gradients:!0,link:!0}},editorStyle:"wp-block-post-author-editor",style:"wp-block-post-author"},{name:pb}=bb,gb={icon:db,edit:function({isSelected:e,context:t,attributes:n,setAttributes:o}){const{postType:r,postId:a}=t,{authorId:c,authorDetails:l,authors:i}=Object(Ye.useSelect)(e=>{var t;const{getEditedEntityRecord:n,getUser:o,getUsers:c}=e(Ee.store),l=null===(t=n("postType",r,a))||void 0===t?void 0:t.author;return{authorId:l,authorDetails:l?o(l):null,authors:c({who:"authors"})}},[r,a]),{editEntityRecord:s}=Object(Ye.useDispatch)(Ee.store),{textAlign:u,showAvatar:m,showBio:d,byline:b}=n,p=[];l&&Object(Se.forEach)(l.avatar_urls,(e,t)=>{p.push({value:t,label:`${t} x ${t}`})});const g=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+u]:u})});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Author Settings")},!(null==i||!i.length)&&Object(Te.createElement)(Le.SelectControl,{label:Object(Be.__)("Author"),value:c,options:i.map(({id:e,name:t})=>({value:e,label:t})),onChange:e=>{s("postType",r,a,{author:e})}}),Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Show avatar"),checked:m,onChange:()=>o({showAvatar:!m})}),m&&Object(Te.createElement)(Le.SelectControl,{label:Object(Be.__)("Avatar size"),value:n.avatarSize,options:p,onChange:e=>{o({avatarSize:Number(e)})}}),Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Show bio"),checked:d,onChange:()=>o({showBio:!d})}))),Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:u,onChange:e=>{o({textAlign:e})}})),Object(Te.createElement)("div",g,m&&l&&Object(Te.createElement)("div",{className:"wp-block-post-author__avatar"},Object(Te.createElement)("img",{width:n.avatarSize,src:l.avatar_urls[n.avatarSize],alt:l.name})),Object(Te.createElement)("div",{className:"wp-block-post-author__content"},(!Ce.RichText.isEmpty(b)||e)&&Object(Te.createElement)(Ce.RichText,{className:"wp-block-post-author__byline",multiline:!1,"aria-label":Object(Be.__)("Post author byline text"),placeholder:Object(Be.__)("Write byline…"),value:b,onChange:e=>o({byline:e})}),Object(Te.createElement)("p",{className:"wp-block-post-author__name"},(null==l?void 0:l.name)||Object(Be.__)("Post Author")),d&&Object(Te.createElement)("p",{className:"wp-block-post-author__bio"},null==l?void 0:l.description))))}};var hb=n(146);const vb=["core/post-comment-content","core/post-comment-author"],Ob={apiVersion:2,name:"core/post-comment",title:"Post Comment",category:"design",description:"Post comment.",textdomain:"default",attributes:{commentId:{type:"number"}},providesContext:{commentId:"commentId"},supports:{html:!1}},{name:jb}=Ob,fb={icon:ul,edit:function({attributes:e,setAttributes:t}){const{commentId:n}=e,[o,r]=Object(Te.useState)(n),a=Object(Ce.useBlockProps)();return n?Object(Te.createElement)("div",a,Object(Te.createElement)(Ce.InnerBlocks,{allowedBlocks:vb})):Object(Te.createElement)("div",a,Object(Te.createElement)(Le.Placeholder,{icon:hb.a,label:Object(Be.__)("Post Comment"),instructions:Object(Be.__)("To show a comment, input the comment ID.")},Object(Te.createElement)(Le.TextControl,{value:n,onChange:e=>r(parseInt(e))}),Object(Te.createElement)(Le.Button,{variant:"primary",onClick:()=>{t({commentId:o})}},Object(Be.__)("Save"))))},save:function(){return Object(Te.createElement)("div",Ce.useBlockProps.save(),Object(Te.createElement)(Ce.InnerBlocks.Content,null))}};var yb=Object(Te.createElement)(Le.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(Le.Path,{d:"M5.8 11c0-.7.6-1.2 1.2-1.2h4c.7 0 1.2.6 1.2 1.2v1h1.5v-1c0-1.5-1.2-2.8-2.8-2.8H7c-1.5 0-2.8 1.2-2.8 2.8v1h1.5v-1zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zM9 7c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}));const _b={apiVersion:2,name:"core/post-comment-author",title:"Post Comment Author",category:"design",parent:["core/post-comment"],description:"Post comment author.",textdomain:"default",usesContext:["commentId"],supports:{html:!1}},{name:wb}=_b,kb={icon:yb,edit:function({attributes:e,context:t}){const{className:n}=e,{commentId:o}=t,r=Object(Ye.useSelect)(e=>{const{getEntityRecord:t}=e(Ee.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:Object(Be.__)("Anonymous")}return null!=r?r:""});return Object(Te.createElement)("div",Object(Ce.useBlockProps)(),Object(Te.createElement)("p",{className:n},r))}},Eb={apiVersion:2,name:"core/post-comment-content",title:"Post Comment Content",category:"design",parent:["core/post-comment"],description:"Post comment content",textdomain:"default",usesContext:["commentId"],supports:{html:!1}},{name:Cb}=Eb,xb={icon:ab,edit:function({attributes:e,context:t}){const{className:n}=e,{commentId:o}=t,[r]=Object(Ee.useEntityProp)("root","comment","content",o);return Object(Te.createElement)("div",Object(Ce.useBlockProps)(),Object(Te.createElement)("p",{className:n},r))}};var Sb=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.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"}),Object(Te.createElement)(ze.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"}));const Bb={apiVersion:2,name:"core/post-comment-date",title:"Post Comment Date",category:"design",parent:["core/post-comment"],description:"Post comment date.",textdomain:"default",attributes:{format:{type:"string"}},usesContext:["commentId"],supports:{html:!1}},{name:Tb}=Bb,zb={icon:Sb,edit:function({attributes:e,context:t,setAttributes:n}){const{className:o,format:r}=e,{commentId:a}=t,c=Object(vl.__experimentalGetSettings)(),[l]=Object(Ee.useEntityProp)("root","site","date_format"),[i]=Object(Ee.useEntityProp)("root","comment","date",a),s=Object.values(c.formats).map(e=>({key:e,name:Object(vl.dateI18n)(e,i)})),u=r||l||c.formats.date,m=Object(Ce.useBlockProps)({className:o});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Format settings")},Object(Te.createElement)(Le.CustomSelectControl,{hideLabelFromVision:!0,label:Object(Be.__)("Date Format"),options:s,onChange:({selectedItem:e})=>n({format:e.key}),value:s.find(e=>e.key===u)}))),Object(Te.createElement)("div",m,Object(Te.createElement)("time",{dateTime:Object(vl.dateI18n)("c",i)},Object(vl.dateI18n)(u,i))))}};var Pb=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.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"}));function Nb({postId:e}){return Object(Ye.useSelect)(t=>{const n=t(Ee.store).getEntityRecords("root","comment",{post:e});return n&&n.length?n.map(e=>Object(Te.createElement)(Te.RawHTML,{className:"wp-block-post-comments__comment",key:e.id},e.content.rendered)):Object(Be.__)("No comments.")},[e])}const Mb={apiVersion:2,name:"core/post-comments",title:"Post Comments",category:"design",description:"Display a post's comments.",textdomain:"default",attributes:{textAlign:{type:"string"}},usesContext:["postId","postType"],supports:{html:!1,align:["wide","full"],typography:{fontSize:!0,lineHeight:!0},color:{gradients:!0,link:!0}},style:"wp-block-post-comments"},{name:Vb}=Mb,Ib={icon:Pb,edit:function({attributes:e,setAttributes:t,context:n}){const{postType:o,postId:r}=n,{textAlign:a}=e,c=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+a]:a})});return o&&r?Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:a,onChange:e=>{t({textAlign:e})}})),Object(Te.createElement)("div",c,Object(Te.createElement)(Nb,{postId:r}))):Object(Te.createElement)("div",c,Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Post comments block: no post found.")))}};var Rb=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.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-1V13c0-.6-.4-1-1-1zm-2.2 6.6H7l1.6-2.2c.3-.4.5-.7.6-.9.1-.2.2-.4.2-.5 0-.2-.1-.3-.1-.4-.1-.1-.2-.1-.4-.1s-.4 0-.6.1c-.3.1-.5.3-.7.4l-.2.2-.2-1.2.1-.1c.3-.2.5-.3.8-.4.3-.1.6-.1.9-.1.3 0 .6.1.9.2.2.1.4.3.6.5.1.2.2.5.2.7 0 .3-.1.6-.2.9-.1.3-.4.7-.7 1.1l-.5.6h1.6v1.2z"}));const Hb={apiVersion:2,name:"core/post-comments-count",title:"Post Comments Count",category:"design",description:"Display a post's comments count.",textdomain:"default",attributes:{textAlign:{type:"string"}},usesContext:["postId"],supports:{html:!1,color:{gradients:!0},typography:{fontSize:!0,lineHeight:!0}}},{name:Ab}=Hb,Lb={icon:Rb,edit:function({attributes:e,context:t,setAttributes:n}){const{textAlign:o}=e,{postId:r}=t,[a,c]=Object(Te.useState)(),l=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+o]:o})});return Object(Te.useEffect)(()=>{if(!r)return;const e=r;Rt()({path:Object(et.addQueryArgs)("/wp/v2/comments",{post:r}),parse:!1}).then(t=>{e===r&&c(t.headers.get("X-WP-Total"))})},[r]),Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:o,onChange:e=>{n({textAlign:e})}})),Object(Te.createElement)("div",l,r&&void 0!==a?a:Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Post Comments Count block: post not found."))))}};var Db=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.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-1V13c0-.6-.4-1-1-1zm-.5 6.6H6.7l-1.2 1.2v-6.3h7v5.1z"}));const Fb={apiVersion:2,name:"core/post-comments-form",title:"Post Comments Form",category:"design",description:"Display a post's comments form.",textdomain:"default",attributes:{textAlign:{type:"string"}},usesContext:["postId","postType"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0}},style:"wp-block-post-comments-form"},{name:Gb}=Fb,Ub={icon:Db,edit:function({attributes:e,context:t,setAttributes:n}){const{textAlign:o}=e,{postId:r,postType:a}=t,[c]=Object(Ee.useEntityProp)("postType",a,"comment_status",r),l=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+o]:o})});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:o,onChange:e=>{n({textAlign:e})}})),Object(Te.createElement)("div",l,!c&&Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Post Comments Form block: comments are not enabled for this post type.")),"open"!==c&&Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Post Comments Form block: comments to this post are not allowed.")),"open"===c&&Object(Be.__)("Post Comments Form")))}};const qb={apiVersion:2,name:"core/post-comments-link",title:"Post Comments Link",category:"design",description:"Displays the link to the current post comments.",textdomain:"default",usesContext:["postType","postId"],attributes:{textAlign:{type:"string"}},supports:{html:!1,color:{link:!0,text:!1},typography:{fontSize:!0,lineHeight:!0}}},{name:Wb}=qb,$b={edit:function({context:e,attributes:t,setAttributes:n}){const{textAlign:o}=t,{postType:r,postId:a}=e,[c,l]=Object(Te.useState)(),i=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+o]:o})});Object(Te.useEffect)(()=>{if(!a)return;const e=a;Rt()({path:Object(et.addQueryArgs)("/wp/v2/comments",{post:a}),parse:!1}).then(t=>{e===a&&l(t.headers.get("X-WP-Total"))})},[a]);const s=Object(Ye.useSelect)(e=>e(Ee.store).getEditedEntityRecord("postType",r,a),[r,a]);if(!s)return null;const{link:u}=s;let m;if(void 0!==c){const e=parseInt(c);m=0===e?Object(Be.__)("No comments"):Object(Be.sprintf)(
88
  /* translators: %s: Number of comments */
89
- Object(Be._n)("%s comment","%s comments",e),e.toLocaleString())}return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:o,onChange:e=>{n({textAlign:e})}})),Object(Te.createElement)("div",i,u&&void 0!==m?Object(Te.createElement)("a",{href:u+"#comments",onClick:e=>e.preventDefault()},m):Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Post Comments Link block: post not found."))))},icon:Rb},Zb={apiVersion:2,name:"core/post-date",title:"Post Date",category:"design",description:"Add the date of this post.",textdomain:"default",attributes:{textAlign:{type:"string"},format:{type:"string"},isLink:{type:"boolean",default:!1}},usesContext:["postId","postType"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0}}},{name:Qb}=Zb,Jb={icon:Sb,edit:function({attributes:e,context:t,setAttributes:n}){const{textAlign:o,format:r,isLink:a}=e,{postId:c,postType:l}=t,[i]=Object(Ee.useEntityProp)("root","site","date_format"),[s,u]=Object(Ee.useEntityProp)("postType",l,"date",c),[m,d]=Object(Te.useState)(!1),b=Object(vl.__experimentalGetSettings)(),p=/a(?!\\)/i.test(b.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join("")),g=Object.values(b.formats).map(e=>({key:e,name:Object(vl.dateI18n)(e,s)})),h=r||i||b.formats.date,v=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+o]:o})});let O=s?Object(Te.createElement)("time",{dateTime:Object(vl.dateI18n)("c",s)},Object(vl.dateI18n)(h,s),m&&Object(Te.createElement)(Le.Popover,{onClose:d.bind(null,!1)},Object(Te.createElement)(Le.DateTimePicker,{currentDate:s,onChange:u,is12Hour:p}))):Object(Be.__)("No Date");return a&&s&&(O=Object(Te.createElement)("a",{href:"#post-date-pseudo-link",onClick:e=>e.preventDefault()},O)),Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:o,onChange:e=>{n({textAlign:e})}}),s&&Object(Te.createElement)(Le.ToolbarButton,{icon:qn.a,title:Object(Be.__)("Change Date"),onClick:()=>d(e=>!e)})),Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Format settings")},Object(Te.createElement)(Le.CustomSelectControl,{hideLabelFromVision:!0,label:Object(Be.__)("Date Format"),options:g,onChange:({selectedItem:e})=>n({format:e.key}),value:g.find(e=>e.key===h)})),Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Link settings")},Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.sprintf)(// translators: %s: Name of the post type e.g: "post".
90
- Object(Be.__)("Link to %s"),l),onChange:()=>n({isLink:!a}),checked:a}))),Object(Te.createElement)("div",v,O))}};var Kb=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M12.75 9.333c0 .521-.102.977-.327 1.354-.23.386-.555.628-.893.774-.545.234-1.183.227-1.544.222l-.12-.001v-1.5h.123c.414.001.715.002.948-.099a.395.395 0 00.199-.166c.05-.083.114-.253.114-.584V7.2H8.8V4h3.95v5.333zM7.95 9.333c0 .521-.102.977-.327 1.354-.23.386-.555.628-.893.774-.545.234-1.183.227-1.544.222l-.12-.001v-1.5h.123c.414.001.715.002.948-.099a.394.394 0 00.198-.166c.05-.083.115-.253.115-.584V7.2H4V4h3.95v5.333zM13 20H4v-1.5h9V20zM20 16H4v-1.5h16V16z"}));const Yb={apiVersion:2,name:"core/post-excerpt",title:"Post Excerpt",category:"design",description:"Display a post's excerpt.",textdomain:"default",attributes:{textAlign:{type:"string"},wordCount:{type:"number",default:55},moreText:{type:"string"},showMoreOnNewLine:{type:"boolean",default:!0}},usesContext:["postId","postType"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0}},editorStyle:"wp-block-post-excerpt-editor",style:"wp-block-post-excerpt"},{name:Xb}=Yb,ep={icon:Kb,edit:function({attributes:{textAlign:e,wordCount:t,moreText:n,showMoreOnNewLine:o},setAttributes:r,isSelected:a,context:{postId:c,postType:l}}){const[i,s]=Object(Ee.useEntityProp)("postType",l,"excerpt",c),u=function(e,t,n){const[,,o]=Object(Ee.useEntityProp)("postType",n,"content",t),r=null==o?void 0:o.raw;return Object(Te.useMemo)(()=>{if(!r)return"";const t=document.createElement("div");return t.innerHTML=r,(t.textContent||t.innerText||"").trim().split(" ",e).join(" ")},[r,e])}(t,c,l),m=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+e]:e})});if(!l||!c)return Object(Te.createElement)("div",m,Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Post excerpt block: no post found.")));const d=Object(Te.createElement)(Ce.RichText,{className:"wp-block-post-excerpt__more-link",tagName:"a","aria-label":Object(Be.__)('"Read more" link text'),placeholder:Object(Be.__)('Add "read more" link text'),value:n,onChange:e=>r({moreText:e})});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,null,Object(Te.createElement)(Ce.AlignmentToolbar,{value:e,onChange:e=>r({textAlign:e})})),Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Post Excerpt Settings")},!i&&Object(Te.createElement)(Le.RangeControl,{label:Object(Be.__)("Max words"),value:t,onChange:e=>r({wordCount:e}),min:10,max:100}),Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Show link on new line"),checked:o,onChange:e=>r({showMoreOnNewLine:e})}))),Object(Te.createElement)("div",m,Object(Te.createElement)(Ce.RichText,{className:!o&&"wp-block-post-excerpt__excerpt is-inline","aria-label":Object(Be.__)("Post excerpt text"),value:i||u||(a?"":Object(Be.__)("No post excerpt found")),onChange:s}),!o&&" ",o?Object(Te.createElement)("p",{className:"wp-block-post-excerpt__more-text"},d):d))}};var tp=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"}));const np=["image"],op=Object(Te.createElement)("div",{className:"post-featured-image_placeholder"},Object(Te.createElement)(Le.Icon,{icon:tp}),Object(Te.createElement)("p",null," ",Object(Be.__)("Featured Image"))),rp=Object(Le.withNotices)((function({attributes:{isLink:e},setAttributes:t,context:{postId:n,postType:o},noticeUI:r,noticeOperations:a}){const[c,l]=Object(Ee.useEntityProp)("postType",o,"featured_media",n),i=Object(Ye.useSelect)(e=>c&&e(Ee.store).getMedia(c),[c]),s=e=>{null!=e&&e.id&&l(e.id)};function u(e){a.removeAllNotices(),a.createErrorNotice(e)}let m;return m=c?i?Object(Te.createElement)("img",{src:i.source_url,alt:i.alt_text||Object(Be.__)("Featured image")}):op:Object(Te.createElement)(Ce.MediaPlaceholder,{icon:Object(Te.createElement)(Ce.BlockIcon,{icon:tp}),onSelect:s,notices:r,onError:u,accept:"image/*",allowedTypes:np,labels:{title:Object(Be.__)("Featured image"),instructions:Object(Be.__)("Upload a media file or pick one from your media library.")}}),Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Link settings")},Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.sprintf)(// translators: %s: Name of the post type e.g: "post".
91
- Object(Be.__)("Link to %s"),o),onChange:()=>t({isLink:!e}),checked:e}))),Object(Te.createElement)(Ce.BlockControls,{group:"other"},!!i&&Object(Te.createElement)(Ce.MediaReplaceFlow,{mediaId:c,mediaURL:i.source_url,allowedTypes:np,accept:"image/*",onSelect:s,onError:u})),Object(Te.createElement)("figure",Object(Ce.useBlockProps)(),m))})),ap={apiVersion:2,name:"core/post-featured-image",title:"Post Featured Image",category:"design",description:"Display a post's featured image.",textdomain:"default",attributes:{isLink:{type:"boolean",default:!1}},usesContext:["postId","postType"],supports:{align:["left","right","center","wide","full"],html:!1},editorStyle:"wp-block-post-featured-image-editor",style:"wp-block-post-featured-image"},{name:cp}=ap,lp={icon:tp,edit:function(e){var t;const n=Object(Ce.useBlockProps)();return null!==(t=e.context)&&void 0!==t&&t.postId?Object(Te.createElement)(rp,e):Object(Te.createElement)("div",n,op)}};var ip=Object(Te.createElement)(ze.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Te.createElement)(ze.Path,{d:"M20 4H4v1.5h16V4zm-2 9h-3c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3zM4 9.5h9V8H4v1.5zM9 13H6c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3z",fillRule:"evenodd",clipRule:"evenodd"})),sp=[{name:"category",title:Object(Be.__)("Post Categories"),description:Object(Be.__)("Display a post's categories."),icon:ip,isDefault:!0,attributes:{term:"category"},isActive:e=>"category"===e.term},{name:"post_tag",title:Object(Be.__)("Post Tags"),description:Object(Be.__)("Display a post's tags."),icon:ip,attributes:{term:"post_tag"},isActive:e=>"post_tag"===e.term}];const up={apiVersion:2,name:"core/post-terms",title:"Post Terms",category:"design",description:"Post terms.",textdomain:"default",attributes:{term:{type:"string"},textAlign:{type:"string"}},usesContext:["postId","postType"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{lineHeight:!0,fontSize:!0}}},{name:mp}=up,dp={variations:sp,edit:function({attributes:e,context:t,setAttributes:n}){var o;const{term:r,textAlign:a}=e,{postId:c,postType:l}=t,i=Object(Ye.useSelect)(e=>{if(!r)return{};const t=e(Ee.store).getTaxonomies({per_page:-1});return Object(Se.find)(t,e=>e.slug===r&&e.visibility.show_ui)||{}},[r]),{termLinks:s,isLoadingTermLinks:u}=function({postId:e,postType:t,term:n}){const{rest_base:o,slug:r}=n,[a]=Object(Ee.useEntityProp)("postType",t,o,e),{termLinks:c,isLoadingTermLinks:l}=Object(Ye.useSelect)(e=>{const{getEntityRecord:t}=e(Ee.store);let n=!0;return{termLinks:Object(Se.map)(a,e=>{const o=t("taxonomy",r,e);return o?Object(Te.createElement)("a",{key:e,href:o.link,onClick:e=>e.preventDefault()},o.name):n=!1}),isLoadingTermLinks:!n}},[a]);return{termLinks:c,isLoadingTermLinks:l}}({postId:c,postType:l,term:i}),m=c&&l,d=s&&s.length>0,b=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+a]:a})});return m?r?Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,null,Object(Te.createElement)(Ce.AlignmentToolbar,{value:a,onChange:e=>{n({textAlign:e})}})),Object(Te.createElement)("div",b,u&&Object(Te.createElement)(Le.Spinner,null),d&&!u&&s.reduce((e,t)=>[e," | ",t]),!u&&!d&&((null==i||null===(o=i.labels)||void 0===o?void 0:o.no_terms)||Object(Be.__)("Term items not found.")))):Object(Te.createElement)("div",b,Object(Be.__)("Post Terms block: no term specified.")):Object(Te.createElement)("div",b,Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Post Terms block: post not found.")))}};var bp=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{stroke:"#1E1E1E",strokeWidth:"1.5",d:"M9 19.25h6M4 19.25h4M12 15.25h8M4 15.25h7"}),Object(Te.createElement)(ze.Path,{d:"M8.994 10.103H6.08L5.417 12H4l2.846-8h1.383l2.845 8H9.657l-.663-1.897zm-.457-1.28l-.994-2.857-1.006 2.857h2z",fill:"#1E1E1E"}));const pp={apiVersion:2,name:"core/term-description",title:"Term Description",category:"design",description:"Display the description of categories, tags and custom taxonomies when viewing an archive.",textdomain:"default",attributes:{textAlign:{type:"string"}},supports:{align:["wide","full"],html:!1,color:{link:!0},typography:{fontSize:!0,lineHeight:!0}},editorStyle:"wp-block-term-description-editor"},{name:gp}=pp,hp={icon:bp,edit:function({attributes:e,setAttributes:t,mergedStyle:n}){const{textAlign:o}=e,r=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+o]:o}),style:n});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:o,onChange:e=>{t({textAlign:e})}})),Object(Te.createElement)("div",r,Object(Te.createElement)("div",{className:"wp-block-term-description__placeholder"},Object(Te.createElement)("span",null,Object(Be.__)("Term description.")))))}},vp=e=>{if(!e)return;const{metadata:t,settings:n,name:o}=e;Object(xe.registerBlockType)({name:o,...t},n)},Op=()=>[o,r,a,l,B,c,D,i,s,u,m,d,b,p,g,h,v,O,j,A,window.wp&&window.wp.oldEditor?Z:null,f,y,E,C,x,T,z,P,N,M,V,R,H,L,I,Q,J,F,G,$,U,q,W,K,Y,X,te,ne,oe,re,ae,ce,le,se,ue,fe,ye,_e,we,S],jp=(e=Op())=>{e.forEach(vp),Object(xe.setDefaultBlockName)(We),window.wp&&window.wp.oldEditor&&Object(xe.setFreeformContentHandlerName)(Qu),Object(xe.setUnregisteredTypeHandlerName)(bi),Object(xe.setGroupingBlockName)(hs)},fp=({enableFSEBlocks:e}={})=>{[_,w,k,...e?[ee,me,de,be,pe,ge,he,ve,Oe,je,ie,ke]:[]].forEach(vp)}},4:function(e,t){e.exports=window.wp.data},44:function(e,t){e.exports=window.wp.date},48:function(e,t,n){e.exports=function(e,t){var n,o,r=0;function a(){var a,c,l=n,i=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(c=0;c<i;c++)if(l.args[c]!==arguments[c]){l=l.next;continue e}return l!==n&&(l===o&&(o=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=n,l.prev=null,n.prev=l,n=l),l.val}l=l.next}for(a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return l={args:a,val:e.apply(null,a)},n?(n.prev=l,l.next=n):o=l,r===t.maxSize?(o=o.prev).next=null:r++,n=l,l.val}return t=t||{},a.clear=function(){n=null,o=null,r=0},a}},5:function(e,t){e.exports=window.wp.blockEditor},52:function(e,t){e.exports=window.wp.viewport},6:function(e,t){e.exports=window.wp.primitives},60:function(e,t){e.exports=window.wp.serverSideRender},7:function(e,t,n){"use strict";function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return o}))},8:function(e,t){e.exports=window.wp.blocks},9:function(e,t){e.exports=window.wp.compose},91:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.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"}));t.a=a},92:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=a}});
1
+ window.wp=window.wp||{},window.wp.blockLibrary=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=395)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},10:function(e,t,n){var o;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o))e.push(r.apply(null,o));else if("object"===a)for(var c in o)n.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}e.exports?e.exports=r:void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},100:function(e,t){e.exports=window.wp.reusableBlocks},104:function(e,t){e.exports=window.wp.autop},106:function(e,t,n){var o;!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,o=0;o<n;++o)r(e,t[o])}e.prototype=Object.create(null);var n={}.hasOwnProperty,o=/\s+/;function r(e,r){if(r){var a=typeof r;"string"===a?function(e,t){for(var n=t.split(o),r=n.length,a=0;a<r;++a)e[n[a]]=!0}(e,r):Array.isArray(r)?t(e,r):"object"===a?function(e,t){for(var o in t)n.call(t,o)&&(e[o]=!!t[o])}(e,r):"number"===a&&function(e,t){e[t]=!0}(e,r)}}return function(){for(var n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];var a=new e;t(a,o);var c=[];for(var l in a)a[l]&&c.push(l);return c.join(" ")}}();e.exports?e.exports=n:void 0===(o=function(){return n}.apply(t,[]))||(e.exports=o)}()},109:function(e,t,n){"use strict";var o=n(0);t.a=function({icon:e,size:t=24,...n}){return Object(o.cloneElement)(e,{width:t,height:t,...n})}},11:function(e,t){e.exports=window.wp.coreData},110:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.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"}));t.a=a},12:function(e,t){e.exports=window.React},13:function(e,t){e.exports=window.wp.keycodes},134:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));const o=()=>!(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)&&!r("AcroPDF.PDF")&&!r("PDF.PdfCtrl")),r=e=>{let t;try{t=new window.ActiveXObject(e)}catch(e){t=void 0}return t},a=()=>{if(!o()){const e=document.getElementsByClassName("wp-block-file__embed");Array.from(e).forEach(e=>{e.style.display="none"})}}},146:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));t.a=a},148:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));t.a=a},15:function(e,t){e.exports=window.wp.editor},16:function(e,t){e.exports=window.wp.richText},173:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));t.a=a},184:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.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"}));t.a=a},185:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.a=a},19:function(e,t){e.exports=window.wp.hooks},197:function(e,t,n){"use strict";var o=n(0),r=n(6),a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.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"}));t.a=a},2:function(e,t){e.exports=window.lodash},20:function(e,t){e.exports=window.wp.url},206:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"}));t.a=a},207:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=a},208:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));t.a=a},209:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(o.createElement)(r.Path,{d:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"}));t.a=a},21:function(e,t){e.exports=window.wp.dom},210:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"}));t.a=a},211:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"}));t.a=a},23:function(e,t){e.exports=window.wp.deprecated},258:function(e,t,n){e.exports=function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,o;return n=t,(o=[{key:"getColorAsync",value:function(e,t,n){e.complete?t.call(e,this.getColor(e,n),n&&n.data):this._bindImageEvents(e,t,n)}},{key:"getColor",value:function(e,t){t=t||{};var n=this._getDefaultColor(t),o=this._getOriginalSize(e),r=this._prepareSizeAndPosition(o,t),a=null,c=n;if(!(r.srcWidth&&r.srcHeight&&r.destWidth&&r.destHeight))return this._prepareResult(n,new Error("FastAverageColor: Incorrect sizes."));if(!this._ctx&&(this._canvas=this._makeCanvas(),this._ctx=this._canvas.getContext&&this._canvas.getContext("2d"),!this._ctx))return this._prepareResult(n,new Error("FastAverageColor: Canvas Context 2D is not supported in this browser."));this._canvas.width=r.destWidth,this._canvas.height=r.destHeight;try{this._ctx.clearRect(0,0,r.destWidth,r.destHeight),this._ctx.drawImage(e,r.srcLeft,r.srcTop,r.srcWidth,r.srcHeight,0,0,r.destWidth,r.destHeight);var l=this._ctx.getImageData(0,0,r.destWidth,r.destHeight).data;c=this.getColorFromArray4(l,t)}catch(e){a=e}return this._prepareResult(c,a)}},{key:"getColorFromArray4",value:function(e,t){t=t||{};var n=e.length;if(n<4)return this._getDefaultColor(t);var o=n-n%4,r=4*(t.step||1),a="_"+(t.algorithm||"sqrt")+"Algorithm";if("function"!=typeof this[a])throw new Error("FastAverageColor: ".concat(t.algorithm," is unknown algorithm."));return this[a](e,o,r)}},{key:"destroy",value:function(){delete this._canvas,delete this._ctx}},{key:"_getDefaultColor",value:function(e){return this._getOption(e,"defaultColor",[255,255,255,255])}},{key:"_getOption",value:function(e,t,n){return void 0===e[t]?n:e[t]}},{key:"_prepareSizeAndPosition",value:function(e,t){var n,o=this._getOption(t,"left",0),r=this._getOption(t,"top",0),a=this._getOption(t,"width",e.width),c=this._getOption(t,"height",e.height),l=a,i=c;return"precision"===t.mode||(a>c?(n=a/c,l=100,i=Math.round(l/n)):(n=c/a,i=100,l=Math.round(i/n)),(l>a||i>c||l<10||i<10)&&(l=a,i=c)),{srcLeft:o,srcTop:r,srcWidth:a,srcHeight:c,destWidth:l,destHeight:i}}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,c=0,l=0,i=0;i<t;i+=n){var s=e[i+3];o+=e[i]*s,r+=e[i+1]*s,a+=e[i+2]*s,c+=s,l++}return c?[Math.round(o/c),Math.round(r/c),Math.round(a/c),Math.round(c/l)]:[0,0,0,0]}},{key:"_sqrtAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,c=0,l=0,i=0;i<t;i+=n){var s=e[i],u=e[i+1],m=e[i+2],d=e[i+3];o+=s*s*d,r+=u*u*d,a+=m*m*d,c+=d,l++}return c?[Math.round(Math.sqrt(o/c)),Math.round(Math.sqrt(r/c)),Math.round(Math.sqrt(a/c)),Math.round(c/l)]:[0,0,0,0]}},{key:"_dominantAlgorithm",value:function(e,t,n){for(var o={},r=0;r<t;r+=n){var a=e[r],c=e[r+1],l=e[r+2],i=e[r+3],s=Math.round(a/24)+","+Math.round(c/24)+","+Math.round(l/24);o[s]?o[s]=[o[s][0]+a*i,o[s][1]+c*i,o[s][2]+l*i,o[s][3]+i,o[s][4]+1]:o[s]=[a*i,c*i,l*i,i,1]}var u=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],_n=!0,o=!1,r=void 0;try{for(var a,c=e[Symbol.iterator]();!(_n=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){o=!0,r=e}finally{try{_n||null==c.return||c.return()}finally{if(o)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(Object.keys(o).map((function(e){return o[e]})).sort((function(e,t){var n=e[4],o=t[4];return n>o?-1:n===o?0:1}))[0],5),m=u[0],d=u[1],b=u[2],p=u[3],g=u[4];return p?[Math.round(m/p),Math.round(d/p),Math.round(b/p),Math.round(p/g)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var o=this,r=(n=n||{})&&n.data,a=this._getDefaultColor(n),c=function(){s(),t.call(e,o.getColor(e,n),r)},l=function(){s(),t.call(e,o._prepareResult(a,new Error("Image error")),r)},i=function(){s(),t.call(e,o._prepareResult(a,new Error("Image abort")),r)},s=function(){e.removeEventListener("load",c),e.removeEventListener("error",l),e.removeEventListener("abort",i)};e.addEventListener("load",c),e.addEventListener("error",l),e.addEventListener("abort",i)}},{key:"_prepareResult",value:function(e,t){var n=e.slice(0,3),o=[].concat(n,e[3]/255),r=this._isDark(e);return{error:t,value:e,rgb:"rgb("+n.join(",")+")",rgba:"rgba("+o.join(",")+")",hex:this._arrayToHex(n),hexa:this._arrayToHex(e),isDark:r,isLight:!r}}},{key:"_getOriginalSize",value:function(e){return e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}},{key:"_toHex",value:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}},{key:"_arrayToHex",value:function(e){return"#"+e.map(this._toHex).join("")}},{key:"_isDark",value:function(e){return(299*e[0]+587*e[1]+114*e[2])/1e3<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(n.prototype,o),t}()}()},28:function(e,t){e.exports=window.wp.notices},280:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"}));t.a=a},281:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"}));t.a=a},282:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"}));t.a=a},285:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.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-7.8 16.5H5c-.3 0-.5-.2-.5-.5v-6.2h6.8v6.7zm0-8.3H4.5V5c0-.3.2-.5.5-.5h6.2v6.7zm8.3 7.8c0 .3-.2.5-.5.5h-6.2v-6.8h6.8V19zm0-7.8h-6.8V4.5H19c.3 0 .5.2.5.5v6.2z",fillRule:"evenodd",clipRule:"evenodd"}));t.a=a},286:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.a=a},288:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"}));t.a=a},289:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"}));t.a=a},290:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M7 5.5h10a.5.5 0 01.5.5v12a.5.5 0 01-.5.5H7a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM17 4H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V6a2 2 0 00-2-2zm-1 3.75H8v1.5h8v-1.5zM8 11h8v1.5H8V11zm6 3.25H8v1.5h6v-1.5z"}));t.a=a},291:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18.5 10.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"}));t.a=a},292:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{fillRule:"evenodd",d:"M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=a},293:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.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.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=a},3:function(e,t){e.exports=window.wp.components},31:function(e,t){e.exports=window.wp.apiFetch},32:function(e,t){e.exports=window.wp.blob},34:function(e,t){e.exports=window.moment},35:function(e,t,n){var o;!function(r){var a=/^\s+/,c=/\s+$/,l=0,i=r.round,s=r.min,u=r.max,m=r.random;function d(e,t){if(t=t||{},(e=e||"")instanceof d)return e;if(!(this instanceof d))return new d(e,t);var n=function(e){var t,n,o,l={r:0,g:0,b:0},i=1,m=null,d=null,b=null,p=!1,g=!1;return"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(c,"").toLowerCase();var t,n=!1;if(T[e])e=T[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=G.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=G.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=G.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=G.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=G.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=G.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=G.hex8.exec(e))?{r:V(t[1]),g:V(t[2]),b:V(t[3]),a:A(t[4]),format:n?"name":"hex8"}:(t=G.hex6.exec(e))?{r:V(t[1]),g:V(t[2]),b:V(t[3]),format:n?"name":"hex"}:(t=G.hex4.exec(e))?{r:V(t[1]+""+t[1]),g:V(t[2]+""+t[2]),b:V(t[3]+""+t[3]),a:A(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=G.hex3.exec(e))&&{r:V(t[1]+""+t[1]),g:V(t[2]+""+t[2]),b:V(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==typeof e&&(U(e.r)&&U(e.g)&&U(e.b)?(t=e.r,n=e.g,o=e.b,l={r:255*N(t,255),g:255*N(n,255),b:255*N(o,255)},p=!0,g="%"===String(e.r).substr(-1)?"prgb":"rgb"):U(e.h)&&U(e.s)&&U(e.v)?(m=R(e.s),d=R(e.v),l=function(e,t,n){e=6*N(e,360),t=N(t,100),n=N(n,100);var o=r.floor(e),a=e-o,c=n*(1-t),l=n*(1-a*t),i=n*(1-(1-a)*t),s=o%6;return{r:255*[n,l,c,c,i,n][s],g:255*[i,n,n,l,c,c][s],b:255*[c,c,i,n,n,l][s]}}(e.h,m,d),p=!0,g="hsv"):U(e.h)&&U(e.s)&&U(e.l)&&(m=R(e.s),b=R(e.l),l=function(e,t,n){var o,r,a;function c(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=N(e,360),t=N(t,100),n=N(n,100),0===t)o=r=a=n;else{var l=n<.5?n*(1+t):n+t-n*t,i=2*n-l;o=c(i,l,e+1/3),r=c(i,l,e),a=c(i,l,e-1/3)}return{r:255*o,g:255*r,b:255*a}}(e.h,m,b),p=!0,g="hsl"),e.hasOwnProperty("a")&&(i=e.a)),i=P(i),{ok:p,format:e.format||g,r:s(255,u(l.r,0)),g:s(255,u(l.g,0)),b:s(255,u(l.b,0)),a:i}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=i(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=n.ok,this._tc_id=l++}function b(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var o,r,a=u(e,t,n),c=s(e,t,n),l=(a+c)/2;if(a==c)o=r=0;else{var i=a-c;switch(r=l>.5?i/(2-a-c):i/(a+c),a){case e:o=(t-n)/i+(t<n?6:0);break;case t:o=(n-e)/i+2;break;case n:o=(e-t)/i+4}o/=6}return{h:o,s:r,l:l}}function p(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var o,r,a=u(e,t,n),c=s(e,t,n),l=a,i=a-c;if(r=0===a?0:i/a,a==c)o=0;else{switch(a){case e:o=(t-n)/i+(t<n?6:0);break;case t:o=(n-e)/i+2;break;case n:o=(e-t)/i+4}o/=6}return{h:o,s:r,v:l}}function g(e,t,n,o){var r=[I(i(e).toString(16)),I(i(t).toString(16)),I(i(n).toString(16))];return o&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function h(e,t,n,o){return[I(H(o)),I(i(e).toString(16)),I(i(t).toString(16)),I(i(n).toString(16))].join("")}function v(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s-=t/100,n.s=M(n.s),d(n)}function O(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s+=t/100,n.s=M(n.s),d(n)}function j(e){return d(e).desaturate(100)}function f(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l+=t/100,n.l=M(n.l),d(n)}function y(e,t){t=0===t?0:t||10;var n=d(e).toRgb();return n.r=u(0,s(255,n.r-i(-t/100*255))),n.g=u(0,s(255,n.g-i(-t/100*255))),n.b=u(0,s(255,n.b-i(-t/100*255))),d(n)}function _(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l-=t/100,n.l=M(n.l),d(n)}function w(e,t){var n=d(e).toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,d(n)}function k(e){var t=d(e).toHsl();return t.h=(t.h+180)%360,d(t)}function E(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+120)%360,s:t.s,l:t.l}),d({h:(n+240)%360,s:t.s,l:t.l})]}function C(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+90)%360,s:t.s,l:t.l}),d({h:(n+180)%360,s:t.s,l:t.l}),d({h:(n+270)%360,s:t.s,l:t.l})]}function x(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+72)%360,s:t.s,l:t.l}),d({h:(n+216)%360,s:t.s,l:t.l})]}function S(e,t,n){t=t||6,n=n||30;var o=d(e).toHsl(),r=360/n,a=[d(e)];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(d(o));return a}function B(e,t){t=t||6;for(var n=d(e).toHsv(),o=n.h,r=n.s,a=n.v,c=[],l=1/t;t--;)c.push(d({h:o,s:r,v:a})),a=(a+l)%1;return c}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,o=this.toRgb();return e=o.r/255,t=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=P(e),this._roundA=i(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=i(360*e.h),n=i(100*e.s),o=i(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+o+"%)":"hsva("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var e=b(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=b(this._r,this._g,this._b),t=i(360*e.h),n=i(100*e.s),o=i(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+o+"%)":"hsla("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,o,r){var a=[I(i(e).toString(16)),I(i(t).toString(16)),I(i(n).toString(16)),I(H(o))];return r&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(100*N(this._r,255))+"%",g:i(100*N(this._g,255))+"%",b:i(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+i(100*N(this._r,255))+"%, "+i(100*N(this._g,255))+"%, "+i(100*N(this._b,255))+"%)":"rgba("+i(100*N(this._r,255))+"%, "+i(100*N(this._g,255))+"%, "+i(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(z[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var r=d(e);n="#"+h(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,o=this._a<1&&this._a>=0;return t||!o||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return d(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(f,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(j,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(B,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]="a"===o?e[o]:R(e[o]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:m(),g:m(),b:m()})},d.mix=function(e,t,n){n=0===n?0:n||50;var o=d(e).toRgb(),r=d(t).toRgb(),a=n/100;return d({r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a})},d.readability=function(e,t){var n=d(e),o=d(t);return(r.max(n.getLuminance(),o.getLuminance())+.05)/(r.min(n.getLuminance(),o.getLuminance())+.05)},d.isReadable=function(e,t,n){var o,r,a,c,l,i=d.readability(e,t);switch(r=!1,(a=n,"AA"!==(c=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==c&&(c="AA"),"small"!==(l=(a.size||"small").toLowerCase())&&"large"!==l&&(l="small"),o={level:c,size:l}).level+o.size){case"AAsmall":case"AAAlarge":r=i>=4.5;break;case"AAlarge":r=i>=3;break;case"AAAsmall":r=i>=7}return r},d.mostReadable=function(e,t,n){var o,r,a,c,l=null,i=0;r=(n=n||{}).includeFallbackColors,a=n.level,c=n.size;for(var s=0;s<t.length;s++)(o=d.readability(e,t[s]))>i&&(i=o,l=d(t[s]));return d.isReadable(e,l,{level:a,size:c})||!r?l:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var T=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},z=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(T);function P(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return s(1,u(0,e))}function V(e){return parseInt(e,16)}function I(e){return 1==e.length?"0"+e:""+e}function R(e){return e<=1&&(e=100*e+"%"),e}function H(e){return r.round(255*parseFloat(e)).toString(16)}function A(e){return V(e)/255}var L,D,F,G=(D="[\\s|\\(]+("+(L="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+L+")[,|\\s]+("+L+")\\s*\\)?",F="[\\s|\\(]+("+L+")[,|\\s]+("+L+")[,|\\s]+("+L+")[,|\\s]+("+L+")\\s*\\)?",{CSS_UNIT:new RegExp(L),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function U(e){return!!G.CSS_UNIT.exec(e)}e.exports?e.exports=d:void 0===(o=function(){return d}.call(t,n,t,e))||(e.exports=o)}(Math)},395:function(e,t,n){"use strict";n.r(t),n.d(t,"__experimentalGetCoreBlocks",(function(){return yp})),n.d(t,"registerCoreBlocks",(function(){return _p})),n.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return kp}));var o={};n.r(o),n.d(o,"metadata",(function(){return qe})),n.d(o,"name",(function(){return We})),n.d(o,"settings",(function(){return $e}));var r={};n.r(r),n.d(r,"metadata",(function(){return cn})),n.d(r,"name",(function(){return ln})),n.d(r,"settings",(function(){return sn}));var a={};n.r(a),n.d(a,"metadata",(function(){return En})),n.d(a,"name",(function(){return Cn})),n.d(a,"settings",(function(){return xn}));var c={};n.r(c),n.d(c,"metadata",(function(){return Mn})),n.d(c,"name",(function(){return Vn})),n.d(c,"settings",(function(){return In}));var l={};n.r(l),n.d(l,"metadata",(function(){return ro})),n.d(l,"name",(function(){return ao})),n.d(l,"settings",(function(){return co}));var i={};n.r(i),n.d(i,"metadata",(function(){return uo})),n.d(i,"name",(function(){return mo})),n.d(i,"settings",(function(){return bo}));var s={};n.r(s),n.d(s,"metadata",(function(){return jo})),n.d(s,"name",(function(){return fo})),n.d(s,"settings",(function(){return yo}));var u={};n.r(u),n.d(u,"metadata",(function(){return Io})),n.d(u,"name",(function(){return Ro})),n.d(u,"settings",(function(){return Ho}));var m={};n.r(m),n.d(m,"metadata",(function(){return qo})),n.d(m,"name",(function(){return Wo})),n.d(m,"settings",(function(){return $o}));var d={};n.r(d),n.d(d,"metadata",(function(){return Xo})),n.d(d,"name",(function(){return er})),n.d(d,"settings",(function(){return tr}));var b={};n.r(b),n.d(b,"metadata",(function(){return rr})),n.d(b,"name",(function(){return ar})),n.d(b,"settings",(function(){return cr}));var p={};n.r(p),n.d(p,"metadata",(function(){return mr})),n.d(p,"name",(function(){return dr})),n.d(p,"settings",(function(){return br}));var g={};n.r(g),n.d(g,"metadata",(function(){return Cr})),n.d(g,"name",(function(){return xr})),n.d(g,"settings",(function(){return Sr}));var h={};n.r(h),n.d(h,"metadata",(function(){return zr})),n.d(h,"name",(function(){return Pr})),n.d(h,"settings",(function(){return Nr}));var v={};n.r(v),n.d(v,"metadata",(function(){return oa})),n.d(v,"name",(function(){return ra})),n.d(v,"settings",(function(){return aa}));var O={};n.r(O),n.d(O,"metadata",(function(){return Ia})),n.d(O,"name",(function(){return Ra})),n.d(O,"settings",(function(){return Ha}));var j={};n.r(j),n.d(j,"metadata",(function(){return $a})),n.d(j,"name",(function(){return Za})),n.d(j,"settings",(function(){return Qa}));var f={};n.r(f),n.d(f,"metadata",(function(){return Ya})),n.d(f,"name",(function(){return Xa})),n.d(f,"settings",(function(){return ec}));var y={};n.r(y),n.d(y,"metadata",(function(){return Oc})),n.d(y,"name",(function(){return jc})),n.d(y,"settings",(function(){return fc}));var _={};n.r(_),n.d(_,"metadata",(function(){return Ac})),n.d(_,"name",(function(){return Lc})),n.d(_,"settings",(function(){return Dc}));var w={};n.r(w),n.d(w,"metadata",(function(){return nl})),n.d(w,"name",(function(){return ol})),n.d(w,"settings",(function(){return rl}));var k={};n.r(k),n.d(k,"metadata",(function(){return ll})),n.d(k,"name",(function(){return il})),n.d(k,"settings",(function(){return sl}));var E={};n.r(E),n.d(E,"metadata",(function(){return ml})),n.d(E,"name",(function(){return dl})),n.d(E,"settings",(function(){return bl}));var C={};n.r(C),n.d(C,"metadata",(function(){return _l})),n.d(C,"name",(function(){return wl})),n.d(C,"settings",(function(){return kl}));var x={};n.r(x),n.d(x,"metadata",(function(){return Ul})),n.d(x,"name",(function(){return ql})),n.d(x,"settings",(function(){return Wl}));var S={};n.r(S),n.d(S,"metadata",(function(){return Zl})),n.d(S,"name",(function(){return Ql})),n.d(S,"settings",(function(){return Jl}));var B={};n.r(B),n.d(B,"metadata",(function(){return ii})),n.d(B,"name",(function(){return si})),n.d(B,"settings",(function(){return ui}));var T={};n.r(T),n.d(T,"metadata",(function(){return di})),n.d(T,"name",(function(){return bi})),n.d(T,"settings",(function(){return pi}));var z={};n.r(z),n.d(z,"metadata",(function(){return Oi})),n.d(z,"name",(function(){return ji})),n.d(z,"settings",(function(){return fi}));var P={};n.r(P),n.d(P,"metadata",(function(){return wi})),n.d(P,"name",(function(){return ki})),n.d(P,"settings",(function(){return Ei}));var N={};n.r(N),n.d(N,"metadata",(function(){return Ti})),n.d(N,"name",(function(){return zi})),n.d(N,"settings",(function(){return Pi}));var M={};n.r(M),n.d(M,"metadata",(function(){return Vi})),n.d(M,"name",(function(){return Ii})),n.d(M,"settings",(function(){return Ri}));var V={};n.r(V),n.d(V,"metadata",(function(){return Ui})),n.d(V,"name",(function(){return qi})),n.d(V,"settings",(function(){return Wi}));var I={};n.r(I),n.d(I,"metadata",(function(){return Qi})),n.d(I,"name",(function(){return Ji})),n.d(I,"settings",(function(){return Ki}));var R={};n.r(R),n.d(R,"metadata",(function(){return Xi})),n.d(R,"name",(function(){return es})),n.d(R,"settings",(function(){return ts}));var H={};n.r(H),n.d(H,"metadata",(function(){return ss})),n.d(H,"name",(function(){return us})),n.d(H,"settings",(function(){return ms}));var A={};n.r(A),n.d(A,"metadata",(function(){return gs})),n.d(A,"name",(function(){return hs})),n.d(A,"settings",(function(){return vs}));var L={};n.r(L),n.d(L,"metadata",(function(){return _s})),n.d(L,"name",(function(){return ws})),n.d(L,"settings",(function(){return ks}));var D={};n.r(D),n.d(D,"metadata",(function(){return Ss})),n.d(D,"name",(function(){return Bs})),n.d(D,"settings",(function(){return Ts}));var F={};n.r(F),n.d(F,"metadata",(function(){return Ns})),n.d(F,"name",(function(){return Ms})),n.d(F,"settings",(function(){return Vs}));var G={};n.r(G),n.d(G,"metadata",(function(){return lu})),n.d(G,"name",(function(){return iu})),n.d(G,"settings",(function(){return su}));var U={};n.r(U),n.d(U,"metadata",(function(){return bu})),n.d(U,"name",(function(){return pu})),n.d(U,"settings",(function(){return gu}));var q={};n.r(q),n.d(q,"metadata",(function(){return ju})),n.d(q,"name",(function(){return fu})),n.d(q,"settings",(function(){return yu}));var W={};n.r(W),n.d(W,"metadata",(function(){return Hu})),n.d(W,"name",(function(){return Au})),n.d(W,"settings",(function(){return Lu}));var $={};n.r($),n.d($,"metadata",(function(){return Fu})),n.d($,"name",(function(){return Gu})),n.d($,"settings",(function(){return Uu}));var Z={};n.r(Z),n.d(Z,"metadata",(function(){return Zu})),n.d(Z,"name",(function(){return Qu})),n.d(Z,"settings",(function(){return Ju}));var Q={};n.r(Q),n.d(Q,"metadata",(function(){return nm})),n.d(Q,"name",(function(){return om})),n.d(Q,"settings",(function(){return rm}));var J={};n.r(J),n.d(J,"metadata",(function(){return sm})),n.d(J,"name",(function(){return um})),n.d(J,"settings",(function(){return mm}));var K={};n.r(K),n.d(K,"metadata",(function(){return gm})),n.d(K,"name",(function(){return hm})),n.d(K,"settings",(function(){return vm}));var Y={};n.r(Y),n.d(Y,"metadata",(function(){return jm})),n.d(Y,"name",(function(){return fm})),n.d(Y,"settings",(function(){return ym}));var X={};n.r(X),n.d(X,"metadata",(function(){return Em})),n.d(X,"name",(function(){return Cm})),n.d(X,"settings",(function(){return xm}));var ee={};n.r(ee),n.d(ee,"metadata",(function(){return Jm})),n.d(ee,"name",(function(){return Km})),n.d(ee,"settings",(function(){return Ym}));var te={};n.r(te),n.d(te,"metadata",(function(){return vd})),n.d(te,"name",(function(){return Od})),n.d(te,"settings",(function(){return jd}));var ne={};n.r(ne),n.d(ne,"metadata",(function(){return yd})),n.d(ne,"name",(function(){return _d})),n.d(ne,"settings",(function(){return wd}));var oe={};n.r(oe),n.d(oe,"metadata",(function(){return Sd})),n.d(oe,"name",(function(){return Bd})),n.d(oe,"settings",(function(){return Td}));var re={};n.r(re),n.d(re,"metadata",(function(){return Nd})),n.d(re,"name",(function(){return Md})),n.d(re,"settings",(function(){return Vd}));var ae={};n.r(ae),n.d(ae,"metadata",(function(){return Rd})),n.d(ae,"name",(function(){return Hd})),n.d(ae,"settings",(function(){return Ad}));var ce={};n.r(ce),n.d(ce,"metadata",(function(){return Fd})),n.d(ce,"name",(function(){return Gd})),n.d(ce,"settings",(function(){return Ud}));var le={};n.r(le),n.d(le,"metadata",(function(){return Wd})),n.d(le,"name",(function(){return $d})),n.d(le,"settings",(function(){return Zd}));var ie={};n.r(ie),n.d(ie,"metadata",(function(){return Xd})),n.d(ie,"name",(function(){return eb})),n.d(ie,"settings",(function(){return tb}));var se={};n.r(se),n.d(se,"metadata",(function(){return ob})),n.d(se,"name",(function(){return rb})),n.d(se,"settings",(function(){return ab}));var ue={};n.r(ue),n.d(ue,"metadata",(function(){return db})),n.d(ue,"name",(function(){return bb})),n.d(ue,"settings",(function(){return pb}));var me={};n.r(me),n.d(me,"metadata",(function(){return hb})),n.d(me,"name",(function(){return vb})),n.d(me,"settings",(function(){return Ob}));var de={};n.r(de),n.d(de,"metadata",(function(){return yb})),n.d(de,"name",(function(){return _b})),n.d(de,"settings",(function(){return wb}));var be={};n.r(be),n.d(be,"metadata",(function(){return Eb})),n.d(be,"name",(function(){return Cb})),n.d(be,"settings",(function(){return xb}));var pe={};n.r(pe),n.d(pe,"metadata",(function(){return Sb})),n.d(pe,"name",(function(){return Bb})),n.d(pe,"settings",(function(){return Tb}));var ge={};n.r(ge),n.d(ge,"metadata",(function(){return Pb})),n.d(ge,"name",(function(){return Nb})),n.d(ge,"settings",(function(){return Mb}));var he={};n.r(he),n.d(he,"metadata",(function(){return Rb})),n.d(he,"name",(function(){return Hb})),n.d(he,"settings",(function(){return Ab}));var ve={};n.r(ve),n.d(ve,"metadata",(function(){return Db})),n.d(ve,"name",(function(){return Fb})),n.d(ve,"settings",(function(){return Gb}));var Oe={};n.r(Oe),n.d(Oe,"metadata",(function(){return qb})),n.d(Oe,"name",(function(){return Wb})),n.d(Oe,"settings",(function(){return $b}));var je={};n.r(je),n.d(je,"metadata",(function(){return Zb})),n.d(je,"name",(function(){return Qb})),n.d(je,"settings",(function(){return Jb}));var fe={};n.r(fe),n.d(fe,"metadata",(function(){return Kb})),n.d(fe,"name",(function(){return Yb})),n.d(fe,"settings",(function(){return Xb}));var ye={};n.r(ye),n.d(ye,"metadata",(function(){return tp})),n.d(ye,"name",(function(){return np})),n.d(ye,"settings",(function(){return op}));var _e={};n.r(_e),n.d(_e,"metadata",(function(){return ip})),n.d(_e,"name",(function(){return sp})),n.d(_e,"settings",(function(){return up}));var we={};n.r(we),n.d(we,"metadata",(function(){return bp})),n.d(we,"name",(function(){return pp})),n.d(we,"settings",(function(){return gp}));var ke={};n.r(ke),n.d(ke,"metadata",(function(){return vp})),n.d(ke,"name",(function(){return Op})),n.d(ke,"settings",(function(){return jp}));var Ee=n(11),Ce=n(5),xe=n(8),Se=n(2),Be=n(1),Te=n(0),ze=n(6),Pe=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M18.3 4H9.9v-.1l-.9.2c-2.3.4-4 2.4-4 4.8s1.7 4.4 4 4.8l.7.1V20h1.5V5.5h2.9V20h1.5V5.5h2.7V4z"})),Ne=n(10),Me=n.n(Ne);const Ve={className:!1},Ie={align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},backgroundColor:{type:"string"},fontSize:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]},style:{type:"object"}},Re=e=>{if(!e.customTextColor&&!e.customBackgroundColor&&!e.customFontSize)return e;const t={};return(e.customTextColor||e.customBackgroundColor)&&(t.color={}),e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customFontSize&&(t.typography={fontSize:e.customFontSize}),{...Object(Se.omit)(e,["customTextColor","customBackgroundColor","customFontSize"]),style:t}};var He=[{supports:Ve,attributes:{...Object(Se.omit)(Ie,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:Re,save({attributes:e}){const{align:t,content:n,dropCap:o,backgroundColor:r,textColor:a,customBackgroundColor:c,customTextColor:l,fontSize:i,customFontSize:s,direction:u}=e,m=Object(Ce.getColorClassName)("color",a),d=Object(Ce.getColorClassName)("background-color",r),b=Object(Ce.getFontSizeClass)(i),p=Me()({"has-text-color":a||l,"has-background":r||c,"has-drop-cap":o,["has-text-align-"+t]:t,[b]:b,[m]:m,[d]:d}),g={backgroundColor:d?void 0:c,color:m?void 0:l,fontSize:b?void 0:s};return Object(Te.createElement)(Ce.RichText.Content,{tagName:"p",style:g,className:p||void 0,value:n,dir:u})}},{supports:Ve,attributes:{...Object(Se.omit)(Ie,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:Re,save({attributes:e}){const{align:t,content:n,dropCap:o,backgroundColor:r,textColor:a,customBackgroundColor:c,customTextColor:l,fontSize:i,customFontSize:s,direction:u}=e,m=Object(Ce.getColorClassName)("color",a),d=Object(Ce.getColorClassName)("background-color",r),b=Object(Ce.getFontSizeClass)(i),p=Me()({"has-text-color":a||l,"has-background":r||c,"has-drop-cap":o,[b]:b,[m]:m,[d]:d}),g={backgroundColor:d?void 0:c,color:m?void 0:l,fontSize:b?void 0:s,textAlign:t};return Object(Te.createElement)(Ce.RichText.Content,{tagName:"p",style:g,className:p||void 0,value:n,dir:u})}},{supports:Ve,attributes:{...Object(Se.omit)(Ie,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"},width:{type:"string"}},migrate:Re,save({attributes:e}){const{width:t,align:n,content:o,dropCap:r,backgroundColor:a,textColor:c,customBackgroundColor:l,customTextColor:i,fontSize:s,customFontSize:u}=e,m=Object(Ce.getColorClassName)("color",c),d=Object(Ce.getColorClassName)("background-color",a),b=s&&`is-${s}-text`,p=Me()({["align"+t]:t,"has-background":a||l,"has-drop-cap":r,[b]:b,[m]:m,[d]:d}),g={backgroundColor:d?void 0:l,color:m?void 0:i,fontSize:b?void 0:u,textAlign:n};return Object(Te.createElement)(Ce.RichText.Content,{tagName:"p",style:g,className:p||void 0,value:o})}},{supports:Ve,attributes:Object(Se.omit)({...Ie,fontSize:{type:"number"}},["style"]),save({attributes:e}){const{width:t,align:n,content:o,dropCap:r,backgroundColor:a,textColor:c,fontSize:l}=e,i=Me()({["align"+t]:t,"has-background":a,"has-drop-cap":r}),s={backgroundColor:a,color:c,fontSize:l,textAlign:n};return Object(Te.createElement)("p",{style:s,className:i||void 0},o)},migrate:e=>Re(Object(Se.omit)({...e,customFontSize:Object(Se.isFinite)(e.fontSize)?e.fontSize:void 0,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.backgroundColor&&"#"===e.backgroundColor[0]?e.backgroundColor:void 0}))},{supports:Ve,attributes:{...Ie,content:{type:"string",source:"html",default:""}},save:({attributes:e})=>Object(Te.createElement)(Te.RawHTML,null,e.content),migrate:e=>e}],Ae=n(7),Le=n(3),De=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Te.createElement)(ze.Path,{d:"M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z"}));function Fe({direction:e,setDirection:t}){return Object(Be.isRTL)()&&Object(Te.createElement)(Le.ToolbarDropdownMenu,{controls:[{icon:De,title:Object(Be._x)("Left to right","editor button"),isActive:"ltr"===e,onClick(){t("ltr"===e?void 0:"ltr")}}]})}const{name:Ge}={apiVersion:2,name:"core/paragraph",title:"Paragraph",category:"text",description:"Start with the building block of all narrative.",keywords:["text"],textdomain:"default",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:"",__experimentalRole:"content"},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]}},supports:{anchor:!0,className:!1,color:{link:!0},typography:{fontSize:!0,lineHeight:!0},__experimentalSelector:"p",__unstablePasteTextInline:!0},editorStyle:"wp-block-paragraph-editor",style:"wp-block-paragraph"};var Ue={from:[{type:"raw",priority:20,selector:"p",schema:({phrasingContentSchema:e,isPaste:t})=>({p:{children:e,attributes:t?[]:["style","id"]}}),transform(e){const t=Object(xe.getBlockAttributes)(Ge,e.outerHTML),{textAlign:n}=e.style||{};return"left"!==n&&"center"!==n&&"right"!==n||(t.align=n),Object(xe.createBlock)(Ge,t)}}]};const qe={apiVersion:2,name:"core/paragraph",title:"Paragraph",category:"text",description:"Start with the building block of all narrative.",keywords:["text"],textdomain:"default",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:"",__experimentalRole:"content"},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]}},supports:{anchor:!0,className:!1,color:{link:!0},typography:{fontSize:!0,lineHeight:!0},__experimentalSelector:"p",__unstablePasteTextInline:!0},editorStyle:"wp-block-paragraph-editor",style:"wp-block-paragraph"},{name:We}=qe,$e={icon:Pe,example:{attributes:{content:Object(Be.__)("In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing."),style:{typography:{fontSize:28}},dropCap:!0}},__experimentalLabel(e,{context:t}){if("accessibility"===t){const{content:t}=e;return Object(Se.isEmpty)(t)?Object(Be.__)("Empty"):t}},transforms:Ue,deprecated:He,merge:(e,t)=>({content:(e.content||"")+(t.content||"")}),edit:function({attributes:e,mergeBlocks:t,onReplace:n,onRemove:o,setAttributes:r,clientId:a}){const{align:c,content:l,direction:i,dropCap:s,placeholder:u}=e,m=Object(Ce.useSetting)("typography.dropCap"),d=Object(Ce.useBlockProps)({className:Me()({"has-drop-cap":s,["has-text-align-"+c]:c}),style:{direction:i}});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:c,onChange:e=>r({align:e})}),Object(Te.createElement)(Fe,{direction:i,setDirection:e=>r({direction:e})})),m&&Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Text settings")},Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Drop cap"),checked:!!s,onChange:()=>r({dropCap:!s}),help:s?Object(Be.__)("Showing large initial letter."):Object(Be.__)("Toggle to show a large initial letter.")}))),Object(Te.createElement)(Ce.RichText,Object(Ae.a)({identifier:"content",tagName:"p"},d,{value:l,onChange:e=>r({content:e}),onSplit:(t,n)=>{let o;(n||t)&&(o={...e,content:t});const r=Object(xe.createBlock)("core/paragraph",o);return n&&(r.clientId=a),r},onMerge:t,onReplace:n,onRemove:o,"aria-label":l?Object(Be.__)("Paragraph block"):Object(Be.__)("Empty block; start writing or type forward slash to choose a block"),"data-empty":!l,placeholder:u||Object(Be.__)("Type / to choose a block"),__unstableEmbedURLOnPaste:!0,__unstableAllowPrefixTransformations:!0})))},save:function({attributes:e}){const{align:t,content:n,dropCap:o,direction:r}=e,a=Me()({"has-drop-cap":o,["has-text-align-"+t]:t});return Object(Te.createElement)("p",Ce.useBlockProps.save({className:a,dir:r}),Object(Te.createElement)(Ce.RichText.Content,{value:n}))}};var Ze=Object(Te.createElement)(ze.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Te.createElement)(ze.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"}));const Qe={align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}};var Je=[{attributes:Qe,save({attributes:e}){const{url:t,alt:n,caption:o,align:r,href:a,width:c,height:l,id:i}=e,s=Me()({["align"+r]:r,"is-resized":c||l}),u=Object(Te.createElement)("img",{src:t,alt:n,className:i?"wp-image-"+i:null,width:c,height:l});return Object(Te.createElement)("figure",{className:s},a?Object(Te.createElement)("a",{href:a},u):u,!Ce.RichText.isEmpty(o)&&Object(Te.createElement)(Ce.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:Qe,save({attributes:e}){const{url:t,alt:n,caption:o,align:r,href:a,width:c,height:l,id:i}=e,s=Object(Te.createElement)("img",{src:t,alt:n,className:i?"wp-image-"+i:null,width:c,height:l});return Object(Te.createElement)("figure",{className:r?"align"+r:null},a?Object(Te.createElement)("a",{href:a},s):s,!Ce.RichText.isEmpty(o)&&Object(Te.createElement)(Ce.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:Qe,save({attributes:e}){const{url:t,alt:n,caption:o,align:r,href:a,width:c,height:l}=e,i=c||l?{width:c,height:l}:{},s=Object(Te.createElement)("img",Object(Ae.a)({src:t,alt:n},i));let u={};return c?u={width:c}:"left"!==r&&"right"!==r||(u={maxWidth:"50%"}),Object(Te.createElement)("figure",{className:r?"align"+r:null,style:u},a?Object(Te.createElement)("a",{href:a},s):s,!Ce.RichText.isEmpty(o)&&Object(Te.createElement)(Ce.RichText.Content,{tagName:"figcaption",value:o}))}}],Ke=n(32),Ye=n(4),Xe=n(9),et=n(20),tt=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M16.5 7.8v7H18v-7c0-1-.8-1.8-1.8-1.8h-7v1.5h7c.2 0 .3.1.3.3zm-8.7 8.7c-.1 0-.2-.1-.2-.2V2H6v4H2v1.5h4v8.8c0 1 .8 1.8 1.8 1.8h8.8v4H18v-4h4v-1.5H7.8z"})),nt=n(210),ot=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12-9.8c.4 0 .8-.3.9-.7l1.1-3h3.6l.5 1.7h1.9L13 9h-2.2l-3.4 9.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12H20V6c0-1.1-.9-2-2-2zm-6 7l1.4 3.9h-2.7L12 11z"})),rt=n(28);const at=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}];var ct=n(106),lt=n.n(ct),it=n(48),st=n.n(it);const{name:ut}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter, Instagram 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"},mt=e=>e&&e.includes('class="wp-embedded-content"'),dt=(e,t={})=>{var n;const{preview:o,attributes:{url:r,providerNameSlug:a,type:c}={}}=e;if(!r||!Object(xe.getBlockType)(ut))return;const l=(e=>{var t;return null===(t=Object(xe.getBlockVariations)(ut))||void 0===t?void 0:t.find(({patterns:t})=>((e,t=[])=>t.some(t=>e.match(t)))(e,t))})(r),i="wordpress"===a||"wp-embed"===c;if(!i&&l&&(l.attributes.providerNameSlug!==a||!a))return Object(xe.createBlock)(ut,{url:r,...l.attributes});const s=null===(n=Object(xe.getBlockVariations)(ut))||void 0===n?void 0:n.find(({name:e})=>"wordpress"===e);return s&&o&&mt(o.html)&&!i?Object(xe.createBlock)(ut,{url:r,...s.attributes,...t}):void 0},bt=e=>{if(!e)return e;const t=at.reduce((e,{className:t})=>(e[t]=!1,e),{"wp-has-aspect-ratio":!1});return lt()(e,t)};function pt(e,t,n=!0){if(!n)return bt(t);const o=document.implementation.createHTMLDocument("");o.body.innerHTML=e;const r=o.body.querySelector("iframe");if(r&&r.height&&r.width){const e=(r.width/r.height).toFixed(2);for(let n=0;n<at.length;n++){const o=at[n];if(e>=o.ratio)return e-o.ratio>.1?bt(t):lt()(bt(t),o.className,"wp-has-aspect-ratio")}}return t}const gt=st()((e,t,n,o,r=!0)=>{if(!e)return{};const a={};let{type:c="rich"}=e;const{html:l,provider_name:i}=e,s=Object(Se.kebabCase)((i||t).toLowerCase());return mt(l)&&(c="wp-embed"),(l||"photo"===c)&&(a.type=c,a.providerNameSlug=s),a.className=pt(l,n,o&&r),a});function ht(e,t){const[n,o]=Object(Te.useState)();function r(){o(e.current.clientWidth)}return Object(Te.useEffect)(r,t),Object(Te.useEffect)(()=>{const{defaultView:t}=e.current.ownerDocument;return t.addEventListener("resize",r),()=>{t.removeEventListener("resize",r)}},[]),n}var vt=function(e,t){return(vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},Ot=function(){return(Ot=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},jt=n(12),ft=n.n(jt);function yt(e,t,n,o){void 0===o&&(o=0);var r=Pt(e,t,o),a=r.width,c=r.height;return e>=t*n&&a>t*n?{width:t*n,height:t}:a>t*n?{width:e,height:e/n}:a>c*n?{width:c*n,height:c}:{width:a,height:a/n}}function _t(e,t,n,o,r){void 0===r&&(r=0);var a=Pt(t.width,t.height,r),c=a.width,l=a.height;return{x:wt(e.x,c,n.width,o),y:wt(e.y,l,n.height,o)}}function wt(e,t,n,o){var r=t*o/2-n/2;return Math.min(r,Math.max(e,-r))}function kt(e,t){return Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2))}function Et(e,t){return 180*Math.atan2(t.y-e.y,t.x-e.x)/Math.PI}function Ct(e,t,n,o,r,a,c){void 0===a&&(a=0),void 0===c&&(c=!0);var l=c&&0===a?xt:St,i={x:l(100,((t.width-n.width/r)/2-e.x/r)/t.width*100),y:l(100,((t.height-n.height/r)/2-e.y/r)/t.height*100),width:l(100,n.width/t.width*100/r),height:l(100,n.height/t.height*100/r)},s=Math.round(l(t.naturalWidth,i.width*t.naturalWidth/100)),u=Math.round(l(t.naturalHeight,i.height*t.naturalHeight/100)),m=t.naturalWidth>=t.naturalHeight*o?{width:Math.round(u*o),height:u}:{width:s,height:Math.round(s/o)};return{croppedAreaPercentages:i,croppedAreaPixels:Ot(Ot({},m),{x:Math.round(l(t.naturalWidth-m.width,i.x*t.naturalWidth/100)),y:Math.round(l(t.naturalHeight-m.height,i.y*t.naturalHeight/100))})}}function xt(e,t){return Math.min(e,Math.max(0,t))}function St(e,t){return t}function Bt(e,t,n){var o=t.width/t.naturalWidth,r=function(e,t,n){var o=t.width/t.naturalWidth;if(n)return n.height>n.width?n.height/o/e.height:n.width/o/e.width;var r=e.width/e.height;return t.naturalWidth>=t.naturalHeight*r?t.naturalHeight/e.height:t.naturalWidth/e.width}(e,t,n),a=o*r;return{crop:{x:((t.naturalWidth-e.width)/2-e.x)*a,y:((t.naturalHeight-e.height)/2-e.y)*a},zoom:r}}function Tt(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function zt(e,t,n,o,r){var a=Math.cos,c=Math.sin,l=r*Math.PI/180;return[(e-n)*a(l)-(t-o)*c(l)+n,(e-n)*c(l)+(t-o)*a(l)+o]}function Pt(e,t,n){var o=e/2,r=t/2,a=[zt(0,0,o,r,n),zt(e,0,o,r,n),zt(e,t,o,r,n),zt(0,t,o,r,n)],c=Math.min.apply(Math,a.map((function(e){return e[0]}))),l=Math.max.apply(Math,a.map((function(e){return e[0]}))),i=Math.min.apply(Math,a.map((function(e){return e[1]})));return{width:l-c,height:Math.max.apply(Math,a.map((function(e){return e[1]})))-i}}function Nt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return"string"==typeof e&&e.length>0})).join(" ").trim()}var Mt=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.imageRef=null,n.videoRef=null,n.containerRef=null,n.styleRef=null,n.containerRect=null,n.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},n.dragStartPosition={x:0,y:0},n.dragStartCrop={x:0,y:0},n.lastPinchDistance=0,n.lastPinchRotation=0,n.rafDragTimeout=null,n.rafPinchTimeout=null,n.wheelTimer=null,n.state={cropSize:null,hasWheelJustStarted:!1},n.preventZoomSafari=function(e){return e.preventDefault()},n.cleanEvents=function(){document.removeEventListener("mousemove",n.onMouseMove),document.removeEventListener("mouseup",n.onDragStopped),document.removeEventListener("touchmove",n.onTouchMove),document.removeEventListener("touchend",n.onDragStopped)},n.clearScrollEvent=function(){n.containerRef&&n.containerRef.removeEventListener("wheel",n.onWheel),n.wheelTimer&&clearTimeout(n.wheelTimer)},n.onMediaLoad=function(){n.computeSizes(),n.emitCropData(),n.setInitialCrop(),n.props.onMediaLoaded&&n.props.onMediaLoaded(n.mediaSize)},n.setInitialCrop=function(){var e=n.props,t=e.initialCroppedAreaPixels,o=e.cropSize;if(t){var r=Bt(t,n.mediaSize,o),a=r.crop,c=r.zoom;n.props.onCropChange(a),n.props.onZoomChange&&n.props.onZoomChange(c)}},n.computeSizes=function(){var e,t,o,r,a=n.imageRef||n.videoRef;if(a){n.mediaSize={width:a.offsetWidth,height:a.offsetHeight,naturalWidth:(null===(e=n.imageRef)||void 0===e?void 0:e.naturalWidth)||(null===(t=n.videoRef)||void 0===t?void 0:t.videoWidth)||0,naturalHeight:(null===(o=n.imageRef)||void 0===o?void 0:o.naturalHeight)||(null===(r=n.videoRef)||void 0===r?void 0:r.videoHeight)||0};var c=n.props.cropSize?n.props.cropSize:yt(a.offsetWidth,a.offsetHeight,n.props.aspect,n.props.rotation);n.setState({cropSize:c},n.recomputeCropPosition)}n.containerRef&&(n.containerRect=n.containerRef.getBoundingClientRect())},n.onMouseDown=function(e){e.preventDefault(),document.addEventListener("mousemove",n.onMouseMove),document.addEventListener("mouseup",n.onDragStopped),n.onDragStart(t.getMousePoint(e))},n.onMouseMove=function(e){return n.onDrag(t.getMousePoint(e))},n.onTouchStart=function(e){e.preventDefault(),document.addEventListener("touchmove",n.onTouchMove,{passive:!1}),document.addEventListener("touchend",n.onDragStopped),2===e.touches.length?n.onPinchStart(e):1===e.touches.length&&n.onDragStart(t.getTouchPoint(e.touches[0]))},n.onTouchMove=function(e){e.preventDefault(),2===e.touches.length?n.onPinchMove(e):1===e.touches.length&&n.onDrag(t.getTouchPoint(e.touches[0]))},n.onDragStart=function(e){var t,o,r=e.x,a=e.y;n.dragStartPosition={x:r,y:a},n.dragStartCrop=Ot({},n.props.crop),null===(o=(t=n.props).onInteractionStart)||void 0===o||o.call(t)},n.onDrag=function(e){var t=e.x,o=e.y;n.rafDragTimeout&&window.cancelAnimationFrame(n.rafDragTimeout),n.rafDragTimeout=window.requestAnimationFrame((function(){if(n.state.cropSize&&void 0!==t&&void 0!==o){var e=t-n.dragStartPosition.x,r=o-n.dragStartPosition.y,a={x:n.dragStartCrop.x+e,y:n.dragStartCrop.y+r},c=n.props.restrictPosition?_t(a,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):a;n.props.onCropChange(c)}}))},n.onDragStopped=function(){var e,t;n.cleanEvents(),n.emitCropData(),null===(t=(e=n.props).onInteractionEnd)||void 0===t||t.call(e)},n.onWheel=function(e){e.preventDefault();var o=t.getMousePoint(e),r=n.props.zoom-e.deltaY*n.props.zoomSpeed/200;n.setNewZoom(r,o),n.state.hasWheelJustStarted||n.setState({hasWheelJustStarted:!0},(function(){var e,t;return null===(t=(e=n.props).onInteractionStart)||void 0===t?void 0:t.call(e)})),n.wheelTimer&&clearTimeout(n.wheelTimer),n.wheelTimer=window.setTimeout((function(){return n.setState({hasWheelJustStarted:!1},(function(){var e,t;return null===(t=(e=n.props).onInteractionEnd)||void 0===t?void 0:t.call(e)}))}),250)},n.getPointOnContainer=function(e){var t=e.x,o=e.y;if(!n.containerRect)throw new Error("The Cropper is not mounted");return{x:n.containerRect.width/2-(t-n.containerRect.left),y:n.containerRect.height/2-(o-n.containerRect.top)}},n.getPointOnMedia=function(e){var t=e.x,o=e.y,r=n.props,a=r.crop,c=r.zoom;return{x:(t+a.x)/c,y:(o+a.y)/c}},n.setNewZoom=function(e,t){if(n.state.cropSize&&n.props.onZoomChange){var o=n.getPointOnContainer(t),r=n.getPointOnMedia(o),a=Math.min(n.props.maxZoom,Math.max(e,n.props.minZoom)),c={x:r.x*a-o.x,y:r.y*a-o.y},l=n.props.restrictPosition?_t(c,n.mediaSize,n.state.cropSize,a,n.props.rotation):c;n.props.onCropChange(l),n.props.onZoomChange(a)}},n.emitCropData=function(){if(n.state.cropSize){var e=Ct(n.props.restrictPosition?_t(n.props.crop,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):n.props.crop,n.mediaSize,n.state.cropSize,n.getAspect(),n.props.zoom,n.props.rotation,n.props.restrictPosition),t=e.croppedAreaPercentages,o=e.croppedAreaPixels;n.props.onCropComplete&&n.props.onCropComplete(t,o)}},n.recomputeCropPosition=function(){if(n.state.cropSize){var e=n.props.restrictPosition?_t(n.props.crop,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):n.props.crop;n.props.onCropChange(e),n.emitCropData()}},n}return function(e,t){function __(){this.constructor=e}vt(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}(t,e),t.prototype.componentDidMount=function(){window.addEventListener("resize",this.computeSizes),this.containerRef&&(this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.preventZoomSafari),this.containerRef.addEventListener("gesturechange",this.preventZoomSafari)),this.props.disableAutomaticStylesInjection||(this.styleRef=document.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.styleRef.innerHTML=".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n user-select: none;\n touch-action: none;\n cursor: move;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n max-width: 100%;\n max-height: 100%;\n margin: auto;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_CropArea {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border: 1px solid rgba(255, 255, 255, 0.5);\n box-sizing: border-box;\n box-shadow: 0 0 0 9999em;\n color: rgba(0, 0, 0, 0.5);\n overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 0;\n bottom: 0;\n left: 33.33%;\n right: 33.33%;\n border-top: 0;\n border-bottom: 0;\n}\n\n.reactEasyCrop_CropAreaGrid::after {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 33.33%;\n bottom: 33.33%;\n left: 0;\n right: 0;\n border-left: 0;\n border-right: 0;\n}\n",document.head.appendChild(this.styleRef)),this.imageRef&&this.imageRef.complete&&this.onMediaLoad()},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.computeSizes),this.containerRef&&(this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.containerRef.removeEventListener("gesturechange",this.preventZoomSafari)),this.styleRef&&this.styleRef.remove(),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent()},t.prototype.componentDidUpdate=function(e){e.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):e.aspect!==this.props.aspect?this.computeSizes():e.zoom!==this.props.zoom?this.recomputeCropPosition():e.cropSize!==this.props.cropSize&&this.computeSizes(),e.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent())},t.prototype.getAspect=function(){var e=this.props,t=e.cropSize,n=e.aspect;return t?t.width/t.height:n},t.prototype.onPinchStart=function(e){var n=t.getTouchPoint(e.touches[0]),o=t.getTouchPoint(e.touches[1]);this.lastPinchDistance=kt(n,o),this.lastPinchRotation=Et(n,o),this.onDragStart(Tt(n,o))},t.prototype.onPinchMove=function(e){var n=this,o=t.getTouchPoint(e.touches[0]),r=t.getTouchPoint(e.touches[1]),a=Tt(o,r);this.onDrag(a),this.rafPinchTimeout&&window.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=window.requestAnimationFrame((function(){var e=kt(o,r),t=n.props.zoom*(e/n.lastPinchDistance);n.setNewZoom(t,a),n.lastPinchDistance=e;var c=Et(o,r),l=n.props.rotation+(c-n.lastPinchRotation);n.props.onRotationChange&&n.props.onRotationChange(l),n.lastPinchRotation=c}))},t.prototype.render=function(){var e=this,t=this.props,n=t.image,o=t.video,r=t.mediaProps,a=t.crop,c=a.x,l=a.y,i=t.rotation,s=t.zoom,u=t.cropShape,m=t.showGrid,d=t.style,b=d.containerStyle,p=d.cropAreaStyle,g=d.mediaStyle,h=t.classes,v=h.containerClassName,O=h.cropAreaClassName,j=h.mediaClassName;return ft.a.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(t){return e.containerRef=t},"data-testid":"container",style:b,className:Nt("reactEasyCrop_Container",v)},n?ft.a.createElement("img",Ot({alt:"",className:Nt("reactEasyCrop_Image",j)},r,{src:n,ref:function(t){return e.imageRef=t},style:Ot(Ot({},g),{transform:"translate("+c+"px, "+l+"px) rotate("+i+"deg) scale("+s+")"}),onLoad:this.onMediaLoad})):o&&ft.a.createElement("video",Ot({autoPlay:!0,loop:!0,muted:!0,className:Nt("reactEasyCrop_Video",j)},r,{src:o,ref:function(t){return e.videoRef=t},onLoadedMetadata:this.onMediaLoad,style:Ot(Ot({},g),{transform:"translate("+c+"px, "+l+"px) rotate("+i+"deg) scale("+s+")"}),controls:!1})),this.state.cropSize&&ft.a.createElement("div",{style:Ot(Ot({},p),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:Nt("reactEasyCrop_CropArea","round"===u&&"reactEasyCrop_CropAreaRound",m&&"reactEasyCrop_CropAreaGrid",O)}))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:3,minZoom:1,cropShape:"rect",showGrid:!0,style:{},classes:{},mediaProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0},t.getMousePoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t.getTouchPoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t}(ft.a.Component);const Vt={position:"bottom right",isAlternate:!0};var It=n(31),Rt=n.n(It),Ht=n(19);const At=Object(Te.createContext)({}),Lt=()=>Object(Te.useContext)(At);function Dt({id:e,url:t,naturalWidth:n,naturalHeight:o,isEditing:r,onFinishEditing:a,onSaveImage:c,children:l}){const i=function(e,t){const n=function({url:e,naturalWidth:t,naturalHeight:n}){const[o,r]=Object(Te.useState)(),[a,c]=Object(Te.useState)(),[l,i]=Object(Te.useState)({x:0,y:0}),[s,u]=Object(Te.useState)(),[m,d]=Object(Te.useState)(),[b,p]=Object(Te.useState)(),[g,h]=Object(Te.useState)(),v=Object(Te.useCallback)(()=>{i({x:0,y:0}),u(100),d(0),p(t/n),h(t/n)},[t,n,i,u,d,p,h]),O=Object(Te.useCallback)(()=>{const o=(m+90)%360;let a=t/n;if(m%180==90&&(a=n/t),0===o)return r(),d(o),p(1/b),void i({x:-l.y*a,y:l.x*a});const c=new window.Image;c.src=e,c.onload=function(e){const t=document.createElement("canvas");let n=0,c=0;o%180?(t.width=e.target.height,t.height=e.target.width):(t.width=e.target.width,t.height=e.target.height),90!==o&&180!==o||(n=t.width),270!==o&&180!==o||(c=t.height);const s=t.getContext("2d");s.translate(n,c),s.rotate(o*Math.PI/180),s.drawImage(e.target,0,0),t.toBlob(e=>{r(URL.createObjectURL(e)),d(o),p(1/b),i({x:-l.y*a,y:l.x*a})})};const s=Object(Ht.applyFilters)("media.crossOrigin",void 0,e);"string"==typeof s&&(c.crossOrigin=s)},[m,t,n,r,d,p,i]);return Object(Te.useMemo)(()=>({editedUrl:o,setEditedUrl:r,crop:a,setCrop:c,position:l,setPosition:i,zoom:s,setZoom:u,rotation:m,setRotation:d,rotateClockwise:O,aspect:b,setAspect:p,defaultAspect:g,initializeTransformValues:v}),[o,r,a,c,l,i,s,u,m,d,O,b,p,g,v])}(e),{initializeTransformValues:o}=n;return Object(Te.useEffect)(()=>{t&&o()},[t,o]),n}({url:t,naturalWidth:n,naturalHeight:o},r),s=function({crop:e,rotation:t,height:n,width:o,aspect:r,url:a,id:c,onSaveImage:l,onFinishEditing:i}){const{createErrorNotice:s}=Object(Ye.useDispatch)(rt.store),[u,m]=Object(Te.useState)(!1),d=Object(Te.useCallback)(()=>{m(!1),i()},[m,i]),b=Object(Te.useCallback)(()=>{m(!0);let u={};(e.width<99.9||e.height<99.9)&&(u=e),t>0&&(u.rotation=t),u.src=a,Rt()({path:`/wp/v2/media/${c}/edit`,method:"POST",data:u}).then(e=>{l({id:e.id,url:e.source_url,height:n&&o?o/r:void 0})}).catch(e=>{s(Object(Be.sprintf)(
2
  /* translators: 1. Error message */
3
  Object(Be.__)("Could not edit image. %s"),e.message),{id:"image-editing-error",type:"snackbar"})}).finally(()=>{m(!1),i()})},[m,e,t,n,o,r,a,l,s,m,i]);return Object(Te.useMemo)(()=>({isInProgress:u,apply:b,cancel:d}),[u,b,d])}({id:e,url:t,onSaveImage:c,onFinishEditing:a,...i}),u=Object(Te.useMemo)(()=>({...i,...s}),[i,s]);return Object(Te.createElement)(At.Provider,{value:u},l)}function Ft({url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:a}){const{isInProgress:c,editedUrl:l,position:i,zoom:s,aspect:u,setPosition:m,setCrop:d,setZoom:b,rotation:p}=Lt();let g=n||o*r/a;return p%180==90&&(g=o*a/r),Object(Te.createElement)("div",{className:Me()("wp-block-image__crop-area",{"is-applying":c}),style:{width:t||o,height:g}},Object(Te.createElement)(Mt,{image:l||e,disabled:c,minZoom:1,maxZoom:3,crop:i,zoom:s/100,aspect:u,onCropChange:m,onCropComplete:e=>{d(e)},onZoomChange:e=>{b(100*e)}}),c&&Object(Te.createElement)(Le.Spinner,null))}var Gt=n(206);function Ut(){const{isInProgress:e,zoom:t,setZoom:n}=Lt();return Object(Te.createElement)(Le.Dropdown,{contentClassName:"wp-block-image__zoom",popoverProps:Vt,renderToggle:({isOpen:t,onToggle:n})=>Object(Te.createElement)(Le.ToolbarButton,{icon:Gt.a,label:Object(Be.__)("Zoom"),onClick:n,"aria-expanded":t,disabled:e}),renderContent:()=>Object(Te.createElement)(Le.RangeControl,{label:Object(Be.__)("Zoom"),min:100,max:300,value:Math.round(t),onChange:n})})}var qt=n(92),Wt=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"}));function $t({aspectRatios:e,isDisabled:t,label:n,onClick:o,value:r}){return Object(Te.createElement)(Le.MenuGroup,{label:n},e.map(({title:e,aspect:n})=>Object(Te.createElement)(Le.MenuItem,{key:n,disabled:t,onClick:()=>{o(n)},role:"menuitemradio",isSelected:n===r,icon:n===r?qt.a:void 0},e)))}function Zt({toggleProps:e}){const{isInProgress:t,aspect:n,setAspect:o,defaultAspect:r}=Lt();return Object(Te.createElement)(Le.DropdownMenu,{icon:Wt,label:Object(Be.__)("Aspect Ratio"),popoverProps:Vt,toggleProps:e,className:"wp-block-image__aspect-ratio"},({onClose:e})=>Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)($t,{isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(Be.__)("Original"),aspect:r},{title:Object(Be.__)("Square"),aspect:1}]}),Object(Te.createElement)($t,{label:Object(Be.__)("Landscape"),isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(Be.__)("16:10"),aspect:1.6},{title:Object(Be.__)("16:9"),aspect:16/9},{title:Object(Be.__)("4:3"),aspect:4/3},{title:Object(Be.__)("3:2"),aspect:1.5}]}),Object(Te.createElement)($t,{label:Object(Be.__)("Portrait"),isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(Be.__)("10:16"),aspect:.625},{title:Object(Be.__)("9:16"),aspect:9/16},{title:Object(Be.__)("3:4"),aspect:3/4},{title:Object(Be.__)("2:3"),aspect:2/3}]})))}var Qt=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"}));function Jt(){const{isInProgress:e,rotateClockwise:t}=Lt();return Object(Te.createElement)(Le.ToolbarButton,{icon:Qt,label:Object(Be.__)("Rotate"),onClick:t,disabled:e})}function Kt(){const{isInProgress:e,apply:t,cancel:n}=Lt();return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Le.ToolbarButton,{onClick:t,disabled:e},Object(Be.__)("Apply")),Object(Te.createElement)(Le.ToolbarButton,{onClick:n},Object(Be.__)("Cancel")))}function Yt({url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:a}){return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ft,{url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:a}),Object(Te.createElement)(Ce.BlockControls,null,Object(Te.createElement)(Le.ToolbarGroup,null,Object(Te.createElement)(Ut,null),Object(Te.createElement)(Le.ToolbarItem,null,e=>Object(Te.createElement)(Zt,{toggleProps:e})),Object(Te.createElement)(Jt,null)),Object(Te.createElement)(Le.ToolbarGroup,null,Object(Te.createElement)(Kt,null))))}const Xt=["image"];function en({temporaryURL:e,attributes:{url:t="",alt:n,caption:o,align:r,id:a,href:c,rel:l,linkClass:i,linkDestination:s,title:u,width:m,height:d,linkTarget:b,sizeSlug:p},setAttributes:g,isSelected:h,insertBlocksAfter:v,onReplace:O,onSelectImage:j,onSelectURL:f,onUploadError:y,containerRef:_,clientId:w}){const k=Object(Te.useRef)(),E=Object(Xe.usePrevious)(t),{getBlock:C}=Object(Ye.useSelect)(Ce.store),{image:x,multiImageSelection:S}=Object(Ye.useSelect)(e=>{const{getMedia:t}=e(Ee.store),{getMultiSelectedBlockClientIds:n,getBlockName:o}=e(Ce.store),r=n();return{image:a&&h?t(a):null,multiImageSelection:r.length&&r.every(e=>"core/image"===o(e))}},[a,h]),{imageEditing:B,imageSizes:T,maxWidth:z,mediaUpload:P}=Object(Ye.useSelect)(e=>{const{getSettings:t}=e(Ce.store);return Object(Se.pick)(t(),["imageEditing","imageSizes","maxWidth","mediaUpload"])}),{replaceBlocks:N,toggleSelection:M}=Object(Ye.useDispatch)(Ce.store),{createErrorNotice:V,createSuccessNotice:I}=Object(Ye.useDispatch)(rt.store),R=Object(Xe.useViewportMatch)("medium"),H=Object(Se.includes)(["wide","full"],r),[{naturalWidth:A,naturalHeight:L},D]=Object(Te.useState)({}),[F,G]=Object(Te.useState)(!1),[U,q]=Object(Te.useState)(),W=ht(_,[r]),$=!H&&R,Z=Object(Se.map)(Object(Se.filter)(T,({slug:e})=>Object(Se.get)(x,["media_details","sizes",e,"source_url"])),({name:e,slug:t})=>({value:t,label:e})),Q=!!Object(xe.getBlockType)("core/cover");Object(Te.useEffect)(()=>{tn(a,t)&&h&&!U&&window.fetch(t).then(e=>e.blob()).then(e=>q(e))},[a,t,h,U]),Object(Te.useEffect)(()=>{t&&!E&&h&&k.current.focus()},[t,E]),Object(Te.useEffect)(()=>{h||G(!1)},[h]);const J=a&&A&&L&&B,K=!S&&J&&!F,Y=Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.BlockAlignmentControl,{value:r,onChange:function(e){const t=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};g({...t,align:e})}}),!S&&!F&&Object(Te.createElement)(Ce.__experimentalImageURLInputUI,{url:c||"",onChangeUrl:function(e){g(e)},linkDestination:s,mediaUrl:x&&x.source_url||t,mediaLink:x&&x.link,linkTarget:b,linkClass:i,rel:l}),K&&Object(Te.createElement)(Le.ToolbarButton,{onClick:()=>G(!0),icon:tt,label:Object(Be.__)("Crop")}),U&&Object(Te.createElement)(Le.ToolbarButton,{onClick:function(){P({filesList:[U],onFileChange([e]){j(e),Object(Ke.isBlobURL)(e.url)||(q(),I(Object(Be.__)("Image uploaded."),{type:"snackbar"}))},allowedTypes:Xt,onError(e){V(e,{type:"snackbar"})}})},icon:nt.a,label:Object(Be.__)("Upload external image")}),!S&&Q&&Object(Te.createElement)(Le.ToolbarButton,{icon:ot,label:Object(Be.__)("Add text over image"),onClick:function(){N(w,Object(xe.switchToBlockType)(C(w),"core/cover"))}})),!S&&!F&&Object(Te.createElement)(Ce.BlockControls,{group:"other"},Object(Te.createElement)(Ce.MediaReplaceFlow,{mediaId:a,mediaURL:t,allowedTypes:Xt,accept:"image/*",onSelect:j,onSelectURL:f,onError:y})),Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Image settings")},!S&&Object(Te.createElement)(Le.TextareaControl,{label:Object(Be.__)("Alt text (alternative text)"),value:n,onChange:function(e){g({alt:e})},help:Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Le.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(Be.__)("Describe the purpose of the image")),Object(Be.__)("Leave empty if the image is purely decorative."))}),Object(Te.createElement)(Ce.__experimentalImageSizeControl,{onChangeImage:function(e){const t=Object(Se.get)(x,["media_details","sizes",e,"source_url"]);if(!t)return null;g({url:t,width:void 0,height:void 0,sizeSlug:e})},onChange:e=>g(e),slug:p,width:m,height:d,imageSizeOptions:Z,isResizable:$,imageWidth:A,imageHeight:L}))),Object(Te.createElement)(Ce.InspectorAdvancedControls,null,Object(Te.createElement)(Le.TextControl,{label:Object(Be.__)("Title attribute"),value:u||"",onChange:function(e){g({title:e})},help:Object(Te.createElement)(Te.Fragment,null,Object(Be.__)("Describe the role of this image on the page."),Object(Te.createElement)(Le.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"},Object(Be.__)("(Note: many devices and browsers do not display this text.)")))}))),X=function(e){const t=Object(et.getPath)(e);if(t)return Object(Se.last)(t.split("/"))}(t);let ee;ee=n||(X?Object(Be.sprintf)(
4
  /* translators: %s: file name */
84
  /* translators: %s: HTML tag based on area. */
85
  Object(Be.__)("Default based on area (%s)"),`<${r}>`),value:""},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"},{label:"<div>",value:"div"}],value:e||"",onChange:e=>t({tagName:e})}))}function Um({postId:e,hasInnerBlocks:t,layout:n,tagName:o,blockProps:r}){const a=Object(Ye.useSelect)(e=>{var t;const{getSettings:n}=e(Ce.store);return null===(t=n())||void 0===t?void 0:t.supportsLayout},[]),c=Object(Ce.useSetting)("layout")||{},l=n&&n.inherit?c:n,{contentSize:i,wideSize:s}=l,u=Object(Te.useMemo)(()=>{if(a)return{type:"default",alignments:i||s?["wide","full"]:["left","center","right"]}},[a,i,s]),[m,d,b]=Object(Ee.useEntityBlockEditor)("postType","wp_template_part",{id:e}),p=Object(Ce.__experimentalUseInnerBlocksProps)(r,{value:m,onInput:d,onChange:b,renderAppender:t?void 0:Ce.InnerBlocks.ButtonBlockAppender,__experimentalLayout:u});return Object(Te.createElement)(o,p)}var qm=n(291),Wm=n(292),$m=n(293);const Zm=[{name:"header",icon:qm.a,title:Object(Be.__)("Header"),description:Object(Be.__)("The Header template defines a page area that typically contains a title, logo, and main navigation."),attributes:{area:"header"},scope:["inserter"]},{name:"footer",icon:Wm.a,title:Object(Be.__)("Footer"),description:Object(Be.__)("The Footer template defines a page area that typically contains site credits, social links, or any other combination of blocks."),attributes:{area:"footer"},scope:["inserter"]}];Zm.forEach(e=>{e.isActive||(e.isActive=(e,t)=>{const{area:n,theme:o,slug:r}=e;if(n)return n===t.area;if(!r)return!1;const a=Object(Ye.select)(Ee.store).getEntityRecord("postType","wp_template_part",`${o}//${r}`);return(null==a?void 0:a.area)===t.area})});var Qm=Zm;const Jm={apiVersion:2,name:"core/template-part",title:"Template Part",category:"theme",description:"Edit the different global regions of your site, like the header, footer, sidebar, or create your own.",textdomain:"default",attributes:{slug:{type:"string"},theme:{type:"string"},tagName:{type:"string"},area:{type:"string"}},supports:{align:!0,html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0},__experimentalLayout:!0},editorStyle:"wp-block-template-part-editor"},{name:Km}=Jm,Ym={icon:Sm.a,__experimentalLabel:({slug:e,theme:t})=>{var n;if(!e)return;const o=Object(Ye.select)(Ee.store).getEntityRecord("postType","wp_template_part",t+"//"+e);return o?Object(Se.startCase)((null===(n=o.title)||void 0===n?void 0:n.rendered)||o.slug):void 0},edit:function({attributes:e,setAttributes:t,clientId:n}){const{slug:o,theme:r,tagName:a,layout:c={}}=e,l=Bm(r,o),[i,s]=Object(Ce.__experimentalUseNoRecursiveRenders)(l),{isResolved:u,innerBlocks:m,isMissing:d,defaultWrapper:b,area:p,enableSelection:g}=Object(Ye.useSelect)(t=>{var o;const{getEditedEntityRecord:r,getEntityRecords:a,hasFinishedResolution:c}=t(Ee.store),{getBlocks:i}=t(Ce.store),s=["postType","wp_template_part",l],u=l?r(...s):null,m=(null==u?void 0:u.area)||e.area,d=a("postType","wp_template_part",m&&"uncategorized"!==m&&{area:m}),b=l?(null==d?void 0:d.length)>1:(null==d?void 0:d.length)>0,p=!!l&&c("getEditedEntityRecord",s),g=null===(o=t(Ko.store).__experimentalGetDefaultTemplatePartAreas().find(({area:e})=>e===m))||void 0===o?void 0:o.area_tag;return{innerBlocks:i(n),isResolved:p,isMissing:p&&!u,defaultWrapper:g||"div",area:m,enableSelection:b}},[l,n]),h=Object(Ce.useBlockProps)(),v=!o,O=!v&&!d&&u,j=a||b;return 0===m.length&&(o&&!r||o&&d)?Object(Te.createElement)(j,h,Object(Te.createElement)(Ce.Warning,null,Object(Be.sprintf)(
86
  /* translators: %s: Template part slug */
87
+ Object(Be.__)("Template part has been deleted or is unavailable: %s"),o))):O&&i?Object(Te.createElement)(j,h,Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Block cannot be rendered inside itself."))):Object(Te.createElement)(s,null,Object(Te.createElement)(Gm,{tagName:a,setAttributes:t,isEntityAvailable:O,templatePartId:l,defaultWrapper:b}),v&&Object(Te.createElement)(j,h,Object(Te.createElement)(Fm,{area:e.area,clientId:n,setAttributes:t,enableSelection:g})),O&&g&&Object(Te.createElement)(Ce.BlockControls,null,Object(Te.createElement)(Le.ToolbarGroup,{className:"wp-block-template-part__block-control-group"},Object(Te.createElement)(Le.Dropdown,{className:"wp-block-template-part__preview-dropdown-button",contentClassName:"wp-block-template-part__preview-dropdown-content",position:"bottom right left",renderToggle:({isOpen:e,onToggle:t})=>Object(Te.createElement)(Le.ToolbarButton,{"aria-expanded":e,onClick:t,disabled:e},Object(Be.__)("Replace")),renderContent:({onClose:e})=>Object(Te.createElement)(Am,{setAttributes:t,onClose:e,area:p,templatePartId:l})}))),O&&Object(Te.createElement)(Um,{tagName:j,blockProps:h,postId:l,hasInnerBlocks:m.length>0,layout:c}),!v&&!u&&Object(Te.createElement)(j,h,Object(Te.createElement)(Le.Spinner,null)))}};Object(Ht.addFilter)("blocks.registerBlockType","core/template-part",(function(e,t){if("core/template-part"!==t)return e;if(!e.variations||!e.variations.length)return{...e,variations:Qm};if(e.variations){const t=(e,t)=>{const{area:n,theme:o,slug:r}=e;if(n)return n===t.area;if(!r)return!1;const a=Object(Ye.select)(Ee.store).getEntityRecord("postType","wp_template_part",`${o}//${r}`);return(null==a?void 0:a.area)===t.area},n=e.variations.map(e=>{return{...e,...!e.isActive&&{isActive:t},..."string"==typeof e.icon&&{icon:(n=e.icon,"header"===n?qm.a:"footer"===n?Wm.a:"sidebar"===n?$m.a:Sm.a)}};var n});return{...e,variations:n}}return e}));var Xm=Object(Te.createElement)(ze.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Te.createElement)(ze.Path,{d:"M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"})),ed=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M17 4h-2v4.5h2V7h3V5.5h-3V4zM4 5.5h9V7H4V5.5zm16 5.75h-9v1.5h9v-1.5zm-16 0h3V10h2v4.25H7v-1.5H4v-1.5zM9 17H4v1.5h5V17zm4 0h7v1.5h-7V20h-2v-4.25h2V17z"}));function td({attributes:{query:e,displayLayout:t},setQuery:n,setDisplayLayout:o}){const r=Object(Xe.useInstanceId)(td,"blocks-query-pagination-max-page-input"),a=[{icon:Ol,title:Object(Be.__)("List view"),onClick:()=>o({type:"list"}),isActive:"list"===(null==t?void 0:t.type)},{icon:jl.a,title:Object(Be.__)("Grid view"),onClick:()=>o({type:"flex",columns:(null==t?void 0:t.columns)||3}),isActive:"flex"===(null==t?void 0:t.type)}];return Object(Te.createElement)(Te.Fragment,null,!e.inherit&&Object(Te.createElement)(Le.ToolbarGroup,null,Object(Te.createElement)(Le.Dropdown,{contentClassName:"block-library-query-toolbar__popover",renderToggle:({onToggle:e})=>Object(Te.createElement)(Le.ToolbarButton,{icon:ed,label:Object(Be.__)("Display settings"),onClick:e}),renderContent:()=>Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Le.BaseControl,null,Object(Te.createElement)(Le.__experimentalNumberControl,{__unstableInputWidth:"60px",label:Object(Be.__)("Items per Page"),labelPosition:"edge",min:1,max:100,onChange:e=>{var t;return n({perPage:null!==(t=+e)&&void 0!==t?t:-1})},step:"1",value:e.perPage,isDragEnabled:!1})),Object(Te.createElement)(Le.BaseControl,null,Object(Te.createElement)(Le.__experimentalNumberControl,{__unstableInputWidth:"60px",label:Object(Be.__)("Offset"),labelPosition:"edge",min:0,max:100,onChange:e=>n({offset:+e}),step:"1",value:e.offset,isDragEnabled:!1})),Object(Te.createElement)(Le.BaseControl,{id:r,help:Object(Be.__)("Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).")},Object(Te.createElement)(Le.__experimentalNumberControl,{id:r,__unstableInputWidth:"60px",label:Object(Be.__)("Max page to show"),labelPosition:"edge",min:0,onChange:e=>n({pages:+e}),step:"1",value:e.pages,isDragEnabled:!1})))})),Object(Te.createElement)(Le.ToolbarGroup,{controls:a}))}const nd=e=>({terms:e,...null==e?void 0:e.reduce((e,t)=>{const{mapById:n,mapByName:o,names:r}=e;return n[t.id]=t,o[t.name]=t,r.push(t.name),e},{mapById:{},mapByName:{},names:[]})}),od=[{label:Object(Be.__)("Include"),value:""},{label:Object(Be.__)("Exclude"),value:"exclude"},{label:Object(Be.__)("Only"),value:"only"}];function rd({attributes:{query:e,displayLayout:t},setQuery:n,setDisplayLayout:o}){var r,a;const{order:c,orderBy:l,author:i,postType:s,sticky:u,inherit:m}=e,[d,b]=Object(Te.useState)(!0),[p,g]=Object(Te.useState)(!0),[h,v]=Object(Te.useState)("post"===s),{postTypesTaxonomiesMap:O,postTypesSelectOptions:j}=(()=>{const{postTypes:e}=Object(Ye.useSelect)(e=>{var t;const{getPostTypes:n}=e(Ee.store),o=["attachment"];return{postTypes:null===(t=n({per_page:-1}))||void 0===t?void 0:t.filter(({viewable:e,slug:t})=>e&&!o.includes(t))}},[]);return{postTypesTaxonomiesMap:Object(Te.useMemo)(()=>{if(null!=e&&e.length)return e.reduce((e,t)=>(e[t.slug]=t.taxonomies,e),{})},[e]),postTypesSelectOptions:Object(Te.useMemo)(()=>(e||[]).map(({labels:e,slug:t})=>({label:e.singular_name,value:t})),[e])}})(),{authorList:f,categories:y,tags:_}=Object(Ye.useSelect)(e=>{const{getEntityRecords:t}=e(Ee.store),n={per_page:100},o=t("taxonomy","category",n),r=t("taxonomy","post_tag",n);return{categories:nd(o),tags:nd(r),authorList:t("root","user",{per_page:-1})}},[]);Object(Te.useEffect)(()=>{if(!O)return;const e=O[s];b(e.includes("category")),g(e.includes("post_tag"))},[s,O]),Object(Te.useEffect)(()=>{v("post"===s)},[s]);const w=(e,t)=>o=>{const r=Array.from(o.reduce((t,n)=>{const o=((e,t)=>{var n;const o=(null==t?void 0:t.id)||(null===(n=e[t])||void 0===n?void 0:n.id);if(o)return o;const r=t.toLocaleLowerCase();for(const t in e)if(t.toLocaleLowerCase()===r)return e[t].id})(e.mapByName,n);return o&&t.add(o),t},new Set));n({[t]:r})},k=w(y,"categoryIds"),E=w(_,"tagIds"),[C,x]=Object(Te.useState)(e.search),S=Object(Te.useCallback)(Object(Se.debounce)(()=>{e.search!==C&&n({search:C})},250),[C,e.search]);Object(Te.useEffect)(()=>(S(),S.cancel),[C,S]);const B=t=>{const n={category:{queryProp:"categoryIds",terms:y},post_tag:{queryProp:"tagIds",terms:_}}[t];return(e[n.queryProp]||[]).reduce((e,t)=>{const o=n.terms.mapById[t];return o&&e.push({id:t,value:o.name}),e},[])};return Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Settings")},Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Inherit query from URL"),help:Object(Be.__)("Disable the option to customize the query arguments. Leave enabled to inherit the global query depending on the URL."),checked:!!m,onChange:e=>n({inherit:!!e})}),!m&&Object(Te.createElement)(Le.SelectControl,{options:j,value:s,label:Object(Be.__)("Post Type"),onChange:e=>{const t={postType:e};O[e].includes("category")||(t.categoryIds=[]),O[e].includes("post_tag")||(t.tagIds=[]),"post"!==e&&(t.sticky=""),n(t)}}),"flex"===(null==t?void 0:t.type)&&Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Le.RangeControl,{label:Object(Be.__)("Columns"),value:t.columns,onChange:e=>o({columns:e}),min:2,max:Math.max(6,t.columns)}),t.columns>6&&Object(Te.createElement)(Le.Notice,{status:"warning",isDismissible:!1},Object(Be.__)("This column count exceeds the recommended amount and may cause visual breakage."))),!m&&Object(Te.createElement)(Le.QueryControls,{order:c,orderBy:l,onOrderChange:e=>n({order:e}),onOrderByChange:e=>n({orderBy:e})}),h&&Object(Te.createElement)(Le.SelectControl,{label:Object(Be.__)("Sticky posts"),options:od,value:u,onChange:e=>n({sticky:e})})),!m&&Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Filters")},d&&(null==y||null===(r=y.terms)||void 0===r?void 0:r.length)>0&&Object(Te.createElement)(Le.FormTokenField,{label:Object(Be.__)("Categories"),value:B("category"),suggestions:y.names,onChange:k}),p&&(null==_||null===(a=_.terms)||void 0===a?void 0:a.length)>0&&Object(Te.createElement)(Le.FormTokenField,{label:Object(Be.__)("Tags"),value:B("post_tag"),suggestions:_.names,onChange:E}),Object(Te.createElement)(Le.QueryControls,{selectedAuthorId:i,authorList:f,onAuthorChange:e=>n({author:""!==e?+e:void 0})}),Object(Te.createElement)(Le.TextControl,{label:Object(Be.__)("Keyword"),value:C,onChange:x})))}var ad=({clientId:e,name:t,attributes:n,setAttributes:o})=>{var r;const{blockType:a,defaultVariation:c,scopeVariations:l,allVariations:i}=Object(Ye.useSelect)(e=>{const{getBlockVariations:n,getBlockType:o,getDefaultBlockVariation:r}=e(xe.store);return{blockType:o(t),defaultVariation:r(t,"block"),scopeVariations:n(t,"block"),allVariations:n(t)}},[t]),{replaceInnerBlocks:s}=Object(Ye.useDispatch)(Ce.store),u=Object(Ce.useBlockProps)(),m=Object(Ce.__experimentalGetMatchingVariation)(n,i),d=(null==m?void 0:m.icon)||(null==a||null===(r=a.icon)||void 0===r?void 0:r.src),b=(null==m?void 0:m.title)||(null==a?void 0:a.title);return Object(Te.createElement)("div",u,Object(Te.createElement)(Ce.__experimentalBlockVariationPicker,{icon:d,label:b,variations:l,onSelect:(t=c)=>{t.attributes&&o(t.attributes),t.innerBlocks&&s(e,Object(xe.createBlocksFromInnerBlocksTemplate)(t.innerBlocks),!1)}}))};const cd=[["core/query-loop"]];function ld({attributes:e,setAttributes:t}){const{queryId:n,query:o,displayLayout:r,tagName:a="div",layout:c={}}=e,{__unstableMarkNextChangeAsNotPersistent:l}=Object(Ye.useDispatch)(Ce.store),i=Object(Xe.useInstanceId)(ld),{themeSupportsLayout:s}=Object(Ye.useSelect)(e=>{var t;const{getSettings:n}=e(Ce.store);return{themeSupportsLayout:null===(t=n())||void 0===t?void 0:t.supportsLayout}},[]),u=Object(Ce.useSetting)("layout")||{},m=c&&c.inherit?u:c,{contentSize:d,wideSize:b}=m,p=Object(Ce.useBlockProps)(),g=Object(Te.useMemo)(()=>{if(s)return{type:"default",alignments:d||b?["wide","full"]:["left","center","right"]}},[s,d,b]),h=Object(Ce.__experimentalUseInnerBlocksProps)(p,{template:cd,__experimentalLayout:g}),{postsPerPage:v}=Object(Ye.useSelect)(e=>{const{getSettings:t}=e(Ce.store);return{postsPerPage:+t().postsPerPage||3}},[]);Object(Te.useEffect)(()=>{const e={};!o.perPage&&v&&(e.perPage=v),Object.keys(e).length&&(l(),O(e))},[o.perPage]),Object(Te.useEffect)(()=>{n||(l(),t({queryId:i}))},[n,i]);const O=e=>t({query:{...o,...e}}),j=e=>t({displayLayout:{...r,...e}});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(rd,{attributes:e,setQuery:O,setDisplayLayout:j}),Object(Te.createElement)(Ce.BlockControls,null,Object(Te.createElement)(td,{attributes:e,setQuery:O,setDisplayLayout:j})),Object(Te.createElement)(Ce.InspectorAdvancedControls,null,Object(Te.createElement)(Le.SelectControl,{label:Object(Be.__)("HTML element"),options:[{label:Object(Be.__)("Default (<div>)"),value:"div"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<aside>",value:"aside"}],value:a,onChange:e=>t({tagName:e})})),Object(Te.createElement)(a,h))}function id(e){const{clientId:t,name:n}=e,o=Object(Ce.useBlockProps)();return Object(Te.createElement)("div",o,Object(Te.createElement)(Ce.__experimentalBlockPatternSetup,{blockName:n,clientId:t,startBlankComponent:Object(Te.createElement)(ad,e)}))}const sd=Object(Te.createElement)(Le.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(Te.createElement)(Le.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zM7 26h12v1H7v-1zm34-5H7v3h34v-3zM7 38h12v1H7v-1zm34-5H7v3h34v-3z"})),ud=Object(Te.createElement)(Le.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(Te.createElement)(Le.Path,{d:"M41 9H7v3h34V9zm-4 5H7v1h30v-1zm4 3H7v1h34v-1zM7 20h30v1H7v-1zm0 12h30v1H7v-1zm34 3H7v1h34v-1zM7 38h30v1H7v-1zm34-11H7v3h34v-3z"})),md=Object(Te.createElement)(Le.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(Te.createElement)(Le.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zm22 3H7v1h34v-1zM7 20h34v1H7v-1zm0 12h12v1H7v-1zm34 3H7v1h34v-1zM7 38h34v1H7v-1zm34-11H7v3h34v-3z"})),dd=Object(Te.createElement)(Le.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(Te.createElement)(Le.Path,{d:"M7 9h34v6H7V9zm12 8H7v1h12v-1zm18 3H7v1h30v-1zm0 18H7v1h30v-1zM7 35h12v1H7v-1zm34-8H7v6h34v-6z"}));var bd=[{name:"posts-list",title:Object(Be.__)("Posts List"),description:Object(Be.__)("Display a list of your most recent posts, excluding sticky posts."),icon:pl,attributes:{query:{perPage:4,pages:1,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude"}},scope:["inserter"]},{name:"title-date",title:Object(Be.__)("Title & Date"),icon:sd,innerBlocks:[["core/query-loop",{},[["core/post-title"],["core/post-date"]]]],scope:["block"]},{name:"title-excerpt",title:Object(Be.__)("Title & Excerpt"),icon:ud,innerBlocks:[["core/query-loop",{},[["core/post-title"],["core/post-excerpt"]]]],scope:["block"]},{name:"title-date-excerpt",title:Object(Be.__)("Title, Date, & Excerpt"),icon:md,innerBlocks:[["core/query-loop",{},[["core/post-title"],["core/post-date"],["core/post-excerpt"]]]],scope:["block"]},{name:"image-date-title",title:Object(Be.__)("Image, Date, & Title"),icon:dd,innerBlocks:[["core/query-loop",{},[["core/post-featured-image"],["core/post-date"],["core/post-title"]]]],scope:["block"]}],pd=[{attributes:{queryId:{type:"number"},query:{type:"object",default:{perPage:null,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!0}},layout:{type:"object",default:{type:"list"}}},supports:{html:!1},save:()=>Object(Te.createElement)(Ce.InnerBlocks.Content,null)}];const gd=({attributes:{query:{postType:e}={}}={}})=>{if(!e)return null;const t=Object(et.addQueryArgs)("post-new.php",{post_type:e});return Object(Te.createElement)("div",{className:"wp-block-query__create-new-link"},Object(Te.createInterpolateElement)(Object(Be.__)("<a>Create a new post</a> for this feed."),{a:Object(Te.createElement)("a",{href:t})}))};var hd=Object(Xe.createHigherOrderComponent)(e=>t=>{const{name:n,isSelected:o}=t;return"core/query"===n&&o?Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(gd,t)),Object(Te.createElement)(e,Object(Ae.a)({key:"edit"},t))):Object(Te.createElement)(e,Object(Ae.a)({key:"edit"},t))},"withInspectorControls");const vd={apiVersion:2,name:"core/query",title:"Query",category:"design",description:"Displays a list of posts as a result of a query.",textdomain:"default",attributes:{queryId:{type:"number"},query:{type:"object",default:{perPage:null,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!0}},tagName:{type:"string",default:"div"},displayLayout:{type:"object",default:{type:"list"}}},providesContext:{queryId:"queryId",query:"query",displayLayout:"displayLayout"},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},__experimentalLayout:!0},editorStyle:"wp-block-query-editor"},{name:Od}=vd,jd={icon:Xm,edit:e=>{const{clientId:t}=e,n=Object(Ye.useSelect)(e=>!!e(Ce.store).getBlocks(t).length,[t])?ld:id;return Object(Te.createElement)(n,e)},save:function({attributes:{tagName:e="div"}}){return Object(Te.createElement)(e,Ce.useBlockProps.save(),Object(Te.createElement)(Ce.InnerBlocks.Content,null))},variations:bd,deprecated:pd};Object(Ht.addFilter)("editor.BlockEdit","core/query",hd);const fd=[["core/post-title"],["core/post-date"],["core/post-excerpt"]],yd={apiVersion:2,name:"core/query-loop",title:"Query Loop",category:"design",parent:["core/query"],description:"Query loop.",textdomain:"default",usesContext:["queryId","query","queryContext","displayLayout","templateSlug"],supports:{reusable:!1,html:!1,align:!0},style:"wp-block-query-loop",editorStyle:"wp-block-query-loop-editor"},{name:_d}=yd,wd={icon:Xm,edit:function({clientId:e,context:{query:{perPage:t,offset:n,categoryIds:o=[],postType:r,tagIds:a=[],order:c,orderBy:l,author:i,search:s,exclude:u,sticky:m,inherit:d}={},queryId:b,queryContext:p=[{page:1}],templateSlug:g,displayLayout:{type:h="flex",columns:v=1}={}}}){const[{page:O}]=p,[j,f]=Object(Te.useState)(),{posts:y,blocks:_}=Object(Ye.useSelect)(b=>{const{getEntityRecords:p}=b(Ee.store),{getBlocks:h}=b(Ce.store),v={offset:t?t*(O-1)+n:0,categories:o,tags:a,order:c,orderby:l};return t&&(v.per_page=t),i&&(v.author=i),s&&(v.search=s),null!=u&&u.length&&(v.exclude=u),m&&(v.sticky="only"===m),d&&null!=g&&g.startsWith("archive-")&&(v.postType=g.replace("archive-",""),r=v.postType),{posts:p("postType",r,v),blocks:h(e)}},[t,O,n,o,a,c,l,e,i,s,r,u,m,d,g]),w=Object(Te.useMemo)(()=>null==y?void 0:y.map(e=>({postType:e.type,postId:e.id,queryId:b})),[y]),k="flex"===h&&v>1,E=Object(Ce.useBlockProps)({className:Me()({"is-flex-container":k,["columns-"+v]:k})}),C=Object(Ce.__experimentalUseInnerBlocksProps)({},{template:fd});return y?y.length?Object(Te.createElement)("ul",E,w&&w.map(e=>Object(Te.createElement)(Ce.BlockContextProvider,{key:e.postId,value:e},e===(j||w[0])?Object(Te.createElement)("li",C):Object(Te.createElement)("li",null,Object(Te.createElement)(Ce.BlockPreview,{blocks:_,__experimentalLive:!0,__experimentalOnClick:()=>f(e)}))))):Object(Te.createElement)("p",E," ",Object(Be.__)("No results found.")):Object(Te.createElement)("p",E,Object(Te.createElement)(Le.Spinner,null))},save:function(){return Object(Te.createElement)(Ce.InnerBlocks.Content,null)}},kd=["archive"];var Ed=Object(Te.createElement)(ze.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Te.createElement)(ze.Path,{stroke:"#1E1E1E",strokeWidth:"1.5",d:"M4 19.25h9M4 15.25h16"}),Object(Te.createElement)(ze.Path,{d:"M8.994 10.103H6.08L5.417 12H4l2.846-8h1.383l2.845 8H9.657l-.663-1.897zm-.457-1.28l-.994-2.857-1.006 2.857h2z",fill:"#1E1E1E"}));const Cd=[{isDefault:!0,name:"archive-title",title:Object(Be.__)("Archive Title"),description:Object(Be.__)("Display the archive title based on the queried object."),icon:Ed,attributes:{type:"archive"},scope:["inserter"]}];Cd.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.type===t.type)});var xd=Cd;const Sd={apiVersion:2,name:"core/query-title",title:"Query Title",category:"design",description:"Display the query title.",textdomain:"default",attributes:{type:{type:"string"},textAlign:{type:"string"},level:{type:"number",default:1}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0}},editorStyle:"wp-block-query-title-editor"},{name:Bd}=Sd,Td={edit:function({attributes:{type:e,level:t,textAlign:n},setAttributes:o}){const r="h"+t,a=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+n]:n,"wp-block-query-title__placeholder":"archive"===e})});if(!kd.includes(e))return Object(Te.createElement)("div",a,Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Provided type is not supported.")));let c;return"archive"===e&&(c=Object(Te.createElement)(r,a,Object(Be.__)("Archive title"))),Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(yn,{selectedLevel:t,onChange:e=>o({level:e})}),Object(Te.createElement)(Ce.AlignmentControl,{value:n,onChange:e=>{o({textAlign:e})}})),c)},variations:xd};var zd=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Rect,{x:"4",y:"10.5",width:"6",height:"3",rx:"1.5",fill:"#000"}),Object(Te.createElement)(ze.Rect,{x:"12",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(Te.createElement)(ze.Rect,{x:"17",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}));const Pd=[["core/query-pagination-previous"],["core/query-pagination-numbers"],["core/query-pagination-next"]],Nd={apiVersion:2,name:"core/query-pagination",title:"Query Pagination",category:"design",parent:["core/query"],description:"Displays a paginated navigation to next/previous set of posts, when applicable.",textdomain:"default",usesContext:["queryId","query"],supports:{align:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0}},editorStyle:"wp-block-query-pagination-editor",style:"wp-block-query-pagination"},{name:Md}=Nd,Vd={icon:zd,edit:function(){const e=Object(Ce.useBlockProps)(),t=Object(Ce.__experimentalUseInnerBlocksProps)(e,{template:Pd,allowedBlocks:["core/query-pagination-previous","core/query-pagination-numbers","core/query-pagination-next"],orientation:"horizontal"});return Object(Te.createElement)("div",t)},save:function(){return Object(Te.createElement)("div",Ce.useBlockProps.save(),Object(Te.createElement)(Ce.InnerBlocks.Content,null))}};var Id=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Rect,{x:"6",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(Te.createElement)(ze.Rect,{x:"11",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(Te.createElement)(ze.Path,{d:"M16.5 9.5L19 12l-2.5 2.5",stroke:"#1E1E1E",strokeWidth:"1.5"}));const Rd={apiVersion:2,name:"core/query-pagination-next",title:"Query Pagination Next",category:"design",parent:["core/query-pagination"],description:"Displays the next posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query"],supports:{reusable:!1,html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0}}},{name:Hd}=Rd,Ad={icon:Id,edit:function({attributes:{label:e},setAttributes:t}){return Object(Te.createElement)(Ce.PlainText,Object(Ae.a)({__experimentalVersion:2,tagName:"a","aria-label":Object(Be.__)("Next page link"),placeholder:Object(Be.__)("Next Page"),value:e,onChange:e=>t({label:e})},Object(Ce.useBlockProps)()))}};var Ld=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Rect,{x:"4",y:"10.5",width:"6",height:"3",rx:"1.5",fill:"#000"}),Object(Te.createElement)(ze.Path,{d:"M13.5 14v-4l-1.5.5",stroke:"#1E1E1E"}),Object(Te.createElement)(ze.Path,{d:"M19.266 9.805c-.473-.611-1.22-.51-1.702-.367a3.854 3.854 0 00-.718.307l.13 1.082c.192-.17.47-.422.782-.515.34-.1.578.025.668.141.21.27-.034.835-.16 1.055-.49.85-.93 1.594-1.45 2.492H19.5v-1h-.914c.277-.574.814-1.443.914-2.106.052-.343.02-.762-.234-1.09z",fill:"#1E1E1E"}));const Dd=(e,t="a",n="")=>Object(Te.createElement)(t,{className:"page-numbers "+n},e),Fd={apiVersion:2,name:"core/query-pagination-numbers",title:"Query Pagination Numbers",category:"design",parent:["core/query-pagination"],description:"Displays a list of page numbers for pagination",textdomain:"default",usesContext:["queryId","query"],supports:{reusable:!1,html:!1},editorStyle:"query-pagination-numbers-editor"},{name:Gd}=Fd,Ud={icon:Ld,edit:function(){const e=Object(Te.createElement)(Te.Fragment,null,Dd(1),Dd(2),Dd(3,"span","current"),Dd(4),Dd(5),Dd("...","span","dots"),Dd(8));return Object(Te.createElement)("div",Object(Ce.useBlockProps)(),e)}};var qd=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Rect,{x:"18",y:"13.5",width:"3",height:"3",rx:"1.5",transform:"rotate(-180 18 13.5)",fill:"#000"}),Object(Te.createElement)(ze.Rect,{x:"13",y:"13.5",width:"3",height:"3",rx:"1.5",transform:"rotate(-180 13 13.5)",fill:"#000"}),Object(Te.createElement)(ze.Path,{d:"M7.5 14.5L5 12l2.5-2.5",stroke:"#1E1E1E",strokeWidth:"1.5"}));const Wd={apiVersion:2,name:"core/query-pagination-previous",title:"Query Pagination Previous",category:"design",parent:["core/query-pagination"],description:"Displays the previous posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query"],supports:{reusable:!1,html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0}}},{name:$d}=Wd,Zd={icon:qd,edit:function({attributes:{label:e},setAttributes:t}){return Object(Te.createElement)(Ce.PlainText,Object(Ae.a)({__experimentalVersion:2,tagName:"a","aria-label":Object(Be.__)("Previous page link"),placeholder:Object(Be.__)("Previous Page"),value:e,onChange:e=>t({label:e})},Object(Ce.useBlockProps)()))}};var Qd=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M6.6 6L5.4 7l4.5 5-4.5 5 1.1 1 5.5-6-5.4-6zm6 0l-1.1 1 4.5 5-4.5 5 1.1 1 5.5-6-5.5-6z"})),Jd=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M11.6 7l-1.1-1L5 12l5.5 6 1.1-1L7 12l4.6-5zm6 0l-1.1-1-5.5 6 5.5 6 1.1-1-4.6-5 4.6-5z"}));const Kd=[{isDefault:!0,name:"post-next",title:Object(Be.__)("Next post"),description:Object(Be.__)("Displays the post link that follows the current post."),icon:Qd,attributes:{type:"next"},scope:["inserter","transform"]},{name:"post-previous",title:Object(Be.__)("Previous post"),description:Object(Be.__)("Displays the post link that precedes the current post."),icon:Jd,attributes:{type:"previous"},scope:["inserter","transform"]}];Kd.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.type===t.type)});var Yd=Kd;const Xd={apiVersion:2,name:"core/post-navigation-link",title:"Post Navigation Link",category:"design",description:"Displays the next or previous post link that is adjacent to the current post.",textdomain:"default",attributes:{textAlign:{type:"string"},type:{type:"string",default:"next"},label:{type:"string"},showTitle:{type:"boolean",default:!1}},supports:{reusable:!1,html:!1}},{name:eb}=Xd,tb={edit:function({attributes:{type:e,label:t,showTitle:n,textAlign:o},setAttributes:r}){const a="next"===e,c=a?Object(Be.__)("Next"):Object(Be.__)("Previous"),l=a?Object(Be.__)("Next post"):Object(Be.__)("Previous post"),i=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+o]:o})});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,null,Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Display the title as a link"),help:Object(Be.__)("If you have entered a custom label, it will be prepended before the title."),checked:!!n,onChange:()=>r({showTitle:!n})}))),Object(Te.createElement)(Ce.BlockControls,null,Object(Te.createElement)(Ce.AlignmentToolbar,{value:o,onChange:e=>{r({textAlign:e})}})),Object(Te.createElement)("div",i,Object(Te.createElement)(Ce.RichText,{tagName:"a","aria-label":l,placeholder:c,value:t,allowedFormats:["core/bold","core/italic"],onChange:e=>r({label:e})})))},variations:Yd};function nb(e,t,n){return Object(Ye.useSelect)(o=>o(Ee.store).canUserEditEntityRecord(e,t,n),[e,t,n])}const ob={apiVersion:2,name:"core/post-title",title:"Post Title",category:"design",description:"Displays the title of a post, page, or any other content-type.",textdomain:"default",usesContext:["postId","postType","queryId"],attributes:{textAlign:{type:"string"},level:{type:"number",default:2},isLink:{type:"boolean",default:!1},rel:{type:"string",attribute:"rel",default:""},linkTarget:{type:"string",default:"_self"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0}},style:"wp-block-post-title"},{name:rb}=ob,ab={icon:Qc,edit:function({attributes:{level:e,textAlign:t,isLink:n,rel:o,linkTarget:r},setAttributes:a,context:{postType:c,postId:l,queryId:i}}){const s=0===e?"p":"h"+e,u=!!i,m=nb("postType",c,l),[d="",b,p]=Object(Ee.useEntityProp)("postType",c,"title",l),[g]=Object(Ee.useEntityProp)("postType",c,"link",l),h=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+t]:t})});let v=Object(Te.createElement)(s,n?{}:h,Object(Be.__)("An example title"));return c&&l&&(v=m&&!u?Object(Te.createElement)(Ce.PlainText,Object(Ae.a)({tagName:s,placeholder:Object(Be.__)("No Title"),value:d,onChange:b,__experimentalVersion:2},n?{}:h)):Object(Te.createElement)(s,n?{}:h,Object(Te.createElement)(Te.RawHTML,{key:"html"},p.rendered))),n&&(v=m&&!u?Object(Te.createElement)(s,h,Object(Te.createElement)(Ce.PlainText,{tagName:"a",href:g,target:r,rel:o,placeholder:d.length?null:Object(Be.__)("No Title"),value:d,onChange:b,__experimentalVersion:2})):Object(Te.createElement)(s,h,Object(Te.createElement)("a",{href:g,target:r,rel:o,onClick:e=>e.preventDefault()},Object(Te.createElement)(Te.RawHTML,{key:"html"},p.rendered)))),Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(yn,{selectedLevel:e,onChange:e=>a({level:e})}),Object(Te.createElement)(Ce.AlignmentControl,{value:t,onChange:e=>{a({textAlign:e})}})),Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Link settings")},Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Make title a link"),onChange:()=>a({isLink:!n}),checked:n}),n&&Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Open in new tab"),onChange:e=>a({linkTarget:e?"_blank":"_self"}),checked:"_blank"===r}),Object(Te.createElement)(Le.TextControl,{label:Object(Be.__)("Link rel"),value:o,onChange:e=>a({rel:e})})))),v)}};var cb=Object(Te.createElement)(ze.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M4 20h16v-1.5H4V20zm0-4.8h16v-1.5H4v1.5zm0-6.4v1.5h16V8.8H4zM16 4H4v1.5h12V4z"}));function lb({userCanEdit:e,postType:t,postId:n}){const[,,o]=Object(Ee.useEntityProp)("postType",t,"content",n),r=Object(Ce.useBlockProps)();return null!=o&&o.protected&&!e?Object(Te.createElement)("div",r,Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("This content is password protected."))):Object(Te.createElement)("div",r,Object(Te.createElement)(Te.RawHTML,{key:"html"},null==o?void 0:o.rendered))}function ib({layout:e,context:t={}}){const{postType:n,postId:o}=t,r=Object(Ye.useSelect)(e=>{var t;const{getSettings:n}=e(Ce.store);return null===(t=n())||void 0===t?void 0:t.supportsLayout},[]),a=Object(Ce.useSetting)("layout")||{},c=e&&e.inherit?a:e,{contentSize:l,wideSize:i}=c,s=Object(Te.useMemo)(()=>{if(r)return{type:"default",alignments:l||i?["wide","full"]:["left","center","right"]}},[r,l,i]),[u,m,d]=Object(Ee.useEntityBlockEditor)("postType",n,{id:o}),b=Object(Ce.__experimentalUseInnerBlocksProps)(Object(Ce.useBlockProps)({className:"entry-content"}),{value:u,onInput:m,onChange:d,__experimentalLayout:s});return Object(Te.createElement)("div",b)}function sb(e){const{context:{queryId:t,postType:n,postId:o}={}}=e,r=!!t,a=nb("postType",n,o);return a&&!r?Object(Te.createElement)(ib,e):Object(Te.createElement)(lb,{userCanEdit:a,postType:n,postId:o})}function ub(){const e=Object(Ce.useBlockProps)();return Object(Te.createElement)("div",e,Object(Te.createElement)("div",{className:"wp-block-post-content__placeholder"},Object(Te.createElement)("span",null,Object(Be.__)("This is a placeholder for post content."))))}function mb(){const e=Object(Ce.useBlockProps)();return Object(Te.createElement)("div",e,Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Block cannot be rendered inside itself.")))}const db={apiVersion:2,name:"core/post-content",title:"Post Content",category:"design",description:"Displays the contents of a post or page.",textdomain:"default",usesContext:["postId","postType","queryId"],supports:{align:["wide","full"],html:!1,__experimentalLayout:!0},editorStyle:"wp-block-post-content-editor"},{name:bb}=db,pb={icon:cb,edit:function({context:e,attributes:t}){const{postId:n,postType:o}=e,{layout:r={}}=t,[a,c]=Object(Ce.__experimentalUseNoRecursiveRenders)(n);return n&&o&&a?Object(Te.createElement)(mb,null):Object(Te.createElement)(c,null,n&&o?Object(Te.createElement)(sb,{context:e,layout:r}):Object(Te.createElement)(ub,null))}};var gb=Object(Te.createElement)(Le.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(Le.Path,{d:"M5.8 11c0-.7.6-1.2 1.2-1.2h4c.7 0 1.2.6 1.2 1.2v1h1.5v-1c0-1.5-1.2-2.8-2.8-2.8H7c-1.5 0-2.8 1.2-2.8 2.8v1h1.5v-1zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zM9 7c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}));const hb={apiVersion:2,name:"core/post-author",title:"Post Author",category:"design",description:"Add the author of this post.",textdomain:"default",attributes:{textAlign:{type:"string"},avatarSize:{type:"number",default:48},showAvatar:{type:"boolean",default:!0},showBio:{type:"boolean"},byline:{type:"string"}},usesContext:["postType","postId","queryId"],supports:{html:!1,typography:{fontSize:!0,lineHeight:!0},color:{gradients:!0,link:!0}},editorStyle:"wp-block-post-author-editor",style:"wp-block-post-author"},{name:vb}=hb,Ob={icon:gb,edit:function({isSelected:e,context:{postType:t,postId:n,queryId:o},attributes:r,setAttributes:a}){const c=!!o,{authorId:l,authorDetails:i,authors:s}=Object(Ye.useSelect)(e=>{var o;const{getEditedEntityRecord:r,getUser:a,getUsers:c}=e(Ee.store),l=null===(o=r("postType",t,n))||void 0===o?void 0:o.author;return{authorId:l,authorDetails:l?a(l):null,authors:c({who:"authors"})}},[t,n]),{editEntityRecord:u}=Object(Ye.useDispatch)(Ee.store),{textAlign:m,showAvatar:d,showBio:b,byline:p}=r,g=[];i&&Object(Se.forEach)(i.avatar_urls,(e,t)=>{g.push({value:t,label:`${t} x ${t}`})});const h=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+m]:m})});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Author Settings")},!c&&!(null==s||!s.length)&&Object(Te.createElement)(Le.SelectControl,{label:Object(Be.__)("Author"),value:l,options:s.map(({id:e,name:t})=>({value:e,label:t})),onChange:e=>{u("postType",t,n,{author:e})}}),Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Show avatar"),checked:d,onChange:()=>a({showAvatar:!d})}),d&&Object(Te.createElement)(Le.SelectControl,{label:Object(Be.__)("Avatar size"),value:r.avatarSize,options:g,onChange:e=>{a({avatarSize:Number(e)})}}),Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Show bio"),checked:b,onChange:()=>a({showBio:!b})}))),Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:m,onChange:e=>{a({textAlign:e})}})),Object(Te.createElement)("div",h,d&&i&&Object(Te.createElement)("div",{className:"wp-block-post-author__avatar"},Object(Te.createElement)("img",{width:r.avatarSize,src:i.avatar_urls[r.avatarSize],alt:i.name})),Object(Te.createElement)("div",{className:"wp-block-post-author__content"},(!Ce.RichText.isEmpty(p)||e)&&Object(Te.createElement)(Ce.RichText,{className:"wp-block-post-author__byline",multiline:!1,"aria-label":Object(Be.__)("Post author byline text"),placeholder:Object(Be.__)("Write byline…"),value:p,onChange:e=>a({byline:e})}),Object(Te.createElement)("p",{className:"wp-block-post-author__name"},(null==i?void 0:i.name)||Object(Be.__)("Post Author")),b&&Object(Te.createElement)("p",{className:"wp-block-post-author__bio"},null==i?void 0:i.description))))}};var jb=n(146);const fb=["core/post-comment-content","core/post-comment-author"],yb={apiVersion:2,name:"core/post-comment",title:"Post Comment",category:"design",description:"Post comment.",textdomain:"default",attributes:{commentId:{type:"number"}},providesContext:{commentId:"commentId"},supports:{html:!1}},{name:_b}=yb,wb={icon:ul,edit:function({attributes:e,setAttributes:t}){const{commentId:n}=e,[o,r]=Object(Te.useState)(n),a=Object(Ce.useBlockProps)();return n?Object(Te.createElement)("div",a,Object(Te.createElement)(Ce.InnerBlocks,{allowedBlocks:fb})):Object(Te.createElement)("div",a,Object(Te.createElement)(Le.Placeholder,{icon:jb.a,label:Object(Be.__)("Post Comment"),instructions:Object(Be.__)("To show a comment, input the comment ID.")},Object(Te.createElement)(Le.TextControl,{value:n,onChange:e=>r(parseInt(e))}),Object(Te.createElement)(Le.Button,{variant:"primary",onClick:()=>{t({commentId:o})}},Object(Be.__)("Save"))))},save:function(){return Object(Te.createElement)("div",Ce.useBlockProps.save(),Object(Te.createElement)(Ce.InnerBlocks.Content,null))}};var kb=Object(Te.createElement)(Le.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(Le.Path,{d:"M5.8 11c0-.7.6-1.2 1.2-1.2h4c.7 0 1.2.6 1.2 1.2v1h1.5v-1c0-1.5-1.2-2.8-2.8-2.8H7c-1.5 0-2.8 1.2-2.8 2.8v1h1.5v-1zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zM9 7c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}));const Eb={apiVersion:2,name:"core/post-comment-author",title:"Post Comment Author",category:"design",parent:["core/post-comment"],description:"Post comment author.",textdomain:"default",usesContext:["commentId"],supports:{html:!1}},{name:Cb}=Eb,xb={icon:kb,edit:function({attributes:e,context:t}){const{className:n}=e,{commentId:o}=t,r=Object(Ye.useSelect)(e=>{const{getEntityRecord:t}=e(Ee.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:Object(Be.__)("Anonymous")}return null!=r?r:""});return Object(Te.createElement)("div",Object(Ce.useBlockProps)(),Object(Te.createElement)("p",{className:n},r))}},Sb={apiVersion:2,name:"core/post-comment-content",title:"Post Comment Content",category:"design",parent:["core/post-comment"],description:"Post comment content",textdomain:"default",usesContext:["commentId"],supports:{html:!1}},{name:Bb}=Sb,Tb={icon:cb,edit:function({attributes:e,context:t}){const{className:n}=e,{commentId:o}=t,[r]=Object(Ee.useEntityProp)("root","comment","content",o);return Object(Te.createElement)("div",Object(Ce.useBlockProps)(),Object(Te.createElement)("p",{className:n},r))}};var zb=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.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"}),Object(Te.createElement)(ze.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"}));const Pb={apiVersion:2,name:"core/post-comment-date",title:"Post Comment Date",category:"design",parent:["core/post-comment"],description:"Post comment date.",textdomain:"default",attributes:{format:{type:"string"}},usesContext:["commentId"],supports:{html:!1}},{name:Nb}=Pb,Mb={icon:zb,edit:function({attributes:e,context:t,setAttributes:n}){const{className:o,format:r}=e,{commentId:a}=t,c=Object(vl.__experimentalGetSettings)(),[l]=Object(Ee.useEntityProp)("root","site","date_format"),[i]=Object(Ee.useEntityProp)("root","comment","date",a),s=Object.values(c.formats).map(e=>({key:e,name:Object(vl.dateI18n)(e,i)})),u=r||l||c.formats.date,m=Object(Ce.useBlockProps)({className:o});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Format settings")},Object(Te.createElement)(Le.CustomSelectControl,{hideLabelFromVision:!0,label:Object(Be.__)("Date Format"),options:s,onChange:({selectedItem:e})=>n({format:e.key}),value:s.find(e=>e.key===u)}))),Object(Te.createElement)("div",m,Object(Te.createElement)("time",{dateTime:Object(vl.dateI18n)("c",i)},Object(vl.dateI18n)(u,i))))}};var Vb=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.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"}));function Ib({postId:e}){return Object(Ye.useSelect)(t=>{const n=t(Ee.store).getEntityRecords("root","comment",{post:e});return n&&n.length?n.map(e=>Object(Te.createElement)(Te.RawHTML,{className:"wp-block-post-comments__comment",key:e.id},e.content.rendered)):Object(Be.__)("No comments.")},[e])}const Rb={apiVersion:2,name:"core/post-comments",title:"Post Comments",category:"design",description:"Display a post's comments.",textdomain:"default",attributes:{textAlign:{type:"string"}},usesContext:["postId","postType"],supports:{html:!1,align:["wide","full"],typography:{fontSize:!0,lineHeight:!0},color:{gradients:!0,link:!0}},style:"wp-block-post-comments"},{name:Hb}=Rb,Ab={icon:Vb,edit:function({attributes:e,setAttributes:t,context:n}){const{postType:o,postId:r}=n,{textAlign:a}=e,c=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+a]:a})});return o&&r?Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:a,onChange:e=>{t({textAlign:e})}})),Object(Te.createElement)("div",c,Object(Te.createElement)(Ib,{postId:r}))):Object(Te.createElement)("div",c,Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Post comments block: no post found.")))}};var Lb=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.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-1V13c0-.6-.4-1-1-1zm-2.2 6.6H7l1.6-2.2c.3-.4.5-.7.6-.9.1-.2.2-.4.2-.5 0-.2-.1-.3-.1-.4-.1-.1-.2-.1-.4-.1s-.4 0-.6.1c-.3.1-.5.3-.7.4l-.2.2-.2-1.2.1-.1c.3-.2.5-.3.8-.4.3-.1.6-.1.9-.1.3 0 .6.1.9.2.2.1.4.3.6.5.1.2.2.5.2.7 0 .3-.1.6-.2.9-.1.3-.4.7-.7 1.1l-.5.6h1.6v1.2z"}));const Db={apiVersion:2,name:"core/post-comments-count",title:"Post Comments Count",category:"design",description:"Display a post's comments count.",textdomain:"default",attributes:{textAlign:{type:"string"}},usesContext:["postId"],supports:{html:!1,color:{gradients:!0},typography:{fontSize:!0,lineHeight:!0}}},{name:Fb}=Db,Gb={icon:Lb,edit:function({attributes:e,context:t,setAttributes:n}){const{textAlign:o}=e,{postId:r}=t,[a,c]=Object(Te.useState)(),l=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+o]:o})});return Object(Te.useEffect)(()=>{if(!r)return;const e=r;Rt()({path:Object(et.addQueryArgs)("/wp/v2/comments",{post:r}),parse:!1}).then(t=>{e===r&&c(t.headers.get("X-WP-Total"))})},[r]),Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:o,onChange:e=>{n({textAlign:e})}})),Object(Te.createElement)("div",l,r&&void 0!==a?a:Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Post Comments Count block: post not found."))))}};var Ub=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.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-1V13c0-.6-.4-1-1-1zm-.5 6.6H6.7l-1.2 1.2v-6.3h7v5.1z"}));const qb={apiVersion:2,name:"core/post-comments-form",title:"Post Comments Form",category:"design",description:"Display a post's comments form.",textdomain:"default",attributes:{textAlign:{type:"string"}},usesContext:["postId","postType"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0}},style:"wp-block-post-comments-form"},{name:Wb}=qb,$b={icon:Ub,edit:function({attributes:e,context:t,setAttributes:n}){const{textAlign:o}=e,{postId:r,postType:a}=t,[c]=Object(Ee.useEntityProp)("postType",a,"comment_status",r),l=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+o]:o})});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:o,onChange:e=>{n({textAlign:e})}})),Object(Te.createElement)("div",l,!c&&Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Post Comments Form block: comments are not enabled for this post type.")),"open"!==c&&Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Post Comments Form block: comments to this post are not allowed.")),"open"===c&&Object(Be.__)("Post Comments Form")))}};const Zb={apiVersion:2,name:"core/post-comments-link",title:"Post Comments Link",category:"design",description:"Displays the link to the current post comments.",textdomain:"default",usesContext:["postType","postId"],attributes:{textAlign:{type:"string"}},supports:{html:!1,color:{link:!0,text:!1},typography:{fontSize:!0,lineHeight:!0}}},{name:Qb}=Zb,Jb={edit:function({context:e,attributes:t,setAttributes:n}){const{textAlign:o}=t,{postType:r,postId:a}=e,[c,l]=Object(Te.useState)(),i=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+o]:o})});Object(Te.useEffect)(()=>{if(!a)return;const e=a;Rt()({path:Object(et.addQueryArgs)("/wp/v2/comments",{post:a}),parse:!1}).then(t=>{e===a&&l(t.headers.get("X-WP-Total"))})},[a]);const s=Object(Ye.useSelect)(e=>e(Ee.store).getEditedEntityRecord("postType",r,a),[r,a]);if(!s)return null;const{link:u}=s;let m;if(void 0!==c){const e=parseInt(c);m=0===e?Object(Be.__)("No comments"):Object(Be.sprintf)(
88
  /* translators: %s: Number of comments */
89
+ Object(Be._n)("%s comment","%s comments",e),e.toLocaleString())}return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:o,onChange:e=>{n({textAlign:e})}})),Object(Te.createElement)("div",i,u&&void 0!==m?Object(Te.createElement)("a",{href:u+"#comments",onClick:e=>e.preventDefault()},m):Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Post Comments Link block: post not found."))))},icon:Lb},Kb={apiVersion:2,name:"core/post-date",title:"Post Date",category:"design",description:"Add the date of this post.",textdomain:"default",attributes:{textAlign:{type:"string"},format:{type:"string"},isLink:{type:"boolean",default:!1}},usesContext:["postId","postType","queryId"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0}}},{name:Yb}=Kb,Xb={icon:zb,edit:function({attributes:{textAlign:e,format:t,isLink:n},context:{postId:o,postType:r,queryId:a},setAttributes:c}){const l=!!a,[i]=Object(Ee.useEntityProp)("root","site","date_format"),[s,u]=Object(Ee.useEntityProp)("postType",r,"date",o),[m,d]=Object(Te.useState)(!1),b=Object(vl.__experimentalGetSettings)(),p=/a(?!\\)/i.test(b.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join("")),g=Object.values(b.formats).map(e=>({key:e,name:Object(vl.dateI18n)(e,s)})),h=t||i||b.formats.date,v=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+e]:e})});let O=s?Object(Te.createElement)("time",{dateTime:Object(vl.dateI18n)("c",s)},Object(vl.dateI18n)(h,s),m&&Object(Te.createElement)(Le.Popover,{onClose:d.bind(null,!1)},Object(Te.createElement)(Le.DateTimePicker,{currentDate:s,onChange:u,is12Hour:p}))):Object(Be.__)("No Date");return n&&s&&(O=Object(Te.createElement)("a",{href:"#post-date-pseudo-link",onClick:e=>e.preventDefault()},O)),Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:e,onChange:e=>{c({textAlign:e})}}),s&&!l&&Object(Te.createElement)(Le.ToolbarButton,{icon:qn.a,title:Object(Be.__)("Change Date"),onClick:()=>d(e=>!e)})),Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Format settings")},Object(Te.createElement)(Le.CustomSelectControl,{hideLabelFromVision:!0,label:Object(Be.__)("Date Format"),options:g,onChange:({selectedItem:e})=>c({format:e.key}),value:g.find(e=>e.key===h)})),Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Link settings")},Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.sprintf)(// translators: %s: Name of the post type e.g: "post".
90
+ Object(Be.__)("Link to %s"),r),onChange:()=>c({isLink:!n}),checked:n}))),Object(Te.createElement)("div",v,O))}};var ep=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M12.75 9.333c0 .521-.102.977-.327 1.354-.23.386-.555.628-.893.774-.545.234-1.183.227-1.544.222l-.12-.001v-1.5h.123c.414.001.715.002.948-.099a.395.395 0 00.199-.166c.05-.083.114-.253.114-.584V7.2H8.8V4h3.95v5.333zM7.95 9.333c0 .521-.102.977-.327 1.354-.23.386-.555.628-.893.774-.545.234-1.183.227-1.544.222l-.12-.001v-1.5h.123c.414.001.715.002.948-.099a.394.394 0 00.198-.166c.05-.083.115-.253.115-.584V7.2H4V4h3.95v5.333zM13 20H4v-1.5h9V20zM20 16H4v-1.5h16V16z"}));const tp={apiVersion:2,name:"core/post-excerpt",title:"Post Excerpt",category:"design",description:"Display a post's excerpt.",textdomain:"default",attributes:{textAlign:{type:"string"},wordCount:{type:"number",default:55},moreText:{type:"string"},showMoreOnNewLine:{type:"boolean",default:!0}},usesContext:["postId","postType","queryId"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0}},editorStyle:"wp-block-post-excerpt-editor",style:"wp-block-post-excerpt"},{name:np}=tp,op={icon:ep,edit:function({attributes:{textAlign:e,wordCount:t,moreText:n,showMoreOnNewLine:o},setAttributes:r,isSelected:a,context:{postId:c,postType:l,queryId:i}}){const s=!!i,u=nb("postType",l,c),m=u&&!s,[d,b,{rendered:p,protected:g}={}]=Object(Ee.useEntityProp)("postType",l,"excerpt",c),h=function(e,t,n){const[,,o]=Object(Ee.useEntityProp)("postType",n,"content",t),r=null==o?void 0:o.rendered;return Object(Te.useMemo)(()=>{if(!r)return"";const t=document.createElement("div");return t.innerHTML=r,(t.textContent||t.innerText||"").trim().split(" ",e).join(" ")},[r,e])}(t,c,l),v=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+e]:e})});if(!l||!c)return Object(Te.createElement)("div",v,Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Post excerpt block: no post found.")));if(g&&!u)return Object(Te.createElement)("div",v,Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("There is no excerpt because this is a protected post.")));const O=Object(Te.createElement)(Ce.RichText,{className:"wp-block-post-excerpt__more-link",tagName:"a","aria-label":Object(Be.__)('"Read more" link text'),placeholder:Object(Be.__)('Add "read more" link text'),value:n,onChange:e=>r({moreText:e})}),j=m?Object(Te.createElement)(Ce.RichText,{className:!o&&"wp-block-post-excerpt__excerpt is-inline","aria-label":Object(Be.__)("Post excerpt text"),value:d||h||(a?"":Object(Be.__)("No post excerpt found")),onChange:b}):p&&Object(Te.createElement)(Te.RawHTML,{key:"html"},p)||h||Object(Be.__)("No post excerpt found");return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,null,Object(Te.createElement)(Ce.AlignmentToolbar,{value:e,onChange:e=>r({textAlign:e})})),Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Post Excerpt Settings")},!p&&Object(Te.createElement)(Le.RangeControl,{label:Object(Be.__)("Max words"),value:t,onChange:e=>r({wordCount:e}),min:10,max:100}),Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.__)("Show link on new line"),checked:o,onChange:e=>r({showMoreOnNewLine:e})}))),Object(Te.createElement)("div",v,j,!o&&" ",o?Object(Te.createElement)("p",{className:"wp-block-post-excerpt__more-text"},O):O))}};var rp=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"}));const ap=["image"],cp=Object(Te.createElement)("div",{className:"post-featured-image_placeholder"},Object(Te.createElement)(Le.Icon,{icon:rp}),Object(Te.createElement)("p",null," ",Object(Be.__)("Featured Image"))),lp=Object(Le.withNotices)((function({attributes:{isLink:e},setAttributes:t,context:{postId:n,postType:o,queryId:r},noticeUI:a,noticeOperations:c}){const l=!!r,[i,s]=Object(Ee.useEntityProp)("postType",o,"featured_media",n),u=Object(Ye.useSelect)(e=>i&&e(Ee.store).getMedia(i),[i]),m=Object(Ce.useBlockProps)(),d=e=>{null!=e&&e.id&&s(e.id)};function b(e){c.removeAllNotices(),c.createErrorNotice(e)}let p;return!i&&l?Object(Te.createElement)("div",m,cp):(p=i?u?Object(Te.createElement)("img",{src:u.source_url,alt:u.alt_text||Object(Be.__)("Featured image")}):cp:Object(Te.createElement)(Ce.MediaPlaceholder,{icon:Object(Te.createElement)(Ce.BlockIcon,{icon:rp}),onSelect:d,notices:a,onError:b,accept:"image/*",allowedTypes:ap,labels:{title:Object(Be.__)("Featured image"),instructions:Object(Be.__)("Upload a media file or pick one from your media library.")}}),Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.InspectorControls,null,Object(Te.createElement)(Le.PanelBody,{title:Object(Be.__)("Link settings")},Object(Te.createElement)(Le.ToggleControl,{label:Object(Be.sprintf)(// translators: %s: Name of the post type e.g: "post".
91
+ Object(Be.__)("Link to %s"),o),onChange:()=>t({isLink:!e}),checked:e}))),!!u&&!l&&Object(Te.createElement)(Ce.BlockControls,{group:"other"},Object(Te.createElement)(Ce.MediaReplaceFlow,{mediaId:i,mediaURL:u.source_url,allowedTypes:ap,accept:"image/*",onSelect:d,onError:b})),Object(Te.createElement)("figure",m,p)))})),ip={apiVersion:2,name:"core/post-featured-image",title:"Post Featured Image",category:"design",description:"Display a post's featured image.",textdomain:"default",attributes:{isLink:{type:"boolean",default:!1}},usesContext:["postId","postType","queryId"],supports:{align:["left","right","center","wide","full"],html:!1},editorStyle:"wp-block-post-featured-image-editor",style:"wp-block-post-featured-image"},{name:sp}=ip,up={icon:rp,edit:function(e){var t;const n=Object(Ce.useBlockProps)();return null!==(t=e.context)&&void 0!==t&&t.postId?Object(Te.createElement)(lp,e):Object(Te.createElement)("div",n,cp)}};var mp=Object(Te.createElement)(ze.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Te.createElement)(ze.Path,{d:"M20 4H4v1.5h16V4zm-2 9h-3c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3zM4 9.5h9V8H4v1.5zM9 13H6c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3z",fillRule:"evenodd",clipRule:"evenodd"})),dp=[{name:"category",title:Object(Be.__)("Post Categories"),description:Object(Be.__)("Display a post's categories."),icon:mp,isDefault:!0,attributes:{term:"category"},isActive:e=>"category"===e.term},{name:"post_tag",title:Object(Be.__)("Post Tags"),description:Object(Be.__)("Display a post's tags."),icon:mp,attributes:{term:"post_tag"},isActive:e=>"post_tag"===e.term}];const bp={apiVersion:2,name:"core/post-terms",title:"Post Terms",category:"design",description:"Post terms.",textdomain:"default",attributes:{term:{type:"string"},textAlign:{type:"string"}},usesContext:["postId","postType"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{lineHeight:!0,fontSize:!0}}},{name:pp}=bp,gp={variations:dp,edit:function({attributes:e,context:t,setAttributes:n}){var o;const{term:r,textAlign:a}=e,{postId:c,postType:l}=t,i=Object(Ye.useSelect)(e=>{if(!r)return{};const t=e(Ee.store).getTaxonomies({per_page:-1});return Object(Se.find)(t,e=>e.slug===r&&e.visibility.show_ui)||{}},[r]),{termLinks:s,isLoadingTermLinks:u}=function({postId:e,postType:t,term:n}){const{rest_base:o,slug:r}=n,[a]=Object(Ee.useEntityProp)("postType",t,o,e),{termLinks:c,isLoadingTermLinks:l}=Object(Ye.useSelect)(e=>{const{getEntityRecord:t}=e(Ee.store);let n=!0;return{termLinks:Object(Se.map)(a,e=>{const o=t("taxonomy",r,e);return o?Object(Te.createElement)("a",{key:e,href:o.link,onClick:e=>e.preventDefault()},o.name):n=!1}),isLoadingTermLinks:!n}},[a]);return{termLinks:c,isLoadingTermLinks:l}}({postId:c,postType:l,term:i}),m=c&&l,d=s&&s.length>0,b=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+a]:a})});return m?r?Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,null,Object(Te.createElement)(Ce.AlignmentToolbar,{value:a,onChange:e=>{n({textAlign:e})}})),Object(Te.createElement)("div",b,u&&Object(Te.createElement)(Le.Spinner,null),d&&!u&&s.reduce((e,t)=>[e," | ",t]),!u&&!d&&((null==i||null===(o=i.labels)||void 0===o?void 0:o.no_terms)||Object(Be.__)("Term items not found.")))):Object(Te.createElement)("div",b,Object(Be.__)("Post Terms block: no term specified.")):Object(Te.createElement)("div",b,Object(Te.createElement)(Ce.Warning,null,Object(Be.__)("Post Terms block: post not found.")))}};var hp=Object(Te.createElement)(ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Te.createElement)(ze.Path,{stroke:"#1E1E1E",strokeWidth:"1.5",d:"M9 19.25h6M4 19.25h4M12 15.25h8M4 15.25h7"}),Object(Te.createElement)(ze.Path,{d:"M8.994 10.103H6.08L5.417 12H4l2.846-8h1.383l2.845 8H9.657l-.663-1.897zm-.457-1.28l-.994-2.857-1.006 2.857h2z",fill:"#1E1E1E"}));const vp={apiVersion:2,name:"core/term-description",title:"Term Description",category:"design",description:"Display the description of categories, tags and custom taxonomies when viewing an archive.",textdomain:"default",attributes:{textAlign:{type:"string"}},supports:{align:["wide","full"],html:!1,color:{link:!0},typography:{fontSize:!0,lineHeight:!0}},editorStyle:"wp-block-term-description-editor"},{name:Op}=vp,jp={icon:hp,edit:function({attributes:e,setAttributes:t,mergedStyle:n}){const{textAlign:o}=e,r=Object(Ce.useBlockProps)({className:Me()({["has-text-align-"+o]:o}),style:n});return Object(Te.createElement)(Te.Fragment,null,Object(Te.createElement)(Ce.BlockControls,{group:"block"},Object(Te.createElement)(Ce.AlignmentControl,{value:o,onChange:e=>{t({textAlign:e})}})),Object(Te.createElement)("div",r,Object(Te.createElement)("div",{className:"wp-block-term-description__placeholder"},Object(Te.createElement)("span",null,Object(Be.__)("Term description.")))))}},fp=e=>{if(!e)return;const{metadata:t,settings:n,name:o}=e;Object(xe.registerBlockType)({name:o,...t},n)},yp=()=>[o,r,a,l,B,c,D,i,s,u,m,d,b,p,g,h,v,O,j,A,window.wp&&window.wp.oldEditor?Z:null,f,y,E,C,x,T,z,P,N,M,V,R,H,L,I,Q,J,F,G,$,U,q,W,K,Y,X,te,ne,oe,re,ae,ce,le,se,ue,fe,ye,_e,we,S],_p=(e=yp())=>{e.forEach(fp),Object(xe.setDefaultBlockName)(We),window.wp&&window.wp.oldEditor&&Object(xe.setFreeformContentHandlerName)(Qu),Object(xe.setUnregisteredTypeHandlerName)(bi),Object(xe.setGroupingBlockName)(hs)},kp=({enableFSEBlocks:e}={})=>{[_,w,k,...e?[ee,me,de,be,pe,ge,he,ve,Oe,je,ie,ke]:[]].forEach(fp)}},4:function(e,t){e.exports=window.wp.data},44:function(e,t){e.exports=window.wp.date},48:function(e,t,n){e.exports=function(e,t){var n,o,r=0;function a(){var a,c,l=n,i=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(c=0;c<i;c++)if(l.args[c]!==arguments[c]){l=l.next;continue e}return l!==n&&(l===o&&(o=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=n,l.prev=null,n.prev=l,n=l),l.val}l=l.next}for(a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return l={args:a,val:e.apply(null,a)},n?(n.prev=l,l.next=n):o=l,r===t.maxSize?(o=o.prev).next=null:r++,n=l,l.val}return t=t||{},a.clear=function(){n=null,o=null,r=0},a}},5:function(e,t){e.exports=window.wp.blockEditor},52:function(e,t){e.exports=window.wp.viewport},6:function(e,t){e.exports=window.wp.primitives},60:function(e,t){e.exports=window.wp.serverSideRender},7:function(e,t,n){"use strict";function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return o}))},8:function(e,t){e.exports=window.wp.blocks},9:function(e,t){e.exports=window.wp.compose},91:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.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"}));t.a=a},92:function(e,t,n){"use strict";var o=n(0),r=n(6);const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=a}});
build/core-data/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '48dabe9924c0b1c0eefc4f30b8770aac');
1
+ <?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '6b21699530c935e2dea26b7c37e3d8c3');
build/core-data/index.js CHANGED
@@ -1 +1 @@
1
- window.wp=window.wp||{},window.wp.coreData=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=408)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},155:function(e,t,n){"use strict";var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),i=new Uint8Array(16);function o(){if(!r)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}for(var s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,c=function(e){return"string"==typeof e&&s.test(e)},u=[],a=0;a<256;++a)u.push((a+256).toString(16).substr(1));t.a=function(e,t,n){var r=(e=e||{}).random||(e.rng||o)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();if(!c(n))throw TypeError("Stringified UUID is invalid");return n}(r)}},2:function(e,t){e.exports=window.lodash},20:function(e,t){e.exports=window.wp.url},29:function(e,t,n){"use strict";var r,i;function o(e){return[e]}function s(){var e={clear:function(){e.head=null}};return e}function c(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},i="undefined"!=typeof WeakMap,t.a=function(e,t){var n,u;function a(){n=i?new WeakMap:s()}function d(){var n,r,i,o,s,a=arguments.length;for(o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];for(s=t.apply(null,o),(n=u(s)).isUniqueByDependants||(n.lastDependants&&!c(s,n.lastDependants,0)&&n.clear(),n.lastDependants=s),r=n.head;r;){if(c(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=o),u=i?function(e){var t,i,o,c,u,a=n,d=!0;for(t=0;t<e.length;t++){if(!(u=i=e[t])||"object"!=typeof u){d=!1;break}a.has(i)?a=a.get(i):(o=new WeakMap,a.set(i,o),a=o)}return a.has(r)||((c=s()).isUniqueByDependants=d,a.set(r,c)),a.get(r)}:function(){return n},d.getDependants=t,d.clear=a,a(),d}},31:function(e,t){e.exports=window.wp.apiFetch},33:function(e,t){e.exports=window.wp.dataControls},39:function(e,t){e.exports=window.wp.htmlEntities},4:function(e,t){e.exports=window.wp.data},408:function(e,t,n){"use strict";n.r(t),n.d(t,"store",(function(){return Lt})),n.d(t,"EntityProvider",(function(){return jt})),n.d(t,"useEntityId",(function(){return wt})),n.d(t,"useEntityProp",(function(){return Tt})),n.d(t,"useEntityBlockEditor",(function(){return kt})),n.d(t,"__experimentalFetchLinkSuggestions",(function(){return St})),n.d(t,"__experimentalFetchRemoteUrlData",(function(){return At}));var r={};n.r(r),n.d(r,"__unstableAcquireStoreLock",(function(){return _})),n.d(r,"__unstableEnqueueLockRequest",(function(){return g})),n.d(r,"__unstableReleaseStoreLock",(function(){return v})),n.d(r,"__unstableProcessPendingLockRequests",(function(){return O}));var i={};n.r(i),n.d(i,"receiveUserQuery",(function(){return S})),n.d(i,"receiveCurrentUser",(function(){return A})),n.d(i,"addEntities",(function(){return U})),n.d(i,"receiveEntityRecords",(function(){return C})),n.d(i,"receiveCurrentTheme",(function(){return x})),n.d(i,"receiveThemeSupports",(function(){return P})),n.d(i,"receiveEmbedPreview",(function(){return L})),n.d(i,"deleteEntityRecord",(function(){return D})),n.d(i,"editEntityRecord",(function(){return M})),n.d(i,"undo",(function(){return N})),n.d(i,"redo",(function(){return V})),n.d(i,"__unstableCreateUndoLevel",(function(){return q})),n.d(i,"saveEntityRecord",(function(){return F})),n.d(i,"__experimentalBatch",(function(){return Q})),n.d(i,"saveEditedEntityRecord",(function(){return G})),n.d(i,"__experimentalSaveSpecifiedEntityEdits",(function(){return Y})),n.d(i,"receiveUploadPermissions",(function(){return B})),n.d(i,"receiveUserPermission",(function(){return $})),n.d(i,"receiveAutosaves",(function(){return H}));var o={};n.r(o),n.d(o,"isRequestingEmbedPreview",(function(){return _e})),n.d(o,"getAuthors",(function(){return ge})),n.d(o,"__unstableGetAuthor",(function(){return ve})),n.d(o,"getCurrentUser",(function(){return Oe})),n.d(o,"getUserQueryResults",(function(){return Re})),n.d(o,"getEntitiesByKind",(function(){return je})),n.d(o,"getEntity",(function(){return we})),n.d(o,"getEntityRecord",(function(){return Te})),n.d(o,"__experimentalGetEntityRecordNoResolver",(function(){return ke})),n.d(o,"getRawEntityRecord",(function(){return Ie})),n.d(o,"hasEntityRecords",(function(){return Se})),n.d(o,"getEntityRecords",(function(){return Ae})),n.d(o,"__experimentalGetDirtyEntityRecords",(function(){return Ue})),n.d(o,"getEntityRecordEdits",(function(){return Ce})),n.d(o,"getEntityRecordNonTransientEdits",(function(){return xe})),n.d(o,"hasEditsForEntityRecord",(function(){return Pe})),n.d(o,"getEditedEntityRecord",(function(){return Le})),n.d(o,"isAutosavingEntityRecord",(function(){return De})),n.d(o,"isSavingEntityRecord",(function(){return Me})),n.d(o,"isDeletingEntityRecord",(function(){return Ne})),n.d(o,"getLastEntitySaveError",(function(){return Ve})),n.d(o,"getLastEntityDeleteError",(function(){return qe})),n.d(o,"getUndoEdit",(function(){return Qe})),n.d(o,"getRedoEdit",(function(){return Ge})),n.d(o,"hasUndo",(function(){return Ye})),n.d(o,"hasRedo",(function(){return Be})),n.d(o,"getCurrentTheme",(function(){return $e})),n.d(o,"getThemeSupports",(function(){return He})),n.d(o,"getEmbedPreview",(function(){return Ke})),n.d(o,"isPreviewEmbedFallback",(function(){return We})),n.d(o,"canUser",(function(){return ze})),n.d(o,"getAutosaves",(function(){return Xe})),n.d(o,"getAutosave",(function(){return Je})),n.d(o,"hasFetchedAutosaves",(function(){return Ze})),n.d(o,"getReferenceByDistinctEdits",(function(){return et})),n.d(o,"__experimentalGetTemplateForLink",(function(){return tt}));var s={};n.r(s),n.d(s,"getAuthors",(function(){return rt})),n.d(s,"__unstableGetAuthor",(function(){return it})),n.d(s,"getCurrentUser",(function(){return ot})),n.d(s,"getEntityRecord",(function(){return st})),n.d(s,"getRawEntityRecord",(function(){return ct})),n.d(s,"getEditedEntityRecord",(function(){return ut})),n.d(s,"getEntityRecords",(function(){return at})),n.d(s,"getCurrentTheme",(function(){return dt})),n.d(s,"getThemeSupports",(function(){return lt})),n.d(s,"getEmbedPreview",(function(){return ft})),n.d(s,"canUser",(function(){return pt})),n.d(s,"getAutosaves",(function(){return yt})),n.d(s,"getAutosave",(function(){return Et})),n.d(s,"__experimentalGetTemplateForLink",(function(){return bt}));var c={};n.r(c),n.d(c,"__unstableGetPendingLockRequests",(function(){return mt})),n.d(c,"__unstableIsLockAvailable",(function(){return ht}));var u=n(4),a=n(33),d=n(2),l=n(45),f=n.n(l),p=e=>t=>(n,r)=>void 0===n||e(r)?t(n,r):n,y=e=>t=>(n,r)=>t(n,e(r)),E=n(1),b=n(155),m=n(20);function h(e,t){return{type:"RECEIVE_ITEMS",items:Object(d.castArray)(e),persistedEdits:t}}function*_(e,t,{exclusive:n}){const r=yield*g(e,t,{exclusive:n});return yield*O(),yield Object(a.__unstableAwaitPromise)(r)}function*g(e,t,{exclusive:n}){let r;const i=new Promise(e=>{r=e});return yield{type:"ENQUEUE_LOCK_REQUEST",request:{store:e,path:t,exclusive:n,notifyAcquired:r}},i}function*v(e){yield{type:"RELEASE_LOCK",lock:e},yield*O()}function*O(){yield{type:"PROCESS_PENDING_LOCK_REQUESTS"};const e=yield u.controls.select("core","__unstableGetPendingLockRequests");for(const t of e){const{store:e,path:n,exclusive:r,notifyAcquired:i}=t;if(yield u.controls.select("core","__unstableIsLockAvailable",e,n,{exclusive:r})){const o={store:e,path:n,exclusive:r};yield{type:"GRANT_LOCK_REQUEST",lock:o,request:t},i(o)}}}var R=n(31),j=n.n(R);async function w(e){const t=await j()({path:"/batch/v1",method:"POST",data:{validation:"require-all-validate",requests:e.map(e=>({path:e.path,body:e.data,method:e.method,headers:e.headers}))}});return t.failed?t.responses.map(e=>({error:null==e?void 0:e.body})):t.responses.map(e=>{const t={};return e.status>=200&&e.status<300?t.output=e.body:t.error=e.body,t})}function T(e=w){let t=0,n=[];const r=new k;return{add(e){const i=++t;r.add(i);const o=e=>new Promise((t,o)=>{n.push({input:e,resolve:t,reject:o}),r.delete(i)});return Object(d.isFunction)(e)?Promise.resolve(e(o)).finally(()=>{r.delete(i)}):o(e)},async run(){let t;r.size&&await new Promise(e=>{const t=r.subscribe(()=>{r.size||(t(),e())})});try{if(t=await e(n.map(({input:e})=>e)),t.length!==n.length)throw new Error("run: Array returned by processor must be same size as input array.")}catch(e){for(const{reject:t}of n)t(e);throw e}let i=!0;for(const[e,{resolve:r,reject:s}]of Object(d.zip)(t,n)){var o;null!=e&&e.error?(s(e.error),i=!1):r(null!==(o=null==e?void 0:e.output)&&void 0!==o?o:e)}return n=[],i}}}class k{constructor(...e){this.set=new Set(...e),this.subscribers=new Set}get size(){return this.set.size}add(...e){return this.set.add(...e),this.subscribers.forEach(e=>e()),this}delete(...e){const t=this.set.delete(...e);return this.subscribers.forEach(e=>e()),t}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}}var I={async REGULAR_FETCH({url:e}){const{data:t}=await window.fetch(e).then(e=>e.json());return t},GET_DISPATCH:Object(u.createRegistryControl)(({dispatch:e})=>()=>e)};function S(e,t){return{type:"RECEIVE_USER_QUERY",users:Object(d.castArray)(t),queryID:e}}function A(e){return{type:"RECEIVE_CURRENT_USER",currentUser:e}}function U(e){return{type:"ADD_ENTITIES",entities:e}}function C(e,t,n,r,i=!1,o){let s;return"postType"===e&&(n=Object(d.castArray)(n).map(e=>"auto-draft"===e.status?{...e,title:""}:e)),s=r?function(e,t={},n){return{...h(e,n),query:t}}(n,r,o):h(n,o),{...s,kind:e,name:t,invalidateCache:i}}function x(e){return{type:"RECEIVE_CURRENT_THEME",currentTheme:e}}function P(e){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:e}}function L(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}function*D(e,t,n,r,{__unstableFetch:i=null}={}){const o=yield Z(e),s=Object(d.find)(o,{kind:e,name:t});let c,u=!1;if(!s)return;const l=yield*_("core",["entities","data",e,t,n],{exclusive:!0});try{yield{type:"DELETE_ENTITY_RECORD_START",kind:e,name:t,recordId:n};try{let o=`${s.baseURL}/${n}`;r&&(o=Object(m.addQueryArgs)(o,r));const c={path:o,method:"DELETE"};u=i?yield Object(a.__unstableAwaitPromise)(i(c)):yield Object(a.apiFetch)(c),yield function(e,t,n,r=!1){return{type:"REMOVE_ITEMS",itemIds:Object(d.castArray)(n),kind:e,name:t,invalidateCache:r}}(e,t,n,!0)}catch(e){c=e}return yield{type:"DELETE_ENTITY_RECORD_FINISH",kind:e,name:t,recordId:n,error:c},u}finally{yield*v(l)}}function*M(e,t,n,r,i={}){const o=yield u.controls.select("core","getEntity",e,t);if(!o)throw new Error(`The entity being edited (${e}, ${t}) does not have a loaded config.`);const{transientEdits:s={},mergedEdits:c={}}=o,a=yield u.controls.select("core","getRawEntityRecord",e,t,n),l=yield u.controls.select("core","getEditedEntityRecord",e,t,n),f={kind:e,name:t,recordId:n,edits:Object.keys(r).reduce((e,t)=>{const n=a[t],i=l[t],o=c[t]?{...i,...r[t]}:r[t];return e[t]=Object(d.isEqual)(n,o)?void 0:o,e},{}),transientEdits:s};return{type:"EDIT_ENTITY_RECORD",...f,meta:{undo:!i.undoIgnore&&{...f,edits:Object.keys(r).reduce((e,t)=>(e[t]=l[t],e),{})}}}}function*N(){const e=yield u.controls.select("core","getUndoEdit");e&&(yield{type:"EDIT_ENTITY_RECORD",...e,meta:{isUndo:!0}})}function*V(){const e=yield u.controls.select("core","getRedoEdit");e&&(yield{type:"EDIT_ENTITY_RECORD",...e,meta:{isRedo:!0}})}function q(){return{type:"CREATE_UNDO_LEVEL"}}function*F(e,t,n,{isAutosave:r=!1,__unstableFetch:i=null}={}){const o=yield Z(e),s=Object(d.find)(o,{kind:e,name:t});if(!s)return;const c=n[s.key||K],l=yield*_("core",["entities","data",e,t,c||Object(b.a)()],{exclusive:!0});try{for(const[r,i]of Object.entries(n))if("function"==typeof i){const o=i(yield u.controls.select("core","getEditedEntityRecord",e,t,c));yield M(e,t,c,{[r]:o},{undoIgnore:!0}),n[r]=o}let o,f;yield{type:"SAVE_ENTITY_RECORD_START",kind:e,name:t,recordId:c,isAutosave:r};try{const l=`${s.baseURL}${c?"/"+c:""}`,f=yield u.controls.select("core","getRawEntityRecord",e,t,c);if(r){const r=yield u.controls.select("core","getCurrentUser"),s=r?r.id:void 0,c=yield u.controls.select("core","getAutosave",f.type,f.id,s);let p={...f,...c,...n};p=Object.keys(p).reduce((e,t)=>(["title","excerpt","content"].includes(t)&&(e[t]=Object(d.get)(p[t],"raw",p[t])),e),{status:"auto-draft"===p.status?"draft":p.status});const y={path:l+"/autosaves",method:"POST",data:p};if(o=i?yield Object(a.__unstableAwaitPromise)(i(y)):yield Object(a.apiFetch)(y),f.id===o.id){let n={...f,...p,...o};n=Object.keys(n).reduce((e,t)=>(["title","excerpt","content"].includes(t)?e[t]=Object(d.get)(n[t],"raw",n[t]):e[t]="status"===t?"auto-draft"===f.status&&"draft"===n.status?n.status:f.status:Object(d.get)(f[t],"raw",f[t]),e),{}),yield C(e,t,n,void 0,!0)}else yield H(f.id,o)}else{let r=n;s.__unstablePrePersist&&(r={...r,...s.__unstablePrePersist(f,r)});const u={path:l,method:c?"PUT":"POST",data:r};o=i?yield Object(a.__unstableAwaitPromise)(i(u)):yield Object(a.apiFetch)(u),yield C(e,t,o,void 0,!0,r)}}catch(e){f=e}return yield{type:"SAVE_ENTITY_RECORD_FINISH",kind:e,name:t,recordId:c,error:f,isAutosave:r},o}finally{yield*v(l)}}function*Q(e){const t=T(),n=yield{type:"GET_DISPATCH"},r={saveEntityRecord:(e,r,i,o)=>t.add(t=>n("core").saveEntityRecord(e,r,i,{...o,__unstableFetch:t})),saveEditedEntityRecord:(e,r,i,o)=>t.add(t=>n("core").saveEditedEntityRecord(e,r,i,{...o,__unstableFetch:t})),deleteEntityRecord:(e,r,i,o,s)=>t.add(t=>n("core").deleteEntityRecord(e,r,i,o,{...s,__unstableFetch:t}))},i=e.map(e=>e(r)),[,...o]=yield Object(a.__unstableAwaitPromise)(Promise.all([t.run(),...i]));return o}function*G(e,t,n,r){if(!(yield u.controls.select("core","hasEditsForEntityRecord",e,t,n)))return;const i={id:n,...yield u.controls.select("core","getEntityRecordNonTransientEdits",e,t,n)};return yield*F(e,t,i,r)}function*Y(e,t,n,r,i){if(!(yield u.controls.select("core","hasEditsForEntityRecord",e,t,n)))return;const o=yield u.controls.select("core","getEntityRecordNonTransientEdits",e,t,n),s={};for(const e in o)r.some(t=>t===e)&&(s[e]=o[e]);return yield*F(e,t,s,i)}function B(e){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:e}}function $(e,t){return{type:"RECEIVE_USER_PERMISSION",key:e,isAllowed:t}}function H(e,t){return{type:"RECEIVE_AUTOSAVES",postId:e,autosaves:Object(d.castArray)(t)}}const K="id",W=[{label:Object(E.__)("Base"),name:"__unstableBase",kind:"root",baseURL:""},{label:Object(E.__)("Site"),name:"site",kind:"root",baseURL:"/wp/v2/settings",getTitle:e=>Object(d.get)(e,["title"],Object(E.__)("Site Title"))},{label:Object(E.__)("Post Type"),name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types",baseURLParams:{context:"edit"}},{name:"media",kind:"root",baseURL:"/wp/v2/media",baseURLParams:{context:"edit"},plural:"mediaItems",label:Object(E.__)("Media")},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",baseURLParams:{context:"edit"},plural:"taxonomies",label:Object(E.__)("Taxonomy")},{name:"sidebar",kind:"root",baseURL:"/wp/v2/sidebars",plural:"sidebars",transientEdits:{blocks:!0},label:Object(E.__)("Widget areas")},{name:"widget",kind:"root",baseURL:"/wp/v2/widgets",baseURLParams:{context:"edit"},plural:"widgets",transientEdits:{blocks:!0},label:Object(E.__)("Widgets")},{name:"widgetType",kind:"root",baseURL:"/wp/v2/widget-types",baseURLParams:{context:"edit"},plural:"widgetTypes",label:Object(E.__)("Widget types")},{label:Object(E.__)("User"),name:"user",kind:"root",baseURL:"/wp/v2/users",baseURLParams:{context:"edit"},plural:"users"},{name:"comment",kind:"root",baseURL:"/wp/v2/comments",baseURLParams:{context:"edit"},plural:"comments",label:Object(E.__)("Comment")},{name:"menu",kind:"root",baseURL:"/__experimental/menus",baseURLParams:{context:"edit"},plural:"menus",label:Object(E.__)("Menu")},{name:"menuItem",kind:"root",baseURL:"/__experimental/menu-items",baseURLParams:{context:"edit"},plural:"menuItems",label:Object(E.__)("Menu Item")},{name:"menuLocation",kind:"root",baseURL:"/__experimental/menu-locations",baseURLParams:{context:"edit"},plural:"menuLocations",label:Object(E.__)("Menu Location"),key:"name"}],z=[{name:"postType",loadEntities:function*(){const e=yield Object(a.apiFetch)({path:"/wp/v2/types?context=edit"});return Object(d.map)(e,(e,t)=>{const n=["wp_template","wp_template_part"].includes(t);return{kind:"postType",baseURL:"/wp/v2/"+e.rest_base,baseURLParams:{context:"edit"},name:t,label:e.labels.singular_name,transientEdits:{blocks:!0,selection:!0},mergedEdits:{meta:!0},getTitle:e=>{var t;return(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title)||(n?Object(d.startCase)(e.slug):String(e.id))},__unstablePrePersist:n?void 0:X}})}},{name:"taxonomy",loadEntities:function*(){const e=yield Object(a.apiFetch)({path:"/wp/v2/taxonomies?context=edit"});return Object(d.map)(e,(e,t)=>({kind:"taxonomy",baseURL:"/wp/v2/"+e.rest_base,baseURLParams:{context:"edit"},name:t,label:e.labels.singular_name}))}}],X=(e,t)=>{const n={};return"auto-draft"===(null==e?void 0:e.status)&&(t.status||n.status||(n.status="draft"),t.title&&"Auto Draft"!==t.title||n.title||null!=e&&e.title&&"Auto Draft"!==(null==e?void 0:e.title)||(n.title="")),n},J=(e,t,n="get",r=!1)=>{const i=Object(d.find)(W,{kind:e,name:t}),o="root"===e?"":Object(d.upperFirst)(Object(d.camelCase)(e)),s=Object(d.upperFirst)(Object(d.camelCase)(t))+(r?"s":"");return`${n}${o}${r&&i.plural?Object(d.upperFirst)(Object(d.camelCase)(i.plural)):s}`};function*Z(e){let t=yield u.controls.select("core","getEntitiesByKind",e);if(t&&0!==t.length)return t;const n=Object(d.find)(z,{name:e});return n?(t=yield n.loadEntities(),yield U(t),t):[]}var ee=function(e){return"string"==typeof e?e.split(","):Array.isArray(e)?e:null},te=function(e){const t=new WeakMap;return e=>{let n;return t.has(e)?n=t.get(e):(n=function(e){const t={stableKey:"",page:1,perPage:10,fields:null,include:null},n=Object.keys(e).sort();for(let r=0;r<n.length;r++){const i=n[r];let o=e[i];switch(i){case"page":t[i]=Number(o);break;case"per_page":t.perPage=Number(o);break;case"include":t.include=ee(o).map(Number);break;default:"_fields"===i&&(t.fields=ee(o),o=t.fields.join()),t.stableKey+=(t.stableKey?"&":"")+Object(m.addQueryArgs)("",{[i]:o}).slice(1)}}return t}(e),Object(d.isObjectLike)(e)&&t.set(e,n)),n}}();const ne=Object(d.flowRight)([p(e=>"query"in e),y(e=>e.query?{...e,...te(e.query)}:e),(re="stableKey",e=>(t={},n)=>{const r=n[re];if(void 0===r)return t;const i=e(t[r],n);return i===t[r]?t:{...t,[r]:i}})])((e=null,t)=>{const{type:n,page:r,perPage:i,key:o=K}=t;return"RECEIVE_ITEMS"!==n?e:function(e,t,n,r){if(1===n&&-1===r)return t;const i=(n-1)*r,o=Math.max(e.length,i+t.length),s=new Array(o);for(let n=0;n<o;n++){const r=n>=i&&n<i+t.length;s[n]=r?t[n-i]:e[n]}return s}(e||[],Object(d.map)(t.items,o),r,i)});var re,ie=Object(u.combineReducers)({items:function(e={},t){switch(t.type){case"RECEIVE_ITEMS":const n=t.key||K;return{...e,...t.items.reduce((t,r)=>{const i=r[n];return t[i]=function(e,t){if(!e)return t;let n=!1;const r={};for(const i in t)Object(d.isEqual)(e[i],t[i])?r[i]=e[i]:(n=!0,r[i]=t[i]);if(!n)return e;for(const t in e)r.hasOwnProperty(t)||(r[t]=e[t]);return r}(e[i],r),t},{})};case"REMOVE_ITEMS":return Object(d.omit)(e,t.itemIds)}return e},itemIsComplete:function(e={},t){const{type:n,query:r,key:i=K}=t;if("RECEIVE_ITEMS"!==n)return e;const o=!r||!Array.isArray(te(r).fields);return{...e,...t.items.reduce((t,n)=>{const r=n[i];return t[r]=e[r]||o,t},{})}},queries:(e={},t)=>{switch(t.type){case"RECEIVE_ITEMS":return ne(e,t);case"REMOVE_ITEMS":const n={...e},r=t.itemIds.reduce((e,t)=>(e[t]=!0,e),{});return Object(d.forEach)(n,(e,t)=>{n[t]=Object(d.filter)(e,e=>!r[e])}),n;default:return e}}});function oe(e,t){const n={...e};let r=n;for(const e of t)r.children={...r.children,[e]:{locks:[],children:{},...r.children[e]}},r=r.children[e];return n}function se(e,t){let n=e;for(const e of t){const t=n.children[e];if(!t)return null;n=t}return n}function ce({exclusive:e},t){return!(!e||!t.length)||!(e||!t.filter(e=>e.exclusive).length)}const ue={requests:[],tree:{locks:[],children:{}}};function ae(e){return Object(d.flowRight)([p(t=>t.name&&t.kind&&t.name===e.name&&t.kind===e.kind),y(t=>({...t,key:e.key||K}))])(Object(u.combineReducers)({queriedData:ie,edits:(e={},t)=>{switch(t.type){case"RECEIVE_ITEMS":const n={...e};for(const e of t.items){const r=e[t.key],i=n[r];if(!i)continue;const o=Object.keys(i).reduce((n,r)=>(Object(d.isEqual)(i[r],Object(d.get)(e[r],"raw",e[r]))||t.persistedEdits&&Object(d.isEqual)(i[r],t.persistedEdits[r])||(n[r]=i[r]),n),{});Object.keys(o).length?n[r]=o:delete n[r]}return n;case"EDIT_ENTITY_RECORD":const r={...e[t.recordId],...t.edits};return Object.keys(r).forEach(e=>{void 0===r[e]&&delete r[e]}),{...e,[t.recordId]:r}}return e},saving:(e={},t)=>{switch(t.type){case"SAVE_ENTITY_RECORD_START":case"SAVE_ENTITY_RECORD_FINISH":return{...e,[t.recordId]:{pending:"SAVE_ENTITY_RECORD_START"===t.type,error:t.error,isAutosave:t.isAutosave}}}return e},deleting:(e={},t)=>{switch(t.type){case"DELETE_ENTITY_RECORD_START":case"DELETE_ENTITY_RECORD_FINISH":return{...e,[t.recordId]:{pending:"DELETE_ENTITY_RECORD_START"===t.type,error:t.error}}}return e}}))}const de=[];let le;de.offset=0;var fe=Object(u.combineReducers)({terms:function(e={},t){switch(t.type){case"RECEIVE_TERMS":return{...e,[t.taxonomy]:t.terms}}return e},users:function(e={byId:{},queries:{}},t){switch(t.type){case"RECEIVE_USER_QUERY":return{byId:{...e.byId,...Object(d.keyBy)(t.users,"id")},queries:{...e.queries,[t.queryID]:Object(d.map)(t.users,e=>e.id)}}}return e},currentTheme:function(e,t){switch(t.type){case"RECEIVE_CURRENT_THEME":return t.currentTheme.stylesheet}return e},currentUser:function(e={},t){switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser}return e},taxonomies:function(e=[],t){switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},themes:function(e={},t){switch(t.type){case"RECEIVE_CURRENT_THEME":return{...e,[t.currentTheme.stylesheet]:t.currentTheme}}return e},themeSupports:function(e={},t){switch(t.type){case"RECEIVE_THEME_SUPPORTS":return{...e,...t.themeSupports}}return e},entities:(e={},t)=>{const n=function(e=W,t){switch(t.type){case"ADD_ENTITIES":return[...e,...t.entities]}return e}(e.config,t);let r=e.reducer;if(!r||n!==e.config){const e=Object(d.groupBy)(n,"kind");r=Object(u.combineReducers)(Object.entries(e).reduce((e,[t,n])=>{const r=Object(u.combineReducers)(n.reduce((e,t)=>({...e,[t.name]:ae(t)}),{}));return e[t]=r,e},{}))}const i=r(e.data,t);return i===e.data&&n===e.config&&r===e.reducer?e:{reducer:r,data:i,config:n}},undo:function(e=de,t){switch(t.type){case"EDIT_ENTITY_RECORD":case"CREATE_UNDO_LEVEL":let n="CREATE_UNDO_LEVEL"===t.type;const r=!n&&(t.meta.isUndo||t.meta.isRedo);let i;if(n?t=le:r||(le=Object.keys(t.edits).some(e=>!t.transientEdits[e])?t:{...t,edits:{...le&&le.edits,...t.edits}}),r){if(i=[...e],i.offset=e.offset+(t.meta.isUndo?-1:1),!e.flattenedUndo)return i;n=!0,t=le}if(!t.meta.undo)return e;if(!n&&!Object.keys(t.edits).some(e=>!t.transientEdits[e]))return i=[...e],i.flattenedUndo={...e.flattenedUndo,...t.edits},i.offset=e.offset,i;i=i||e.slice(0,e.offset||void 0),i.offset=i.offset||0,i.pop(),n||i.push({kind:t.meta.undo.kind,name:t.meta.undo.name,recordId:t.meta.undo.recordId,edits:{...e.flattenedUndo,...t.meta.undo.edits}});const o=Object.values(t.meta.undo.edits).filter(e=>"function"!=typeof e),s=Object.values(t.edits).filter(e=>"function"!=typeof e);return f()(o,s)||i.push({kind:t.kind,name:t.name,recordId:t.recordId,edits:n?{...e.flattenedUndo,...t.edits}:t.edits}),i}return e},embedPreviews:function(e={},t){switch(t.type){case"RECEIVE_EMBED_PREVIEW":const{url:n,preview:r}=t;return{...e,[n]:r}}return e},userPermissions:function(e={},t){switch(t.type){case"RECEIVE_USER_PERMISSION":return{...e,[t.key]:t.isAllowed}}return e},autosaves:function(e={},t){switch(t.type){case"RECEIVE_AUTOSAVES":const{postId:n,autosaves:r}=t;return{...e,[n]:r}}return e},locks:function(e=ue,t){switch(t.type){case"ENQUEUE_LOCK_REQUEST":{const{request:n}=t;return{...e,requests:[n,...e.requests]}}case"GRANT_LOCK_REQUEST":{const{lock:n,request:r}=t,{store:i,path:o}=r,s=[i,...o],c=oe(e.tree,s),u=se(c,s);return u.locks=[...u.locks,n],{...e,requests:e.requests.filter(e=>e!==r),tree:c}}case"RELEASE_LOCK":{const{lock:n}=t,r=[n.store,...n.path],i=oe(e.tree,r),o=se(i,r);return o.locks=o.locks.filter(e=>e!==n),{...e,tree:i}}}return e}}),pe=n(29),ye=n(84),Ee=n.n(ye);const be=new WeakMap,me=Object(pe.a)((e,t={})=>{let n=be.get(e);if(n){const e=n.get(t);if(void 0!==e)return e}else n=new Ee.a,be.set(e,n);const r=function(e,t){const{stableKey:n,page:r,perPage:i,include:o,fields:s}=te(t);let c;if(Array.isArray(o)&&!n?c=o:e.queries[n]&&(c=e.queries[n]),!c)return null;const u=-1===i?0:(r-1)*i,a=-1===i?c.length:Math.min(u+i,c.length),l=[];for(let t=u;t<a;t++){const n=c[t];if(Array.isArray(o)&&!o.includes(n))continue;if(!e.items.hasOwnProperty(n))return null;const r=e.items[n];let i;if(Array.isArray(s)){i={};for(let e=0;e<s.length;e++){const t=s[e].split("."),n=Object(d.get)(r,t);Object(d.set)(i,t,n)}}else{if(!e.itemIsComplete[n])return null;i=r}l.push(i)}return l}(e,t);return n.set(t,r),r}),he=[],_e=Object(u.createRegistrySelector)(e=>(t,n)=>e("core/data").isResolving("core","getEmbedPreview",[n]));function ge(e,t){const n=Object(m.addQueryArgs)("/wp/v2/users/?who=authors&per_page=100",t);return Re(e,n)}function ve(e,t){return Object(d.get)(e,["users","byId",t],null)}function Oe(e){return e.currentUser}const Re=Object(pe.a)((e,t)=>{const n=e.users.queries[t];return Object(d.map)(n,t=>e.users.byId[t])},(e,t)=>[e.users.queries[t],e.users.byId]);function je(e,t){return Object(d.filter)(e.entities.config,{kind:t})}function we(e,t,n){return Object(d.find)(e.entities.config,{kind:t,name:n})}function Te(e,t,n,r,i){const o=Object(d.get)(e.entities.data,[t,n,"queriedData"]);if(!o)return;if(void 0===i){if(!o.itemIsComplete[r])return;return o.items[r]}const s=o.items[r];if(s&&i._fields){const e={},t=ee(i._fields);for(let n=0;n<t.length;n++){const r=t[n].split("."),i=Object(d.get)(s,r);Object(d.set)(e,r,i)}return e}return s}function ke(e,t,n,r){return Te(e,t,n,r)}const Ie=Object(pe.a)((e,t,n,r)=>{const i=Te(e,t,n,r);return i&&Object.keys(i).reduce((e,t)=>(e[t]=Object(d.get)(i[t],"raw",i[t]),e),{})},e=>[e.entities.data]);function Se(e,t,n,r){return Array.isArray(Ae(e,t,n,r))}function Ae(e,t,n,r){const i=Object(d.get)(e.entities.data,[t,n,"queriedData"]);return i?me(i,r):he}const Ue=Object(pe.a)(e=>{const{entities:{data:t}}=e,n=[];return Object.keys(t).forEach(r=>{Object.keys(t[r]).forEach(i=>{const o=Object.keys(t[r][i].edits).filter(t=>Pe(e,r,i,t));if(o.length){const t=we(e,r,i);o.forEach(o=>{var s;const c=Le(e,r,i,o);n.push({key:c[t.key||K],title:(null==t||null===(s=t.getTitle)||void 0===s?void 0:s.call(t,c))||"",name:i,kind:r})})}})}),n},e=>[e.entities.data]);function Ce(e,t,n,r){return Object(d.get)(e.entities.data,[t,n,"edits",r])}const xe=Object(pe.a)((e,t,n,r)=>{const{transientEdits:i}=we(e,t,n)||{},o=Ce(e,t,n,r)||{};return i?Object.keys(o).reduce((e,t)=>(i[t]||(e[t]=o[t]),e),{}):o},e=>[e.entities.config,e.entities.data]);function Pe(e,t,n,r){return Me(e,t,n,r)||Object.keys(xe(e,t,n,r)).length>0}const Le=Object(pe.a)((e,t,n,r)=>({...Ie(e,t,n,r),...Ce(e,t,n,r)}),e=>[e.entities.data]);function De(e,t,n,r){const{pending:i,isAutosave:o}=Object(d.get)(e.entities.data,[t,n,"saving",r],{});return Boolean(i&&o)}function Me(e,t,n,r){return Object(d.get)(e.entities.data,[t,n,"saving",r,"pending"],!1)}function Ne(e,t,n,r){return Object(d.get)(e.entities.data,[t,n,"deleting",r,"pending"],!1)}function Ve(e,t,n,r){return Object(d.get)(e.entities.data,[t,n,"saving",r,"error"])}function qe(e,t,n,r){return Object(d.get)(e.entities.data,[t,n,"deleting",r,"error"])}function Fe(e){return e.undo.offset}function Qe(e){return e.undo[e.undo.length-2+Fe(e)]}function Ge(e){return e.undo[e.undo.length+Fe(e)]}function Ye(e){return Boolean(Qe(e))}function Be(e){return Boolean(Ge(e))}function $e(e){return e.themes[e.currentTheme]}function He(e){return e.themeSupports}function Ke(e,t){return e.embedPreviews[t]}function We(e,t){const n=e.embedPreviews[t],r='<a href="'+t+'">'+t+"</a>";return!!n&&n.html===r}function ze(e,t,n,r){const i=Object(d.compact)([t,n,r]).join("/");return Object(d.get)(e,["userPermissions",i])}function Xe(e,t,n){return e.autosaves[n]}function Je(e,t,n,r){if(void 0===r)return;const i=e.autosaves[n];return Object(d.find)(i,{author:r})}const Ze=Object(u.createRegistrySelector)(e=>(t,n,r)=>e("core").hasFinishedResolution("getAutosaves",[n,r])),et=Object(pe.a)(()=>[],e=>[e.undo.length,e.undo.offset,e.undo.flattenedUndo]);function tt(e,t){const n=Ae(e,"postType","wp_template",{"find-template":t}),r=null!=n&&n.length?n[0]:null;return r?Le(e,"postType","wp_template",r.id):r}var nt=(e,t)=>function*(...n){(yield u.controls.select("core","hasStartedResolution",t,n))||(yield*e(...n))};function*rt(e){const t=Object(m.addQueryArgs)("/wp/v2/users/?who=authors&per_page=100",e),n=yield Object(a.apiFetch)({path:t});yield S(t,n)}function*it(e){const t="/wp/v2/users?who=authors&include="+e,n=yield Object(a.apiFetch)({path:t});yield S("author",n)}function*ot(){const e=yield Object(a.apiFetch)({path:"/wp/v2/users/me"});yield A(e)}function*st(e,t,n="",r){const i=yield Z(e),o=Object(d.find)(i,{kind:e,name:t});if(!o)return;const s=yield*_("core",["entities","data",e,t,n],{exclusive:!1});try{void 0!==r&&r._fields&&(r={...r,_fields:Object(d.uniq)([...ee(r._fields)||[],o.key||K]).join()});const i=Object(m.addQueryArgs)(o.baseURL+"/"+n,{...o.baseURLParams,...r});if(void 0!==r&&(r={...r,include:[n]},yield u.controls.select("core","hasEntityRecords",e,t,r)))return;const c=yield Object(a.apiFetch)({path:i});yield C(e,t,c,r)}catch(e){}finally{yield*v(s)}}const ct=nt(st,"getEntityRecord"),ut=nt(ct,"getRawEntityRecord");function*at(e,t,n={}){const r=yield Z(e),i=Object(d.find)(r,{kind:e,name:t});if(!i)return;const o=yield*_("core",["entities","data",e,t],{exclusive:!1});try{var s;n._fields&&(n={...n,_fields:Object(d.uniq)([...ee(n._fields)||[],i.key||K]).join()});const r=Object(m.addQueryArgs)(i.baseURL,{...n,context:"edit"});let c=Object.values(yield Object(a.apiFetch)({path:r}));if(n._fields&&(c=c.map(e=>(n._fields.split(",").forEach(t=>{e.hasOwnProperty(t)||(e[t]=void 0)}),e))),yield C(e,t,c,n),null===(s=n)||void 0===s||!s._fields){const n=i.key||K,r=c.filter(e=>e[n]).map(r=>[e,t,r[n]]);yield{type:"START_RESOLUTIONS",selectorName:"getEntityRecord",args:r},yield{type:"FINISH_RESOLUTIONS",selectorName:"getEntityRecord",args:r}}}finally{yield*v(o)}}function*dt(){const e=yield Object(a.apiFetch)({path:"/wp/v2/themes?status=active"});yield x(e[0])}function*lt(){const e=yield Object(a.apiFetch)({path:"/wp/v2/themes?status=active"});yield P(e[0].theme_supports)}function*ft(e){try{const t=yield Object(a.apiFetch)({path:Object(m.addQueryArgs)("/oembed/1.0/proxy",{url:e})});yield L(e,t)}catch(t){yield L(e,!1)}}function*pt(e,t,n){const r={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[e];if(!r)throw new Error(`'${e}' is not a valid action.`);const i=n?`/wp/v2/${t}/${n}`:"/wp/v2/"+t;let o,s;try{o=yield Object(a.apiFetch)({path:i,method:n?"GET":"OPTIONS",parse:!1})}catch(e){return}s=Object(d.hasIn)(o,["headers","get"])?o.headers.get("allow"):Object(d.get)(o,["headers","Allow"],"");const c=Object(d.compact)([e,t,n]).join("/"),u=Object(d.includes)(s,r);yield $(c,u)}function*yt(e,t){const{rest_base:n}=yield u.controls.resolveSelect("core","getPostType",e),r=yield Object(a.apiFetch)({path:`/wp/v2/${n}/${t}/autosaves?context=edit`});r&&r.length&&(yield H(t,r))}function*Et(e,t){yield u.controls.resolveSelect("core","getAutosaves",e,t)}function*bt(e){let t;try{t=yield(n=Object(m.addQueryArgs)(e,{"_wp-find-template":!0}),{type:"REGULAR_FETCH",url:n})}catch(e){}var n;if(!t)return;yield st("postType","wp_template",t.id);const r=yield u.controls.select("core","getEntityRecord","postType","wp_template",t.id);r&&(yield C("postType","wp_template",[r],{"find-template":e}))}function mt(e){return e.locks.requests}function ht(e,t,n,{exclusive:r}){const i=[t,...n],o=e.locks.tree;for(const e of function*(e,t){let n=e;yield n;for(const e of t){const t=n.children[e];if(!t)break;yield t,n=t}}(o,i))if(ce({exclusive:r},e.locks))return!1;const s=se(o,i);if(!s)return!0;for(const e of function*(e){const t=Object.values(e.children);for(;t.length;){const e=t.pop();yield e,t.push(...Object.values(e.children))}}(s))if(ce({exclusive:r},e.locks))return!1;return!0}at.shouldInvalidate=(e,t,n)=>("RECEIVE_ITEMS"===e.type||"REMOVE_ITEMS"===e.type)&&e.invalidateCache&&t===e.kind&&n===e.name,bt.shouldInvalidate=e=>("RECEIVE_ITEMS"===e.type||"REMOVE_ITEMS"===e.type)&&e.invalidateCache&&"postType"===e.kind&&"wp_template"===e.name;var _t=n(0),gt=n(8);const vt=[],Ot={...W.reduce((e,t)=>(e[t.kind]||(e[t.kind]={}),e[t.kind][t.name]={context:Object(_t.createContext)()},e),{}),...z.reduce((e,t)=>(e[t.name]={},e),{})},Rt=(e,t)=>{if(!Ot[e])throw new Error(`Missing entity config for kind: ${e}.`);return Ot[e][t]||(Ot[e][t]={context:Object(_t.createContext)()}),Ot[e][t]};function jt({kind:e,type:t,id:n,children:r}){const i=Rt(e,t).context.Provider;return Object(_t.createElement)(i,{value:n},r)}function wt(e,t){return Object(_t.useContext)(Rt(e,t).context)}function Tt(e,t,n,r){const i=wt(e,t),o=null!=r?r:i,{value:s,fullValue:c}=Object(u.useSelect)(r=>{const{getEntityRecord:i,getEditedEntityRecord:s}=r("core"),c=i(e,t,o),u=s(e,t,o);return c&&u?{value:u[n],fullValue:c[n]}:{}},[e,t,o,n]),{editEntityRecord:a}=Object(u.useDispatch)("core");return[s,Object(_t.useCallback)(r=>{a(e,t,o,{[n]:r})},[e,t,o,n]),c]}function kt(e,t,{id:n}={}){const r=wt(e,t),i=null!=n?n:r,{content:o,blocks:s}=Object(u.useSelect)(n=>{const{getEditedEntityRecord:r}=n("core"),o=r(e,t,i);return{blocks:o.blocks,content:o.content}},[e,t,i]),{__unstableCreateUndoLevel:c,editEntityRecord:a}=Object(u.useDispatch)("core");Object(_t.useEffect)(()=>{if(o&&"function"!=typeof o&&!s){const n=Object(gt.parse)(o);a(e,t,i,{blocks:n},{undoIgnore:!0})}},[o]);const d=Object(_t.useCallback)((n,r)=>{const{selection:o}=r,u={blocks:n,selection:o};if(s===u.blocks)return c(e,t,i);u.content=({blocks:e=[]})=>Object(gt.__unstableSerializeAndClean)(e),a(e,t,i,u)},[e,t,i,s]),l=Object(_t.useCallback)((n,r)=>{const{selection:o}=r;a(e,t,i,{blocks:n,selection:o})},[e,t,i]);return[null!=s?s:vt,l,d]}var It=n(39),St=async(e,t={},n={})=>{const{isInitialSuggestions:r=!1,type:i,subtype:o,page:s,perPage:c=(r?3:20)}=t,{disablePostFormats:u=!1}=n,a=[];return i&&"post"!==i||a.push(j()({path:Object(m.addQueryArgs)("/wp/v2/search",{search:e,page:s,per_page:c,type:"post",subtype:o})}).then(e=>e.map(e=>({...e,meta:{kind:"post-type",subtype:o}}))).catch(()=>[])),i&&"term"!==i||a.push(j()({path:Object(m.addQueryArgs)("/wp/v2/search",{search:e,page:s,per_page:c,type:"term",subtype:o})}).then(e=>e.map(e=>({...e,meta:{kind:"taxonomy",subtype:o}}))).catch(()=>[])),u||i&&"post-format"!==i||a.push(j()({path:Object(m.addQueryArgs)("/wp/v2/search",{search:e,page:s,per_page:c,type:"post-format",subtype:o})}).then(e=>e.map(e=>({...e,meta:{kind:"taxonomy",subtype:o}}))).catch(()=>[])),Promise.all(a).then(e=>e.reduce((e,t)=>e.concat(t),[]).filter(e=>!!e.id).slice(0,c).map(e=>{var t;return{id:e.id,url:e.url,title:Object(It.decodeEntities)(e.title||"")||Object(E.__)("(no title)"),type:e.subtype||e.type,kind:null==e||null===(t=e.meta)||void 0===t?void 0:t.kind}}))},At=async e=>{const t={url:Object(m.prependHTTP)(e)};return j()({path:Object(m.addQueryArgs)("/__experimental/url-details",t)})};const Ut=W.reduce((e,t)=>{const{kind:n,name:r}=t;return e[J(n,r)]=(e,t)=>Te(e,n,r,t),e[J(n,r,"get",!0)]=(e,...t)=>Ae(e,n,r,...t),e},{}),Ct=W.reduce((e,t)=>{const{kind:n,name:r}=t;e[J(n,r)]=e=>st(n,r,e);const i=J(n,r,"get",!0);return e[i]=(...e)=>at(n,r,...e),e[i].shouldInvalidate=(e,...t)=>at.shouldInvalidate(e,n,r,...t),e},{}),xt=W.reduce((e,t)=>{const{kind:n,name:r}=t;return e[J(n,r,"save")]=e=>F(n,r,e),e[J(n,r,"delete")]=(e,t)=>D(n,r,e,t),e},{}),Pt={reducer:fe,controls:{...I,...a.controls},actions:{...i,...xt,...r},selectors:{...o,...Ut,...c},resolvers:{...s,...Ct}},Lt=Object(u.createReduxStore)("core",Pt);Object(u.register)(Lt)},45:function(e,t){e.exports=window.wp.isShallowEqual},8:function(e,t){e.exports=window.wp.blocks},84:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){var n=e._map,r=e._arrayTreeMap,i=e._objectTreeMap;if(n.has(t))return n.get(t);for(var o=Object.keys(t).sort(),s=Array.isArray(t)?r:i,c=0;c<o.length;c++){var u=o[c];if(void 0===(s=s.get(u)))return;var a=t[u];if(void 0===(s=s.get(a)))return}var d=s.get("_ekm_value");return d?(n.delete(d[0]),d[0]=t,s.set("_ekm_value",d),n.set(t,d),d):void 0}var s=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach((function(e,t){n.push([t,e])})),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var t,n;return t=e,(n=[{key:"set",value:function(t,n){if(null===t||"object"!==r(t))return this._map.set(t,n),this;for(var i=Object.keys(t).sort(),o=[t,n],s=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,c=0;c<i.length;c++){var u=i[c];s.has(u)||s.set(u,new e),s=s.get(u);var a=t[u];s.has(a)||s.set(a,new e),s=s.get(a)}var d=s.get("_ekm_value");return d&&this._map.delete(d[0]),s.set("_ekm_value",o),this._map.set(t,o),this}},{key:"get",value:function(e){if(null===e||"object"!==r(e))return this._map.get(e);var t=o(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==r(e)?this._map.has(e):void 0!==o(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(i,o){null!==o&&"object"===r(o)&&(i=i[1]),e.call(n,i,o,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&i(t.prototype,n),e}();e.exports=s}});
1
+ window.wp=window.wp||{},window.wp.coreData=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=408)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},155:function(e,t,n){"use strict";var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),i=new Uint8Array(16);function s(){if(!r)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}for(var o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,c=function(e){return"string"==typeof e&&o.test(e)},u=[],a=0;a<256;++a)u.push((a+256).toString(16).substr(1));t.a=function(e,t,n){var r=(e=e||{}).random||(e.rng||s)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();if(!c(n))throw TypeError("Stringified UUID is invalid");return n}(r)}},2:function(e,t){e.exports=window.lodash},20:function(e,t){e.exports=window.wp.url},29:function(e,t,n){"use strict";var r,i;function s(e){return[e]}function o(){var e={clear:function(){e.head=null}};return e}function c(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},i="undefined"!=typeof WeakMap,t.a=function(e,t){var n,u;function a(){n=i?new WeakMap:o()}function d(){var n,r,i,s,o,a=arguments.length;for(s=new Array(a),i=0;i<a;i++)s[i]=arguments[i];for(o=t.apply(null,s),(n=u(o)).isUniqueByDependants||(n.lastDependants&&!c(o,n.lastDependants,0)&&n.clear(),n.lastDependants=o),r=n.head;r;){if(c(r.args,s,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,s)},s[0]=null,r.args=s,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=s),u=i?function(e){var t,i,s,c,u,a=n,d=!0;for(t=0;t<e.length;t++){if(!(u=i=e[t])||"object"!=typeof u){d=!1;break}a.has(i)?a=a.get(i):(s=new WeakMap,a.set(i,s),a=s)}return a.has(r)||((c=o()).isUniqueByDependants=d,a.set(r,c)),a.get(r)}:function(){return n},d.getDependants=t,d.clear=a,a(),d}},31:function(e,t){e.exports=window.wp.apiFetch},33:function(e,t){e.exports=window.wp.dataControls},39:function(e,t){e.exports=window.wp.htmlEntities},4:function(e,t){e.exports=window.wp.data},408:function(e,t,n){"use strict";n.r(t),n.d(t,"store",(function(){return Mt})),n.d(t,"EntityProvider",(function(){return Tt})),n.d(t,"useEntityId",(function(){return kt})),n.d(t,"useEntityProp",(function(){return It})),n.d(t,"useEntityBlockEditor",(function(){return St})),n.d(t,"__experimentalFetchLinkSuggestions",(function(){return At})),n.d(t,"__experimentalFetchRemoteUrlData",(function(){return Ct}));var r={};n.r(r),n.d(r,"__unstableAcquireStoreLock",(function(){return _})),n.d(r,"__unstableEnqueueLockRequest",(function(){return g})),n.d(r,"__unstableReleaseStoreLock",(function(){return v})),n.d(r,"__unstableProcessPendingLockRequests",(function(){return O}));var i={};n.r(i),n.d(i,"receiveUserQuery",(function(){return S})),n.d(i,"receiveCurrentUser",(function(){return U})),n.d(i,"addEntities",(function(){return A})),n.d(i,"receiveEntityRecords",(function(){return C})),n.d(i,"receiveCurrentTheme",(function(){return x})),n.d(i,"receiveThemeSupports",(function(){return P})),n.d(i,"receiveEmbedPreview",(function(){return L})),n.d(i,"deleteEntityRecord",(function(){return D})),n.d(i,"editEntityRecord",(function(){return M})),n.d(i,"undo",(function(){return N})),n.d(i,"redo",(function(){return V})),n.d(i,"__unstableCreateUndoLevel",(function(){return q})),n.d(i,"saveEntityRecord",(function(){return F})),n.d(i,"__experimentalBatch",(function(){return Q})),n.d(i,"saveEditedEntityRecord",(function(){return G})),n.d(i,"__experimentalSaveSpecifiedEntityEdits",(function(){return Y})),n.d(i,"receiveUploadPermissions",(function(){return B})),n.d(i,"receiveUserPermission",(function(){return $})),n.d(i,"receiveAutosaves",(function(){return H}));var s={};n.r(s),n.d(s,"isRequestingEmbedPreview",(function(){return _e})),n.d(s,"getAuthors",(function(){return ge})),n.d(s,"__unstableGetAuthor",(function(){return ve})),n.d(s,"getCurrentUser",(function(){return Oe})),n.d(s,"getUserQueryResults",(function(){return Re})),n.d(s,"getEntitiesByKind",(function(){return je})),n.d(s,"getEntity",(function(){return we})),n.d(s,"getEntityRecord",(function(){return Te})),n.d(s,"__experimentalGetEntityRecordNoResolver",(function(){return ke})),n.d(s,"getRawEntityRecord",(function(){return Ie})),n.d(s,"hasEntityRecords",(function(){return Se})),n.d(s,"getEntityRecords",(function(){return Ue})),n.d(s,"__experimentalGetDirtyEntityRecords",(function(){return Ae})),n.d(s,"getEntityRecordEdits",(function(){return Ce})),n.d(s,"getEntityRecordNonTransientEdits",(function(){return xe})),n.d(s,"hasEditsForEntityRecord",(function(){return Pe})),n.d(s,"getEditedEntityRecord",(function(){return Le})),n.d(s,"isAutosavingEntityRecord",(function(){return De})),n.d(s,"isSavingEntityRecord",(function(){return Me})),n.d(s,"isDeletingEntityRecord",(function(){return Ne})),n.d(s,"getLastEntitySaveError",(function(){return Ve})),n.d(s,"getLastEntityDeleteError",(function(){return qe})),n.d(s,"getUndoEdit",(function(){return Qe})),n.d(s,"getRedoEdit",(function(){return Ge})),n.d(s,"hasUndo",(function(){return Ye})),n.d(s,"hasRedo",(function(){return Be})),n.d(s,"getCurrentTheme",(function(){return $e})),n.d(s,"getThemeSupports",(function(){return He})),n.d(s,"getEmbedPreview",(function(){return Ke})),n.d(s,"isPreviewEmbedFallback",(function(){return We})),n.d(s,"canUser",(function(){return ze})),n.d(s,"canUserEditEntityRecord",(function(){return Xe})),n.d(s,"getAutosaves",(function(){return Je})),n.d(s,"getAutosave",(function(){return Ze})),n.d(s,"hasFetchedAutosaves",(function(){return et})),n.d(s,"getReferenceByDistinctEdits",(function(){return tt})),n.d(s,"__experimentalGetTemplateForLink",(function(){return nt}));var o={};n.r(o),n.d(o,"getAuthors",(function(){return it})),n.d(o,"__unstableGetAuthor",(function(){return st})),n.d(o,"getCurrentUser",(function(){return ot})),n.d(o,"getEntityRecord",(function(){return ct})),n.d(o,"getRawEntityRecord",(function(){return ut})),n.d(o,"getEditedEntityRecord",(function(){return at})),n.d(o,"getEntityRecords",(function(){return dt})),n.d(o,"getCurrentTheme",(function(){return lt})),n.d(o,"getThemeSupports",(function(){return ft})),n.d(o,"getEmbedPreview",(function(){return pt})),n.d(o,"canUser",(function(){return yt})),n.d(o,"canUserEditEntityRecord",(function(){return Et})),n.d(o,"getAutosaves",(function(){return bt})),n.d(o,"getAutosave",(function(){return mt})),n.d(o,"__experimentalGetTemplateForLink",(function(){return ht}));var c={};n.r(c),n.d(c,"__unstableGetPendingLockRequests",(function(){return _t})),n.d(c,"__unstableIsLockAvailable",(function(){return gt}));var u=n(4),a=n(33),d=n(2),l=n(45),f=n.n(l),p=e=>t=>(n,r)=>void 0===n||e(r)?t(n,r):n,y=e=>t=>(n,r)=>t(n,e(r)),E=n(1),b=n(155),m=n(20);function h(e,t){return{type:"RECEIVE_ITEMS",items:Object(d.castArray)(e),persistedEdits:t}}function*_(e,t,{exclusive:n}){const r=yield*g(e,t,{exclusive:n});return yield*O(),yield Object(a.__unstableAwaitPromise)(r)}function*g(e,t,{exclusive:n}){let r;const i=new Promise(e=>{r=e});return yield{type:"ENQUEUE_LOCK_REQUEST",request:{store:e,path:t,exclusive:n,notifyAcquired:r}},i}function*v(e){yield{type:"RELEASE_LOCK",lock:e},yield*O()}function*O(){yield{type:"PROCESS_PENDING_LOCK_REQUESTS"};const e=yield u.controls.select("core","__unstableGetPendingLockRequests");for(const t of e){const{store:e,path:n,exclusive:r,notifyAcquired:i}=t;if(yield u.controls.select("core","__unstableIsLockAvailable",e,n,{exclusive:r})){const s={store:e,path:n,exclusive:r};yield{type:"GRANT_LOCK_REQUEST",lock:s,request:t},i(s)}}}var R=n(31),j=n.n(R);async function w(e){const t=await j()({path:"/batch/v1",method:"POST",data:{validation:"require-all-validate",requests:e.map(e=>({path:e.path,body:e.data,method:e.method,headers:e.headers}))}});return t.failed?t.responses.map(e=>({error:null==e?void 0:e.body})):t.responses.map(e=>{const t={};return e.status>=200&&e.status<300?t.output=e.body:t.error=e.body,t})}function T(e=w){let t=0,n=[];const r=new k;return{add(e){const i=++t;r.add(i);const s=e=>new Promise((t,s)=>{n.push({input:e,resolve:t,reject:s}),r.delete(i)});return Object(d.isFunction)(e)?Promise.resolve(e(s)).finally(()=>{r.delete(i)}):s(e)},async run(){let t;r.size&&await new Promise(e=>{const t=r.subscribe(()=>{r.size||(t(),e())})});try{if(t=await e(n.map(({input:e})=>e)),t.length!==n.length)throw new Error("run: Array returned by processor must be same size as input array.")}catch(e){for(const{reject:t}of n)t(e);throw e}let i=!0;for(const[e,{resolve:r,reject:o}]of Object(d.zip)(t,n)){var s;null!=e&&e.error?(o(e.error),i=!1):r(null!==(s=null==e?void 0:e.output)&&void 0!==s?s:e)}return n=[],i}}}class k{constructor(...e){this.set=new Set(...e),this.subscribers=new Set}get size(){return this.set.size}add(...e){return this.set.add(...e),this.subscribers.forEach(e=>e()),this}delete(...e){const t=this.set.delete(...e);return this.subscribers.forEach(e=>e()),t}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}}var I={async REGULAR_FETCH({url:e}){const{data:t}=await window.fetch(e).then(e=>e.json());return t},GET_DISPATCH:Object(u.createRegistryControl)(({dispatch:e})=>()=>e)};function S(e,t){return{type:"RECEIVE_USER_QUERY",users:Object(d.castArray)(t),queryID:e}}function U(e){return{type:"RECEIVE_CURRENT_USER",currentUser:e}}function A(e){return{type:"ADD_ENTITIES",entities:e}}function C(e,t,n,r,i=!1,s){let o;return"postType"===e&&(n=Object(d.castArray)(n).map(e=>"auto-draft"===e.status?{...e,title:""}:e)),o=r?function(e,t={},n){return{...h(e,n),query:t}}(n,r,s):h(n,s),{...o,kind:e,name:t,invalidateCache:i}}function x(e){return{type:"RECEIVE_CURRENT_THEME",currentTheme:e}}function P(e){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:e}}function L(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}function*D(e,t,n,r,{__unstableFetch:i=null}={}){const s=yield Z(e),o=Object(d.find)(s,{kind:e,name:t});let c,u=!1;if(!o)return;const l=yield*_("core",["entities","data",e,t,n],{exclusive:!0});try{yield{type:"DELETE_ENTITY_RECORD_START",kind:e,name:t,recordId:n};try{let s=`${o.baseURL}/${n}`;r&&(s=Object(m.addQueryArgs)(s,r));const c={path:s,method:"DELETE"};u=i?yield Object(a.__unstableAwaitPromise)(i(c)):yield Object(a.apiFetch)(c),yield function(e,t,n,r=!1){return{type:"REMOVE_ITEMS",itemIds:Object(d.castArray)(n),kind:e,name:t,invalidateCache:r}}(e,t,n,!0)}catch(e){c=e}return yield{type:"DELETE_ENTITY_RECORD_FINISH",kind:e,name:t,recordId:n,error:c},u}finally{yield*v(l)}}function*M(e,t,n,r,i={}){const s=yield u.controls.select("core","getEntity",e,t);if(!s)throw new Error(`The entity being edited (${e}, ${t}) does not have a loaded config.`);const{transientEdits:o={},mergedEdits:c={}}=s,a=yield u.controls.select("core","getRawEntityRecord",e,t,n),l=yield u.controls.select("core","getEditedEntityRecord",e,t,n),f={kind:e,name:t,recordId:n,edits:Object.keys(r).reduce((e,t)=>{const n=a[t],i=l[t],s=c[t]?{...i,...r[t]}:r[t];return e[t]=Object(d.isEqual)(n,s)?void 0:s,e},{}),transientEdits:o};return{type:"EDIT_ENTITY_RECORD",...f,meta:{undo:!i.undoIgnore&&{...f,edits:Object.keys(r).reduce((e,t)=>(e[t]=l[t],e),{})}}}}function*N(){const e=yield u.controls.select("core","getUndoEdit");e&&(yield{type:"EDIT_ENTITY_RECORD",...e,meta:{isUndo:!0}})}function*V(){const e=yield u.controls.select("core","getRedoEdit");e&&(yield{type:"EDIT_ENTITY_RECORD",...e,meta:{isRedo:!0}})}function q(){return{type:"CREATE_UNDO_LEVEL"}}function*F(e,t,n,{isAutosave:r=!1,__unstableFetch:i=null}={}){const s=yield Z(e),o=Object(d.find)(s,{kind:e,name:t});if(!o)return;const c=n[o.key||K],l=yield*_("core",["entities","data",e,t,c||Object(b.a)()],{exclusive:!0});try{for(const[r,i]of Object.entries(n))if("function"==typeof i){const s=i(yield u.controls.select("core","getEditedEntityRecord",e,t,c));yield M(e,t,c,{[r]:s},{undoIgnore:!0}),n[r]=s}let s,f;yield{type:"SAVE_ENTITY_RECORD_START",kind:e,name:t,recordId:c,isAutosave:r};try{const l=`${o.baseURL}${c?"/"+c:""}`,f=yield u.controls.select("core","getRawEntityRecord",e,t,c);if(r){const r=yield u.controls.select("core","getCurrentUser"),o=r?r.id:void 0,c=yield u.controls.select("core","getAutosave",f.type,f.id,o);let p={...f,...c,...n};p=Object.keys(p).reduce((e,t)=>(["title","excerpt","content"].includes(t)&&(e[t]=Object(d.get)(p[t],"raw",p[t])),e),{status:"auto-draft"===p.status?"draft":p.status});const y={path:l+"/autosaves",method:"POST",data:p};if(s=i?yield Object(a.__unstableAwaitPromise)(i(y)):yield Object(a.apiFetch)(y),f.id===s.id){let n={...f,...p,...s};n=Object.keys(n).reduce((e,t)=>(["title","excerpt","content"].includes(t)?e[t]=Object(d.get)(n[t],"raw",n[t]):e[t]="status"===t?"auto-draft"===f.status&&"draft"===n.status?n.status:f.status:Object(d.get)(f[t],"raw",f[t]),e),{}),yield C(e,t,n,void 0,!0)}else yield H(f.id,s)}else{let r=n;o.__unstablePrePersist&&(r={...r,...o.__unstablePrePersist(f,r)});const u={path:l,method:c?"PUT":"POST",data:r};s=i?yield Object(a.__unstableAwaitPromise)(i(u)):yield Object(a.apiFetch)(u),yield C(e,t,s,void 0,!0,r)}}catch(e){f=e}return yield{type:"SAVE_ENTITY_RECORD_FINISH",kind:e,name:t,recordId:c,error:f,isAutosave:r},s}finally{yield*v(l)}}function*Q(e){const t=T(),n=yield{type:"GET_DISPATCH"},r={saveEntityRecord:(e,r,i,s)=>t.add(t=>n("core").saveEntityRecord(e,r,i,{...s,__unstableFetch:t})),saveEditedEntityRecord:(e,r,i,s)=>t.add(t=>n("core").saveEditedEntityRecord(e,r,i,{...s,__unstableFetch:t})),deleteEntityRecord:(e,r,i,s,o)=>t.add(t=>n("core").deleteEntityRecord(e,r,i,s,{...o,__unstableFetch:t}))},i=e.map(e=>e(r)),[,...s]=yield Object(a.__unstableAwaitPromise)(Promise.all([t.run(),...i]));return s}function*G(e,t,n,r){if(!(yield u.controls.select("core","hasEditsForEntityRecord",e,t,n)))return;const i={id:n,...yield u.controls.select("core","getEntityRecordNonTransientEdits",e,t,n)};return yield*F(e,t,i,r)}function*Y(e,t,n,r,i){if(!(yield u.controls.select("core","hasEditsForEntityRecord",e,t,n)))return;const s=yield u.controls.select("core","getEntityRecordNonTransientEdits",e,t,n),o={};for(const e in s)r.some(t=>t===e)&&(o[e]=s[e]);return yield*F(e,t,o,i)}function B(e){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:e}}function $(e,t){return{type:"RECEIVE_USER_PERMISSION",key:e,isAllowed:t}}function H(e,t){return{type:"RECEIVE_AUTOSAVES",postId:e,autosaves:Object(d.castArray)(t)}}const K="id",W=[{label:Object(E.__)("Base"),name:"__unstableBase",kind:"root",baseURL:""},{label:Object(E.__)("Site"),name:"site",kind:"root",baseURL:"/wp/v2/settings",getTitle:e=>Object(d.get)(e,["title"],Object(E.__)("Site Title"))},{label:Object(E.__)("Post Type"),name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types",baseURLParams:{context:"edit"}},{name:"media",kind:"root",baseURL:"/wp/v2/media",baseURLParams:{context:"edit"},plural:"mediaItems",label:Object(E.__)("Media")},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",baseURLParams:{context:"edit"},plural:"taxonomies",label:Object(E.__)("Taxonomy")},{name:"sidebar",kind:"root",baseURL:"/wp/v2/sidebars",plural:"sidebars",transientEdits:{blocks:!0},label:Object(E.__)("Widget areas")},{name:"widget",kind:"root",baseURL:"/wp/v2/widgets",baseURLParams:{context:"edit"},plural:"widgets",transientEdits:{blocks:!0},label:Object(E.__)("Widgets")},{name:"widgetType",kind:"root",baseURL:"/wp/v2/widget-types",baseURLParams:{context:"edit"},plural:"widgetTypes",label:Object(E.__)("Widget types")},{label:Object(E.__)("User"),name:"user",kind:"root",baseURL:"/wp/v2/users",baseURLParams:{context:"edit"},plural:"users"},{name:"comment",kind:"root",baseURL:"/wp/v2/comments",baseURLParams:{context:"edit"},plural:"comments",label:Object(E.__)("Comment")},{name:"menu",kind:"root",baseURL:"/__experimental/menus",baseURLParams:{context:"edit"},plural:"menus",label:Object(E.__)("Menu")},{name:"menuItem",kind:"root",baseURL:"/__experimental/menu-items",baseURLParams:{context:"edit"},plural:"menuItems",label:Object(E.__)("Menu Item")},{name:"menuLocation",kind:"root",baseURL:"/__experimental/menu-locations",baseURLParams:{context:"edit"},plural:"menuLocations",label:Object(E.__)("Menu Location"),key:"name"}],z=[{name:"postType",loadEntities:function*(){const e=yield Object(a.apiFetch)({path:"/wp/v2/types?context=edit"});return Object(d.map)(e,(e,t)=>{const n=["wp_template","wp_template_part"].includes(t);return{kind:"postType",baseURL:"/wp/v2/"+e.rest_base,baseURLParams:{context:"edit"},name:t,label:e.labels.singular_name,transientEdits:{blocks:!0,selection:!0},mergedEdits:{meta:!0},getTitle:e=>{var t;return(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title)||(n?Object(d.startCase)(e.slug):String(e.id))},__unstablePrePersist:n?void 0:X,__unstable_rest_base:e.rest_base}})}},{name:"taxonomy",loadEntities:function*(){const e=yield Object(a.apiFetch)({path:"/wp/v2/taxonomies?context=edit"});return Object(d.map)(e,(e,t)=>({kind:"taxonomy",baseURL:"/wp/v2/"+e.rest_base,baseURLParams:{context:"edit"},name:t,label:e.labels.singular_name}))}}],X=(e,t)=>{const n={};return"auto-draft"===(null==e?void 0:e.status)&&(t.status||n.status||(n.status="draft"),t.title&&"Auto Draft"!==t.title||n.title||null!=e&&e.title&&"Auto Draft"!==(null==e?void 0:e.title)||(n.title="")),n},J=(e,t,n="get",r=!1)=>{const i=Object(d.find)(W,{kind:e,name:t}),s="root"===e?"":Object(d.upperFirst)(Object(d.camelCase)(e)),o=Object(d.upperFirst)(Object(d.camelCase)(t))+(r?"s":"");return`${n}${s}${r&&i.plural?Object(d.upperFirst)(Object(d.camelCase)(i.plural)):o}`};function*Z(e){let t=yield u.controls.select("core","getEntitiesByKind",e);if(t&&0!==t.length)return t;const n=Object(d.find)(z,{name:e});return n?(t=yield n.loadEntities(),yield A(t),t):[]}var ee=function(e){return"string"==typeof e?e.split(","):Array.isArray(e)?e:null},te=function(e){const t=new WeakMap;return e=>{let n;return t.has(e)?n=t.get(e):(n=function(e){const t={stableKey:"",page:1,perPage:10,fields:null,include:null},n=Object.keys(e).sort();for(let r=0;r<n.length;r++){const i=n[r];let s=e[i];switch(i){case"page":t[i]=Number(s);break;case"per_page":t.perPage=Number(s);break;case"include":t.include=ee(s).map(Number);break;default:"_fields"===i&&(t.fields=ee(s),s=t.fields.join()),t.stableKey+=(t.stableKey?"&":"")+Object(m.addQueryArgs)("",{[i]:s}).slice(1)}}return t}(e),Object(d.isObjectLike)(e)&&t.set(e,n)),n}}();const ne=Object(d.flowRight)([p(e=>"query"in e),y(e=>e.query?{...e,...te(e.query)}:e),(re="stableKey",e=>(t={},n)=>{const r=n[re];if(void 0===r)return t;const i=e(t[r],n);return i===t[r]?t:{...t,[r]:i}})])((e=null,t)=>{const{type:n,page:r,perPage:i,key:s=K}=t;return"RECEIVE_ITEMS"!==n?e:function(e,t,n,r){if(1===n&&-1===r)return t;const i=(n-1)*r,s=Math.max(e.length,i+t.length),o=new Array(s);for(let n=0;n<s;n++){const r=n>=i&&n<i+t.length;o[n]=r?t[n-i]:e[n]}return o}(e||[],Object(d.map)(t.items,s),r,i)});var re,ie=Object(u.combineReducers)({items:function(e={},t){switch(t.type){case"RECEIVE_ITEMS":const n=t.key||K;return{...e,...t.items.reduce((t,r)=>{const i=r[n];return t[i]=function(e,t){if(!e)return t;let n=!1;const r={};for(const i in t)Object(d.isEqual)(e[i],t[i])?r[i]=e[i]:(n=!0,r[i]=t[i]);if(!n)return e;for(const t in e)r.hasOwnProperty(t)||(r[t]=e[t]);return r}(e[i],r),t},{})};case"REMOVE_ITEMS":return Object(d.omit)(e,t.itemIds)}return e},itemIsComplete:function(e={},t){const{type:n,query:r,key:i=K}=t;if("RECEIVE_ITEMS"!==n)return e;const s=!r||!Array.isArray(te(r).fields);return{...e,...t.items.reduce((t,n)=>{const r=n[i];return t[r]=e[r]||s,t},{})}},queries:(e={},t)=>{switch(t.type){case"RECEIVE_ITEMS":return ne(e,t);case"REMOVE_ITEMS":const n={...e},r=t.itemIds.reduce((e,t)=>(e[t]=!0,e),{});return Object(d.forEach)(n,(e,t)=>{n[t]=Object(d.filter)(e,e=>!r[e])}),n;default:return e}}});function se(e,t){const n={...e};let r=n;for(const e of t)r.children={...r.children,[e]:{locks:[],children:{},...r.children[e]}},r=r.children[e];return n}function oe(e,t){let n=e;for(const e of t){const t=n.children[e];if(!t)return null;n=t}return n}function ce({exclusive:e},t){return!(!e||!t.length)||!(e||!t.filter(e=>e.exclusive).length)}const ue={requests:[],tree:{locks:[],children:{}}};function ae(e){return Object(d.flowRight)([p(t=>t.name&&t.kind&&t.name===e.name&&t.kind===e.kind),y(t=>({...t,key:e.key||K}))])(Object(u.combineReducers)({queriedData:ie,edits:(e={},t)=>{switch(t.type){case"RECEIVE_ITEMS":const n={...e};for(const e of t.items){const r=e[t.key],i=n[r];if(!i)continue;const s=Object.keys(i).reduce((n,r)=>(Object(d.isEqual)(i[r],Object(d.get)(e[r],"raw",e[r]))||t.persistedEdits&&Object(d.isEqual)(i[r],t.persistedEdits[r])||(n[r]=i[r]),n),{});Object.keys(s).length?n[r]=s:delete n[r]}return n;case"EDIT_ENTITY_RECORD":const r={...e[t.recordId],...t.edits};return Object.keys(r).forEach(e=>{void 0===r[e]&&delete r[e]}),{...e,[t.recordId]:r}}return e},saving:(e={},t)=>{switch(t.type){case"SAVE_ENTITY_RECORD_START":case"SAVE_ENTITY_RECORD_FINISH":return{...e,[t.recordId]:{pending:"SAVE_ENTITY_RECORD_START"===t.type,error:t.error,isAutosave:t.isAutosave}}}return e},deleting:(e={},t)=>{switch(t.type){case"DELETE_ENTITY_RECORD_START":case"DELETE_ENTITY_RECORD_FINISH":return{...e,[t.recordId]:{pending:"DELETE_ENTITY_RECORD_START"===t.type,error:t.error}}}return e}}))}const de=[];let le;de.offset=0;var fe=Object(u.combineReducers)({terms:function(e={},t){switch(t.type){case"RECEIVE_TERMS":return{...e,[t.taxonomy]:t.terms}}return e},users:function(e={byId:{},queries:{}},t){switch(t.type){case"RECEIVE_USER_QUERY":return{byId:{...e.byId,...Object(d.keyBy)(t.users,"id")},queries:{...e.queries,[t.queryID]:Object(d.map)(t.users,e=>e.id)}}}return e},currentTheme:function(e,t){switch(t.type){case"RECEIVE_CURRENT_THEME":return t.currentTheme.stylesheet}return e},currentUser:function(e={},t){switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser}return e},taxonomies:function(e=[],t){switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},themes:function(e={},t){switch(t.type){case"RECEIVE_CURRENT_THEME":return{...e,[t.currentTheme.stylesheet]:t.currentTheme}}return e},themeSupports:function(e={},t){switch(t.type){case"RECEIVE_THEME_SUPPORTS":return{...e,...t.themeSupports}}return e},entities:(e={},t)=>{const n=function(e=W,t){switch(t.type){case"ADD_ENTITIES":return[...e,...t.entities]}return e}(e.config,t);let r=e.reducer;if(!r||n!==e.config){const e=Object(d.groupBy)(n,"kind");r=Object(u.combineReducers)(Object.entries(e).reduce((e,[t,n])=>{const r=Object(u.combineReducers)(n.reduce((e,t)=>({...e,[t.name]:ae(t)}),{}));return e[t]=r,e},{}))}const i=r(e.data,t);return i===e.data&&n===e.config&&r===e.reducer?e:{reducer:r,data:i,config:n}},undo:function(e=de,t){switch(t.type){case"EDIT_ENTITY_RECORD":case"CREATE_UNDO_LEVEL":let n="CREATE_UNDO_LEVEL"===t.type;const r=!n&&(t.meta.isUndo||t.meta.isRedo);let i;if(n?t=le:r||(le=Object.keys(t.edits).some(e=>!t.transientEdits[e])?t:{...t,edits:{...le&&le.edits,...t.edits}}),r){if(i=[...e],i.offset=e.offset+(t.meta.isUndo?-1:1),!e.flattenedUndo)return i;n=!0,t=le}if(!t.meta.undo)return e;if(!n&&!Object.keys(t.edits).some(e=>!t.transientEdits[e]))return i=[...e],i.flattenedUndo={...e.flattenedUndo,...t.edits},i.offset=e.offset,i;i=i||e.slice(0,e.offset||void 0),i.offset=i.offset||0,i.pop(),n||i.push({kind:t.meta.undo.kind,name:t.meta.undo.name,recordId:t.meta.undo.recordId,edits:{...e.flattenedUndo,...t.meta.undo.edits}});const s=Object.values(t.meta.undo.edits).filter(e=>"function"!=typeof e),o=Object.values(t.edits).filter(e=>"function"!=typeof e);return f()(s,o)||i.push({kind:t.kind,name:t.name,recordId:t.recordId,edits:n?{...e.flattenedUndo,...t.edits}:t.edits}),i}return e},embedPreviews:function(e={},t){switch(t.type){case"RECEIVE_EMBED_PREVIEW":const{url:n,preview:r}=t;return{...e,[n]:r}}return e},userPermissions:function(e={},t){switch(t.type){case"RECEIVE_USER_PERMISSION":return{...e,[t.key]:t.isAllowed}}return e},autosaves:function(e={},t){switch(t.type){case"RECEIVE_AUTOSAVES":const{postId:n,autosaves:r}=t;return{...e,[n]:r}}return e},locks:function(e=ue,t){switch(t.type){case"ENQUEUE_LOCK_REQUEST":{const{request:n}=t;return{...e,requests:[n,...e.requests]}}case"GRANT_LOCK_REQUEST":{const{lock:n,request:r}=t,{store:i,path:s}=r,o=[i,...s],c=se(e.tree,o),u=oe(c,o);return u.locks=[...u.locks,n],{...e,requests:e.requests.filter(e=>e!==r),tree:c}}case"RELEASE_LOCK":{const{lock:n}=t,r=[n.store,...n.path],i=se(e.tree,r),s=oe(i,r);return s.locks=s.locks.filter(e=>e!==n),{...e,tree:i}}}return e}}),pe=n(29),ye=n(84),Ee=n.n(ye);const be=new WeakMap,me=Object(pe.a)((e,t={})=>{let n=be.get(e);if(n){const e=n.get(t);if(void 0!==e)return e}else n=new Ee.a,be.set(e,n);const r=function(e,t){const{stableKey:n,page:r,perPage:i,include:s,fields:o}=te(t);let c;if(Array.isArray(s)&&!n?c=s:e.queries[n]&&(c=e.queries[n]),!c)return null;const u=-1===i?0:(r-1)*i,a=-1===i?c.length:Math.min(u+i,c.length),l=[];for(let t=u;t<a;t++){const n=c[t];if(Array.isArray(s)&&!s.includes(n))continue;if(!e.items.hasOwnProperty(n))return null;const r=e.items[n];let i;if(Array.isArray(o)){i={};for(let e=0;e<o.length;e++){const t=o[e].split("."),n=Object(d.get)(r,t);Object(d.set)(i,t,n)}}else{if(!e.itemIsComplete[n])return null;i=r}l.push(i)}return l}(e,t);return n.set(t,r),r}),he=[],_e=Object(u.createRegistrySelector)(e=>(t,n)=>e("core/data").isResolving("core","getEmbedPreview",[n]));function ge(e,t){const n=Object(m.addQueryArgs)("/wp/v2/users/?who=authors&per_page=100",t);return Re(e,n)}function ve(e,t){return Object(d.get)(e,["users","byId",t],null)}function Oe(e){return e.currentUser}const Re=Object(pe.a)((e,t)=>{const n=e.users.queries[t];return Object(d.map)(n,t=>e.users.byId[t])},(e,t)=>[e.users.queries[t],e.users.byId]);function je(e,t){return Object(d.filter)(e.entities.config,{kind:t})}function we(e,t,n){return Object(d.find)(e.entities.config,{kind:t,name:n})}function Te(e,t,n,r,i){const s=Object(d.get)(e.entities.data,[t,n,"queriedData"]);if(!s)return;if(void 0===i){if(!s.itemIsComplete[r])return;return s.items[r]}const o=s.items[r];if(o&&i._fields){const e={},t=ee(i._fields);for(let n=0;n<t.length;n++){const r=t[n].split("."),i=Object(d.get)(o,r);Object(d.set)(e,r,i)}return e}return o}function ke(e,t,n,r){return Te(e,t,n,r)}const Ie=Object(pe.a)((e,t,n,r)=>{const i=Te(e,t,n,r);return i&&Object.keys(i).reduce((e,t)=>(e[t]=Object(d.get)(i[t],"raw",i[t]),e),{})},e=>[e.entities.data]);function Se(e,t,n,r){return Array.isArray(Ue(e,t,n,r))}function Ue(e,t,n,r){const i=Object(d.get)(e.entities.data,[t,n,"queriedData"]);return i?me(i,r):he}const Ae=Object(pe.a)(e=>{const{entities:{data:t}}=e,n=[];return Object.keys(t).forEach(r=>{Object.keys(t[r]).forEach(i=>{const s=Object.keys(t[r][i].edits).filter(t=>Pe(e,r,i,t));if(s.length){const t=we(e,r,i);s.forEach(s=>{var o;const c=Le(e,r,i,s);n.push({key:c[t.key||K],title:(null==t||null===(o=t.getTitle)||void 0===o?void 0:o.call(t,c))||"",name:i,kind:r})})}})}),n},e=>[e.entities.data]);function Ce(e,t,n,r){return Object(d.get)(e.entities.data,[t,n,"edits",r])}const xe=Object(pe.a)((e,t,n,r)=>{const{transientEdits:i}=we(e,t,n)||{},s=Ce(e,t,n,r)||{};return i?Object.keys(s).reduce((e,t)=>(i[t]||(e[t]=s[t]),e),{}):s},e=>[e.entities.config,e.entities.data]);function Pe(e,t,n,r){return Me(e,t,n,r)||Object.keys(xe(e,t,n,r)).length>0}const Le=Object(pe.a)((e,t,n,r)=>({...Ie(e,t,n,r),...Ce(e,t,n,r)}),e=>[e.entities.data]);function De(e,t,n,r){const{pending:i,isAutosave:s}=Object(d.get)(e.entities.data,[t,n,"saving",r],{});return Boolean(i&&s)}function Me(e,t,n,r){return Object(d.get)(e.entities.data,[t,n,"saving",r,"pending"],!1)}function Ne(e,t,n,r){return Object(d.get)(e.entities.data,[t,n,"deleting",r,"pending"],!1)}function Ve(e,t,n,r){return Object(d.get)(e.entities.data,[t,n,"saving",r,"error"])}function qe(e,t,n,r){return Object(d.get)(e.entities.data,[t,n,"deleting",r,"error"])}function Fe(e){return e.undo.offset}function Qe(e){return e.undo[e.undo.length-2+Fe(e)]}function Ge(e){return e.undo[e.undo.length+Fe(e)]}function Ye(e){return Boolean(Qe(e))}function Be(e){return Boolean(Ge(e))}function $e(e){return e.themes[e.currentTheme]}function He(e){return e.themeSupports}function Ke(e,t){return e.embedPreviews[t]}function We(e,t){const n=e.embedPreviews[t],r='<a href="'+t+'">'+t+"</a>";return!!n&&n.html===r}function ze(e,t,n,r){const i=Object(d.compact)([t,n,r]).join("/");return Object(d.get)(e,["userPermissions",i])}function Xe(e,t,n,r){const i=we(e,t,n);return!!i&&ze(e,"update",i.__unstable_rest_base,r)}function Je(e,t,n){return e.autosaves[n]}function Ze(e,t,n,r){if(void 0===r)return;const i=e.autosaves[n];return Object(d.find)(i,{author:r})}const et=Object(u.createRegistrySelector)(e=>(t,n,r)=>e("core").hasFinishedResolution("getAutosaves",[n,r])),tt=Object(pe.a)(()=>[],e=>[e.undo.length,e.undo.offset,e.undo.flattenedUndo]);function nt(e,t){const n=Ue(e,"postType","wp_template",{"find-template":t}),r=null!=n&&n.length?n[0]:null;return r?Le(e,"postType","wp_template",r.id):r}var rt=(e,t)=>function*(...n){(yield u.controls.select("core","hasStartedResolution",t,n))||(yield*e(...n))};function*it(e){const t=Object(m.addQueryArgs)("/wp/v2/users/?who=authors&per_page=100",e),n=yield Object(a.apiFetch)({path:t});yield S(t,n)}function*st(e){const t="/wp/v2/users?who=authors&include="+e,n=yield Object(a.apiFetch)({path:t});yield S("author",n)}function*ot(){const e=yield Object(a.apiFetch)({path:"/wp/v2/users/me"});yield U(e)}function*ct(e,t,n="",r){const i=yield Z(e),s=Object(d.find)(i,{kind:e,name:t});if(!s)return;const o=yield*_("core",["entities","data",e,t,n],{exclusive:!1});try{void 0!==r&&r._fields&&(r={...r,_fields:Object(d.uniq)([...ee(r._fields)||[],s.key||K]).join()});const i=Object(m.addQueryArgs)(s.baseURL+"/"+n,{...s.baseURLParams,...r});if(void 0!==r&&(r={...r,include:[n]},yield u.controls.select("core","hasEntityRecords",e,t,r)))return;const c=yield Object(a.apiFetch)({path:i});yield C(e,t,c,r)}catch(e){}finally{yield*v(o)}}const ut=rt(ct,"getEntityRecord"),at=rt(ut,"getRawEntityRecord");function*dt(e,t,n={}){const r=yield Z(e),i=Object(d.find)(r,{kind:e,name:t});if(!i)return;const s=yield*_("core",["entities","data",e,t],{exclusive:!1});try{var o;n._fields&&(n={...n,_fields:Object(d.uniq)([...ee(n._fields)||[],i.key||K]).join()});const r=Object(m.addQueryArgs)(i.baseURL,{...n,context:"edit"});let c=Object.values(yield Object(a.apiFetch)({path:r}));if(n._fields&&(c=c.map(e=>(n._fields.split(",").forEach(t=>{e.hasOwnProperty(t)||(e[t]=void 0)}),e))),yield C(e,t,c,n),null===(o=n)||void 0===o||!o._fields){const n=i.key||K,r=c.filter(e=>e[n]).map(r=>[e,t,r[n]]);yield{type:"START_RESOLUTIONS",selectorName:"getEntityRecord",args:r},yield{type:"FINISH_RESOLUTIONS",selectorName:"getEntityRecord",args:r}}}finally{yield*v(s)}}function*lt(){const e=yield Object(a.apiFetch)({path:"/wp/v2/themes?status=active"});yield x(e[0])}function*ft(){const e=yield Object(a.apiFetch)({path:"/wp/v2/themes?status=active"});yield P(e[0].theme_supports)}function*pt(e){try{const t=yield Object(a.apiFetch)({path:Object(m.addQueryArgs)("/oembed/1.0/proxy",{url:e})});yield L(e,t)}catch(t){yield L(e,!1)}}function*yt(e,t,n){const r={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[e];if(!r)throw new Error(`'${e}' is not a valid action.`);const i=n?`/wp/v2/${t}/${n}`:"/wp/v2/"+t;let s,o;try{s=yield Object(a.apiFetch)({path:i,method:n?"GET":"OPTIONS",parse:!1})}catch(e){return}o=Object(d.hasIn)(s,["headers","get"])?s.headers.get("allow"):Object(d.get)(s,["headers","Allow"],"");const c=Object(d.compact)([e,t,n]).join("/"),u=Object(d.includes)(o,r);yield $(c,u)}function*Et(e,t,n){const r=yield Z(e),i=Object(d.find)(r,{kind:e,name:t});if(!i)return;const s=i.__unstable_rest_base;yield yt("update",s,n)}function*bt(e,t){const{rest_base:n}=yield u.controls.resolveSelect("core","getPostType",e),r=yield Object(a.apiFetch)({path:`/wp/v2/${n}/${t}/autosaves?context=edit`});r&&r.length&&(yield H(t,r))}function*mt(e,t){yield u.controls.resolveSelect("core","getAutosaves",e,t)}function*ht(e){let t;try{t=yield(n=Object(m.addQueryArgs)(e,{"_wp-find-template":!0}),{type:"REGULAR_FETCH",url:n})}catch(e){}var n;if(!t)return;yield ct("postType","wp_template",t.id);const r=yield u.controls.select("core","getEntityRecord","postType","wp_template",t.id);r&&(yield C("postType","wp_template",[r],{"find-template":e}))}function _t(e){return e.locks.requests}function gt(e,t,n,{exclusive:r}){const i=[t,...n],s=e.locks.tree;for(const e of function*(e,t){let n=e;yield n;for(const e of t){const t=n.children[e];if(!t)break;yield t,n=t}}(s,i))if(ce({exclusive:r},e.locks))return!1;const o=oe(s,i);if(!o)return!0;for(const e of function*(e){const t=Object.values(e.children);for(;t.length;){const e=t.pop();yield e,t.push(...Object.values(e.children))}}(o))if(ce({exclusive:r},e.locks))return!1;return!0}dt.shouldInvalidate=(e,t,n)=>("RECEIVE_ITEMS"===e.type||"REMOVE_ITEMS"===e.type)&&e.invalidateCache&&t===e.kind&&n===e.name,ht.shouldInvalidate=e=>("RECEIVE_ITEMS"===e.type||"REMOVE_ITEMS"===e.type)&&e.invalidateCache&&"postType"===e.kind&&"wp_template"===e.name;var vt=n(0),Ot=n(8);const Rt=[],jt={...W.reduce((e,t)=>(e[t.kind]||(e[t.kind]={}),e[t.kind][t.name]={context:Object(vt.createContext)()},e),{}),...z.reduce((e,t)=>(e[t.name]={},e),{})},wt=(e,t)=>{if(!jt[e])throw new Error(`Missing entity config for kind: ${e}.`);return jt[e][t]||(jt[e][t]={context:Object(vt.createContext)()}),jt[e][t]};function Tt({kind:e,type:t,id:n,children:r}){const i=wt(e,t).context.Provider;return Object(vt.createElement)(i,{value:n},r)}function kt(e,t){return Object(vt.useContext)(wt(e,t).context)}function It(e,t,n,r){const i=kt(e,t),s=null!=r?r:i,{value:o,fullValue:c}=Object(u.useSelect)(r=>{const{getEntityRecord:i,getEditedEntityRecord:o}=r("core"),c=i(e,t,s),u=o(e,t,s);return c&&u?{value:u[n],fullValue:c[n]}:{}},[e,t,s,n]),{editEntityRecord:a}=Object(u.useDispatch)("core");return[o,Object(vt.useCallback)(r=>{a(e,t,s,{[n]:r})},[e,t,s,n]),c]}function St(e,t,{id:n}={}){const r=kt(e,t),i=null!=n?n:r,{content:s,blocks:o}=Object(u.useSelect)(n=>{const{getEditedEntityRecord:r}=n("core"),s=r(e,t,i);return{blocks:s.blocks,content:s.content}},[e,t,i]),{__unstableCreateUndoLevel:c,editEntityRecord:a}=Object(u.useDispatch)("core");Object(vt.useEffect)(()=>{if(s&&"function"!=typeof s&&!o){const n=Object(Ot.parse)(s);a(e,t,i,{blocks:n},{undoIgnore:!0})}},[s]);const d=Object(vt.useCallback)((n,r)=>{const{selection:s}=r,u={blocks:n,selection:s};if(o===u.blocks)return c(e,t,i);u.content=({blocks:e=[]})=>Object(Ot.__unstableSerializeAndClean)(e),a(e,t,i,u)},[e,t,i,o]),l=Object(vt.useCallback)((n,r)=>{const{selection:s}=r;a(e,t,i,{blocks:n,selection:s})},[e,t,i]);return[null!=o?o:Rt,l,d]}var Ut=n(39),At=async(e,t={},n={})=>{const{isInitialSuggestions:r=!1,type:i,subtype:s,page:o,perPage:c=(r?3:20)}=t,{disablePostFormats:u=!1}=n,a=[];return i&&"post"!==i||a.push(j()({path:Object(m.addQueryArgs)("/wp/v2/search",{search:e,page:o,per_page:c,type:"post",subtype:s})}).then(e=>e.map(e=>({...e,meta:{kind:"post-type",subtype:s}}))).catch(()=>[])),i&&"term"!==i||a.push(j()({path:Object(m.addQueryArgs)("/wp/v2/search",{search:e,page:o,per_page:c,type:"term",subtype:s})}).then(e=>e.map(e=>({...e,meta:{kind:"taxonomy",subtype:s}}))).catch(()=>[])),u||i&&"post-format"!==i||a.push(j()({path:Object(m.addQueryArgs)("/wp/v2/search",{search:e,page:o,per_page:c,type:"post-format",subtype:s})}).then(e=>e.map(e=>({...e,meta:{kind:"taxonomy",subtype:s}}))).catch(()=>[])),Promise.all(a).then(e=>e.reduce((e,t)=>e.concat(t),[]).filter(e=>!!e.id).slice(0,c).map(e=>{var t;return{id:e.id,url:e.url,title:Object(Ut.decodeEntities)(e.title||"")||Object(E.__)("(no title)"),type:e.subtype||e.type,kind:null==e||null===(t=e.meta)||void 0===t?void 0:t.kind}}))},Ct=async e=>{const t={url:Object(m.prependHTTP)(e)};return j()({path:Object(m.addQueryArgs)("/__experimental/url-details",t)})};const xt=W.reduce((e,t)=>{const{kind:n,name:r}=t;return e[J(n,r)]=(e,t)=>Te(e,n,r,t),e[J(n,r,"get",!0)]=(e,...t)=>Ue(e,n,r,...t),e},{}),Pt=W.reduce((e,t)=>{const{kind:n,name:r}=t;e[J(n,r)]=e=>ct(n,r,e);const i=J(n,r,"get",!0);return e[i]=(...e)=>dt(n,r,...e),e[i].shouldInvalidate=(e,...t)=>dt.shouldInvalidate(e,n,r,...t),e},{}),Lt=W.reduce((e,t)=>{const{kind:n,name:r}=t;return e[J(n,r,"save")]=e=>F(n,r,e),e[J(n,r,"delete")]=(e,t)=>D(n,r,e,t),e},{}),Dt={reducer:fe,controls:{...I,...a.controls},actions:{...i,...Lt,...r},selectors:{...s,...xt,...c},resolvers:{...o,...Pt}},Mt=Object(u.createReduxStore)("core",Dt);Object(u.register)(Mt)},45:function(e,t){e.exports=window.wp.isShallowEqual},8:function(e,t){e.exports=window.wp.blocks},84:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){var n=e._map,r=e._arrayTreeMap,i=e._objectTreeMap;if(n.has(t))return n.get(t);for(var s=Object.keys(t).sort(),o=Array.isArray(t)?r:i,c=0;c<s.length;c++){var u=s[c];if(void 0===(o=o.get(u)))return;var a=t[u];if(void 0===(o=o.get(a)))return}var d=o.get("_ekm_value");return d?(n.delete(d[0]),d[0]=t,o.set("_ekm_value",d),n.set(t,d),d):void 0}var o=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach((function(e,t){n.push([t,e])})),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var t,n;return t=e,(n=[{key:"set",value:function(t,n){if(null===t||"object"!==r(t))return this._map.set(t,n),this;for(var i=Object.keys(t).sort(),s=[t,n],o=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,c=0;c<i.length;c++){var u=i[c];o.has(u)||o.set(u,new e),o=o.get(u);var a=t[u];o.has(a)||o.set(a,new e),o=o.get(a)}var d=o.get("_ekm_value");return d&&this._map.delete(d[0]),o.set("_ekm_value",s),this._map.set(t,s),this}},{key:"get",value:function(e){if(null===e||"object"!==r(e))return this._map.get(e);var t=s(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==r(e)?this._map.has(e):void 0!==s(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(i,s){null!==s&&"object"===r(s)&&(i=i[1]),e.call(n,i,s,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&i(t.prototype,n),e}();e.exports=o}});
build/edit-post/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'wp-a11y', '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', 'wp-warning'), 'version' => 'db166adeacb6d9f51511ccedb98d85c8');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-a11y', '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', 'wp-warning'), 'version' => '46201ec483a450d8c92302344c401156');
build/edit-post/index.js CHANGED
@@ -14,7 +14,7 @@ actions:Object(_.__)("Publish"),
14
  /* translators: accessibility text for the footer landmark region. */
15
  footer:Object(_.__)("Footer"),...c};return Object(O.createElement)("div",{ref:Object(z.useMergeRefs)([u,d]),className:j()(s,"interface-interface-skeleton",p,!!e&&"has-footer")},!!a&&Object(O.createElement)("div",{className:"interface-interface-skeleton__drawer",role:"region","aria-label":m.drawer},a),Object(O.createElement)("div",{className:"interface-interface-skeleton__editor"},!!t&&Object(O.createElement)("div",{className:"interface-interface-skeleton__header",role:"region","aria-label":m.header,tabIndex:"-1"},t),Object(O.createElement)("div",{className:"interface-interface-skeleton__body"},!!r&&Object(O.createElement)("div",{className:"interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":m.secondarySidebar,tabIndex:"-1"},r),Object(O.createElement)("div",{className:"interface-interface-skeleton__content",role:"region","aria-label":m.body,tabIndex:"-1"},o),!!n&&Object(O.createElement)("div",{className:"interface-interface-skeleton__sidebar",role:"region","aria-label":m.sidebar,tabIndex:"-1"},n),!!i&&Object(O.createElement)("div",{className:"interface-interface-skeleton__actions",role:"region","aria-label":m.actions,tabIndex:"-1"},i))),!!e&&Object(O.createElement)("div",{className:"interface-interface-skeleton__footer",role:"region","aria-label":m.footer,tabIndex:"-1"},e))}))},28:function(e,t){e.exports=window.wp.notices},287:function(e,t,n){"use strict";var r=n(0),o=n(6);const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.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"}));t.a=a},29:function(e,t,n){"use strict";var r,o;function a(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function c(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,t.a=function(e,t){var n,s;function l(){n=o?new WeakMap:i()}function u(){var n,r,o,a,i,l=arguments.length;for(a=new Array(l),o=0;o<l;o++)a[o]=arguments[o];for(i=t.apply(null,a),(n=s(i)).isUniqueByDependants||(n.lastDependants&&!c(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(c(r.args,a,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,a)},a[0]=null,r.args=a,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=a),s=o?function(e){var t,o,a,c,s,l=n,u=!0;for(t=0;t<e.length;t++){if(!(s=o=e[t])||"object"!=typeof s){u=!1;break}l.has(o)?l=l.get(o):(a=new WeakMap,l.set(o,a),l=a)}return l.has(r)||((c=i()).isUniqueByDependants=u,l.set(r,c)),l.get(r)}:function(){return n},u.getDependants=t,u.clear=l,l(),u}},3:function(e,t){e.exports=window.wp.components},30:function(e,t){e.exports=window.wp.a11y},33:function(e,t){e.exports=window.wp.dataControls},36:function(e,t){e.exports=window.wp.plugins},397:function(e,t,n){"use strict";n.r(t),n.d(t,"store",(function(){return w.a})),n.d(t,"reinitializeEditor",(function(){return gs})),n.d(t,"initializeEditor",(function(){return Os})),n.d(t,"PluginBlockSettingsMenuItem",(function(){return fs})),n.d(t,"PluginDocumentSettingPanel",(function(){return Fc.a})),n.d(t,"PluginMoreMenuItem",(function(){return vs})),n.d(t,"PluginPostPublishPanel",(function(){return ns})),n.d(t,"PluginPostStatusInfo",(function(){return _c})),n.d(t,"PluginPrePublishPanel",(function(){return is})),n.d(t,"PluginSidebar",(function(){return Uc})),n.d(t,"PluginSidebarMoreMenuItem",(function(){return hs})),n.d(t,"__experimentalFullscreenModeClose",(function(){return Ii})),n.d(t,"__experimentalMainDashboardButton",(function(){return oc}));var r=n(0),o=n(11),a=n(5),i=n(15),c=n(50),s=n(19),l=n(51);Object(s.addFilter)("editor.MediaUpload","core/edit-post/replace-media-upload",()=>l.MediaUpload);var u=n(7),d=n(2),p=n(8),m=n(3),b=n(4),f=n(1),v=n(9);const h=Object(v.compose)(Object(b.withSelect)((e,t)=>{if(Object(p.hasBlockSupport)(t.name,"multiple",!0))return{};const n=e(a.store).getBlocks(),r=Object(d.find)(n,({name:e})=>t.name===e);return{originalBlockClientId:r&&r.clientId!==t.clientId&&r.clientId}}),Object(b.withDispatch)((e,{originalBlockClientId:t})=>({selectFirst:()=>e(a.store).selectBlock(t)}))),g=Object(v.createHigherOrderComponent)(e=>h(({originalBlockClientId:t,selectFirst:n,...o})=>{if(!t)return Object(r.createElement)(e,o);const i=Object(p.getBlockType)(o.name),c=function(e){const t=Object(p.findTransform)(Object(p.getBlockTransforms)("to",e),({type:e,blocks:t})=>"block"===e&&1===t.length);return t?Object(p.getBlockType)(t.blocks[0]):null}(o.name);return[Object(r.createElement)("div",{key:"invalid-preview",style:{minHeight:"60px"}},Object(r.createElement)(e,Object(u.a)({key:"block-edit"},o))),Object(r.createElement)(a.Warning,{key:"multiple-use-warning",actions:[Object(r.createElement)(m.Button,{key:"find-original",variant:"secondary",onClick:n},Object(f.__)("Find original")),Object(r.createElement)(m.Button,{key:"remove",variant:"secondary",onClick:()=>o.onReplace([])},Object(f.__)("Remove")),c&&Object(r.createElement)(m.Button,{key:"transform",variant:"secondary",onClick:()=>o.onReplace(Object(p.createBlock)(c.name,o.attributes))},Object(f.__)("Transform into:")," ",c.title)]},Object(r.createElement)("strong",null,i.title,": "),Object(f.__)("This block can only be used once."))]}),"withMultipleValidation");Object(s.addFilter)("editor.BlockEdit","core/edit-post/validate-multiple-use/with-multiple-validation",g);var O=n(193),y=n(36),j=n(20),E=n(28);function _(){const{createNotice:e}=Object(b.useDispatch)(E.store),t=Object(b.useSelect)(e=>()=>e(i.store).getEditedPostAttribute("content"),[]),n=Object(v.useCopyToClipboard)(t,(function(){e("info",Object(f.__)("All content copied."),{isDismissible:!0,type:"snackbar"})}));return Object(r.createElement)(m.MenuItem,{ref:n},Object(f.__)("Copy all content"))}var w=n(18),S=Object(b.withDispatch)(e=>{const{openModal:t}=e(w.a);return{openModal:t}})((function({openModal:e}){return Object(r.createElement)(m.MenuItem,{onClick:()=>{e("edit-post/manage-blocks")}},Object(f.__)("Block Manager"))})),x=n(13),P=Object(b.withDispatch)(e=>{const{openModal:t}=e(w.a);return{openModal:t}})((function({openModal:e}){return Object(r.createElement)(m.MenuItem,{onClick:()=>{e("edit-post/keyboard-shortcut-help")},shortcut:x.displayShortcut.access("h")},Object(f.__)("Keyboard shortcuts"))}));const{Fill:k,Slot:T}=Object(m.createSlotFill)("ToolsMoreMenuGroup");k.Slot=({fillProps:e})=>Object(r.createElement)(T,{fillProps:e},e=>!Object(d.isEmpty)(e)&&Object(r.createElement)(m.MenuGroup,{label:Object(f.__)("Tools")},e));var C=k;function A(){const e=Object(b.useSelect)(e=>e(w.a).isEditingTemplate(),[]),{toggleFeature:t}=Object(b.useDispatch)(w.a);return Object(r.createElement)(m.MenuItem,{onClick:()=>t(e?"welcomeGuideTemplate":"welcomeGuide")},Object(f.__)("Welcome Guide"))}Object(y.registerPlugin)("edit-post",{render:()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(C,null,({onClose:e})=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(S,{onSelect:e}),Object(r.createElement)(m.MenuItem,{role:"menuitem",href:Object(j.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(f.__)("Manage Reusable blocks")),Object(r.createElement)(P,{onSelect:e}),Object(r.createElement)(A,null),Object(r.createElement)(_,null),Object(r.createElement)(m.MenuItem,{role:"menuitem",icon:O.a,href:Object(f.__)("https://wordpress.org/support/article/wordpress-editor/"),target:"_blank",rel:"noopener noreferrer"},Object(f.__)("Help"),Object(r.createElement)(m.VisuallyHidden,{as:"span"},
16
  /* translators: accessibility text */
17
- Object(f.__)("(opens in a new tab)"))))))});var M={"t a l e s o f g u t e n b e r g":e=>{const{ownerDocument:t}=e.target;(t.activeElement.classList.contains("edit-post-visual-editor")||t.activeElement===t.body)&&(e.preventDefault(),window.wp.data.dispatch("core/block-editor").insertBlock(window.wp.blocks.createBlock("core/paragraph",{content:"🐡🐢🦀🐤🦋🐘🐧🐹🦁🦄🦍🐼🐿🎃🐴🐝🐆🦕🦔🌱🍇π🍌🐉💧🥨🌌🍂🍠🥦🥚🥝🎟🥥🥒🛵🥖🍒🍯🎾🎲🐺🐚🐮⌛️"})))}},B=n(10),I=n.n(B),L=n(27),N=n(24),D=Object(v.compose)(Object(b.withSelect)(e=>({isRichEditingEnabled:e(i.store).getEditorSettings().richEditingEnabled})),Object(b.withDispatch)(e=>({onExit(){e(w.a).switchEditorMode("visual")}})))((function({onExit:e,isRichEditingEnabled:t}){return Object(r.createElement)("div",{className:"edit-post-text-editor"},t&&Object(r.createElement)("div",{className:"edit-post-text-editor__toolbar"},Object(r.createElement)("h2",null,Object(f.__)("Editing code")),Object(r.createElement)(m.Button,{variant:"tertiary",onClick:e,shortcut:x.displayShortcut.secondary("m")},Object(f.__)("Exit code editor")),Object(r.createElement)(i.TextEditorGlobalKeyboardShortcuts,null)),Object(r.createElement)("div",{className:"edit-post-text-editor__body"},Object(r.createElement)(i.PostTitle,null),Object(r.createElement)(i.PostTextEditor,null)))})),R=function(e,t){return(R=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function V(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}R(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var F=function(){return(F=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function U(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function G(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function H(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}Object.create,Object.create;var z=n(12),W=n.n(z),Y=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},q={measureLayout:Y(["layout","layoutId","drag"]),animation:Y(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:Y(["exit"]),drag:Y(["drag","dragControls"]),focus:Y(["whileFocus"]),hover:Y(["whileHover","onHoverStart","onHoverEnd"]),tap:Y(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Y(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:Y(["layout","layoutId"])},X=Object(z.createContext)({strict:!1}),K=Object.keys(q),$=K.length,Z=Object(z.createContext)({transformPagePoint:function(e){return e},isStatic:!1}),Q=Object(z.createContext)({}),J=Object(z.createContext)(null);function ee(e){var t=Object(z.useRef)(null);return null===t.current&&(t.current=e()),t.current}function te(){var e=Object(z.useContext)(J);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=oe();return Object(z.useEffect)((function(){return r(o)}),[]),!t&&n?[!1,function(){return null==n?void 0:n(o)}]:[!0]}var ne=0,re=function(){return ne++},oe=function(){return ee(re)},ae=Object(z.createContext)(null),ie="undefined"!=typeof window,ce=ie?z.useLayoutEffect:z.useEffect;function se(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function le(e){return Array.isArray(e)}function ue(e){return"string"==typeof e||le(e)}function de(e,t,n,r,o){var a;return void 0===r&&(r={}),void 0===o&&(o={}),"string"==typeof t&&(t=null===(a=e.variants)||void 0===a?void 0:a[t]),"function"==typeof t?t(null!=n?n:e.custom,r,o):t}function pe(e,t,n){var r=e.getProps();return de(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function me(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||ue(e.initial)||ue(e.animate)||ue(e.whileHover)||ue(e.whileDrag)||ue(e.whileTap)||ue(e.whileFocus)||ue(e.exit)}function be(e){return Boolean(me(e)||e.variants)}function fe(e){return Array.isArray(e)?e.join(" "):e}function ve(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.useRender,o=e.useVisualState,a=e.Component;return t&&function(e){for(var t in e){var n=e[t];null!==n&&(q[t].Component=n)}}(t),Object(z.forwardRef)((function(e,t){var i=Object(z.useContext)(Z).isStatic,c=null,s=function(e,t){var n=function(e,t){if(me(e)){var n=e.initial,r=e.animate;return{initial:!1===n||ue(n)?n:void 0,animate:ue(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,Object(z.useContext)(Q)),r=n.initial,o=n.animate;return Object(z.useMemo)((function(){return{initial:r,animate:o}}),t?[fe(r),fe(o)]:[])}(e,i),l=o(e,i);return!i&&ie&&(s.visualElement=function(e,t,n,r){var o=Object(z.useContext)(Z),a=Object(z.useContext)(X),i=Object(z.useContext)(Q).visualElement,c=Object(z.useContext)(J),s=function(e){var t=e.layoutId,n=Object(z.useContext)(ae);return n&&void 0!==t?n+"-"+t:t}(n),l=Object(z.useRef)(void 0);r||(r=a.renderer),!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:F(F({},n),{layoutId:s}),presenceId:null==c?void 0:c.id,blockInitialAnimation:!1===(null==c?void 0:c.initial)}));var u=l.current;return ce((function(){var e;u&&(u.setProps(F(F(F({},o),n),{layoutId:s})),u.isPresent=null===(e=c)||e.isPresent,u.isPresenceRoot=!i||i.presenceId!==(null==c?void 0:c.id),u.syncRender())})),Object(z.useEffect)((function(){var e;u&&(null===(e=u.animationState)||void 0===e||e.animateChanges())})),ce((function(){return function(){return null==u?void 0:u.notifyUnmount()}}),[]),u}(a,l,e,n),c=function(e,t,n){var r=[];if(Object(z.useContext)(X),!t)return null;for(var o=0;o<$;o++){var a=K[o],i=q[a],c=i.isEnabled,s=i.Component;c(e)&&s&&r.push(z.createElement(s,F({key:a},e,{visualElement:t})))}return r}(e,s.visualElement)),z.createElement(z.Fragment,null,z.createElement(Q.Provider,{value:s},r(a,e,function(e,t,n){return Object(z.useCallback)((function(r){var o;r&&(null===(o=e.mount)||void 0===o||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):se(n)&&(n.current=r))}),[t])}(l,s.visualElement,t),l,i)),c)}))}function he(e){function t(t,n){return void 0===n&&(n={}),ve(e(t,n))}var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var ge=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function Oe(e){return"string"==typeof e&&!e.includes("-")&&!!(ge.indexOf(e)>-1||/[A-Z]/.test(e))}var ye={},je=["","X","Y","Z"],Ee=["transformPerspective","x","y","z"];function _e(e,t){return Ee.indexOf(e)-Ee.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return je.forEach((function(t){return Ee.push(e+t)}))}));var we=new Set(Ee);function Se(e){return we.has(e)}var xe=new Set(["originX","originY","originZ"]);function Pe(e){return xe.has(e)}function ke(e,t){var n=t.layout,r=t.layoutId;return Se(e)||Pe(e)||(n||void 0!==r)&&(!!ye[e]||"opacity"===e)}var Te=function(e){return null!==e&&"object"==typeof e&&e.getVelocity},Ce={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Ae(e){return e.startsWith("--")}var Me=function(e,t){return t&&"number"==typeof e?t.transform(e):e},Be=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},Ie=function(e){return e%1?Number(e.toFixed(5)):e},Le=/(-)?([\d]*\.?[\d])+/g,Ne=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,De=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Re(e){return"string"==typeof e}var Ve=function(e){return{test:function(t){return Re(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+e}}},Fe=Ve("deg"),Ue=Ve("%"),Ge=Ve("px"),He=Ve("vh"),ze=Ve("vw"),We=F(F({},Ue),{parse:function(e){return Ue.parse(e)/100},transform:function(e){return Ue.transform(100*e)}}),Ye={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},qe=F(F({},Ye),{transform:Be(0,1)}),Xe=F(F({},Ye),{default:1}),Ke=F(F({},Ye),{transform:Math.round}),$e={borderWidth:Ge,borderTopWidth:Ge,borderRightWidth:Ge,borderBottomWidth:Ge,borderLeftWidth:Ge,borderRadius:Ge,radius:Ge,borderTopLeftRadius:Ge,borderTopRightRadius:Ge,borderBottomRightRadius:Ge,borderBottomLeftRadius:Ge,width:Ge,maxWidth:Ge,height:Ge,maxHeight:Ge,size:Ge,top:Ge,right:Ge,bottom:Ge,left:Ge,padding:Ge,paddingTop:Ge,paddingRight:Ge,paddingBottom:Ge,paddingLeft:Ge,margin:Ge,marginTop:Ge,marginRight:Ge,marginBottom:Ge,marginLeft:Ge,rotate:Fe,rotateX:Fe,rotateY:Fe,rotateZ:Fe,scale:Xe,scaleX:Xe,scaleY:Xe,scaleZ:Xe,skew:Fe,skewX:Fe,skewY:Fe,distance:Ge,translateX:Ge,translateY:Ge,translateZ:Ge,x:Ge,y:Ge,z:Ge,perspective:Ge,transformPerspective:Ge,opacity:qe,originX:We,originY:We,originZ:Ge,zIndex:Ke,fillOpacity:qe,strokeOpacity:qe,numOctaves:Ke};function Ze(e,t,n,r,o,a,i,c){var s,l=e.style,u=e.vars,d=e.transform,p=e.transformKeys,m=e.transformOrigin;p.length=0;var b=!1,f=!1,v=!0;for(var h in t){var g=t[h];if(Ae(h))u[h]=g;else{var O=$e[h],y=Me(g,O);if(Se(h)){if(b=!0,d[h]=y,p.push(h),!v)continue;g!==(null!==(s=O.default)&&void 0!==s?s:0)&&(v=!1)}else if(Pe(h))m[h]=y,f=!0;else if(r&&n&&r.isHydrated&&ye[h]){var j=ye[h].process(g,r,n),E=ye[h].applyTo;if(E)for(var _=E.length,w=0;w<_;w++)l[E[w]]=j;else l[h]=j}else l[h]=y}}r&&n&&i&&c?(l.transform=i(r.deltaFinal,r.treeScale,b?d:void 0),a&&(l.transform=a(d,l.transform)),l.transformOrigin=c(r)):(b&&(l.transform=function(e,t,n,r){var o=e.transform,a=e.transformKeys,i=t.enableHardwareAcceleration,c=void 0===i||i,s=t.allowTransformNone,l=void 0===s||s,u="";a.sort(_e);for(var d=!1,p=a.length,m=0;m<p;m++){var b=a[m];u+=(Ce[b]||b)+"("+o[b]+") ","z"===b&&(d=!0)}return!d&&c?u+="translateZ(0)":u=u.trim(),r?u=r(o,n?"":u):l&&n&&(u="none"),u}(e,o,v,a)),f&&(l.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,a=e.originZ;return n+" "+o+" "+(void 0===a?0:a)}(m)))}function Qe(e,t,n){for(var r in t)Te(t[r])||ke(r,n)||(e[r]=t[r])}function Je(e,t,n){var r={},o=function(e,t,n){var r={};return Qe(r,e.style||{},e),Object.assign(r,function(e,t,n){var r=e.transformTemplate;return Object(z.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};Ze(e,t,void 0,void 0,{enableHardwareAcceleration:!n},r);var o=e.style;return F(F({},e.vars),o)}),[t])}(e,t,n)),e.transformValues&&(r=e.transformValues(r)),r}(e,t,n);return Boolean(e.drag)&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),r.style=o,r}var et=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function tt(e){return et.has(e)}var nt=function(e){return!tt(e)};try{var rt=n(162).default;nt=function(e){return e.startsWith("on")?!tt(e):rt(e)}}catch(e){}function ot(e,t,n){return"string"==typeof e?e:Ge.transform(t+n*e)}var at=function(e,t){return Ge.transform(e*t)},it={offset:"stroke-dashoffset",array:"stroke-dasharray"},ct={offset:"strokeDashoffset",array:"strokeDasharray"};function st(e,t,n,r,o,a,i,c){var s=t.attrX,l=t.attrY,u=t.originX,d=t.originY,p=t.pathLength,m=t.pathSpacing,b=void 0===m?1:m,f=t.pathOffset,v=void 0===f?0:f;Ze(e,U(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r,o,a,i,c),e.attrs=e.style,e.style={};var h=e.attrs,g=e.style,O=e.dimensions,y=e.totalPathLength;h.transform&&(O&&(g.transform=h.transform),delete h.transform),O&&(void 0!==u||void 0!==d||g.transform)&&(g.transformOrigin=function(e,t,n){return ot(t,e.x,e.width)+" "+ot(n,e.y,e.height)}(O,void 0!==u?u:.5,void 0!==d?d:.5)),void 0!==s&&(h.x=s),void 0!==l&&(h.y=l),void 0!==y&&void 0!==p&&function(e,t,n,r,o,a){void 0===r&&(r=1),void 0===o&&(o=0),void 0===a&&(a=!0);var i=a?it:ct;e[i.offset]=at(-o,t);var c=at(n,t),s=at(r,t);e[i.array]=c+" "+s}(h,y,p,b,v,!1)}var lt=function(){return F(F({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function ut(e,t){var n=Object(z.useMemo)((function(){var n=lt();return st(n,t,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),F(F({},n.attrs),{style:F({},n.style)})}),[t]);if(e.style){var r={};Qe(r,e.style,e),n.style=F(F({},r),n.style)}return n}function dt(e){return void 0===e&&(e=!1),function(t,n,r,o,a){var i=o.latestValues,c=(Oe(t)?ut:Je)(n,i,a),s=function(e,t,n){var r={};for(var o in e)(nt(o)||!0===n&&tt(o)||!t&&!tt(o))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),l=F(F(F({},s),c),{ref:r});return Object(z.createElement)(t,l)}}var pt=/([a-z])([A-Z])/g,mt=function(e){return e.replace(pt,"$1-$2").toLowerCase()};function bt(e,t){var n=t.style,r=t.vars;for(var o in Object.assign(e.style,n),r)e.style.setProperty(o,r[o])}var ft=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox"]);function vt(e,t){for(var n in bt(e,t),t.attrs)e.setAttribute(ft.has(n)?n:mt(n),t.attrs[n])}function ht(e){var t=e.style,n={};for(var r in t)(Te(t[r])||ke(r,e))&&(n[r]=t[r]);return n}function gt(e){var t=ht(e);for(var n in e)Te(e[n])&&(t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]);return t}function Ot(e){return"object"==typeof e&&"function"==typeof e.start}var yt=function(e){return Array.isArray(e)};function jt(e,t,n,r){var o=e.scrapeMotionValuesFromProps,a=e.createRenderState,i=e.onMount,c={latestValues:_t(t,n,r,o),renderState:a()};return i&&(c.mount=function(e){return i(t,e,c)}),c}var Et=function(e){return function(t,n){var r=Object(z.useContext)(Q),o=Object(z.useContext)(J);return n?jt(e,t,r,o):ee((function(){return jt(e,t,r,o)}))}};function _t(e,t,n,r){var o,a,i,c={},s=!1===(null==n?void 0:n.initial),l=r(e);for(var u in l)c[u]=(o=l[u],a=void 0,i=void 0,i=Te(o)?o.get():o,a=i,Boolean(a&&"object"==typeof a&&a.mix&&a.toValue)?i.toValue():i);var d=e.initial,p=e.animate,m=me(e),b=be(e);t&&b&&!m&&!1!==e.inherit&&(null!=d||(d=t.initial),null!=p||(p=t.animate));var f=s||!1===d?p:d;return f&&"boolean"!=typeof f&&!Ot(f)&&(Array.isArray(f)?f:[f]).forEach((function(t){var n=de(e,t);if(n){var r=n.transitionEnd;n.transition;var o=U(n,["transitionEnd","transition"]);for(var a in o)c[a]=o[a];for(var a in r)c[a]=r[a]}})),c}var wt,St={useVisualState:Et({scrapeMotionValuesFromProps:gt,createRenderState:lt,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}"path"===t.tagName&&(r.totalPathLength=t.getTotalLength()),st(r,o,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),vt(t,r)}})},xt={useVisualState:Et({scrapeMotionValuesFromProps:ht,createRenderState:function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}}})};function Pt(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function kt(e,t,n,r){Object(z.useEffect)((function(){var o=e.current;if(n&&o)return Pt(o,t,n,r)}),[e,t,n,r])}function Tt(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Ct(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.Exit="exit"}(wt||(wt={}));var At={pageX:0,pageY:0};function Mt(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||At;return{x:n[t+"X"],y:n[t+"Y"]}}function Bt(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function It(e,t){return void 0===t&&(t="page"),{point:Ct(e)?Mt(e,t):Bt(e,t)}}function Lt(e){return It(e,"client")}var Nt=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,It(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},Dt={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Rt={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Vt(e){return ie&&null===window.onpointerdown?e:ie&&null===window.ontouchstart?Rt[e]:ie&&null===window.onmousedown?Dt[e]:e}function Ft(e,t,n,r){return Pt(e,Vt(t),Nt(n,"pointerdown"===t),r)}function Ut(e,t,n,r){return kt(e,Vt(t),n&&Nt(n,"pointerdown"===t),r)}function Gt(e,t,n){return function(r,o){var a;Tt(r)&&e.isHoverEventsEnabled&&(null==n||n(r,o),null===(a=e.animationState)||void 0===a||a.setActive(wt.Hover,t))}}var Ht=function(e,t){return!!t&&(e===t||Ht(e,t.parentElement))};function zt(e){return Object(z.useEffect)((function(){return function(){return e()}}),[])}var Wt=function(e,t){return function(n){return t(e(n))}},Yt=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(Wt)};function qt(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var Xt=qt("dragHorizontal"),Kt=qt("dragVertical");function $t(e){var t=!1;if("y"===e)t=Kt();else if("x"===e)t=Xt();else{var n=Xt(),r=Kt();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}var Zt=function(e){return function(t){return e(t),null}},Qt={tap:Zt((function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,a=e.visualElement,i=t||n||r||o,c=Object(z.useRef)(!1),s=Object(z.useRef)(null);function l(){var e;null===(e=s.current)||void 0===e||e.call(s),s.current=null}function u(){var e,t;return l(),c.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(wt.Tap,!1),!(!(t=$t(!0))||(t(),0))}function d(e,n){u()&&(Ht(a.getInstance(),e.target)?null==t||t(e,n):null==r||r(e,n))}function p(e,t){u()&&(null==r||r(e,t))}Ut(a,"pointerdown",i?function(e,t){var r;l(),c.current||(c.current=!0,s.current=Yt(Ft(window,"pointerup",d),Ft(window,"pointercancel",p)),null==n||n(e,t),null===(r=a.animationState)||void 0===r||r.setActive(wt.Tap,!0))}:void 0),zt(l)})),focus:Zt((function(e){var t=e.whileFocus,n=e.visualElement;kt(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(wt.Focus,!0)}:void 0),kt(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(wt.Focus,!1)}:void 0)})),hover:Zt((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;Ut(o,"pointerenter",t||r?Gt(o,!0,t):void 0),Ut(o,"pointerleave",n||r?Gt(o,!1,n):void 0)}))};function Jt(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var en=function(e,t,n){return Math.min(Math.max(n,e),t)};function tn(e,t){return e*Math.sqrt(1-t*t)}var nn=["duration","bounce"],rn=["stiffness","damping","mass"];function on(e,t){return t.some((function(t){return void 0!==e[t]}))}function an(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,a=e.restSpeed,i=void 0===a?2:a,c=e.restDelta,s=U(e,["from","to","restSpeed","restDelta"]),l={done:!1,value:n},u=function(e){var t=F({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!on(e,rn)&&on(e,nn)){var n=function(e){var t,n,r=e.duration,o=void 0===r?800:r,a=e.bounce,i=void 0===a?.25:a,c=e.velocity,s=void 0===c?0:c,l=e.mass,u=void 0===l?1:l,d=1-i;d=en(.05,1,d),o=en(.01,10,o/1e3),d<1?(t=function(e){var t=e*d,n=t*o;return.001-(t-s)/tn(e,d)*Math.exp(-n)},n=function(e){var n=e*d*o,r=n*s+s,a=Math.pow(d,2)*Math.pow(e,2)*o,i=Math.exp(-n),c=tn(Math.pow(e,2),d);return(.001-t(e)>0?-1:1)*((r-a)*i)/c}):(t=function(e){return Math.exp(-e*o)*((e-s)*o+1)-.001},n=function(e){return Math.exp(-e*o)*(o*o*(s-e))});var p=function(e,t,n){for(var r=n,o=1;o<12;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(isNaN(p))return{stiffness:100,damping:10};var m=Math.pow(p,2)*u;return{stiffness:m,damping:2*d*Math.sqrt(u*m)}}(e);(t=F(F(F({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(s),d=u.stiffness,p=u.damping,m=u.mass,b=u.velocity,f=u.isResolvedFromDuration,v=cn,h=cn;function g(){var e=b?-b/1e3:0,t=o-n,r=p/(2*Math.sqrt(d*m)),a=Math.sqrt(d/m)/1e3;if(null!=c||(c=Math.abs(o-n)<=1?.01:.4),r<1){var i=tn(a,r);v=function(n){var c=Math.exp(-r*a*n);return o-c*((e+r*a*t)/i*Math.sin(i*n)+t*Math.cos(i*n))},h=function(n){var o=Math.exp(-r*a*n);return r*a*o*(Math.sin(i*n)*(e+r*a*t)/i+t*Math.cos(i*n))-o*(Math.cos(i*n)*(e+r*a*t)-i*t*Math.sin(i*n))}}else if(1===r)v=function(n){return o-Math.exp(-a*n)*(t+(e+a*t)*n)};else{var s=a*Math.sqrt(r*r-1);v=function(n){var i=Math.exp(-r*a*n),c=Math.min(s*n,300);return o-i*((e+r*a*t)*Math.sinh(c)+s*t*Math.cosh(c))/s}}}return g(),{next:function(e){var t=v(e);if(f)l.done=e>=s.duration;else{var n=1e3*h(e),r=Math.abs(n)<=i,a=Math.abs(o-t)<=c;l.done=r&&a}return l.value=l.done?o:t,l},flipTarget:function(){var e;b=-b,n=(e=[o,n])[0],o=e[1],g()}}}an.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var cn=function(e){return 0},sn=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},ln=function(e,t,n){return-n*e+n*t+e},un=function(e,t){return function(n){return Boolean(Re(n)&&De.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},dn=function(e,t,n){return function(r){var o;if(!Re(r))return r;var a=r.match(Le),i=a[0],c=a[1],s=a[2],l=a[3];return(o={})[e]=parseFloat(i),o[t]=parseFloat(c),o[n]=parseFloat(s),o.alpha=void 0!==l?parseFloat(l):1,o}},pn=Be(0,255),mn=F(F({},Ye),{transform:function(e){return Math.round(pn(e))}}),bn={test:un("rgb","red"),parse:dn("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,a=void 0===o?1:o;return"rgba("+mn.transform(t)+", "+mn.transform(n)+", "+mn.transform(r)+", "+Ie(qe.transform(a))+")"}},fn={test:un("#"),parse:function(e){var t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:bn.transform},vn={test:un("hsl","hue"),parse:dn("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,a=void 0===o?1:o;return"hsla("+Math.round(t)+", "+Ue.transform(Ie(n))+", "+Ue.transform(Ie(r))+", "+Ie(qe.transform(a))+")"}},hn=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},gn=[fn,bn,vn],On=function(e){return gn.find((function(t){return t.test(e)}))},yn=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},jn=function(e,t){var n=On(e),r=On(t);yn(e),yn(t),n.transform,r.transform;var o=n.parse(e),a=r.parse(t),i=F({},o),c=n===vn?ln:hn;return function(e){for(var t in i)"alpha"!==t&&(i[t]=c(o[t],a[t],e));return i.alpha=ln(o.alpha,a.alpha,e),n.transform(i)}},En={test:function(e){return bn.test(e)||fn.test(e)||vn.test(e)},parse:function(e){return bn.test(e)?bn.parse(e):vn.test(e)?vn.parse(e):fn.parse(e)},transform:function(e){return Re(e)?e:e.hasOwnProperty("red")?bn.transform(e):vn.transform(e)}};function wn(e){var t=[],n=0,r=e.match(Ne);r&&(n=r.length,e=e.replace(Ne,"${c}"),t.push.apply(t,r.map(En.parse)));var o=e.match(Le);return o&&(e=e.replace(Le,"${n}"),t.push.apply(t,o.map(Ye.parse))),{values:t,numColors:n,tokenised:e}}function Sn(e){return wn(e).values}function xn(e){var t=wn(e),n=t.values,r=t.numColors,o=t.tokenised,a=n.length;return function(e){for(var t=o,n=0;n<a;n++)t=t.replace(n<r?"${c}":"${n}",n<r?En.transform(e[n]):Ie(e[n]));return t}}var Pn=function(e){return"number"==typeof e?0:e},kn={test:function(e){var t,n,r,o;return isNaN(e)&&Re(e)&&(null!==(n=null===(t=e.match(Le))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(Ne))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Sn,createTransformer:xn,getAnimatableNone:function(e){var t=Sn(e);return xn(e)(t.map(Pn))}},Tn=function(e){return"number"==typeof e};function Cn(e,t){return Tn(e)?function(n){return ln(e,t,n)}:En.test(e)?jn(e,t):In(e,t)}var An=function(e,t){var n=H([],e),r=n.length,o=e.map((function(e,n){return Cn(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},Mn=function(e,t){var n=F(F({},e),t),r={};for(var o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Cn(e[o],t[o]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function Bn(e){for(var t=kn.parse(e),n=t.length,r=0,o=0,a=0,i=0;i<n;i++)r||"number"==typeof t[i]?r++:void 0!==t[i].hue?a++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:a}}var In=function(e,t){var n=kn.createTransformer(t),r=Bn(e),o=Bn(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&(r.numNumbers,o.numNumbers),Yt(An(r.parsed,o.parsed),n)},Ln=function(e,t){return function(n){return ln(e,t,n)}};function Nn(e,t,n){var r=void 0===n?{}:n,o=r.clamp,a=void 0===o||o,i=r.ease,c=r.mixer,s=e.length;t.length,!i||!Array.isArray(i)||i.length,e[0]>e[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var l=function(e,t,n){for(var r,o=[],a=n||("number"==typeof(r=e[0])?Ln:"string"==typeof r?En.test(r)?jn:In:Array.isArray(r)?An:"object"==typeof r?Mn:void 0),i=e.length-1,c=0;c<i;c++){var s=a(e[c],e[c+1]);if(t){var l=Array.isArray(t)?t[c]:t;s=Yt(l,s)}o.push(s)}return o}(t,i,c),u=2===s?function(e,t){var n=e[0],r=e[1],o=t[0];return function(e){return o(sn(n,r,e))}}(e,l):function(e,t){var n=e.length,r=n-1;return function(o){var a=0,i=!1;if(o<=e[0]?i=!0:o>=e[r]&&(a=r-1,i=!0),!i){for(var c=1;c<n&&!(e[c]>o||c===r);c++);a=c-1}var s=sn(e[a],e[a+1],o);return t[a](s)}}(e,l);return a?function(t){return u(en(e[0],e[s-1],t))}:u}var Dn,Rn=function(e){return function(t){return 1-e(1-t)}},Vn=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},Fn=function(e){return function(t){return t*t*((e+1)*t-e)}},Un=function(e){return e},Gn=(2,function(e){return Math.pow(e,2)}),Hn=Rn(Gn),zn=Vn(Gn),Wn=function(e){return 1-Math.sin(Math.acos(e))},Yn=Rn(Wn),qn=Vn(Yn),Xn=Fn(1.525),Kn=Rn(Xn),$n=Vn(Xn),Zn=(Dn=Fn(1.525),function(e){return(e*=2)<1?.5*Dn(e):.5*(2-Math.pow(2,-10*(e-1)))}),Qn=function(e){if(1===e||0===e)return e;var t=e*e;return e<4/11?7.5625*t:e<8/11?9.075*t-9.9*e+3.4:e<.9?4356/361*t-35442/1805*e+16061/1805:10.8*e*e-20.52*e+10.72},Jn=Rn(Qn);function er(e,t){return e.map((function(){return t||zn})).splice(0,e.length-1)}function tr(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,a=e.ease,i=e.offset,c=e.duration,s=void 0===c?300:c,l={done:!1,value:n},u=Array.isArray(o)?o:[n,o],d=function(e,t){return e.map((function(e){return e*t}))}(i&&i.length===u.length?i:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(u),s);function p(){return Nn(d,u,{ease:Array.isArray(a)?a:er(u,a)})}var m=p();return{next:function(e){return l.value=m(e),l.done=e>=s,l},flipTarget:function(){u.reverse(),m=p()}}}var nr={keyframes:tr,spring:an,decay:function(e){var t=e.velocity,n=void 0===t?0:t,r=e.from,o=void 0===r?0:r,a=e.power,i=void 0===a?.8:a,c=e.timeConstant,s=void 0===c?350:c,l=e.restDelta,u=void 0===l?.5:l,d=e.modifyTarget,p={done:!1,value:o},m=i*n,b=o+m,f=void 0===d?b:d(b);return f!==b&&(m=f-o),{next:function(e){var t=-m*Math.exp(-e/s);return p.done=!(t>u||t<-u),p.value=p.done?f:f+t,p},flipTarget:function(){}}}},rr="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},or="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(rr())}),1/60*1e3)},ar=!0,ir=!1,cr=!1,sr={delta:0,timestamp:0},lr=["read","update","preRender","render","postRender"],ur=lr.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,o=!1,a=new WeakSet,i={schedule:function(e,i,c){void 0===i&&(i=!1),void 0===c&&(c=!1);var s=c&&o,l=s?t:n;return i&&a.add(e),-1===l.indexOf(e)&&(l.push(e),s&&o&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:function(c){var s;if(o=!0,t=(s=[n,t])[0],(n=s[1]).length=0,r=t.length)for(var l=0;l<r;l++){var u=t[l];u(c),a.has(u)&&(i.schedule(u),e())}o=!1}};return i}((function(){return ir=!0})),e}),{}),dr=lr.reduce((function(e,t){var n=ur[t];return e[t]=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),ir||vr(),n.schedule(e,t,r)},e}),{}),pr=lr.reduce((function(e,t){return e[t]=ur[t].cancel,e}),{}),mr=lr.reduce((function(e,t){return e[t]=function(){return ur[t].process(sr)},e}),{}),br=function(e){return ur[e].process(sr)},fr=function(e){ir=!1,sr.delta=ar?1/60*1e3:Math.max(Math.min(e-sr.timestamp,40),1),sr.timestamp=e,cr=!0,lr.forEach(br),cr=!1,ir&&(ar=!1,or(fr))},vr=function(){ir=!0,ar=!0,cr||or(fr)},hr=function(){return sr},gr=dr;function Or(e,t,n){return void 0===n&&(n=0),e-t-n}var yr=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return gr.update(t,!0)},stop:function(){return pr.update(t)}}};function jr(e){var t,n,r,o,a,i=e.from,c=e.autoplay,s=void 0===c||c,l=e.driver,u=void 0===l?yr:l,d=e.elapsed,p=void 0===d?0:d,m=e.repeat,b=void 0===m?0:m,f=e.repeatType,v=void 0===f?"loop":f,h=e.repeatDelay,g=void 0===h?0:h,O=e.onPlay,y=e.onStop,j=e.onComplete,E=e.onRepeat,_=e.onUpdate,w=U(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),S=w.to,x=0,P=w.duration,k=!1,T=!0,C=function(e){if(Array.isArray(e.to))return tr;if(nr[e.type])return nr[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?tr:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?an:tr}(w);(null===(n=(t=C).needsInterpolation)||void 0===n?void 0:n.call(t,i,S))&&(a=Nn([0,100],[i,S],{clamp:!1}),i=0,S=100);var A=C(F(F({},w),{from:i,to:S}));return s&&(null==O||O(),(r=u((function(e){if(T||(e=-e),p+=e,!k){var t=A.next(Math.max(0,p));o=t.value,a&&(o=a(o)),k=T?t.done:p<=0}null==_||_(o),k&&(0===x&&(null!=P||(P=p)),x<b?function(e,t,n,r){return r?e>=t+n:e<=-n}(p,P,g,T)&&(x++,"reverse"===v?p=function(e,t,n,r){return void 0===n&&(n=0),void 0===r&&(r=!0),r?Or(t+-e,t,n):t-(e-t)+n}(p,P,g,T=x%2==0):(p=Or(p,P,g),"mirror"===v&&A.flipTarget()),k=!1,E&&E()):(r.stop(),j&&j()))}))).start()),{stop:function(){null==y||y(),r.stop()}}}function Er(e,t){return t?e*(1e3/t):0}var _r=function(e){return 1e3*e},wr=function(e,t){return 1-3*t+3*e},Sr=function(e,t){return 3*t-6*e},xr=function(e){return 3*e},Pr=function(e,t,n){return((wr(t,n)*e+Sr(t,n))*e+xr(t))*e},kr=function(e,t,n){return 3*wr(t,n)*e*e+2*Sr(t,n)*e+xr(t)};function Tr(e,t,n,r){if(e===t&&n===r)return Un;for(var o=new Float32Array(11),a=0;a<11;++a)o[a]=Pr(.1*a,e,n);return function(a){return 0===a||1===a?a:Pr(function(t){for(var r=0,a=1;10!==a&&o[a]<=t;++a)r+=.1;--a;var i=r+(t-o[a])/(o[a+1]-o[a])*.1,c=kr(i,e,n);return c>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var a=kr(t,n,r);if(0===a)return t;t-=(Pr(t,n,r)-e)/a}return t}(t,i,e,n):0===c?i:function(e,t,n,r,o){var a,i,c=0;do{(a=Pr(i=t+(n-t)/2,r,o)-e)>0?n=i:t=i}while(Math.abs(a)>1e-7&&++c<10);return i}(t,r,r+.1,e,n)}(a),t,r)}}var Cr={linear:Un,easeIn:Gn,easeInOut:zn,easeOut:Hn,circIn:Wn,circInOut:qn,circOut:Yn,backIn:Xn,backInOut:$n,backOut:Kn,anticipate:Zn,bounceIn:Jn,bounceInOut:function(e){return e<.5?.5*(1-Qn(1-2*e)):.5*Qn(2*e-1)+.5},bounceOut:Qn},Ar=function(e){if(Array.isArray(e)){e.length;var t=G(e,4);return Tr(t[0],t[1],t[2],t[3])}return"string"==typeof e?Cr[e]:e},Mr=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!kn.test(t)||t.startsWith("url(")))},Br=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},Ir=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},Lr=function(){return{type:"keyframes",ease:"linear",duration:.3}},Nr=function(e){return{type:"keyframes",duration:.8,values:e}},Dr={x:Br,y:Br,z:Br,rotate:Br,rotateX:Br,rotateY:Br,rotateZ:Br,scaleX:Ir,scaleY:Ir,scale:Ir,opacity:Lr,backgroundColor:Lr,color:Lr,default:Ir},Rr=new Set(["brightness","contrast","saturate","opacity"]);function Vr(e){var t=e.slice(0,-1).split("("),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=(r.match(Le)||[])[0];if(!o)return e;var a=r.replace(o,""),i=Rr.has(n)?1:0;return o!==r&&(i*=100),n+"("+i+a+")"}var Fr=/([a-z-]*)\(.*?\)/g,Ur=F(F({},kn),{getAnimatableNone:function(e){var t=e.match(Fr);return t?t.map(Vr).join(" "):e}}),Gr=F(F({},$e),{color:En,backgroundColor:En,outlineColor:En,fill:En,stroke:En,borderColor:En,borderTopColor:En,borderRightColor:En,borderBottomColor:En,borderLeftColor:En,filter:Ur,WebkitFilter:Ur}),Hr=function(e){return Gr[e]};function zr(e,t){var n,r=Hr(e);return r!==Ur&&(r=kn),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}function Wr(e,t,n){var r,o,a,i;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=H([],G(e.to)),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=U(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=F(F({},e),(o=n,a=t.to,i=yt(a)?Nr:Dr[o]||Dr.default,F({to:a},i(a))))),F(F({},t),function(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,a=e.loop,i=U(e,["ease","times","yoyo","flip","loop"]),c=F({},i);return n&&(c.offset=n),i.duration&&(c.duration=_r(i.duration)),i.repeatDelay&&(c.repeatDelay=_r(i.repeatDelay)),t&&(c.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(Ar):Ar(t)),"tween"===i.type&&(c.type="keyframes"),(r||a||o)&&(r?c.repeatType="reverse":a?c.repeatType="loop":o&&(c.repeatType="mirror"),c.repeat=a||r||o||i.repeat),"spring"!==i.type&&(c.type="keyframes"),c}(e))}function Yr(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function qr(e){return"number"==typeof e?0:zr("",e)}function Xr(e,t){return e[t]||e.default||e}function Kr(e,t,n,r){return void 0===r&&(r={}),t.start((function(o){var a,i,c=function(e,t,n,r,o){var a,i=Xr(r,e),c=null!==(a=i.from)&&void 0!==a?a:t.get(),s=Mr(e,n);return"none"===c&&s&&"string"==typeof n?c=zr(e,n):Yr(c)&&"string"==typeof n?c=qr(n):!Array.isArray(n)&&Yr(n)&&"string"==typeof c&&(n=qr(c)),Mr(e,c)&&s&&!1!==i.type?function(){var r={from:c,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===i.type||"decay"===i.type?function(e){var t,n=e.from,r=void 0===n?0:n,o=e.velocity,a=void 0===o?0:o,i=e.min,c=e.max,s=e.power,l=void 0===s?.8:s,u=e.timeConstant,d=void 0===u?750:u,p=e.bounceStiffness,m=void 0===p?500:p,b=e.bounceDamping,f=void 0===b?10:b,v=e.restDelta,h=void 0===v?1:v,g=e.modifyTarget,O=e.driver,y=e.onUpdate,j=e.onComplete;function E(e){return void 0!==i&&e<i||void 0!==c&&e>c}function _(e){return void 0===i?c:void 0===c||Math.abs(i-e)<Math.abs(c-e)?i:c}function w(e){null==t||t.stop(),t=jr(F(F({},e),{driver:O,onUpdate:function(t){var n;null==y||y(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:j}))}function S(e){w(F({type:"spring",stiffness:m,damping:f,restDelta:h},e))}if(E(r))S({from:r,velocity:a,to:_(r)});else{var x=l*a+r;void 0!==g&&(x=g(x));var P,k,T=_(x),C=T===i?-1:1;w({type:"decay",from:r,velocity:a,timeConstant:d,power:l,restDelta:h,modifyTarget:g,onUpdate:E(x)?function(e){P=k,k=e,a=Er(e-P,hr().delta),(1===C&&e>T||-1===C&&e<T)&&S({from:e,to:T,velocity:a})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}(F(F({},r),i)):jr(F(F({},Wr(i,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=i.onUpdate)||void 0===t||t.call(i,e)},onComplete:function(){var e;r.onComplete(),null===(e=i.onComplete)||void 0===e||e.call(i)}}))}:function(){var e;return t.set(n),o(),null===(e=null==i?void 0:i.onComplete)||void 0===e||e.call(i),{stop:function(){}}}}(e,t,n,r,o),s=function(e,t){var n;return null!==(n=(Xr(e,t)||{}).delay)&&void 0!==n?n:0}(r,e),l=function(){return i=c()};return s?a=setTimeout(l,_r(s)):l(),function(){clearTimeout(a),null==i||i.stop()}}))}function $r(e,t){-1===e.indexOf(t)&&e.push(t)}function Zr(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Qr=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return $r(this.subscriptions,e),function(){return Zr(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var a=this.subscriptions[o];a&&a(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),Jr=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Qr,this.velocityUpdateSubscribers=new Qr,this.renderSubscribers=new Qr,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=hr(),o=r.delta,a=r.timestamp;n.lastUpdated!==a&&(n.timeDelta=o,n.lastUpdated=a,gr.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return gr.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?Er(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function eo(e){return new Jr(e)}var to=function(e){return function(t){return t.test(e)}},no=[Ye,Ge,Ue,Fe,ze,He,{test:function(e){return"auto"===e},parse:function(e){return e}}],ro=function(e){return no.find(to(e))},oo=H(H([],G(no)),[En,kn]);function ao(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,eo(n))}function io(e,t){if(t)return(t[e]||t.default||t).from}function co(e,t,n){var r;void 0===n&&(n={});var o=pe(e,t,n.custom),a=(o||{}).transition,i=void 0===a?e.getDefaultTransition()||{}:a;n.transitionOverride&&(i=n.transitionOverride);var c=o?function(){return so(e,o,n)}:function(){return Promise.resolve()},s=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=i.delayChildren,a=void 0===o?0:o,c=i.staggerChildren,s=i.staggerDirection;return function(e,t,n,r,o,a){void 0===n&&(n=0),void 0===r&&(r=0),void 0===o&&(o=1);var i=[],c=(e.variantChildren.size-1)*r,s=1===o?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),c-e*r};return Array.from(e.variantChildren).sort(lo).forEach((function(e,r){i.push(co(e,t,F(F({},a),{delay:n+s(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(i)}(e,t,a+r,c,s,n)}:function(){return Promise.resolve()},l=i.when;if(l){var u=G("beforeChildren"===l?[c,s]:[s,c],2),d=u[0],p=u[1];return d().then(p)}return Promise.all([c(),s(n.delay)])}function so(e,t,n){var r,o=void 0===n?{}:n,a=o.delay,i=void 0===a?0:a,c=o.transitionOverride,s=o.type,l=e.makeTargetAnimatable(t),u=l.transition,d=void 0===u?e.getDefaultTransition():u,p=l.transitionEnd,m=U(l,["transition","transitionEnd"]);c&&(d=c);var b=[],f=s&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[s]);for(var v in m){var h=e.getValue(v),g=m[v];if(!(!h||void 0===g||f&&uo(f,v))){var O=Kr(v,h,g,F({delay:i},d));b.push(O)}}return Promise.all(b).then((function(){p&&function(e,t){var n=pe(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,a=void 0===o?{}:o;r.transition;var i,c=U(r,["transitionEnd","transition"]);for(var s in c=F(F({},c),a))ao(e,s,(i=c[s],yt(i)?i[i.length-1]||0:i))}(e,p)}))}function lo(e,t){return e.sortNodePosition(t)}function uo(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var po=[wt.Animate,wt.Hover,wt.Tap,wt.Drag,wt.Focus,wt.Exit],mo=H([],G(po)).reverse(),bo=po.length;function fo(e){var t,n=function(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(),Array.isArray(t)){var o=t.map((function(t){return co(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=co(e,t,n);else{var a="function"==typeof t?pe(e,t,n.custom):t;r=so(e,a,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}(e),r=((t={})[wt.Animate]=vo(!0),t[wt.Hover]=vo(),t[wt.Tap]=vo(),t[wt.Drag]=vo(),t[wt.Focus]=vo(),t[wt.Exit]=vo(),t),o={},a=!0,i=function(t,n){var r=pe(e,n);if(r){r.transition;var o=r.transitionEnd,a=U(r,["transition","transitionEnd"]);t=F(F(F({},t),a),o)}return t};function c(t,c){for(var s,l=e.getProps(),u=e.getVariantContext(!0)||{},d=[],p=new Set,m={},b=1/0,f=function(n){var o=mo[n],f=r[o],v=null!==(s=l[o])&&void 0!==s?s:u[o],h=ue(v),g=o===c?f.isActive:null;!1===g&&(b=n);var O=v===u[o]&&v!==l[o]&&h;if(O&&a&&e.manuallyAnimateOnMount&&(O=!1),f.protectedKeys=F({},m),!f.isActive&&null===g||!v&&!f.prevProp||Ot(v)||"boolean"==typeof v)return"continue";var y=function(e,t){return"string"==typeof t?t!==e:!!le(t)&&!Jt(t,e)}(f.prevProp,v)||o===c&&f.isActive&&!O&&h||n>b&&h,j=Array.isArray(v)?v:[v],E=j.reduce(i,{});!1===g&&(E={});var _=f.prevResolvedValues,w=void 0===_?{}:_,S=F(F({},w),E),x=function(e){y=!0,p.delete(e),f.needsAnimating[e]=!0};for(var P in S){var k=E[P],T=w[P];m.hasOwnProperty(P)||(k!==T?yt(k)&&yt(T)?Jt(k,T)?f.protectedKeys[P]=!0:x(P):void 0!==k?x(P):p.add(P):void 0!==k&&p.has(P)?x(P):f.protectedKeys[P]=!0)}f.prevProp=v,f.prevResolvedValues=E,f.isActive&&(m=F(F({},m),E)),a&&e.blockInitialAnimation&&(y=!1),y&&!O&&d.push.apply(d,H([],G(j.map((function(e){return{animation:e,options:F({type:o},t)}})))))},v=0;v<bo;v++)f(v);if(o=F({},m),p.size){var h={};p.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(h[t]=n)})),d.push({animation:h})}var g=Boolean(d.length);return a&&!1===l.initial&&!e.manuallyAnimateOnMount&&(g=!1),a=!1,g?n(d):Promise.resolve()}return{isAnimated:function(e){return void 0!==o[e]},animateChanges:c,setActive:function(t,n,o){var a;return r[t].isActive===n?Promise.resolve():(null===(a=e.variantChildren)||void 0===a||a.forEach((function(e){var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n,c(o,t))},setAnimateFunction:function(t){n=t(e)},getState:function(){return r}}}function vo(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var ho={animation:Zt((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=fo(t)),Ot(n)&&Object(z.useEffect)((function(){return n.subscribe(t)}),[n])})),exit:Zt((function(e){var t=e.custom,n=e.visualElement,r=G(te(),2),o=r[0],a=r[1],i=Object(z.useContext)(J);Object(z.useEffect)((function(){var e,r,c=null===(e=n.animationState)||void 0===e?void 0:e.setActive(wt.Exit,!o,{custom:null!==(r=null==i?void 0:i.custom)&&void 0!==r?r:t});!o&&(null==c||c.then(a))}),[o])}))},go=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},Oo=function(e){return go(e)&&e.hasOwnProperty("z")},yo=function(e,t){return Math.abs(e-t)};function jo(e,t){if(Tn(e)&&Tn(t))return yo(e,t);if(go(e)&&go(t)){var n=yo(e.x,t.x),r=yo(e.y,t.y),o=Oo(e)&&Oo(t)?yo(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var Eo=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=So(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=jo(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,a=hr().timestamp;r.history.push(F(F({},o),{timestamp:a}));var i=r.handlers,c=i.onStart,s=i.onMove;t||(c&&c(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),s&&s(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=_o(t,r.transformPagePoint),Tt(e)&&0===e.buttons?r.handlePointerUp(e,t):gr.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers.onEnd;if(n&&r.startEvent){var o=So(_o(t,r.transformPagePoint),r.history);n&&n(e,o)}},!(Ct(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var a=_o(It(e),this.transformPagePoint),i=a.point,c=hr().timestamp;this.history=[F(F({},i),{timestamp:c})];var s=t.onSessionStart;s&&s(e,So(a,this.history)),this.removeListeners=Yt(Ft(window,"pointermove",this.handlePointerMove),Ft(window,"pointerup",this.handlePointerUp),Ft(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),pr.update(this.updatePoint)},e}();function _o(e,t){return t?{point:t(e.point)}:e}function wo(e,t){return{x:e.x-t.x,y:e.y-t.y}}function So(e,t){var n=e.point;return{point:n,delta:wo(n,Po(t)),offset:wo(n,xo(t)),velocity:ko(t,.1)}}function xo(e){return e[0]}function Po(e){return e[e.length-1]}function ko(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=Po(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>_r(t)));)n--;if(!r)return{x:0,y:0};var a=(o.timestamp-r.timestamp)/1e3;if(0===a)return{x:0,y:0};var i={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function To(e){return e}function Co(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}var Ao={translate:0,scale:1,origin:0,originPoint:0};function Mo(){return{x:F({},Ao),y:F({},Ao)}}function Bo(e){return[e("x"),e("y")]}function Io(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?ln(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?ln(o,e,n.max):Math.min(e,o)),e}function Lo(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function No(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=G([o,r],2))[0],o=n[1]),{min:e.min+r,max:e.min+o}}function Do(e,t,n){return{min:Ro(e,t),max:Ro(e,n)}}function Ro(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function Vo(e,t){return Co(function(e,t){var n=e.top,r=e.left,o=e.bottom,a=e.right;void 0===t&&(t=To);var i=t({x:r,y:n}),c=t({x:a,y:o});return{top:i.y,left:i.x,bottom:c.y,right:c.x}}(e.getBoundingClientRect(),t))}function Fo(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),jo(e,t)<n}function Uo(e){return e.max-e.min}function Go(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=ln(t.min,t.max,e.origin),e.scale=Uo(n)/Uo(t),Fo(e.scale,1,1e-4)&&(e.scale=1),e.translate=ln(n.min,n.max,e.origin)-e.originPoint,Fo(e.translate)&&(e.translate=0)}function Ho(e,t,n,r){Go(e.x,t.x,n.x,zo(r.originX)),Go(e.y,t.y,n.y,zo(r.originY))}function zo(e){return"number"==typeof e?e:.5}function Wo(e,t,n){e.min=n.min+t.min,e.max=e.min+Uo(t)}var Yo,qo=new WeakMap,Xo=function(){function e(e){var t=e.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic={x:{min:0,max:1},y:{min:0,max:1}},this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=t,this.visualElement.enableLayoutProjection(),qo.set(t,this)}return e.prototype.start=function(e,t){var n=this,r=void 0===t?{}:t,o=r.snapToCursor,a=void 0!==o&&o,i=r.cursorProgress;a&&this.snapToCursor(e);var c=this.props.transformPagePoint;this.panSession=new Eo(e,{onSessionStart:function(){n.stopMotion()},onStart:function(e,t){var r,o,a,c=n.props,s=c.drag,l=c.dragPropagation;if(!s||l||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=$t(s),n.openGlobalLock)){n.prepareBoundingBox(),n.visualElement.lockProjectionTarget(),n.resolveDragConstraints();var u=Lt(e).point;Bo((function(e){var t=n.visualElement.projection.target[e],r=t.min,o=t.max;n.cursorProgress[e]=i?i[e]:sn(r,o,u[e]);var a=n.getAxisMotionValue(e);a&&(n.originPoint[e]=a.get())})),n.isDragging=!0,n.currentDirection=null,null===(o=(r=n.props).onDragStart)||void 0===o||o.call(r,e,t),null===(a=n.visualElement.animationState)||void 0===a||a.setActive(wt.Drag,!0)}},onMove:function(e,t){var r,o,a,i,c=n.props,s=c.dragPropagation,l=c.dragDirectionLock;if(s||n.openGlobalLock){var u=t.offset;if(l&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(u),void(null!==n.currentDirection&&(null===(o=(r=n.props).onDirectionLock)||void 0===o||o.call(r,n.currentDirection)));n.updateAxis("x",e,u),n.updateAxis("y",e,u),null===(i=(a=n.props).onDrag)||void 0===i||i.call(a,e,t),Yo=e}},onEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:c})},e.prototype.prepareBoundingBox=function(){var e=this.visualElement;e.withoutTransform((function(){e.updateLayoutMeasurement()})),e.rebaseProjectionTarget(!0,e.measureViewportBox(!1))},e.prototype.resolveDragConstraints=function(){var e=this,t=this.props,n=t.dragConstraints,r=t.dragElastic;this.constraints=!!n&&(se(n)?this.resolveRefConstraints(this.visualElement.getLayoutState().layout,n):function(e,t){var n=t.top,r=t.left,o=t.bottom,a=t.right;return{x:Lo(e.x,r,a),y:Lo(e.y,n,o)}}(this.visualElement.getLayoutState().layout,n)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:Do(e,"left","right"),y:Do(e,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&Bo((function(t){var n,r,o;e.getAxisMotionValue(t)&&(e.constraints[t]=(n=e.visualElement.getLayoutState().layout[t],o={},void 0!==(r=e.constraints[t]).min&&(o.min=r.min-n.min),void 0!==r.max&&(o.max=r.max-n.min),o))}))},e.prototype.resolveRefConstraints=function(e,t){var n=this.props,r=n.onMeasureDragConstraints,o=n.transformPagePoint,a=t.current;this.constraintsBox=Vo(a,o);var i=function(e,t){return{x:No(e.x,t.x),y:No(e.y,t.y)}}(e,this.constraintsBox);if(r){var c=r(function(e){var t=e.x,n=e.y;return{top:n.min,bottom:n.max,left:t.min,right:t.max}}(i));this.hasMutatedConstraints=!!c,c&&(i=Co(c))}return i},e.prototype.cancelDrag=function(){var e;this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(wt.Drag,!1)},e.prototype.stop=function(e,t){var n;this.visualElement.unlockProjectionTarget(),null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var r=this.isDragging;if(this.cancelDrag(),r){var o=this.props,a=o.dragMomentum,i=o.onDragEnd;if(a||this.elastic){var c=t.velocity;this.animateDragEnd(c)}null==i||i(e,t)}},e.prototype.snapToCursor=function(e){var t=this;this.prepareBoundingBox(),Bo((function(n){if(Ko(n,t.props.drag,t.currentDirection)){var r=t.getAxisMotionValue(n);if(r){var o=Lt(e).point,a=t.visualElement.getLayoutState().layout,i=a[n].max-a[n].min,c=a[n].min+i/2,s=o[n]-c;t.originPoint[n]=o[n],r.set(s)}else t.cursorProgress[n]=.5,t.updateVisualElementAxis(n,e)}}))},e.prototype.updateAxis=function(e,t,n){if(Ko(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,n):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var n=this.getAxisMotionValue(e);if(t&&n){var r=this.originPoint[e]+t[e],o=this.constraints?Io(r,this.constraints[e],this.elastic[e]):r;n.set(o)}},e.prototype.updateVisualElementAxis=function(e,t){var n,r=this.visualElement.getLayoutState().layout[e],o=r.max-r.min,a=this.cursorProgress[e],i=function(e,t,n,r,o){var a=e-t*n;return r?Io(a,r,o):a}(Lt(t).point[e],o,a,null===(n=this.constraints)||void 0===n?void 0:n[e],this.elastic[e]);this.visualElement.setProjectionTargetAxis(e,i,i+o)},e.prototype.setProps=function(e){var t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,a=e.dragPropagation,i=void 0!==a&&a,c=e.dragConstraints,s=void 0!==c&&c,l=e.dragElastic,u=void 0===l?.35:l,d=e.dragMomentum,p=void 0===d||d,m=U(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=F({drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:s,dragElastic:u,dragMomentum:p},m)},e.prototype.getAxisMotionValue=function(e){var t=this.props,n=t.layout,r=t.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:n||void 0!==r?void 0:this.visualElement.getValue(e,0)},e.prototype.animateDragEnd=function(e){var t=this,n=this.props,r=n.drag,o=n.dragMomentum,a=n.dragElastic,i=n.dragTransition,c=Bo((function(n){if(Ko(n,r,t.currentDirection)){var c=t.constraints?t.constraints[n]:{},s=a?200:1e6,l=a?40:1e7,u=F(F({type:"inertia",velocity:o?e[n]:0,bounceStiffness:s,bounceDamping:l,timeConstant:750,restDelta:1,restSpeed:10},i),c);return t.getAxisMotionValue(n)?t.startAxisValueAnimation(n,u):t.visualElement.startLayoutAnimation(n,u)}}));return Promise.all(c).then((function(){var e,n;null===(n=(e=t.props).onDragTransitionEnd)||void 0===n||n.call(e)}))},e.prototype.stopMotion=function(){var e=this;Bo((function(t){var n=e.getAxisMotionValue(t);n?n.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,t){var n=this.getAxisMotionValue(e);if(n){var r=n.get();return n.set(r),n.set(r),Kr(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag;if(se(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};Bo((function(t){var n,o,a,i,c;r[t]=(n=e.visualElement.projection.target[t],o=e.constraintsBox[t],a=.5,i=Uo(n),(c=Uo(o))>i?a=sn(o.min,o.max-i,n.min):i>c&&(a=sn(n.min,n.max-c,o.min)),en(0,1,a))})),this.prepareBoundingBox(),this.resolveDragConstraints(),Bo((function(t){if(Ko(t,n,null)){var o=function(e,t,n){var r=e.max-e.min,o=ln(t.min,t.max-r,n);return{min:o,max:o+r}}(e.visualElement.projection.target[t],e.constraintsBox[t],r[t]),a=o.min,i=o.max;e.visualElement.setProjectionTargetAxis(t,a,i)}}))}},e.prototype.mount=function(e){var t=this,n=Ft(e.getInstance(),"pointerdown",(function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=Pt(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),a=e.prevDragCursor;return a&&this.start(Yo,{cursorProgress:a}),function(){null==n||n(),null==r||r(),null==o||o(),t.cancelDrag()}},e}();function Ko(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var $o,Zo,Qo={pan:Zt((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,a=e.visualElement,i=t||n||r||o,c=Object(z.useRef)(null),s=Object(z.useContext)(Z).transformPagePoint,l={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){c.current=null,r&&r(e,t)}};Object(z.useEffect)((function(){null!==c.current&&c.current.updateHandlers(l)})),Ut(a,"pointerdown",i&&function(e){c.current=new Eo(e,l,{transformPagePoint:s})}),zt((function(){return c.current&&c.current.end()}))})),drag:Zt((function(e){var t=e.dragControls,n=e.visualElement,r=Object(z.useContext)(Z).transformPagePoint,o=ee((function(){return new Xo({visualElement:n})}));o.setProps(F(F({},e),{transformPagePoint:r})),Object(z.useEffect)((function(){return t&&t.subscribe(o)}),[o]),Object(z.useEffect)((function(){return o.mount(n)}),[])}))};function Jo(e,t){return{min:t.min-e.min,max:t.max-e.min}}function ea(e,t){return{x:Jo(e.x,t.x),y:Jo(e.y,t.y)}}function ta(e,t){var n=e.getLayoutId(),r=t.getLayoutId();return n!==r||void 0===r&&e!==t}function na(e){return"string"==typeof e&&e.startsWith("var(--")}!function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"}($o||($o={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(Zo||(Zo={}));var ra=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function oa(e,t,n){void 0===n&&(n=1);var r=G(function(e){var t=ra.exec(e);if(!t)return[,];var n=G(t,3);return[n[1],n[2]]}(e),2),o=r[0],a=r[1];if(o){var i=window.getComputedStyle(t).getPropertyValue(o);return i?i.trim():na(a)?oa(a,t,n+1):a}}function aa(e,t){return e/(t.max-t.min)*100}var ia={process:function(e,t,n){var r=n.target;if("string"==typeof e){if(!Ge.test(e))return e;e=parseFloat(e)}return aa(e,r.x)+"% "+aa(e,r.y)+"%"}},ca={borderRadius:F(F({},ia),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ia,borderTopRightRadius:ia,borderBottomLeftRadius:ia,borderBottomRightRadius:ia,boxShadow:{process:function(e,t){var n=t.delta,r=t.treeScale,o=e,a=e.includes("var("),i=[];a&&(e=e.replace(ra,(function(e){return i.push(e),"_$css"})));var c=kn.parse(e);if(c.length>5)return o;var s=kn.createTransformer(e),l="number"!=typeof c[0]?1:0,u=n.x.scale*r.x,d=n.y.scale*r.y;c[0+l]/=u,c[1+l]/=d;var p=ln(u,d,.5);"number"==typeof c[2+l]&&(c[2+l]/=p),"number"==typeof c[3+l]&&(c[3+l]/=p);var m=s(c);if(a){var b=0;m=m.replace("_$css",(function(){var e=i[b];return b++,e}))}return m}}},sa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameTarget={x:{min:0,max:1},y:{min:0,max:1}},t.currentAnimationTarget={x:{min:0,max:1},y:{min:0,max:1}},t.isAnimating={x:!1,y:!1},t.stopAxisAnimation={x:void 0,y:void 0},t.isAnimatingTree=!1,t.animate=function(e,n,r){void 0===r&&(r={});var o=r.originBox,a=r.targetBox,i=r.visibilityAction,c=r.shouldStackAnimate,s=r.onComplete,l=r.prevParent,u=U(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=t.props,p=d.visualElement,m=d.layout;if(!1===c)return t.isAnimatingTree=!1,t.safeToRemove();if(!t.isAnimatingTree||!0===c){c&&(t.isAnimatingTree=!0),n=o||n,e=a||e;var b=!1,f=p.getProjectionParent();if(f){var v=f.prevViewportBox,h=f.getLayoutState().layout;l&&(a&&(h=l.getLayoutState().layout),o&&!ta(l,f)&&l.prevViewportBox&&(v=l.prevViewportBox)),v&&(b=!0,n=ea(v,n),e=ea(h,e))}var g=la(n,e),O=Bo((function(r){if("position"===m){var o=e[r].max-e[r].min;n[r].max=n[r].min+o}if(!p.projection.isTargetLocked)return void 0===i?g?t.animateAxis(r,e[r],n[r],F(F({},u),{isRelative:b})):p.setProjectionTargetAxis(r,e[r].min,e[r].max,b):void p.setVisibility(i===Zo.Show)}));return p.syncRender(),Promise.all(O).then((function(){t.isAnimatingTree=!1,s&&s(),p.notifyLayoutAnimationComplete()}))}},t}return V(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=Kr,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)ye[t]=e[t]}(ca)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),Bo((function(t){var n,r;return null===(r=(n=e.stopAxisAnimation)[t])||void 0===r?void 0:r.call(n)}))},t.prototype.animateAxis=function(e,t,n,r){var o,a,i=this,c=void 0===r?{}:r,s=c.transition,l=c.isRelative;if(!this.isAnimating[e]||!pa(t,this.currentAnimationTarget[e])){null===(a=(o=this.stopAxisAnimation)[e])||void 0===a||a.call(o),this.isAnimating[e]=!0;var u=this.props.visualElement,d=this.frameTarget[e],p=u.getProjectionAnimationProgress()[e];p.clearListeners(),p.set(0),p.set(0);var m=function(){var r=p.get()/1e3;!function(e,t,n,r){e.min=ln(t.min,n.min,r),e.max=ln(t.max,n.max,r)}(d,n,t,r),u.setProjectionTargetAxis(e,d.min,d.max,l)};m();var b=p.onChange(m);this.stopAxisAnimation[e]=function(){i.isAnimating[e]=!1,p.stop(),b()},this.currentAnimationTarget[e]=t;var f=s||u.getDefaultTransition()||ma;return Kr("x"===e?"layoutX":"layoutY",p,1e3,f&&Xr(f,"layout")).then(this.stopAxisAnimation[e])}},t.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},t.prototype.render=function(){return null},t}(z.Component);function la(e,t){return!(da(e)||da(t)||pa(e.x,t.x)&&pa(e.y,t.y))}var ua={min:0,max:0};function da(e){return pa(e.x,ua)&&pa(e.y,ua)}function pa(e,t){return e.min===t.min&&e.max===t.max}var ma={duration:.45,ease:[.4,0,.1,1]},ba=function(e,t){return e.depth-t.depth},fa={measureLayout:function(e){return e.updateLayoutMeasurement()},layoutReady:function(e){return e.notifyLayoutReady()}};function va(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var n=void 0===t?fa:t,r=n.measureLayout,o=n.layoutReady,a=n.parent,i=Array.from(e).sort(ba),c=function(){i.forEach((function(e){return e.resetTransform()})),i.forEach(r)};a?a.withoutTransform(c):c(),i.forEach(o),i.forEach((function(e){e.isPresent&&(e.presence=$o.Present)})),mr.preRender(),mr.render(),e.clear()}}}var ha=Object(z.createContext)(va()),ga=Object(z.createContext)(va());function Oa(e){return!!e.forceUpdate}var ya=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return V(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;Oa(t)&&t.register(r),Oa(n)&&n.register(r),r.onUnmount((function(){Oa(t)&&t.remove(r),Oa(n)&&n.remove(r)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return Oa(t)?t.syncUpdate():(n.snapshotViewportBox(),t.add(n)),null},t.prototype.componentDidUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;Oa(t)||t.flush(),n.rebaseProjectionTarget()},t.prototype.render=function(){return null},t}(W.a.Component),ja={measureLayout:function(e){var t=Object(z.useContext)(ha),n=Object(z.useContext)(ga);return W.a.createElement(ya,F({},e,{syncLayout:t,framerSyncLayout:n}))},layoutAnimation:function(e){var t=G(te(),2)[1];return z.createElement(sa,F({},e,{safeToRemove:t}))}};function Ea(e,t){e.min=t.min,e.max=t.max}function _a(e,t,n){return n+t*(e-n)}function wa(e,t,n,r,o){return void 0!==o&&(e=_a(e,o,r)),_a(e,n,r)+t}function Sa(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=wa(e.min,t,n,r,o),e.max=wa(e.max,t,n,r,o)}function xa(e,t){var n=t.x,r=t.y;Sa(e.x,n.translate,n.scale,n.originPoint),Sa(e.y,r.translate,r.scale,r.originPoint)}function Pa(e,t,n,r){var o=G(r,3),a=o[0],i=o[1],c=o[2];e.min=t.min,e.max=t.max;var s=void 0!==n[c]?n[c]:.5,l=ln(t.min,t.max,s);Sa(e,n[a],n[i],l,n.scale)}var ka=["x","scaleX","originX"],Ta=["y","scaleY","originY"];function Ca(e,t,n,r,o){return e=_a(e-=t,1/n,r),void 0!==o&&(e=_a(e,1/o,r)),e}function Aa(e,t,n){var r=G(n,3),o=r[0],a=r[1],i=r[2];!function(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5);var a=ln(e.min,e.max,r)-t;e.min=Ca(e.min,t,n,a,o),e.max=Ca(e.max,t,n,a,o)}(e,t[o],t[a],t[i],t.scale)}function Ma(){return{isHydrated:!1,layout:{x:{min:0,max:1},y:{min:0,max:1}},layoutCorrected:{x:{min:0,max:1},y:{min:0,max:1}},treeScale:{x:1,y:1},delta:Mo(),deltaFinal:Mo(),deltaTransform:""}}var Ba=Ma();function Ia(e,t,n){var r=e.x,o=e.y,a="translate3d("+r.translate/t.x+"px, "+o.translate/t.y+"px, 0) ";if(n){var i=n.rotate,c=n.rotateX,s=n.rotateY;i&&(a+="rotate("+i+") "),c&&(a+="rotateX("+c+") "),s&&(a+="rotateY("+s+") ")}return a+="scale("+r.scale+", "+o.scale+")",n||a!==Na?a:""}function La(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var Na=Ia(Ba.delta,Ba.treeScale,{x:1,y:1}),Da=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];var Ra=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){$r(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){Zr(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(ba);for(var t=this.children.length,n=0;n<t;n++)e(this.children[n])},e}(),Va=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,a=e.makeTargetAnimatable,i=e.measureViewportBox,c=e.render,s=e.readValueFromInstance,l=e.resetTransform,u=e.restoreTransform,d=e.removeValueFromRenderState,p=e.sortNodePosition,m=e.scrapeMotionValuesFromProps;return function(e,t){var b=e.parent,f=e.props,v=e.presenceId,h=e.blockInitialAnimation,g=e.visualState;void 0===t&&(t={});var O,y,j,E,_,w,S=g.latestValues,x=g.renderState,P=function(){var e=Da.map((function(){return new Qr})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return Da.forEach((function(r){var o;null===(o=t[r])||void 0===o||o.call(t);var a="on"+r,i=e[a];i&&(t[r]=n[a](i))}))}};return e.forEach((function(e,t){n["on"+Da[t]]=function(t){return e.add(t)},n["notify"+Da[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,H([],G(t)))}})),n}(),k={isEnabled:!1,isTargetLocked:!1,target:{x:{min:0,max:1},y:{min:0,max:1}},targetFinal:{x:{min:0,max:1},y:{min:0,max:1}}},T=k,C=S,A=Ma(),M=!1,B=new Map,I=new Map,L={},N=F({},S);function D(){var e,t,n;O&&(k.isEnabled&&A.isHydrated&&(e=T.targetFinal,t=T.target,n=C,Pa(e.x,t.x,n,ka),Pa(e.y,t.y,n,Ta),Ho(A.deltaFinal,A.layoutCorrected,T.targetFinal,S)),R(),c(O,x))}function R(){var e=S;if(E&&E.isActive()){var n=E.getCrossfadeState(K);n&&(e=n)}r(K,x,e,T,A,t,f)}function V(){P.notifyUpdate(S)}function U(){K.layoutTree.forEach(Ua)}var z=m(f);for(var W in z){var Y=z[W];void 0!==S[W]&&Te(Y)&&Y.set(S[W],!1)}var q=me(f),X=be(f),K=F(F({treeType:n,current:null,depth:b?b.depth+1:0,path:b?H(H([],G(b.path)),[b]):[],layoutTree:b?b.layoutTree:new Ra,presenceId:v,projection:k,variantChildren:X?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==b?void 0:b.isMounted()),blockInitialAnimation:h,isHoverEventsEnabled:!0,isMounted:function(){return Boolean(O)},mount:function(e){O=K.current=e,K.pointTo(K),X&&b&&!q&&(w=null==b?void 0:b.addVariantChild(K))},unmount:function(){pr.update(V),pr.render(D),pr.preRender(K.updateLayoutProjection),I.forEach((function(e){return e()})),K.stopLayoutAnimation(),K.layoutTree.remove(K),null==w||w(),null==j||j(),P.clearAllListeners()},addVariantChild:function(e){var t,n=K.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return p&&n===e.treeType?p(K.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return X?K:null==b?void 0:b.getClosestVariantNode()},scheduleUpdateLayoutProjection:b?b.scheduleUpdateLayoutProjection:function(){return gr.preRender(K.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return f.layoutId},getInstance:function(){return O},getStaticValue:function(e){return S[e]},setStaticValue:function(e,t){return S[e]=t},getLatestValues:function(){return S},setVisibility:function(e){K.isVisible!==e&&(K.isVisible=e,K.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(K,e,f,t)},suspendHoverEvents:function(){K.isHoverEventsEnabled=!1,gr.postRender((function(){return setTimeout((function(){return K.isHoverEventsEnabled=!0}),10)}))},addValue:function(e,t){K.hasValue(e)&&K.removeValue(e),B.set(e,t),S[e]=t.get(),function(e,t){var n=t.onChange((function(t){S[e]=t,f.onUpdate&&gr.update(V,!1,!0)})),r=t.onRenderRequest(K.scheduleRender);I.set(e,(function(){n(),r()}))}(e,t)},removeValue:function(e){var t;B.delete(e),null===(t=I.get(e))||void 0===t||t(),I.delete(e),delete S[e],d(e,x)},hasValue:function(e){return B.has(e)},getValue:function(e,t){var n=B.get(e);return void 0===n&&void 0!==t&&(n=eo(t),K.addValue(e,n)),n},forEachValue:function(e){return B.forEach(e)},readValue:function(e){var n;return null!==(n=S[e])&&void 0!==n?n:s(O,e,t)},setBaseTarget:function(e,t){N[e]=t},getBaseTarget:function(e){if(o){var t=o(f,e);if(void 0!==t&&!Te(t))return t}return N[e]}},P),{build:function(){return R(),x},scheduleRender:function(){gr.render(D,!1,!0)},syncRender:D,setProps:function(e){f=e,P.updatePropListeners(e),L=function(e,t,n){var r;for(var o in t){var a=t[o],i=n[o];if(Te(a))e.addValue(o,a);else if(Te(i))e.addValue(o,eo(a));else if(i!==a)if(e.hasValue(o)){var c=e.getValue(o);!c.hasAnimated&&c.set(a)}else e.addValue(o,eo(null!==(r=e.getStaticValue(o))&&void 0!==r?r:a))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(K,m(f),L)},getProps:function(){return f},getVariant:function(e){var t;return null===(t=f.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return f.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==b?void 0:b.getVariantContext();if(!q){var t=(null==b?void 0:b.getVariantContext())||{};return void 0!==f.initial&&(t.initial=f.initial),t}for(var n={},r=0;r<za;r++){var o=Ha[r],a=f[o];(ue(a)||!1===a)&&(n[o]=a)}return n},enableLayoutProjection:function(){k.isEnabled=!0,K.layoutTree.add(K)},lockProjectionTarget:function(){k.isTargetLocked=!0},unlockProjectionTarget:function(){K.stopLayoutAnimation(),k.isTargetLocked=!1},snapshotViewportBox:function(){K.prevViewportBox=K.measureViewportBox(!1),K.rebaseProjectionTarget(!1,K.prevViewportBox)},getLayoutState:function(){return A},setCrossfader:function(e){E=e},startLayoutAnimation:function(e,t){var n=K.getProjectionAnimationProgress()[e],r=k.target[e],o=r.min,a=r.max-o;return n.clearListeners(),n.set(o),n.set(o),n.onChange((function(t){return K.setProjectionTargetAxis(e,t,t+a)})),K.animateMotionValue(e,n,0,t)},stopLayoutAnimation:function(){Bo((function(e){return K.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var n,r,o=i(O,t);return e||(r=S,Aa((n=o).x,r,ka),Aa(n.y,r,Ta)),o},updateLayoutMeasurement:function(){var e;K.notifyBeforeLayoutMeasure(A.layout),A.isHydrated=!0,A.layout=K.measureViewportBox(),A.layoutCorrected=(e=A.layout,{x:F({},e.x),y:F({},e.y)}),K.notifyLayoutMeasure(A.layout,K.prevViewportBox||A.layout),gr.update((function(){return K.rebaseProjectionTarget()}))},getProjectionAnimationProgress:function(){return _||(_={x:eo(0),y:eo(0)}),_},setProjectionTargetAxis:function(e,t,n,r){var o;void 0===r&&(r=!1),r?(k.relativeTarget||(k.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=k.relativeTarget[e]):(k.relativeTarget=void 0,o=k.target[e]),o.min=t,o.max=n,M=!0,P.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=A.layout);var n=K.getProjectionAnimationProgress(),r=n.x,o=n.y,a=!(k.relativeTarget||k.isTargetLocked||r.isAnimating()||o.isAnimating());(e||a)&&Bo((function(e){var n=t[e],r=n.min,o=n.max;K.setProjectionTargetAxis(e,r,o)}))},notifyLayoutReady:function(e){K.notifyLayoutUpdate(A.layout,K.prevViewportBox||A.layout,e)},resetTransform:function(){return l(K,O,f)},withoutTransform:function(e){var t=k.isEnabled;t&&K.resetTransform(),b?b.withoutTransform(e):e(),t&&u(O,x)},updateLayoutProjection:function(){var e=A.delta,t=A.treeScale,n=t.x,r=t.x,o=A.deltaTransform;(function(e,t,n,r){var o,a,i=e.delta,c=e.layout,s=e.layoutCorrected,l=e.treeScale,u=t.target;a=c,Ea((o=s).x,a.x),Ea(o.y,a.y),function(e,t,n){var r=n.length;if(r){t.x=t.y=1;for(var o=0;o<r;o++){var a=n[o].getLayoutState().delta;t.x*=a.x.scale,t.y*=a.y.scale,xa(e,a)}}}(s,l,n),Ho(i,s,u,r)})(A,T,K.path,S),M&&K.notifyViewportBoxUpdate(T.target,e),M=!1;var a=Ia(e,t);a===o&&n===t.x&&r===t.y||K.scheduleRender(),A.deltaTransform=a},updateTreeLayoutProjection:function(){K.layoutTree.forEach(Fa),gr.preRender(U,!1,!0)},getProjectionParent:function(){if(void 0===y){for(var e=!1,t=K.path.length-1;t>=0;t--){var n=K.path[t];if(n.projection.isEnabled){e=n;break}}y=e}return y},resolveRelativeTargetBox:function(){if(k.relativeTarget){var e=K.getProjectionParent();e&&function(e,t){Wo(e.target.x,e.relativeTarget.x,t.target.x),Wo(e.target.y,e.relativeTarget.y,t.target.y)}(k,e.projection)}},pointTo:function(e){T=e.projection,C=e.getLatestValues(),null==j||j(),j=Yt(e.onSetAxisTarget(K.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;K.isPresent?K.presence=$o.Present:null===(e=K.layoutSafeToRemove)||void 0===e||e.call(K)})))},isPresent:!0,presence:$o.Entering});return K}};function Fa(e){e.resolveRelativeTargetBox()}function Ua(e){e.updateLayoutProjection()}var Ga,Ha=H(["initial"],G(po)),za=Ha.length,Wa=new Set(["width","height","top","left","right","bottom","x","y"]),Ya=function(e){return Wa.has(e)},qa=function(e,t){e.set(t,!1),e.set(t)},Xa=function(e){return e===Ye||e===Ge};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Ga||(Ga={}));var Ka=function(e,t){return parseFloat(e.split(", ")[t])},$a=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var a=o.match(/^matrix3d\((.+)\)$/);if(a)return Ka(a[1],t);var i=o.match(/^matrix\((.+)\)$/);return i?Ka(i[1],e):0}},Za=new Set(["x","y","z"]),Qa=Ee.filter((function(e){return!Za.has(e)})),Ja={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:$a(4,13),y:$a(5,14)};function ei(e,t,n,r){return function(e){return Object.keys(e).some(Ya)}(t)?function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=F({},t),r=F({},r);var o=Object.keys(t).filter(Ya),a=[],i=!1,c=[];if(o.forEach((function(o){var s=e.getValue(o);if(e.hasValue(o)){var l,u=n[o],d=t[o],p=ro(u);if(yt(d))for(var m=d.length,b=null===d[0]?1:0;b<m;b++)l?ro(d[b]):(l=ro(d[b]))===p||Xa(p)&&Xa(l);else l=ro(d);if(p!==l)if(Xa(p)&&Xa(l)){var f=s.get();"string"==typeof f&&s.set(parseFloat(f)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&l===Ge&&(t[o]=d.map(parseFloat))}else(null==p?void 0:p.transform)&&(null==l?void 0:l.transform)&&(0===u||0===d)?0===u?s.set(l.transform(u)):t[o]=p.transform(d):(i||(a=function(e){var t=[];return Qa.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),i=!0),c.push(o),r[o]=void 0!==r[o]?r[o]:t[o],qa(s,d))}})),c.length){var s=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),a=getComputedStyle(o),i=a.display,c={top:a.top,left:a.left,bottom:a.bottom,right:a.right,transform:a.transform};"none"===i&&t.setStaticValue("display",e.display||"block"),t.syncRender();var s=t.measureViewportBox();return n.forEach((function(n){var o=t.getValue(n);qa(o,Ja[n](r,c)),e[n]=Ja[n](s,a)})),e}(t,e,c);return a.length&&a.forEach((function(t){var n=G(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),{target:s,transitionEnd:r}}return{target:t,transitionEnd:r}}(e,t,n,r):{target:t,transitionEnd:r}}var ti={treeType:"dom",readValueFromInstance:function(e,t){if(Se(t)){var n=Hr(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(Ae(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return Vo(e,t.transformPagePoint)},resetTransform:function(e,t,n){e.suspendHoverEvents();var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var a=t.transition,i=t.transitionEnd,c=U(t,["transition","transitionEnd"]),s=function(e,t,n){var r,o,a={};for(var i in e)a[i]=null!==(r=io(i,t))&&void 0!==r?r:null===(o=n.getValue(i))||void 0===o?void 0:o.get();return a}(c,a||{},e);if(o&&(i&&(i=o(i)),c&&(c=o(c)),s&&(s=o(s))),r){!function(e,t,n){var r,o,a,i,c,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),l=s.length;if(l)for(var u=0;u<l;u++){var d=s[u],p=t[d],m=null;Array.isArray(p)&&(m=p[0]),null===m&&(m=null!==(o=null!==(r=n[d])&&void 0!==r?r:e.readValue(d))&&void 0!==o?o:t[d]),null!=m&&("string"==typeof m&&/^\-?\d*\.?\d+$/.test(m)?m=parseFloat(m):(c=m,!oo.find(to(c))&&kn.test(p)&&(m=zr(d,p))),e.addValue(d,eo(m)),null!==(a=(i=n)[d])&&void 0!==a||(i[d]=m),e.setBaseTarget(d,m))}}(e,c,s);var l=function(e,t,n,r){var o=function(e,t,n){var r,o=U(t,[]),a=e.getInstance();if(!(a instanceof HTMLElement))return{target:o,transitionEnd:n};for(var i in n&&(n=F({},n)),e.forEachValue((function(e){var t=e.get();if(na(t)){var n=oa(t,a);n&&e.set(n)}})),o){var c=o[i];if(na(c)){var s=oa(c,a);s&&(o[i]=s,n&&(null!==(r=n[i])&&void 0!==r||(n[i]=c)))}}return{target:o,transitionEnd:n}}(e,t,r);return ei(e,t=o.target,n,r=o.transitionEnd)}(e,c,s,i);i=l.transitionEnd,c=l.target}return F({transition:a,transitionEnd:i},c)},scrapeMotionValuesFromProps:ht,build:function(e,t,n,r,o,a,i){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden");var c=r.isEnabled&&o.isHydrated;Ze(t,n,r,o,a,i.transformTemplate,c?Ia:void 0,c?La:void 0)},render:bt},ni=Va(ti),ri=Va(F(F({},ti),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return Se(t)?(null===(n=Hr(t))||void 0===n?void 0:n.default)||0:(t=ft.has(t)?t:mt(t),e.getAttribute(t))},scrapeMotionValuesFromProps:gt,build:function(e,t,n,r,o,a,i){var c=r.isEnabled&&o.isHydrated;st(t,n,r,o,a,i.transformTemplate,c?Ia:void 0,c?La:void 0)},render:vt})),oi=function(e,t){return Oe(e)?ri(t,{enableHardwareAcceleration:!1}):ni(t,{enableHardwareAcceleration:!0})},ai=F(F(F(F({},ho),Qt),Qo),ja),ii=he((function(e,t){return function(e,t,n,r){var o=t.forwardMotionProps,a=void 0!==o&&o,i=Oe(e)?St:xt;return F(F({},i),{preloadedFeatures:n,useRender:dt(a),createVisualElement:r,Component:e})}(e,t,ai,oi)})),ci=n(287),si=n(30),li=function({onClick:e=d.noop,small:t=!1}){const{shortcut:n,areAdvancedSettingsOpened:o}=Object(b.useSelect)(e=>({shortcut:e(N.store).getShortcutRepresentation("core/edit-post/toggle-sidebar"),areAdvancedSettingsOpened:"edit-post/block"===e(w.a).getActiveGeneralSidebarName()}),[]),{openGeneralSidebar:a,closeGeneralSidebar:i}=Object(b.useDispatch)(w.a),c=o?Object(f.__)("Hide more settings"):Object(f.__)("Show more settings");return Object(r.createElement)(m.MenuItem,{onClick:()=>{o?(i(),Object(si.speak)(Object(f.__)("Block settings closed"))):(a("edit-post/block"),Object(si.speak)(Object(f.__)("Additional settings are now available in the Editor block settings sidebar"))),e()},shortcut:n},!t&&c)};function ui({children:e,contentRef:t,isTemplateMode:n,styles:o,style:i}){const c=Object(a.__unstableUseMouseMoveTypingReset)();return n?Object(r.createElement)(a.__unstableIframe,{head:Object(r.createElement)(a.__unstableEditorStyles,{styles:o}),ref:c,contentRef:t,style:{width:"100%",height:"100%",display:"block"}},e):Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.__unstableEditorStyles,{styles:o}),Object(r.createElement)("div",{ref:t,className:"editor-styles-wrapper",style:{flex:"1",...i}},e))}function di({styles:e}){const{deviceType:t,isTemplateMode:n,wrapperBlockName:o,wrapperUniqueId:c}=Object(b.useSelect)(e=>{const{isEditingTemplate:t,__experimentalGetPreviewDeviceType:n}=e(w.a),{getCurrentPostId:r,getCurrentPostType:o}=e(i.store),a=t();let c;return"wp_block"===o()?c="core/block":a||(c="core/post-content"),{deviceType:n(),isTemplateMode:a,wrapperBlockName:c,wrapperUniqueId:r()}},[]),s=Object(b.useSelect)(e=>e(w.a).hasMetaBoxes(),[]),l=Object(b.useSelect)(e=>{const{getSettings:t}=e(a.store);return t().supportsLayout},[]),{clearSelectedBlock:u}=Object(b.useDispatch)(a.store),{setIsEditingTemplate:d}=Object(b.useDispatch)(w.a),p={height:"100%",width:"100%",margin:0,display:"flex",flexFlow:"column",background:"white"},h={...p,borderRadius:"2px 2px 0 0",border:"1px solid #ddd",borderBottom:0},g=Object(a.__experimentalUseResizeCanvas)(t,n),O=Object(a.useSetting)("layout"),{contentSize:y,wideSize:j}=O||{};let E,_=n?h:p;g&&(_=g),s||g||n||(E="40vh");const S=Object(r.useRef)(),x=Object(v.useMergeRefs)([S,Object(a.__unstableUseClipboardHandler)(),Object(a.__unstableUseCanvasClickRedirect)(),Object(a.__unstableUseTypewriter)(),Object(a.__unstableUseTypingObserver)(),Object(a.__unstableUseBlockSelectionClearer)()]),P=Object(a.__unstableUseBlockSelectionClearer)(),[,k]=Object(a.__experimentalUseNoRecursiveRenders)(c,o),T=Object(r.useMemo)(()=>n?{type:"default"}:l?{type:"default",alignments:y||j?["wide","full"]:["left","center","right"]}:void 0,[n,l,y,j]);return Object(r.createElement)("div",{className:I()("edit-post-visual-editor",{"is-template-mode":n})},Object(r.createElement)(i.VisualEditorGlobalKeyboardShortcuts,null),Object(r.createElement)(a.BlockTools,{__unstableContentRef:S},Object(r.createElement)(ii.div,{className:"edit-post-visual-editor__content-area",animate:{padding:n?"48px 48px 0":"0"},ref:P},n&&Object(r.createElement)(m.Button,{className:"edit-post-visual-editor__exit-template-mode",icon:ci.a,onClick:()=>{u(),d(!1)}},Object(f.__)("Back")),Object(r.createElement)(ii.div,{animate:_,initial:p},Object(r.createElement)(ui,{isTemplateMode:n,contentRef:x,styles:e,style:{paddingBottom:E}},l&&!n&&Object(r.createElement)(a.__experimentalLayoutStyle,{selector:".edit-post-visual-editor__post-title-wrapper, .block-editor-block-list__layout.is-root-container",layout:O}),Object(r.createElement)(a.WritingFlow,null,!n&&Object(r.createElement)("div",{className:"edit-post-visual-editor__post-title-wrapper"},Object(r.createElement)(i.PostTitle,null)),Object(r.createElement)(k,null,Object(r.createElement)(a.BlockList,{__experimentalLayout:T}))))))),Object(r.createElement)(a.__unstableBlockSettingsMenuFirstItem,null,({onClose:e})=>Object(r.createElement)(li,{onClick:e})))}var pi=function(){const{getBlockSelectionStart:e}=Object(b.useSelect)(a.store),{getEditorMode:t,isEditorSidebarOpened:n,isListViewOpened:o}=Object(b.useSelect)(w.a),c=Object(b.useSelect)(e=>{const{richEditingEnabled:t,codeEditingEnabled:n}=e(i.store).getEditorSettings();return!t||!n},[]),{switchEditorMode:s,openGeneralSidebar:l,closeGeneralSidebar:u,toggleFeature:d,setIsListViewOpened:p}=Object(b.useDispatch)(w.a),{registerShortcut:m}=Object(b.useDispatch)(N.store);return Object(r.useEffect)(()=>{m({name:"core/edit-post/toggle-mode",category:"global",description:Object(f.__)("Switch between visual editor and code editor."),keyCombination:{modifier:"secondary",character:"m"}}),m({name:"core/edit-post/toggle-fullscreen",category:"global",description:Object(f.__)("Toggle fullscreen mode."),keyCombination:{modifier:"secondary",character:"f"}}),m({name:"core/edit-post/toggle-block-navigation",category:"global",description:Object(f.__)("Open the block list view."),keyCombination:{modifier:"access",character:"o"}}),m({name:"core/edit-post/toggle-sidebar",category:"global",description:Object(f.__)("Show or hide the settings sidebar."),keyCombination:{modifier:"primaryShift",character:","}}),m({name:"core/edit-post/next-region",category:"global",description:Object(f.__)("Navigate to the next part of the editor."),keyCombination:{modifier:"ctrl",character:"`"},aliases:[{modifier:"access",character:"n"}]}),m({name:"core/edit-post/previous-region",category:"global",description:Object(f.__)("Navigate to the previous part of the editor."),keyCombination:{modifier:"ctrlShift",character:"`"},aliases:[{modifier:"access",character:"p"}]}),m({name:"core/edit-post/keyboard-shortcuts",category:"main",description:Object(f.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}})},[]),Object(N.useShortcut)("core/edit-post/toggle-mode",()=>{s("visual"===t()?"text":"visual")},{bindGlobal:!0,isDisabled:c}),Object(N.useShortcut)("core/edit-post/toggle-fullscreen",()=>{d("fullscreenMode")},{bindGlobal:!0}),Object(N.useShortcut)("core/edit-post/toggle-sidebar",t=>{if(t.preventDefault(),n())u();else{const t=e()?"edit-post/block":"edit-post/document";l(t)}},{bindGlobal:!0}),Object(N.useShortcut)("core/edit-post/toggle-block-navigation",()=>p(!o()),{bindGlobal:!0}),null};const mi=[{keyCombination:{modifier:"primary",character:"b"},description:Object(f.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:Object(f.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:Object(f.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:Object(f.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:Object(f.__)("Underline the selected text.")}];function bi({keyCombination:e,forceAriaLabel:t}){const n=e.modifier?x.displayShortcutList[e.modifier](e.character):e.character,o=e.modifier?x.shortcutAriaLabel[e.modifier](e.character):e.character;return Object(r.createElement)("kbd",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":t||o},Object(d.castArray)(n).map((e,t)=>"+"===e?Object(r.createElement)(r.Fragment,{key:t},e):Object(r.createElement)("kbd",{key:t,className:"edit-post-keyboard-shortcut-help-modal__shortcut-key"},e)))}var fi=function({description:e,keyCombination:t,aliases:n=[],ariaLabel:o}){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-description"},e),Object(r.createElement)("div",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-term"},Object(r.createElement)(bi,{keyCombination:t,forceAriaLabel:o}),n.map((e,t)=>Object(r.createElement)(bi,{keyCombination:e,forceAriaLabel:o,key:t}))))},vi=function({name:e}){const{keyCombination:t,description:n,aliases:o}=Object(b.useSelect)(t=>{const{getShortcutKeyCombination:n,getShortcutDescription:r,getShortcutAliases:o}=t(N.store);return{keyCombination:n(e),aliases:o(e),description:r(e)}});return t?Object(r.createElement)(fi,{keyCombination:t,description:n,aliases:o}):null};const hi="edit-post/keyboard-shortcut-help",gi=({shortcuts:e})=>Object(r.createElement)("ul",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-list",role:"list"},e.map((e,t)=>Object(r.createElement)("li",{className:"edit-post-keyboard-shortcut-help-modal__shortcut",key:t},Object(d.isString)(e)?Object(r.createElement)(vi,{name:e}):Object(r.createElement)(fi,e)))),Oi=({title:e,shortcuts:t,className:n})=>Object(r.createElement)("section",{className:I()("edit-post-keyboard-shortcut-help-modal__section",n)},!!e&&Object(r.createElement)("h2",{className:"edit-post-keyboard-shortcut-help-modal__section-title"},e),Object(r.createElement)(gi,{shortcuts:t})),yi=({title:e,categoryName:t,additionalShortcuts:n=[]})=>{const o=Object(b.useSelect)(e=>e(N.store).getCategoryShortcuts(t),[t]);return Object(r.createElement)(Oi,{title:e,shortcuts:o.concat(n)})};var ji=Object(v.compose)([Object(b.withSelect)(e=>({isModalActive:e(w.a).isModalActive(hi)})),Object(b.withDispatch)((e,{isModalActive:t})=>{const{openModal:n,closeModal:r}=e(w.a);return{toggleModal:()=>t?r():n(hi)}})])((function({isModalActive:e,toggleModal:t}){return Object(N.useShortcut)("core/edit-post/keyboard-shortcuts",t,{bindGlobal:!0}),e?Object(r.createElement)(m.Modal,{className:"edit-post-keyboard-shortcut-help-modal",title:Object(f.__)("Keyboard shortcuts"),closeLabel:Object(f.__)("Close"),onRequestClose:t},Object(r.createElement)(Oi,{className:"edit-post-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/edit-post/keyboard-shortcuts"]}),Object(r.createElement)(yi,{title:Object(f.__)("Global shortcuts"),categoryName:"global"}),Object(r.createElement)(yi,{title:Object(f.__)("Selection shortcuts"),categoryName:"selection"}),Object(r.createElement)(yi,{title:Object(f.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:Object(f.__)("Change the block type after adding a new paragraph."),
18
  /* translators: The forward-slash character. e.g. '/'. */
19
  ariaLabel:Object(f.__)("Forward-slash")}]}),Object(r.createElement)(Oi,{title:Object(f.__)("Text formatting"),shortcuts:mi})):null})),Ei=function({blockTypes:e,value:t,onItemChange:n}){return Object(r.createElement)("ul",{className:"edit-post-manage-blocks-modal__checklist"},e.map(e=>Object(r.createElement)("li",{key:e.name,className:"edit-post-manage-blocks-modal__checklist-item"},Object(r.createElement)(m.CheckboxControl,{label:Object(r.createElement)(r.Fragment,null,e.title,Object(r.createElement)(a.BlockIcon,{icon:e.icon})),checked:t.includes(e.name),onChange:Object(d.partial)(n,e.name)}))))},_i=Object(r.createContext)({}),wi=Object(v.compose)([v.withInstanceId,Object(b.withSelect)(e=>{const{getPreference:t}=e(w.a);return{hiddenBlockTypes:t("hiddenBlockTypes")}}),Object(b.withDispatch)((e,t)=>{const{showBlockTypes:n,hideBlockTypes:r}=e(w.a);return{toggleVisible(e,t){t?n(e):r(e)},toggleAllVisible(e){const o=Object(d.map)(t.blockTypes,"name");e?n(o):r(o)}}})])((function({instanceId:e,title:t,blockTypes:n,hiddenBlockTypes:o,toggleVisible:a,toggleAllVisible:i}){const c=Object(r.useContext)(_i),{allowedBlockTypes:s}=c,l=Object(r.useMemo)(()=>!0===s?n:n.filter(({name:e})=>Object(d.includes)(s||[],e)),[s,n]);if(!l.length)return null;const u=Object(d.without)(Object(d.map)(l,"name"),...o),p="edit-post-manage-blocks-modal__category-title-"+e,b=u.length===l.length;let f;return f=b?"true":u.length>0?"mixed":"false",Object(r.createElement)("div",{role:"group","aria-labelledby":p,className:"edit-post-manage-blocks-modal__category"},Object(r.createElement)(m.CheckboxControl,{checked:b,onChange:i,className:"edit-post-manage-blocks-modal__category-title","aria-checked":f,label:Object(r.createElement)("span",{id:p},t)}),Object(r.createElement)(Ei,{blockTypes:l,value:u,onItemChange:a}))})),Si=Object(b.withSelect)(e=>{const{getBlockTypes:t,getCategories:n,hasBlockSupport:r,isMatchingSearchTerm:o}=e(p.store),{getPreference:a}=e(w.a),i=a("hiddenBlockTypes"),c=Object(d.isArray)(i)&&i.length;return{blockTypes:t(),categories:n(),hasBlockSupport:r,isMatchingSearchTerm:o,numberOfHiddenBlocks:c}})((function({blockTypes:e,categories:t,hasBlockSupport:n,isMatchingSearchTerm:o,numberOfHiddenBlocks:a}){const[i,c]=Object(r.useState)("");return e=e.filter(e=>n(e,"inserter",!0)&&(!i||o(e,i))&&(!e.parent||Object(d.includes)(e.parent,"core/post-content"))),Object(r.createElement)("div",{className:"edit-post-manage-blocks-modal__content"},Object(r.createElement)(m.TextControl,{type:"search",label:Object(f.__)("Search for a block"),value:i,onChange:e=>c(e),className:"edit-post-manage-blocks-modal__search"}),!!a&&Object(r.createElement)("div",{className:"edit-post-manage-blocks-modal__disabled-blocks-count"},Object(f.sprintf)(
20
  /* translators: %d: number of blocks. */
14
  /* translators: accessibility text for the footer landmark region. */
15
  footer:Object(_.__)("Footer"),...c};return Object(O.createElement)("div",{ref:Object(z.useMergeRefs)([u,d]),className:j()(s,"interface-interface-skeleton",p,!!e&&"has-footer")},!!a&&Object(O.createElement)("div",{className:"interface-interface-skeleton__drawer",role:"region","aria-label":m.drawer},a),Object(O.createElement)("div",{className:"interface-interface-skeleton__editor"},!!t&&Object(O.createElement)("div",{className:"interface-interface-skeleton__header",role:"region","aria-label":m.header,tabIndex:"-1"},t),Object(O.createElement)("div",{className:"interface-interface-skeleton__body"},!!r&&Object(O.createElement)("div",{className:"interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":m.secondarySidebar,tabIndex:"-1"},r),Object(O.createElement)("div",{className:"interface-interface-skeleton__content",role:"region","aria-label":m.body,tabIndex:"-1"},o),!!n&&Object(O.createElement)("div",{className:"interface-interface-skeleton__sidebar",role:"region","aria-label":m.sidebar,tabIndex:"-1"},n),!!i&&Object(O.createElement)("div",{className:"interface-interface-skeleton__actions",role:"region","aria-label":m.actions,tabIndex:"-1"},i))),!!e&&Object(O.createElement)("div",{className:"interface-interface-skeleton__footer",role:"region","aria-label":m.footer,tabIndex:"-1"},e))}))},28:function(e,t){e.exports=window.wp.notices},287:function(e,t,n){"use strict";var r=n(0),o=n(6);const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.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"}));t.a=a},29:function(e,t,n){"use strict";var r,o;function a(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function c(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,t.a=function(e,t){var n,s;function l(){n=o?new WeakMap:i()}function u(){var n,r,o,a,i,l=arguments.length;for(a=new Array(l),o=0;o<l;o++)a[o]=arguments[o];for(i=t.apply(null,a),(n=s(i)).isUniqueByDependants||(n.lastDependants&&!c(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(c(r.args,a,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,a)},a[0]=null,r.args=a,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=a),s=o?function(e){var t,o,a,c,s,l=n,u=!0;for(t=0;t<e.length;t++){if(!(s=o=e[t])||"object"!=typeof s){u=!1;break}l.has(o)?l=l.get(o):(a=new WeakMap,l.set(o,a),l=a)}return l.has(r)||((c=i()).isUniqueByDependants=u,l.set(r,c)),l.get(r)}:function(){return n},u.getDependants=t,u.clear=l,l(),u}},3:function(e,t){e.exports=window.wp.components},30:function(e,t){e.exports=window.wp.a11y},33:function(e,t){e.exports=window.wp.dataControls},36:function(e,t){e.exports=window.wp.plugins},397:function(e,t,n){"use strict";n.r(t),n.d(t,"store",(function(){return w.a})),n.d(t,"reinitializeEditor",(function(){return gs})),n.d(t,"initializeEditor",(function(){return Os})),n.d(t,"PluginBlockSettingsMenuItem",(function(){return fs})),n.d(t,"PluginDocumentSettingPanel",(function(){return Fc.a})),n.d(t,"PluginMoreMenuItem",(function(){return vs})),n.d(t,"PluginPostPublishPanel",(function(){return ns})),n.d(t,"PluginPostStatusInfo",(function(){return _c})),n.d(t,"PluginPrePublishPanel",(function(){return is})),n.d(t,"PluginSidebar",(function(){return Uc})),n.d(t,"PluginSidebarMoreMenuItem",(function(){return hs})),n.d(t,"__experimentalFullscreenModeClose",(function(){return Ii})),n.d(t,"__experimentalMainDashboardButton",(function(){return oc}));var r=n(0),o=n(11),a=n(5),i=n(15),c=n(50),s=n(19),l=n(51);Object(s.addFilter)("editor.MediaUpload","core/edit-post/replace-media-upload",()=>l.MediaUpload);var u=n(7),d=n(2),p=n(8),m=n(3),b=n(4),f=n(1),v=n(9);const h=Object(v.compose)(Object(b.withSelect)((e,t)=>{if(Object(p.hasBlockSupport)(t.name,"multiple",!0))return{};const n=e(a.store).getBlocks(),r=Object(d.find)(n,({name:e})=>t.name===e);return{originalBlockClientId:r&&r.clientId!==t.clientId&&r.clientId}}),Object(b.withDispatch)((e,{originalBlockClientId:t})=>({selectFirst:()=>e(a.store).selectBlock(t)}))),g=Object(v.createHigherOrderComponent)(e=>h(({originalBlockClientId:t,selectFirst:n,...o})=>{if(!t)return Object(r.createElement)(e,o);const i=Object(p.getBlockType)(o.name),c=function(e){const t=Object(p.findTransform)(Object(p.getBlockTransforms)("to",e),({type:e,blocks:t})=>"block"===e&&1===t.length);return t?Object(p.getBlockType)(t.blocks[0]):null}(o.name);return[Object(r.createElement)("div",{key:"invalid-preview",style:{minHeight:"60px"}},Object(r.createElement)(e,Object(u.a)({key:"block-edit"},o))),Object(r.createElement)(a.Warning,{key:"multiple-use-warning",actions:[Object(r.createElement)(m.Button,{key:"find-original",variant:"secondary",onClick:n},Object(f.__)("Find original")),Object(r.createElement)(m.Button,{key:"remove",variant:"secondary",onClick:()=>o.onReplace([])},Object(f.__)("Remove")),c&&Object(r.createElement)(m.Button,{key:"transform",variant:"secondary",onClick:()=>o.onReplace(Object(p.createBlock)(c.name,o.attributes))},Object(f.__)("Transform into:")," ",c.title)]},Object(r.createElement)("strong",null,i.title,": "),Object(f.__)("This block can only be used once."))]}),"withMultipleValidation");Object(s.addFilter)("editor.BlockEdit","core/edit-post/validate-multiple-use/with-multiple-validation",g);var O=n(193),y=n(36),j=n(20),E=n(28);function _(){const{createNotice:e}=Object(b.useDispatch)(E.store),t=Object(b.useSelect)(e=>()=>e(i.store).getEditedPostAttribute("content"),[]),n=Object(v.useCopyToClipboard)(t,(function(){e("info",Object(f.__)("All content copied."),{isDismissible:!0,type:"snackbar"})}));return Object(r.createElement)(m.MenuItem,{ref:n},Object(f.__)("Copy all content"))}var w=n(18),S=Object(b.withDispatch)(e=>{const{openModal:t}=e(w.a);return{openModal:t}})((function({openModal:e}){return Object(r.createElement)(m.MenuItem,{onClick:()=>{e("edit-post/manage-blocks")}},Object(f.__)("Block Manager"))})),x=n(13),P=Object(b.withDispatch)(e=>{const{openModal:t}=e(w.a);return{openModal:t}})((function({openModal:e}){return Object(r.createElement)(m.MenuItem,{onClick:()=>{e("edit-post/keyboard-shortcut-help")},shortcut:x.displayShortcut.access("h")},Object(f.__)("Keyboard shortcuts"))}));const{Fill:k,Slot:T}=Object(m.createSlotFill)("ToolsMoreMenuGroup");k.Slot=({fillProps:e})=>Object(r.createElement)(T,{fillProps:e},e=>!Object(d.isEmpty)(e)&&Object(r.createElement)(m.MenuGroup,{label:Object(f.__)("Tools")},e));var C=k;function A(){const e=Object(b.useSelect)(e=>e(w.a).isEditingTemplate(),[]),{toggleFeature:t}=Object(b.useDispatch)(w.a);return Object(r.createElement)(m.MenuItem,{onClick:()=>t(e?"welcomeGuideTemplate":"welcomeGuide")},Object(f.__)("Welcome Guide"))}Object(y.registerPlugin)("edit-post",{render:()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(C,null,({onClose:e})=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(S,{onSelect:e}),Object(r.createElement)(m.MenuItem,{role:"menuitem",href:Object(j.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(f.__)("Manage Reusable blocks")),Object(r.createElement)(P,{onSelect:e}),Object(r.createElement)(A,null),Object(r.createElement)(_,null),Object(r.createElement)(m.MenuItem,{role:"menuitem",icon:O.a,href:Object(f.__)("https://wordpress.org/support/article/wordpress-editor/"),target:"_blank",rel:"noopener noreferrer"},Object(f.__)("Help"),Object(r.createElement)(m.VisuallyHidden,{as:"span"},
16
  /* translators: accessibility text */
17
+ Object(f.__)("(opens in a new tab)"))))))});var M={"t a l e s o f g u t e n b e r g":e=>{const{ownerDocument:t}=e.target;(t.activeElement.classList.contains("edit-post-visual-editor")||t.activeElement===t.body)&&(e.preventDefault(),window.wp.data.dispatch("core/block-editor").insertBlock(window.wp.blocks.createBlock("core/paragraph",{content:"🐡🐢🦀🐤🦋🐘🐧🐹🦁🦄🦍🐼🐿🎃🐴🐝🐆🦕🦔🌱🍇π🍌🐉💧🥨🌌🍂🍠🥦🥚🥝🎟🥥🥒🛵🥖🍒🍯🎾🎲🐺🐚🐮⌛️"})))}},B=n(10),I=n.n(B),L=n(27),N=n(24),D=Object(v.compose)(Object(b.withSelect)(e=>({isRichEditingEnabled:e(i.store).getEditorSettings().richEditingEnabled})),Object(b.withDispatch)(e=>({onExit(){e(w.a).switchEditorMode("visual")}})))((function({onExit:e,isRichEditingEnabled:t}){return Object(r.createElement)("div",{className:"edit-post-text-editor"},t&&Object(r.createElement)("div",{className:"edit-post-text-editor__toolbar"},Object(r.createElement)("h2",null,Object(f.__)("Editing code")),Object(r.createElement)(m.Button,{variant:"tertiary",onClick:e,shortcut:x.displayShortcut.secondary("m")},Object(f.__)("Exit code editor")),Object(r.createElement)(i.TextEditorGlobalKeyboardShortcuts,null)),Object(r.createElement)("div",{className:"edit-post-text-editor__body"},Object(r.createElement)(i.PostTitle,null),Object(r.createElement)(i.PostTextEditor,null)))})),R=function(e,t){return(R=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function V(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}R(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var F=function(){return(F=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function U(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function G(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function H(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}Object.create,Object.create;var z=n(12),W=n.n(z),Y=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},q={measureLayout:Y(["layout","layoutId","drag"]),animation:Y(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:Y(["exit"]),drag:Y(["drag","dragControls"]),focus:Y(["whileFocus"]),hover:Y(["whileHover","onHoverStart","onHoverEnd"]),tap:Y(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Y(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:Y(["layout","layoutId"])},X=Object(z.createContext)({strict:!1}),K=Object.keys(q),$=K.length,Z=Object(z.createContext)({transformPagePoint:function(e){return e},isStatic:!1}),Q=Object(z.createContext)({}),J=Object(z.createContext)(null);function ee(e){var t=Object(z.useRef)(null);return null===t.current&&(t.current=e()),t.current}function te(){var e=Object(z.useContext)(J);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=oe();return Object(z.useEffect)((function(){return r(o)}),[]),!t&&n?[!1,function(){return null==n?void 0:n(o)}]:[!0]}var ne=0,re=function(){return ne++},oe=function(){return ee(re)},ae=Object(z.createContext)(null),ie="undefined"!=typeof window,ce=ie?z.useLayoutEffect:z.useEffect;function se(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function le(e){return Array.isArray(e)}function ue(e){return"string"==typeof e||le(e)}function de(e,t,n,r,o){var a;return void 0===r&&(r={}),void 0===o&&(o={}),"string"==typeof t&&(t=null===(a=e.variants)||void 0===a?void 0:a[t]),"function"==typeof t?t(null!=n?n:e.custom,r,o):t}function pe(e,t,n){var r=e.getProps();return de(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function me(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||ue(e.initial)||ue(e.animate)||ue(e.whileHover)||ue(e.whileDrag)||ue(e.whileTap)||ue(e.whileFocus)||ue(e.exit)}function be(e){return Boolean(me(e)||e.variants)}function fe(e){return Array.isArray(e)?e.join(" "):e}function ve(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.useRender,o=e.useVisualState,a=e.Component;return t&&function(e){for(var t in e){var n=e[t];null!==n&&(q[t].Component=n)}}(t),Object(z.forwardRef)((function(e,t){var i=Object(z.useContext)(Z).isStatic,c=null,s=function(e,t){var n=function(e,t){if(me(e)){var n=e.initial,r=e.animate;return{initial:!1===n||ue(n)?n:void 0,animate:ue(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,Object(z.useContext)(Q)),r=n.initial,o=n.animate;return Object(z.useMemo)((function(){return{initial:r,animate:o}}),t?[fe(r),fe(o)]:[])}(e,i),l=o(e,i);return!i&&ie&&(s.visualElement=function(e,t,n,r){var o=Object(z.useContext)(Z),a=Object(z.useContext)(X),i=Object(z.useContext)(Q).visualElement,c=Object(z.useContext)(J),s=function(e){var t=e.layoutId,n=Object(z.useContext)(ae);return n&&void 0!==t?n+"-"+t:t}(n),l=Object(z.useRef)(void 0);r||(r=a.renderer),!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:F(F({},n),{layoutId:s}),presenceId:null==c?void 0:c.id,blockInitialAnimation:!1===(null==c?void 0:c.initial)}));var u=l.current;return ce((function(){var e;u&&(u.setProps(F(F(F({},o),n),{layoutId:s})),u.isPresent=null===(e=c)||e.isPresent,u.isPresenceRoot=!i||i.presenceId!==(null==c?void 0:c.id),u.syncRender())})),Object(z.useEffect)((function(){var e;u&&(null===(e=u.animationState)||void 0===e||e.animateChanges())})),ce((function(){return function(){return null==u?void 0:u.notifyUnmount()}}),[]),u}(a,l,e,n),c=function(e,t,n){var r=[];if(Object(z.useContext)(X),!t)return null;for(var o=0;o<$;o++){var a=K[o],i=q[a],c=i.isEnabled,s=i.Component;c(e)&&s&&r.push(z.createElement(s,F({key:a},e,{visualElement:t})))}return r}(e,s.visualElement)),z.createElement(z.Fragment,null,z.createElement(Q.Provider,{value:s},r(a,e,function(e,t,n){return Object(z.useCallback)((function(r){var o;r&&(null===(o=e.mount)||void 0===o||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):se(n)&&(n.current=r))}),[t])}(l,s.visualElement,t),l,i)),c)}))}function he(e){function t(t,n){return void 0===n&&(n={}),ve(e(t,n))}var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var ge=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function Oe(e){return"string"==typeof e&&!e.includes("-")&&!!(ge.indexOf(e)>-1||/[A-Z]/.test(e))}var ye={},je=["","X","Y","Z"],Ee=["transformPerspective","x","y","z"];function _e(e,t){return Ee.indexOf(e)-Ee.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return je.forEach((function(t){return Ee.push(e+t)}))}));var we=new Set(Ee);function Se(e){return we.has(e)}var xe=new Set(["originX","originY","originZ"]);function Pe(e){return xe.has(e)}function ke(e,t){var n=t.layout,r=t.layoutId;return Se(e)||Pe(e)||(n||void 0!==r)&&(!!ye[e]||"opacity"===e)}var Te=function(e){return null!==e&&"object"==typeof e&&e.getVelocity},Ce={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Ae(e){return e.startsWith("--")}var Me=function(e,t){return t&&"number"==typeof e?t.transform(e):e},Be=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},Ie=function(e){return e%1?Number(e.toFixed(5)):e},Le=/(-)?([\d]*\.?[\d])+/g,Ne=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,De=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Re(e){return"string"==typeof e}var Ve=function(e){return{test:function(t){return Re(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+e}}},Fe=Ve("deg"),Ue=Ve("%"),Ge=Ve("px"),He=Ve("vh"),ze=Ve("vw"),We=F(F({},Ue),{parse:function(e){return Ue.parse(e)/100},transform:function(e){return Ue.transform(100*e)}}),Ye={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},qe=F(F({},Ye),{transform:Be(0,1)}),Xe=F(F({},Ye),{default:1}),Ke=F(F({},Ye),{transform:Math.round}),$e={borderWidth:Ge,borderTopWidth:Ge,borderRightWidth:Ge,borderBottomWidth:Ge,borderLeftWidth:Ge,borderRadius:Ge,radius:Ge,borderTopLeftRadius:Ge,borderTopRightRadius:Ge,borderBottomRightRadius:Ge,borderBottomLeftRadius:Ge,width:Ge,maxWidth:Ge,height:Ge,maxHeight:Ge,size:Ge,top:Ge,right:Ge,bottom:Ge,left:Ge,padding:Ge,paddingTop:Ge,paddingRight:Ge,paddingBottom:Ge,paddingLeft:Ge,margin:Ge,marginTop:Ge,marginRight:Ge,marginBottom:Ge,marginLeft:Ge,rotate:Fe,rotateX:Fe,rotateY:Fe,rotateZ:Fe,scale:Xe,scaleX:Xe,scaleY:Xe,scaleZ:Xe,skew:Fe,skewX:Fe,skewY:Fe,distance:Ge,translateX:Ge,translateY:Ge,translateZ:Ge,x:Ge,y:Ge,z:Ge,perspective:Ge,transformPerspective:Ge,opacity:qe,originX:We,originY:We,originZ:Ge,zIndex:Ke,fillOpacity:qe,strokeOpacity:qe,numOctaves:Ke};function Ze(e,t,n,r,o,a,i,c){var s,l=e.style,u=e.vars,d=e.transform,p=e.transformKeys,m=e.transformOrigin;p.length=0;var b=!1,f=!1,v=!0;for(var h in t){var g=t[h];if(Ae(h))u[h]=g;else{var O=$e[h],y=Me(g,O);if(Se(h)){if(b=!0,d[h]=y,p.push(h),!v)continue;g!==(null!==(s=O.default)&&void 0!==s?s:0)&&(v=!1)}else if(Pe(h))m[h]=y,f=!0;else if(r&&n&&r.isHydrated&&ye[h]){var j=ye[h].process(g,r,n),E=ye[h].applyTo;if(E)for(var _=E.length,w=0;w<_;w++)l[E[w]]=j;else l[h]=j}else l[h]=y}}r&&n&&i&&c?(l.transform=i(r.deltaFinal,r.treeScale,b?d:void 0),a&&(l.transform=a(d,l.transform)),l.transformOrigin=c(r)):(b&&(l.transform=function(e,t,n,r){var o=e.transform,a=e.transformKeys,i=t.enableHardwareAcceleration,c=void 0===i||i,s=t.allowTransformNone,l=void 0===s||s,u="";a.sort(_e);for(var d=!1,p=a.length,m=0;m<p;m++){var b=a[m];u+=(Ce[b]||b)+"("+o[b]+") ","z"===b&&(d=!0)}return!d&&c?u+="translateZ(0)":u=u.trim(),r?u=r(o,n?"":u):l&&n&&(u="none"),u}(e,o,v,a)),f&&(l.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,a=e.originZ;return n+" "+o+" "+(void 0===a?0:a)}(m)))}function Qe(e,t,n){for(var r in t)Te(t[r])||ke(r,n)||(e[r]=t[r])}function Je(e,t,n){var r={},o=function(e,t,n){var r={};return Qe(r,e.style||{},e),Object.assign(r,function(e,t,n){var r=e.transformTemplate;return Object(z.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};Ze(e,t,void 0,void 0,{enableHardwareAcceleration:!n},r);var o=e.style;return F(F({},e.vars),o)}),[t])}(e,t,n)),e.transformValues&&(r=e.transformValues(r)),r}(e,t,n);return Boolean(e.drag)&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),r.style=o,r}var et=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function tt(e){return et.has(e)}var nt=function(e){return!tt(e)};try{var rt=n(162).default;nt=function(e){return e.startsWith("on")?!tt(e):rt(e)}}catch(e){}function ot(e,t,n){return"string"==typeof e?e:Ge.transform(t+n*e)}var at=function(e,t){return Ge.transform(e*t)},it={offset:"stroke-dashoffset",array:"stroke-dasharray"},ct={offset:"strokeDashoffset",array:"strokeDasharray"};function st(e,t,n,r,o,a,i,c){var s=t.attrX,l=t.attrY,u=t.originX,d=t.originY,p=t.pathLength,m=t.pathSpacing,b=void 0===m?1:m,f=t.pathOffset,v=void 0===f?0:f;Ze(e,U(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r,o,a,i,c),e.attrs=e.style,e.style={};var h=e.attrs,g=e.style,O=e.dimensions,y=e.totalPathLength;h.transform&&(O&&(g.transform=h.transform),delete h.transform),O&&(void 0!==u||void 0!==d||g.transform)&&(g.transformOrigin=function(e,t,n){return ot(t,e.x,e.width)+" "+ot(n,e.y,e.height)}(O,void 0!==u?u:.5,void 0!==d?d:.5)),void 0!==s&&(h.x=s),void 0!==l&&(h.y=l),void 0!==y&&void 0!==p&&function(e,t,n,r,o,a){void 0===r&&(r=1),void 0===o&&(o=0),void 0===a&&(a=!0);var i=a?it:ct;e[i.offset]=at(-o,t);var c=at(n,t),s=at(r,t);e[i.array]=c+" "+s}(h,y,p,b,v,!1)}var lt=function(){return F(F({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function ut(e,t){var n=Object(z.useMemo)((function(){var n=lt();return st(n,t,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),F(F({},n.attrs),{style:F({},n.style)})}),[t]);if(e.style){var r={};Qe(r,e.style,e),n.style=F(F({},r),n.style)}return n}function dt(e){return void 0===e&&(e=!1),function(t,n,r,o,a){var i=o.latestValues,c=(Oe(t)?ut:Je)(n,i,a),s=function(e,t,n){var r={};for(var o in e)(nt(o)||!0===n&&tt(o)||!t&&!tt(o))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),l=F(F(F({},s),c),{ref:r});return Object(z.createElement)(t,l)}}var pt=/([a-z])([A-Z])/g,mt=function(e){return e.replace(pt,"$1-$2").toLowerCase()};function bt(e,t){var n=t.style,r=t.vars;for(var o in Object.assign(e.style,n),r)e.style.setProperty(o,r[o])}var ft=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox"]);function vt(e,t){for(var n in bt(e,t),t.attrs)e.setAttribute(ft.has(n)?n:mt(n),t.attrs[n])}function ht(e){var t=e.style,n={};for(var r in t)(Te(t[r])||ke(r,e))&&(n[r]=t[r]);return n}function gt(e){var t=ht(e);for(var n in e)Te(e[n])&&(t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]);return t}function Ot(e){return"object"==typeof e&&"function"==typeof e.start}var yt=function(e){return Array.isArray(e)};function jt(e,t,n,r){var o=e.scrapeMotionValuesFromProps,a=e.createRenderState,i=e.onMount,c={latestValues:_t(t,n,r,o),renderState:a()};return i&&(c.mount=function(e){return i(t,e,c)}),c}var Et=function(e){return function(t,n){var r=Object(z.useContext)(Q),o=Object(z.useContext)(J);return n?jt(e,t,r,o):ee((function(){return jt(e,t,r,o)}))}};function _t(e,t,n,r){var o,a,i,c={},s=!1===(null==n?void 0:n.initial),l=r(e);for(var u in l)c[u]=(o=l[u],a=void 0,i=void 0,i=Te(o)?o.get():o,a=i,Boolean(a&&"object"==typeof a&&a.mix&&a.toValue)?i.toValue():i);var d=e.initial,p=e.animate,m=me(e),b=be(e);t&&b&&!m&&!1!==e.inherit&&(null!=d||(d=t.initial),null!=p||(p=t.animate));var f=s||!1===d?p:d;return f&&"boolean"!=typeof f&&!Ot(f)&&(Array.isArray(f)?f:[f]).forEach((function(t){var n=de(e,t);if(n){var r=n.transitionEnd;n.transition;var o=U(n,["transitionEnd","transition"]);for(var a in o)c[a]=o[a];for(var a in r)c[a]=r[a]}})),c}var wt,St={useVisualState:Et({scrapeMotionValuesFromProps:gt,createRenderState:lt,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}"path"===t.tagName&&(r.totalPathLength=t.getTotalLength()),st(r,o,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),vt(t,r)}})},xt={useVisualState:Et({scrapeMotionValuesFromProps:ht,createRenderState:function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}}})};function Pt(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function kt(e,t,n,r){Object(z.useEffect)((function(){var o=e.current;if(n&&o)return Pt(o,t,n,r)}),[e,t,n,r])}function Tt(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Ct(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.Exit="exit"}(wt||(wt={}));var At={pageX:0,pageY:0};function Mt(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||At;return{x:n[t+"X"],y:n[t+"Y"]}}function Bt(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function It(e,t){return void 0===t&&(t="page"),{point:Ct(e)?Mt(e,t):Bt(e,t)}}function Lt(e){return It(e,"client")}var Nt=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,It(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},Dt={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Rt={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Vt(e){return ie&&null===window.onpointerdown?e:ie&&null===window.ontouchstart?Rt[e]:ie&&null===window.onmousedown?Dt[e]:e}function Ft(e,t,n,r){return Pt(e,Vt(t),Nt(n,"pointerdown"===t),r)}function Ut(e,t,n,r){return kt(e,Vt(t),n&&Nt(n,"pointerdown"===t),r)}function Gt(e,t,n){return function(r,o){var a;Tt(r)&&e.isHoverEventsEnabled&&(null==n||n(r,o),null===(a=e.animationState)||void 0===a||a.setActive(wt.Hover,t))}}var Ht=function(e,t){return!!t&&(e===t||Ht(e,t.parentElement))};function zt(e){return Object(z.useEffect)((function(){return function(){return e()}}),[])}var Wt=function(e,t){return function(n){return t(e(n))}},Yt=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(Wt)};function qt(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var Xt=qt("dragHorizontal"),Kt=qt("dragVertical");function $t(e){var t=!1;if("y"===e)t=Kt();else if("x"===e)t=Xt();else{var n=Xt(),r=Kt();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}var Zt=function(e){return function(t){return e(t),null}},Qt={tap:Zt((function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,a=e.visualElement,i=t||n||r||o,c=Object(z.useRef)(!1),s=Object(z.useRef)(null);function l(){var e;null===(e=s.current)||void 0===e||e.call(s),s.current=null}function u(){var e,t;return l(),c.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(wt.Tap,!1),!(!(t=$t(!0))||(t(),0))}function d(e,n){u()&&(Ht(a.getInstance(),e.target)?null==t||t(e,n):null==r||r(e,n))}function p(e,t){u()&&(null==r||r(e,t))}Ut(a,"pointerdown",i?function(e,t){var r;l(),c.current||(c.current=!0,s.current=Yt(Ft(window,"pointerup",d),Ft(window,"pointercancel",p)),null==n||n(e,t),null===(r=a.animationState)||void 0===r||r.setActive(wt.Tap,!0))}:void 0),zt(l)})),focus:Zt((function(e){var t=e.whileFocus,n=e.visualElement;kt(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(wt.Focus,!0)}:void 0),kt(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(wt.Focus,!1)}:void 0)})),hover:Zt((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;Ut(o,"pointerenter",t||r?Gt(o,!0,t):void 0),Ut(o,"pointerleave",n||r?Gt(o,!1,n):void 0)}))};function Jt(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var en=function(e,t,n){return Math.min(Math.max(n,e),t)};function tn(e,t){return e*Math.sqrt(1-t*t)}var nn=["duration","bounce"],rn=["stiffness","damping","mass"];function on(e,t){return t.some((function(t){return void 0!==e[t]}))}function an(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,a=e.restSpeed,i=void 0===a?2:a,c=e.restDelta,s=U(e,["from","to","restSpeed","restDelta"]),l={done:!1,value:n},u=function(e){var t=F({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!on(e,rn)&&on(e,nn)){var n=function(e){var t,n,r=e.duration,o=void 0===r?800:r,a=e.bounce,i=void 0===a?.25:a,c=e.velocity,s=void 0===c?0:c,l=e.mass,u=void 0===l?1:l,d=1-i;d=en(.05,1,d),o=en(.01,10,o/1e3),d<1?(t=function(e){var t=e*d,n=t*o;return.001-(t-s)/tn(e,d)*Math.exp(-n)},n=function(e){var n=e*d*o,r=n*s+s,a=Math.pow(d,2)*Math.pow(e,2)*o,i=Math.exp(-n),c=tn(Math.pow(e,2),d);return(.001-t(e)>0?-1:1)*((r-a)*i)/c}):(t=function(e){return Math.exp(-e*o)*((e-s)*o+1)-.001},n=function(e){return Math.exp(-e*o)*(o*o*(s-e))});var p=function(e,t,n){for(var r=n,o=1;o<12;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(isNaN(p))return{stiffness:100,damping:10};var m=Math.pow(p,2)*u;return{stiffness:m,damping:2*d*Math.sqrt(u*m)}}(e);(t=F(F(F({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(s),d=u.stiffness,p=u.damping,m=u.mass,b=u.velocity,f=u.isResolvedFromDuration,v=cn,h=cn;function g(){var e=b?-b/1e3:0,t=o-n,r=p/(2*Math.sqrt(d*m)),a=Math.sqrt(d/m)/1e3;if(null!=c||(c=Math.abs(o-n)<=1?.01:.4),r<1){var i=tn(a,r);v=function(n){var c=Math.exp(-r*a*n);return o-c*((e+r*a*t)/i*Math.sin(i*n)+t*Math.cos(i*n))},h=function(n){var o=Math.exp(-r*a*n);return r*a*o*(Math.sin(i*n)*(e+r*a*t)/i+t*Math.cos(i*n))-o*(Math.cos(i*n)*(e+r*a*t)-i*t*Math.sin(i*n))}}else if(1===r)v=function(n){return o-Math.exp(-a*n)*(t+(e+a*t)*n)};else{var s=a*Math.sqrt(r*r-1);v=function(n){var i=Math.exp(-r*a*n),c=Math.min(s*n,300);return o-i*((e+r*a*t)*Math.sinh(c)+s*t*Math.cosh(c))/s}}}return g(),{next:function(e){var t=v(e);if(f)l.done=e>=s.duration;else{var n=1e3*h(e),r=Math.abs(n)<=i,a=Math.abs(o-t)<=c;l.done=r&&a}return l.value=l.done?o:t,l},flipTarget:function(){var e;b=-b,n=(e=[o,n])[0],o=e[1],g()}}}an.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var cn=function(e){return 0},sn=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},ln=function(e,t,n){return-n*e+n*t+e},un=function(e,t){return function(n){return Boolean(Re(n)&&De.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},dn=function(e,t,n){return function(r){var o;if(!Re(r))return r;var a=r.match(Le),i=a[0],c=a[1],s=a[2],l=a[3];return(o={})[e]=parseFloat(i),o[t]=parseFloat(c),o[n]=parseFloat(s),o.alpha=void 0!==l?parseFloat(l):1,o}},pn=Be(0,255),mn=F(F({},Ye),{transform:function(e){return Math.round(pn(e))}}),bn={test:un("rgb","red"),parse:dn("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,a=void 0===o?1:o;return"rgba("+mn.transform(t)+", "+mn.transform(n)+", "+mn.transform(r)+", "+Ie(qe.transform(a))+")"}},fn={test:un("#"),parse:function(e){var t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:bn.transform},vn={test:un("hsl","hue"),parse:dn("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,a=void 0===o?1:o;return"hsla("+Math.round(t)+", "+Ue.transform(Ie(n))+", "+Ue.transform(Ie(r))+", "+Ie(qe.transform(a))+")"}},hn=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},gn=[fn,bn,vn],On=function(e){return gn.find((function(t){return t.test(e)}))},yn=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},jn=function(e,t){var n=On(e),r=On(t);yn(e),yn(t),n.transform,r.transform;var o=n.parse(e),a=r.parse(t),i=F({},o),c=n===vn?ln:hn;return function(e){for(var t in i)"alpha"!==t&&(i[t]=c(o[t],a[t],e));return i.alpha=ln(o.alpha,a.alpha,e),n.transform(i)}},En={test:function(e){return bn.test(e)||fn.test(e)||vn.test(e)},parse:function(e){return bn.test(e)?bn.parse(e):vn.test(e)?vn.parse(e):fn.parse(e)},transform:function(e){return Re(e)?e:e.hasOwnProperty("red")?bn.transform(e):vn.transform(e)}};function wn(e){var t=[],n=0,r=e.match(Ne);r&&(n=r.length,e=e.replace(Ne,"${c}"),t.push.apply(t,r.map(En.parse)));var o=e.match(Le);return o&&(e=e.replace(Le,"${n}"),t.push.apply(t,o.map(Ye.parse))),{values:t,numColors:n,tokenised:e}}function Sn(e){return wn(e).values}function xn(e){var t=wn(e),n=t.values,r=t.numColors,o=t.tokenised,a=n.length;return function(e){for(var t=o,n=0;n<a;n++)t=t.replace(n<r?"${c}":"${n}",n<r?En.transform(e[n]):Ie(e[n]));return t}}var Pn=function(e){return"number"==typeof e?0:e},kn={test:function(e){var t,n,r,o;return isNaN(e)&&Re(e)&&(null!==(n=null===(t=e.match(Le))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(Ne))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Sn,createTransformer:xn,getAnimatableNone:function(e){var t=Sn(e);return xn(e)(t.map(Pn))}},Tn=function(e){return"number"==typeof e};function Cn(e,t){return Tn(e)?function(n){return ln(e,t,n)}:En.test(e)?jn(e,t):In(e,t)}var An=function(e,t){var n=H([],e),r=n.length,o=e.map((function(e,n){return Cn(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},Mn=function(e,t){var n=F(F({},e),t),r={};for(var o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Cn(e[o],t[o]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function Bn(e){for(var t=kn.parse(e),n=t.length,r=0,o=0,a=0,i=0;i<n;i++)r||"number"==typeof t[i]?r++:void 0!==t[i].hue?a++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:a}}var In=function(e,t){var n=kn.createTransformer(t),r=Bn(e),o=Bn(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&(r.numNumbers,o.numNumbers),Yt(An(r.parsed,o.parsed),n)},Ln=function(e,t){return function(n){return ln(e,t,n)}};function Nn(e,t,n){var r=void 0===n?{}:n,o=r.clamp,a=void 0===o||o,i=r.ease,c=r.mixer,s=e.length;t.length,!i||!Array.isArray(i)||i.length,e[0]>e[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var l=function(e,t,n){for(var r,o=[],a=n||("number"==typeof(r=e[0])?Ln:"string"==typeof r?En.test(r)?jn:In:Array.isArray(r)?An:"object"==typeof r?Mn:void 0),i=e.length-1,c=0;c<i;c++){var s=a(e[c],e[c+1]);if(t){var l=Array.isArray(t)?t[c]:t;s=Yt(l,s)}o.push(s)}return o}(t,i,c),u=2===s?function(e,t){var n=e[0],r=e[1],o=t[0];return function(e){return o(sn(n,r,e))}}(e,l):function(e,t){var n=e.length,r=n-1;return function(o){var a=0,i=!1;if(o<=e[0]?i=!0:o>=e[r]&&(a=r-1,i=!0),!i){for(var c=1;c<n&&!(e[c]>o||c===r);c++);a=c-1}var s=sn(e[a],e[a+1],o);return t[a](s)}}(e,l);return a?function(t){return u(en(e[0],e[s-1],t))}:u}var Dn,Rn=function(e){return function(t){return 1-e(1-t)}},Vn=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},Fn=function(e){return function(t){return t*t*((e+1)*t-e)}},Un=function(e){return e},Gn=(2,function(e){return Math.pow(e,2)}),Hn=Rn(Gn),zn=Vn(Gn),Wn=function(e){return 1-Math.sin(Math.acos(e))},Yn=Rn(Wn),qn=Vn(Yn),Xn=Fn(1.525),Kn=Rn(Xn),$n=Vn(Xn),Zn=(Dn=Fn(1.525),function(e){return(e*=2)<1?.5*Dn(e):.5*(2-Math.pow(2,-10*(e-1)))}),Qn=function(e){if(1===e||0===e)return e;var t=e*e;return e<4/11?7.5625*t:e<8/11?9.075*t-9.9*e+3.4:e<.9?4356/361*t-35442/1805*e+16061/1805:10.8*e*e-20.52*e+10.72},Jn=Rn(Qn);function er(e,t){return e.map((function(){return t||zn})).splice(0,e.length-1)}function tr(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,a=e.ease,i=e.offset,c=e.duration,s=void 0===c?300:c,l={done:!1,value:n},u=Array.isArray(o)?o:[n,o],d=function(e,t){return e.map((function(e){return e*t}))}(i&&i.length===u.length?i:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(u),s);function p(){return Nn(d,u,{ease:Array.isArray(a)?a:er(u,a)})}var m=p();return{next:function(e){return l.value=m(e),l.done=e>=s,l},flipTarget:function(){u.reverse(),m=p()}}}var nr={keyframes:tr,spring:an,decay:function(e){var t=e.velocity,n=void 0===t?0:t,r=e.from,o=void 0===r?0:r,a=e.power,i=void 0===a?.8:a,c=e.timeConstant,s=void 0===c?350:c,l=e.restDelta,u=void 0===l?.5:l,d=e.modifyTarget,p={done:!1,value:o},m=i*n,b=o+m,f=void 0===d?b:d(b);return f!==b&&(m=f-o),{next:function(e){var t=-m*Math.exp(-e/s);return p.done=!(t>u||t<-u),p.value=p.done?f:f+t,p},flipTarget:function(){}}}},rr="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},or="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(rr())}),1/60*1e3)},ar=!0,ir=!1,cr=!1,sr={delta:0,timestamp:0},lr=["read","update","preRender","render","postRender"],ur=lr.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,o=!1,a=new WeakSet,i={schedule:function(e,i,c){void 0===i&&(i=!1),void 0===c&&(c=!1);var s=c&&o,l=s?t:n;return i&&a.add(e),-1===l.indexOf(e)&&(l.push(e),s&&o&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:function(c){var s;if(o=!0,t=(s=[n,t])[0],(n=s[1]).length=0,r=t.length)for(var l=0;l<r;l++){var u=t[l];u(c),a.has(u)&&(i.schedule(u),e())}o=!1}};return i}((function(){return ir=!0})),e}),{}),dr=lr.reduce((function(e,t){var n=ur[t];return e[t]=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),ir||vr(),n.schedule(e,t,r)},e}),{}),pr=lr.reduce((function(e,t){return e[t]=ur[t].cancel,e}),{}),mr=lr.reduce((function(e,t){return e[t]=function(){return ur[t].process(sr)},e}),{}),br=function(e){return ur[e].process(sr)},fr=function(e){ir=!1,sr.delta=ar?1/60*1e3:Math.max(Math.min(e-sr.timestamp,40),1),sr.timestamp=e,cr=!0,lr.forEach(br),cr=!1,ir&&(ar=!1,or(fr))},vr=function(){ir=!0,ar=!0,cr||or(fr)},hr=function(){return sr},gr=dr;function Or(e,t,n){return void 0===n&&(n=0),e-t-n}var yr=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return gr.update(t,!0)},stop:function(){return pr.update(t)}}};function jr(e){var t,n,r,o,a,i=e.from,c=e.autoplay,s=void 0===c||c,l=e.driver,u=void 0===l?yr:l,d=e.elapsed,p=void 0===d?0:d,m=e.repeat,b=void 0===m?0:m,f=e.repeatType,v=void 0===f?"loop":f,h=e.repeatDelay,g=void 0===h?0:h,O=e.onPlay,y=e.onStop,j=e.onComplete,E=e.onRepeat,_=e.onUpdate,w=U(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),S=w.to,x=0,P=w.duration,k=!1,T=!0,C=function(e){if(Array.isArray(e.to))return tr;if(nr[e.type])return nr[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?tr:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?an:tr}(w);(null===(n=(t=C).needsInterpolation)||void 0===n?void 0:n.call(t,i,S))&&(a=Nn([0,100],[i,S],{clamp:!1}),i=0,S=100);var A=C(F(F({},w),{from:i,to:S}));return s&&(null==O||O(),(r=u((function(e){if(T||(e=-e),p+=e,!k){var t=A.next(Math.max(0,p));o=t.value,a&&(o=a(o)),k=T?t.done:p<=0}null==_||_(o),k&&(0===x&&(null!=P||(P=p)),x<b?function(e,t,n,r){return r?e>=t+n:e<=-n}(p,P,g,T)&&(x++,"reverse"===v?p=function(e,t,n,r){return void 0===n&&(n=0),void 0===r&&(r=!0),r?Or(t+-e,t,n):t-(e-t)+n}(p,P,g,T=x%2==0):(p=Or(p,P,g),"mirror"===v&&A.flipTarget()),k=!1,E&&E()):(r.stop(),j&&j()))}))).start()),{stop:function(){null==y||y(),r.stop()}}}function Er(e,t){return t?e*(1e3/t):0}var _r=function(e){return 1e3*e},wr=function(e,t){return 1-3*t+3*e},Sr=function(e,t){return 3*t-6*e},xr=function(e){return 3*e},Pr=function(e,t,n){return((wr(t,n)*e+Sr(t,n))*e+xr(t))*e},kr=function(e,t,n){return 3*wr(t,n)*e*e+2*Sr(t,n)*e+xr(t)};function Tr(e,t,n,r){if(e===t&&n===r)return Un;for(var o=new Float32Array(11),a=0;a<11;++a)o[a]=Pr(.1*a,e,n);return function(a){return 0===a||1===a?a:Pr(function(t){for(var r=0,a=1;10!==a&&o[a]<=t;++a)r+=.1;--a;var i=r+(t-o[a])/(o[a+1]-o[a])*.1,c=kr(i,e,n);return c>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var a=kr(t,n,r);if(0===a)return t;t-=(Pr(t,n,r)-e)/a}return t}(t,i,e,n):0===c?i:function(e,t,n,r,o){var a,i,c=0;do{(a=Pr(i=t+(n-t)/2,r,o)-e)>0?n=i:t=i}while(Math.abs(a)>1e-7&&++c<10);return i}(t,r,r+.1,e,n)}(a),t,r)}}var Cr={linear:Un,easeIn:Gn,easeInOut:zn,easeOut:Hn,circIn:Wn,circInOut:qn,circOut:Yn,backIn:Xn,backInOut:$n,backOut:Kn,anticipate:Zn,bounceIn:Jn,bounceInOut:function(e){return e<.5?.5*(1-Qn(1-2*e)):.5*Qn(2*e-1)+.5},bounceOut:Qn},Ar=function(e){if(Array.isArray(e)){e.length;var t=G(e,4);return Tr(t[0],t[1],t[2],t[3])}return"string"==typeof e?Cr[e]:e},Mr=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!kn.test(t)||t.startsWith("url(")))},Br=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},Ir=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},Lr=function(){return{type:"keyframes",ease:"linear",duration:.3}},Nr=function(e){return{type:"keyframes",duration:.8,values:e}},Dr={x:Br,y:Br,z:Br,rotate:Br,rotateX:Br,rotateY:Br,rotateZ:Br,scaleX:Ir,scaleY:Ir,scale:Ir,opacity:Lr,backgroundColor:Lr,color:Lr,default:Ir},Rr=new Set(["brightness","contrast","saturate","opacity"]);function Vr(e){var t=e.slice(0,-1).split("("),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=(r.match(Le)||[])[0];if(!o)return e;var a=r.replace(o,""),i=Rr.has(n)?1:0;return o!==r&&(i*=100),n+"("+i+a+")"}var Fr=/([a-z-]*)\(.*?\)/g,Ur=F(F({},kn),{getAnimatableNone:function(e){var t=e.match(Fr);return t?t.map(Vr).join(" "):e}}),Gr=F(F({},$e),{color:En,backgroundColor:En,outlineColor:En,fill:En,stroke:En,borderColor:En,borderTopColor:En,borderRightColor:En,borderBottomColor:En,borderLeftColor:En,filter:Ur,WebkitFilter:Ur}),Hr=function(e){return Gr[e]};function zr(e,t){var n,r=Hr(e);return r!==Ur&&(r=kn),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}function Wr(e,t,n){var r,o,a,i;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=H([],G(e.to)),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=U(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=F(F({},e),(o=n,a=t.to,i=yt(a)?Nr:Dr[o]||Dr.default,F({to:a},i(a))))),F(F({},t),function(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,a=e.loop,i=U(e,["ease","times","yoyo","flip","loop"]),c=F({},i);return n&&(c.offset=n),i.duration&&(c.duration=_r(i.duration)),i.repeatDelay&&(c.repeatDelay=_r(i.repeatDelay)),t&&(c.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(Ar):Ar(t)),"tween"===i.type&&(c.type="keyframes"),(r||a||o)&&(r?c.repeatType="reverse":a?c.repeatType="loop":o&&(c.repeatType="mirror"),c.repeat=a||r||o||i.repeat),"spring"!==i.type&&(c.type="keyframes"),c}(e))}function Yr(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function qr(e){return"number"==typeof e?0:zr("",e)}function Xr(e,t){return e[t]||e.default||e}function Kr(e,t,n,r){return void 0===r&&(r={}),t.start((function(o){var a,i,c=function(e,t,n,r,o){var a,i=Xr(r,e),c=null!==(a=i.from)&&void 0!==a?a:t.get(),s=Mr(e,n);return"none"===c&&s&&"string"==typeof n?c=zr(e,n):Yr(c)&&"string"==typeof n?c=qr(n):!Array.isArray(n)&&Yr(n)&&"string"==typeof c&&(n=qr(c)),Mr(e,c)&&s&&!1!==i.type?function(){var r={from:c,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===i.type||"decay"===i.type?function(e){var t,n=e.from,r=void 0===n?0:n,o=e.velocity,a=void 0===o?0:o,i=e.min,c=e.max,s=e.power,l=void 0===s?.8:s,u=e.timeConstant,d=void 0===u?750:u,p=e.bounceStiffness,m=void 0===p?500:p,b=e.bounceDamping,f=void 0===b?10:b,v=e.restDelta,h=void 0===v?1:v,g=e.modifyTarget,O=e.driver,y=e.onUpdate,j=e.onComplete;function E(e){return void 0!==i&&e<i||void 0!==c&&e>c}function _(e){return void 0===i?c:void 0===c||Math.abs(i-e)<Math.abs(c-e)?i:c}function w(e){null==t||t.stop(),t=jr(F(F({},e),{driver:O,onUpdate:function(t){var n;null==y||y(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:j}))}function S(e){w(F({type:"spring",stiffness:m,damping:f,restDelta:h},e))}if(E(r))S({from:r,velocity:a,to:_(r)});else{var x=l*a+r;void 0!==g&&(x=g(x));var P,k,T=_(x),C=T===i?-1:1;w({type:"decay",from:r,velocity:a,timeConstant:d,power:l,restDelta:h,modifyTarget:g,onUpdate:E(x)?function(e){P=k,k=e,a=Er(e-P,hr().delta),(1===C&&e>T||-1===C&&e<T)&&S({from:e,to:T,velocity:a})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}(F(F({},r),i)):jr(F(F({},Wr(i,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=i.onUpdate)||void 0===t||t.call(i,e)},onComplete:function(){var e;r.onComplete(),null===(e=i.onComplete)||void 0===e||e.call(i)}}))}:function(){var e;return t.set(n),o(),null===(e=null==i?void 0:i.onComplete)||void 0===e||e.call(i),{stop:function(){}}}}(e,t,n,r,o),s=function(e,t){var n;return null!==(n=(Xr(e,t)||{}).delay)&&void 0!==n?n:0}(r,e),l=function(){return i=c()};return s?a=setTimeout(l,_r(s)):l(),function(){clearTimeout(a),null==i||i.stop()}}))}function $r(e,t){-1===e.indexOf(t)&&e.push(t)}function Zr(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Qr=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return $r(this.subscriptions,e),function(){return Zr(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var a=this.subscriptions[o];a&&a(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),Jr=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Qr,this.velocityUpdateSubscribers=new Qr,this.renderSubscribers=new Qr,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=hr(),o=r.delta,a=r.timestamp;n.lastUpdated!==a&&(n.timeDelta=o,n.lastUpdated=a,gr.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return gr.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?Er(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function eo(e){return new Jr(e)}var to=function(e){return function(t){return t.test(e)}},no=[Ye,Ge,Ue,Fe,ze,He,{test:function(e){return"auto"===e},parse:function(e){return e}}],ro=function(e){return no.find(to(e))},oo=H(H([],G(no)),[En,kn]);function ao(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,eo(n))}function io(e,t){if(t)return(t[e]||t.default||t).from}function co(e,t,n){var r;void 0===n&&(n={});var o=pe(e,t,n.custom),a=(o||{}).transition,i=void 0===a?e.getDefaultTransition()||{}:a;n.transitionOverride&&(i=n.transitionOverride);var c=o?function(){return so(e,o,n)}:function(){return Promise.resolve()},s=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=i.delayChildren,a=void 0===o?0:o,c=i.staggerChildren,s=i.staggerDirection;return function(e,t,n,r,o,a){void 0===n&&(n=0),void 0===r&&(r=0),void 0===o&&(o=1);var i=[],c=(e.variantChildren.size-1)*r,s=1===o?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),c-e*r};return Array.from(e.variantChildren).sort(lo).forEach((function(e,r){i.push(co(e,t,F(F({},a),{delay:n+s(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(i)}(e,t,a+r,c,s,n)}:function(){return Promise.resolve()},l=i.when;if(l){var u=G("beforeChildren"===l?[c,s]:[s,c],2),d=u[0],p=u[1];return d().then(p)}return Promise.all([c(),s(n.delay)])}function so(e,t,n){var r,o=void 0===n?{}:n,a=o.delay,i=void 0===a?0:a,c=o.transitionOverride,s=o.type,l=e.makeTargetAnimatable(t),u=l.transition,d=void 0===u?e.getDefaultTransition():u,p=l.transitionEnd,m=U(l,["transition","transitionEnd"]);c&&(d=c);var b=[],f=s&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[s]);for(var v in m){var h=e.getValue(v),g=m[v];if(!(!h||void 0===g||f&&uo(f,v))){var O=Kr(v,h,g,F({delay:i},d));b.push(O)}}return Promise.all(b).then((function(){p&&function(e,t){var n=pe(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,a=void 0===o?{}:o;r.transition;var i,c=U(r,["transitionEnd","transition"]);for(var s in c=F(F({},c),a))ao(e,s,(i=c[s],yt(i)?i[i.length-1]||0:i))}(e,p)}))}function lo(e,t){return e.sortNodePosition(t)}function uo(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var po=[wt.Animate,wt.Hover,wt.Tap,wt.Drag,wt.Focus,wt.Exit],mo=H([],G(po)).reverse(),bo=po.length;function fo(e){var t,n=function(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(),Array.isArray(t)){var o=t.map((function(t){return co(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=co(e,t,n);else{var a="function"==typeof t?pe(e,t,n.custom):t;r=so(e,a,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}(e),r=((t={})[wt.Animate]=vo(!0),t[wt.Hover]=vo(),t[wt.Tap]=vo(),t[wt.Drag]=vo(),t[wt.Focus]=vo(),t[wt.Exit]=vo(),t),o={},a=!0,i=function(t,n){var r=pe(e,n);if(r){r.transition;var o=r.transitionEnd,a=U(r,["transition","transitionEnd"]);t=F(F(F({},t),a),o)}return t};function c(t,c){for(var s,l=e.getProps(),u=e.getVariantContext(!0)||{},d=[],p=new Set,m={},b=1/0,f=function(n){var o=mo[n],f=r[o],v=null!==(s=l[o])&&void 0!==s?s:u[o],h=ue(v),g=o===c?f.isActive:null;!1===g&&(b=n);var O=v===u[o]&&v!==l[o]&&h;if(O&&a&&e.manuallyAnimateOnMount&&(O=!1),f.protectedKeys=F({},m),!f.isActive&&null===g||!v&&!f.prevProp||Ot(v)||"boolean"==typeof v)return"continue";var y=function(e,t){return"string"==typeof t?t!==e:!!le(t)&&!Jt(t,e)}(f.prevProp,v)||o===c&&f.isActive&&!O&&h||n>b&&h,j=Array.isArray(v)?v:[v],E=j.reduce(i,{});!1===g&&(E={});var _=f.prevResolvedValues,w=void 0===_?{}:_,S=F(F({},w),E),x=function(e){y=!0,p.delete(e),f.needsAnimating[e]=!0};for(var P in S){var k=E[P],T=w[P];m.hasOwnProperty(P)||(k!==T?yt(k)&&yt(T)?Jt(k,T)?f.protectedKeys[P]=!0:x(P):void 0!==k?x(P):p.add(P):void 0!==k&&p.has(P)?x(P):f.protectedKeys[P]=!0)}f.prevProp=v,f.prevResolvedValues=E,f.isActive&&(m=F(F({},m),E)),a&&e.blockInitialAnimation&&(y=!1),y&&!O&&d.push.apply(d,H([],G(j.map((function(e){return{animation:e,options:F({type:o},t)}})))))},v=0;v<bo;v++)f(v);if(o=F({},m),p.size){var h={};p.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(h[t]=n)})),d.push({animation:h})}var g=Boolean(d.length);return a&&!1===l.initial&&!e.manuallyAnimateOnMount&&(g=!1),a=!1,g?n(d):Promise.resolve()}return{isAnimated:function(e){return void 0!==o[e]},animateChanges:c,setActive:function(t,n,o){var a;return r[t].isActive===n?Promise.resolve():(null===(a=e.variantChildren)||void 0===a||a.forEach((function(e){var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n,c(o,t))},setAnimateFunction:function(t){n=t(e)},getState:function(){return r}}}function vo(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var ho={animation:Zt((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=fo(t)),Ot(n)&&Object(z.useEffect)((function(){return n.subscribe(t)}),[n])})),exit:Zt((function(e){var t=e.custom,n=e.visualElement,r=G(te(),2),o=r[0],a=r[1],i=Object(z.useContext)(J);Object(z.useEffect)((function(){var e,r,c=null===(e=n.animationState)||void 0===e?void 0:e.setActive(wt.Exit,!o,{custom:null!==(r=null==i?void 0:i.custom)&&void 0!==r?r:t});!o&&(null==c||c.then(a))}),[o])}))},go=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},Oo=function(e){return go(e)&&e.hasOwnProperty("z")},yo=function(e,t){return Math.abs(e-t)};function jo(e,t){if(Tn(e)&&Tn(t))return yo(e,t);if(go(e)&&go(t)){var n=yo(e.x,t.x),r=yo(e.y,t.y),o=Oo(e)&&Oo(t)?yo(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var Eo=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=So(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=jo(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,a=hr().timestamp;r.history.push(F(F({},o),{timestamp:a}));var i=r.handlers,c=i.onStart,s=i.onMove;t||(c&&c(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),s&&s(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=_o(t,r.transformPagePoint),Tt(e)&&0===e.buttons?r.handlePointerUp(e,t):gr.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers.onEnd;if(n&&r.startEvent){var o=So(_o(t,r.transformPagePoint),r.history);n&&n(e,o)}},!(Ct(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var a=_o(It(e),this.transformPagePoint),i=a.point,c=hr().timestamp;this.history=[F(F({},i),{timestamp:c})];var s=t.onSessionStart;s&&s(e,So(a,this.history)),this.removeListeners=Yt(Ft(window,"pointermove",this.handlePointerMove),Ft(window,"pointerup",this.handlePointerUp),Ft(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),pr.update(this.updatePoint)},e}();function _o(e,t){return t?{point:t(e.point)}:e}function wo(e,t){return{x:e.x-t.x,y:e.y-t.y}}function So(e,t){var n=e.point;return{point:n,delta:wo(n,Po(t)),offset:wo(n,xo(t)),velocity:ko(t,.1)}}function xo(e){return e[0]}function Po(e){return e[e.length-1]}function ko(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=Po(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>_r(t)));)n--;if(!r)return{x:0,y:0};var a=(o.timestamp-r.timestamp)/1e3;if(0===a)return{x:0,y:0};var i={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function To(e){return e}function Co(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}var Ao={translate:0,scale:1,origin:0,originPoint:0};function Mo(){return{x:F({},Ao),y:F({},Ao)}}function Bo(e){return[e("x"),e("y")]}function Io(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?ln(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?ln(o,e,n.max):Math.min(e,o)),e}function Lo(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function No(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=G([o,r],2))[0],o=n[1]),{min:e.min+r,max:e.min+o}}function Do(e,t,n){return{min:Ro(e,t),max:Ro(e,n)}}function Ro(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function Vo(e,t){return Co(function(e,t){var n=e.top,r=e.left,o=e.bottom,a=e.right;void 0===t&&(t=To);var i=t({x:r,y:n}),c=t({x:a,y:o});return{top:i.y,left:i.x,bottom:c.y,right:c.x}}(e.getBoundingClientRect(),t))}function Fo(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),jo(e,t)<n}function Uo(e){return e.max-e.min}function Go(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=ln(t.min,t.max,e.origin),e.scale=Uo(n)/Uo(t),Fo(e.scale,1,1e-4)&&(e.scale=1),e.translate=ln(n.min,n.max,e.origin)-e.originPoint,Fo(e.translate)&&(e.translate=0)}function Ho(e,t,n,r){Go(e.x,t.x,n.x,zo(r.originX)),Go(e.y,t.y,n.y,zo(r.originY))}function zo(e){return"number"==typeof e?e:.5}function Wo(e,t,n){e.min=n.min+t.min,e.max=e.min+Uo(t)}var Yo,qo=new WeakMap,Xo=function(){function e(e){var t=e.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic={x:{min:0,max:1},y:{min:0,max:1}},this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=t,this.visualElement.enableLayoutProjection(),qo.set(t,this)}return e.prototype.start=function(e,t){var n=this,r=void 0===t?{}:t,o=r.snapToCursor,a=void 0!==o&&o,i=r.cursorProgress;a&&this.snapToCursor(e);var c=this.props.transformPagePoint;this.panSession=new Eo(e,{onSessionStart:function(){n.stopMotion()},onStart:function(e,t){var r,o,a,c=n.props,s=c.drag,l=c.dragPropagation;if(!s||l||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=$t(s),n.openGlobalLock)){n.prepareBoundingBox(),n.visualElement.lockProjectionTarget(),n.resolveDragConstraints();var u=Lt(e).point;Bo((function(e){var t=n.visualElement.projection.target[e],r=t.min,o=t.max;n.cursorProgress[e]=i?i[e]:sn(r,o,u[e]);var a=n.getAxisMotionValue(e);a&&(n.originPoint[e]=a.get())})),n.isDragging=!0,n.currentDirection=null,null===(o=(r=n.props).onDragStart)||void 0===o||o.call(r,e,t),null===(a=n.visualElement.animationState)||void 0===a||a.setActive(wt.Drag,!0)}},onMove:function(e,t){var r,o,a,i,c=n.props,s=c.dragPropagation,l=c.dragDirectionLock;if(s||n.openGlobalLock){var u=t.offset;if(l&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(u),void(null!==n.currentDirection&&(null===(o=(r=n.props).onDirectionLock)||void 0===o||o.call(r,n.currentDirection)));n.updateAxis("x",e,u),n.updateAxis("y",e,u),null===(i=(a=n.props).onDrag)||void 0===i||i.call(a,e,t),Yo=e}},onEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:c})},e.prototype.prepareBoundingBox=function(){var e=this.visualElement;e.withoutTransform((function(){e.updateLayoutMeasurement()})),e.rebaseProjectionTarget(!0,e.measureViewportBox(!1))},e.prototype.resolveDragConstraints=function(){var e=this,t=this.props,n=t.dragConstraints,r=t.dragElastic;this.constraints=!!n&&(se(n)?this.resolveRefConstraints(this.visualElement.getLayoutState().layout,n):function(e,t){var n=t.top,r=t.left,o=t.bottom,a=t.right;return{x:Lo(e.x,r,a),y:Lo(e.y,n,o)}}(this.visualElement.getLayoutState().layout,n)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:Do(e,"left","right"),y:Do(e,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&Bo((function(t){var n,r,o;e.getAxisMotionValue(t)&&(e.constraints[t]=(n=e.visualElement.getLayoutState().layout[t],o={},void 0!==(r=e.constraints[t]).min&&(o.min=r.min-n.min),void 0!==r.max&&(o.max=r.max-n.min),o))}))},e.prototype.resolveRefConstraints=function(e,t){var n=this.props,r=n.onMeasureDragConstraints,o=n.transformPagePoint,a=t.current;this.constraintsBox=Vo(a,o);var i=function(e,t){return{x:No(e.x,t.x),y:No(e.y,t.y)}}(e,this.constraintsBox);if(r){var c=r(function(e){var t=e.x,n=e.y;return{top:n.min,bottom:n.max,left:t.min,right:t.max}}(i));this.hasMutatedConstraints=!!c,c&&(i=Co(c))}return i},e.prototype.cancelDrag=function(){var e;this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(wt.Drag,!1)},e.prototype.stop=function(e,t){var n;this.visualElement.unlockProjectionTarget(),null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var r=this.isDragging;if(this.cancelDrag(),r){var o=this.props,a=o.dragMomentum,i=o.onDragEnd;if(a||this.elastic){var c=t.velocity;this.animateDragEnd(c)}null==i||i(e,t)}},e.prototype.snapToCursor=function(e){var t=this;this.prepareBoundingBox(),Bo((function(n){if(Ko(n,t.props.drag,t.currentDirection)){var r=t.getAxisMotionValue(n);if(r){var o=Lt(e).point,a=t.visualElement.getLayoutState().layout,i=a[n].max-a[n].min,c=a[n].min+i/2,s=o[n]-c;t.originPoint[n]=o[n],r.set(s)}else t.cursorProgress[n]=.5,t.updateVisualElementAxis(n,e)}}))},e.prototype.updateAxis=function(e,t,n){if(Ko(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,n):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var n=this.getAxisMotionValue(e);if(t&&n){var r=this.originPoint[e]+t[e],o=this.constraints?Io(r,this.constraints[e],this.elastic[e]):r;n.set(o)}},e.prototype.updateVisualElementAxis=function(e,t){var n,r=this.visualElement.getLayoutState().layout[e],o=r.max-r.min,a=this.cursorProgress[e],i=function(e,t,n,r,o){var a=e-t*n;return r?Io(a,r,o):a}(Lt(t).point[e],o,a,null===(n=this.constraints)||void 0===n?void 0:n[e],this.elastic[e]);this.visualElement.setProjectionTargetAxis(e,i,i+o)},e.prototype.setProps=function(e){var t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,a=e.dragPropagation,i=void 0!==a&&a,c=e.dragConstraints,s=void 0!==c&&c,l=e.dragElastic,u=void 0===l?.35:l,d=e.dragMomentum,p=void 0===d||d,m=U(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=F({drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:s,dragElastic:u,dragMomentum:p},m)},e.prototype.getAxisMotionValue=function(e){var t=this.props,n=t.layout,r=t.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:n||void 0!==r?void 0:this.visualElement.getValue(e,0)},e.prototype.animateDragEnd=function(e){var t=this,n=this.props,r=n.drag,o=n.dragMomentum,a=n.dragElastic,i=n.dragTransition,c=Bo((function(n){if(Ko(n,r,t.currentDirection)){var c=t.constraints?t.constraints[n]:{},s=a?200:1e6,l=a?40:1e7,u=F(F({type:"inertia",velocity:o?e[n]:0,bounceStiffness:s,bounceDamping:l,timeConstant:750,restDelta:1,restSpeed:10},i),c);return t.getAxisMotionValue(n)?t.startAxisValueAnimation(n,u):t.visualElement.startLayoutAnimation(n,u)}}));return Promise.all(c).then((function(){var e,n;null===(n=(e=t.props).onDragTransitionEnd)||void 0===n||n.call(e)}))},e.prototype.stopMotion=function(){var e=this;Bo((function(t){var n=e.getAxisMotionValue(t);n?n.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,t){var n=this.getAxisMotionValue(e);if(n){var r=n.get();return n.set(r),n.set(r),Kr(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag;if(se(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};Bo((function(t){var n,o,a,i,c;r[t]=(n=e.visualElement.projection.target[t],o=e.constraintsBox[t],a=.5,i=Uo(n),(c=Uo(o))>i?a=sn(o.min,o.max-i,n.min):i>c&&(a=sn(n.min,n.max-c,o.min)),en(0,1,a))})),this.prepareBoundingBox(),this.resolveDragConstraints(),Bo((function(t){if(Ko(t,n,null)){var o=function(e,t,n){var r=e.max-e.min,o=ln(t.min,t.max-r,n);return{min:o,max:o+r}}(e.visualElement.projection.target[t],e.constraintsBox[t],r[t]),a=o.min,i=o.max;e.visualElement.setProjectionTargetAxis(t,a,i)}}))}},e.prototype.mount=function(e){var t=this,n=Ft(e.getInstance(),"pointerdown",(function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=Pt(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),a=e.prevDragCursor;return a&&this.start(Yo,{cursorProgress:a}),function(){null==n||n(),null==r||r(),null==o||o(),t.cancelDrag()}},e}();function Ko(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var $o,Zo,Qo={pan:Zt((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,a=e.visualElement,i=t||n||r||o,c=Object(z.useRef)(null),s=Object(z.useContext)(Z).transformPagePoint,l={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){c.current=null,r&&r(e,t)}};Object(z.useEffect)((function(){null!==c.current&&c.current.updateHandlers(l)})),Ut(a,"pointerdown",i&&function(e){c.current=new Eo(e,l,{transformPagePoint:s})}),zt((function(){return c.current&&c.current.end()}))})),drag:Zt((function(e){var t=e.dragControls,n=e.visualElement,r=Object(z.useContext)(Z).transformPagePoint,o=ee((function(){return new Xo({visualElement:n})}));o.setProps(F(F({},e),{transformPagePoint:r})),Object(z.useEffect)((function(){return t&&t.subscribe(o)}),[o]),Object(z.useEffect)((function(){return o.mount(n)}),[])}))};function Jo(e,t){return{min:t.min-e.min,max:t.max-e.min}}function ea(e,t){return{x:Jo(e.x,t.x),y:Jo(e.y,t.y)}}function ta(e,t){var n=e.getLayoutId(),r=t.getLayoutId();return n!==r||void 0===r&&e!==t}function na(e){return"string"==typeof e&&e.startsWith("var(--")}!function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"}($o||($o={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(Zo||(Zo={}));var ra=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function oa(e,t,n){void 0===n&&(n=1);var r=G(function(e){var t=ra.exec(e);if(!t)return[,];var n=G(t,3);return[n[1],n[2]]}(e),2),o=r[0],a=r[1];if(o){var i=window.getComputedStyle(t).getPropertyValue(o);return i?i.trim():na(a)?oa(a,t,n+1):a}}function aa(e,t){return e/(t.max-t.min)*100}var ia={process:function(e,t,n){var r=n.target;if("string"==typeof e){if(!Ge.test(e))return e;e=parseFloat(e)}return aa(e,r.x)+"% "+aa(e,r.y)+"%"}},ca={borderRadius:F(F({},ia),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ia,borderTopRightRadius:ia,borderBottomLeftRadius:ia,borderBottomRightRadius:ia,boxShadow:{process:function(e,t){var n=t.delta,r=t.treeScale,o=e,a=e.includes("var("),i=[];a&&(e=e.replace(ra,(function(e){return i.push(e),"_$css"})));var c=kn.parse(e);if(c.length>5)return o;var s=kn.createTransformer(e),l="number"!=typeof c[0]?1:0,u=n.x.scale*r.x,d=n.y.scale*r.y;c[0+l]/=u,c[1+l]/=d;var p=ln(u,d,.5);"number"==typeof c[2+l]&&(c[2+l]/=p),"number"==typeof c[3+l]&&(c[3+l]/=p);var m=s(c);if(a){var b=0;m=m.replace("_$css",(function(){var e=i[b];return b++,e}))}return m}}},sa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameTarget={x:{min:0,max:1},y:{min:0,max:1}},t.currentAnimationTarget={x:{min:0,max:1},y:{min:0,max:1}},t.isAnimating={x:!1,y:!1},t.stopAxisAnimation={x:void 0,y:void 0},t.isAnimatingTree=!1,t.animate=function(e,n,r){void 0===r&&(r={});var o=r.originBox,a=r.targetBox,i=r.visibilityAction,c=r.shouldStackAnimate,s=r.onComplete,l=r.prevParent,u=U(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=t.props,p=d.visualElement,m=d.layout;if(!1===c)return t.isAnimatingTree=!1,t.safeToRemove();if(!t.isAnimatingTree||!0===c){c&&(t.isAnimatingTree=!0),n=o||n,e=a||e;var b=!1,f=p.getProjectionParent();if(f){var v=f.prevViewportBox,h=f.getLayoutState().layout;l&&(a&&(h=l.getLayoutState().layout),o&&!ta(l,f)&&l.prevViewportBox&&(v=l.prevViewportBox)),v&&(b=!0,n=ea(v,n),e=ea(h,e))}var g=la(n,e),O=Bo((function(r){if("position"===m){var o=e[r].max-e[r].min;n[r].max=n[r].min+o}if(!p.projection.isTargetLocked)return void 0===i?g?t.animateAxis(r,e[r],n[r],F(F({},u),{isRelative:b})):p.setProjectionTargetAxis(r,e[r].min,e[r].max,b):void p.setVisibility(i===Zo.Show)}));return p.syncRender(),Promise.all(O).then((function(){t.isAnimatingTree=!1,s&&s(),p.notifyLayoutAnimationComplete()}))}},t}return V(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=Kr,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)ye[t]=e[t]}(ca)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),Bo((function(t){var n,r;return null===(r=(n=e.stopAxisAnimation)[t])||void 0===r?void 0:r.call(n)}))},t.prototype.animateAxis=function(e,t,n,r){var o,a,i=this,c=void 0===r?{}:r,s=c.transition,l=c.isRelative;if(!this.isAnimating[e]||!pa(t,this.currentAnimationTarget[e])){null===(a=(o=this.stopAxisAnimation)[e])||void 0===a||a.call(o),this.isAnimating[e]=!0;var u=this.props.visualElement,d=this.frameTarget[e],p=u.getProjectionAnimationProgress()[e];p.clearListeners(),p.set(0),p.set(0);var m=function(){var r=p.get()/1e3;!function(e,t,n,r){e.min=ln(t.min,n.min,r),e.max=ln(t.max,n.max,r)}(d,n,t,r),u.setProjectionTargetAxis(e,d.min,d.max,l)};m();var b=p.onChange(m);this.stopAxisAnimation[e]=function(){i.isAnimating[e]=!1,p.stop(),b()},this.currentAnimationTarget[e]=t;var f=s||u.getDefaultTransition()||ma;return Kr("x"===e?"layoutX":"layoutY",p,1e3,f&&Xr(f,"layout")).then(this.stopAxisAnimation[e])}},t.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},t.prototype.render=function(){return null},t}(z.Component);function la(e,t){return!(da(e)||da(t)||pa(e.x,t.x)&&pa(e.y,t.y))}var ua={min:0,max:0};function da(e){return pa(e.x,ua)&&pa(e.y,ua)}function pa(e,t){return e.min===t.min&&e.max===t.max}var ma={duration:.45,ease:[.4,0,.1,1]},ba=function(e,t){return e.depth-t.depth},fa={measureLayout:function(e){return e.updateLayoutMeasurement()},layoutReady:function(e){return e.notifyLayoutReady()}};function va(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var n=void 0===t?fa:t,r=n.measureLayout,o=n.layoutReady,a=n.parent,i=Array.from(e).sort(ba),c=function(){i.forEach((function(e){return e.resetTransform()})),i.forEach(r)};a?a.withoutTransform(c):c(),i.forEach(o),i.forEach((function(e){e.isPresent&&(e.presence=$o.Present)})),mr.preRender(),mr.render(),e.clear()}}}var ha=Object(z.createContext)(va()),ga=Object(z.createContext)(va());function Oa(e){return!!e.forceUpdate}var ya=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return V(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;Oa(t)&&t.register(r),Oa(n)&&n.register(r),r.onUnmount((function(){Oa(t)&&t.remove(r),Oa(n)&&n.remove(r)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return Oa(t)?t.syncUpdate():(n.snapshotViewportBox(),t.add(n)),null},t.prototype.componentDidUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;Oa(t)||t.flush(),n.rebaseProjectionTarget()},t.prototype.render=function(){return null},t}(W.a.Component),ja={measureLayout:function(e){var t=Object(z.useContext)(ha),n=Object(z.useContext)(ga);return W.a.createElement(ya,F({},e,{syncLayout:t,framerSyncLayout:n}))},layoutAnimation:function(e){var t=G(te(),2)[1];return z.createElement(sa,F({},e,{safeToRemove:t}))}};function Ea(e,t){e.min=t.min,e.max=t.max}function _a(e,t,n){return n+t*(e-n)}function wa(e,t,n,r,o){return void 0!==o&&(e=_a(e,o,r)),_a(e,n,r)+t}function Sa(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=wa(e.min,t,n,r,o),e.max=wa(e.max,t,n,r,o)}function xa(e,t){var n=t.x,r=t.y;Sa(e.x,n.translate,n.scale,n.originPoint),Sa(e.y,r.translate,r.scale,r.originPoint)}function Pa(e,t,n,r){var o=G(r,3),a=o[0],i=o[1],c=o[2];e.min=t.min,e.max=t.max;var s=void 0!==n[c]?n[c]:.5,l=ln(t.min,t.max,s);Sa(e,n[a],n[i],l,n.scale)}var ka=["x","scaleX","originX"],Ta=["y","scaleY","originY"];function Ca(e,t,n,r,o){return e=_a(e-=t,1/n,r),void 0!==o&&(e=_a(e,1/o,r)),e}function Aa(e,t,n){var r=G(n,3),o=r[0],a=r[1],i=r[2];!function(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5);var a=ln(e.min,e.max,r)-t;e.min=Ca(e.min,t,n,a,o),e.max=Ca(e.max,t,n,a,o)}(e,t[o],t[a],t[i],t.scale)}function Ma(){return{isHydrated:!1,layout:{x:{min:0,max:1},y:{min:0,max:1}},layoutCorrected:{x:{min:0,max:1},y:{min:0,max:1}},treeScale:{x:1,y:1},delta:Mo(),deltaFinal:Mo(),deltaTransform:""}}var Ba=Ma();function Ia(e,t,n){var r=e.x,o=e.y,a="translate3d("+r.translate/t.x+"px, "+o.translate/t.y+"px, 0) ";if(n){var i=n.rotate,c=n.rotateX,s=n.rotateY;i&&(a+="rotate("+i+") "),c&&(a+="rotateX("+c+") "),s&&(a+="rotateY("+s+") ")}return a+="scale("+r.scale+", "+o.scale+")",n||a!==Na?a:""}function La(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var Na=Ia(Ba.delta,Ba.treeScale,{x:1,y:1}),Da=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];var Ra=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){$r(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){Zr(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(ba);for(var t=this.children.length,n=0;n<t;n++)e(this.children[n])},e}(),Va=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,a=e.makeTargetAnimatable,i=e.measureViewportBox,c=e.render,s=e.readValueFromInstance,l=e.resetTransform,u=e.restoreTransform,d=e.removeValueFromRenderState,p=e.sortNodePosition,m=e.scrapeMotionValuesFromProps;return function(e,t){var b=e.parent,f=e.props,v=e.presenceId,h=e.blockInitialAnimation,g=e.visualState;void 0===t&&(t={});var O,y,j,E,_,w,S=g.latestValues,x=g.renderState,P=function(){var e=Da.map((function(){return new Qr})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return Da.forEach((function(r){var o;null===(o=t[r])||void 0===o||o.call(t);var a="on"+r,i=e[a];i&&(t[r]=n[a](i))}))}};return e.forEach((function(e,t){n["on"+Da[t]]=function(t){return e.add(t)},n["notify"+Da[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,H([],G(t)))}})),n}(),k={isEnabled:!1,isTargetLocked:!1,target:{x:{min:0,max:1},y:{min:0,max:1}},targetFinal:{x:{min:0,max:1},y:{min:0,max:1}}},T=k,C=S,A=Ma(),M=!1,B=new Map,I=new Map,L={},N=F({},S);function D(){var e,t,n;O&&(k.isEnabled&&A.isHydrated&&(e=T.targetFinal,t=T.target,n=C,Pa(e.x,t.x,n,ka),Pa(e.y,t.y,n,Ta),Ho(A.deltaFinal,A.layoutCorrected,T.targetFinal,S)),R(),c(O,x))}function R(){var e=S;if(E&&E.isActive()){var n=E.getCrossfadeState(K);n&&(e=n)}r(K,x,e,T,A,t,f)}function V(){P.notifyUpdate(S)}function U(){K.layoutTree.forEach(Ua)}var z=m(f);for(var W in z){var Y=z[W];void 0!==S[W]&&Te(Y)&&Y.set(S[W],!1)}var q=me(f),X=be(f),K=F(F({treeType:n,current:null,depth:b?b.depth+1:0,path:b?H(H([],G(b.path)),[b]):[],layoutTree:b?b.layoutTree:new Ra,presenceId:v,projection:k,variantChildren:X?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==b?void 0:b.isMounted()),blockInitialAnimation:h,isHoverEventsEnabled:!0,isMounted:function(){return Boolean(O)},mount:function(e){O=K.current=e,K.pointTo(K),X&&b&&!q&&(w=null==b?void 0:b.addVariantChild(K))},unmount:function(){pr.update(V),pr.render(D),pr.preRender(K.updateLayoutProjection),I.forEach((function(e){return e()})),K.stopLayoutAnimation(),K.layoutTree.remove(K),null==w||w(),null==j||j(),P.clearAllListeners()},addVariantChild:function(e){var t,n=K.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return p&&n===e.treeType?p(K.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return X?K:null==b?void 0:b.getClosestVariantNode()},scheduleUpdateLayoutProjection:b?b.scheduleUpdateLayoutProjection:function(){return gr.preRender(K.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return f.layoutId},getInstance:function(){return O},getStaticValue:function(e){return S[e]},setStaticValue:function(e,t){return S[e]=t},getLatestValues:function(){return S},setVisibility:function(e){K.isVisible!==e&&(K.isVisible=e,K.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(K,e,f,t)},suspendHoverEvents:function(){K.isHoverEventsEnabled=!1,gr.postRender((function(){return setTimeout((function(){return K.isHoverEventsEnabled=!0}),10)}))},addValue:function(e,t){K.hasValue(e)&&K.removeValue(e),B.set(e,t),S[e]=t.get(),function(e,t){var n=t.onChange((function(t){S[e]=t,f.onUpdate&&gr.update(V,!1,!0)})),r=t.onRenderRequest(K.scheduleRender);I.set(e,(function(){n(),r()}))}(e,t)},removeValue:function(e){var t;B.delete(e),null===(t=I.get(e))||void 0===t||t(),I.delete(e),delete S[e],d(e,x)},hasValue:function(e){return B.has(e)},getValue:function(e,t){var n=B.get(e);return void 0===n&&void 0!==t&&(n=eo(t),K.addValue(e,n)),n},forEachValue:function(e){return B.forEach(e)},readValue:function(e){var n;return null!==(n=S[e])&&void 0!==n?n:s(O,e,t)},setBaseTarget:function(e,t){N[e]=t},getBaseTarget:function(e){if(o){var t=o(f,e);if(void 0!==t&&!Te(t))return t}return N[e]}},P),{build:function(){return R(),x},scheduleRender:function(){gr.render(D,!1,!0)},syncRender:D,setProps:function(e){f=e,P.updatePropListeners(e),L=function(e,t,n){var r;for(var o in t){var a=t[o],i=n[o];if(Te(a))e.addValue(o,a);else if(Te(i))e.addValue(o,eo(a));else if(i!==a)if(e.hasValue(o)){var c=e.getValue(o);!c.hasAnimated&&c.set(a)}else e.addValue(o,eo(null!==(r=e.getStaticValue(o))&&void 0!==r?r:a))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(K,m(f),L)},getProps:function(){return f},getVariant:function(e){var t;return null===(t=f.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return f.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==b?void 0:b.getVariantContext();if(!q){var t=(null==b?void 0:b.getVariantContext())||{};return void 0!==f.initial&&(t.initial=f.initial),t}for(var n={},r=0;r<za;r++){var o=Ha[r],a=f[o];(ue(a)||!1===a)&&(n[o]=a)}return n},enableLayoutProjection:function(){k.isEnabled=!0,K.layoutTree.add(K)},lockProjectionTarget:function(){k.isTargetLocked=!0},unlockProjectionTarget:function(){K.stopLayoutAnimation(),k.isTargetLocked=!1},snapshotViewportBox:function(){K.prevViewportBox=K.measureViewportBox(!1),K.rebaseProjectionTarget(!1,K.prevViewportBox)},getLayoutState:function(){return A},setCrossfader:function(e){E=e},startLayoutAnimation:function(e,t){var n=K.getProjectionAnimationProgress()[e],r=k.target[e],o=r.min,a=r.max-o;return n.clearListeners(),n.set(o),n.set(o),n.onChange((function(t){return K.setProjectionTargetAxis(e,t,t+a)})),K.animateMotionValue(e,n,0,t)},stopLayoutAnimation:function(){Bo((function(e){return K.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var n,r,o=i(O,t);return e||(r=S,Aa((n=o).x,r,ka),Aa(n.y,r,Ta)),o},updateLayoutMeasurement:function(){var e;K.notifyBeforeLayoutMeasure(A.layout),A.isHydrated=!0,A.layout=K.measureViewportBox(),A.layoutCorrected=(e=A.layout,{x:F({},e.x),y:F({},e.y)}),K.notifyLayoutMeasure(A.layout,K.prevViewportBox||A.layout),gr.update((function(){return K.rebaseProjectionTarget()}))},getProjectionAnimationProgress:function(){return _||(_={x:eo(0),y:eo(0)}),_},setProjectionTargetAxis:function(e,t,n,r){var o;void 0===r&&(r=!1),r?(k.relativeTarget||(k.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=k.relativeTarget[e]):(k.relativeTarget=void 0,o=k.target[e]),o.min=t,o.max=n,M=!0,P.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=A.layout);var n=K.getProjectionAnimationProgress(),r=n.x,o=n.y,a=!(k.relativeTarget||k.isTargetLocked||r.isAnimating()||o.isAnimating());(e||a)&&Bo((function(e){var n=t[e],r=n.min,o=n.max;K.setProjectionTargetAxis(e,r,o)}))},notifyLayoutReady:function(e){K.notifyLayoutUpdate(A.layout,K.prevViewportBox||A.layout,e)},resetTransform:function(){return l(K,O,f)},withoutTransform:function(e){var t=k.isEnabled;t&&K.resetTransform(),b?b.withoutTransform(e):e(),t&&u(O,x)},updateLayoutProjection:function(){var e=A.delta,t=A.treeScale,n=t.x,r=t.x,o=A.deltaTransform;(function(e,t,n,r){var o,a,i=e.delta,c=e.layout,s=e.layoutCorrected,l=e.treeScale,u=t.target;a=c,Ea((o=s).x,a.x),Ea(o.y,a.y),function(e,t,n){var r=n.length;if(r){t.x=t.y=1;for(var o=0;o<r;o++){var a=n[o].getLayoutState().delta;t.x*=a.x.scale,t.y*=a.y.scale,xa(e,a)}}}(s,l,n),Ho(i,s,u,r)})(A,T,K.path,S),M&&K.notifyViewportBoxUpdate(T.target,e),M=!1;var a=Ia(e,t);a===o&&n===t.x&&r===t.y||K.scheduleRender(),A.deltaTransform=a},updateTreeLayoutProjection:function(){K.layoutTree.forEach(Fa),gr.preRender(U,!1,!0)},getProjectionParent:function(){if(void 0===y){for(var e=!1,t=K.path.length-1;t>=0;t--){var n=K.path[t];if(n.projection.isEnabled){e=n;break}}y=e}return y},resolveRelativeTargetBox:function(){if(k.relativeTarget){var e=K.getProjectionParent();e&&function(e,t){Wo(e.target.x,e.relativeTarget.x,t.target.x),Wo(e.target.y,e.relativeTarget.y,t.target.y)}(k,e.projection)}},pointTo:function(e){T=e.projection,C=e.getLatestValues(),null==j||j(),j=Yt(e.onSetAxisTarget(K.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;K.isPresent?K.presence=$o.Present:null===(e=K.layoutSafeToRemove)||void 0===e||e.call(K)})))},isPresent:!0,presence:$o.Entering});return K}};function Fa(e){e.resolveRelativeTargetBox()}function Ua(e){e.updateLayoutProjection()}var Ga,Ha=H(["initial"],G(po)),za=Ha.length,Wa=new Set(["width","height","top","left","right","bottom","x","y"]),Ya=function(e){return Wa.has(e)},qa=function(e,t){e.set(t,!1),e.set(t)},Xa=function(e){return e===Ye||e===Ge};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Ga||(Ga={}));var Ka=function(e,t){return parseFloat(e.split(", ")[t])},$a=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var a=o.match(/^matrix3d\((.+)\)$/);if(a)return Ka(a[1],t);var i=o.match(/^matrix\((.+)\)$/);return i?Ka(i[1],e):0}},Za=new Set(["x","y","z"]),Qa=Ee.filter((function(e){return!Za.has(e)})),Ja={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:$a(4,13),y:$a(5,14)};function ei(e,t,n,r){return function(e){return Object.keys(e).some(Ya)}(t)?function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=F({},t),r=F({},r);var o=Object.keys(t).filter(Ya),a=[],i=!1,c=[];if(o.forEach((function(o){var s=e.getValue(o);if(e.hasValue(o)){var l,u=n[o],d=t[o],p=ro(u);if(yt(d))for(var m=d.length,b=null===d[0]?1:0;b<m;b++)l?ro(d[b]):(l=ro(d[b]))===p||Xa(p)&&Xa(l);else l=ro(d);if(p!==l)if(Xa(p)&&Xa(l)){var f=s.get();"string"==typeof f&&s.set(parseFloat(f)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&l===Ge&&(t[o]=d.map(parseFloat))}else(null==p?void 0:p.transform)&&(null==l?void 0:l.transform)&&(0===u||0===d)?0===u?s.set(l.transform(u)):t[o]=p.transform(d):(i||(a=function(e){var t=[];return Qa.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),i=!0),c.push(o),r[o]=void 0!==r[o]?r[o]:t[o],qa(s,d))}})),c.length){var s=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),a=getComputedStyle(o),i=a.display,c={top:a.top,left:a.left,bottom:a.bottom,right:a.right,transform:a.transform};"none"===i&&t.setStaticValue("display",e.display||"block"),t.syncRender();var s=t.measureViewportBox();return n.forEach((function(n){var o=t.getValue(n);qa(o,Ja[n](r,c)),e[n]=Ja[n](s,a)})),e}(t,e,c);return a.length&&a.forEach((function(t){var n=G(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),{target:s,transitionEnd:r}}return{target:t,transitionEnd:r}}(e,t,n,r):{target:t,transitionEnd:r}}var ti={treeType:"dom",readValueFromInstance:function(e,t){if(Se(t)){var n=Hr(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(Ae(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return Vo(e,t.transformPagePoint)},resetTransform:function(e,t,n){e.suspendHoverEvents();var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var a=t.transition,i=t.transitionEnd,c=U(t,["transition","transitionEnd"]),s=function(e,t,n){var r,o,a={};for(var i in e)a[i]=null!==(r=io(i,t))&&void 0!==r?r:null===(o=n.getValue(i))||void 0===o?void 0:o.get();return a}(c,a||{},e);if(o&&(i&&(i=o(i)),c&&(c=o(c)),s&&(s=o(s))),r){!function(e,t,n){var r,o,a,i,c,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),l=s.length;if(l)for(var u=0;u<l;u++){var d=s[u],p=t[d],m=null;Array.isArray(p)&&(m=p[0]),null===m&&(m=null!==(o=null!==(r=n[d])&&void 0!==r?r:e.readValue(d))&&void 0!==o?o:t[d]),null!=m&&("string"==typeof m&&/^\-?\d*\.?\d+$/.test(m)?m=parseFloat(m):(c=m,!oo.find(to(c))&&kn.test(p)&&(m=zr(d,p))),e.addValue(d,eo(m)),null!==(a=(i=n)[d])&&void 0!==a||(i[d]=m),e.setBaseTarget(d,m))}}(e,c,s);var l=function(e,t,n,r){var o=function(e,t,n){var r,o=U(t,[]),a=e.getInstance();if(!(a instanceof HTMLElement))return{target:o,transitionEnd:n};for(var i in n&&(n=F({},n)),e.forEachValue((function(e){var t=e.get();if(na(t)){var n=oa(t,a);n&&e.set(n)}})),o){var c=o[i];if(na(c)){var s=oa(c,a);s&&(o[i]=s,n&&(null!==(r=n[i])&&void 0!==r||(n[i]=c)))}}return{target:o,transitionEnd:n}}(e,t,r);return ei(e,t=o.target,n,r=o.transitionEnd)}(e,c,s,i);i=l.transitionEnd,c=l.target}return F({transition:a,transitionEnd:i},c)},scrapeMotionValuesFromProps:ht,build:function(e,t,n,r,o,a,i){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden");var c=r.isEnabled&&o.isHydrated;Ze(t,n,r,o,a,i.transformTemplate,c?Ia:void 0,c?La:void 0)},render:bt},ni=Va(ti),ri=Va(F(F({},ti),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return Se(t)?(null===(n=Hr(t))||void 0===n?void 0:n.default)||0:(t=ft.has(t)?t:mt(t),e.getAttribute(t))},scrapeMotionValuesFromProps:gt,build:function(e,t,n,r,o,a,i){var c=r.isEnabled&&o.isHydrated;st(t,n,r,o,a,i.transformTemplate,c?Ia:void 0,c?La:void 0)},render:vt})),oi=function(e,t){return Oe(e)?ri(t,{enableHardwareAcceleration:!1}):ni(t,{enableHardwareAcceleration:!0})},ai=F(F(F(F({},ho),Qt),Qo),ja),ii=he((function(e,t){return function(e,t,n,r){var o=t.forwardMotionProps,a=void 0!==o&&o,i=Oe(e)?St:xt;return F(F({},i),{preloadedFeatures:n,useRender:dt(a),createVisualElement:r,Component:e})}(e,t,ai,oi)})),ci=n(287),si=n(30),li=function({onClick:e=d.noop,small:t=!1}){const{shortcut:n,areAdvancedSettingsOpened:o}=Object(b.useSelect)(e=>({shortcut:e(N.store).getShortcutRepresentation("core/edit-post/toggle-sidebar"),areAdvancedSettingsOpened:"edit-post/block"===e(w.a).getActiveGeneralSidebarName()}),[]),{openGeneralSidebar:a,closeGeneralSidebar:i}=Object(b.useDispatch)(w.a),c=o?Object(f.__)("Hide more settings"):Object(f.__)("Show more settings");return Object(r.createElement)(m.MenuItem,{onClick:()=>{o?(i(),Object(si.speak)(Object(f.__)("Block settings closed"))):(a("edit-post/block"),Object(si.speak)(Object(f.__)("Additional settings are now available in the Editor block settings sidebar"))),e()},shortcut:n},!t&&c)};function ui({children:e,contentRef:t,isTemplateMode:n,styles:o,style:i}){const c=Object(a.__unstableUseMouseMoveTypingReset)();return n?Object(r.createElement)(a.__unstableIframe,{head:Object(r.createElement)(a.__unstableEditorStyles,{styles:o}),ref:c,contentRef:t,style:{width:"100%",height:"100%",display:"block"}},e):Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.__unstableEditorStyles,{styles:o}),Object(r.createElement)("div",{ref:t,className:"editor-styles-wrapper",style:{flex:"1",...i}},e))}function di({styles:e}){const{deviceType:t,isTemplateMode:n,wrapperBlockName:o,wrapperUniqueId:c}=Object(b.useSelect)(e=>{const{isEditingTemplate:t,__experimentalGetPreviewDeviceType:n}=e(w.a),{getCurrentPostId:r,getCurrentPostType:o}=e(i.store),a=t();let c;return"wp_block"===o()?c="core/block":a||(c="core/post-content"),{deviceType:n(),isTemplateMode:a,wrapperBlockName:c,wrapperUniqueId:r()}},[]),s=Object(b.useSelect)(e=>e(w.a).hasMetaBoxes(),[]),l=Object(b.useSelect)(e=>{const{getSettings:t}=e(a.store);return t().supportsLayout},[]),{clearSelectedBlock:u}=Object(b.useDispatch)(a.store),{setIsEditingTemplate:d}=Object(b.useDispatch)(w.a),p={minHeight:"100%",width:"100%",margin:0,display:"flex",flexFlow:"column",background:"white"},h={...p,borderRadius:"2px 2px 0 0",border:"1px solid #ddd",borderBottom:0},g=Object(a.__experimentalUseResizeCanvas)(t,n),O=Object(a.useSetting)("layout"),{contentSize:y,wideSize:j}=O||{};let E,_=n?h:p;g&&(_=g),s||g||n||(E="40vh");const S=Object(r.useRef)(),x=Object(v.useMergeRefs)([S,Object(a.__unstableUseClipboardHandler)(),Object(a.__unstableUseCanvasClickRedirect)(),Object(a.__unstableUseTypewriter)(),Object(a.__unstableUseTypingObserver)(),Object(a.__unstableUseBlockSelectionClearer)()]),P=Object(a.__unstableUseBlockSelectionClearer)(),[,k]=Object(a.__experimentalUseNoRecursiveRenders)(c,o),T=Object(r.useMemo)(()=>n?{type:"default"}:l?{type:"default",alignments:y||j?["wide","full"]:["left","center","right"]}:void 0,[n,l,y,j]);return Object(r.createElement)("div",{className:I()("edit-post-visual-editor",{"is-template-mode":n})},Object(r.createElement)(i.VisualEditorGlobalKeyboardShortcuts,null),Object(r.createElement)(a.BlockTools,{__unstableContentRef:S},Object(r.createElement)(ii.div,{className:"edit-post-visual-editor__content-area",animate:{padding:n?"48px 48px 0":"0"},ref:P},n&&Object(r.createElement)(m.Button,{className:"edit-post-visual-editor__exit-template-mode",icon:ci.a,onClick:()=>{u(),d(!1)}},Object(f.__)("Back")),Object(r.createElement)(ii.div,{animate:_,initial:p},Object(r.createElement)(ui,{isTemplateMode:n,contentRef:x,styles:e,style:{paddingBottom:E}},l&&!n&&Object(r.createElement)(a.__experimentalLayoutStyle,{selector:".edit-post-visual-editor__post-title-wrapper, .block-editor-block-list__layout.is-root-container",layout:O}),Object(r.createElement)(a.WritingFlow,null,!n&&Object(r.createElement)("div",{className:"edit-post-visual-editor__post-title-wrapper"},Object(r.createElement)(i.PostTitle,null)),Object(r.createElement)(k,null,Object(r.createElement)(a.BlockList,{__experimentalLayout:T}))))))),Object(r.createElement)(a.__unstableBlockSettingsMenuFirstItem,null,({onClose:e})=>Object(r.createElement)(li,{onClick:e})))}var pi=function(){const{getBlockSelectionStart:e}=Object(b.useSelect)(a.store),{getEditorMode:t,isEditorSidebarOpened:n,isListViewOpened:o}=Object(b.useSelect)(w.a),c=Object(b.useSelect)(e=>{const{richEditingEnabled:t,codeEditingEnabled:n}=e(i.store).getEditorSettings();return!t||!n},[]),{switchEditorMode:s,openGeneralSidebar:l,closeGeneralSidebar:u,toggleFeature:d,setIsListViewOpened:p}=Object(b.useDispatch)(w.a),{registerShortcut:m}=Object(b.useDispatch)(N.store);return Object(r.useEffect)(()=>{m({name:"core/edit-post/toggle-mode",category:"global",description:Object(f.__)("Switch between visual editor and code editor."),keyCombination:{modifier:"secondary",character:"m"}}),m({name:"core/edit-post/toggle-fullscreen",category:"global",description:Object(f.__)("Toggle fullscreen mode."),keyCombination:{modifier:"secondary",character:"f"}}),m({name:"core/edit-post/toggle-block-navigation",category:"global",description:Object(f.__)("Open the block list view."),keyCombination:{modifier:"access",character:"o"}}),m({name:"core/edit-post/toggle-sidebar",category:"global",description:Object(f.__)("Show or hide the settings sidebar."),keyCombination:{modifier:"primaryShift",character:","}}),m({name:"core/edit-post/next-region",category:"global",description:Object(f.__)("Navigate to the next part of the editor."),keyCombination:{modifier:"ctrl",character:"`"},aliases:[{modifier:"access",character:"n"}]}),m({name:"core/edit-post/previous-region",category:"global",description:Object(f.__)("Navigate to the previous part of the editor."),keyCombination:{modifier:"ctrlShift",character:"`"},aliases:[{modifier:"access",character:"p"}]}),m({name:"core/edit-post/keyboard-shortcuts",category:"main",description:Object(f.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}})},[]),Object(N.useShortcut)("core/edit-post/toggle-mode",()=>{s("visual"===t()?"text":"visual")},{bindGlobal:!0,isDisabled:c}),Object(N.useShortcut)("core/edit-post/toggle-fullscreen",()=>{d("fullscreenMode")},{bindGlobal:!0}),Object(N.useShortcut)("core/edit-post/toggle-sidebar",t=>{if(t.preventDefault(),n())u();else{const t=e()?"edit-post/block":"edit-post/document";l(t)}},{bindGlobal:!0}),Object(N.useShortcut)("core/edit-post/toggle-block-navigation",()=>p(!o()),{bindGlobal:!0}),null};const mi=[{keyCombination:{modifier:"primary",character:"b"},description:Object(f.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:Object(f.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:Object(f.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:Object(f.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:Object(f.__)("Underline the selected text.")}];function bi({keyCombination:e,forceAriaLabel:t}){const n=e.modifier?x.displayShortcutList[e.modifier](e.character):e.character,o=e.modifier?x.shortcutAriaLabel[e.modifier](e.character):e.character;return Object(r.createElement)("kbd",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":t||o},Object(d.castArray)(n).map((e,t)=>"+"===e?Object(r.createElement)(r.Fragment,{key:t},e):Object(r.createElement)("kbd",{key:t,className:"edit-post-keyboard-shortcut-help-modal__shortcut-key"},e)))}var fi=function({description:e,keyCombination:t,aliases:n=[],ariaLabel:o}){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-description"},e),Object(r.createElement)("div",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-term"},Object(r.createElement)(bi,{keyCombination:t,forceAriaLabel:o}),n.map((e,t)=>Object(r.createElement)(bi,{keyCombination:e,forceAriaLabel:o,key:t}))))},vi=function({name:e}){const{keyCombination:t,description:n,aliases:o}=Object(b.useSelect)(t=>{const{getShortcutKeyCombination:n,getShortcutDescription:r,getShortcutAliases:o}=t(N.store);return{keyCombination:n(e),aliases:o(e),description:r(e)}});return t?Object(r.createElement)(fi,{keyCombination:t,description:n,aliases:o}):null};const hi="edit-post/keyboard-shortcut-help",gi=({shortcuts:e})=>Object(r.createElement)("ul",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-list",role:"list"},e.map((e,t)=>Object(r.createElement)("li",{className:"edit-post-keyboard-shortcut-help-modal__shortcut",key:t},Object(d.isString)(e)?Object(r.createElement)(vi,{name:e}):Object(r.createElement)(fi,e)))),Oi=({title:e,shortcuts:t,className:n})=>Object(r.createElement)("section",{className:I()("edit-post-keyboard-shortcut-help-modal__section",n)},!!e&&Object(r.createElement)("h2",{className:"edit-post-keyboard-shortcut-help-modal__section-title"},e),Object(r.createElement)(gi,{shortcuts:t})),yi=({title:e,categoryName:t,additionalShortcuts:n=[]})=>{const o=Object(b.useSelect)(e=>e(N.store).getCategoryShortcuts(t),[t]);return Object(r.createElement)(Oi,{title:e,shortcuts:o.concat(n)})};var ji=Object(v.compose)([Object(b.withSelect)(e=>({isModalActive:e(w.a).isModalActive(hi)})),Object(b.withDispatch)((e,{isModalActive:t})=>{const{openModal:n,closeModal:r}=e(w.a);return{toggleModal:()=>t?r():n(hi)}})])((function({isModalActive:e,toggleModal:t}){return Object(N.useShortcut)("core/edit-post/keyboard-shortcuts",t,{bindGlobal:!0}),e?Object(r.createElement)(m.Modal,{className:"edit-post-keyboard-shortcut-help-modal",title:Object(f.__)("Keyboard shortcuts"),closeLabel:Object(f.__)("Close"),onRequestClose:t},Object(r.createElement)(Oi,{className:"edit-post-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/edit-post/keyboard-shortcuts"]}),Object(r.createElement)(yi,{title:Object(f.__)("Global shortcuts"),categoryName:"global"}),Object(r.createElement)(yi,{title:Object(f.__)("Selection shortcuts"),categoryName:"selection"}),Object(r.createElement)(yi,{title:Object(f.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:Object(f.__)("Change the block type after adding a new paragraph."),
18
  /* translators: The forward-slash character. e.g. '/'. */
19
  ariaLabel:Object(f.__)("Forward-slash")}]}),Object(r.createElement)(Oi,{title:Object(f.__)("Text formatting"),shortcuts:mi})):null})),Ei=function({blockTypes:e,value:t,onItemChange:n}){return Object(r.createElement)("ul",{className:"edit-post-manage-blocks-modal__checklist"},e.map(e=>Object(r.createElement)("li",{key:e.name,className:"edit-post-manage-blocks-modal__checklist-item"},Object(r.createElement)(m.CheckboxControl,{label:Object(r.createElement)(r.Fragment,null,e.title,Object(r.createElement)(a.BlockIcon,{icon:e.icon})),checked:t.includes(e.name),onChange:Object(d.partial)(n,e.name)}))))},_i=Object(r.createContext)({}),wi=Object(v.compose)([v.withInstanceId,Object(b.withSelect)(e=>{const{getPreference:t}=e(w.a);return{hiddenBlockTypes:t("hiddenBlockTypes")}}),Object(b.withDispatch)((e,t)=>{const{showBlockTypes:n,hideBlockTypes:r}=e(w.a);return{toggleVisible(e,t){t?n(e):r(e)},toggleAllVisible(e){const o=Object(d.map)(t.blockTypes,"name");e?n(o):r(o)}}})])((function({instanceId:e,title:t,blockTypes:n,hiddenBlockTypes:o,toggleVisible:a,toggleAllVisible:i}){const c=Object(r.useContext)(_i),{allowedBlockTypes:s}=c,l=Object(r.useMemo)(()=>!0===s?n:n.filter(({name:e})=>Object(d.includes)(s||[],e)),[s,n]);if(!l.length)return null;const u=Object(d.without)(Object(d.map)(l,"name"),...o),p="edit-post-manage-blocks-modal__category-title-"+e,b=u.length===l.length;let f;return f=b?"true":u.length>0?"mixed":"false",Object(r.createElement)("div",{role:"group","aria-labelledby":p,className:"edit-post-manage-blocks-modal__category"},Object(r.createElement)(m.CheckboxControl,{checked:b,onChange:i,className:"edit-post-manage-blocks-modal__category-title","aria-checked":f,label:Object(r.createElement)("span",{id:p},t)}),Object(r.createElement)(Ei,{blockTypes:l,value:u,onItemChange:a}))})),Si=Object(b.withSelect)(e=>{const{getBlockTypes:t,getCategories:n,hasBlockSupport:r,isMatchingSearchTerm:o}=e(p.store),{getPreference:a}=e(w.a),i=a("hiddenBlockTypes"),c=Object(d.isArray)(i)&&i.length;return{blockTypes:t(),categories:n(),hasBlockSupport:r,isMatchingSearchTerm:o,numberOfHiddenBlocks:c}})((function({blockTypes:e,categories:t,hasBlockSupport:n,isMatchingSearchTerm:o,numberOfHiddenBlocks:a}){const[i,c]=Object(r.useState)("");return e=e.filter(e=>n(e,"inserter",!0)&&(!i||o(e,i))&&(!e.parent||Object(d.includes)(e.parent,"core/post-content"))),Object(r.createElement)("div",{className:"edit-post-manage-blocks-modal__content"},Object(r.createElement)(m.TextControl,{type:"search",label:Object(f.__)("Search for a block"),value:i,onChange:e=>c(e),className:"edit-post-manage-blocks-modal__search"}),!!a&&Object(r.createElement)("div",{className:"edit-post-manage-blocks-modal__disabled-blocks-count"},Object(f.sprintf)(
20
  /* translators: %d: number of blocks. */
build/edit-post/style-rtl.css CHANGED
@@ -1 +1 @@
1
- :root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--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}}.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,.interface-complementary-area h3{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;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{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 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{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;left:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;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{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;left:0;bottom:0;right:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-right:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-left:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;right:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.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-width:24px;max-height:24px}.edit-post-header{height:60px;background:#fff;display:flex;flex-wrap:wrap;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}.edit-post-header>.edit-post-header__settings{order:1}@supports (position:sticky){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex;flex-grow:1}.edit-post-header__toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header__toolbar .table-of-contents{display:block}}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap;padding-left:4px}@media (min-width:600px){.edit-post-header__settings{padding-left:16px}}.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-left:4px}@media (min-width:600px){.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-left:12px}}.edit-post-header__settings .components-button.is-tertiary,.edit-post-header__settings .editor-post-saved-state{padding:0 6px}.edit-post-header__settings .edit-post-more-menu .components-button,.edit-post-header__settings .interface-pinned-items .components-button{margin-left:0}.edit-post-header-preview__grouping-external{display:flex;position:relative;padding-bottom:0}.edit-post-header-preview__button-external{padding-right:8px;margin-left:auto;width:100%;display:flex;justify-content:flex-start}.edit-post-header-preview__button-external svg{margin-right:auto}.edit-post-post-preview-dropdown .components-popover__content>div{padding-bottom:0}.edit-post-header__dropdown .components-button.has-icon,.show-icon-labels .edit-post-header .components-button.has-icon,.show-icon-labels.interface-pinned-items .components-button.has-icon{width:auto}.edit-post-header__dropdown .components-button.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon svg{display:none}.edit-post-header__dropdown .components-button.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon:after{content:attr(aria-label)}.edit-post-header__dropdown .components-button.has-icon[aria-disabled=true],.show-icon-labels .edit-post-header .components-button.has-icon[aria-disabled=true],.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true]{background-color:transparent}.edit-post-header__dropdown .is-tertiary:active,.show-icon-labels .edit-post-header .is-tertiary:active,.show-icon-labels.interface-pinned-items .is-tertiary:active{box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);background-color:transparent}.edit-post-header__dropdown .components-button.has-icon.button-toggle svg,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg{display:block}.edit-post-header__dropdown .components-button.has-icon.button-toggle:after,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle:after,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle:after,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon:after{content:none}.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon{width:60px}.edit-post-header__dropdown .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels .edit-post-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon{display:block}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-right:8px;padding-left:8px}@media (min-width:600px){.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-right:12px;padding-left:12px}}.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-right:8px;padding-right:8px;padding-left:8px}@media (min-width:600px){.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-right:12px;padding-right:12px;padding-left:12px}}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:none}@media (min-width:600px){.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:attr(aria-label)}}.edit-post-header__dropdown .components-button.block-editor-block-navigation,.edit-post-header__dropdown .components-button.editor-history__redo,.edit-post-header__dropdown .components-button.editor-history__undo,.edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,.edit-post-header__dropdown .table-of-contents .components-button{margin:0;padding:6px 40px 6px 6px;width:14.625rem;text-align:right;justify-content:flex-start}.show-icon-labels.interface-pinned-items{padding:6px 12px 12px;margin:0 -12px;border-bottom:1px solid #ccc;display:block}.show-icon-labels.interface-pinned-items>.components-button.has-icon{margin:0;padding:6px 8px 6px 6px;width:14.625rem;justify-content:flex-start}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=true] svg{display:block;max-width:24px}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=false]{padding-right:40px}.show-icon-labels.interface-pinned-items>.components-button.has-icon svg{margin-left:8px}.edit-post-fullscreen-mode-close.has-icon{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon{display:flex;align-items:center;align-self:stretch;border:none;background:#23282e;color:#fff;border-radius:0;height:61px;width:60px;position:relative;margin-bottom:-1px}.edit-post-fullscreen-mode-close.has-icon:active{color:#fff}.edit-post-fullscreen-mode-close.has-icon:focus{box-shadow:none}.edit-post-fullscreen-mode-close.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;left:9px;bottom:9px;right:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #23282e}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-fullscreen-mode-close.has-icon:before{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}}@media (min-width:782px){.edit-post-fullscreen-mode-close.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-post-fullscreen-mode-close_site-icon{width:36px;border-radius:2px}.edit-post-header-toolbar{display:inline-flex;flex-grow:1;align-items:center;border:none}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:inline-flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle{display:inline-flex}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(-45deg)}.edit-post-header-toolbar .block-editor-block-navigation{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation{display:flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon{height:36px;min-width:36px;padding:6px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon.is-pressed,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon.is-pressed{background:#1e1e1e}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:focus:not(:disabled),.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 1px #fff;outline:1px solid transparent}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:before,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:before{display:none}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{opacity:0}}.edit-post-header-toolbar__left{display:inline-flex;align-items:center;padding-right:8px}@media (min-width:600px){.edit-post-header-toolbar__left{padding-right:24px}}@media (min-width:1280px){.edit-post-header-toolbar__left{padding-left:8px}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{margin-left:8px;min-width:32px;width:32px;height:32px;padding:0}.show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{height:36px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-text.has-icon{width:auto;padding:0 8px}.show-icon-labels .edit-post-header-toolbar__left>*+*{margin-right:8px}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:0}.edit-post-more-menu .components-button{padding:0 4px}}.edit-post-more-menu__content .components-popover__content{min-width:280px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-template-top-area{display:flex;flex-direction:column;align-content:space-between;width:100%;align-items:center}.edit-post-template-top-area .edit-post-template-post-title,.edit-post-template-top-area .edit-post-template-title{padding:0;text-decoration:none;height:auto}.edit-post-template-top-area .edit-post-template-post-title:before,.edit-post-template-top-area .edit-post-template-title:before{height:100%}.edit-post-template-top-area .edit-post-template-post-title.has-icon svg,.edit-post-template-top-area .edit-post-template-title.has-icon svg{order:1;margin-left:0}.edit-post-template-top-area .edit-post-template-title{color:#1e1e1e}.edit-post-template-top-area .edit-post-template-post-title{margin-top:4px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.edit-post-template-top-area .edit-post-template-post-title:before{right:0;left:0}@media (min-width:1080px){.edit-post-template-top-area .edit-post-template-post-title{max-width:none}}.edit-post-template-top-area__popover .components-popover__content{min-width:280px}.edit-post-template-top-area__second-menu-group{margin-right:-12px;margin-left:-12px;padding:12px 12px 0;border-top:1px solid #ddd}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button{display:flex;justify-content:center}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button .components-menu-item__item{margin-left:0}.edit-post-keyboard-shortcut-help-modal__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help-modal__shortcut{display:flex;align-items:baseline;padding:.6rem 0;border-top:1px solid #ddd;margin-bottom:0}.edit-post-keyboard-shortcut-help-modal__shortcut:last-child{border-bottom:1px solid #ddd}.edit-post-keyboard-shortcut-help-modal__shortcut:empty{display:none}.edit-post-keyboard-shortcut-help-modal__shortcut-term{font-weight:600;margin:0 1rem 0 0;text-align:left}.edit-post-keyboard-shortcut-help-modal__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{display:block;background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination+.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{margin-top:10px}.edit-post-keyboard-shortcut-help-modal__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child{margin:0 .2rem 0 0}.edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #ddd;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout .components-editor-notices__snackbar{position:fixed;left:0;bottom:40px;padding-right:16px;padding-left:16px;right:0}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar{right:160px}}@media (min-width:783px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:36px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{right:0}@media (min-width:783px){.folded .edit-post-layout .components-editor-notices__snackbar{right:36px}}body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar{right:0!important}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;right:auto;width:281px;border-right:1px solid #ddd;transform:translateX(-100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms;animation-delay:0s}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}}@media (min-width:782px){[role=region]:focus .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button{justify-content:center}.edit-post-layout__toggle-entities-saved-states-panel,.edit-post-layout__toggle-publish-panel,.edit-post-layout__toggle-sidebar-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel{top:auto;bottom:0}.edit-post-layout .interface-interface-skeleton__content{background-color:#2f2f2f}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:8px;border-radius:2px}.edit-post-manage-blocks-modal__disabled-blocks-count{border:1px solid #ddd;border-width:1px 0;margin-right:-32px;margin-left:-32px;padding:.6rem 32px;background-color:#f0f0f0}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-left:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__category-title,.edit-post-manage-blocks-modal__checklist-item{border-bottom:1px solid #ddd}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-right:16px}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-manage-blocks-modal__checklist-item .block-editor-block-icon{margin-left:10px;fill:#1e1e1e}.edit-post-manage-blocks-modal__results{border-top:1px solid #ddd}.edit-post-manage-blocks-modal__disabled-blocks-count+.edit-post-manage-blocks-modal__results{border-top-width:0}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #ddd;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;right:0;left:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;left:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}@media (min-width:600px){.edit-post-preferences-modal{width:calc(100% - 32px);height:calc(100% - 120px)}}@media (min-width:782px){.edit-post-preferences-modal{width:750px}}@media (min-width:960px){.edit-post-preferences-modal{height:70%}}@media (min-width:1440px){.edit-post-preferences-modal{height:50%}}.edit-post-preferences-modal .components-navigation{background-color:#fff;margin:-8px;padding:8px}.edit-post-preferences-modal .components-navigation .components-navigation__menu{margin:0;color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item{color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button{color:inherit;padding:3px 16px;height:48px}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:focus{background:#f0f0f0;font-weight:500}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item .components-toggle-control__label{color:inherit}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__menu-title-heading{color:inherit;border-bottom:1px solid #ddd;padding-right:0;padding-left:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button{color:inherit;padding-right:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .edit-post-preferences-modal__custom-fields-confirmation-button{width:auto}.edit-post-preferences-modal .edit-post-preferences__tabs{display:flex;flex-direction:row}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs{width:160px}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{border-radius:2px;font-weight:400}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active{background:#f0f0f0;box-shadow:none;font-weight:500}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content{width:500px;padding-right:24px}.edit-post-preferences-modal__section{margin:0 0 2.5rem}.edit-post-preferences-modal__section:last-child{margin:0}.edit-post-preferences-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-preferences-modal__option .components-base-control .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field>label{flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin:0 48px .6rem 0}@media (min-width:782px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin-right:38px}}@media (min-width:600px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-preferences-modal .components-base-control__help{margin:-8px 58px 8px 0;font-size:12px;font-style:normal;color:#757575}.edit-post-preferences-modal .edit-post-preferences-modal__section-description{margin:-8px 0 8px;font-size:12px;font-style:normal;color:#757575}.edit-post-editor__inserter-panel,.edit-post-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-post-editor__list-view-panel{min-width:350px}.edit-post-editor__inserter-panel-header{padding-top:8px;padding-left:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-post-editor__inserter-panel-header{display:none}}.edit-post-editor__inserter-panel-content,.edit-post-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-post-editor__inserter-panel-content{height:100%}}.edit-post-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-right:16px;padding-left:4px}.edit-post-editor__list-view-panel-content{overflow-y:auto;padding:8px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:16px;border-top:0;margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 auto 0 0;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0;height:48px}.editor-post-last-revision__title.components-button{padding:16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports (position:sticky){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{font-weight:400;margin:0}.edit-post-post-link__link{text-align:right;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative;justify-content:left}.edit-post-post-schedule span{display:block;width:45%}.components-button.edit-post-post-schedule__toggle{text-align:left}.edit-post-post-schedule__dialog .components-popover__content>div{padding:0}.editor-post-slug__input{margin:-5px 0;padding:2px}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%;justify-content:left}.edit-post-post-visibility span{display:block;width:45%}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-right:20px}.edit-post-post-visibility__dialog-info{color:#757575;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-button.edit-post-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-right:0;font-weight:500}.components-button.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-post-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-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:4px solid transparent}.components-button.edit-post-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-post-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-post-template__modal-actions{padding-top:12px}.edit-post-template__actions button:not(:last-child){margin-left:8px}h2.edit-post-template-summary__title{margin:0;line-height:24px}.edit-post-text-editor{position:relative;width:100%;background-color:#fff;flex-grow:1}.edit-post-text-editor .editor-post-title.editor-post-title__block{max-width:none;line-height:1.4}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input.editor-post-title__input.editor-post-title__input{font-family:Menlo,Consolas,monaco,monospace;font-size:2.5em;font-weight:400}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{border:1px solid #949494;margin-bottom:-1px;padding:16px}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{padding:24px}}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block{padding:0}}.edit-post-text-editor__body{width:100%;padding:0 12px 12px;max-width:1080px;margin-right:auto;margin-left:auto}@media (min-width:960px){.edit-post-text-editor__body{padding:0 24px 24px}}.edit-post-text-editor__toolbar{position:sticky;z-index:1;top:0;right:0;left:0;display:flex;background:hsla(0,0%,100%,.8);padding:4px 12px}@media (min-width:600px){.edit-post-text-editor__toolbar{padding:12px}}@media (min-width:960px){.edit-post-text-editor__toolbar{padding:12px 24px}}.edit-post-text-editor__toolbar h2{line-height:36px;margin:0 0 0 auto;font-size:13px;color:#1e1e1e}.edit-post-text-editor__toolbar .components-button svg{order:1}.edit-post-visual-editor{position:relative;display:flex;flex-flow:column;flex:1 1 auto}.edit-post-visual-editor .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-post-visual-editor .components-button.has-icon,.edit-post-visual-editor .components-button.is-tertiary{padding:6px}@supports (position:sticky){.edit-post-visual-editor{flex-basis:100%}}.edit-post-visual-editor__post-title-wrapper .editor-post-title{margin:2em auto 0}.edit-post-visual-editor__exit-template-mode{position:absolute;top:8px;right:8px;color:#fff}.edit-post-visual-editor__exit-template-mode:active:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:focus:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:hover{color:#f0f0f0}.edit-post-visual-editor__content-area{width:100%;height:100%;position:relative}.edit-post-welcome-guide{width:312px}.edit-post-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-post-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-post-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 24px;padding:0 32px}.edit-post-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-right:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{right:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor-page #wpwrap{overflow-y:auto}@media (min-width:782px){.block-editor-page #wpwrap{overflow-y:initial}}.components-modal__frame,.components-popover,.edit-post-editor__inserter-panel,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-editor__inserter-panel *,.edit-post-editor__inserter-panel :after,.edit-post-editor__inserter-panel :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}@media (min-width:600px){.block-editor__container{position:absolute;top:0;left:0;bottom:0;right:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187;--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-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6;--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-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054;--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-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724;--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-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d;--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-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21;--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-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066;--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-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922;--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-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--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}}.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,.interface-complementary-area h3{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;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{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 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{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;left:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;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{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;left:0;bottom:0;right:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-right:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-left:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;right:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.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-width:24px;max-height:24px}.edit-post-header{height:60px;background:#fff;display:flex;flex-wrap:wrap;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}.edit-post-header>.edit-post-header__settings{order:1}@supports (position:sticky){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex;flex-grow:1}.edit-post-header__toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header__toolbar .table-of-contents{display:block}}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap;padding-left:4px}@media (min-width:600px){.edit-post-header__settings{padding-left:16px}}.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-left:4px}@media (min-width:600px){.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-left:12px}}.edit-post-header__settings .components-button.is-tertiary,.edit-post-header__settings .editor-post-saved-state{padding:0 6px}.edit-post-header__settings .edit-post-more-menu .components-button,.edit-post-header__settings .interface-pinned-items .components-button{margin-left:0}.edit-post-header-preview__grouping-external{display:flex;position:relative;padding-bottom:0}.edit-post-header-preview__button-external{padding-right:8px;margin-left:auto;width:100%;display:flex;justify-content:flex-start}.edit-post-header-preview__button-external svg{margin-right:auto}.edit-post-post-preview-dropdown .components-popover__content>div{padding-bottom:0}.edit-post-header__dropdown .components-button.has-icon,.show-icon-labels .edit-post-header .components-button.has-icon,.show-icon-labels.interface-pinned-items .components-button.has-icon{width:auto}.edit-post-header__dropdown .components-button.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon svg{display:none}.edit-post-header__dropdown .components-button.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon:after{content:attr(aria-label)}.edit-post-header__dropdown .components-button.has-icon[aria-disabled=true],.show-icon-labels .edit-post-header .components-button.has-icon[aria-disabled=true],.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true]{background-color:transparent}.edit-post-header__dropdown .is-tertiary:active,.show-icon-labels .edit-post-header .is-tertiary:active,.show-icon-labels.interface-pinned-items .is-tertiary:active{box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);background-color:transparent}.edit-post-header__dropdown .components-button.has-icon.button-toggle svg,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg{display:block}.edit-post-header__dropdown .components-button.has-icon.button-toggle:after,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle:after,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle:after,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon:after{content:none}.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon{width:60px}.edit-post-header__dropdown .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels .edit-post-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon{display:block}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-right:8px;padding-left:8px}@media (min-width:600px){.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-right:12px;padding-left:12px}}.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-right:8px;padding-right:8px;padding-left:8px}@media (min-width:600px){.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-right:12px;padding-right:12px;padding-left:12px}}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:none}@media (min-width:600px){.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:attr(aria-label)}}.edit-post-header__dropdown .components-button.block-editor-block-navigation,.edit-post-header__dropdown .components-button.editor-history__redo,.edit-post-header__dropdown .components-button.editor-history__undo,.edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,.edit-post-header__dropdown .table-of-contents .components-button{margin:0;padding:6px 40px 6px 6px;width:14.625rem;text-align:right;justify-content:flex-start}.show-icon-labels.interface-pinned-items{padding:6px 12px 12px;margin:0 -12px;border-bottom:1px solid #ccc;display:block}.show-icon-labels.interface-pinned-items>.components-button.has-icon{margin:0;padding:6px 8px 6px 6px;width:14.625rem;justify-content:flex-start}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=true] svg{display:block;max-width:24px}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=false]{padding-right:40px}.show-icon-labels.interface-pinned-items>.components-button.has-icon svg{margin-left:8px}.edit-post-fullscreen-mode-close.has-icon{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon{display:flex;align-items:center;align-self:stretch;border:none;background:#23282e;color:#fff;border-radius:0;height:61px;width:60px;position:relative;margin-bottom:-1px}.edit-post-fullscreen-mode-close.has-icon:active{color:#fff}.edit-post-fullscreen-mode-close.has-icon:focus{box-shadow:none}.edit-post-fullscreen-mode-close.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;left:9px;bottom:9px;right:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #23282e}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-fullscreen-mode-close.has-icon:before{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}}@media (min-width:782px){.edit-post-fullscreen-mode-close.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-post-fullscreen-mode-close_site-icon{width:36px;border-radius:2px}.edit-post-header-toolbar{display:inline-flex;flex-grow:1;align-items:center;border:none}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:inline-flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle{display:inline-flex}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(-45deg)}.edit-post-header-toolbar .block-editor-block-navigation{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation{display:flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon{height:36px;min-width:36px;padding:6px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon.is-pressed,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon.is-pressed{background:#1e1e1e}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:focus:not(:disabled),.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 1px #fff;outline:1px solid transparent}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:before,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:before{display:none}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{opacity:0}}.edit-post-header-toolbar__left{display:inline-flex;align-items:center;padding-right:8px}@media (min-width:600px){.edit-post-header-toolbar__left{padding-right:24px}}@media (min-width:1280px){.edit-post-header-toolbar__left{padding-left:8px}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{margin-left:8px;min-width:32px;width:32px;height:32px;padding:0}.show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{height:36px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-text.has-icon{width:auto;padding:0 8px}.show-icon-labels .edit-post-header-toolbar__left>*+*{margin-right:8px}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:0}.edit-post-more-menu .components-button{padding:0 4px}}.edit-post-more-menu__content .components-popover__content{min-width:280px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-template-top-area{display:flex;flex-direction:column;align-content:space-between;width:100%;align-items:center}.edit-post-template-top-area .edit-post-template-post-title,.edit-post-template-top-area .edit-post-template-title{padding:0;text-decoration:none;height:auto}.edit-post-template-top-area .edit-post-template-post-title:before,.edit-post-template-top-area .edit-post-template-title:before{height:100%}.edit-post-template-top-area .edit-post-template-post-title.has-icon svg,.edit-post-template-top-area .edit-post-template-title.has-icon svg{order:1;margin-left:0}.edit-post-template-top-area .edit-post-template-title{color:#1e1e1e}.edit-post-template-top-area .edit-post-template-post-title{margin-top:4px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.edit-post-template-top-area .edit-post-template-post-title:before{right:0;left:0}@media (min-width:1080px){.edit-post-template-top-area .edit-post-template-post-title{max-width:none}}.edit-post-template-top-area__popover .components-popover__content{min-width:280px}.edit-post-template-top-area__second-menu-group{margin-right:-12px;margin-left:-12px;padding:12px 12px 0;border-top:1px solid #ddd}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button{display:flex;justify-content:center}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button .components-menu-item__item{margin-left:0}.edit-post-keyboard-shortcut-help-modal__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help-modal__shortcut{display:flex;align-items:baseline;padding:.6rem 0;border-top:1px solid #ddd;margin-bottom:0}.edit-post-keyboard-shortcut-help-modal__shortcut:last-child{border-bottom:1px solid #ddd}.edit-post-keyboard-shortcut-help-modal__shortcut:empty{display:none}.edit-post-keyboard-shortcut-help-modal__shortcut-term{font-weight:600;margin:0 1rem 0 0;text-align:left}.edit-post-keyboard-shortcut-help-modal__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{display:block;background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination+.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{margin-top:10px}.edit-post-keyboard-shortcut-help-modal__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child{margin:0 .2rem 0 0}.edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #ddd;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout .components-editor-notices__snackbar{position:fixed;left:0;bottom:40px;padding-right:16px;padding-left:16px;right:0}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar{right:160px}}@media (min-width:783px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:36px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{right:0}@media (min-width:783px){.folded .edit-post-layout .components-editor-notices__snackbar{right:36px}}body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar{right:0!important}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;right:auto;width:281px;border-right:1px solid #ddd;transform:translateX(-100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms;animation-delay:0s}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}}@media (min-width:782px){[role=region]:focus .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button{justify-content:center}.edit-post-layout__toggle-entities-saved-states-panel,.edit-post-layout__toggle-publish-panel,.edit-post-layout__toggle-sidebar-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel{top:auto;bottom:0}.edit-post-layout .interface-interface-skeleton__content{background-color:#2f2f2f}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:8px;border-radius:2px}.edit-post-manage-blocks-modal__disabled-blocks-count{border:1px solid #ddd;border-width:1px 0;margin-right:-32px;margin-left:-32px;padding:.6rem 32px;background-color:#f0f0f0}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-left:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__category-title,.edit-post-manage-blocks-modal__checklist-item{border-bottom:1px solid #ddd}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-right:16px}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-manage-blocks-modal__checklist-item .block-editor-block-icon{margin-left:10px;fill:#1e1e1e}.edit-post-manage-blocks-modal__results{border-top:1px solid #ddd}.edit-post-manage-blocks-modal__disabled-blocks-count+.edit-post-manage-blocks-modal__results{border-top-width:0}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #ddd;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;right:0;left:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;left:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}@media (min-width:600px){.edit-post-preferences-modal{width:calc(100% - 32px);height:calc(100% - 120px)}}@media (min-width:782px){.edit-post-preferences-modal{width:750px}}@media (min-width:960px){.edit-post-preferences-modal{height:70%}}@media (min-width:1440px){.edit-post-preferences-modal{height:50%}}.edit-post-preferences-modal .components-navigation{background-color:#fff;margin:-8px;padding:8px}.edit-post-preferences-modal .components-navigation .components-navigation__menu{margin:0;color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item{color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button{color:inherit;padding:3px 16px;height:48px}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:focus{background:#f0f0f0;font-weight:500}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item .components-toggle-control__label{color:inherit}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__menu-title-heading{color:inherit;border-bottom:1px solid #ddd;padding-right:0;padding-left:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button{color:inherit;padding-right:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .edit-post-preferences-modal__custom-fields-confirmation-button{width:auto}.edit-post-preferences-modal .edit-post-preferences__tabs{display:flex;flex-direction:row}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs{width:160px}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{border-radius:2px;font-weight:400}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active{background:#f0f0f0;box-shadow:none;font-weight:500}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content{width:500px;padding-right:24px}.edit-post-preferences-modal__section{margin:0 0 2.5rem}.edit-post-preferences-modal__section:last-child{margin:0}.edit-post-preferences-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-preferences-modal__option .components-base-control .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field>label{flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin:0 48px .6rem 0}@media (min-width:782px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin-right:38px}}@media (min-width:600px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-preferences-modal .components-base-control__help{margin:-8px 58px 8px 0;font-size:12px;font-style:normal;color:#757575}.edit-post-preferences-modal .edit-post-preferences-modal__section-description{margin:-8px 0 8px;font-size:12px;font-style:normal;color:#757575}.edit-post-editor__inserter-panel,.edit-post-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-post-editor__list-view-panel{min-width:350px}.edit-post-editor__inserter-panel-header{padding-top:8px;padding-left:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-post-editor__inserter-panel-header{display:none}}.edit-post-editor__inserter-panel-content,.edit-post-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-post-editor__inserter-panel-content{height:100%}}.edit-post-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-right:16px;padding-left:4px}.edit-post-editor__list-view-panel-content{overflow-y:auto;padding:8px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:16px;border-top:0;margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 auto 0 0;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0;height:48px}.editor-post-last-revision__title.components-button{padding:16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports (position:sticky){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{font-weight:400;margin:0}.edit-post-post-link__link{text-align:right;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative;justify-content:left}.edit-post-post-schedule span{display:block;width:45%}.components-button.edit-post-post-schedule__toggle{text-align:left}.edit-post-post-schedule__dialog .components-popover__content>div{padding:0}.editor-post-slug__input{margin:-5px 0;padding:2px}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%;justify-content:left}.edit-post-post-visibility span{display:block;width:45%}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-right:20px}.edit-post-post-visibility__dialog-info{color:#757575;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-button.edit-post-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-right:0;font-weight:500}.components-button.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-post-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-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:4px solid transparent}.components-button.edit-post-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-post-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-post-template__modal-actions{padding-top:12px}.edit-post-template__actions button:not(:last-child){margin-left:8px}h2.edit-post-template-summary__title{margin:0;line-height:24px}.edit-post-text-editor{position:relative;width:100%;background-color:#fff;flex-grow:1}.edit-post-text-editor .editor-post-title.editor-post-title__block{max-width:none;line-height:1.4}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input.editor-post-title__input.editor-post-title__input{font-family:Menlo,Consolas,monaco,monospace;font-size:2.5em;font-weight:400}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{border:1px solid #949494;margin-bottom:-1px;padding:16px}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{padding:24px}}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block{padding:0}}.edit-post-text-editor__body{width:100%;padding:0 12px 12px;max-width:1080px;margin-right:auto;margin-left:auto}@media (min-width:960px){.edit-post-text-editor__body{padding:0 24px 24px}}.edit-post-text-editor__toolbar{position:sticky;z-index:1;top:0;right:0;left:0;display:flex;background:hsla(0,0%,100%,.8);padding:4px 12px}@media (min-width:600px){.edit-post-text-editor__toolbar{padding:12px}}@media (min-width:960px){.edit-post-text-editor__toolbar{padding:12px 24px}}.edit-post-text-editor__toolbar h2{line-height:36px;margin:0 0 0 auto;font-size:13px;color:#1e1e1e}.edit-post-text-editor__toolbar .components-button svg{order:1}.edit-post-visual-editor{position:relative;display:flex;flex-flow:column;flex:1 1 auto}.edit-post-visual-editor .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-post-visual-editor .components-button.has-icon,.edit-post-visual-editor .components-button.is-tertiary{padding:6px}@supports (position:sticky){.edit-post-visual-editor{flex-basis:100%}}.edit-post-visual-editor__post-title-wrapper .editor-post-title{margin:2em auto 0}.edit-post-visual-editor__exit-template-mode{position:absolute;top:8px;right:8px;color:#fff}.edit-post-visual-editor__exit-template-mode:active:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:focus:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:hover{color:#f0f0f0}.edit-post-visual-editor__content-area{width:100%;min-height:100%;position:relative;display:flex}.edit-post-welcome-guide{width:312px}.edit-post-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-post-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-post-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 24px;padding:0 32px}.edit-post-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-right:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{right:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor-page #wpwrap{overflow-y:auto}@media (min-width:782px){.block-editor-page #wpwrap{overflow-y:initial}}.components-modal__frame,.components-popover,.edit-post-editor__inserter-panel,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-editor__inserter-panel *,.edit-post-editor__inserter-panel :after,.edit-post-editor__inserter-panel :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}@media (min-width:600px){.block-editor__container{position:absolute;top:0;left:0;bottom:0;right:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187;--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-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6;--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-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054;--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-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724;--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-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d;--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-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21;--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-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066;--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-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922;--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-post/style.css CHANGED
@@ -1 +1 @@
1
- :root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--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}}.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,.interface-complementary-area h3{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;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{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 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{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;right:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;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{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;right:0;bottom:0;left:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-left:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-right:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;left:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.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-width:24px;max-height:24px}.edit-post-header{height:60px;background:#fff;display:flex;flex-wrap:wrap;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}.edit-post-header>.edit-post-header__settings{order:1}@supports (position:sticky){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex;flex-grow:1}.edit-post-header__toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header__toolbar .table-of-contents{display:block}}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap;padding-right:4px}@media (min-width:600px){.edit-post-header__settings{padding-right:16px}}.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-right:4px}@media (min-width:600px){.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-right:12px}}.edit-post-header__settings .components-button.is-tertiary,.edit-post-header__settings .editor-post-saved-state{padding:0 6px}.edit-post-header__settings .edit-post-more-menu .components-button,.edit-post-header__settings .interface-pinned-items .components-button{margin-right:0}.edit-post-header-preview__grouping-external{display:flex;position:relative;padding-bottom:0}.edit-post-header-preview__button-external{padding-left:8px;margin-right:auto;width:100%;display:flex;justify-content:flex-start}.edit-post-header-preview__button-external svg{margin-left:auto}.edit-post-post-preview-dropdown .components-popover__content>div{padding-bottom:0}.edit-post-header__dropdown .components-button.has-icon,.show-icon-labels .edit-post-header .components-button.has-icon,.show-icon-labels.interface-pinned-items .components-button.has-icon{width:auto}.edit-post-header__dropdown .components-button.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon svg{display:none}.edit-post-header__dropdown .components-button.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon:after{content:attr(aria-label)}.edit-post-header__dropdown .components-button.has-icon[aria-disabled=true],.show-icon-labels .edit-post-header .components-button.has-icon[aria-disabled=true],.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true]{background-color:transparent}.edit-post-header__dropdown .is-tertiary:active,.show-icon-labels .edit-post-header .is-tertiary:active,.show-icon-labels.interface-pinned-items .is-tertiary:active{box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);background-color:transparent}.edit-post-header__dropdown .components-button.has-icon.button-toggle svg,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg{display:block}.edit-post-header__dropdown .components-button.has-icon.button-toggle:after,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle:after,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle:after,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon:after{content:none}.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon{width:60px}.edit-post-header__dropdown .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels .edit-post-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon{display:block}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-left:8px;padding-right:8px}@media (min-width:600px){.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-left:12px;padding-right:12px}}.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-left:8px;padding-left:8px;padding-right:8px}@media (min-width:600px){.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-left:12px;padding-left:12px;padding-right:12px}}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:none}@media (min-width:600px){.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:attr(aria-label)}}.edit-post-header__dropdown .components-button.block-editor-block-navigation,.edit-post-header__dropdown .components-button.editor-history__redo,.edit-post-header__dropdown .components-button.editor-history__undo,.edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,.edit-post-header__dropdown .table-of-contents .components-button{margin:0;padding:6px 6px 6px 40px;width:14.625rem;text-align:left;justify-content:flex-start}.show-icon-labels.interface-pinned-items{padding:6px 12px 12px;margin:0 -12px;border-bottom:1px solid #ccc;display:block}.show-icon-labels.interface-pinned-items>.components-button.has-icon{margin:0;padding:6px 6px 6px 8px;width:14.625rem;justify-content:flex-start}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=true] svg{display:block;max-width:24px}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=false]{padding-left:40px}.show-icon-labels.interface-pinned-items>.components-button.has-icon svg{margin-right:8px}.edit-post-fullscreen-mode-close.has-icon{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon{display:flex;align-items:center;align-self:stretch;border:none;background:#23282e;color:#fff;border-radius:0;height:61px;width:60px;position:relative;margin-bottom:-1px}.edit-post-fullscreen-mode-close.has-icon:active{color:#fff}.edit-post-fullscreen-mode-close.has-icon:focus{box-shadow:none}.edit-post-fullscreen-mode-close.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;right:9px;bottom:9px;left:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #23282e}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-fullscreen-mode-close.has-icon:before{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}}@media (min-width:782px){.edit-post-fullscreen-mode-close.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-post-fullscreen-mode-close_site-icon{width:36px;border-radius:2px}.edit-post-header-toolbar{display:inline-flex;flex-grow:1;align-items:center;border:none}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:inline-flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle{display:inline-flex}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(45deg)}.edit-post-header-toolbar .block-editor-block-navigation{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation{display:flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon{height:36px;min-width:36px;padding:6px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon.is-pressed,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon.is-pressed{background:#1e1e1e}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:focus:not(:disabled),.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 1px #fff;outline:1px solid transparent}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:before,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:before{display:none}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{opacity:0}}.edit-post-header-toolbar__left{display:inline-flex;align-items:center;padding-left:8px}@media (min-width:600px){.edit-post-header-toolbar__left{padding-left:24px}}@media (min-width:1280px){.edit-post-header-toolbar__left{padding-right:8px}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{margin-right:8px;min-width:32px;width:32px;height:32px;padding:0}.show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{height:36px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-text.has-icon{width:auto;padding:0 8px}.show-icon-labels .edit-post-header-toolbar__left>*+*{margin-left:8px}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:0}.edit-post-more-menu .components-button{padding:0 4px}}.edit-post-more-menu__content .components-popover__content{min-width:280px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-template-top-area{display:flex;flex-direction:column;align-content:space-between;width:100%;align-items:center}.edit-post-template-top-area .edit-post-template-post-title,.edit-post-template-top-area .edit-post-template-title{padding:0;text-decoration:none;height:auto}.edit-post-template-top-area .edit-post-template-post-title:before,.edit-post-template-top-area .edit-post-template-title:before{height:100%}.edit-post-template-top-area .edit-post-template-post-title.has-icon svg,.edit-post-template-top-area .edit-post-template-title.has-icon svg{order:1;margin-right:0}.edit-post-template-top-area .edit-post-template-title{color:#1e1e1e}.edit-post-template-top-area .edit-post-template-post-title{margin-top:4px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.edit-post-template-top-area .edit-post-template-post-title:before{left:0;right:0}@media (min-width:1080px){.edit-post-template-top-area .edit-post-template-post-title{max-width:none}}.edit-post-template-top-area__popover .components-popover__content{min-width:280px}.edit-post-template-top-area__second-menu-group{margin-left:-12px;margin-right:-12px;padding:12px 12px 0;border-top:1px solid #ddd}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button{display:flex;justify-content:center}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button .components-menu-item__item{margin-right:0}.edit-post-keyboard-shortcut-help-modal__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help-modal__shortcut{display:flex;align-items:baseline;padding:.6rem 0;border-top:1px solid #ddd;margin-bottom:0}.edit-post-keyboard-shortcut-help-modal__shortcut:last-child{border-bottom:1px solid #ddd}.edit-post-keyboard-shortcut-help-modal__shortcut:empty{display:none}.edit-post-keyboard-shortcut-help-modal__shortcut-term{font-weight:600;margin:0 0 0 1rem;text-align:right}.edit-post-keyboard-shortcut-help-modal__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{display:block;background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination+.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{margin-top:10px}.edit-post-keyboard-shortcut-help-modal__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child{margin:0 0 0 .2rem}.edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #ddd;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout .components-editor-notices__snackbar{position:fixed;right:0;bottom:40px;padding-left:16px;padding-right:16px;left:0}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar{left:160px}}@media (min-width:783px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:36px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{left:0}@media (min-width:783px){.folded .edit-post-layout .components-editor-notices__snackbar{left:36px}}body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar{left:0!important}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;left:auto;width:281px;border-left:1px solid #ddd;transform:translateX(100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms;animation-delay:0s}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}}@media (min-width:782px){[role=region]:focus .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button{justify-content:center}.edit-post-layout__toggle-entities-saved-states-panel,.edit-post-layout__toggle-publish-panel,.edit-post-layout__toggle-sidebar-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel{top:auto;bottom:0}.edit-post-layout .interface-interface-skeleton__content{background-color:#2f2f2f}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:8px;border-radius:2px}.edit-post-manage-blocks-modal__disabled-blocks-count{border:1px solid #ddd;border-width:1px 0;margin-left:-32px;margin-right:-32px;padding:.6rem 32px;background-color:#f0f0f0}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-right:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__category-title,.edit-post-manage-blocks-modal__checklist-item{border-bottom:1px solid #ddd}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-left:16px}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-manage-blocks-modal__checklist-item .block-editor-block-icon{margin-right:10px;fill:#1e1e1e}.edit-post-manage-blocks-modal__results{border-top:1px solid #ddd}.edit-post-manage-blocks-modal__disabled-blocks-count+.edit-post-manage-blocks-modal__results{border-top-width:0}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #ddd;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;left:0;right:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;right:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}@media (min-width:600px){.edit-post-preferences-modal{width:calc(100% - 32px);height:calc(100% - 120px)}}@media (min-width:782px){.edit-post-preferences-modal{width:750px}}@media (min-width:960px){.edit-post-preferences-modal{height:70%}}@media (min-width:1440px){.edit-post-preferences-modal{height:50%}}.edit-post-preferences-modal .components-navigation{background-color:#fff;margin:-8px;padding:8px}.edit-post-preferences-modal .components-navigation .components-navigation__menu{margin:0;color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item{color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button{color:inherit;padding:3px 16px;height:48px}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:focus{background:#f0f0f0;font-weight:500}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item .components-toggle-control__label{color:inherit}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__menu-title-heading{color:inherit;border-bottom:1px solid #ddd;padding-left:0;padding-right:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button{color:inherit;padding-left:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .edit-post-preferences-modal__custom-fields-confirmation-button{width:auto}.edit-post-preferences-modal .edit-post-preferences__tabs{display:flex;flex-direction:row}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs{width:160px}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{border-radius:2px;font-weight:400}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active{background:#f0f0f0;box-shadow:none;font-weight:500}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content{width:500px;padding-left:24px}.edit-post-preferences-modal__section{margin:0 0 2.5rem}.edit-post-preferences-modal__section:last-child{margin:0}.edit-post-preferences-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-preferences-modal__option .components-base-control .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field>label{flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin:0 0 .6rem 48px}@media (min-width:782px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin-left:38px}}@media (min-width:600px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-preferences-modal .components-base-control__help{margin:-8px 0 8px 58px;font-size:12px;font-style:normal;color:#757575}.edit-post-preferences-modal .edit-post-preferences-modal__section-description{margin:-8px 0 8px;font-size:12px;font-style:normal;color:#757575}.edit-post-editor__inserter-panel,.edit-post-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-post-editor__list-view-panel{min-width:350px}.edit-post-editor__inserter-panel-header{padding-top:8px;padding-right:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-post-editor__inserter-panel-header{display:none}}.edit-post-editor__inserter-panel-content,.edit-post-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-post-editor__inserter-panel-content{height:100%}}.edit-post-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-left:16px;padding-right:4px}.edit-post-editor__list-view-panel-content{overflow-y:auto;padding:8px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:16px;border-top:0;margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 0 0 auto;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0;height:48px}.editor-post-last-revision__title.components-button{padding:16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports (position:sticky){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{font-weight:400;margin:0}.edit-post-post-link__link{text-align:left;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative;justify-content:left}.edit-post-post-schedule span{display:block;width:45%}.components-button.edit-post-post-schedule__toggle{text-align:right}.edit-post-post-schedule__dialog .components-popover__content>div{padding:0}.editor-post-slug__input{margin:-5px 0;padding:2px}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%;justify-content:left}.edit-post-post-visibility span{display:block;width:45%}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-left:20px}.edit-post-post-visibility__dialog-info{color:#757575;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-button.edit-post-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-left:0;font-weight:500}.components-button.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-post-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-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:4px solid transparent}.components-button.edit-post-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-post-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-post-template__modal-actions{padding-top:12px}.edit-post-template__actions button:not(:last-child){margin-right:8px}h2.edit-post-template-summary__title{margin:0;line-height:24px}.edit-post-text-editor{position:relative;width:100%;background-color:#fff;flex-grow:1}.edit-post-text-editor .editor-post-title.editor-post-title__block{max-width:none;line-height:1.4}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input.editor-post-title__input.editor-post-title__input{font-family:Menlo,Consolas,monaco,monospace;font-size:2.5em;font-weight:400}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{border:1px solid #949494;margin-bottom:-1px;padding:16px}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{padding:24px}}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block{padding:0}}.edit-post-text-editor__body{width:100%;padding:0 12px 12px;max-width:1080px;margin-left:auto;margin-right:auto}@media (min-width:960px){.edit-post-text-editor__body{padding:0 24px 24px}}.edit-post-text-editor__toolbar{position:sticky;z-index:1;top:0;left:0;right:0;display:flex;background:hsla(0,0%,100%,.8);padding:4px 12px}@media (min-width:600px){.edit-post-text-editor__toolbar{padding:12px}}@media (min-width:960px){.edit-post-text-editor__toolbar{padding:12px 24px}}.edit-post-text-editor__toolbar h2{line-height:36px;margin:0 auto 0 0;font-size:13px;color:#1e1e1e}.edit-post-text-editor__toolbar .components-button svg{order:1}.edit-post-visual-editor{position:relative;display:flex;flex-flow:column;flex:1 1 auto}.edit-post-visual-editor .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-post-visual-editor .components-button.has-icon,.edit-post-visual-editor .components-button.is-tertiary{padding:6px}@supports (position:sticky){.edit-post-visual-editor{flex-basis:100%}}.edit-post-visual-editor__post-title-wrapper .editor-post-title{margin:2em auto 0}.edit-post-visual-editor__exit-template-mode{position:absolute;top:8px;left:8px;color:#fff}.edit-post-visual-editor__exit-template-mode:active:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:focus:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:hover{color:#f0f0f0}.edit-post-visual-editor__content-area{width:100%;height:100%;position:relative}.edit-post-welcome-guide{width:312px}.edit-post-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-post-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-post-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 24px;padding:0 32px}.edit-post-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-left:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{left:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor-page #wpwrap{overflow-y:auto}@media (min-width:782px){.block-editor-page #wpwrap{overflow-y:initial}}.components-modal__frame,.components-popover,.edit-post-editor__inserter-panel,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-editor__inserter-panel *,.edit-post-editor__inserter-panel :after,.edit-post-editor__inserter-panel :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}@media (min-width:600px){.block-editor__container{position:absolute;top:0;right:0;bottom:0;left:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187;--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-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6;--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-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054;--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-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724;--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-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d;--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-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21;--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-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066;--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-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922;--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-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--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}}.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,.interface-complementary-area h3{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;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{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 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{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;right:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;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{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;right:0;bottom:0;left:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-left:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-right:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;left:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.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-width:24px;max-height:24px}.edit-post-header{height:60px;background:#fff;display:flex;flex-wrap:wrap;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}.edit-post-header>.edit-post-header__settings{order:1}@supports (position:sticky){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex;flex-grow:1}.edit-post-header__toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header__toolbar .table-of-contents{display:block}}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap;padding-right:4px}@media (min-width:600px){.edit-post-header__settings{padding-right:16px}}.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-right:4px}@media (min-width:600px){.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-right:12px}}.edit-post-header__settings .components-button.is-tertiary,.edit-post-header__settings .editor-post-saved-state{padding:0 6px}.edit-post-header__settings .edit-post-more-menu .components-button,.edit-post-header__settings .interface-pinned-items .components-button{margin-right:0}.edit-post-header-preview__grouping-external{display:flex;position:relative;padding-bottom:0}.edit-post-header-preview__button-external{padding-left:8px;margin-right:auto;width:100%;display:flex;justify-content:flex-start}.edit-post-header-preview__button-external svg{margin-left:auto}.edit-post-post-preview-dropdown .components-popover__content>div{padding-bottom:0}.edit-post-header__dropdown .components-button.has-icon,.show-icon-labels .edit-post-header .components-button.has-icon,.show-icon-labels.interface-pinned-items .components-button.has-icon{width:auto}.edit-post-header__dropdown .components-button.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon svg{display:none}.edit-post-header__dropdown .components-button.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon:after{content:attr(aria-label)}.edit-post-header__dropdown .components-button.has-icon[aria-disabled=true],.show-icon-labels .edit-post-header .components-button.has-icon[aria-disabled=true],.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true]{background-color:transparent}.edit-post-header__dropdown .is-tertiary:active,.show-icon-labels .edit-post-header .is-tertiary:active,.show-icon-labels.interface-pinned-items .is-tertiary:active{box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);background-color:transparent}.edit-post-header__dropdown .components-button.has-icon.button-toggle svg,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg{display:block}.edit-post-header__dropdown .components-button.has-icon.button-toggle:after,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle:after,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle:after,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon:after{content:none}.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon{width:60px}.edit-post-header__dropdown .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels .edit-post-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon{display:block}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-left:8px;padding-right:8px}@media (min-width:600px){.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-left:12px;padding-right:12px}}.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-left:8px;padding-left:8px;padding-right:8px}@media (min-width:600px){.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-left:12px;padding-left:12px;padding-right:12px}}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:none}@media (min-width:600px){.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:attr(aria-label)}}.edit-post-header__dropdown .components-button.block-editor-block-navigation,.edit-post-header__dropdown .components-button.editor-history__redo,.edit-post-header__dropdown .components-button.editor-history__undo,.edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,.edit-post-header__dropdown .table-of-contents .components-button{margin:0;padding:6px 6px 6px 40px;width:14.625rem;text-align:left;justify-content:flex-start}.show-icon-labels.interface-pinned-items{padding:6px 12px 12px;margin:0 -12px;border-bottom:1px solid #ccc;display:block}.show-icon-labels.interface-pinned-items>.components-button.has-icon{margin:0;padding:6px 6px 6px 8px;width:14.625rem;justify-content:flex-start}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=true] svg{display:block;max-width:24px}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=false]{padding-left:40px}.show-icon-labels.interface-pinned-items>.components-button.has-icon svg{margin-right:8px}.edit-post-fullscreen-mode-close.has-icon{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon{display:flex;align-items:center;align-self:stretch;border:none;background:#23282e;color:#fff;border-radius:0;height:61px;width:60px;position:relative;margin-bottom:-1px}.edit-post-fullscreen-mode-close.has-icon:active{color:#fff}.edit-post-fullscreen-mode-close.has-icon:focus{box-shadow:none}.edit-post-fullscreen-mode-close.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;right:9px;bottom:9px;left:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #23282e}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-fullscreen-mode-close.has-icon:before{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}}@media (min-width:782px){.edit-post-fullscreen-mode-close.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-post-fullscreen-mode-close_site-icon{width:36px;border-radius:2px}.edit-post-header-toolbar{display:inline-flex;flex-grow:1;align-items:center;border:none}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:inline-flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle{display:inline-flex}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(45deg)}.edit-post-header-toolbar .block-editor-block-navigation{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation{display:flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon{height:36px;min-width:36px;padding:6px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon.is-pressed,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon.is-pressed{background:#1e1e1e}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:focus:not(:disabled),.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 1px #fff;outline:1px solid transparent}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:before,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:before{display:none}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{opacity:0}}.edit-post-header-toolbar__left{display:inline-flex;align-items:center;padding-left:8px}@media (min-width:600px){.edit-post-header-toolbar__left{padding-left:24px}}@media (min-width:1280px){.edit-post-header-toolbar__left{padding-right:8px}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{margin-right:8px;min-width:32px;width:32px;height:32px;padding:0}.show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{height:36px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-text.has-icon{width:auto;padding:0 8px}.show-icon-labels .edit-post-header-toolbar__left>*+*{margin-left:8px}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:0}.edit-post-more-menu .components-button{padding:0 4px}}.edit-post-more-menu__content .components-popover__content{min-width:280px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-template-top-area{display:flex;flex-direction:column;align-content:space-between;width:100%;align-items:center}.edit-post-template-top-area .edit-post-template-post-title,.edit-post-template-top-area .edit-post-template-title{padding:0;text-decoration:none;height:auto}.edit-post-template-top-area .edit-post-template-post-title:before,.edit-post-template-top-area .edit-post-template-title:before{height:100%}.edit-post-template-top-area .edit-post-template-post-title.has-icon svg,.edit-post-template-top-area .edit-post-template-title.has-icon svg{order:1;margin-right:0}.edit-post-template-top-area .edit-post-template-title{color:#1e1e1e}.edit-post-template-top-area .edit-post-template-post-title{margin-top:4px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.edit-post-template-top-area .edit-post-template-post-title:before{left:0;right:0}@media (min-width:1080px){.edit-post-template-top-area .edit-post-template-post-title{max-width:none}}.edit-post-template-top-area__popover .components-popover__content{min-width:280px}.edit-post-template-top-area__second-menu-group{margin-left:-12px;margin-right:-12px;padding:12px 12px 0;border-top:1px solid #ddd}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button{display:flex;justify-content:center}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button .components-menu-item__item{margin-right:0}.edit-post-keyboard-shortcut-help-modal__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help-modal__shortcut{display:flex;align-items:baseline;padding:.6rem 0;border-top:1px solid #ddd;margin-bottom:0}.edit-post-keyboard-shortcut-help-modal__shortcut:last-child{border-bottom:1px solid #ddd}.edit-post-keyboard-shortcut-help-modal__shortcut:empty{display:none}.edit-post-keyboard-shortcut-help-modal__shortcut-term{font-weight:600;margin:0 0 0 1rem;text-align:right}.edit-post-keyboard-shortcut-help-modal__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{display:block;background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination+.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{margin-top:10px}.edit-post-keyboard-shortcut-help-modal__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child{margin:0 0 0 .2rem}.edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #ddd;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout .components-editor-notices__snackbar{position:fixed;right:0;bottom:40px;padding-left:16px;padding-right:16px;left:0}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar{left:160px}}@media (min-width:783px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:36px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{left:0}@media (min-width:783px){.folded .edit-post-layout .components-editor-notices__snackbar{left:36px}}body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar{left:0!important}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;left:auto;width:281px;border-left:1px solid #ddd;transform:translateX(100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms;animation-delay:0s}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}}@media (min-width:782px){[role=region]:focus .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button{justify-content:center}.edit-post-layout__toggle-entities-saved-states-panel,.edit-post-layout__toggle-publish-panel,.edit-post-layout__toggle-sidebar-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel{top:auto;bottom:0}.edit-post-layout .interface-interface-skeleton__content{background-color:#2f2f2f}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:8px;border-radius:2px}.edit-post-manage-blocks-modal__disabled-blocks-count{border:1px solid #ddd;border-width:1px 0;margin-left:-32px;margin-right:-32px;padding:.6rem 32px;background-color:#f0f0f0}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-right:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__category-title,.edit-post-manage-blocks-modal__checklist-item{border-bottom:1px solid #ddd}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-left:16px}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-manage-blocks-modal__checklist-item .block-editor-block-icon{margin-right:10px;fill:#1e1e1e}.edit-post-manage-blocks-modal__results{border-top:1px solid #ddd}.edit-post-manage-blocks-modal__disabled-blocks-count+.edit-post-manage-blocks-modal__results{border-top-width:0}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #ddd;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;left:0;right:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;right:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}@media (min-width:600px){.edit-post-preferences-modal{width:calc(100% - 32px);height:calc(100% - 120px)}}@media (min-width:782px){.edit-post-preferences-modal{width:750px}}@media (min-width:960px){.edit-post-preferences-modal{height:70%}}@media (min-width:1440px){.edit-post-preferences-modal{height:50%}}.edit-post-preferences-modal .components-navigation{background-color:#fff;margin:-8px;padding:8px}.edit-post-preferences-modal .components-navigation .components-navigation__menu{margin:0;color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item{color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button{color:inherit;padding:3px 16px;height:48px}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:focus{background:#f0f0f0;font-weight:500}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item .components-toggle-control__label{color:inherit}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__menu-title-heading{color:inherit;border-bottom:1px solid #ddd;padding-left:0;padding-right:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button{color:inherit;padding-left:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .edit-post-preferences-modal__custom-fields-confirmation-button{width:auto}.edit-post-preferences-modal .edit-post-preferences__tabs{display:flex;flex-direction:row}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs{width:160px}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{border-radius:2px;font-weight:400}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active{background:#f0f0f0;box-shadow:none;font-weight:500}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content{width:500px;padding-left:24px}.edit-post-preferences-modal__section{margin:0 0 2.5rem}.edit-post-preferences-modal__section:last-child{margin:0}.edit-post-preferences-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-preferences-modal__option .components-base-control .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field>label{flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin:0 0 .6rem 48px}@media (min-width:782px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin-left:38px}}@media (min-width:600px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-preferences-modal .components-base-control__help{margin:-8px 0 8px 58px;font-size:12px;font-style:normal;color:#757575}.edit-post-preferences-modal .edit-post-preferences-modal__section-description{margin:-8px 0 8px;font-size:12px;font-style:normal;color:#757575}.edit-post-editor__inserter-panel,.edit-post-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-post-editor__list-view-panel{min-width:350px}.edit-post-editor__inserter-panel-header{padding-top:8px;padding-right:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-post-editor__inserter-panel-header{display:none}}.edit-post-editor__inserter-panel-content,.edit-post-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-post-editor__inserter-panel-content{height:100%}}.edit-post-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-left:16px;padding-right:4px}.edit-post-editor__list-view-panel-content{overflow-y:auto;padding:8px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:16px;border-top:0;margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 0 0 auto;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0;height:48px}.editor-post-last-revision__title.components-button{padding:16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports (position:sticky){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{font-weight:400;margin:0}.edit-post-post-link__link{text-align:left;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative;justify-content:left}.edit-post-post-schedule span{display:block;width:45%}.components-button.edit-post-post-schedule__toggle{text-align:right}.edit-post-post-schedule__dialog .components-popover__content>div{padding:0}.editor-post-slug__input{margin:-5px 0;padding:2px}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%;justify-content:left}.edit-post-post-visibility span{display:block;width:45%}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-left:20px}.edit-post-post-visibility__dialog-info{color:#757575;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-button.edit-post-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-left:0;font-weight:500}.components-button.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-post-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-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:4px solid transparent}.components-button.edit-post-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-post-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-post-template__modal-actions{padding-top:12px}.edit-post-template__actions button:not(:last-child){margin-right:8px}h2.edit-post-template-summary__title{margin:0;line-height:24px}.edit-post-text-editor{position:relative;width:100%;background-color:#fff;flex-grow:1}.edit-post-text-editor .editor-post-title.editor-post-title__block{max-width:none;line-height:1.4}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input.editor-post-title__input.editor-post-title__input{font-family:Menlo,Consolas,monaco,monospace;font-size:2.5em;font-weight:400}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{border:1px solid #949494;margin-bottom:-1px;padding:16px}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{padding:24px}}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block{padding:0}}.edit-post-text-editor__body{width:100%;padding:0 12px 12px;max-width:1080px;margin-left:auto;margin-right:auto}@media (min-width:960px){.edit-post-text-editor__body{padding:0 24px 24px}}.edit-post-text-editor__toolbar{position:sticky;z-index:1;top:0;left:0;right:0;display:flex;background:hsla(0,0%,100%,.8);padding:4px 12px}@media (min-width:600px){.edit-post-text-editor__toolbar{padding:12px}}@media (min-width:960px){.edit-post-text-editor__toolbar{padding:12px 24px}}.edit-post-text-editor__toolbar h2{line-height:36px;margin:0 auto 0 0;font-size:13px;color:#1e1e1e}.edit-post-text-editor__toolbar .components-button svg{order:1}.edit-post-visual-editor{position:relative;display:flex;flex-flow:column;flex:1 1 auto}.edit-post-visual-editor .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-post-visual-editor .components-button.has-icon,.edit-post-visual-editor .components-button.is-tertiary{padding:6px}@supports (position:sticky){.edit-post-visual-editor{flex-basis:100%}}.edit-post-visual-editor__post-title-wrapper .editor-post-title{margin:2em auto 0}.edit-post-visual-editor__exit-template-mode{position:absolute;top:8px;left:8px;color:#fff}.edit-post-visual-editor__exit-template-mode:active:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:focus:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:hover{color:#f0f0f0}.edit-post-visual-editor__content-area{width:100%;min-height:100%;position:relative;display:flex}.edit-post-welcome-guide{width:312px}.edit-post-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-post-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-post-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 24px;padding:0 32px}.edit-post-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-left:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{left:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor-page #wpwrap{overflow-y:auto}@media (min-width:782px){.block-editor-page #wpwrap{overflow-y:initial}}.components-modal__frame,.components-popover,.edit-post-editor__inserter-panel,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-editor__inserter-panel *,.edit-post-editor__inserter-panel :after,.edit-post-editor__inserter-panel :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}@media (min-width:600px){.block-editor__container{position:absolute;top:0;right:0;bottom:0;left:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187;--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-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6;--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-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054;--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-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724;--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-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d;--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-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21;--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-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066;--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-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922;--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,238 +1,248 @@
1
  == Changelog ==
2
 
3
- = 10.8.0 =
4
 
5
 
6
 
7
  ### Bug Fixes
8
 
9
- - Fix the layout definition in the template mode. ([32425](https://github.com/WordPress/gutenberg/pull/32425))
10
- - Fixed Random Collapse of Colors Setting Section. ([32388](https://github.com/WordPress/gutenberg/pull/32388))
11
-
12
- ### Experiments
13
-
14
- - Assume light theme when editor canvas background color isn't set. ([32477](https://github.com/WordPress/gutenberg/pull/32477))
15
- - Letter spacing should also respect skip serialization flag. ([32459](https://github.com/WordPress/gutenberg/pull/32459))
16
-
17
- ### Various
18
-
19
- - Update: Skip typography serialization. ([32444](https://github.com/WordPress/gutenberg/pull/32444))
20
-
21
- ### Enhancements
22
-
23
- - Block Editor:
24
- - Update Modal styling. ([31639](https://github.com/WordPress/gutenberg/pull/31639))
25
- - Block Library:
26
- - Archives Block: Show the label for archives block dropdown. ([30527](https://github.com/WordPress/gutenberg/pull/30527))
27
- - Audio Block: Add an example preview. ([32333](https://github.com/WordPress/gutenberg/pull/32333))
28
- - File Block: Add an example preview. ([32350](https://github.com/WordPress/gutenberg/pull/32350))
29
- - Heading Block: Add support for font-weight. ([27639](https://github.com/WordPress/gutenberg/pull/27639))
30
- - List Block: Add font family to the list block. ([27510](https://github.com/WordPress/gutenberg/pull/27510))
31
- - Page list block: Add active page classes. ([32134](https://github.com/WordPress/gutenberg/pull/32134))
32
- - Site Logo: Use option instead of theme-mod. ([32229](https://github.com/WordPress/gutenberg/pull/32229))
33
- - Components:
34
- - BoxControl: Add allowReset option. ([32345](https://github.com/WordPress/gutenberg/pull/32345))
35
- General Interface:
36
- - Remove opacity animation on canvas. ([32266](https://github.com/WordPress/gutenberg/pull/32266))
37
- - Design tools:
38
- - Add Letter-spacing and enable this for site title and site tagline. ([31118](https://github.com/WordPress/gutenberg/pull/31118))
39
- - Block Supports: Allow skipping spacing support serialization. ([31973](https://github.com/WordPress/gutenberg/pull/31973))
40
- - Reusable Block:
41
- - Add Convert to Regular Blocks button to ellipsis Dropdown. ([32310](https://github.com/WordPress/gutenberg/pull/32310))
42
- - REST API:
43
- - Improve parsing and retrieve additional data in REST url-details endpoint. ([31763](https://github.com/WordPress/gutenberg/pull/31763))
44
- - Template Editing Mode:
45
- - Don't display snackbar with the Welcome Guide. ([32076](https://github.com/WordPress/gutenberg/pull/32076))
46
- - Update the appearance of the template details popover. ([32042](https://github.com/WordPress/gutenberg/pull/32042))
47
- - Update the title area in the template editor. ([32037](https://github.com/WordPress/gutenberg/pull/32037))
48
- - Block-based Widgets:
49
- - Customizer:
50
- - Add preferences menu group label to widgets and customize widget editor. ([32259](https://github.com/WordPress/gutenberg/pull/32259))
51
- - Display wide widgets as popovers in Customizer. ([31736](https://github.com/WordPress/gutenberg/pull/31736))
52
- - Editor:
53
- - Link to widgets.php instead of themes.php?page=gutenberg-widgets. ([32299](https://github.com/WordPress/gutenberg/pull/32299))
54
-
55
- ### Bug Fixes
56
-
57
- - Block Library:
58
- - Image Block: Fix image border radius. ([32393](https://github.com/WordPress/gutenberg/pull/32393))
59
- - List Block: Fix `theme.json` styles for the `core/list` block. ([32343](https://github.com/WordPress/gutenberg/pull/32343))
60
- - Latest Posts: Limit latest posts featured image width to 100%. ([32245](https://github.com/WordPress/gutenberg/pull/32245))
61
- - Legacy Widget Block:
62
- - Fix legacy widget block preview iframe. ([32300](https://github.com/WordPress/gutenberg/pull/32300))
63
- - Fix legacy widget previews. ([32260](https://github.com/WordPress/gutenberg/pull/32260))
64
- - Search block: Fix vertical alignment of the search button text. ([32340](https://github.com/WordPress/gutenberg/pull/32340))
65
- - Block Editor:
66
- - Block Variation Transforms: Make focus style valid CSS. ([32305](https://github.com/WordPress/gutenberg/pull/32305))
67
- - Block Toolbar:
68
- - Always close the options menu after toggling the sidebar. ([31921](https://github.com/WordPress/gutenberg/pull/31921))
69
- - Fix toolbar alignment in widget block editor. ([31991](https://github.com/WordPress/gutenberg/pull/31991))
70
- - Iframe: Fix embed dimensions with missing wp-embed-responsive class. ([32057](https://github.com/WordPress/gutenberg/pull/32057))
71
- - Patterns: Fix allowed patterns check. ([32376](https://github.com/WordPress/gutenberg/pull/32376))
72
- - Block-Based Widgets:
73
- - Editor:
74
- - Fix error when saving empty Legacy Widget block. ([32359](https://github.com/WordPress/gutenberg/pull/32359))
75
- - Customizer:
76
- - Center the welcome image in the narrow viewport of widgets customizer. ([32264](https://github.com/WordPress/gutenberg/pull/32264))
77
- - Fix aspect ratio of welcome image. ([32302](https://github.com/WordPress/gutenberg/pull/32302))
78
- - Fix deselecting block when inspector is opened. ([32361](https://github.com/WordPress/gutenberg/pull/32361))
79
- - Fix escape key events in customizer closing the editor. ([32175](https://github.com/WordPress/gutenberg/pull/32175))
80
- - Fix some smaller styling issues and bugs in Widgets Customizer. ([32072](https://github.com/WordPress/gutenberg/pull/32072))
81
- - Fix creating and replacing legacy widgets in customizer. ([32005](https://github.com/WordPress/gutenberg/pull/32005))
82
- - Components:
83
- - SuggestionsList: Try to use a unique "key". ([32344](https://github.com/WordPress/gutenberg/pull/32344))
84
- - Update Dropdown’s close-on-blur logic to work inside dialogs. ([32133](https://github.com/WordPress/gutenberg/pull/32133))
85
- - Editor:
86
- - Allow non-latin characters in slugs. ([32232](https://github.com/WordPress/gutenberg/pull/32232))
87
- - Post Preview Button: Prevent saving the post before previewing in locked/read-only mode. ([32341](https://github.com/WordPress/gutenberg/pull/32341))
88
- - General Interface: Fix overlap of Notices and block toolbar. ([32238](https://github.com/WordPress/gutenberg/pull/32238))
89
- - Template Editing Mode: Remove metaboxes from template mode. ([32315](https://github.com/WordPress/gutenberg/pull/32315))
90
 
91
  ### Performance
92
 
93
- - Buttons: Move options to constants to avoid unneeded renders. ([32356](https://github.com/WordPress/gutenberg/pull/32356))
94
- - Experimental Layout: Pass the same object when no data changes. ([32380](https://github.com/WordPress/gutenberg/pull/32380))
95
- - Navigation: Avoid rerendering when the placeholder does not change. ([32357](https://github.com/WordPress/gutenberg/pull/32357))
96
- - Update Welcome Guides to use external image URLs. ([32026](https://github.com/WordPress/gutenberg/pull/32026))
97
-
98
- ### Experiments
99
-
100
- - Block Editor:
101
- - Block Navigation: Try using CSS for indentation with known max indent instead of spacer divs. ([32063](https://github.com/WordPress/gutenberg/pull/32063))
102
- - Component System:
103
- - Add missing Divider, Heading type reference in tsconfig. ([32104](https://github.com/WordPress/gutenberg/pull/32104))
104
- - Adds a new ZStack component. ([31613](https://github.com/WordPress/gutenberg/pull/31613))
105
- - Adds new ItemGroup and Item components. ([30097](https://github.com/WordPress/gutenberg/pull/30097))
106
- - Add new `BaseField` Component. ([32250](https://github.com/WordPress/gutenberg/pull/32250))
107
- - Fix Shortcut polymorphism. ([31555](https://github.com/WordPress/gutenberg/pull/31555))
108
- - Promotes the Elevation component to a full export. ([31614](https://github.com/WordPress/gutenberg/pull/31614))
109
- - Global Styles:
110
- - Bugfix: Generate classes from preset slugs in the same way (server & client). ([32352](https://github.com/WordPress/gutenberg/pull/32352))
111
- - Fix Logic to enable custom colors, gradients, and font sizes. ([32200](https://github.com/WordPress/gutenberg/pull/32200))
112
- - Fix incorrect useCustomUnits import. ([32248](https://github.com/WordPress/gutenberg/pull/32248))
113
- - Group typographic block supports under a `typography` key. ([32252](https://github.com/WordPress/gutenberg/pull/32252))
114
- - Full Site Editing:
115
- - Align block hover and select styles across list view, site editor, select mode. ([31277](https://github.com/WordPress/gutenberg/pull/31277))
116
- - Alignment styles: Centre blocks using grid not margins. ([32231](https://github.com/WordPress/gutenberg/pull/32231))
117
- - Avoid duplicate skip-links in WP 5.8+. ([32346](https://github.com/WordPress/gutenberg/pull/32346))
118
- - Remove now-obsolete get_template_hierarchy(). ([32116](https://github.com/WordPress/gutenberg/pull/32116))
119
- - Templates: Remove now-obsolete `gutenberg_get_template_paths()`. ([32066](https://github.com/WordPress/gutenberg/pull/32066))
120
- - Navigation:
121
- - Block:
122
- - Fix css bleed from navigation. ([32384](https://github.com/WordPress/gutenberg/pull/32384))
123
- - Fix collapsing regression of Navigation Menu. ([32081](https://github.com/WordPress/gutenberg/pull/32081))
124
- - Lock the document from scrolling when the modal is open. ([32269](https://github.com/WordPress/gutenberg/pull/32269))
125
- - Refactor Navigation block paddings/margins to inherit global styles. ([31878](https://github.com/WordPress/gutenberg/pull/31878))
126
- - Editor:
127
- - Allow block attributes passed to block renderer by way of wp_nav_menu. ([31911](https://github.com/WordPress/gutenberg/pull/31911))
128
- - Hide sidebar when a menu isn't selected. ([32090](https://github.com/WordPress/gutenberg/pull/32090))
129
- - Fix the visible widget area toolbar. ([32262](https://github.com/WordPress/gutenberg/pull/32262))
130
- - Fix block toolbar position after scroll. ([32212](https://github.com/WordPress/gutenberg/pull/32212))
131
- - Move modal state to ManageLocations component. ([32078](https://github.com/WordPress/gutenberg/pull/32078))
132
- - Site Editor:
133
- - Fix broken template part converter modal styles. ([32097](https://github.com/WordPress/gutenberg/pull/32097))
134
- - Remove title attribute from NavigationItem inside the site-editor. ([30744](https://github.com/WordPress/gutenberg/pull/30744))
135
-
136
- ### Documentation
137
-
138
- - Handbook:
139
- - Fix broken contributors readme files. ([32272](https://github.com/WordPress/gutenberg/pull/32272))
140
- - Fix misspelling in the Widgets Block Editor section. ([32242](https://github.com/WordPress/gutenberg/pull/32242))
141
- - Mark all experimental components in the handbook. ([32147](https://github.com/WordPress/gutenberg/pull/32147))
142
- - Update the create a block theme tutorial. ([31269](https://github.com/WordPress/gutenberg/pull/31269))
143
- - Update iOS Simulator device command in React Native documentation. ([32383](https://github.com/WordPress/gutenberg/pull/32383))
144
- - Packages:
145
- - Navigation Editor: Augment and improve Nav Editor (and block) documentation. ([31891](https://github.com/WordPress/gutenberg/pull/31891))
146
- - Components: Fixed documentation for `units` attribute in Unit Control. ([31901](https://github.com/WordPress/gutenberg/pull/31901))
147
-
148
- ### Code Quality
149
-
150
- - Block Editor:
151
- - Rich text:
152
- - Contextual default shortcut removal. ([32327](https://github.com/WordPress/gutenberg/pull/32327))
153
- - Remove inline display warning. ([32013](https://github.com/WordPress/gutenberg/pull/32013))
154
- - Colors: Remove \_\_experimentalUseColors hook. ([31438](https://github.com/WordPress/gutenberg/pull/31438))
155
- - Remove usages of `withState` from edit-post and editor. ([32349](https://github.com/WordPress/gutenberg/pull/32349))
156
- - Block Library:
157
- - List View: Simplify the BlockNavigation component. ([31290](https://github.com/WordPress/gutenberg/pull/31290))
158
- - Navigation: Simplify html selector in nav burger menu. ([32303](https://github.com/WordPress/gutenberg/pull/32303))
159
- - Remove "class=" wrapper to already wrapped attributes. ([29214](https://github.com/WordPress/gutenberg/pull/29214))
160
- - Query Block: Remove query context leftovers. ([32093](https://github.com/WordPress/gutenberg/pull/32093))
161
- - Blocks Package: Make getBlockSupport support any `lodash` path.. ([32322](https://github.com/WordPress/gutenberg/pull/32322))
162
- - Block Supports: Avoid a PHP Notice when `render_block()` is called without attributes. ([32135](https://github.com/WordPress/gutenberg/pull/32135))
163
- - Components:
164
- - Button: Deprecate `isPrimary`, `isSecondary`, `isTertiary` and `isLink` props in favour of `variant` prop. ([31713](https://github.com/WordPress/gutenberg/pull/31713))
165
- - Combobox: Remove duplicated ComboboxControl component. ([32397](https://github.com/WordPress/gutenberg/pull/32397))
166
- - Dashicons: Add types to Icon . ([32219](https://github.com/WordPress/gutenberg/pull/32219))
167
- - Disabled: Add types to Disabled components. ([32105](https://github.com/WordPress/gutenberg/pull/32105))
168
- - Remove all `withNext` wrappers. ([32205](https://github.com/WordPress/gutenberg/pull/32205))
169
- - Rename `ViewOwnProps` to `PolymorphicComponentProps`. ([32053](https://github.com/WordPress/gutenberg/pull/32053))
170
- - Require explicit `children` prop for all components. ([31817](https://github.com/WordPress/gutenberg/pull/31817))
171
- - UI Context: Delete unused types from `context`. ([32254](https://github.com/WordPress/gutenberg/pull/32254))
172
- - UI Popover: Remove unused `content` property from types definitions. ([32049](https://github.com/WordPress/gutenberg/pull/32049))
173
- - Compose:
174
- - Add types to useRefEffect and clipboard hooks. ([31603](https://github.com/WordPress/gutenberg/pull/31603))
175
- - Add Types to `withGlobalEvents` as any. ([32290](https://github.com/WordPress/gutenberg/pull/32290))
176
- - Add types to `useWarnOnChange`. ([32288](https://github.com/WordPress/gutenberg/pull/32288))
177
- - Add types to `useViewportMatch`. ([32287](https://github.com/WordPress/gutenberg/pull/32287))
178
- - Add types to `useDropZone`. ([32286](https://github.com/WordPress/gutenberg/pull/32286))
179
- - Add types to `useDragging`. ([32285](https://github.com/WordPress/gutenberg/pull/32285))
180
- - Add types to `useThrottle` and typecheck `useFocusOutside`. ([32170](https://github.com/WordPress/gutenberg/pull/32170))
181
- - Add types to `useKeyboardShortcut`. ([32168](https://github.com/WordPress/gutenberg/pull/32168))
182
- - Add types to `useResizeObserver` and type checking to `useIsomorphicLayoutEffect`. ([32111](https://github.com/WordPress/gutenberg/pull/32111))
183
- - Add types to `useFocusReturn`. ([31949](https://github.com/WordPress/gutenberg/pull/31949))
184
- - Add types to `usePrevious`. ([31944](https://github.com/WordPress/gutenberg/pull/31944))
185
- - Add types to useReducedMotion and useMediaQuery. ([31941](https://github.com/WordPress/gutenberg/pull/31941))
186
- - Add types to useMergeRefs. ([31939](https://github.com/WordPress/gutenberg/pull/31939))
187
- - Add test to `useMergeRefs` for disabling refs + better documentation. ([32044](https://github.com/WordPress/gutenberg/pull/32044))
188
- - Add types to `useDebounce`. ([32015](https://github.com/WordPress/gutenberg/pull/32015))
189
- - Deprecate `withState` in favor of `useState`. ([32368](https://github.com/WordPress/gutenberg/pull/32368))
190
- - Simplify `compose` function documentation and point to lodash documentation for it. ([32324](https://github.com/WordPress/gutenberg/pull/32324))
191
- - Global Styles:
192
- - Avoid enqueuing global styles twice when running on WordPress 5.8. ([32372](https://github.com/WordPress/gutenberg/pull/32372))
193
- - Keyboard Shortcuts:
194
- - Multi select: select all: Restore ref callback. ([32318](https://github.com/WordPress/gutenberg/pull/32318))
195
- - Linting:
196
- - Fix eslint warnings in the core-data package. ([32198](https://github.com/WordPress/gutenberg/pull/32198))
197
- - Fix eslint warnings in the edit-navigation package. ([32196](https://github.com/WordPress/gutenberg/pull/32196))
198
- - Fix eslint warnings in the edit-post package. ([32195](https://github.com/WordPress/gutenberg/pull/32195))
199
- - Fix eslint warnings in the edit-site package. ([32156](https://github.com/WordPress/gutenberg/pull/32156))
200
- - Fix eslint warnings in the edit-widgets package. ([32155](https://github.com/WordPress/gutenberg/pull/32155))
201
- - Fix eslint warnings in the editor package. ([32153](https://github.com/WordPress/gutenberg/pull/32153))
202
- - Fix eslint warnings in the nux package. ([32145](https://github.com/WordPress/gutenberg/pull/32145))
203
- - Fix eslint warnings in the rich-text package. ([32142](https://github.com/WordPress/gutenberg/pull/32142))
204
- - Fix eslint warnings in the reusable-blocks package. ([32141](https://github.com/WordPress/gutenberg/pull/32141))
205
- - Navigation Editor:
206
- - Fix React warning. ([32165](https://github.com/WordPress/gutenberg/pull/32165))
207
 
208
  ### Tools
209
 
210
- - Babel presets: Prefix build with node command for Windows environments. (#32258). ([32329](https://github.com/WordPress/gutenberg/pull/32329))
211
- - Workflow:
212
- - Limit when workflows run on forks. ([32114](https://github.com/WordPress/gutenberg/pull/32114))
213
- - Only calculate the compressed size on pull requests when necessary. ([32161](https://github.com/WordPress/gutenberg/pull/32161))
214
- - Performance Tests Workflow:
215
- - Polish Bash script. ([32284](https://github.com/WordPress/gutenberg/pull/32284))
216
- - Run suite atop latest stable major WordPress version. ([32244](https://github.com/WordPress/gutenberg/pull/32244))
217
- - Use latest WP branch for release tests. ([32277](https://github.com/WordPress/gutenberg/pull/32277))
218
- - End to End Tests:
219
- - Fix inserting cover block intermittent failure. ([32014](https://github.com/WordPress/gutenberg/pull/32014))
220
- - Navigation Editor:
221
- - Fix failing end-to-end tests. ([32043](https://github.com/WordPress/gutenberg/pull/32043))
222
- - Skip "Change detection" tests. ([32151](https://github.com/WordPress/gutenberg/pull/32151))
223
- - Move the Query and PostTitle end-to-end tests out of the experimental directory. ([31691](https://github.com/WordPress/gutenberg/pull/31691))
224
- - Multi select: Add end-to-end test for gruadual select all. ([32304](https://github.com/WordPress/gutenberg/pull/32304))
225
- - Remove redundant widget API endpoint tests. ([32298](https://github.com/WordPress/gutenberg/pull/32298))
226
- - Skip tests that are failing with the latest WordPress core. ([32228](https://github.com/WordPress/gutenberg/pull/32228))
227
- - Eslint: Ignore some eslint rules in react-native folders. ([32143](https://github.com/WordPress/gutenberg/pull/32143))
228
-
229
-
230
-
231
-
232
 
233
 
234
 
235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
  = 10.7.4 =
237
 
238
  ### Bug Fixes
@@ -523,7 +533,7 @@ General Interface:
523
  - Gallery:
524
  - Fix focus caption prop for native. ([32029](https://github.com/WordPress/gutenberg/pull/32029))
525
  - Fix identical images getting duplicated when moving. ([30555](https://github.com/WordPress/gutenberg/pull/30555))
526
- - Image:
527
  - Remove figure margins consistently in image blocks. ([31650](https://github.com/WordPress/gutenberg/pull/31650))
528
  - Fix cover transform and excessive re-rendering. ([32102](https://github.com/WordPress/gutenberg/pull/32102))
529
  - Post Content: Apply the_content filter even if content is empty. ([31997](https://github.com/WordPress/gutenberg/pull/31997))
@@ -531,7 +541,7 @@ General Interface:
531
  - Post Comment Form:
532
  - Fix stylesheet dependency. ([31528](https://github.com/WordPress/gutenberg/pull/31528))
533
  - Fix to allow post comment button to inherit button & global styles automatically. ([31338](https://github.com/WordPress/gutenberg/pull/31338))
534
- - Post Featured Image:
535
  - Fix non-interactive placeholder when outside of a post context. ([31663](https://github.com/WordPress/gutenberg/pull/31663))
536
  - Fix placeholder regression. ([31709](https://github.com/WordPress/gutenberg/pull/31709))
537
  - Fix selection scroll into view. ([31835](https://github.com/WordPress/gutenberg/pull/31835))
@@ -583,7 +593,7 @@ General Interface:
583
  - Fix issue with customizer title overlapping block toolbar. ([32140](https://github.com/WordPress/gutenberg/pull/32140))
584
  - Correctly read rawRequest for frontend ESM. ([31917](https://github.com/WordPress/gutenberg/pull/31917))
585
  - Fix generation of presets classes per block. ([32190](https://github.com/WordPress/gutenberg/pull/32190))
586
- - Widget Screen:
587
  - Fix unsaved changes notification. ([31757](https://github.com/WordPress/gutenberg/pull/31757))
588
  - Fix call to undefined __experimentalRegisterExperimentalCoreBlocks. ([32138](https://github.com/WordPress/gutenberg/pull/32138))
589
 
@@ -803,21 +813,21 @@ General Interface:
803
 
804
  ### Enhancements
805
 
806
- - Block Editor:
807
  - Add Block Border Support. ([31264](https://github.com/WordPress/gutenberg/pull/31264))
808
  - Spacing Support: configurable sides for padding support. ([30607](https://github.com/WordPress/gutenberg/pull/30607))
809
  - Simplify insertion point. ([30301](https://github.com/WordPress/gutenberg/pull/30301))
810
- - Block Library:
811
  - Post date: Add link color option. ([30827](https://github.com/WordPress/gutenberg/pull/30827))
812
- - Table:
813
  - Add border block support. ([31265](https://github.com/WordPress/gutenberg/pull/31265))
814
  - Add colors block support. ([30791](https://github.com/WordPress/gutenberg/pull/30791))
815
- - Query Block:
816
  - Add semantic wrapper element. ([31421](https://github.com/WordPress/gutenberg/pull/31421))
817
  - Add wrapper and `align` support. ([30804](https://github.com/WordPress/gutenberg/pull/30804))
818
  - Show a spinner instead of the Loading text message. ([31095](https://github.com/WordPress/gutenberg/pull/31095))
819
  - Unify the post tags and post categories block under a unique post terms block. ([31458](https://github.com/WordPress/gutenberg/pull/31458))
820
- - Components:
821
  - Add component system `context`. ([30877](https://github.com/WordPress/gutenberg/pull/30877))
822
  - Use `UnitControl` for font-size. ([31314](https://github.com/WordPress/gutenberg/pull/31314))
823
  - Use vanilla emotion for `view`. ([31099](https://github.com/WordPress/gutenberg/pull/31099))
@@ -826,7 +836,7 @@ General Interface:
826
  - Promote ui/Flex and deprecate `isReversed` prop. ([31297](https://github.com/WordPress/gutenberg/pull/31297))
827
  - Promote VisuallyHidden from ui into full components. ([31244](https://github.com/WordPress/gutenberg/pull/31244))
828
  - Core Data: Add experimental util to allow fetch remote URL data from REST API. ([31085](https://github.com/WordPress/gutenberg/pull/31085))
829
- - General Interface:
830
  - Rename "Modes" to "Tools" in the header. ([31430](https://github.com/WordPress/gutenberg/pull/31430))
831
  - RTL support for redo/undo icons. ([31219](https://github.com/WordPress/gutenberg/pull/31219))
832
  - Update "trash" icon. ([31463](https://github.com/WordPress/gutenberg/pull/31463))
@@ -869,14 +879,14 @@ General Interface:
869
  - Fix: Make media playable on video and audio block backend. ([31257](https://github.com/WordPress/gutenberg/pull/31257))
870
  - Prevent `PostDate` as link to load inside an iframe. ([31350](https://github.com/WordPress/gutenberg/pull/31350))
871
  - Post Content: Prevent infinite recursion. ([31455](https://github.com/WordPress/gutenberg/pull/31455))
872
- - Components:
873
  - Fix bug with color picker input state for falsy values. ([30799](https://github.com/WordPress/gutenberg/pull/30799))
874
  - Fixed imports that resulted in build failing. ([31106](https://github.com/WordPress/gutenberg/pull/31106))
875
  - Stop auto-memo antipattern and remove senseless default values. ([31246](https://github.com/WordPress/gutenberg/pull/31246))
876
  - Compose: Fix parameter name typo in `useRefEffect`. ([30597](https://github.com/WordPress/gutenberg/pull/30597))
877
  - General Interface:
878
  - Remove tools dropdown menu from medium viewport when text labels mode is active. ([31431](https://github.com/WordPress/gutenberg/pull/31431))
879
- - Plugin:
880
  - Call deprecated hooks only when new filters not present. ([31027](https://github.com/WordPress/gutenberg/pull/31027))
881
  - Fix core-block-patterns support on GB. ([31546](https://github.com/WordPress/gutenberg/pull/31546))
882
  - Use `require_once` instead of `require` when registering blocks. ([31148](https://github.com/WordPress/gutenberg/pull/31148))
@@ -885,10 +895,10 @@ General Interface:
885
  - List view improvements. ([31092](https://github.com/WordPress/gutenberg/pull/31092))
886
  - Render out HTML characters in post and category titles. ([30661](https://github.com/WordPress/gutenberg/pull/30661))
887
  - Use EditorNotices component for notices. ([31303](https://github.com/WordPress/gutenberg/pull/31303))
888
- - Themes:
889
  - Hook `maybe_inline_styles` in the footer. ([31072](https://github.com/WordPress/gutenberg/pull/31072))
890
  - Inlined core block styles should not override user-added inline styles. ([31268](https://github.com/WordPress/gutenberg/pull/31268))
891
- - Writing flow:
892
  - Fix edge detection in Chrome. ([31150](https://github.com/WordPress/gutenberg/pull/31150))
893
  - Fix RTL issues. ([31159](https://github.com/WordPress/gutenberg/pull/31159))
894
 
@@ -942,7 +952,7 @@ General Interface:
942
  - Target global styles to the `body` element instead of `:root`. ([31302](https://github.com/WordPress/gutenberg/pull/31302))
943
  - Themes: only split block styles loading for block themes. ([31309](https://github.com/WordPress/gutenberg/pull/31309))
944
  - Update shape of theme.json. ([30541](https://github.com/WordPress/gutenberg/pull/30541))
945
- - Navigation Editor and Block:
946
  - Block placeholder: fix font inheritance. ([31410](https://github.com/WordPress/gutenberg/pull/31410))
947
  - Correctly display menu used on location text. ([31500](https://github.com/WordPress/gutenberg/pull/31500))
948
  - Fix issue with missing styles for `Page List` in navigation. ([31368](https://github.com/WordPress/gutenberg/pull/31368))
@@ -961,7 +971,7 @@ General Interface:
961
  - Sync menu name updates. ([31093](https://github.com/WordPress/gutenberg/pull/31093))
962
  - Try: Remove padding from menu items when no background. ([30805](https://github.com/WordPress/gutenberg/pull/30805))
963
  - Use `ajaxurl` global in `batchSave` action. ([31028](https://github.com/WordPress/gutenberg/pull/31028))
964
-
965
  ### Documentation
966
 
967
  - Docs
@@ -976,27 +986,27 @@ General Interface:
976
  - Remove broken links to gutenberg-core team. ([31161](https://github.com/WordPress/gutenberg/pull/31161))
977
  - Update Versions in WordPress to include 5.7.1 & 5.8. ([31439](https://github.com/WordPress/gutenberg/pull/31439))
978
  - Update contributing documentation with callout notice usage. ([31202](https://github.com/WordPress/gutenberg/pull/31202))
979
- - Handbook:
980
  - Add a deprecation notice to meta block attribute sources. ([31389](https://github.com/WordPress/gutenberg/pull/31389))
981
  - Block Patterns Doc Updates. ([31060](https://github.com/WordPress/gutenberg/pull/31060))
982
 
983
  ### Code Quality
984
 
985
- - Block Editor:
986
  - BlockList: Normalise `useSelect` selectors for callbacks. ([31078](https://github.com/WordPress/gutenberg/pull/31078))
987
  - Default appender: Try editable paragraph instead of text area. ([30986](https://github.com/WordPress/gutenberg/pull/30986))
988
- - In-between inserter:
989
  - Use `useRefCallback` and `showInsertionPoint`. ([30285](https://github.com/WordPress/gutenberg/pull/30285))
990
  - On hover: Preserve original behaviour. ([31266](https://github.com/WordPress/gutenberg/pull/31266))
991
  - Move block tools components and styles to separate folder. ([31313](https://github.com/WordPress/gutenberg/pull/31313))
992
- - Multi-selection:
993
  - Move `shift+click` logic to hook. ([31358](https://github.com/WordPress/gutenberg/pull/31358))
994
  - Move handlers to block ref callback. ([31334](https://github.com/WordPress/gutenberg/pull/31334))
995
  - Writing flow: Move selector calls to event handlers. ([31332](https://github.com/WordPress/gutenberg/pull/31332))
996
  - Block Library:
997
  - Remove no longer necessary `render_callback` for Cover block. ([31503](https://github.com/WordPress/gutenberg/pull/31503))
998
  - Move translatable fields to `block.json` files. ([31120](https://github.com/WordPress/gutenberg/pull/31120))
999
- - Components:
1000
  - Remove all remnants of wp-g2. ([31292](https://github.com/WordPress/gutenberg/pull/31292))
1001
  - Remove wp-g2 from scrollable. ([31207](https://github.com/WordPress/gutenberg/pull/31207))
1002
  - Remove G2 portal and refactor Popover to no longer use G2. ([31209](https://github.com/WordPress/gutenberg/pull/31209))
@@ -1020,10 +1030,10 @@ General Interface:
1020
  - Packages:
1021
  - Fix linting warnings for `core/block-editor` store. ([31146](https://github.com/WordPress/gutenberg/pull/31146))
1022
  - Update lodash to the latest patch version. ([31686](https://github.com/WordPress/gutenberg/pull/31686))
1023
- - Plugin:
1024
  - Add missing textdomains. ([31131](https://github.com/WordPress/gutenberg/pull/31131))
1025
  - Cleanup unused function parameters. ([31130](https://github.com/WordPress/gutenberg/pull/31130))
1026
- - Rich text:
1027
  - Extract undo automatic change. ([31449](https://github.com/WordPress/gutenberg/pull/31449))
1028
  - Move format boundaries to ref callback and separate file. ([31409](https://github.com/WordPress/gutenberg/pull/31409))
1029
 
@@ -1037,7 +1047,7 @@ General Interface:
1037
  - end-to-end wpDataSelect: Explain why it returns undefined sometimes. ([31227](https://github.com/WordPress/gutenberg/pull/31227))
1038
  - end-to-end testing: Use JSON serialization for getAllBlocks. ([31199](https://github.com/WordPress/gutenberg/pull/31199))
1039
  - end-to-end tests for Widgets Customizer. ([31185](https://github.com/WordPress/gutenberg/pull/31185))
1040
- - end-to-end Site Editor: Evaluate getEditedPostContent on the page. ([31121](https://github.com/WordPress/gutenberg/pull/31121))
1041
  - Fix entity saving intermittent test failure. ([31157](https://github.com/WordPress/gutenberg/pull/31157))
1042
  - Fix tests failing on expected site tagline snapshot. ([31473](https://github.com/WordPress/gutenberg/pull/31473))
1043
  - Fix not getting correct `computedName` with labels in chromium 91. ([31175](https://github.com/WordPress/gutenberg/pull/31175))
@@ -1198,7 +1208,7 @@ General Interface:
1198
  ### Experiments
1199
 
1200
  - Block-based Widgets:
1201
- - API:
1202
  - Don't use deprecated widget_class property. ([30429](https://github.com/WordPress/gutenberg/pull/30429))
1203
  - Fix null instance property when instance settings are empty. ([30713](https://github.com/WordPress/gutenberg/pull/30713))
1204
  - Remove deprecated properties. ([30853](https://github.com/WordPress/gutenberg/pull/30853))
@@ -1376,7 +1386,7 @@ General Interface:
1376
  - Site Editor:
1377
  - Allow reverting custom templates to their original theme-provided files. ([28141](https://github.com/WordPress/gutenberg/pull/28141))
1378
  - Use "Custom Styles" label to signal there are global styles changes in the saving panel. ([30521](https://github.com/WordPress/gutenberg/pull/30521))
1379
-
1380
 
1381
  ### Bug Fixes
1382
  - Inserter: Show only the patterns that use allowed blocks. ([30300](https://github.com/WordPress/gutenberg/pull/30300))
@@ -1404,7 +1414,7 @@ General Interface:
1404
  - Fix copy pasting non textual blocks. ([30225](https://github.com/WordPress/gutenberg/pull/30225))
1405
  - Fix horizontal caret placing for empty editable with placeholder. ([30463](https://github.com/WordPress/gutenberg/pull/30463))
1406
  - Fix multi-selection copying in Safari. ([30202](https://github.com/WordPress/gutenberg/pull/30202))
1407
- - Site Editor:
1408
  - Fix nested template parts. ([30416](https://github.com/WordPress/gutenberg/pull/30416))
1409
  - Fix media upload behaviour and error state. ([30436](https://github.com/WordPress/gutenberg/pull/30436))
1410
  - Select the block inspector top upon selection. ([30387](https://github.com/WordPress/gutenberg/pull/30387))
@@ -2070,7 +2080,7 @@ General Interface:
2070
  - Add Portal. ([28981](https://github.com/WordPress/gutenberg/pull/28981))
2071
  - Update documentation (README + inline docs). ([29128](https://github.com/WordPress/gutenberg/pull/29128))
2072
  - Update color-picker snapshot tests to use diff matching. ([28925](https://github.com/WordPress/gutenberg/pull/28925))
2073
- - Bugs:
2074
  - Fix Site Logo Styles. ([29227](https://github.com/WordPress/gutenberg/pull/29227))
2075
  - Template Part: Fallback to missing state if slug or theme is invalid. ([29041](https://github.com/WordPress/gutenberg/pull/29041))
2076
  - Site Editor:
@@ -2083,7 +2093,7 @@ General Interface:
2083
  - Fix widgets preview URL typo. ([29062](https://github.com/WordPress/gutenberg/pull/29062))
2084
  - Fix php error in the widget screen. ([29137](https://github.com/WordPress/gutenberg/pull/29137))
2085
  - Fix legacy widgets not previewing and widgets saving issue. ([29111](https://github.com/WordPress/gutenberg/pull/29111))
2086
- - Fix server rendered widget not previewing. ([29197](https://github.com/WordPress/gutenberg/pull/29197))
2087
 
2088
 
2089
  ### Documentation
@@ -2140,7 +2150,7 @@ General Interface:
2140
  - Fix spacing in new contributor welcome message. ([28958](https://github.com/WordPress/gutenberg/pull/28958))
2141
  - Add react-i18n package with i18n React bindings. ([28465](https://github.com/WordPress/gutenberg/pull/28465))
2142
  - babel-plugin-makepot: Don't transpile the package code. ([28911](https://github.com/WordPress/gutenberg/pull/28911))
2143
- - docgen:
2144
  - Don't transpile the package code. ([28910](https://github.com/WordPress/gutenberg/pull/28910))
2145
  - Replace doctrine with comment-parser. ([28615](https://github.com/WordPress/gutenberg/pull/28615))
2146
  - wp-env:
@@ -2228,14 +2238,14 @@ General Interface:
2228
 
2229
  ### Experiments
2230
 
2231
- - Site Editor:
2232
  - Fix empty content when creating a new template. ([28882](https://github.com/WordPress/gutenberg/pull/28882))
2233
  - Fix complementary area not opening. ([28732](https://github.com/WordPress/gutenberg/pull/28732))
2234
  - Fix inserter can't be closed. ([28590](https://github.com/WordPress/gutenberg/pull/28590))
2235
  - Fix gray screen on refresh when editing pages and posts. ([28413](https://github.com/WordPress/gutenberg/pull/28413))
2236
  - Show single post template in posts templates in the navigation sidebar. ([28229](https://github.com/WordPress/gutenberg/pull/28229))
2237
  - Allow searching pages, posts and categories in the navigation sidebar. ([27280](https://github.com/WordPress/gutenberg/pull/27280))
2238
- - Full Site Editing Architecture:
2239
  - Iterate on the public API of WP_Theme_JSON_Resolver. ([28855](https://github.com/WordPress/gutenberg/pull/28855))
2240
  - Rename pageTemplates configuration to customTemplates in theme.json. ([28830](https://github.com/WordPress/gutenberg/pull/28830))
2241
  - Move theme.json support check to class. ([28788](https://github.com/WordPress/gutenberg/pull/28788))
@@ -2254,13 +2264,13 @@ General Interface:
2254
  - Polish social links when inside navigation. ([28836](https://github.com/WordPress/gutenberg/pull/28836)), ([28448](https://github.com/WordPress/gutenberg/pull/28448)).
2255
  - Add block variation matcher to display information from a found match. ([28626](https://github.com/WordPress/gutenberg/pull/28626))
2256
  - Add new Post Navigation Link block. ([28602](https://github.com/WordPress/gutenberg/pull/28602))
2257
- - Navigation screen:
2258
  - Fix failing request for menu items. ([28764](https://github.com/WordPress/gutenberg/pull/28764))
2259
  - Design Iteration. ([28675](https://github.com/WordPress/gutenberg/pull/28675))
2260
  - Clear block selection in the navigation editor when clicking editor canvas. ([28382](https://github.com/WordPress/gutenberg/pull/28382))
2261
  - Block-based widgets screen and customizer:
2262
  - Add experimental flag and enable widgets screen in customizer. ([28618](https://github.com/WordPress/gutenberg/pull/28618))
2263
- - Global Styles:
2264
  - Use context when translating entries in theme.json. ([28246](https://github.com/WordPress/gutenberg/pull/28246))
2265
  - REST API:
2266
  - Add URL Details endpoint to REST API to allow retrieval of info about a remote URL. ([18042](https://github.com/WordPress/gutenberg/pull/18042))
@@ -2381,7 +2391,7 @@ Before:
2381
  "styles": { ... }
2382
  }
2383
  }
2384
- ```
2385
 
2386
  After:
2387
 
1
  == Changelog ==
2
 
3
+ = 10.8.1 =
4
 
5
 
6
 
7
  ### Bug Fixes
8
 
9
+ - Fix Post Content block regression. ([32693](https://github.com/WordPress/gutenberg/pull/32693))
10
+ - Fix Safari 13 issue. ([32581](https://github.com/WordPress/gutenberg/pull/32581))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
 
12
  ### Performance
13
 
14
+ - Site editor: Add typing performance test. ([32553](https://github.com/WordPress/gutenberg/pull/32553))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
  ### Tools
17
 
18
+ - Fix Post Title end-to-end test. ([32686](https://github.com/WordPress/gutenberg/pull/32686))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
 
21
 
22
 
23
+ = 10.8.0 =
24
+
25
+
26
+ ### Enhancements
27
+
28
+ - Block Editor:
29
+ - Update Modal styling. ([31639](https://github.com/WordPress/gutenberg/pull/31639))
30
+ - Block Library:
31
+ - Archives Block: Show the label for archives block dropdown. ([30527](https://github.com/WordPress/gutenberg/pull/30527))
32
+ - Audio Block: Add an example preview. ([32333](https://github.com/WordPress/gutenberg/pull/32333))
33
+ - File Block: Add an example preview. ([32350](https://github.com/WordPress/gutenberg/pull/32350))
34
+ - Heading Block: Add support for font-weight. ([27639](https://github.com/WordPress/gutenberg/pull/27639))
35
+ - List Block: Add font family to the list block. ([27510](https://github.com/WordPress/gutenberg/pull/27510))
36
+ - Page list block: Add active page classes. ([32134](https://github.com/WordPress/gutenberg/pull/32134))
37
+ - Site Logo: Use option instead of theme-mod. ([32229](https://github.com/WordPress/gutenberg/pull/32229))
38
+ - Components:
39
+ - BoxControl: Add allowReset option. ([32345](https://github.com/WordPress/gutenberg/pull/32345))
40
+ General Interface:
41
+ - Remove opacity animation on canvas. ([32266](https://github.com/WordPress/gutenberg/pull/32266))
42
+ - Design tools:
43
+ - Add Letter-spacing and enable this for site title and site tagline. ([31118](https://github.com/WordPress/gutenberg/pull/31118))
44
+ - Block Supports: Allow skipping spacing support serialization. ([31973](https://github.com/WordPress/gutenberg/pull/31973))
45
+ - Reusable Block:
46
+ - Add Convert to Regular Blocks button to ellipsis Dropdown. ([32310](https://github.com/WordPress/gutenberg/pull/32310))
47
+ - REST API:
48
+ - Improve parsing and retrieve additional data in REST url-details endpoint. ([31763](https://github.com/WordPress/gutenberg/pull/31763))
49
+ - Template Editing Mode:
50
+ - Don't display snackbar with the Welcome Guide. ([32076](https://github.com/WordPress/gutenberg/pull/32076))
51
+ - Update the appearance of the template details popover. ([32042](https://github.com/WordPress/gutenberg/pull/32042))
52
+ - Update the title area in the template editor. ([32037](https://github.com/WordPress/gutenberg/pull/32037))
53
+ - Block-based Widgets:
54
+ - Customizer:
55
+ - Add preferences menu group label to widgets and customize widget editor. ([32259](https://github.com/WordPress/gutenberg/pull/32259))
56
+ - Display wide widgets as popovers in Customizer. ([31736](https://github.com/WordPress/gutenberg/pull/31736))
57
+ - Editor:
58
+ - Link to widgets.php instead of themes.php?page=gutenberg-widgets. ([32299](https://github.com/WordPress/gutenberg/pull/32299))
59
+
60
+ ### Bug Fixes
61
+
62
+ - Block Library:
63
+ - Image Block: Fix image border radius. ([32393](https://github.com/WordPress/gutenberg/pull/32393))
64
+ - List Block: Fix `theme.json` styles for the `core/list` block. ([32343](https://github.com/WordPress/gutenberg/pull/32343))
65
+ - Latest Posts: Limit latest posts featured image width to 100%. ([32245](https://github.com/WordPress/gutenberg/pull/32245))
66
+ - Legacy Widget Block:
67
+ - Fix legacy widget block preview iframe. ([32300](https://github.com/WordPress/gutenberg/pull/32300))
68
+ - Fix legacy widget previews. ([32260](https://github.com/WordPress/gutenberg/pull/32260))
69
+ - Search block: Fix vertical alignment of the search button text. ([32340](https://github.com/WordPress/gutenberg/pull/32340))
70
+ - Block Editor:
71
+ - Block Variation Transforms: Make focus style valid CSS. ([32305](https://github.com/WordPress/gutenberg/pull/32305))
72
+ - Fixed Random Collapse of Colors Setting Section. ([32388](https://github.com/WordPress/gutenberg/pull/32388))
73
+ - Block Toolbar:
74
+ - Always close the options menu after toggling the sidebar. ([31921](https://github.com/WordPress/gutenberg/pull/31921))
75
+ - Fix toolbar alignment in widget block editor. ([31991](https://github.com/WordPress/gutenberg/pull/31991))
76
+ - Iframe: Fix embed dimensions with missing wp-embed-responsive class. ([32057](https://github.com/WordPress/gutenberg/pull/32057))
77
+ - Patterns: Fix allowed patterns check. ([32376](https://github.com/WordPress/gutenberg/pull/32376))
78
+ - Block-Based Widgets:
79
+ - Editor:
80
+ - Fix error when saving empty Legacy Widget block. ([32359](https://github.com/WordPress/gutenberg/pull/32359))
81
+ - Assume light theme when editor canvas background color isn't set. ([32477](https://github.com/WordPress/gutenberg/pull/32477))
82
+ - Customizer:
83
+ - Center the welcome image in the narrow viewport of widgets customizer. ([32264](https://github.com/WordPress/gutenberg/pull/32264))
84
+ - Fix aspect ratio of welcome image. ([32302](https://github.com/WordPress/gutenberg/pull/32302))
85
+ - Fix deselecting block when inspector is opened. ([32361](https://github.com/WordPress/gutenberg/pull/32361))
86
+ - Fix escape key events in customizer closing the editor. ([32175](https://github.com/WordPress/gutenberg/pull/32175))
87
+ - Fix some smaller styling issues and bugs in Widgets Customizer. ([32072](https://github.com/WordPress/gutenberg/pull/32072))
88
+ - Fix creating and replacing legacy widgets in customizer. ([32005](https://github.com/WordPress/gutenberg/pull/32005))
89
+ - Components:
90
+ - SuggestionsList: Try to use a unique "key". ([32344](https://github.com/WordPress/gutenberg/pull/32344))
91
+ - Update Dropdown’s close-on-blur logic to work inside dialogs. ([32133](https://github.com/WordPress/gutenberg/pull/32133))
92
+ - Editor:
93
+ - Allow non-latin characters in slugs. ([32232](https://github.com/WordPress/gutenberg/pull/32232))
94
+ - Post Preview Button: Prevent saving the post before previewing in locked/read-only mode. ([32341](https://github.com/WordPress/gutenberg/pull/32341))
95
+ - General Interface: Fix overlap of Notices and block toolbar. ([32238](https://github.com/WordPress/gutenberg/pull/32238))
96
+ - Template Editing Mode: Remove metaboxes from template mode. ([32315](https://github.com/WordPress/gutenberg/pull/32315))
97
+ - Fix the layout definition in the template mode. ([32425](https://github.com/WordPress/gutenberg/pull/32425))
98
+
99
+ ### Performance
100
+
101
+ - Buttons: Move options to constants to avoid unneeded renders. ([32356](https://github.com/WordPress/gutenberg/pull/32356))
102
+ - Experimental Layout: Pass the same object when no data changes. ([32380](https://github.com/WordPress/gutenberg/pull/32380))
103
+ - Navigation: Avoid rerendering when the placeholder does not change. ([32357](https://github.com/WordPress/gutenberg/pull/32357))
104
+ - Update Welcome Guides to use external image URLs. ([32026](https://github.com/WordPress/gutenberg/pull/32026))
105
+
106
+ ### Experiments
107
+
108
+ - Block Editor:
109
+ - Block Navigation: Try using CSS for indentation with known max indent instead of spacer divs. ([32063](https://github.com/WordPress/gutenberg/pull/32063))
110
+ - Component System:
111
+ - Add missing Divider, Heading type reference in tsconfig. ([32104](https://github.com/WordPress/gutenberg/pull/32104))
112
+ - Adds a new ZStack component. ([31613](https://github.com/WordPress/gutenberg/pull/31613))
113
+ - Adds new ItemGroup and Item components. ([30097](https://github.com/WordPress/gutenberg/pull/30097))
114
+ - Add new `BaseField` Component. ([32250](https://github.com/WordPress/gutenberg/pull/32250))
115
+ - Fix Shortcut polymorphism. ([31555](https://github.com/WordPress/gutenberg/pull/31555))
116
+ - Promotes the Elevation component to a full export. ([31614](https://github.com/WordPress/gutenberg/pull/31614))
117
+ - Global Styles:
118
+ - Bugfix: Generate classes from preset slugs in the same way (server & client). ([32352](https://github.com/WordPress/gutenberg/pull/32352))
119
+ - Fix Logic to enable custom colors, gradients, and font sizes. ([32200](https://github.com/WordPress/gutenberg/pull/32200))
120
+ - Fix incorrect useCustomUnits import. ([32248](https://github.com/WordPress/gutenberg/pull/32248))
121
+ - Group typographic block supports under a `typography` key. ([32252](https://github.com/WordPress/gutenberg/pull/32252))
122
+ - Letter spacing should also respect skip serialization flag. ([32459](https://github.com/WordPress/gutenberg/pull/32459))
123
+ - Skip typography serialization. ([32444](https://github.com/WordPress/gutenberg/pull/32444))
124
+ - Full Site Editing:
125
+ - Align block hover and select styles across list view, site editor, select mode. ([31277](https://github.com/WordPress/gutenberg/pull/31277))
126
+ - Alignment styles: Centre blocks using grid not margins. ([32231](https://github.com/WordPress/gutenberg/pull/32231))
127
+ - Avoid duplicate skip-links in WP 5.8+. ([32346](https://github.com/WordPress/gutenberg/pull/32346))
128
+ - Remove now-obsolete get_template_hierarchy(). ([32116](https://github.com/WordPress/gutenberg/pull/32116))
129
+ - Templates: Remove now-obsolete `gutenberg_get_template_paths()`. ([32066](https://github.com/WordPress/gutenberg/pull/32066))
130
+ - Navigation:
131
+ - Block:
132
+ - Fix css bleed from navigation. ([32384](https://github.com/WordPress/gutenberg/pull/32384))
133
+ - Fix collapsing regression of Navigation Menu. ([32081](https://github.com/WordPress/gutenberg/pull/32081))
134
+ - Lock the document from scrolling when the modal is open. ([32269](https://github.com/WordPress/gutenberg/pull/32269))
135
+ - Refactor Navigation block paddings/margins to inherit global styles. ([31878](https://github.com/WordPress/gutenberg/pull/31878))
136
+ - Editor:
137
+ - Allow block attributes passed to block renderer by way of wp_nav_menu. ([31911](https://github.com/WordPress/gutenberg/pull/31911))
138
+ - Hide sidebar when a menu isn't selected. ([32090](https://github.com/WordPress/gutenberg/pull/32090))
139
+ - Fix the visible widget area toolbar. ([32262](https://github.com/WordPress/gutenberg/pull/32262))
140
+ - Fix block toolbar position after scroll. ([32212](https://github.com/WordPress/gutenberg/pull/32212))
141
+ - Move modal state to ManageLocations component. ([32078](https://github.com/WordPress/gutenberg/pull/32078))
142
+ - Site Editor:
143
+ - Fix broken template part converter modal styles. ([32097](https://github.com/WordPress/gutenberg/pull/32097))
144
+ - Remove title attribute from NavigationItem inside the site-editor. ([30744](https://github.com/WordPress/gutenberg/pull/30744))
145
+
146
+ ### Documentation
147
+
148
+ - Handbook:
149
+ - Fix broken contributors readme files. ([32272](https://github.com/WordPress/gutenberg/pull/32272))
150
+ - Fix misspelling in the Widgets Block Editor section. ([32242](https://github.com/WordPress/gutenberg/pull/32242))
151
+ - Mark all experimental components in the handbook. ([32147](https://github.com/WordPress/gutenberg/pull/32147))
152
+ - Update the create a block theme tutorial. ([31269](https://github.com/WordPress/gutenberg/pull/31269))
153
+ - Update iOS Simulator device command in React Native documentation. ([32383](https://github.com/WordPress/gutenberg/pull/32383))
154
+ - Packages:
155
+ - Navigation Editor: Augment and improve Nav Editor (and block) documentation. ([31891](https://github.com/WordPress/gutenberg/pull/31891))
156
+ - Components: Fixed documentation for `units` attribute in Unit Control. ([31901](https://github.com/WordPress/gutenberg/pull/31901))
157
+
158
+ ### Code Quality
159
+
160
+ - Block Editor:
161
+ - Rich text:
162
+ - Contextual default shortcut removal. ([32327](https://github.com/WordPress/gutenberg/pull/32327))
163
+ - Remove inline display warning. ([32013](https://github.com/WordPress/gutenberg/pull/32013))
164
+ - Colors: Remove \_\_experimentalUseColors hook. ([31438](https://github.com/WordPress/gutenberg/pull/31438))
165
+ - Remove usages of `withState` from edit-post and editor. ([32349](https://github.com/WordPress/gutenberg/pull/32349))
166
+ - Block Library:
167
+ - List View: Simplify the BlockNavigation component. ([31290](https://github.com/WordPress/gutenberg/pull/31290))
168
+ - Navigation: Simplify html selector in nav burger menu. ([32303](https://github.com/WordPress/gutenberg/pull/32303))
169
+ - Remove "class=" wrapper to already wrapped attributes. ([29214](https://github.com/WordPress/gutenberg/pull/29214))
170
+ - Query Block: Remove query context leftovers. ([32093](https://github.com/WordPress/gutenberg/pull/32093))
171
+ - Blocks Package: Make getBlockSupport support any `lodash` path.. ([32322](https://github.com/WordPress/gutenberg/pull/32322))
172
+ - Block Supports: Avoid a PHP Notice when `render_block()` is called without attributes. ([32135](https://github.com/WordPress/gutenberg/pull/32135))
173
+ - Components:
174
+ - Button: Deprecate `isPrimary`, `isSecondary`, `isTertiary` and `isLink` props in favour of `variant` prop. ([31713](https://github.com/WordPress/gutenberg/pull/31713))
175
+ - Combobox: Remove duplicated ComboboxControl component. ([32397](https://github.com/WordPress/gutenberg/pull/32397))
176
+ - Dashicons: Add types to Icon . ([32219](https://github.com/WordPress/gutenberg/pull/32219))
177
+ - Disabled: Add types to Disabled components. ([32105](https://github.com/WordPress/gutenberg/pull/32105))
178
+ - Remove all `withNext` wrappers. ([32205](https://github.com/WordPress/gutenberg/pull/32205))
179
+ - Rename `ViewOwnProps` to `PolymorphicComponentProps`. ([32053](https://github.com/WordPress/gutenberg/pull/32053))
180
+ - Require explicit `children` prop for all components. ([31817](https://github.com/WordPress/gutenberg/pull/31817))
181
+ - UI Context: Delete unused types from `context`. ([32254](https://github.com/WordPress/gutenberg/pull/32254))
182
+ - UI Popover: Remove unused `content` property from types definitions. ([32049](https://github.com/WordPress/gutenberg/pull/32049))
183
+ - Compose:
184
+ - Add types to useRefEffect and clipboard hooks. ([31603](https://github.com/WordPress/gutenberg/pull/31603))
185
+ - Add Types to `withGlobalEvents` as any. ([32290](https://github.com/WordPress/gutenberg/pull/32290))
186
+ - Add types to `useWarnOnChange`. ([32288](https://github.com/WordPress/gutenberg/pull/32288))
187
+ - Add types to `useViewportMatch`. ([32287](https://github.com/WordPress/gutenberg/pull/32287))
188
+ - Add types to `useDropZone`. ([32286](https://github.com/WordPress/gutenberg/pull/32286))
189
+ - Add types to `useDragging`. ([32285](https://github.com/WordPress/gutenberg/pull/32285))
190
+ - Add types to `useThrottle` and typecheck `useFocusOutside`. ([32170](https://github.com/WordPress/gutenberg/pull/32170))
191
+ - Add types to `useKeyboardShortcut`. ([32168](https://github.com/WordPress/gutenberg/pull/32168))
192
+ - Add types to `useResizeObserver` and type checking to `useIsomorphicLayoutEffect`. ([32111](https://github.com/WordPress/gutenberg/pull/32111))
193
+ - Add types to `useFocusReturn`. ([31949](https://github.com/WordPress/gutenberg/pull/31949))
194
+ - Add types to `usePrevious`. ([31944](https://github.com/WordPress/gutenberg/pull/31944))
195
+ - Add types to useReducedMotion and useMediaQuery. ([31941](https://github.com/WordPress/gutenberg/pull/31941))
196
+ - Add types to useMergeRefs. ([31939](https://github.com/WordPress/gutenberg/pull/31939))
197
+ - Add test to `useMergeRefs` for disabling refs + better documentation. ([32044](https://github.com/WordPress/gutenberg/pull/32044))
198
+ - Add types to `useDebounce`. ([32015](https://github.com/WordPress/gutenberg/pull/32015))
199
+ - Deprecate `withState` in favor of `useState`. ([32368](https://github.com/WordPress/gutenberg/pull/32368))
200
+ - Simplify `compose` function documentation and point to lodash documentation for it. ([32324](https://github.com/WordPress/gutenberg/pull/32324))
201
+ - Global Styles:
202
+ - Avoid enqueuing global styles twice when running on WordPress 5.8. ([32372](https://github.com/WordPress/gutenberg/pull/32372))
203
+ - Keyboard Shortcuts:
204
+ - Multi select: select all: Restore ref callback. ([32318](https://github.com/WordPress/gutenberg/pull/32318))
205
+ - Linting:
206
+ - Fix eslint warnings in the core-data package. ([32198](https://github.com/WordPress/gutenberg/pull/32198))
207
+ - Fix eslint warnings in the edit-navigation package. ([32196](https://github.com/WordPress/gutenberg/pull/32196))
208
+ - Fix eslint warnings in the edit-post package. ([32195](https://github.com/WordPress/gutenberg/pull/32195))
209
+ - Fix eslint warnings in the edit-site package. ([32156](https://github.com/WordPress/gutenberg/pull/32156))
210
+ - Fix eslint warnings in the edit-widgets package. ([32155](https://github.com/WordPress/gutenberg/pull/32155))
211
+ - Fix eslint warnings in the editor package. ([32153](https://github.com/WordPress/gutenberg/pull/32153))
212
+ - Fix eslint warnings in the nux package. ([32145](https://github.com/WordPress/gutenberg/pull/32145))
213
+ - Fix eslint warnings in the rich-text package. ([32142](https://github.com/WordPress/gutenberg/pull/32142))
214
+ - Fix eslint warnings in the reusable-blocks package. ([32141](https://github.com/WordPress/gutenberg/pull/32141))
215
+ - Navigation Editor:
216
+ - Fix React warning. ([32165](https://github.com/WordPress/gutenberg/pull/32165))
217
+
218
+ ### Tools
219
+
220
+ - Babel presets: Prefix build with node command for Windows environments. (#32258). ([32329](https://github.com/WordPress/gutenberg/pull/32329))
221
+ - Workflow:
222
+ - Limit when workflows run on forks. ([32114](https://github.com/WordPress/gutenberg/pull/32114))
223
+ - Only calculate the compressed size on pull requests when necessary. ([32161](https://github.com/WordPress/gutenberg/pull/32161))
224
+ - Performance Tests Workflow:
225
+ - Polish Bash script. ([32284](https://github.com/WordPress/gutenberg/pull/32284))
226
+ - Run suite atop latest stable major WordPress version. ([32244](https://github.com/WordPress/gutenberg/pull/32244))
227
+ - Use latest WP branch for release tests. ([32277](https://github.com/WordPress/gutenberg/pull/32277))
228
+ - End to End Tests:
229
+ - Fix inserting cover block intermittent failure. ([32014](https://github.com/WordPress/gutenberg/pull/32014))
230
+ - Navigation Editor:
231
+ - Fix failing end-to-end tests. ([32043](https://github.com/WordPress/gutenberg/pull/32043))
232
+ - Skip "Change detection" tests. ([32151](https://github.com/WordPress/gutenberg/pull/32151))
233
+ - Move the Query and PostTitle end-to-end tests out of the experimental directory. ([31691](https://github.com/WordPress/gutenberg/pull/31691))
234
+ - Multi select: Add end-to-end test for gruadual select all. ([32304](https://github.com/WordPress/gutenberg/pull/32304))
235
+ - Remove redundant widget API endpoint tests. ([32298](https://github.com/WordPress/gutenberg/pull/32298))
236
+ - Skip tests that are failing with the latest WordPress core. ([32228](https://github.com/WordPress/gutenberg/pull/32228))
237
+ - Eslint: Ignore some eslint rules in react-native folders. ([32143](https://github.com/WordPress/gutenberg/pull/32143))
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
  = 10.7.4 =
247
 
248
  ### Bug Fixes
533
  - Gallery:
534
  - Fix focus caption prop for native. ([32029](https://github.com/WordPress/gutenberg/pull/32029))
535
  - Fix identical images getting duplicated when moving. ([30555](https://github.com/WordPress/gutenberg/pull/30555))
536
+ - Image:
537
  - Remove figure margins consistently in image blocks. ([31650](https://github.com/WordPress/gutenberg/pull/31650))
538
  - Fix cover transform and excessive re-rendering. ([32102](https://github.com/WordPress/gutenberg/pull/32102))
539
  - Post Content: Apply the_content filter even if content is empty. ([31997](https://github.com/WordPress/gutenberg/pull/31997))
541
  - Post Comment Form:
542
  - Fix stylesheet dependency. ([31528](https://github.com/WordPress/gutenberg/pull/31528))
543
  - Fix to allow post comment button to inherit button & global styles automatically. ([31338](https://github.com/WordPress/gutenberg/pull/31338))
544
+ - Post Featured Image:
545
  - Fix non-interactive placeholder when outside of a post context. ([31663](https://github.com/WordPress/gutenberg/pull/31663))
546
  - Fix placeholder regression. ([31709](https://github.com/WordPress/gutenberg/pull/31709))
547
  - Fix selection scroll into view. ([31835](https://github.com/WordPress/gutenberg/pull/31835))
593
  - Fix issue with customizer title overlapping block toolbar. ([32140](https://github.com/WordPress/gutenberg/pull/32140))
594
  - Correctly read rawRequest for frontend ESM. ([31917](https://github.com/WordPress/gutenberg/pull/31917))
595
  - Fix generation of presets classes per block. ([32190](https://github.com/WordPress/gutenberg/pull/32190))
596
+ - Widget Screen:
597
  - Fix unsaved changes notification. ([31757](https://github.com/WordPress/gutenberg/pull/31757))
598
  - Fix call to undefined __experimentalRegisterExperimentalCoreBlocks. ([32138](https://github.com/WordPress/gutenberg/pull/32138))
599
 
813
 
814
  ### Enhancements
815
 
816
+ - Block Editor:
817
  - Add Block Border Support. ([31264](https://github.com/WordPress/gutenberg/pull/31264))
818
  - Spacing Support: configurable sides for padding support. ([30607](https://github.com/WordPress/gutenberg/pull/30607))
819
  - Simplify insertion point. ([30301](https://github.com/WordPress/gutenberg/pull/30301))
820
+ - Block Library:
821
  - Post date: Add link color option. ([30827](https://github.com/WordPress/gutenberg/pull/30827))
822
+ - Table:
823
  - Add border block support. ([31265](https://github.com/WordPress/gutenberg/pull/31265))
824
  - Add colors block support. ([30791](https://github.com/WordPress/gutenberg/pull/30791))
825
+ - Query Block:
826
  - Add semantic wrapper element. ([31421](https://github.com/WordPress/gutenberg/pull/31421))
827
  - Add wrapper and `align` support. ([30804](https://github.com/WordPress/gutenberg/pull/30804))
828
  - Show a spinner instead of the Loading text message. ([31095](https://github.com/WordPress/gutenberg/pull/31095))
829
  - Unify the post tags and post categories block under a unique post terms block. ([31458](https://github.com/WordPress/gutenberg/pull/31458))
830
+ - Components:
831
  - Add component system `context`. ([30877](https://github.com/WordPress/gutenberg/pull/30877))
832
  - Use `UnitControl` for font-size. ([31314](https://github.com/WordPress/gutenberg/pull/31314))
833
  - Use vanilla emotion for `view`. ([31099](https://github.com/WordPress/gutenberg/pull/31099))
836
  - Promote ui/Flex and deprecate `isReversed` prop. ([31297](https://github.com/WordPress/gutenberg/pull/31297))
837
  - Promote VisuallyHidden from ui into full components. ([31244](https://github.com/WordPress/gutenberg/pull/31244))
838
  - Core Data: Add experimental util to allow fetch remote URL data from REST API. ([31085](https://github.com/WordPress/gutenberg/pull/31085))
839
+ - General Interface:
840
  - Rename "Modes" to "Tools" in the header. ([31430](https://github.com/WordPress/gutenberg/pull/31430))
841
  - RTL support for redo/undo icons. ([31219](https://github.com/WordPress/gutenberg/pull/31219))
842
  - Update "trash" icon. ([31463](https://github.com/WordPress/gutenberg/pull/31463))
879
  - Fix: Make media playable on video and audio block backend. ([31257](https://github.com/WordPress/gutenberg/pull/31257))
880
  - Prevent `PostDate` as link to load inside an iframe. ([31350](https://github.com/WordPress/gutenberg/pull/31350))
881
  - Post Content: Prevent infinite recursion. ([31455](https://github.com/WordPress/gutenberg/pull/31455))
882
+ - Components:
883
  - Fix bug with color picker input state for falsy values. ([30799](https://github.com/WordPress/gutenberg/pull/30799))
884
  - Fixed imports that resulted in build failing. ([31106](https://github.com/WordPress/gutenberg/pull/31106))
885
  - Stop auto-memo antipattern and remove senseless default values. ([31246](https://github.com/WordPress/gutenberg/pull/31246))
886
  - Compose: Fix parameter name typo in `useRefEffect`. ([30597](https://github.com/WordPress/gutenberg/pull/30597))
887
  - General Interface:
888
  - Remove tools dropdown menu from medium viewport when text labels mode is active. ([31431](https://github.com/WordPress/gutenberg/pull/31431))
889
+ - Plugin:
890
  - Call deprecated hooks only when new filters not present. ([31027](https://github.com/WordPress/gutenberg/pull/31027))
891
  - Fix core-block-patterns support on GB. ([31546](https://github.com/WordPress/gutenberg/pull/31546))
892
  - Use `require_once` instead of `require` when registering blocks. ([31148](https://github.com/WordPress/gutenberg/pull/31148))
895
  - List view improvements. ([31092](https://github.com/WordPress/gutenberg/pull/31092))
896
  - Render out HTML characters in post and category titles. ([30661](https://github.com/WordPress/gutenberg/pull/30661))
897
  - Use EditorNotices component for notices. ([31303](https://github.com/WordPress/gutenberg/pull/31303))
898
+ - Themes:
899
  - Hook `maybe_inline_styles` in the footer. ([31072](https://github.com/WordPress/gutenberg/pull/31072))
900
  - Inlined core block styles should not override user-added inline styles. ([31268](https://github.com/WordPress/gutenberg/pull/31268))
901
+ - Writing flow:
902
  - Fix edge detection in Chrome. ([31150](https://github.com/WordPress/gutenberg/pull/31150))
903
  - Fix RTL issues. ([31159](https://github.com/WordPress/gutenberg/pull/31159))
904
 
952
  - Target global styles to the `body` element instead of `:root`. ([31302](https://github.com/WordPress/gutenberg/pull/31302))
953
  - Themes: only split block styles loading for block themes. ([31309](https://github.com/WordPress/gutenberg/pull/31309))
954
  - Update shape of theme.json. ([30541](https://github.com/WordPress/gutenberg/pull/30541))
955
+ - Navigation Editor and Block:
956
  - Block placeholder: fix font inheritance. ([31410](https://github.com/WordPress/gutenberg/pull/31410))
957
  - Correctly display menu used on location text. ([31500](https://github.com/WordPress/gutenberg/pull/31500))
958
  - Fix issue with missing styles for `Page List` in navigation. ([31368](https://github.com/WordPress/gutenberg/pull/31368))
971
  - Sync menu name updates. ([31093](https://github.com/WordPress/gutenberg/pull/31093))
972
  - Try: Remove padding from menu items when no background. ([30805](https://github.com/WordPress/gutenberg/pull/30805))
973
  - Use `ajaxurl` global in `batchSave` action. ([31028](https://github.com/WordPress/gutenberg/pull/31028))
974
+
975
  ### Documentation
976
 
977
  - Docs
986
  - Remove broken links to gutenberg-core team. ([31161](https://github.com/WordPress/gutenberg/pull/31161))
987
  - Update Versions in WordPress to include 5.7.1 & 5.8. ([31439](https://github.com/WordPress/gutenberg/pull/31439))
988
  - Update contributing documentation with callout notice usage. ([31202](https://github.com/WordPress/gutenberg/pull/31202))
989
+ - Handbook:
990
  - Add a deprecation notice to meta block attribute sources. ([31389](https://github.com/WordPress/gutenberg/pull/31389))
991
  - Block Patterns Doc Updates. ([31060](https://github.com/WordPress/gutenberg/pull/31060))
992
 
993
  ### Code Quality
994
 
995
+ - Block Editor:
996
  - BlockList: Normalise `useSelect` selectors for callbacks. ([31078](https://github.com/WordPress/gutenberg/pull/31078))
997
  - Default appender: Try editable paragraph instead of text area. ([30986](https://github.com/WordPress/gutenberg/pull/30986))
998
+ - In-between inserter:
999
  - Use `useRefCallback` and `showInsertionPoint`. ([30285](https://github.com/WordPress/gutenberg/pull/30285))
1000
  - On hover: Preserve original behaviour. ([31266](https://github.com/WordPress/gutenberg/pull/31266))
1001
  - Move block tools components and styles to separate folder. ([31313](https://github.com/WordPress/gutenberg/pull/31313))
1002
+ - Multi-selection:
1003
  - Move `shift+click` logic to hook. ([31358](https://github.com/WordPress/gutenberg/pull/31358))
1004
  - Move handlers to block ref callback. ([31334](https://github.com/WordPress/gutenberg/pull/31334))
1005
  - Writing flow: Move selector calls to event handlers. ([31332](https://github.com/WordPress/gutenberg/pull/31332))
1006
  - Block Library:
1007
  - Remove no longer necessary `render_callback` for Cover block. ([31503](https://github.com/WordPress/gutenberg/pull/31503))
1008
  - Move translatable fields to `block.json` files. ([31120](https://github.com/WordPress/gutenberg/pull/31120))
1009
+ - Components:
1010
  - Remove all remnants of wp-g2. ([31292](https://github.com/WordPress/gutenberg/pull/31292))
1011
  - Remove wp-g2 from scrollable. ([31207](https://github.com/WordPress/gutenberg/pull/31207))
1012
  - Remove G2 portal and refactor Popover to no longer use G2. ([31209](https://github.com/WordPress/gutenberg/pull/31209))
1030
  - Packages:
1031
  - Fix linting warnings for `core/block-editor` store. ([31146](https://github.com/WordPress/gutenberg/pull/31146))
1032
  - Update lodash to the latest patch version. ([31686](https://github.com/WordPress/gutenberg/pull/31686))
1033
+ - Plugin:
1034
  - Add missing textdomains. ([31131](https://github.com/WordPress/gutenberg/pull/31131))
1035
  - Cleanup unused function parameters. ([31130](https://github.com/WordPress/gutenberg/pull/31130))
1036
+ - Rich text:
1037
  - Extract undo automatic change. ([31449](https://github.com/WordPress/gutenberg/pull/31449))
1038
  - Move format boundaries to ref callback and separate file. ([31409](https://github.com/WordPress/gutenberg/pull/31409))
1039
 
1047
  - end-to-end wpDataSelect: Explain why it returns undefined sometimes. ([31227](https://github.com/WordPress/gutenberg/pull/31227))
1048
  - end-to-end testing: Use JSON serialization for getAllBlocks. ([31199](https://github.com/WordPress/gutenberg/pull/31199))
1049
  - end-to-end tests for Widgets Customizer. ([31185](https://github.com/WordPress/gutenberg/pull/31185))
1050
+ - end-to-end Site Editor: Evaluate getEditedPostContent on the page. ([31121](https://github.com/WordPress/gutenberg/pull/31121))
1051
  - Fix entity saving intermittent test failure. ([31157](https://github.com/WordPress/gutenberg/pull/31157))
1052
  - Fix tests failing on expected site tagline snapshot. ([31473](https://github.com/WordPress/gutenberg/pull/31473))
1053
  - Fix not getting correct `computedName` with labels in chromium 91. ([31175](https://github.com/WordPress/gutenberg/pull/31175))
1208
  ### Experiments
1209
 
1210
  - Block-based Widgets:
1211
+ - API:
1212
  - Don't use deprecated widget_class property. ([30429](https://github.com/WordPress/gutenberg/pull/30429))
1213
  - Fix null instance property when instance settings are empty. ([30713](https://github.com/WordPress/gutenberg/pull/30713))
1214
  - Remove deprecated properties. ([30853](https://github.com/WordPress/gutenberg/pull/30853))
1386
  - Site Editor:
1387
  - Allow reverting custom templates to their original theme-provided files. ([28141](https://github.com/WordPress/gutenberg/pull/28141))
1388
  - Use "Custom Styles" label to signal there are global styles changes in the saving panel. ([30521](https://github.com/WordPress/gutenberg/pull/30521))
1389
+
1390
 
1391
  ### Bug Fixes
1392
  - Inserter: Show only the patterns that use allowed blocks. ([30300](https://github.com/WordPress/gutenberg/pull/30300))
1414
  - Fix copy pasting non textual blocks. ([30225](https://github.com/WordPress/gutenberg/pull/30225))
1415
  - Fix horizontal caret placing for empty editable with placeholder. ([30463](https://github.com/WordPress/gutenberg/pull/30463))
1416
  - Fix multi-selection copying in Safari. ([30202](https://github.com/WordPress/gutenberg/pull/30202))
1417
+ - Site Editor:
1418
  - Fix nested template parts. ([30416](https://github.com/WordPress/gutenberg/pull/30416))
1419
  - Fix media upload behaviour and error state. ([30436](https://github.com/WordPress/gutenberg/pull/30436))
1420
  - Select the block inspector top upon selection. ([30387](https://github.com/WordPress/gutenberg/pull/30387))
2080
  - Add Portal. ([28981](https://github.com/WordPress/gutenberg/pull/28981))
2081
  - Update documentation (README + inline docs). ([29128](https://github.com/WordPress/gutenberg/pull/29128))
2082
  - Update color-picker snapshot tests to use diff matching. ([28925](https://github.com/WordPress/gutenberg/pull/28925))
2083
+ - Bugs:
2084
  - Fix Site Logo Styles. ([29227](https://github.com/WordPress/gutenberg/pull/29227))
2085
  - Template Part: Fallback to missing state if slug or theme is invalid. ([29041](https://github.com/WordPress/gutenberg/pull/29041))
2086
  - Site Editor:
2093
  - Fix widgets preview URL typo. ([29062](https://github.com/WordPress/gutenberg/pull/29062))
2094
  - Fix php error in the widget screen. ([29137](https://github.com/WordPress/gutenberg/pull/29137))
2095
  - Fix legacy widgets not previewing and widgets saving issue. ([29111](https://github.com/WordPress/gutenberg/pull/29111))
2096
+ - Fix server rendered widget not previewing. ([29197](https://github.com/WordPress/gutenberg/pull/29197))
2097
 
2098
 
2099
  ### Documentation
2150
  - Fix spacing in new contributor welcome message. ([28958](https://github.com/WordPress/gutenberg/pull/28958))
2151
  - Add react-i18n package with i18n React bindings. ([28465](https://github.com/WordPress/gutenberg/pull/28465))
2152
  - babel-plugin-makepot: Don't transpile the package code. ([28911](https://github.com/WordPress/gutenberg/pull/28911))
2153
+ - docgen:
2154
  - Don't transpile the package code. ([28910](https://github.com/WordPress/gutenberg/pull/28910))
2155
  - Replace doctrine with comment-parser. ([28615](https://github.com/WordPress/gutenberg/pull/28615))
2156
  - wp-env:
2238
 
2239
  ### Experiments
2240
 
2241
+ - Site Editor:
2242
  - Fix empty content when creating a new template. ([28882](https://github.com/WordPress/gutenberg/pull/28882))
2243
  - Fix complementary area not opening. ([28732](https://github.com/WordPress/gutenberg/pull/28732))
2244
  - Fix inserter can't be closed. ([28590](https://github.com/WordPress/gutenberg/pull/28590))
2245
  - Fix gray screen on refresh when editing pages and posts. ([28413](https://github.com/WordPress/gutenberg/pull/28413))
2246
  - Show single post template in posts templates in the navigation sidebar. ([28229](https://github.com/WordPress/gutenberg/pull/28229))
2247
  - Allow searching pages, posts and categories in the navigation sidebar. ([27280](https://github.com/WordPress/gutenberg/pull/27280))
2248
+ - Full Site Editing Architecture:
2249
  - Iterate on the public API of WP_Theme_JSON_Resolver. ([28855](https://github.com/WordPress/gutenberg/pull/28855))
2250
  - Rename pageTemplates configuration to customTemplates in theme.json. ([28830](https://github.com/WordPress/gutenberg/pull/28830))
2251
  - Move theme.json support check to class. ([28788](https://github.com/WordPress/gutenberg/pull/28788))
2264
  - Polish social links when inside navigation. ([28836](https://github.com/WordPress/gutenberg/pull/28836)), ([28448](https://github.com/WordPress/gutenberg/pull/28448)).
2265
  - Add block variation matcher to display information from a found match. ([28626](https://github.com/WordPress/gutenberg/pull/28626))
2266
  - Add new Post Navigation Link block. ([28602](https://github.com/WordPress/gutenberg/pull/28602))
2267
+ - Navigation screen:
2268
  - Fix failing request for menu items. ([28764](https://github.com/WordPress/gutenberg/pull/28764))
2269
  - Design Iteration. ([28675](https://github.com/WordPress/gutenberg/pull/28675))
2270
  - Clear block selection in the navigation editor when clicking editor canvas. ([28382](https://github.com/WordPress/gutenberg/pull/28382))
2271
  - Block-based widgets screen and customizer:
2272
  - Add experimental flag and enable widgets screen in customizer. ([28618](https://github.com/WordPress/gutenberg/pull/28618))
2273
+ - Global Styles:
2274
  - Use context when translating entries in theme.json. ([28246](https://github.com/WordPress/gutenberg/pull/28246))
2275
  - REST API:
2276
  - Add URL Details endpoint to REST API to allow retrieval of info about a remote URL. ([18042](https://github.com/WordPress/gutenberg/pull/18042))
2391
  "styles": { ... }
2392
  }
2393
  }
2394
+ ```
2395
 
2396
  After:
2397
 
gutenberg.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Printing since 1440. This is the development plugin for the new block editor in core.
6
  * Requires at least: 5.6
7
  * Requires PHP: 5.6
8
- * Version: 10.8.0
9
  * Author: Gutenberg Team
10
  * Text Domain: gutenberg
11
  *
@@ -13,8 +13,8 @@
13
  */
14
 
15
  ### BEGIN AUTO-GENERATED DEFINES
16
- define( 'GUTENBERG_VERSION', '10.8.0' );
17
- define( 'GUTENBERG_GIT_COMMIT', '7d8724d16b637f5c128376847b17452b7d7d60d6' );
18
  ### END AUTO-GENERATED DEFINES
19
 
20
  gutenberg_pre_init();
5
  * Description: Printing since 1440. This is the development plugin for the new block editor in core.
6
  * Requires at least: 5.6
7
  * Requires PHP: 5.6
8
+ * Version: 10.8.1
9
  * Author: Gutenberg Team
10
  * Text Domain: gutenberg
11
  *
13
  */
14
 
15
  ### BEGIN AUTO-GENERATED DEFINES
16
+ define( 'GUTENBERG_VERSION', '10.8.1' );
17
+ define( 'GUTENBERG_GIT_COMMIT', '8ec1049bc8953bcbd765e29e5a2e918a3a192cf4' );
18
  ### END AUTO-GENERATED DEFINES
19
 
20
  gutenberg_pre_init();
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Gutenberg ===
2
  Contributors: matveb, joen, karmatosed
3
  Tested up to: 5.7
4
- Stable tag: 10.7.4
5
  License: GPLv2 or later
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
 
@@ -55,4 +55,4 @@ View <a href="https://developer.wordpress.org/block-editor/principles/versions-i
55
 
56
  == Changelog ==
57
 
58
- To read the changelog for Gutenberg 10.8.0, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v10.8.0">release page</a>.
1
  === Gutenberg ===
2
  Contributors: matveb, joen, karmatosed
3
  Tested up to: 5.7
4
+ Stable tag: 10.8.0
5
  License: GPLv2 or later
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
 
55
 
56
  == Changelog ==
57
 
58
+ To read the changelog for Gutenberg 10.8.1, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v10.8.1">release page</a>.