(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.domReady;var n=e.n(t);const i=window.jQuery;var s=e.n(i);const a=window.wp.i18n;var r;const o=null!==(r=window)&&void 0!==r&&r._gutenify_vars?window._gutenify_vars:{},{is_pro_activated:l,pro_account_url:c,pro_license_status:d,title:u,prefix:g,slug:p,authorWebSite:f,authorDemoWebSite:h,authorWebSiteProPage:m,defaultTheme:w,authorWebSiteSupport:_,plugin_directory_url:v,brand_color:b,plugin_main_version:y,documentationsURL:C,pro_title:S,active_blocks:L,plugin_main_camel_case_name:W}=o,$=(null!=o&&o.siteUrl?o.siteUrl:o.site_url,(0,a.sprintf)("Want to enjoy all feature of blocks? Checkout %1$s%2$s%3$s.",'',S,""),{pluginMainSlug:"gutenify",pluginMainCamelCaseName:W,pluginMainFunctionPrefix:"gutenify"}),{pluginMainSlug:E,pluginMainCamelCaseName:M}=$;n()((function(){s()((function(e){const t=()=>{const t=e("body");e(`.${E}-container-stretch`).each((function(){const n=e(this),i="full-stretched-padded"===n.data("stretch-type")?"":0,s=e(this).children();s.css({"margin-left":0,"margin-right":0,"padding-left":i,"padding-right":i});const a=n.offset().left-t.offset().left,r=t.outerWidth()-a-n.parent().outerWidth();s.css({"margin-left":-a+"px","margin-right":-r+"px","padding-left":a+"px","padding-right":r+"px"}),n.hasClass(`${E}-container-full-width-stretch`)&&s.css({"padding-left":0,"padding-right":0}),e(this).trigger("containerStretched")}))};e(window).on("resize load",(()=>{t()})),window.addEventListener("scroll",(function(){(function(e){if(0==e.length)return;const t=jQuery(window),n=t.scrollTop(),i=t.height(),s=n+i,a=jQuery(e),r=a.offset().top,o=a.height(),l=r+o;return r>=n&&rn&&l<=s||o>i&&r<=n&&l>=s})(e(`.${E}--invisible`))&&e(`.${E}--invisible`).removeClass(`${E}--invisible`)})),setTimeout((()=>{const t=new ScrollMagic.Controller;e(":not(.swiper-slide) .animated").each((function(){const n=e(this)[0];null===n.closest(".swiper-slide")&&new ScrollMagic.Scene({triggerElement:n,triggerHook:"onEnter",offset:50}).addTo(t).on("enter",(function(t){const i=e(t.target.triggerElement());for(let e=0;e{e(".swiper-wrapper .swiper-slide-active .animated").each((function(){const n=e(this)[0];new ScrollMagic.Scene({triggerElement:n,triggerHook:"onEnter",offset:50}).addTo(t).on("enter",(function(t){const i=e(t.target.triggerElement());for(let e=0;e{n()}),!1)}),0)}))}))})();