(()=>{"use strict";var t={n:e=>{var i=e&&e.__esModule?()=>e.default:()=>e;return t.d(i,{a:i}),i},d:(e,i)=>{for(var n in i)t.o(i,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:i[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window.jQuery;var i=t.n(e);const n=window.wp.i18n,r="gutenify",a=window?.[`_${r}_vars`]?window[`_${r}_vars`]:{},{is_pro_activated:o,pro_account_url:s,pro_license_status:l,title:u,prefix:c,slug:d,authorWebSite:g,authorDemoWebSite:p,authorWebSiteProPage:f,defaultTheme:h,authorWebSiteSupport:_,plugin_directory_url:m,brand_color:w,plugin_main_version:b,documentationsURL:y,pro_title:v,active_blocks:S,plugin_main_camel_case_name:W}=a,$=(a?.siteUrl?a.siteUrl:a.site_url,(0,n.sprintf)("Want to enjoy all feature of blocks? Checkout %1$s%2$s%3$s.",'<a href="'+f+'" target="_blank">',v,"</a>"),{pluginMainSlug:"gutenify",pluginMainCamelCaseName:W,pluginMainFunctionPrefix:"gutenify"}),{pluginMainSlug:x}=$;i()((function(t){const e=()=>{const e=t("body");t(`.${x}-container-stretch`).each((function(){const i=t(this),n="full-stretched-padded"===i.data("stretch-type")?"":0,r=t(this).children();r.css({"margin-left":0,"margin-right":0,"padding-left":n,"padding-right":n});const a=i.offset().left-e.offset().left,o=e.outerWidth()-a-i.parent().outerWidth();r.css({"margin-left":-a+"px","margin-right":-o+"px","padding-left":a+"px","padding-right":o+"px"}),i.hasClass(`${x}-container-full-width-stretch`)&&r.css({"padding-left":0,"padding-right":0}),t(this).trigger("containerStretched")}))};t(window).on("resize load",(()=>{e()}))}))})();