(()=>{"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 a=e.n(i);const s=window.wp.i18n,r="gutenify",o=window?.[`_${r}_vars`]?window[`_${r}_vars`]:{},{is_pro_activated:l,pro_account_url:c,pro_license_status:d,title:u,prefix:g,slug:p,authorWebSite:m,authorDemoWebSite:f,authorWebSiteProPage:w,defaultTheme:_,authorWebSiteSupport:h,plugin_directory_url:v,brand_color:b,plugin_main_version:C,documentationsURL:L,pro_title:S,active_blocks:y,plugin_main_camel_case_name:E}=o,M=(o?.siteUrl?o.siteUrl:o.site_url,(0,s.sprintf)("Want to enjoy all feature of blocks? Checkout %1$s%2$s%3$s.",'<a href="'+w+'" target="_blank">',S,"</a>"),{pluginMainSlug:"gutenify",pluginMainCamelCaseName:E,pluginMainFunctionPrefix:"gutenify"}),{pluginMainCamelCaseName:W}=M;n()((function(){a()((function(e){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<n.classList.length;e++)n.classList[e].startsWith("animated-")&&i.addClass(n.classList[e].replace("animated-",""))}))})),e(document).on(`${W}slideChange`,(function(){e(".swiper-wrapper .swiper-slide:not(.swiper-slide-active) .animated").each((function(){const t=e(this)[0];for(let n=0;n<t.classList.length;n++)t.classList[n].startsWith("animated-")&&e(this).removeClass(t.classList[n].replace("animated-",""))}))}));const n=()=>{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.classList.length;e++)n.classList[e].startsWith("animated-")&&i.addClass(n.classList[e].replace("animated-",""))}))}))};n(),document.addEventListener(`${W}slideChangeTransitionEnd`,(()=>{n()}),!1)}),0)}))}))})();