(()=>{"use strict";const{GHOSTKIT:n}=window,{events:o}=n;o.trigger(document,"init.gkt");const t=function(n,o,t){var e,i=t||{},r=i.noTrailing,c=void 0!==r&&r,u=i.noLeading,a=void 0!==u&&u,d=i.debounceMode,l=void 0===d?void 0:d,v=!1,s=0;function m(){e&&clearTimeout(e)}function f(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];var u=this,d=Date.now()-s;function f(){s=Date.now(),o.apply(u,i)}function g(){e=void 0}v||(a||!l||e||f(),m(),void 0===l&&d>n?a?(s=Date.now(),c||(e=setTimeout(l?g:f,n))):f():!0!==c&&(e=setTimeout(l?g:f,void 0===l?n-d:n)))}return f.cancel=function(n){var o=(n||{}).upcomingOnly,t=void 0!==o&&o;m(),v=!t},f}(200,(e=()=>{o.trigger(document,"init.blocks.gkt")},i=[],r=null,(c=function(){for(var n=arguments.length,o=new Array(n),t=0;t<n;t++)o[t]=arguments[t];i=o,r||(r=requestAnimationFrame((function(){r=null,e.apply(void 0,i)})))}).cancel=function(){r&&(cancelAnimationFrame(r),r=null)},c));var e,i,r,c;new window.MutationObserver(t).observe(document.documentElement,{childList:!0,subtree:!0})})();