1window.addEventListener("elementor/frontend/init",(function(){window.ScrollToPlugin&&gsap.registerPlugin(ScrollToPlugin);const e=elementorModules.frontend.handlers.Base.extend({bindEvents:function(){this.run()},run:function(){const e=this,t=e.getElementSettings("onpsc_duration")||1,n=e.getElementSettings("ease_type")||"power1.in";let o=e.$element[0].querySelectorAll('a[href^="#"]');if("wcf--animated-offcanvas"===e.getWidgetType()&&(o=document.querySelectorAll('.cwt-element-transfer-to-body nav ul a[href*="#"]')),"wcf--nav-menu"===e.getWidgetType()&&(o=e.$element[0].querySelectorAll('ul a[href*="#"]')),"wcf--one-page-nav"===e.getWidgetType()&&ScrollTrigger){e.isEdit&&new MutationObserver((e=>{for(let t of e)if("attributes"===t.type&&"class"===t.attributeName){ScrollTrigger.refresh();break}})).observe(e.$element[0],{attributes:!0,attributeFilter:["class"],attributeOldValue:!0});const r=e.$element[0].querySelector(".wcf--onepage-nav"),l=(e.$element[0].closest(".e-parent")||document.body,e.getElementSettings("aae_pos_x")||.01),s=e.getElementSettings("aae_pos_y")||.01,a=e.getElementSettings("aae_preset_nav_pos")||"center-right";function i(t){if(WCF_ADDONS_JS?.page_smoother?.disable&&1==WCF_ADDONS_JS.page_smoother.disable)return;const{width:n,height:o}=r.getBoundingClientRect();let i,a;if("top-left"===t)i=e.getElementSettings("aae_pospre_x")||0,a=e.getElementSettings("aae_pospre_y")||0;else if("top-center"===t)i=(window.innerWidth-n)/2,a=e.getElementSettings("aae_pospre_y")||.1;else if("top-right"===t)i=e.getElementSettings("aae_pospre_x")?window.innerWidth-n-e.getElementSettings("aae_pospre_x"):window.innerWidth-n-1,a=e.getElementSettings("aae_pospre_y")||0;else if("bottom-center"===t)i=(window.innerWidth-n)/2,a=e.getElementSettings("aae_pospre_y")?window.innerHeight-o-e.getElementSettings("aae_pospre_y"):window.innerHeight-o-1;else if("bottom-left"===t)i=e.getElementSettings("aae_pospre_x")?e.getElementSettings("aae_pospre_x"):0*window.innerWidth,a=e.getElementSettings("aae_pospre_y")?window.innerHeight-o-e.getElementSettings("aae_pospre_y"):window.innerHeight-o-1;else if("bottom-right"===t)i=e.getElementSettings("aae_pospre_x")?window.innerWidth-n-e.getElementSettings("aae_pospre_x"):window.innerWidth-n-1,a=e.getElementSettings("aae_pospre_y")?window.innerHeight-o-e.getElementSettings("aae_pospre_y"):window.innerHeight-o-1;else if("center-left"===t){if(e.getElementSettings("aae_pospre_x")){const t=parseFloat(e.getElementSettings("aae_pospre_x"))||0,n="+"===e.getElementSettings("aae_pospre_x_plusminus")?1:-1;i=e.getElementSettings("aae_pospre_x")+n*t}else i=0*window.innerWidth;if(e.getElementSettings("aae_pospre_y")){const t=parseFloat(e.getElementSettings("aae_pospre_y"))||0,n="+"===e.getElementSettings("aae_pospre_y_plusminus")?1:-1;a=(window.innerHeight-o)/2+n*t}else a=(window.innerHeight-o)/2}else if("center-right"===t){if(e.getElementSettings("aae_pospre_x")){const t=parseFloat(e.getElementSettings("aae_pospre_x"))||0,o="+"===e.getElementSettings("aae_pospre_x_plusminus")?1:-1;i=window.innerWidth-n+o*t}else i=window.innerWidth-n-0;if(e.getElementSettings("aae_pospre_y")){const t=parseFloat(e.getElementSettings("aae_pospre_y"))||0,n="+"===e.getElementSettings("aae_pospre_y_plusminus")?1:-1;a=(window.innerHeight-o)/2+n*t}else a=(window.innerHeight-o)/2}else"center-center"===t?(i=(window.innerWidth-n)/2,a=(window.innerHeight-o)/2):"custom"===t&&(i=window.innerWidth*l,a=window.innerHeight*s);gsap.set(r,{x:i,y:a}),ScrollTrigger.refresh(),ScrollTrigger&&ScrollTrigger.create({trigger:document.body,start:"top top",end:"bottom bottom",pin:r,pinSpacing:!1,pinType:"transform"})}gsap.registerPlugin(ScrollTrigger,ScrollToPlugin),i(a),window.addEventListener("resize",e.throttle((()=>{ScrollTrigger.getAll().filter((e=>e.pin===r)).forEach((e=>e.kill())),i(a)}),1e3))}setTimeout((()=>{const i=[];if(!ScrollToPlugin)return void console.info("ScrollToPlugin not found for nav widget");gsap.registerPlugin(ScrollToPlugin),"wcf--nav-menu"===e.getWidgetType()?document.addEventListener("click",(function(o){if(o.target.classList.contains("wcf-nav-item")){const i=-1!==o.target.href.indexOf("#")?o.target:null;if(document.querySelectorAll(".wcf__nav-menu").forEach((function(e){e.classList.remove("wcf-nav-is-toggled")})),document.body.style.overflow="auto",i){const r=i.hash,l=document.querySelector(r);l&&(o.preventDefault(),e._scrollTo(l,{duration:t,ease:n}))}}})):Array.prototype.forEach.call(o,(function(o){const r=o.getAttribute("href");if(r.length>1){const l=o.hash;if(document.querySelector(l)){const s=document.querySelector(l);i.push({link:o,target:s}),o.addEventListener("click",(function(o){o.preventDefault(),s&&e._scrollTo(s,{duration:t,ease_type:n});const i=document.querySelectorAll(".offcanvas--close--button-js, .wcf-menu-close");
1i&&i.forEach((e=>{e.click()})),history.pushState(null,"",`${r}`)}))}}})),window.addEventListener("scroll",e.throttle((()=>{let t=null;for(let e=0;e<i.length;e++){const n=i[e].target.offsetTop-80;window.scrollY>=n&&(t=i[e])}Array.prototype.forEach.call(o,(function(t){"wcf--one-page-nav"===e.getWidgetType()&&t.closest(".wcf-onepage-nav-item").classList.remove("active")})),t&&"wcf--one-page-nav"===e.getWidgetType()&&t.link.closest(".wcf-onepage-nav-item").classList.add("active"),t?.target?.id&&history.replaceState(null,"",`#${t?.target?.id}`)}),200));let r=window.location.hash;if(r){r=r.replace(/\#!/,"#");const o=document.querySelector(r);o&&e._scrollTo(o,{duration:t,ease_type:n})}}),200)},_scrollTo:function(e,t){gsap.to(window,{duration:t.duration,scrollTo:{y:e,offsetY:5,autoKill:!0,x:0},ease:t.ease_type,overwrite:"auto",onStart:()=>{},onUpdate:()=>{},onComplete:()=>{const e=window.location.href.replace("/#!","/#");history.pushState(null,null,e)}})},throttle:function(e,t=200){let n,o;return function(){const i=Date.now();n&&i<n+t?(clearTimeout(o),o=setTimeout((()=>{n=i,e()}),t)):(n=i,e())}}});["wcf--one-page-nav.default","wcf--animated-offcanvas.default","wcf--nav-menu.default"].forEach((t=>{elementorFrontend.hooks.addAction(`frontend/element_ready/${t}`,(t=>{elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}))}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.