(()=>{var e={793:()=>{document.addEventListener("DOMContentLoaded",(function(){if(document.querySelector(".uicore-sticky")||document.querySelector(".uicore-will-be-sticky")){var e=function(){var e=window.matchMedia("(max-width: 1025px)").matches,t=window.scrollY||window.pageYOffset,i=document.querySelector(".uicore-top-bar"),n=i?i.offsetHeight:null,r=120;document.querySelector(".uicore-transparent .ui-header-row1")?r=19:document.querySelector(".ui-header-row1")&&(r=400),null==n&&(n=e?25:r),t>n?setTimeout((function(){document.querySelectorAll(".uicore-navbar").forEach((function(e){e.classList.add("uicore-scrolled")}))}),10):document.querySelectorAll(".uicore-navbar").forEach((function(e){e.classList.remove("uicore-scrolled")})),t>o&&o>0&&t>n-.85*n?document.querySelectorAll(".ui-smart-sticky").forEach((function(e){e.classList.add("ui-hide")})):document.querySelectorAll(".ui-smart-sticky").forEach((function(e){e.classList.remove("ui-hide")})),t+window.innerHeight>document.documentElement.scrollHeight-50&&document.querySelectorAll(".ui-smart-sticky").forEach((function(e){e.classList.remove("ui-hide")})),o=t},o=0;e();var t=(i=e,n=500,function(){var e=this,o=arguments;clearTimeout(r),r=setTimeout((function(){r=null,i.apply(e,o)}),n)});window.addEventListener("scroll",e),document.body.addEventListener("touchmove",t)}var i,n,r})),-1!=navigator.appVersion.indexOf("Win")&&document.body.classList.add("win"),document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".uicore-search-btn").forEach((function(e){e.addEventListener("click",(function(){document.body.classList.add("uicore-search-active");var e=document.querySelector(".uicore-search .search-field");e&&e.focus()}))})),document.querySelectorAll(".uicore-search .uicore-close").forEach((function(e){e.addEventListener("click",(function(){document.body.classList.remove("uicore-search-active")}))})),document.addEventListener("keydown",(function(e){27===e.keyCode&&document.body.classList.remove("uicore-search-active")})),document.querySelectorAll(".uicore-h-classic .menu-item-has-children:not(.menu-item-has-megamenu.custom-width)").forEach((function(e){e.addEventListener("mouseenter",(function(o){if(e.querySelector("ul")){var t=e.querySelector(".sub-menu");if(!t)return;t.getBoundingClientRect().left+window.scrollX+t.offsetWidth>document.body.offsetWidth&&e.classList.add("uicore-edge")}})),e.addEventListener("mouseleave",(function(o){e.classList.remove("uicore-edge")}))}));var e=document.getElementById("uicore-back-to-top");e&&(window.addEventListener("scroll",(function(){window.scrollY>300?e.classList.add("uicore-visible"):e.classList.remove("uicore-visible")})),e.addEventListener("click",(function(e){e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})})))})),document.addEventListener("DOMContentLoaded",(function(){if(document.querySelector(".uicore-progress-bar")){var e,o,t=function(){var e=document.body.scrollHeight-window.innerHeight,o=document.querySelector(".uicore-post-content article");return o&&(e=o.offsetHeight+o.getBoundingClientRect().top+window.scrollY-window.innerHeight),e},i=document.querySelector(".uicore-progress-bar"),n=t(),r=function(){return e=window.scrollY||window.pageYOffset,(o=e/n*100)>100&&(o=100),o+="%"},c=function(){i&&(i.style.width=r())};window.addEventListener("scroll",c),window.addEventListener("resize",(function(){n=t(),c()}))}})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelectorAll(".menu-item-has-megamenu.custom-width"),o=function(e){var o=window.matchMedia("(max-width: 1025px)").matches,t=e.querySelector(".uicore-megamenu");if(t&&(t.style.left="auto"),!o&&t){t.style.left="0px";var i=t.offsetWidth,n={left:t.getBoundingClientRect().left+window.scrollX},r=window.innerWidth;if(!i||!n)return;if(n.left+i>=r){var c=n.left+i-r;t.style.left=-c-0+"px"}}};e.forEach((function(e){e.addEventListener("mouseenter",(function(t){o(e)})),e.addEventListener("mouseleave",(function(t){o(e)})),o(e),e.classList.add("with-offsets")}))}))},3895:()=>{document.addEventListener("DOMContentLoaded",(function(){var e=window.matchMedia("(max-width: "+window.uicore_frontend.mobile_br+"px)").matches;function o(e,o,t){document.querySelectorAll(e).forEach((function(e){e.addEventListener(o,t)}))}function t(e,o,t){document.querySelectorAll(e).forEach((function(e){e.removeEventListener(o,t)}))}function i(e,o,t){e.style.transition="opacity "+o+"ms",e.style.opacity=t}function n(){var i,n;t(".uicore-mobile-menu-wrapper .menu-item-has-children > a","click",c),t(".uicore-mobile-menu-wrapper .uicore-menu-container .sub-menu .back > a","click",u),t(".uicore-mobile-menu-wrapper .menu-item-has-children > a:not(.ui-custom-tap)","click",r),t(".uicore-mobile-menu-wrapper li:not(.menu-item-has-children):not(.back) > a","click",q),t(".uicore-mobile-menu-wrapper .uicore-extra a","click",q),t(".uicore-mobile-menu-wrapper.uicore-ham-classic .menu-item-has-children","mouseenter",a),t(".uicore-mobile-menu-wrapper.uicore-ham-classic .menu-item-has-children","mouseleave",l),t(".uicore-mobile-menu-wrapper.uicore-ham-center .menu-item-has-children a, .uicore-mobile-menu-wrapper.uicore-ham-creative .menu-item-has-children a","click",s),e?document.body.classList.contains("ui-a-dsmm-slide")?(!function(){if(!window.uicoreBackLinks){for(var e=document.querySelectorAll(".menu-item-has-children"),o=0;o<e.length;o++){var t=uicore_frontend.back;t||(t=e[o].children[0].innerText);var i=e[o],n=document.createElement("a");n.href="#",n.textContent=t;var r=document.createElement("li");r.className="menu-item back",r.appendChild(n),i.children[1]&&i.children[1].insertBefore(r,i.children[1].firstChild)}window.uicoreBackLinks=!0}}(),o(".uicore-mobile-menu-wrapper .menu-item-has-children > a:not(.ui-custom-tap)","click",c),o(".uicore-mobile-menu-wrapper .uicore-menu-container .sub-menu .back > a","click",u)):o(".uicore-mobile-menu-wrapper .menu-item-has-children > a:not(.ui-custom-tap)","click",r):(o(".uicore-mobile-menu-wrapper.uicore-ham-classic .menu-item-has-children","mouseenter",a),o(".uicore-mobile-menu-wrapper.uicore-ham-classic .menu-item-has-children","mouseleave",l),o(".uicore-mobile-menu-wrapper.uicore-ham-center .menu-item-has-children > a, .uicore-mobile-menu-wrapper.uicore-ham-creative .menu-item-has-children > a","click",s),o(".uicore-mobile-menu-wrapper.uicore-ham-center .menu-item-has-children > a, .uicore-mobile-menu-wrapper.uicore-ham-creative .menu-item-has-children > a","click",m),document.querySelector(".uicore-menu-focus")&&(i=document.querySelectorAll(".menu-item"),n=document.querySelectorAll(".sub-menu, .uicore-megamenu"),i.forEach((function(e){e.addEventListener("mouseenter",f),e.addEventListener("mouseleave",h)})),n.forEach((function(e){e.addEventListener("mouseleave",(function(e){e.relatedTarget&&this.contains(e.relatedTarget)||(d.clear(),y())}))})))),o(".uicore-mobile-menu-wrapper li:not(.menu-item-has-children):not(.back) > a","click",q),o(".uicore-mobile-menu-wrapper .uicore-extra a","click",q)}function r(e){if(e.preventDefault(),window.closeOtherSubMenus){var o=this.parentElement;Array.from(o.parentElement.children).filter((function(e){return e!==o})).forEach((function(e){e.classList.remove("ui-expanded");var o=e.querySelector(".sub-menu");o&&(o.style.display="none")}))}var t=this.parentElement.querySelector(".sub-menu");t&&("block"===t.style.display?t.style.display="none":t.style.display="block"),this.classList.toggle("ui-expanded"),Array.from(this.parentElement.children).forEach((function(e){e!==this&&e.classList.toggle("uicore-active")}),this),"function"==typeof window.uicoreBeforeMobileMenuShow&&window.uicoreBeforeMobileMenuShow(),g()}function c(e){e.preventDefault();var o="";document.querySelectorAll(".uicore-mobile-menu-wrapper .uicore-menu").forEach((function(e){e.classList.add("uicore-animating")})),Array.from(this.parentElement.children).forEach((function(e){e!==this&&e.classList.add("uicore-active")}),this),"function"==typeof window.uicoreBeforeMobileMenuShow&&window.uicoreBeforeMobileMenuShow();var t=document.querySelector(".uicore-mobile-menu-wrapper .uicore-menu-container .uicore-menu"),i=t?t.style.left:"";"0"==i||"0%"==i||""==i?o="-100%":(i=i.replace("-","").replace("%",""),o="-"+(parseInt(i)+100)+"%"),"1"===uicore_frontend.rtl&&(o=o.replace("-","+")),"function"==typeof window.uicoreBeforeMobileMenuShow&&window.uicoreBeforeMobileMenuShow(),setTimeout((function(){t&&(t.style.transition="left 150ms",t.style.left=o,setTimeout((function(){g(),t.classList.remove("uicore-animating")}),150))}),100)}function u(e){e.preventDefault();var o="";document.querySelectorAll(".uicore-mobile-menu-wrapper .uicore-menu-container .uicore-menu").forEach((function(e){e.classList.add("uicore-animating")}));var t=document.querySelector(".uicore-mobile-menu-wrapper .uicore-menu-container .uicore-menu"),i=t?t.style.left:"";"-100%"==i||"0%"==i||""==i||"+100%"==i||"100%"==i?o="0%":(i=i.replace("-","").replace("%",""),o="-"+(parseInt(i)-100)+"%"),"1"===uicore_frontend.rtl&&(o=o.replace("-","+"));var n=this;setTimeout((function(){var e=n.parentElement;e&&e.parentElement&&e.parentElement.classList.remove("uicore-active"),"function"==typeof window.uicoreBeforeMobileMenuShow&&window.uicoreBeforeMobileMenuShow()}),300),setTimeout((function(){t&&(t.style.transition="left 150ms",t.style.left=o,setTimeout((function(){document.querySelectorAll(".uicore-mobile-menu-wrapper .uicore-menu .sub-menu:not(.uicore-active) li").forEach((function(e){e.classList.remove("uicore-visible")})),g(),t.classList.remove("uicore-animating")}),150))}),100)}function a(e){"function"==typeof window.uicoreBeforeMobileMenuShow&&window.uicoreBeforeMobileMenuShow();var o=this.querySelector(".sub-menu");o&&o.classList.add("uicore-active"),g()}function l(e){var o=this.querySelectorAll(".sub-menu");o.length&&o[o.length-1].classList.remove("uicore-active"),this.querySelectorAll("li").forEach((function(e){e.classList.remove("uicore-visible")})),"function"==typeof window.uicoreBeforeMobileMenuShow&&window.uicoreBeforeMobileMenuShow()}function s(e){var o=this.parentElement,t=o.querySelector(".sub-menu");t&&(t.classList.toggle("uicore-active"),"block"===t.style.display?t.style.display="none":t.style.display="block",t.classList.contains("uicore-active")?g():o.querySelectorAll("li").forEach((function(e){e.classList.remove("uicore-visible")})))}function m(o){o.preventDefault();var t=this.getAttribute("href");/^#.+$/.test(t)&&document.body.classList.contains("uicore-overflow-hidden")&&(document.querySelectorAll(".uicore-mobile-menu-overflow").forEach((function(e){e.classList.remove("uicore-overflow-hidden")})),document.body.classList.remove("uicore-overflow-hidden"),document.body.classList.remove("uicore-mobile-nav-show"),e?document.querySelector(".uicore-animate-fade")?document.querySelectorAll(".uicore-navigation-wrapper").forEach((function(e){e.style.transition="opacity 100ms"})):document.querySelector(".uicore-animate-slide-on-top")?document.querySelectorAll(".uicore-navigation-wrapper").forEach((function(e){e.style.transition="transform 400ms"})):document.querySelector(".uicore-animate-expand")?document.querySelectorAll(".uicore-navigation-wrapper").forEach((function(e){e.style.transition="transform 400ms, max-height 400ms, opacity 200ms",e.style.opacity=0})):document.querySelectorAll(".uicore-navigation-wrapper").forEach((function(e){e.style.transition="all 400ms, opacity 200ms",e.style.opacity=0})):document.querySelectorAll(".uicore-navigation-wrapper").forEach((function(e){e.style.transition="opacity 100ms",e.style.opacity=0})),window.location.href=t)}n(),window.onresize=n,document.querySelectorAll(".uicore-toggle").forEach((function(e){e.addEventListener("click",q)}));var d=new Set;function f(){d.add(this);for(var e=this.parentElement.closest(".menu-item");e;)d.add(e),e=e.parentElement.closest(".menu-item");y()}function h(e){var o=e.relatedTarget,t=this.querySelector(".sub-menu, .uicore-megamenu");t&&t.contains(o)||(d.delete(this),y())}function y(){document.querySelectorAll(".menu-item").forEach((function(e){if(d.has(e))i(e,300,1);else{var o=Array.from(d).some((function(o){return o.parentElement===e.parentElement}));i(e,300,o?.4:1)}}))}var p=document.querySelectorAll(".uicore-ham-reveal"),w=document.querySelector(".uicore-mobile-menu-wrapper .uicore-menu-container .uicore-menu"),v=document.querySelector(".uicore-navigation-wrapper"),b=document.querySelectorAll(".uicore-mobile-menu-overflow"),E=document.querySelectorAll(".uicore-mobile-menu-wrapper .uicore-menu-container"),S=document.querySelectorAll(".uicore-mobile-menu-wrapper li"),L=document.querySelectorAll(".uicore-ham-reveal");function q(o){if(!window.uicoreAnimation){window.uicoreAnimation=!0;var t=this.getAttribute("href");if(t){var i=t.split("#");if(i[0]&&i[0]!=window.location.pathname&&i[0]!=window.location.href.split("#")[0])return}if(w.classList.toggle("uicore-active"),document.body.classList.contains("uicore-overflow-hidden"))"function"==typeof window.uicoreBeforeMobileMenuHide&&window.uicoreBeforeMobileMenuHide(),b.forEach((function(e){e.classList.remove("uicore-overflow-hidden")})),document.body.classList.remove("uicore-overflow-hidden"),document.documentElement.classList.remove("uicore-overflow-hidden"),document.body.classList.remove("uicore-mobile-nav-show"),e?document.querySelector(".uicore-animate-fade")?requestAnimationFrame((function(){v.style.transition="opacity 100ms",v.style.opacity=0})):document.querySelector(".uicore-animate-slide-on-top")?requestAnimationFrame((function(){v.style.transition="transform 400ms"})):document.querySelector(".uicore-animate-expand")?requestAnimationFrame((function(){v.style.transition="transform 400ms, max-height 400ms, opacity 200ms",v.style.opacity=0})):requestAnimationFrame((function(){v.style.transition="all 400ms, opacity 200ms",v.style.opacity=0})):requestAnimationFrame((function(){v.style.transition="opacity 100ms",v.style.opacity=0})),S.forEach((function(e){e.classList.remove("uicore-visible")})),L.forEach((function(e){e.style.animationName="none"}));else{"function"==typeof window.uicoreBeforeMobileMenuShow&&window.uicoreBeforeMobileMenuShow();var n,r=0;p.length?(e||(p.forEach((function(e){requestAnimationFrame((function(){e.style.animationName="uiCoreAnimationsHamReveal"}))})),r=100),setTimeout((function(){requestAnimationFrame((function(){v.style.opacity=1}))}),0+r)):(r=10,n=document.querySelector(".uicore-animate-slide-on-top")?"transform 400ms cubic-bezier(0.52, 0, 0.32, 1.01), opacity 50ms":document.querySelector(".uicore-animate-expand")?"transform 400ms cubic-bezier(0.52, 0, 0.32, 1.01), max-height 400ms, opacity 50ms":"all 400ms cubic-bezier(0.52, 0, 0.32, 1.01)",setTimeout((function(){requestAnimationFrame((function(){v.style.transition=n,v.style.opacity=1}))}),r)),document.body.classList.add("uicore-overflow-hidden"),document.documentElement.classList.add("uicore-overflow-hidden"),document.body.classList.add("uicore-mobile-nav-show"),setTimeout((function(){b.forEach((function(e){e.classList.add("uicore-overflow-hidden")})),E.forEach((function(e){requestAnimationFrame((function(){e.style.left="0%"}))})),g()}),r)}this.classList.toggle("collapsed"),setTimeout((function(){window.uicoreAnimation=!1}),50)}}function g(){var e=document.querySelectorAll(".sub-menu.uicore-active > li:not(.uicore-visible)");e.length&&e.forEach((function(e,o){setTimeout((function(){e.classList.add("uicore-visible"),e.classList.contains("menu-item-has-children")&&function(e){var o=e||document.querySelectorAll(".uicore-mobile-menu-wrapper .uicore-menu-container .menu-item-has-children");(o=o instanceof NodeList?Array.from(o):Array.isArray(o)?o:[o]).forEach((function(e){var o=e.querySelector(":scope > a"),t=o?o.getAttribute("href"):null;if(e.querySelectorAll(".ui-custom-tap").forEach((function(e){e.remove()})),t&&"#"!==t){var i=document.createElement("a");i.href=t,i.textContent="",i.className="ui-custom-tap",i.style.minHeight=e.offsetHeight+"px",i.style.transform="translate3d(0,-"+e.offsetHeight+"px,0)",o&&o.nextSibling?e.insertBefore(i,o.nextSibling):o&&e.appendChild(i)}}))}(e)}),50*o)}))}}))},7952:()=>{document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".menu-item-object-uicore-tb").forEach((function(e){["mouseenter","mouseleave"].forEach((function(o){e.addEventListener(o,(function(){e.querySelectorAll(".elementor-element").forEach((function(e){elementorFrontend.elementsHandler.runReadyTrigger(e)}))}))}))}))}))}},o={};function t(i){var n=o[i];if(void 0!==n)return n.exports;var r=o[i]={exports:{}};return e[i](r,r.exports,t),r.exports}t.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return t.d(o,{a:o}),o},t.d=(e,o)=>{for(var i in o)t.o(o,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:o[i]})},t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{"use strict";t(793),t(3895),t(7952)})()})();function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}
function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}
function _toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(function(global,factory){typeof exports==='object'&&typeof module!=='undefined'?module.exports=factory():typeof define==='function'&&define.amd?define(factory):(global=typeof globalThis!=='undefined'?globalThis:global||self,global.Lenis=factory())})(this,function(){'use strict';var version="1.0.39";function clamp(min,input,max){return Math.max(min,Math.min(input,max))}
function lerp(x,y,t){return(1-t)*x+t*y}
function damp(x,y,lambda,dt){return lerp(x,y,1-Math.exp(-lambda*dt))}
function modulo(n,d){return(n%d+d)%d}
class Animate{advance(deltaTime){var _this$onUpdate;if(!this.isRunning)return;let completed=!1;if(this.lerp){this.value=damp(this.value,this.to,this.lerp*60,deltaTime);if(Math.round(this.value)===this.to){this.value=this.to;completed=!0}}else{this.currentTime+=deltaTime;const linearProgress=clamp(0,this.currentTime/this.duration,1);completed=linearProgress>=1;const easedProgress=completed?1:this.easing(linearProgress);this.value=this.from+(this.to-this.from)*easedProgress}(_this$onUpdate=this.onUpdate)===null||_this$onUpdate===void 0||_this$onUpdate.call(this,this.value,completed);if(completed){this.stop()}}
stop(){this.isRunning=!1}
fromTo(from,to,{lerp=0.1,duration=1,easing=t=>t,onStart,onUpdate}){this.from=this.value=from;this.to=to;this.lerp=lerp;this.duration=duration;this.easing=easing;this.currentTime=0;this.isRunning=!0;onStart===null||onStart===void 0||onStart();this.onUpdate=onUpdate}}
function debounce(callback,delay){let timer;return function(){let args=arguments;let context=this;clearTimeout(timer);timer=setTimeout(function(){callback.apply(context,args)},delay)}}
class Dimensions{constructor({wrapper,content,autoResize=!0,debounce:debounceValue=250}={}){_defineProperty(this,"resize",()=>{this.onWrapperResize();this.onContentResize()});_defineProperty(this,"onWrapperResize",()=>{if(this.wrapper===window){this.width=window.innerWidth;this.height=window.innerHeight}else{this.width=this.wrapper.clientWidth;this.height=this.wrapper.clientHeight}});_defineProperty(this,"onContentResize",()=>{if(this.wrapper===window){this.scrollHeight=this.content.scrollHeight;this.scrollWidth=this.content.scrollWidth}else{this.scrollHeight=this.wrapper.scrollHeight;this.scrollWidth=this.wrapper.scrollWidth}});this.wrapper=wrapper;this.content=content;if(autoResize){this.debouncedResize=debounce(this.resize,debounceValue);if(this.wrapper===window){window.addEventListener('resize',this.debouncedResize,!1)}else{this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize);this.wrapperResizeObserver.observe(this.wrapper)}
this.contentResizeObserver=new ResizeObserver(this.debouncedResize);this.contentResizeObserver.observe(this.content)}
this.resize()}
destroy(){var _this$wrapperResizeOb,_this$contentResizeOb;(_this$wrapperResizeOb=this.wrapperResizeObserver)===null||_this$wrapperResizeOb===void 0||_this$wrapperResizeOb.disconnect();(_this$contentResizeOb=this.contentResizeObserver)===null||_this$contentResizeOb===void 0||_this$contentResizeOb.disconnect();window.removeEventListener('resize',this.debouncedResize,!1)}
get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}}
class Emitter{constructor(){this.events={}}
emit(event,...args){let callbacks=this.events[event]||[];for(let i=0,length=callbacks.length;i<length;i++){callbacks[i](...args)}}
on(event,cb){var _this$events$event;((_this$events$event=this.events[event])===null||_this$events$event===void 0?void 0:_this$events$event.push(cb))||(this.events[event]=[cb]);return()=>{var _this$events$event2;this.events[event]=(_this$events$event2=this.events[event])===null||_this$events$event2===void 0?void 0:_this$events$event2.filter(i=>cb!==i)}}
off(event,callback){var _this$events$event3;this.events[event]=(_this$events$event3=this.events[event])===null||_this$events$event3===void 0?void 0:_this$events$event3.filter(i=>callback!==i)}
destroy(){this.events={}}}
class VirtualScroll{constructor(element,{wheelMultiplier=1,touchMultiplier=2,normalizeWheel=!1}){_defineProperty(this,"onTouchStart",event=>{const{clientX,clientY}=event.targetTouches?event.targetTouches[0]:event;this.touchStart.x=clientX;this.touchStart.y=clientY;this.lastDelta={x:0,y:0};this.emitter.emit('scroll',{deltaX:0,deltaY:0,event})});_defineProperty(this,"onTouchMove",event=>{const{clientX,clientY}=event.targetTouches?event.targetTouches[0]:event;const deltaX=-(clientX-this.touchStart.x)*this.touchMultiplier;const deltaY=-(clientY-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=clientX;this.touchStart.y=clientY;this.lastDelta={x:deltaX,y:deltaY};this.emitter.emit('scroll',{deltaX,deltaY,event})});_defineProperty(this,"onTouchEnd",event=>{this.emitter.emit('scroll',{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event})});_defineProperty(this,"onWheel",event=>{let{deltaX,deltaY}=event;if(this.normalizeWheel){deltaX=clamp(-100,deltaX,100);deltaY=clamp(-100,deltaY,100)}
deltaX*=this.wheelMultiplier;deltaY*=this.wheelMultiplier;this.emitter.emit('scroll',{deltaX,deltaY,event})});this.element=element;this.wheelMultiplier=wheelMultiplier;this.touchMultiplier=touchMultiplier;this.normalizeWheel=normalizeWheel;this.touchStart={x:null,y:null};this.emitter=new Emitter();this.element.addEventListener('wheel',this.onWheel,{passive:!1});this.element.addEventListener('touchstart',this.onTouchStart,{passive:!1});this.element.addEventListener('touchmove',this.onTouchMove,{passive:!1});this.element.addEventListener('touchend',this.onTouchEnd,{passive:!1})}
on(event,callback){return this.emitter.on(event,callback)}
destroy(){this.emitter.destroy();this.element.removeEventListener('wheel',this.onWheel,{passive:!1});this.element.removeEventListener('touchstart',this.onTouchStart,{passive:!1});this.element.removeEventListener('touchmove',this.onTouchMove,{passive:!1});this.element.removeEventListener('touchend',this.onTouchEnd,{passive:!1})}}
class Lenis{constructor({wrapper=window,content=document.documentElement,wheelEventsTarget=wrapper,eventsTarget=wheelEventsTarget,smoothWheel=!0,syncTouch=!1,syncTouchLerp=0.075,touchInertiaMultiplier=35,duration,easing=t=>Math.min(1,1.001-Math.pow(2,-10*t)),lerp=!duration&&0.1,infinite=!1,orientation='vertical',gestureOrientation='vertical',touchMultiplier=1,wheelMultiplier=1,normalizeWheel=!1,autoResize=!0,__experimental__naiveDimensions=!1}={}){this.__isSmooth=!1;this.__isScrolling=!1;this.__isStopped=!1;this.__isLocked=!1;this.onVirtualScroll=({deltaX,deltaY,event})=>{if(event.ctrlKey)return;const isTouch=event.type.includes('touch');const isWheel=event.type.includes('wheel');const isTapToStop=this.options.syncTouch&&isTouch&&event.type==='touchstart';if(isTapToStop){this.reset();return}
const isClick=deltaX===0&&deltaY===0;const isUnknownGesture=this.options.gestureOrientation==='vertical'&&deltaY===0||this.options.gestureOrientation==='horizontal'&&deltaX===0;if(isClick||isUnknownGesture){return}
let composedPath=event.composedPath();composedPath=composedPath.slice(0,composedPath.indexOf(this.rootElement));if(!!composedPath.find(node=>{var _a,_b,_c,_d,_e;return((_a=node.hasAttribute)===null||_a===void 0?void 0:_a.call(node,'data-lenis-prevent'))||isTouch&&((_b=node.hasAttribute)===null||_b===void 0?void 0:_b.call(node,'data-lenis-prevent-touch'))||isWheel&&((_c=node.hasAttribute)===null||_c===void 0?void 0:_c.call(node,'data-lenis-prevent-wheel'))||((_d=node.classList)===null||_d===void 0?void 0:_d.contains('lenis'))&&!((_e=node.classList)===null||_e===void 0?void 0:_e.contains('lenis-stopped'))}))return;if(this.isStopped||this.isLocked){event.preventDefault();return}
this.isSmooth=this.options.syncTouch&&isTouch||this.options.smoothWheel&&isWheel;if(!this.isSmooth){this.isScrolling=!1;this.animate.stop();return}
event.preventDefault();let delta=deltaY;if(this.options.gestureOrientation==='both'){delta=Math.abs(deltaY)>Math.abs(deltaX)?deltaY:deltaX}else if(this.options.gestureOrientation==='horizontal'){delta=deltaX}
const syncTouch=isTouch&&this.options.syncTouch;const isTouchEnd=isTouch&&event.type==='touchend';const hasTouchInertia=isTouchEnd&&Math.abs(delta)>5;if(hasTouchInertia){delta=this.velocity*this.options.touchInertiaMultiplier}
this.scrollTo(this.targetScroll+delta,Object.assign({programmatic:!1},syncTouch?{lerp:hasTouchInertia?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))};this.onNativeScroll=()=>{if(this.__preventNextScrollEvent)return;if(!this.isScrolling){const lastScroll=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll;this.velocity=0;this.direction=Math.sign(this.animatedScroll-lastScroll);this.emit()}};window.lenisVersion=version;if(wrapper===document.documentElement||wrapper===document.body){wrapper=window}
this.options={wrapper,content,wheelEventsTarget,eventsTarget,smoothWheel,syncTouch,syncTouchLerp,touchInertiaMultiplier,duration,easing,lerp,infinite,gestureOrientation,orientation,touchMultiplier,wheelMultiplier,normalizeWheel,autoResize,__experimental__naiveDimensions};this.animate=new Animate();this.emitter=new Emitter();this.dimensions=new Dimensions({wrapper,content,autoResize});this.toggleClassName('lenis',!0);this.velocity=0;this.isLocked=!1;this.isStopped=!1;this.isSmooth=syncTouch||smoothWheel;this.isScrolling=!1;this.targetScroll=this.animatedScroll=this.actualScroll;this.options.wrapper.addEventListener('scroll',this.onNativeScroll,!1);this.virtualScroll=new VirtualScroll(eventsTarget,{touchMultiplier,wheelMultiplier,normalizeWheel});this.virtualScroll.on('scroll',this.onVirtualScroll)}
destroy(){this.emitter.destroy();this.options.wrapper.removeEventListener('scroll',this.onNativeScroll,!1);this.virtualScroll.destroy();this.dimensions.destroy();this.toggleClassName('lenis',!1);this.toggleClassName('lenis-smooth',!1);this.toggleClassName('lenis-scrolling',!1);this.toggleClassName('lenis-stopped',!1);this.toggleClassName('lenis-locked',!1)}
on(event,callback){return this.emitter.on(event,callback)}
off(event,callback){return this.emitter.off(event,callback)}
setScroll(scroll){if(this.isHorizontal){this.rootElement.scrollLeft=scroll}else{this.rootElement.scrollTop=scroll}}
resize(){this.dimensions.resize()}
emit(){this.emitter.emit('scroll',this)}
reset(){this.isLocked=!1;this.isScrolling=!1;this.animatedScroll=this.targetScroll=this.actualScroll;this.velocity=0;this.animate.stop()}
start(){if(!this.isStopped)return;this.isStopped=!1;this.reset()}
stop(){if(this.isStopped)return;this.isStopped=!0;this.animate.stop();this.reset()}
raf(time){const deltaTime=time-(this.time||time);this.time=time;this.animate.advance(deltaTime*0.001)}
scrollTo(target,{offset=0,immediate=!1,lock=!1,duration=this.options.duration,easing=this.options.easing,lerp=!duration&&this.options.lerp,onComplete,force=!1,programmatic=!0}={}){if((this.isStopped||this.isLocked)&&!force)return;if(['top','left','start'].includes(target)){target=0}else if(['bottom','right','end'].includes(target)){target=this.limit}else{let node;if(typeof target==='string'){node=document.querySelector(target)}else if(target===null||target===void 0?void 0:target.nodeType){node=target}
if(node){if(this.options.wrapper!==window){const wrapperRect=this.options.wrapper.getBoundingClientRect();offset-=this.isHorizontal?wrapperRect.left:wrapperRect.top}
const rect=node.getBoundingClientRect();target=(this.isHorizontal?rect.left:rect.top)+this.animatedScroll}}
if(typeof target!=='number')return;target+=offset;target=Math.round(target);if(this.options.infinite){if(programmatic){this.targetScroll=this.animatedScroll=this.scroll}}else{target=clamp(0,target,this.limit)}
if(immediate){this.animatedScroll=this.targetScroll=target;this.setScroll(this.scroll);this.reset();onComplete===null||onComplete===void 0?void 0:onComplete(this);return}
if(!programmatic){if(target===this.targetScroll)return;this.targetScroll=target}
this.animate.fromTo(this.animatedScroll,target,{duration,easing,lerp,onStart:()=>{if(lock)this.isLocked=!0;this.isScrolling=!0},onUpdate:(value,completed)=>{this.isScrolling=!0;this.velocity=value-this.animatedScroll;this.direction=Math.sign(this.velocity);this.animatedScroll=value;this.setScroll(this.scroll);if(programmatic){this.targetScroll=value}
if(!completed)this.emit();if(completed){this.reset();this.emit();onComplete===null||onComplete===void 0?void 0:onComplete(this);this.__preventNextScrollEvent=!0;requestAnimationFrame(()=>{delete this.__preventNextScrollEvent})}}})}
get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}
get limit(){if(this.options.__experimental__naiveDimensions){if(this.isHorizontal){return this.rootElement.scrollWidth-this.rootElement.clientWidth}else{return this.rootElement.scrollHeight-this.rootElement.clientHeight}}else{return this.dimensions.limit[this.isHorizontal?'x':'y']}}
get isHorizontal(){return this.options.orientation==='horizontal'}
get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}
get scroll(){return this.options.infinite?modulo(this.animatedScroll,this.limit):this.animatedScroll}
get progress(){return this.limit===0?1:this.scroll/this.limit}
get isSmooth(){return this.__isSmooth}
set isSmooth(value){if(this.__isSmooth!==value){this.__isSmooth=value;this.toggleClassName('lenis-smooth',value)}}
get isScrolling(){return this.__isScrolling}
set isScrolling(value){if(this.__isScrolling!==value){this.__isScrolling=value;this.toggleClassName('lenis-scrolling',value)}}
get isStopped(){return this.__isStopped}
set isStopped(value){if(this.__isStopped!==value){this.__isStopped=value;this.toggleClassName('lenis-stopped',value)}}
get isLocked(){return this.__isLocked}
set isLocked(value){if(this.__isLocked!==value){this.__isLocked=value;this.toggleClassName('lenis-locked',value)}}
get className(){let className='lenis';if(this.isStopped)className+=' lenis-stopped';if(this.isLocked)className+=' lenis-locked';if(this.isScrolling)className+=' lenis-scrolling';if(this.isSmooth)className+=' lenis-smooth';return className}
toggleClassName(name,value){this.rootElement.classList.toggle(name,value);this.emitter.emit('className change',this)}}
return Lenis});document.addEventListener('DOMContentLoaded',function(){window.ui_animate_lenis=new Lenis({wrapper:document.documentElement,content:document.body});function raf(time){window.ui_animate_lenis.raf(time);requestAnimationFrame(raf)}
requestAnimationFrame(raf);var styleElement=document.createElement('style');styleElement.textContent=`
html {
height: auto;
scroll-behavior: auto !important;
}
[data-lenis-prevent],
.lenis-prevent {
overscroll-behavior: contain;
}
.lenis-stopped {
overflow: hidden;
}
.lenis-scrolling iframe {
pointer-events: none;
}
`;document.head.appendChild(styleElement);document.addEventListener('click',e=>{const anchor=e.target.closest('a[href]');if(!anchor)return;const href=anchor.getAttribute('href');const url=new URL(href,window.location.href);if(url.hash){e.preventDefault();window.ui_animate_lenis.scrollTo(url.hash,{onComplete:()=>{history.pushState(null,null,href)}})}})});document.addEventListener('DOMContentLoaded',()=>{const elementsToAnimate=document.querySelectorAll('[data-ui-animation]');const observer=new IntersectionObserver((entries,observer)=>{entries.forEach(entry=>{if(entry.isIntersecting){const animationName=entry.target.getAttribute('data-ui-animation');const animationSpeed=entry.target.getAttribute('data-ui-duration');if(animationSpeed==='fast'){entry.target.classList.add('animated','animated-fast')}else if(animationSpeed==='slow'){entry.target.classList.add('animated','animated-slow')}else{entry.target.classList.add('animated')}
entry.target.classList.add(...animationName.split(' '));entry.target.classList.remove('uicore-animate-hide');observer.unobserve(entry.target)}})},{rootMargin:'10px',threshold:0});elementsToAnimate.forEach(element=>{observer.observe(element)})});const observerOffset=window.innerHeight*0.1;var pagetitle=document.querySelectorAll(".uicore-page-title");if(pagetitle.length){pagetitle[0].classList.add("ui-a-in-view")}
const updateProperties=(elem,state)=>{elem.style.setProperty('--x',state.x+'px');elem.style.setProperty('--y',state.y+'px');elem.style.setProperty('--width',state.width+'px');elem.style.setProperty('--height',state.height+'px');elem.style.setProperty('--scale',state.scale);elem.style.setProperty('mix-blend-mode',state.blend);elem.style.setProperty('--border',state.border);elem.style.setProperty('--bg',state.bg);elem.style.setProperty('opacity',state.hover)};document.querySelectorAll('.ui-cursor').forEach(cursor=>{const createState=e=>{const defaultState={x:e.clientX,y:e.clientY,width:'42',height:'42',blend:'unset',border:'var(--uicore-accent-color)',bg:'tarnsparent',hover:1,scale:1};const computedState={};if(window.ui_onElement){computedState.scale='';computedState.blend='difference';computedState.bg='tarnsparent';computedState.hover='1'}
return{...defaultState,...computedState}};if(!document.getElementsByClassName('e-preview--show-hidden-elements').length){document.addEventListener('mousemove',e=>{const state=createState(e);updateProperties(cursor,state)})}});document.querySelectorAll('a, input[type="submit"], input[type="image"], label[for], select, button, .link').forEach(el=>{el.addEventListener('mouseenter',()=>window.ui_onElement=!0)
el.addEventListener('mouseleave',()=>window.ui_onElement=!1)});window.addEventListener('DOMContentLoaded',()=>{document.querySelectorAll(' input[type="button"], input[type="submit"], [type="submit"], .wp-block-button__link,.uicore-mobile-menu-wrapper .uicore-cta-wrapper a,.uicore-left-menu .uicore-cta-wrapper a,.wc-block-components-button:not(.is-link), .elementor-button.elementor-button, .elementor-button:not(.bdt-offcanvas-button), .bdt-button-primary, .bdt-ep-button,button.metform-btn,button.metform-btn:not(.toggle), .bdt-callout a.bdt-callout-button, .tutor-button, .tutor-login-form-wrap input[type="submit"],.woocommerce #respond input#submit,.uicore-woo-page a.button:not(.add_to_cart_button):not(.product_type_grouped):not(.product_type_external):not(.product_type_simple):not(.wc-forward),.uicore-woo-page a.checkout-button.button.alt,.uicore-navbar a.uicore-btn, .bdt-contact-form .elementor-button,.uicore-woo-page a.button.wc-forward, .widget.woocommerce a.button, .woocommerce button.button, .woocommerce div.product form.cart .button, .woocommerce-cart-form .button, .woocommerce #respond input#submit.alt,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce button.button.alt.disabled,.woocommerce input.button.alt,.ui-attract').forEach(element=>{element.addEventListener('mouseenter',function(e){const animClass='elementor-animation-flip';if(!this.classList.contains(animClass)){const spansWithoutClass=Array.from(this.children).filter(child=>child.tagName==='SPAN'&&!child.getAttribute('class'));if(spansWithoutClass.length>0&&!spansWithoutClass.some(span=>span.querySelector('.elementor-button-text'))){spansWithoutClass.forEach(span=>span.classList.add('elementor-button-text'))}
if(this.children.length===0){const wrapper=document.createElement('span');wrapper.className='elementor-button-text';wrapper.innerHTML=this.innerHTML;this.innerHTML='';this.appendChild(wrapper)}
const btnContentElements=this.querySelectorAll('.elementor-button-text, .bdt-newsletter-btn-text, .bdt-scroll-button-text');btnContentElements.forEach(element=>{element.classList.add('elementor-button-text')});btnContentElements.forEach(element=>{const clone=element.cloneNode(!0);element.parentNode.insertBefore(clone,element.nextSibling)});const btnTextElements=this.querySelectorAll('.elementor-button-text');if(btnTextElements.length>0){const wrapper=document.createElement('span');wrapper.className='ui-btn-anim-wrapp';btnTextElements[0].parentNode.insertBefore(wrapper,btnTextElements[0]);btnTextElements.forEach(element=>{wrapper.appendChild(element)})}
setTimeout(()=>{this.classList.add(animClass)},30)}})})},!1);document.addEventListener("DOMContentLoaded",function(){let stickyListenersAdded=!1;window.uicore_add_quantity_input_buttons=()=>{document.querySelectorAll(".cart .quantity input:not([type='hidden'])").forEach(function(input){if(!input.previousElementSibling||!input.previousElementSibling.classList.contains("plus")){const plus=document.createElement("div");plus.className="plus";plus.textContent="+";input.parentNode.insertBefore(plus,input)}
if(!input.nextElementSibling||!input.nextElementSibling.classList.contains("minus")){const minus=document.createElement("div");minus.className="minus";minus.textContent="-";input.parentNode.insertBefore(minus,input.nextSibling)}})};window.uicore_quantity_input_listeners=(minus,plus)=>{document.querySelectorAll(`${plus}`).forEach(function(plusBtn){plusBtn.addEventListener("click",function(){const input=plusBtn.parentNode.querySelector("input:not([type='hidden'])");if(!input)return;let currentVal=parseFloat(input.value);const max=parseFloat(input.getAttribute("max"));const step=parseFloat(input.getAttribute("step"))||1;if(!isNaN(currentVal)){if(!isNaN(max)&&currentVal+step>max){input.value=max}else{input.value=(currentVal+step).toFixed(0)}}
if(isNaN(currentVal)){input.value="1"}
input.dispatchEvent(new Event("change",{bubbles:!0}))})});document.querySelectorAll(`${minus}`).forEach(function(minusBtn){minusBtn.addEventListener("click",function(){const input=minusBtn.parentNode.querySelector("input:not([type='hidden'])");if(!input)return;let currentVal=parseFloat(input.value);const min=parseFloat(input.getAttribute("min"))||0;const step=parseFloat(input.getAttribute("step"))||1;if(!isNaN(currentVal)&&currentVal>min){input.value=(currentVal-step).toFixed(0);input.dispatchEvent(new Event("change",{bubbles:!0}))}
if(isNaN(currentVal)){input.value="0";input.dispatchEvent(new Event("change",{bubbles:!0}))}})})}
window.uicore_add_quantity_input_buttons();window.uicore_quantity_input_listeners(".cart .minus",".cart .plus");document.addEventListener("scroll",function(){const stickyMinus=document.querySelector(".uicore-sticky-add-to-cart .minus");const stickyPlus=document.querySelector(".uicore-sticky-add-to-cart .plus");if(stickyMinus&&stickyPlus&&!stickyListenersAdded){window.uicore_quantity_input_listeners(".uicore-sticky-add-to-cart .minus",".uicore-sticky-add-to-cart .plus");stickyListenersAdded=!0}})});document.addEventListener('DOMContentLoaded',function(){document.querySelectorAll('.uicore-cart-icon.uicore-link').forEach(function(icon){icon.addEventListener('click',function(){var parent=icon.parentNode;if(parent&&parent.tagName&&parent.tagName.toLowerCase()==='a'){return}
document.body.classList.add('uicore-cart-active')})});var cartWrapper=document.getElementById('cart-wrapper');if(cartWrapper){cartWrapper.addEventListener('click',function(){document.body.classList.remove('uicore-cart-active')})}
var cartClose=document.getElementById('uicore-cart-close');if(cartClose){cartClose.addEventListener('click',function(){document.body.classList.remove('uicore-cart-active')})}
document.body.addEventListener('added_to_cart',function(e){if(document.getElementById('uicore-site-header-cart')){document.body.classList.add('uicore-cart-active')}else{var a=document.createElement('a');a.setAttribute('href',wc_add_to_cart_params.cart_url);a.textContent=wc_add_to_cart_params.i18n_view_cart;var div=document.createElement('div');div.className='uicore-added_to_cart';div.appendChild(a);document.body.appendChild(div);setTimeout(function(){var el=div;var opacity=1;var fade=setInterval(function(){if(opacity<=0.05){clearInterval(fade);if(el.parentNode)el.parentNode.removeChild(el);}else{opacity-=0.05;el.style.opacity=opacity}},25)},7000)}})});window.addEventListener('DOMContentLoaded',()=>{document.querySelectorAll('.uicore-sidebar-toggle').forEach(function(toggleBtn){toggleBtn.addEventListener('click',function(){const sidebar=document.querySelector('.uicore-sidebar');const sidebarTop=document.querySelector('.uicore-sidebar-top');const sidebarToggleTop=document.querySelector('.uicore-sidebar-toggle span.top');const sidebarToggleBottom=document.querySelector('.uicore-sidebar-toggle span.bottom');const textHide=document.querySelector('.text-wrap .hide');const textShow=document.querySelector('.text-wrap .show');const archive=document.querySelector('.uicore-archive');if(sidebar&&sidebar.classList.contains('sidebar-hidden')){if(sidebarTop){sidebar.style.transition='max-height 0.35s ease';sidebar.style.overflow='hidden';sidebar.style.maxHeight=sidebar.scrollHeight+'px';sidebar.classList.remove('sidebar-hidden')}else{sidebar.style.transition='width 0.3s ease';sidebar.style.width='25%';sidebar.classList.remove('sidebar-hidden')}
if(sidebarToggleTop)sidebarToggleTop.style.transform='translateX(8px)';if(sidebarToggleBottom)sidebarToggleBottom.style.transform='translateX(0)';if(textHide)textHide.style.display='block';if(textShow)textShow.style.display='none';if(archive)archive.style.width='100%';return}
if(sidebarTop){sidebar.style.transition='max-height 0.35s ease';sidebar.style.overflow='hidden';sidebar.style.maxHeight='0';setTimeout(()=>{sidebar.classList.add('sidebar-hidden')},100)}else{sidebar.style.transition='width 0.3s ease';sidebar.style.width='0';sidebar.classList.add('sidebar-hidden')}
if(sidebarToggleTop)sidebarToggleTop.style.transform='translateX(0)';if(sidebarToggleBottom)sidebarToggleBottom.style.transform='translateX(8px)';if(textHide)textHide.style.display='none';if(textShow)textShow.style.display='block';if(archive)archive.style.width='100%'})})});jQuery(document).ready(function($){$('.add_to_cart_button').on('click',function(e){var button=$(this);var form=button.closest('form.cart');if(!form.length){return}
e.preventDefault();e.stopImmediatePropagation();button.removeClass('added');button.addClass('loading');var product_id=button.data('product_id');const variation_input=form.find('input[name="variation_id"]');if(variation_input.length){product_id=variation_input.val()}
var quantity=form.find('input[name="quantity"]').val()||1;var variation={};form.find('.variations select').each(function(){var attribute_name=$(this).attr('name');var attribute_value=$(this).val();if(attribute_value.length>0){variation[attribute_name]=attribute_value}});var data={action:'uicore_ajax_add_to_cart',product_id:product_id,quantity:quantity,variation:variation};$.ajax({url:wc_add_to_cart_params.ajax_url,type:'POST',data:data,success:function(response){if(!response.error){$(document.body).trigger('added_to_cart',[response.fragments,response.cart_hash,button]);document.body.dispatchEvent(new CustomEvent('added_to_cart'))}else{const error=response.error_messages[0];const clean_error=error.split('<a')[0];const error_message=clean_error?error.notice:'There was an error adding the product to the cart.';alert(error_message)}},error:function(){alert('There was a problem adding the product to the cart.')}})})});