!function(){"use strict";vart={n:function(e){varr=e&&e.__esModule?function(){returne.default}:function(){returne};returnt.d(r,{a:r}),r},d:function(e,r){for(varninr)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)}},e=window.wp.plugins,r=window.wp.data;functionn(t,e){(null==e||e>t.length)&&(e=t.length);for(varr=0,n=newArray(e);r<e;r++)n[r]=t[r];returnn}functiona(t,e){returnfunction(t){if(Array.isArray(t))returnt}(t)||function(t,e){varr=null==t?null:"undefined"!=typeofSymbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){varn,a,i,o,s=[],u=!0,h=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}elsefor(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){h=!0,a=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(h)throwa}}returns}}(t,e)||function(t,e){if(t){if("string"==typeoft)returnn(t,e);varr=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void0}}(t,e)||function(){thrownewTypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(0,r.select)("core/edit-post")&&(0,r.select)("core/edit-post").__experimentalGetPreviewDeviceType&&(0,e.registerPlugin)("generatepress-responsive-classes",{render:function(){vart=(0,r.useSelect)((function(){vart=(0,r.select)("core/edit-post").__experimentalGetPreviewDeviceType;returnt?{deviceType:t()}:{deviceType:null}}),[]).deviceType;returndocument.querySelector("body").classList.remove("gp-is-device-desktop","gp-is-device-tablet","gp-is-device-mobile"),document.querySelector("body").classList.add("gp-is-device-"+t.toLowerCase()),null}});vari=window.wp.element,o=window.wp.domReady,s=t.n(o);functionu(t){returnu="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},u(t)}(0,e.registerPlugin)("generatepress-content-width",{render:function(){vart,e=a((0,i.useState)(generatepressBlockEditor.sidebarLayout),2),r=e[0],n=e[1],o=a((0,i.useState)(generatepressBlockEditor.contentAreaType),2),u=o[0],h=o[1],f=null===(t=document.querySelector(".editor-styles-wrapper"))||void0===t?void0:t.style;return(0,i.useEffect)((function(){vart,e=document.querySelector(".editor-styles-wrapper");null==e||null===(t=e.style)||void0===t||t.setProperty("--content-width",function(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:"",r="",n="px",a=generatepressBlockEditor.customContentWidth?parseInt(generatepressBlockEditor.customContentWidth):generatepressBlockEditor.containerWidth,i=generatepressBlockEditor.leftSidebarWidth,o=generatepressBlockEditor.rightSidebarWidth;if(r="left-sidebar"===t?a*((100-i)/100):"right-sidebar"===t?a*((100-o)/100):"no-sidebar"===t?a:a*((100-(Number(i)+Number(o)))/100),""===e){vars=parseInt(generatepressBlockEditor.contentPaddingRight)+parseInt(generatepressBlockEditor.contentPaddingLeft);r=Number(r)-s}return"true"!==e||generatepressBlockEditor.customContentWidth||(r=100,n="%"),r+n}(r,u))}),[r,u,JSON.stringify(f)]),s()((function(){vart=document.getElementById("generate-sidebar-layout"),e=document.getElementById("_generate-full-width-content");t&&(t.onchange=function(t){n(t.target.value||generatepressBlockEditor.globalSidebarLayout)}),e&&(e.onchange=function(t){h(t.target.value||generatepressBlockEditor.contentAreaType)})})),null}});varh=/^\s+/,f=/\s+$/;functionl(t,e){if(e=e||{},(t=t||"")instanceofl)returnt;if(!(thisinstanceofl))returnnewl(t,e);varr=function(t){vare,r,n,a={r:0,g:0,b:0},i=1,o=null,s=null,l=null,c=!1,d=!1;return"string"==typeoft&&(t=function(t){t=t.replace(h,"").replace(f,"").toLowerCase();vare,r=!1;if(H[t])t=H[t],r=!0;elseif("transparent"==t)return{r:0,g:0,b:0