(()=>{var t={4184:(t,e)=>{var r;!function(){"use strict";var o={}.hasOwnProperty;function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var s=typeof r;if("string"===s||"number"===s)t.push(r);else if(Array.isArray(r)){if(r.length){var a=n.apply(null,r);a&&t.push(a)}}else if("object"===s)if(r.toString===Object.prototype.toString)for(var i in r)o.call(r,i)&&r[i]&&t.push(i);else t.push(r.toString())}}return t.join(" ")}t.exports?(n.default=n,t.exports=n):void 0===(r=function(){return n}.apply(e,[]))||(t.exports=r)}()}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var s=e[o]={exports:{}};return t[o](s,s.exports,r),s.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";function t(){return t=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},t.apply(this,arguments)}const e=window.wp.element,o=window.wp.compose,n=window.wp.data,s=window.wp.hooks;var a,i=new Uint8Array(16);function l(){if(!a&&!(a="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(i)}const c=/^(?:[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,u=function(t){return"string"==typeof t&&c.test(t)};for(var d=[],p=0;p<256;++p)d.push((p+256).toString(16).substr(1));var f,m,v=0,b=0;const g=function(t,e,r){var o=e&&r||0,n=e||new Array(16),s=(t=t||{}).node||f,a=void 0!==t.clockseq?t.clockseq:m;if(null==s||null==a){var i=t.random||(t.rng||l)();null==s&&(s=f=[1|i[0],i[1],i[2],i[3],i[4],i[5]]),null==a&&(a=m=16383&(i[6]<<8|i[7]))}var c=void 0!==t.msecs?t.msecs:Date.now(),p=void 0!==t.nsecs?t.nsecs:b+1,g=c-v+(p-b)/1e4;if(g<0&&void 0===t.clockseq&&(a=a+1&16383),(g<0||c>v)&&void 0===t.nsecs&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");v=c,b=p,m=a;var h=(1e4*(268435455&(c+=122192928e5))+p)%4294967296;n[o++]=h>>>24&255,n[o++]=h>>>16&255,n[o++]=h>>>8&255,n[o++]=255&h;var y=c/4294967296*1e4&268435455;n[o++]=y>>>8&255,n[o++]=255&y,n[o++]=y>>>24&15|16,n[o++]=y>>>16&255,n[o++]=a>>>8|128,n[o++]=255&a;for(var w=0;w<6;++w)n[o+w]=s[w];return e||function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(d[t[e+0]]+d[t[e+1]]+d[t[e+2]]+d[t[e+3]]+"-"+d[t[e+4]]+d[t[e+5]]+"-"+d[t[e+6]]+d[t[e+7]]+"-"+d[t[e+8]]+d[t[e+9]]+"-"+d[t[e+10]]+d[t[e+11]]+d[t[e+12]]+d[t[e+13]]+d[t[e+14]]+d[t[e+15]]).toLowerCase();if(!u(r))throw TypeError("Stringified UUID is invalid");return r}(n)};var h=r(4184),y=r.n(h);const w=window.wp.i18n;var k;const _=null!==(k=window)&&void 0!==k&&k._gutenify_vars?window._gutenify_vars:{},{is_pro_activated:C,pro_account_url:S,pro_license_status:$,title:j,prefix:O,slug:x,authorWebSite:E,authorDemoWebSite:I,authorWebSiteProPage:A,defaultTheme:P,authorWebSiteSupport:W,plugin_directory_url:R,brand_color:U,plugin_main_version:B,documentationsURL:N,pro_title:V,active_blocks:D,plugin_main_camel_case_name:F}=_,q=(null!=_&&_.siteUrl?_.siteUrl:_.site_url,(0,w.sprintf)("Want to enjoy all feature of blocks? Checkout %1$s%2$s%3$s.",'<a href="'+A+'" target="_blank">',V,"</a>"),(0,o.createHigherOrderComponent)((t=>r=>{const{attributes:o,setAttributes:s,clientId:a}=r,{blockClientId:i}=o,l=()=>{const t=g();s({blockClientId:t})};return(0,e.useEffect)((()=>{i?((t,e)=>(0,n.select)("core/block-editor").getClientIdsWithDescendants().some((r=>{const{blockClientId:o}=(0,n.select)("core/block-editor").getBlockAttributes(r);return e!==r&&t===o})))(i,a)&&l():l()}),[i]),(0,e.createElement)(t,r)}),"addBlockEditCustomClassnameAttribute"));(0,s.addFilter)("editor.BlockEdit",`${x}--add-block-edit-custom-classname`,q),(0,s.addFilter)("blocks.getSaveContent.extraProps",`${x}--save-block-custom-classname`,((t,e,r)=>{if(null!=r&&r.blockClientId){let e=[];null!=t&&t.className&&(e=t.className.split(" "));const o=e.filter((t=>!t.startsWith(`${x}-section-`)));o.push(`${x}-section-${r.blockClientId}`),t.className=o.join(" ")}return t}));const L=(0,o.createHigherOrderComponent)((r=>o=>{const{attributes:n}=o,{blockClientId:s}=n,a=null==o?void 0:o.className;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(r,t({},o,{className:y()(a,`${x}-section-${s}`)})))}),"withCustomAttributeClassname");(0,s.addFilter)("editor.BlockListBlock",`${x}--add-editor-block-custom-classname`,L)})()})();