var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opens = _____WB$wombat$assign$function_____("opens"); var Ff=Object.defineProperty,Bf=Object.defineProperties;var Nf=Object.getOwnPropertyDescriptors;var Sc=Object.getOwnPropertySymbols;var Gf=Object.prototype.hasOwnProperty,Yf=Object.prototype.propertyIsEnumerable;var No=(Ke,oe,Ye)=>oe in Ke?Ff(Ke,oe,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Ke[oe]=Ye,un=(Ke,oe)=>{for(var Ye in oe||(oe={}))Gf.call(oe,Ye)&&No(Ke,Ye,oe[Ye]);if(Sc)for(var Ye of Sc(oe))Yf.call(oe,Ye)&&No(Ke,Ye,oe[Ye]);return Ke},Go=(Ke,oe)=>Bf(Ke,Nf(oe));var I=(Ke,oe,Ye)=>(No(Ke,typeof oe!="symbol"?oe+"":oe,Ye),Ye);var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`.announcement-bar:hover .announcement-label{color:var(--black)}.hero-p{text-wrap:balance}.nav.is-on-white .nav-link:hover{color:var(--purple)}.nav.is-on-white .is-button{border-style:solid;border-color:var(--purple)}.nav.is-on-white .is-button:hover{color:var(--white);background-color:var(--purple)}.testimonial,.testimonials_heading{opacity:.5;transition:opacity .5s ease}.testimonial .testimonials_heading{opacity:0}.testimonial.swiper-slide-active,.testimonial.swiper-slide-active .testimonials_heading{opacity:1}.swiper.testimonials-control{overflow:visible;display:flex;justify-content:center;width:fit-content}.testimonials-control .swiper-wrapper{display:flex;justify-content:center;align-items:center;gap:16px;width:auto!important;transform:none!important}.testimonials-control .swiper-slide{width:auto;flex-shrink:0;cursor:pointer;opacity:.5;transition:opacity .3s ease;display:flex;align-items:center;justify-content:center}.testimonials-control .is-active,.testimonials-control .is-active path{opacity:1;fill-opacity:1;color:var(--black)}.slide-control{width:10rem;display:flex;align-items:center;justify-content:center}.swiper,.hero-animation.swiper,.hero-animation-2.swiper{width:100%;height:100%}.hero-animation .swiper-wrapper,.hero-animation-2 .swiper-wrapper{transition-timing-function:ease-in-out}.swiper-wrapper{align-items:center}.mail-form_input{height:2.813rem!important}.hero-animation .swiper-slide,.hero-animation-2 .swiper-slide{opacity:0}.hero-animation .swiper-slide-prev,.hero-animation .swiper-slide-next,.hero-animation .swiper-slide-active,.hero-animation-2 .swiper-slide-prev,.hero-animation-2 .swiper-slide-next,.hero-animation-2 .swiper-slide-active{opacity:1}.swiper-slide.is-widget-text{display:flex;align-items:center;justify-content:flex-start}.marquee-animation{height:100%;overflow:hidden;position:relative}.marquee-animation-row{display:flex;animation:marqueeTop 16s linear infinite}.marquee-animation-row.pause-scroll{animation-play-state:paused!important}.marquee-animation.is-2 .marquee-animation-row{animation:marqueeBottom 16s linear infinite}.is-marquee-slide{transition:all .5s ease}.is-marquee-slide.is-active{border:1px solid var(--white)}.swiper-video{opacity:1;transition:none}.swiper-video.ready{transition:opacity .3s ease-in}.widget-visual,.widget-text{transition:opacity .5s ease}@keyframes marqueeTop{0%{-webkit-transform:translate3d(0,-50%,0);transform:translateY(-50%)}to{-webkit-transform:translate3d(0,-0%,0);transform:translateY(0)}}@keyframes marqueeBottom{0%{-webkit-transform:translate3d(0,0%,0);transform:translateY(0)}to{-webkit-transform:translate3d(0,-50%,0);transform:translateY(-50%)}}@media screen and (max-width: 991px){.marquee-animation-row{width:fit-content}@keyframes marqueeTop{0%{-webkit-transform:translate3d(-50%,0,0);transform:translate(-50%)}to{-webkit-transform:translate3d(0,0,0);transform:translate(0)}}@keyframes marqueeBottom{0%{-webkit-transform:translate3d(0,0%,0);transform:translateY(0)}to{-webkit-transform:translate3d(-50%,0,0);transform:translate(-50%)}}.hero-content{flex-direction:column}.animation-wrapper{width:100%;height:100%}.hero-animation.swiper{padding-left:10.5em;order:2}.hero-animation-2.swiper{padding-right:10.5em;order:1}.hero-content_left,.hero-content_right{width:100%;position:relative}.animation-row.swiper-wrapper{flex-direction:row!important}.coin-block{height:100%;width:100%;display:flex;align-items:center;justify-content:center}.slider-overlay{background-image:linear-gradient(-90deg,var(--purple),var(--purple) 27%,#fff0 103%);width:20%;height:100%;right:auto;left:0;position:absolute}.slider-overlay.is-bottom{background-image:linear-gradient(90deg,var(--purple),var(--purple) 27%,#fff0 103%);width:20%;height:100%;right:0;left:auto}.hero-animation.swiper-slide,.hero-animation-2.swiper-slide{opacity:1}}@media screen and (max-width: 767px){.hero-animation.swiper,.hero-animation-2.swiper{padding:0 16px}.hero-animation.swiper{padding-left:3em;order:2}.hero-animation-2.swiper{padding-right:3em;order:1}}@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translate(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}} `;document.head.appendChild(__vite_style__);(function(Ke){typeof define=="function"&&define.amd?define(Ke):Ke()})(function(){"use strict";var Ke="";function oe(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function Ye(s,e){s.prototype=Object.create(e.prototype),s.prototype.constructor=s,s.__proto__=e}/*! * GSAP 3.13.0 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var wt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},cr={duration:.5,overwrite:!1,delay:0},dn,Ie,le,Lt=1e8,ie=1/Lt,fn=Math.PI*2,xc=fn/4,bc=0,Yo=Math.sqrt,Tc=Math.cos,Ac=Math.sin,ke=function(e){return typeof e=="string"},he=function(e){return typeof e=="function"},si=function(e){return typeof e=="number"},hn=function(e){return typeof e=="undefined"},Ut=function(e){return typeof e=="object"},ut=function(e){return e!==!1},pn=function(){return typeof window!="undefined"},ms=function(e){return he(e)||ke(e)},Vo=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ve=Array.isArray,mn=/(?:-?\.?\d|\.)+/gi,Wo=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ur=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,gn=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,qo=/[+-]=-?[.\d]+/,Ho=/[^,'"\[\]\s]+/gi,Ec=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ue,jt,_n,wn,vt={},gs={},Xo,$o=function(e){return(gs=fr(e,vt))&&ht},vn=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Dr=function(e,t){return!t&&console.warn(e)},Uo=function(e,t){return e&&(vt[e]=t)&&gs&&(gs[e]=t)||vt},zr=function(){return 0},Pc={suppressEvents:!0,isStart:!0,kill:!1},_s={suppressEvents:!0,kill:!1},Mc={suppressEvents:!0},yn={},gi=[],Sn={},jo,yt={},xn={},Qo=30,ws=[],bn="",Tn=function(e){var t=e[0],i,r;if(Ut(t)||he(t)||(e=[e]),!(i=(t._gsap||{}).harness)){for(r=ws.length;r--&&!ws[r].targetTest(t););i=ws[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new Aa(e[r],i)))||e.splice(r,1);return e},Fi=function(e){return e._gsap||Tn(zt(e))[0]._gsap},Zo=function(e,t,i){return(i=e[t])&&he(i)?e[t]():hn(i)&&e.getAttribute&&e.getAttribute(t)||i},dt=function(e,t){return(e=e.split(",")).forEach(t)||e},_e=function(e){return Math.round(e*1e5)/1e5||0},xe=function(e){return Math.round(e*1e7)/1e7||0},dr=function(e,t){var i=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),i==="+"?e+r:i==="-"?e-r:i==="*"?e*r:e/r},Cc=function(e,t){for(var i=t.length,r=0;e.indexOf(t[r])<0&&++ra;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[i],e[i]=t),t._next?t._next._prev=t:e[r]=t,t._prev=o,t.parent=t._dp=e,t},Ss=function(e,t,i,r){i===void 0&&(i="_first"),r===void 0&&(r="_last");var n=t._prev,o=t._next;n?n._next=o:e[i]===t&&(e[i]=o),o?o._prev=n:e[r]===t&&(e[r]=n),t._next=t._prev=t.parent=null},_i=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Bi=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var i=e;i;)i._dirty=1,i=i.parent;return e},Lc=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},En=function(e,t,i,r){return e._startAt&&(Ie?e._startAt.revert(_s):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},Dc=function s(e){return!e||e._ts&&s(e.parent)},ra=function(e){return e._repeat?hr(e._tTime,e=e.duration()+e._rDelay)*e:0},hr=function(e,t){var i=Math.floor(e=xe(e/t));return e&&i===e?i-1:i},xs=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},bs=function(e){return e._end=xe(e._start+(e._tDur/Math.abs(e._ts||e._rts||ie)||0))},Ts=function(e,t){var i=e._dp;return i&&i.smoothChildTiming&&e._ts&&(e._start=xe(i._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),bs(e),i._dirty||Bi(i,e)),e},sa=function(e,t){var i;if((t._time||!t._dur&&t._initted||t._startie)&&t.render(i,!0)),Bi(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&i.totalTime(i._tTime),i=i._dp;e._zTime=-ie}},Qt=function(e,t,i,r){return t.parent&&_i(t),t._start=xe((si(i)?i:i||e!==ue?Dt(e,i,t):e._time)+t._delay),t._end=xe(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),ia(e,t,"_first","_last",e._sort?"_start":0),Pn(t)||(e._recent=t),r||sa(e,t),e._ts<0&&Ts(e,e._tTime),e},na=function(e,t){return(vt.ScrollTrigger||vn("scrollTrigger",t))&&vt.ScrollTrigger.create(t,e)},oa=function(e,t,i,r,n){if(Rn(e,t,n),!e._initted)return 1;if(!i&&e._pt&&!Ie&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&jo!==bt.frame)return gi.push(e),e._lazy=[n,r],1},zc=function s(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||s(t))},Pn=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Ic=function(e,t,i,r){var n=e.ratio,o=t<0||!t&&(!e._start&&zc(e)&&!(!e._initted&&Pn(e))||(e._ts<0||e._dp._ts<0)&&!Pn(e))?0:1,a=e._rDelay,l=0,c,u,d;if(a&&e._repeat&&(l=Fr(0,e._tDur,t),u=hr(l,a),e._yoyo&&u&1&&(o=1-o),u!==hr(e._tTime,a)&&(n=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==n||Ie||r||e._zTime===ie||!t&&e._zTime){if(!e._initted&&oa(e,t,r,i,l))return;for(d=e._zTime,e._zTime=t||(i?ie:0),i||(i=t&&!d),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,c=e._pt;c;)c.r(o,c.d),c=c._next;t<0&&En(e,t,i,!0),e._onUpdate&&!i&&xt(e,"onUpdate"),l&&e._repeat&&!i&&e.parent&&xt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&_i(e,1),!i&&!Ie&&(xt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},Rc=function(e,t,i){var r;if(i>t)for(r=e._first;r&&r._start<=i;){if(r.data==="isPause"&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=i;){if(r.data==="isPause"&&r._start0&&!r&&Ts(e,e._tTime=e._tDur*a),e.parent&&bs(e),i||Bi(e.parent,e),e},aa=function(e){return e instanceof Je?Bi(e):pr(e,e._dur)},Fc={_start:0,endTime:zr,totalDuration:zr},Dt=function s(e,t,i){var r=e.labels,n=e._recent||Fc,o=e.duration()>=Lt?n.endTime(!1):e._dur,a,l,c;return ke(t)&&(isNaN(t)||t in r)?(l=t.charAt(0),c=t.substr(-1)==="%",a=t.indexOf("="),l==="<"||l===">"?(a>=0&&(t=t.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(a<0?n:i).totalDuration()/100:1)):a<0?(t in r||(r[t]=o),r[t]):(l=parseFloat(t.charAt(a-1)+t.substr(a+1)),c&&i&&(l=l/100*(Ve(i)?i[0]:i).totalDuration()),a>1?s(e,t.substr(0,a-1),i)+l:o+l)):t==null?o:+t},Rr=function(e,t,i){var r=si(t[1]),n=(r?2:1)+(e<2?0:1),o=t[n],a,l;if(r&&(o.duration=t[1]),o.parent=i,e){for(a=o,l=i;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=ut(l.vars.inherit)&&l.parent;o.immediateRender=ut(a.immediateRender),e<2?o.runBackwards=1:o.startAt=t[n-1]}return new be(t[0],o,t[n+1])},wi=function(e,t){return e||e===0?t(e):t},Fr=function(e,t,i){return it?t:i},We=function(e,t){return!ke(e)||!(t=Ec.exec(e))?"":t[1]},Bc=function(e,t,i){return wi(i,function(r){return Fr(e,t,r)})},Mn=[].slice,la=function(e,t){return e&&Ut(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Ut(e[0]))&&!e.nodeType&&e!==jt},Nc=function(e,t,i){return i===void 0&&(i=[]),e.forEach(function(r){var n;return ke(r)&&!t||la(r,1)?(n=i).push.apply(n,zt(r)):i.push(r)})||i},zt=function(e,t,i){return le&&!t&&le.selector?le.selector(e):ke(e)&&!i&&(_n||!gr())?Mn.call((t||wn).querySelectorAll(e),0):Ve(e)?Nc(e,i):la(e)?Mn.call(e,0):e?[e]:[]},Cn=function(e){return e=zt(e)[0]||Dr("Invalid scope")||{},function(t){var i=e.current||e.nativeElement||e;return zt(t,i.querySelectorAll?i:i===e?Dr("Invalid scope")||wn.createElement("div"):e)}},ca=function(e){return e.sort(function(){return .5-Math.random()})},ua=function(e){if(he(e))return e;var t=Ut(e)?e:{each:e},i=Ni(t.ease),r=t.from||0,n=parseFloat(t.base)||0,o={},a=r>0&&r<1,l=isNaN(r)||a,c=t.axis,u=r,d=r;return ke(r)?u=d={center:.5,edges:.5,end:1}[r]||0:!a&&l&&(u=r[0],d=r[1]),function(h,f,m){var p=(m||t).length,g=o[p],_,w,y,v,x,A,b,P,M;if(!g){if(M=t.grid==="auto"?0:(t.grid||[1,Lt])[1],!M){for(b=-Lt;b<(b=m[M++].getBoundingClientRect().left)&&Mb&&(b=x),xp?p-1:c?c==="y"?p/M:M:Math.max(M,p/M))||0)*(r==="edges"?-1:1),g.b=p<0?n-p:n,g.u=We(t.amount||t.each)||0,i=i&&p<0?xa(i):i}return p=(g[h]-g.min)/g.max||0,xe(g.b+(i?i(p):p)*g.v)+g.u}},kn=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(i){var r=xe(Math.round(parseFloat(i)/e)*e*t);return(r-r%1)/t+(si(i)?0:We(i))}},da=function(e,t){var i=Ve(e),r,n;return!i&&Ut(e)&&(r=i=e.radius||Lt,e.values?(e=zt(e.values),(n=!si(e[0]))&&(r*=r)):e=kn(e.increment)),wi(t,i?he(e)?function(o){return n=e(o),Math.abs(n-o)<=r?n:o}:function(o){for(var a=parseFloat(n?o.x:o),l=parseFloat(n?o.y:0),c=Lt,u=0,d=e.length,h,f;d--;)n?(h=e[d].x-a,f=e[d].y-l,h=h*h+f*f):h=Math.abs(e[d]-a),hr?n-o:o)})},Br=function(e){for(var t=0,i="",r,n,o,a;~(r=e.indexOf("random(",t));)o=e.indexOf(")",r),a=e.charAt(r+7)==="[",n=e.substr(r+7,o-r-7).match(a?Ho:mn),i+=e.substr(t,r-t)+fa(a?n:+n[0],a?0:+n[1],+n[2]||1e-5),t=o+1;return i+e.substr(t,e.length-t)},pa=function(e,t,i,r,n){var o=t-e,a=r-i;return wi(n,function(l){return i+((l-e)/o*a||0)})},Hc=function s(e,t,i,r){var n=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!n){var o=ke(e),a={},l,c,u,d,h;if(i===!0&&(r=1)&&(i=null),o)e={p:e},t={p:t};else if(Ve(e)&&!Ve(t)){for(u=[],d=e.length,h=d-2,c=1;c(a=Math.abs(a))&&(l=o,n=a);return l},xt=function(e,t,i){var r=e.vars,n=r[t],o=le,a=e._ctx,l,c,u;if(!!n)return l=r[t+"Params"],c=r.callbackScope||e,i&&gi.length&&vs(),a&&(le=a),u=l?n.apply(c,l):n.call(c),le=o,u},Nr=function(e){return _i(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ie),e.progress()<1&&xt(e,"onInterrupt"),e},mr,ga=[],_a=function(e){if(!!e)if(e=!e.name&&e.default||e,pn()||e.headless){var t=e.name,i=he(e),r=t&&!i&&e.init?function(){this._props=[]}:e,n={init:zr,render:Nn,add:zn,kill:au,modifier:ou,rawVars:0},o={targetTest:0,get:0,getSetter:Bn,aliases:{},register:0};if(gr(),e!==r){if(yt[t])return;St(r,St(ys(e,n),o)),fr(r.prototype,fr(n,ys(e,o))),yt[r.prop=t]=r,e.targetTest&&(ws.push(r),yn[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Uo(t,r),e.register&&e.register(ht,r,ft)}else ga.push(e)},re=255,Gr={aqua:[0,re,re],lime:[0,re,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,re],navy:[0,0,128],white:[re,re,re],olive:[128,128,0],yellow:[re,re,0],orange:[re,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[re,0,0],pink:[re,192,203],cyan:[0,re,re],transparent:[re,re,re,0]},On=function(e,t,i){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(i-t)*e*6:e<.5?i:e*3<2?t+(i-t)*(2/3-e)*6:t)*re+.5|0},wa=function(e,t,i){var r=e?si(e)?[e>>16,e>>8&re,e&re]:0:Gr.black,n,o,a,l,c,u,d,h,f,m;if(!r){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Gr[e])r=Gr[e];else if(e.charAt(0)==="#"){if(e.length<6&&(n=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+n+n+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&re,r&re,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&re,e&re]}else if(e.substr(0,3)==="hsl"){if(r=m=e.match(mn),!t)l=+r[0]%360/360,c=+r[1]/100,u=+r[2]/100,o=u<=.5?u*(c+1):u+c-u*c,n=u*2-o,r.length>3&&(r[3]*=1),r[0]=On(l+1/3,n,o),r[1]=On(l,n,o),r[2]=On(l-1/3,n,o);else if(~e.indexOf("="))return r=e.match(Wo),i&&r.length<4&&(r[3]=1),r}else r=e.match(mn)||Gr.transparent;r=r.map(Number)}return t&&!m&&(n=r[0]/re,o=r[1]/re,a=r[2]/re,d=Math.max(n,o,a),h=Math.min(n,o,a),u=(d+h)/2,d===h?l=c=0:(f=d-h,c=u>.5?f/(2-d-h):f/(d+h),l=d===n?(o-a)/f+(oe||_<0)&&(i+=_-t),r+=_,x=r-i,y=x-o,(y>0||w)&&(A=++d.frame,h=x-d.time*1e3,d.time=x=x/1e3,o+=y+(y>=n?4:n-y),v=1),w||(l=c(p)),v)for(f=0;f=_&&f--},_listeners:a},d}(),gr=function(){return!Yr&&bt.wake()},Q={},$c=/^[\d.\-M][\d.\-,\s]/,Uc=/["']/g,jc=function(e){for(var t={},i=e.substr(1,e.length-3).split(":"),r=i[0],n=1,o=i.length,a,l,c;n1&&i.config?i.config.apply(null,~e.indexOf("{")?[jc(t[1])]:Qc(e).split(",").map(Jo)):Q._CE&&$c.test(e)?Q._CE("",e):i},xa=function(e){return function(t){return 1-e(1-t)}},ba=function s(e,t){for(var i=e._first,r;i;)i instanceof Je?s(i,t):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==t&&(i.timeline?s(i.timeline,t):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=t)),i=i._next},Ni=function(e,t){return e&&(he(e)?e:Q[e]||Zc(e))||t},Gi=function(e,t,i,r){i===void 0&&(i=function(l){return 1-t(1-l)}),r===void 0&&(r=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var n={easeIn:t,easeOut:i,easeInOut:r},o;return dt(e,function(a){Q[a]=vt[a]=n,Q[o=a.toLowerCase()]=i;for(var l in n)Q[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=Q[a+"."+l]=n[l]}),n},Ta=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Ln=function s(e,t,i){var r=t>=1?t:1,n=(i||(e?.3:.45))/(t<1?t:1),o=n/fn*(Math.asin(1/r)||0),a=function(u){return u===1?1:r*Math.pow(2,-10*u)*Ac((u-o)*n)+1},l=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:Ta(a);return n=fn/n,l.config=function(c,u){return s(e,c,u)},l},Dn=function s(e,t){t===void 0&&(t=1.70158);var i=function(o){return o?--o*o*((t+1)*o+t)+1:0},r=e==="out"?i:e==="in"?function(n){return 1-i(1-n)}:Ta(i);return r.config=function(n){return s(e,n)},r};dt("Linear,Quad,Cubic,Quart,Quint,Strong",function(s,e){var t=e<5?e+1:e;Gi(s+",Power"+(t-1),e?function(i){return Math.pow(i,t)}:function(i){return i},function(i){return 1-Math.pow(1-i,t)},function(i){return i<.5?Math.pow(i*2,t)/2:1-Math.pow((1-i)*2,t)/2})}),Q.Linear.easeNone=Q.none=Q.Linear.easeIn,Gi("Elastic",Ln("in"),Ln("out"),Ln()),function(s,e){var t=1/e,i=2*t,r=2.5*t,n=function(a){return a0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},e.totalDuration=function(i){return arguments.length?(this._dirty=0,pr(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(i,r){if(gr(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Ts(this,i),!n._dp||n.parent||sa(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i0||!this._tDur&&!i)&&Qt(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===ie||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Ko(this,i,r)),this},e.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+ra(this))%(this._dur+this._rDelay)||(i?this._dur:0),r):this._time},e.totalProgress=function(i,r){return arguments.length?this.totalTime(this.totalDuration()*i,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(i,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+ra(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(i,r){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*n,r):this._repeat?hr(this._tTime,n)+1:1},e.timeScale=function(i,r){if(!arguments.length)return this._rts===-ie?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?xs(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-ie?0:this._rts,this.totalTime(Fr(-Math.abs(this._delay),this.totalDuration(),n),r!==!1),bs(this),Lc(this)},e.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(gr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ie&&(this._tTime-=ie)))),this):this._ps},e.startTime=function(i){if(arguments.length){this._start=i;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&Qt(r,this,i-this._delay),this}return this._start},e.endTime=function(i){return this._start+(ut(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(i){var r=this.parent||this._dp;return r?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?xs(r.rawTime(i),this):this._tTime:this._tTime},e.revert=function(i){i===void 0&&(i=Mc);var r=Ie;return Ie=i,An(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),Ie=r,this},e.globalTime=function(i){for(var r=this,n=arguments.length?i:r.rawTime();r;)n=r._start+n/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(i):n},e.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,aa(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,aa(this),r?this.time(r):this}return this._rDelay},e.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},e.seek=function(i,r){return this.totalTime(Dt(this,i),ut(r))},e.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,ut(r)),this._dur||(this._zTime=-ie),this},e.play=function(i,r){return i!=null&&this.seek(i,r),this.reversed(!1).paused(!1)},e.reverse=function(i,r){return i!=null&&this.seek(i||this.totalDuration(),r),this.reversed(!0).paused(!1)},e.pause=function(i,r){return i!=null&&this.seek(i,r),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-ie:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ie,this},e.isActive=function(){var i=this.parent||this._dp,r=this._start,n;return!!(!i||this._ts&&this._initted&&i.isActive()&&(n=i.rawTime(!0))>=r&&n1?(r?(o[i]=r,n&&(o[i+"Params"]=n),i==="onUpdate"&&(this._onUpdate=r)):delete o[i],this):o[i]},e.then=function(i){var r=this;return new Promise(function(n){var o=he(i)?i:ea,a=function(){var c=r.then;r.then=null,he(o)&&(o=o(r))&&(o.then||o===r)&&(r.then=c),n(o),r.then=c};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?a():r._prom=a})},e.kill=function(){Nr(this)},s}();St(Vr.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-ie,_prom:0,_ps:!1,_rts:1});var Je=function(s){Ye(e,s);function e(i,r){var n;return i===void 0&&(i={}),n=s.call(this,i)||this,n.labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=ut(i.sortChildren),ue&&Qt(i.parent||ue,oe(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&na(oe(n),i.scrollTrigger),n}var t=e.prototype;return t.to=function(r,n,o){return Rr(0,arguments,this),this},t.from=function(r,n,o){return Rr(1,arguments,this),this},t.fromTo=function(r,n,o,a){return Rr(2,arguments,this),this},t.set=function(r,n,o){return n.duration=0,n.parent=this,Ir(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new be(r,n,Dt(this,o),1),this},t.call=function(r,n,o){return Qt(this,be.delayedCall(0,r,n),o)},t.staggerTo=function(r,n,o,a,l,c,u){return o.duration=n,o.stagger=o.stagger||a,o.onComplete=c,o.onCompleteParams=u,o.parent=this,new be(r,o,Dt(this,l)),this},t.staggerFrom=function(r,n,o,a,l,c,u){return o.runBackwards=1,Ir(o).immediateRender=ut(o.immediateRender),this.staggerTo(r,n,o,a,l,c,u)},t.staggerFromTo=function(r,n,o,a,l,c,u,d){return a.startAt=o,Ir(a).immediateRender=ut(a.immediateRender),this.staggerTo(r,n,a,l,c,u,d)},t.render=function(r,n,o){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=r<=0?0:xe(r),d=this._zTime<0!=r<0&&(this._initted||!c),h,f,m,p,g,_,w,y,v,x,A,b;if(this!==ue&&u>l&&r>=0&&(u=l),u!==this._tTime||o||d){if(a!==this._time&&c&&(u+=this._time-a,r+=this._time-a),h=u,v=this._start,y=this._ts,_=!y,d&&(c||(a=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(A=this._yoyo,g=c+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(g*100+r,n,o);if(h=xe(u%g),u===l?(p=this._repeat,h=c):(x=xe(u/g),p=~~x,p&&p===x&&(h=c,p--),h>c&&(h=c)),x=hr(this._tTime,g),!a&&this._tTime&&x!==p&&this._tTime-x*g-this._dur<=0&&(x=p),A&&p&1&&(h=c-h,b=1),p!==x&&!this._lock){var P=A&&x&1,M=P===(A&&p&1);if(p=a&&r>=0)for(f=this._first;f;){if(m=f._next,(f._act||h>=f._start)&&f._ts&&w!==f){if(f.parent!==this)return this.render(r,n,o);if(f.render(f._ts>0?(h-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(h-f._start)*f._ts,n,o),h!==this._time||!this._ts&&!_){w=0,m&&(u+=this._zTime=-ie);break}}f=m}else{f=this._last;for(var T=r<0?r:h;f;){if(m=f._prev,(f._act||T<=f._end)&&f._ts&&w!==f){if(f.parent!==this)return this.render(r,n,o);if(f.render(f._ts>0?(T-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(T-f._start)*f._ts,n,o||Ie&&An(f)),h!==this._time||!this._ts&&!_){w=0,m&&(u+=this._zTime=T?-ie:ie);break}}f=m}}if(w&&!n&&(this.pause(),w.render(h>=a?0:-ie)._zTime=h>=a?1:-1,this._ts))return this._start=v,bs(this),this.render(r,n,o);this._onUpdate&&!n&&xt(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(v===this._start||Math.abs(y)!==Math.abs(this._ts))&&(this._lock||((r||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&_i(this,1),!n&&!(r<0&&!a)&&(u||a||!l)&&(xt(this,u===l&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u0)&&this._prom())))}return this},t.add=function(r,n){var o=this;if(si(n)||(n=Dt(this,n,r)),!(r instanceof Vr)){if(Ve(r))return r.forEach(function(a){return o.add(a,n)}),this;if(ke(r))return this.addLabel(r,n);if(he(r))r=be.delayedCall(0,r);else return this}return this!==r?Qt(this,r,n):this},t.getChildren=function(r,n,o,a){r===void 0&&(r=!0),n===void 0&&(n=!0),o===void 0&&(o=!0),a===void 0&&(a=-Lt);for(var l=[],c=this._first;c;)c._start>=a&&(c instanceof be?n&&l.push(c):(o&&l.push(c),r&&l.push.apply(l,c.getChildren(!0,n,o)))),c=c._next;return l},t.getById=function(r){for(var n=this.getChildren(1,1,1),o=n.length;o--;)if(n[o].vars.id===r)return n[o]},t.remove=function(r){return ke(r)?this.removeLabel(r):he(r)?this.killTweensOf(r):(r.parent===this&&Ss(this,r),r===this._recent&&(this._recent=this._last),Bi(this))},t.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=xe(bt.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),s.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},t.addLabel=function(r,n){return this.labels[r]=Dt(this,n),this},t.removeLabel=function(r){return delete this.labels[r],this},t.addPause=function(r,n,o){var a=be.delayedCall(0,n||zr,o);return a.data="isPause",this._hasPause=1,Qt(this,a,Dt(this,r))},t.removePause=function(r){var n=this._first;for(r=Dt(this,r);n;)n._start===r&&n.data==="isPause"&&_i(n),n=n._next},t.killTweensOf=function(r,n,o){for(var a=this.getTweensOf(r,o),l=a.length;l--;)yi!==a[l]&&a[l].kill(r,n);return this},t.getTweensOf=function(r,n){for(var o=[],a=zt(r),l=this._first,c=si(n),u;l;)l instanceof be?Cc(l._targets,a)&&(c?(!yi||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&o.push(l):(u=l.getTweensOf(a,n)).length&&o.push.apply(o,u),l=l._next;return o},t.tweenTo=function(r,n){n=n||{};var o=this,a=Dt(o,r),l=n,c=l.startAt,u=l.onStart,d=l.onStartParams,h=l.immediateRender,f,m=be.to(o,St({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale())||ie,onStart:function(){if(o.pause(),!f){var g=n.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale());m._dur!==g&&pr(m,g,0,1).render(m._time,!0,!0),f=1}u&&u.apply(m,d||[])}},n));return h?m.render(0):m},t.tweenFromTo=function(r,n,o){return this.tweenTo(n,St({startAt:{time:Dt(this,r)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(r){return r===void 0&&(r=this._time),ma(this,Dt(this,r))},t.previousLabel=function(r){return r===void 0&&(r=this._time),ma(this,Dt(this,r),1)},t.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+ie)},t.shiftChildren=function(r,n,o){o===void 0&&(o=0);for(var a=this._first,l=this.labels,c;a;)a._start>=o&&(a._start+=r,a._end+=r),a=a._next;if(n)for(c in l)l[c]>=o&&(l[c]+=r);return Bi(this)},t.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return s.prototype.invalidate.call(this,r)},t.clear=function(r){r===void 0&&(r=!0);for(var n=this._first,o;n;)o=n._next,this.remove(n),n=o;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),Bi(this)},t.totalDuration=function(r){var n=0,o=this,a=o._last,l=Lt,c,u,d;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-r:r));if(o._dirty){for(d=o.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,Qt(o,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(n-=u,(!d&&!o._dp||d&&d.smoothChildTiming)&&(o._start+=u/o._ts,o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),l=0),a._end>n&&a._ts&&(n=a._end),a=c;pr(o,o===ue&&o._time>n?o._time:n,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(r){if(ue._ts&&(Ko(ue,xs(r,ue)),jo=bt.frame),bt.frame>=Qo){Qo+=wt.autoSleep||120;var n=ue._first;if((!n||!n._ts)&&wt.autoSleep&&bt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||bt.sleep()}}},e}(Vr);St(Je.prototype,{_lock:0,_hasPause:0,_forcing:0});var Kc=function(e,t,i,r,n,o,a){var l=new ft(this._pt,e,t,0,1,Oa,null,n),c=0,u=0,d,h,f,m,p,g,_,w;for(l.b=i,l.e=r,i+="",r+="",(_=~r.indexOf("random("))&&(r=Br(r)),o&&(w=[i,r],o(w,e,t),i=w[0],r=w[1]),h=i.match(gn)||[];d=gn.exec(r);)m=d[0],p=r.substring(c,d.index),f?f=(f+1)%5:p.substr(-5)==="rgba("&&(f=1),m!==h[u++]&&(g=parseFloat(h[u-1])||0,l._pt={_next:l._pt,p:p||u===1?p:",",s:g,c:m.charAt(1)==="="?dr(g,m)-g:parseFloat(m)-g,m:f&&f<4?Math.round:0},c=gn.lastIndex);return l.c=c")}),v.duration();else{A={};for(P in m)P==="ease"||P==="easeEach"||iu(P,m[P],A,m.easeEach);for(P in A)for(R=A[P].sort(function(L,z){return L.t-z.t}),C=0,x=0;xl-ie&&!u?l:rc&&(h=c)),_=this._yoyo&&m&1,_&&(v=this._yEase,h=c-h),g=hr(this._tTime,p),h===a&&!o&&this._initted&&m===g)return this._tTime=d,this;m!==g&&(y&&this._yEase&&ba(y,_),this.vars.repeatRefresh&&!_&&!this._lock&&h!==p&&this._initted&&(this._lock=o=1,this.render(xe(p*m),!0).invalidate()._lock=0))}if(!this._initted){if(oa(this,u?r:h,o,n,d))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&m!==g))return this;if(c!==this._dur)return this.render(r,n,o)}if(this._tTime=d,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(v||this._ease)(h/c),this._from&&(this.ratio=w=1-w),!a&&d&&!n&&!g&&(xt(this,"onStart"),this._tTime!==d))return this;for(f=this._pt;f;)f.r(w,f.d),f=f._next;y&&y.render(r<0?r:y._dur*y._ease(h/this._dur),n,o)||this._startAt&&(this._zTime=r),this._onUpdate&&!n&&(u&&En(this,r,n,o),xt(this,"onUpdate")),this._repeat&&m!==g&&this.vars.onRepeat&&!n&&this.parent&&xt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(u&&!this._onUpdate&&En(this,r,!0,!0),(r||!c)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&_i(this,1),!n&&!(u&&!a)&&(d||a||_)&&(xt(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),s.prototype.invalidate.call(this,r)},t.resetTo=function(r,n,o,a,l){Yr||bt.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Rn(this,c),u=this._ease(c/this._dur),eu(this,r,n,o,a,u,c,l)?this.resetTo(r,n,o,a,1):(Ts(this,0),this.parent||ia(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(r,n){if(n===void 0&&(n="all"),!r&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?Nr(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Ie),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,yi&&yi.vars.overwrite!==!0)._first||Nr(this),this.parent&&o!==this.timeline.totalDuration()&&pr(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,l=r?zt(r):a,c=this._ptLookup,u=this._pt,d,h,f,m,p,g,_;if((!n||n==="all")&&Oc(a,l))return n==="all"&&(this._pt=0),Nr(this);for(d=this._op=this._op||[],n!=="all"&&(ke(n)&&(p={},dt(n,function(w){return p[w]=1}),n=p),n=tu(a,n)),_=a.length;_--;)if(~l.indexOf(a[_])){h=c[_],n==="all"?(d[_]=n,m=h,f={}):(f=d[_]=d[_]||{},m=n);for(p in m)g=h&&h[p],g&&((!("kill"in g.d)||g.d.kill(p)===!0)&&Ss(this,g,"_pt"),delete h[p]),f!=="all"&&(f[p]=1)}return this._initted&&!this._pt&&u&&Nr(this),this},e.to=function(r,n){return new e(r,n,arguments[2])},e.from=function(r,n){return Rr(1,arguments)},e.delayedCall=function(r,n,o,a){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:n,onReverseComplete:n,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(r,n,o){return Rr(2,arguments)},e.set=function(r,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(r,n)},e.killTweensOf=function(r,n,o){return ue.killTweensOf(r,n,o)},e}(Vr);St(be.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),dt("staggerTo,staggerFrom,staggerFromTo",function(s){be[s]=function(){var e=new Je,t=Mn.call(arguments,0);return t.splice(s==="staggerFromTo"?5:4,0,0),e[s].apply(e,t)}});var Fn=function(e,t,i){return e[t]=i},Ca=function(e,t,i){return e[t](i)},ru=function(e,t,i,r){return e[t](r.fp,i)},su=function(e,t,i){return e.setAttribute(t,i)},Bn=function(e,t){return he(e[t])?Ca:hn(e[t])&&e.setAttribute?su:Fn},ka=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},nu=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Oa=function(e,t){var i=t._pt,r="";if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*e):Math.round((i.s+i.c*e)*1e4)/1e4)+r,i=i._next;r+=t.c}t.set(t.t,t.p,r,t)},Nn=function(e,t){for(var i=t._pt;i;)i.r(e,i.d),i=i._next},ou=function(e,t,i,r){for(var n=this._pt,o;n;)o=n._next,n.p===r&&n.modifier(e,t,i),n=o},au=function(e){for(var t=this._pt,i,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?Ss(this,t,"_pt"):t.dep||(i=1),t=r;return!i},lu=function(e,t,i,r){r.mSet(e,t,r.m.call(r.tween,i,r.mt),r)},La=function(e){for(var t=e._pt,i,r,n,o;t;){for(i=t._next,r=n;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:o)?t._prev._next=t:n=t,(t._next=r)?r._prev=t:o=t,t=i}e._pt=n},ft=function(){function s(t,i,r,n,o,a,l,c,u){this.t=i,this.s=n,this.c=o,this.p=r,this.r=a||ka,this.d=l||this,this.set=c||Fn,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=s.prototype;return e.modifier=function(i,r,n){this.mSet=this.mSet||this.set,this.set=lu,this.m=i,this.mt=n,this.tween=r},s}();dt(bn+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(s){return yn[s]=1}),vt.TweenMax=vt.TweenLite=be,vt.TimelineLite=vt.TimelineMax=Je,ue=new Je({sortChildren:!1,defaults:cr,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),wt.stringFilter=Sa;var Yi=[],As={},cu=[],Da=0,uu=0,Gn=function(e){return(As[e]||cu).map(function(t){return t()})},Yn=function(){var e=Date.now(),t=[];e-Da>2&&(Gn("matchMediaInit"),Yi.forEach(function(i){var r=i.queries,n=i.conditions,o,a,l,c;for(a in r)o=jt.matchMedia(r[a]).matches,o&&(l=1),o!==n[a]&&(n[a]=o,c=1);c&&(i.revert(),l&&t.push(i))}),Gn("matchMediaRevert"),t.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),Da=e,Gn("matchMedia"))},za=function(){function s(t,i){this.selector=i&&Cn(i),this.data=[],this._r=[],this.isReverted=!1,this.id=uu++,t&&this.add(t)}var e=s.prototype;return e.add=function(i,r,n){he(i)&&(n=r,r=i,i=he);var o=this,a=function(){var c=le,u=o.selector,d;return c&&c!==o&&c.data.push(o),n&&(o.selector=Cn(n)),le=o,d=r.apply(o,arguments),he(d)&&o._r.push(d),le=c,o.selector=u,o.isReverted=!1,d};return o.last=a,i===he?a(o,function(l){return o.add(null,l)}):i?o[i]=a:a},e.ignore=function(i){var r=le;le=null,i(this),le=r},e.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof s?i.push.apply(i,r.getTweens()):r instanceof be&&!(r.parent&&r.parent.data==="nested")&&i.push(r)}),i},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(i,r){var n=this;if(i?function(){for(var a=n.getTweens(),l=n.data.length,c;l--;)c=n.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,d){return d.g-u.g||-1/0}).forEach(function(u){return u.t.revert(i)}),l=n.data.length;l--;)c=n.data[l],c instanceof Je?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof be)&&c.revert&&c.revert(i);n._r.forEach(function(u){return u(i,n)}),n.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var o=Yi.length;o--;)Yi[o].id===this.id&&Yi.splice(o,1)},e.revert=function(i){this.kill(i||{})},s}(),du=function(){function s(t){this.contexts=[],this.scope=t,le&&le.data.push(this)}var e=s.prototype;return e.add=function(i,r,n){Ut(i)||(i={matches:i});var o=new za(0,n||this.scope),a=o.conditions={},l,c,u;le&&!o.selector&&(o.selector=le.selector),this.contexts.push(o),r=o.add("onMatch",r),o.queries=i;for(c in i)c==="all"?u=1:(l=jt.matchMedia(i[c]),l&&(Yi.indexOf(o)<0&&Yi.push(o),(a[c]=l.matches)&&(u=1),l.addListener?l.addListener(Yn):l.addEventListener("change",Yn)));return u&&r(o,function(d){return o.add(null,d)}),this},e.revert=function(i){this.kill(i||{})},e.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},s}(),Es={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),i=0;i1){var r=e.map(function(u){return ht.quickSetter(u,t,i)}),n=r.length;return function(u){for(var d=n;d--;)r[d](u)}}e=e[0]||{};var o=yt[t],a=Fi(e),l=a.harness&&(a.harness.aliases||{})[t]||t,c=o?function(u){var d=new o;mr._pt=0,d.init(e,i?u+i:u,mr,0,[e]),d.render(1,d),mr._pt&&Nn(1,mr)}:a.set(e,l);return o?c:function(u){return c(e,l,i?u+i:u,a,1)}},quickTo:function(e,t,i){var r,n=ht.to(e,St((r={},r[t]="+=0.1",r.paused=!0,r.stagger=0,r),i||{})),o=function(l,c,u){return n.resetTo(t,l,c,u)};return o.tween=n,o},isTweening:function(e){return ue.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Ni(e.ease,cr.ease)),ta(cr,e||{})},config:function(e){return ta(wt,e||{})},registerEffect:function(e){var t=e.name,i=e.effect,r=e.plugins,n=e.defaults,o=e.extendTimeline;(r||"").split(",").forEach(function(a){return a&&!yt[a]&&!vt[a]&&Dr(t+" effect requires "+a+" plugin.")}),xn[t]=function(a,l,c){return i(zt(a),St(l||{},n),c)},o&&(Je.prototype[t]=function(a,l,c){return this.add(xn[t](a,Ut(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){Q[e]=Ni(t)},parseEase:function(e,t){return arguments.length?Ni(e,t):Q},getById:function(e){return ue.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var i=new Je(e),r,n;for(i.smoothChildTiming=ut(e.smoothChildTiming),ue.remove(i),i._dp=0,i._time=i._tTime=ue._time,r=ue._first;r;)n=r._next,(t||!(!r._dur&&r instanceof be&&r.vars.onComplete===r._targets[0]))&&Qt(i,r,r._start-r._delay),r=n;return Qt(ue,i,0),i},context:function(e,t){return e?new za(e,t):le},matchMedia:function(e){return new du(e)},matchMediaRefresh:function(){return Yi.forEach(function(e){var t=e.conditions,i,r;for(r in t)t[r]&&(t[r]=!1,i=1);i&&e.revert()})||Yn()},addEventListener:function(e,t){var i=As[e]||(As[e]=[]);~i.indexOf(t)||i.push(t)},removeEventListener:function(e,t){var i=As[e],r=i&&i.indexOf(t);r>=0&&i.splice(r,1)},utils:{wrap:Wc,wrapYoyo:qc,distribute:ua,random:fa,snap:da,normalize:Vc,getUnit:We,clamp:Bc,splitColor:wa,toArray:zt,selector:Cn,mapRange:pa,pipe:Gc,unitize:Yc,interpolate:Hc,shuffle:ca},install:$o,effects:xn,ticker:bt,updateRoot:Je.updateRoot,plugins:yt,globalTimeline:ue,core:{PropTween:ft,globals:Uo,Tween:be,Timeline:Je,Animation:Vr,getCache:Fi,_removeLinkedListItem:Ss,reverting:function(){return Ie},context:function(e){return e&&le&&(le.data.push(e),e._ctx=le),le},suppressOverwrites:function(e){return dn=e}}};dt("to,from,fromTo,delayedCall,set,killTweensOf",function(s){return Es[s]=be[s]}),bt.add(Je.updateRoot),mr=Es.to({},{duration:0});var fu=function(e,t){for(var i=e._pt;i&&i.p!==t&&i.op!==t&&i.fp!==t;)i=i._next;return i},hu=function(e,t){var i=e._targets,r,n,o;for(r in t)for(n=i.length;n--;)o=e._ptLookup[n][r],o&&(o=o.d)&&(o._pt&&(o=fu(o,r)),o&&o.modifier&&o.modifier(t[r],e,i[n],r))},Vn=function(e,t){return{name:e,headless:1,rawVars:1,init:function(r,n,o){o._onInit=function(a){var l,c;if(ke(n)&&(l={},dt(n,function(u){return l[u]=1}),n=l),t){l={};for(c in n)l[c]=t(n[c]);n=l}hu(a,n)}}}},ht=Es.registerPlugin({name:"attr",init:function(e,t,i,r,n){var o,a,l;this.tween=i;for(o in t)l=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(l||0)+"",t[o],r,n,0,0,o),a.op=o,a.b=l,this._props.push(o)},render:function(e,t){for(var i=t._pt;i;)Ie?i.set(i.t,i.p,i.b,i):i.r(e,i.d),i=i._next}},{name:"endArray",headless:1,init:function(e,t){for(var i=t.length;i--;)this.add(e,i,e[i]||0,t[i],0,0,0,0,0,1)}},Vn("roundProps",kn),Vn("modifiers"),Vn("snap",da))||Es;be.version=Je.version=ht.version="3.13.0",Xo=1,pn()&&gr(),Q.Power0,Q.Power1,Q.Power2,Q.Power3,Q.Power4,Q.Linear,Q.Quad,Q.Cubic,Q.Quart,Q.Quint,Q.Strong,Q.Elastic,Q.Back,Q.SteppedEase,Q.Bounce,Q.Sine,Q.Expo,Q.Circ;/*! * CSSPlugin 3.13.0 * https://gsap.com * * Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var Ia,Si,_r,Wn,Vi,Ra,qn,pu=function(){return typeof window!="undefined"},ni={},Wi=180/Math.PI,wr=Math.PI/180,vr=Math.atan2,Fa=1e8,Hn=/([A-Z])/g,mu=/(left|right|width|margin|padding|x)/i,gu=/[\s,\(]\S/,Zt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Xn=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},_u=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},wu=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},vu=function(e,t){var i=t.s+t.c*e;t.set(t.t,t.p,~~(i+(i<0?-.5:.5))+t.u,t)},Ba=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Na=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},yu=function(e,t,i){return e.style[t]=i},Su=function(e,t,i){return e.style.setProperty(t,i)},xu=function(e,t,i){return e._gsap[t]=i},bu=function(e,t,i){return e._gsap.scaleX=e._gsap.scaleY=i},Tu=function(e,t,i,r,n){var o=e._gsap;o.scaleX=o.scaleY=i,o.renderTransform(n,o)},Au=function(e,t,i,r,n){var o=e._gsap;o[t]=i,o.renderTransform(n,o)},de="transform",pt=de+"Origin",Eu=function s(e,t){var i=this,r=this.target,n=r.style,o=r._gsap;if(e in ni&&n){if(this.tfm=this.tfm||{},e!=="transform")e=Zt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return i.tfm[a]=oi(r,a)}):this.tfm[e]=o.x?o[e]:oi(r,e),e===pt&&(this.tfm.zOrigin=o.zOrigin);else return Zt.transform.split(",").forEach(function(a){return s.call(i,a,t)});if(this.props.indexOf(de)>=0)return;o.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(pt,t,"")),e=de}(n||t)&&this.props.push(e,t,n[e])},Ga=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Pu=function(){var e=this.props,t=this.target,i=t.style,r=t._gsap,n,o;for(n=0;n=0?Wa[o]:"")+e},Un=function(){pu()&&window.document&&(Ia=window,Si=Ia.document,_r=Si.documentElement,Vi=$n("div")||{style:{}},$n("div"),de=yr(de),pt=de+"Origin",Vi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Va=!!yr("perspective"),qn=ht.core.reverting,Wn=1)},qa=function(e){var t=e.ownerSVGElement,i=$n("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=e.cloneNode(!0),n;r.style.display="block",i.appendChild(r),_r.appendChild(i);try{n=r.getBBox()}catch{}return i.removeChild(r),_r.removeChild(i),n},Ha=function(e,t){for(var i=t.length;i--;)if(e.hasAttribute(t[i]))return e.getAttribute(t[i])},Xa=function(e){var t,i;try{t=e.getBBox()}catch{t=qa(e),i=1}return t&&(t.width||t.height)||i||(t=qa(e)),t&&!t.width&&!t.x&&!t.y?{x:+Ha(e,["x","cx","x1"])||0,y:+Ha(e,["y","cy","y1"])||0,width:0,height:0}:t},$a=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Xa(e))},qi=function(e,t){if(t){var i=e.style,r;t in ni&&t!==pt&&(t=de),i.removeProperty?(r=t.substr(0,2),(r==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),i.removeProperty(r==="--"?t:t.replace(Hn,"-$1").toLowerCase())):i.removeAttribute(t)}},xi=function(e,t,i,r,n,o){var a=new ft(e._pt,t,i,0,1,o?Na:Ba);return e._pt=a,a.b=r,a.e=n,e._props.push(i),a},Ua={deg:1,rad:1,turn:1},Mu={grid:1,flex:1},bi=function s(e,t,i,r){var n=parseFloat(i)||0,o=(i+"").trim().substr((n+"").length)||"px",a=Vi.style,l=mu.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),d=100,h=r==="px",f=r==="%",m,p,g,_;if(r===o||!n||Ua[r]||Ua[o])return n;if(o!=="px"&&!h&&(n=s(e,t,i,"px")),_=e.getCTM&&$a(e),(f||o==="%")&&(ni[t]||~t.indexOf("adius")))return m=_?e.getBBox()[l?"width":"height"]:e[u],_e(f?n/m*d:n/100*m);if(a[l?"width":"height"]=d+(h?o:r),p=r!=="rem"&&~t.indexOf("adius")||r==="em"&&e.appendChild&&!c?e:e.parentNode,_&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===Si||!p.appendChild)&&(p=Si.body),g=p._gsap,g&&f&&g.width&&l&&g.time===bt.time&&!g.uncache)return _e(n/g.width*d);if(f&&(t==="height"||t==="width")){var w=e.style[t];e.style[t]=d+r,m=e[u],w?e.style[t]=w:qi(e,t)}else(f||o==="%")&&!Mu[It(p,"display")]&&(a.position=It(e,"position")),p===e&&(a.position="static"),p.appendChild(Vi),m=Vi[u],p.removeChild(Vi),a.position="absolute";return l&&f&&(g=Fi(p),g.time=bt.time,g.width=p[u]),_e(h?m*n/d:m&&n?d/m*n:0)},oi=function(e,t,i,r){var n;return Wn||Un(),t in Zt&&t!=="transform"&&(t=Zt[t],~t.indexOf(",")&&(t=t.split(",")[0])),ni[t]&&t!=="transform"?(n=Hr(e,r),n=t!=="transformOrigin"?n[t]:n.svg?n.origin:Ms(It(e,pt))+" "+n.zOrigin+"px"):(n=e.style[t],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=Ps[t]&&Ps[t](e,t,i)||It(e,t)||Zo(e,t)||(t==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?bi(e,t,n,i)+i:n},Cu=function(e,t,i,r){if(!i||i==="none"){var n=yr(t,e,1),o=n&&It(e,n,1);o&&o!==i?(t=n,i=o):t==="borderColor"&&(i=It(e,"borderTopColor"))}var a=new ft(this._pt,e.style,t,0,1,Oa),l=0,c=0,u,d,h,f,m,p,g,_,w,y,v,x;if(a.b=i,a.e=r,i+="",r+="",r.substring(0,6)==="var(--"&&(r=It(e,r.substring(4,r.indexOf(")")))),r==="auto"&&(p=e.style[t],e.style[t]=r,r=It(e,t)||r,p?e.style[t]=p:qi(e,t)),u=[i,r],Sa(u),i=u[0],r=u[1],h=i.match(ur)||[],x=r.match(ur)||[],x.length){for(;d=ur.exec(r);)g=d[0],w=r.substring(l,d.index),m?m=(m+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(m=1),g!==(p=h[c++]||"")&&(f=parseFloat(p)||0,v=p.substr((f+"").length),g.charAt(1)==="="&&(g=dr(f,g)+v),_=parseFloat(g),y=g.substr((_+"").length),l=ur.lastIndex-y.length,y||(y=y||wt.units[t]||v,l===r.length&&(r+=y,a.e+=y)),v!==y&&(f=bi(e,t,p,y)||0),a._pt={_next:a._pt,p:w||c===1?w:",",s:f,c:_-f,m:m&&m<4||t==="zIndex"?Math.round:0});a.c=l-1;)a=n[c],ni[a]&&(l=1,a=a==="transformOrigin"?pt:de),qi(i,a);l&&(qi(i,de),o&&(o.svg&&i.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",Hr(i,1),o.uncache=1,Ga(r)))}},Ps={clearProps:function(e,t,i,r,n){if(n.data!=="isFromStart"){var o=e._pt=new ft(e._pt,t,i,0,0,Ou);return o.u=r,o.pr=-10,o.tween=n,e._props.push(i),1}}},qr=[1,0,0,1,0,0],Qa={},Za=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Ka=function(e){var t=It(e,de);return Za(t)?qr:t.substr(7).match(Wo).map(_e)},jn=function(e,t){var i=e._gsap||Fi(e),r=e.style,n=Ka(e),o,a,l,c;return i.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?qr:n):(n===qr&&!e.offsetParent&&e!==_r&&!i.svg&&(l=r.display,r.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,a=e.nextElementSibling,_r.appendChild(e)),n=Ka(e),l?r.display=l:qi(e,"display"),c&&(a?o.insertBefore(e,a):o?o.appendChild(e):_r.removeChild(e))),t&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Qn=function(e,t,i,r,n,o){var a=e._gsap,l=n||jn(e,!0),c=a.xOrigin||0,u=a.yOrigin||0,d=a.xOffset||0,h=a.yOffset||0,f=l[0],m=l[1],p=l[2],g=l[3],_=l[4],w=l[5],y=t.split(" "),v=parseFloat(y[0])||0,x=parseFloat(y[1])||0,A,b,P,M;i?l!==qr&&(b=f*g-m*p)&&(P=v*(g/b)+x*(-p/b)+(p*w-g*_)/b,M=v*(-m/b)+x*(f/b)-(f*w-m*_)/b,v=P,x=M):(A=Xa(e),v=A.x+(~y[0].indexOf("%")?v/100*A.width:v),x=A.y+(~(y[1]||y[0]).indexOf("%")?x/100*A.height:x)),r||r!==!1&&a.smooth?(_=v-c,w=x-u,a.xOffset=d+(_*f+w*p)-_,a.yOffset=h+(_*m+w*g)-w):a.xOffset=a.yOffset=0,a.xOrigin=v,a.yOrigin=x,a.smooth=!!r,a.origin=t,a.originIsAbsolute=!!i,e.style[pt]="0px 0px",o&&(xi(o,a,"xOrigin",c,v),xi(o,a,"yOrigin",u,x),xi(o,a,"xOffset",d,a.xOffset),xi(o,a,"yOffset",h,a.yOffset)),e.setAttribute("data-svg-origin",v+" "+x)},Hr=function(e,t){var i=e._gsap||new Aa(e);if("x"in i&&!t&&!i.uncache)return i;var r=e.style,n=i.scaleX<0,o="px",a="deg",l=getComputedStyle(e),c=It(e,pt)||"0",u,d,h,f,m,p,g,_,w,y,v,x,A,b,P,M,T,k,C,R,G,V,L,z,N,Z,S,se,Fe,Vt,pe,Be;return u=d=h=p=g=_=w=y=v=0,f=m=1,i.svg=!!(e.getCTM&&$a(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(r[de]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[de]!=="none"?l[de]:"")),r.scale=r.rotate=r.translate="none"),b=jn(e,i.svg),i.svg&&(i.uncache?(N=e.getBBox(),c=i.xOrigin-N.x+"px "+(i.yOrigin-N.y)+"px",z=""):z=!t&&e.getAttribute("data-svg-origin"),Qn(e,z||c,!!z||i.originIsAbsolute,i.smooth!==!1,b)),x=i.xOrigin||0,A=i.yOrigin||0,b!==qr&&(k=b[0],C=b[1],R=b[2],G=b[3],u=V=b[4],d=L=b[5],b.length===6?(f=Math.sqrt(k*k+C*C),m=Math.sqrt(G*G+R*R),p=k||C?vr(C,k)*Wi:0,w=R||G?vr(R,G)*Wi+p:0,w&&(m*=Math.abs(Math.cos(w*wr))),i.svg&&(u-=x-(x*k+A*R),d-=A-(x*C+A*G))):(Be=b[6],Vt=b[7],S=b[8],se=b[9],Fe=b[10],pe=b[11],u=b[12],d=b[13],h=b[14],P=vr(Be,Fe),g=P*Wi,P&&(M=Math.cos(-P),T=Math.sin(-P),z=V*M+S*T,N=L*M+se*T,Z=Be*M+Fe*T,S=V*-T+S*M,se=L*-T+se*M,Fe=Be*-T+Fe*M,pe=Vt*-T+pe*M,V=z,L=N,Be=Z),P=vr(-R,Fe),_=P*Wi,P&&(M=Math.cos(-P),T=Math.sin(-P),z=k*M-S*T,N=C*M-se*T,Z=R*M-Fe*T,pe=G*T+pe*M,k=z,C=N,R=Z),P=vr(C,k),p=P*Wi,P&&(M=Math.cos(P),T=Math.sin(P),z=k*M+C*T,N=V*M+L*T,C=C*M-k*T,L=L*M-V*T,k=z,V=N),g&&Math.abs(g)+Math.abs(p)>359.9&&(g=p=0,_=180-_),f=_e(Math.sqrt(k*k+C*C+R*R)),m=_e(Math.sqrt(L*L+Be*Be)),P=vr(V,L),w=Math.abs(P)>2e-4?P*Wi:0,v=pe?1/(pe<0?-pe:pe):0),i.svg&&(z=e.getAttribute("transform"),i.forceCSS=e.setAttribute("transform","")||!Za(It(e,de)),z&&e.setAttribute("transform",z))),Math.abs(w)>90&&Math.abs(w)<270&&(n?(f*=-1,w+=p<=0?180:-180,p+=p<=0?180:-180):(m*=-1,w+=w<=0?180:-180)),t=t||i.uncache,i.x=u-((i.xPercent=u&&(!t&&i.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*i.xPercent/100:0)+o,i.y=d-((i.yPercent=d&&(!t&&i.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*i.yPercent/100:0)+o,i.z=h+o,i.scaleX=_e(f),i.scaleY=_e(m),i.rotation=_e(p)+a,i.rotationX=_e(g)+a,i.rotationY=_e(_)+a,i.skewX=w+a,i.skewY=y+a,i.transformPerspective=v+o,(i.zOrigin=parseFloat(c.split(" ")[2])||!t&&i.zOrigin||0)&&(r[pt]=Ms(c)),i.xOffset=i.yOffset=0,i.force3D=wt.force3D,i.renderTransform=i.svg?Du:Va?Ja:Lu,i.uncache=0,i},Ms=function(e){return(e=e.split(" "))[0]+" "+e[1]},Zn=function(e,t,i){var r=We(t);return _e(parseFloat(t)+parseFloat(bi(e,"x",i+"px",r)))+r},Lu=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ja(e,t)},Hi="0deg",Xr="0px",Xi=") ",Ja=function(e,t){var i=t||this,r=i.xPercent,n=i.yPercent,o=i.x,a=i.y,l=i.z,c=i.rotation,u=i.rotationY,d=i.rotationX,h=i.skewX,f=i.skewY,m=i.scaleX,p=i.scaleY,g=i.transformPerspective,_=i.force3D,w=i.target,y=i.zOrigin,v="",x=_==="auto"&&e&&e!==1||_===!0;if(y&&(d!==Hi||u!==Hi)){var A=parseFloat(u)*wr,b=Math.sin(A),P=Math.cos(A),M;A=parseFloat(d)*wr,M=Math.cos(A),o=Zn(w,o,b*M*-y),a=Zn(w,a,-Math.sin(A)*-y),l=Zn(w,l,P*M*-y+y)}g!==Xr&&(v+="perspective("+g+Xi),(r||n)&&(v+="translate("+r+"%, "+n+"%) "),(x||o!==Xr||a!==Xr||l!==Xr)&&(v+=l!==Xr||x?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+Xi),c!==Hi&&(v+="rotate("+c+Xi),u!==Hi&&(v+="rotateY("+u+Xi),d!==Hi&&(v+="rotateX("+d+Xi),(h!==Hi||f!==Hi)&&(v+="skew("+h+", "+f+Xi),(m!==1||p!==1)&&(v+="scale("+m+", "+p+Xi),w.style[de]=v||"translate(0, 0)"},Du=function(e,t){var i=t||this,r=i.xPercent,n=i.yPercent,o=i.x,a=i.y,l=i.rotation,c=i.skewX,u=i.skewY,d=i.scaleX,h=i.scaleY,f=i.target,m=i.xOrigin,p=i.yOrigin,g=i.xOffset,_=i.yOffset,w=i.forceCSS,y=parseFloat(o),v=parseFloat(a),x,A,b,P,M;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=wr,c*=wr,x=Math.cos(l)*d,A=Math.sin(l)*d,b=Math.sin(l-c)*-h,P=Math.cos(l-c)*h,c&&(u*=wr,M=Math.tan(c-u),M=Math.sqrt(1+M*M),b*=M,P*=M,u&&(M=Math.tan(u),M=Math.sqrt(1+M*M),x*=M,A*=M)),x=_e(x),A=_e(A),b=_e(b),P=_e(P)):(x=d,P=h,A=b=0),(y&&!~(o+"").indexOf("px")||v&&!~(a+"").indexOf("px"))&&(y=bi(f,"x",o,"px"),v=bi(f,"y",a,"px")),(m||p||g||_)&&(y=_e(y+m-(m*x+p*b)+g),v=_e(v+p-(m*A+p*P)+_)),(r||n)&&(M=f.getBBox(),y=_e(y+r/100*M.width),v=_e(v+n/100*M.height)),M="matrix("+x+","+A+","+b+","+P+","+y+","+v+")",f.setAttribute("transform",M),w&&(f.style[de]=M)},zu=function(e,t,i,r,n){var o=360,a=ke(n),l=parseFloat(n)*(a&&~n.indexOf("rad")?Wi:1),c=l-r,u=r+c+"deg",d,h;return a&&(d=n.split("_")[1],d==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),d==="cw"&&c<0?c=(c+o*Fa)%o-~~(c/o)*o:d==="ccw"&&c>0&&(c=(c-o*Fa)%o-~~(c/o)*o)),e._pt=h=new ft(e._pt,t,i,r,c,_u),h.e=u,h.u="deg",e._props.push(i),h},el=function(e,t){for(var i in t)e[i]=t[i];return e},Iu=function(e,t,i){var r=el({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",o=i.style,a,l,c,u,d,h,f,m;r.svg?(c=i.getAttribute("transform"),i.setAttribute("transform",""),o[de]=t,a=Hr(i,1),qi(i,de),i.setAttribute("transform",c)):(c=getComputedStyle(i)[de],o[de]=t,a=Hr(i,1),o[de]=c);for(l in ni)c=r[l],u=a[l],c!==u&&n.indexOf(l)<0&&(f=We(c),m=We(u),d=f!==m?bi(i,l,c,m):parseFloat(c),h=parseFloat(u),e._pt=new ft(e._pt,a,l,d,h-d,Xn),e._pt.u=m||0,e._props.push(l));el(a,r)};dt("padding,margin,Width,Radius",function(s,e){var t="Top",i="Right",r="Bottom",n="Left",o=(e<3?[t,i,r,n]:[t+n,t+i,r+i,r+n]).map(function(a){return e<2?s+a:"border"+a+s});Ps[e>1?"border"+s:s]=function(a,l,c,u,d){var h,f;if(arguments.length<4)return h=o.map(function(m){return oi(a,m,c)}),f=h.join(" "),f.split(h[0]).length===5?h[0]:f;h=(u+"").split(" "),f={},o.forEach(function(m,p){return f[m]=h[p]=h[p]||h[(p-1)/2|0]}),a.init(l,f,d)}});var tl={name:"css",register:Un,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,i,r,n){var o=this._props,a=e.style,l=i.vars.startAt,c,u,d,h,f,m,p,g,_,w,y,v,x,A,b,P;Wn||Un(),this.styles=this.styles||Ya(e),P=this.styles.props,this.tween=i;for(p in t)if(p!=="autoRound"&&(u=t[p],!(yt[p]&&Ea(p,t,i,r,e,n)))){if(f=typeof u,m=Ps[p],f==="function"&&(u=u.call(i,r,e,n),f=typeof u),f==="string"&&~u.indexOf("random(")&&(u=Br(u)),m)m(this,e,p,u,i)&&(b=1);else if(p.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(p)+"").trim(),u+="",vi.lastIndex=0,vi.test(c)||(g=We(c),_=We(u)),_?g!==_&&(c=bi(e,p,c,_)+_):g&&(u+=g),this.add(a,"setProperty",c,u,r,n,0,0,p),o.push(p),P.push(p,0,a[p]);else if(f!=="undefined"){if(l&&p in l?(c=typeof l[p]=="function"?l[p].call(i,r,e,n):l[p],ke(c)&&~c.indexOf("random(")&&(c=Br(c)),We(c+"")||c==="auto"||(c+=wt.units[p]||We(oi(e,p))||""),(c+"").charAt(1)==="="&&(c=oi(e,p))):c=oi(e,p),h=parseFloat(c),w=f==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),d=parseFloat(u),p in Zt&&(p==="autoAlpha"&&(h===1&&oi(e,"visibility")==="hidden"&&d&&(h=0),P.push("visibility",0,a.visibility),xi(this,a,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),p!=="scale"&&p!=="transform"&&(p=Zt[p],~p.indexOf(",")&&(p=p.split(",")[0]))),y=p in ni,y){if(this.styles.save(p),f==="string"&&u.substring(0,6)==="var(--"&&(u=It(e,u.substring(4,u.indexOf(")"))),d=parseFloat(u)),v||(x=e._gsap,x.renderTransform&&!t.parseTransform||Hr(e,t.parseTransform),A=t.smoothOrigin!==!1&&x.smooth,v=this._pt=new ft(this._pt,a,de,0,1,x.renderTransform,x,0,-1),v.dep=1),p==="scale")this._pt=new ft(this._pt,x,"scaleY",x.scaleY,(w?dr(x.scaleY,w+d):d)-x.scaleY||0,Xn),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){P.push(pt,0,a[pt]),u=ku(u),x.svg?Qn(e,u,0,A,0,this):(_=parseFloat(u.split(" ")[2])||0,_!==x.zOrigin&&xi(this,x,"zOrigin",x.zOrigin,_),xi(this,a,p,Ms(c),Ms(u)));continue}else if(p==="svgOrigin"){Qn(e,u,1,A,0,this);continue}else if(p in Qa){zu(this,x,p,h,w?dr(h,w+u):u);continue}else if(p==="smoothOrigin"){xi(this,x,"smooth",x.smooth,u);continue}else if(p==="force3D"){x[p]=u;continue}else if(p==="transform"){Iu(this,u,e);continue}}else p in a||(p=yr(p)||p);if(y||(d||d===0)&&(h||h===0)&&!gu.test(u)&&p in a)g=(c+"").substr((h+"").length),d||(d=0),_=We(u)||(p in wt.units?wt.units[p]:g),g!==_&&(h=bi(e,p,c,_)),this._pt=new ft(this._pt,y?x:a,p,h,(w?dr(h,w+d):d)-h,!y&&(_==="px"||p==="zIndex")&&t.autoRound!==!1?vu:Xn),this._pt.u=_||0,g!==_&&_!=="%"&&(this._pt.b=c,this._pt.r=wu);else if(p in a)Cu.call(this,e,p,c,w?w+u:u);else if(p in e)this.add(e,p,c||e[p],w?w+u:u,r,n);else if(p!=="parseTransform"){vn(p,u);continue}y||(p in a?P.push(p,0,a[p]):typeof e[p]=="function"?P.push(p,2,e[p]()):P.push(p,1,c||e[p])),o.push(p)}}b&&La(this)},render:function(e,t){if(t.tween._time||!qn())for(var i=t._pt;i;)i.r(e,i.d),i=i._next;else t.styles.revert()},get:oi,aliases:Zt,getSetter:function(e,t,i){var r=Zt[t];return r&&r.indexOf(",")<0&&(t=r),t in ni&&t!==pt&&(e._gsap.x||oi(e,"x"))?i&&Ra===i?t==="scale"?bu:xu:(Ra=i||{})&&(t==="scale"?Tu:Au):e.style&&!hn(e.style[t])?yu:~t.indexOf("-")?Su:Bn(e,t)},core:{_removeProperty:qi,_getMatrix:jn}};ht.utils.checkPrefix=yr,ht.core.getStyleSaver=Ya,function(s,e,t,i){var r=dt(s+","+e+","+t,function(n){ni[n]=1});dt(e,function(n){wt.units[n]="deg",Qa[n]=1}),Zt[r[13]]=s+","+e,dt(i,function(n){var o=n.split(":");Zt[o[1]]=r[o[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),dt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(s){wt.units[s]="px"}),ht.registerPlugin(tl);var et=ht.registerPlugin(tl)||ht;et.core.Tween;function il(s,e){for(var t=0;tl?(n=r,r=m,a=o,o=g):i?r+=m:r=n+(m-n)/(g-a)*(o-a)},d=function(){n=r=i?0:r,a=o=0},h=function(m){var p=a,g=n,_=Ur();return(m||m===0)&&m!==r&&u(m),o===a||_-a>c?0:(r+(i?g:-g))/((i?_:o)-p)*1e3};return{update:u,reset:d,getVelocity:h}},Qr=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},ll=function(e){var t=Math.max.apply(Math,e),i=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(i)?t:i},cl=function(){$r=Re.core.globals().ScrollTrigger,$r&&$r.core&&Fu()},ul=function(e){return Re=e||ol(),!Cs&&Re&&typeof document!="undefined"&&document.body&&(Tt=window,Ti=document,Ai=Ti.documentElement,Sr=Ti.body,sl=[Tt,Ti,Ai,Sr],Re.utils.clamp,nl=Re.core.context||function(){},$i="onpointerenter"in Sr?"pointer":"mouse",rl=we.isTouch=Tt.matchMedia&&Tt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Tt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Yt=we.eventTypes=("ontouchstart"in Ai?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Ai?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return al=0},500),cl(),Cs=1),Cs};rt.op=Pe,$.cache=0;var we=function(){function s(t){this.init(t)}var e=s.prototype;return e.init=function(i){Cs||ul(Re)||console.warn("Please gsap.registerPlugin(Observer)"),$r||cl();var r=i.tolerance,n=i.dragMinimum,o=i.type,a=i.target,l=i.lineHeight,c=i.debounce,u=i.preventDefault,d=i.onStop,h=i.onStopDelay,f=i.ignore,m=i.wheelSpeed,p=i.event,g=i.onDragStart,_=i.onDragEnd,w=i.onDrag,y=i.onPress,v=i.onRelease,x=i.onRight,A=i.onLeft,b=i.onUp,P=i.onDown,M=i.onChangeX,T=i.onChangeY,k=i.onChange,C=i.onToggleX,R=i.onToggleY,G=i.onHover,V=i.onHoverEnd,L=i.onMove,z=i.ignoreCheck,N=i.isNormalizer,Z=i.onGestureStart,S=i.onGestureEnd,se=i.onWheel,Fe=i.onEnable,Vt=i.onDisable,pe=i.onClick,Be=i.scrollSpeed,$e=i.capture,Ae=i.allowClicks,lt=i.lockAxis,Ue=i.onLockAxis;this.target=a=mt(a)||Ai,this.vars=i,f&&(f=Re.utils.toArray(f)),r=r||1e-9,n=n||0,m=m||1,Be=Be||1,o=o||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(Tt.getComputedStyle(Sr).lineHeight)||22);var Oi,ct,gt,J,ve,_t,Ct,E=this,kt=0,di=0,Li=i.passive||!u&&i.passive!==!1,me=Pi(a,rt),fi=Pi(a,Pe),Di=me(),sr=fi(),De=~o.indexOf("touch")&&!~o.indexOf("pointer")&&Yt[0]==="pointerdown",zi=jr(a),ye=a.ownerDocument||Ti,Wt=[0,0,0],Gt=[0,0,0],hi=0,ds=function(){return hi=Ur()},Ee=function(B,ee){return(E.event=B)&&f&&Bu(B.target,f)||ee&&De&&B.pointerType!=="touch"||z&&z(B,ee)},an=function(){E._vx.reset(),E._vy.reset(),ct.pause(),d&&d(E)},pi=function(){var B=E.deltaX=ll(Wt),ee=E.deltaY=ll(Gt),O=Math.abs(B)>=r,W=Math.abs(ee)>=r;k&&(O||W)&&k(E,B,ee,Wt,Gt),O&&(x&&E.deltaX>0&&x(E),A&&E.deltaX<0&&A(E),M&&M(E),C&&E.deltaX<0!=kt<0&&C(E),kt=E.deltaX,Wt[0]=Wt[1]=Wt[2]=0),W&&(P&&E.deltaY>0&&P(E),b&&E.deltaY<0&&b(E),T&&T(E),R&&E.deltaY<0!=di<0&&R(E),di=E.deltaY,Gt[0]=Gt[1]=Gt[2]=0),(J||gt)&&(L&&L(E),gt&&(g&>===1&&g(E),w&&w(E),gt=0),J=!1),_t&&!(_t=!1)&&Ue&&Ue(E),ve&&(se(E),ve=!1),Oi=0},kr=function(B,ee,O){Wt[O]+=B,Gt[O]+=ee,E._vx.update(B),E._vy.update(ee),c?Oi||(Oi=requestAnimationFrame(pi)):pi()},Or=function(B,ee){lt&&!Ct&&(E.axis=Ct=Math.abs(B)>Math.abs(ee)?"x":"y",_t=!0),Ct!=="y"&&(Wt[2]+=B,E._vx.update(B,!0)),Ct!=="x"&&(Gt[2]+=ee,E._vy.update(ee,!0)),c?Oi||(Oi=requestAnimationFrame(pi)):pi()},Ii=function(B){if(!Ee(B,1)){B=Qr(B,u);var ee=B.clientX,O=B.clientY,W=ee-E.x,F=O-E.y,q=E.isDragging;E.x=ee,E.y=O,(q||(W||F)&&(Math.abs(E.startX-ee)>=n||Math.abs(E.startY-O)>=n))&&(gt=q?2:1,q||(E.isDragging=!0),Or(W,F))}},nr=E.onPress=function(H){Ee(H,1)||H&&H.button||(E.axis=Ct=null,ct.pause(),E.isPressed=!0,H=Qr(H),kt=di=0,E.startX=E.x=H.clientX,E.startY=E.y=H.clientY,E._vx.reset(),E._vy.reset(),tt(N?a:ye,Yt[1],Ii,Li,!0),E.deltaX=E.deltaY=0,y&&y(E))},j=E.onRelease=function(H){if(!Ee(H,1)){it(N?a:ye,Yt[1],Ii,!0);var B=!isNaN(E.y-E.startY),ee=E.isDragging,O=ee&&(Math.abs(E.x-E.startX)>3||Math.abs(E.y-E.startY)>3),W=Qr(H);!O&&B&&(E._vx.reset(),E._vy.reset(),u&&Ae&&Re.delayedCall(.08,function(){if(Ur()-hi>300&&!H.defaultPrevented){if(H.target.click)H.target.click();else if(ye.createEvent){var F=ye.createEvent("MouseEvents");F.initMouseEvent("click",!0,!0,Tt,1,W.screenX,W.screenY,W.clientX,W.clientY,!1,!1,!1,!1,0,null),H.target.dispatchEvent(F)}}})),E.isDragging=E.isGesturing=E.isPressed=!1,d&&ee&&!N&&ct.restart(!0),gt&&pi(),_&&ee&&_(E),v&&v(E,O)}},or=function(B){return B.touches&&B.touches.length>1&&(E.isGesturing=!0)&&Z(B,E.isDragging)},qt=function(){return(E.isGesturing=!1)||S(E)},Ht=function(B){if(!Ee(B)){var ee=me(),O=fi();kr((ee-Di)*Be,(O-sr)*Be,1),Di=ee,sr=O,d&&ct.restart(!0)}},Xt=function(B){if(!Ee(B)){B=Qr(B,u),se&&(ve=!0);var ee=(B.deltaMode===1?l:B.deltaMode===2?Tt.innerHeight:1)*m;kr(B.deltaX*ee,B.deltaY*ee,0),d&&!N&&ct.restart(!0)}},ar=function(B){if(!Ee(B)){var ee=B.clientX,O=B.clientY,W=ee-E.x,F=O-E.y;E.x=ee,E.y=O,J=!0,d&&ct.restart(!0),(W||F)&&Or(W,F)}},Lr=function(B){E.event=B,G(E)},mi=function(B){E.event=B,V(E)},fs=function(B){return Ee(B)||Qr(B,u)&&pe(E)};ct=E._dc=Re.delayedCall(h||.25,an).pause(),E.deltaX=E.deltaY=0,E._vx=eo(0,50,!0),E._vy=eo(0,50,!0),E.scrollX=me,E.scrollY=fi,E.isDragging=E.isGesturing=E.isPressed=!1,nl(this),E.enable=function(H){return E.isEnabled||(tt(zi?ye:a,"scroll",Jn),o.indexOf("scroll")>=0&&tt(zi?ye:a,"scroll",Ht,Li,$e),o.indexOf("wheel")>=0&&tt(a,"wheel",Xt,Li,$e),(o.indexOf("touch")>=0&&rl||o.indexOf("pointer")>=0)&&(tt(a,Yt[0],nr,Li,$e),tt(ye,Yt[2],j),tt(ye,Yt[3],j),Ae&&tt(a,"click",ds,!0,!0),pe&&tt(a,"click",fs),Z&&tt(ye,"gesturestart",or),S&&tt(ye,"gestureend",qt),G&&tt(a,$i+"enter",Lr),V&&tt(a,$i+"leave",mi),L&&tt(a,$i+"move",ar)),E.isEnabled=!0,E.isDragging=E.isGesturing=E.isPressed=J=gt=!1,E._vx.reset(),E._vy.reset(),Di=me(),sr=fi(),H&&H.type&&nr(H),Fe&&Fe(E)),E},E.disable=function(){E.isEnabled&&(xr.filter(function(H){return H!==E&&jr(H.target)}).length||it(zi?ye:a,"scroll",Jn),E.isPressed&&(E._vx.reset(),E._vy.reset(),it(N?a:ye,Yt[1],Ii,!0)),it(zi?ye:a,"scroll",Ht,$e),it(a,"wheel",Xt,$e),it(a,Yt[0],nr,$e),it(ye,Yt[2],j),it(ye,Yt[3],j),it(a,"click",ds,!0),it(a,"click",fs),it(ye,"gesturestart",or),it(ye,"gestureend",qt),it(a,$i+"enter",Lr),it(a,$i+"leave",mi),it(a,$i+"move",ar),E.isEnabled=E.isPressed=E.isDragging=!1,Vt&&Vt(E))},E.kill=E.revert=function(){E.disable();var H=xr.indexOf(E);H>=0&&xr.splice(H,1),ai===E&&(ai=0)},xr.push(E),N&&jr(a)&&(ai=E),E.enable(p)},Ru(s,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),s}();we.version="3.13.0",we.create=function(s){return new we(s)},we.register=ul,we.getAll=function(){return xr.slice()},we.getById=function(s){return xr.filter(function(e){return e.vars.id===s})[0]},ol()&&Re.registerPlugin(we);/*! * ScrollTrigger 3.13.0 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var D,br,U,ae,At,te,to,Ds,Zr,Kr,Jr,zs,qe,Is,io,st,dl,fl,Tr,hl,ro,pl,nt,so,ml,gl,Mi,no,oo,Ar,ao,Rs,lo,co,Fs=1,He=Date.now,uo=He(),Rt=0,es=0,_l=function(e,t,i){var r=Et(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return i["_"+t+"Clamp"]=r,r?e.substr(6,e.length-7):e},wl=function(e,t){return t&&(!Et(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Nu=function s(){return es&&requestAnimationFrame(s)},vl=function(){return Is=1},yl=function(){return Is=0},Jt=function(e){return e},ts=function(e){return Math.round(e*1e5)/1e5||0},Sl=function(){return typeof window!="undefined"},xl=function(){return D||Sl()&&(D=window.gsap)&&D.registerPlugin&&D},Ui=function(e){return!!~to.indexOf(e)},bl=function(e){return(e==="Height"?ao:U["inner"+e])||At["client"+e]||te["client"+e]},Tl=function(e){return Ei(e,"getBoundingClientRect")||(Ui(e)?function(){return Qs.width=U.innerWidth,Qs.height=ao,Qs}:function(){return li(e)})},Gu=function(e,t,i){var r=i.d,n=i.d2,o=i.a;return(o=Ei(e,"getBoundingClientRect"))?function(){return o()[r]}:function(){return(t?bl(n):e["client"+n])||0}},Yu=function(e,t){return!t||~Kt.indexOf(e)?Tl(e):function(){return Qs}},ei=function(e,t){var i=t.s,r=t.d2,n=t.d,o=t.a;return Math.max(0,(i="scroll"+r)&&(o=Ei(e,i))?o()-Tl(e)()[n]:Ui(e)?(At[i]||te[i])-bl(r):e[i]-e["offset"+r])},Bs=function(e,t){for(var i=0;i0){for(r-=o,a=0;a=r)return i[a];return i[a-1]}else for(a=i.length,r+=o;a--;)if(i[a]<=r)return i[a];return i[0]}:function(r,n,o){o===void 0&&(o=.001);var a=t(r);return!n||Math.abs(a-r)i&&(r*=t/100),e=e.substr(0,i-1)),e=r+(e in Ws?Ws[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Hs=function(e,t,i,r,n,o,a,l){var c=n.startColor,u=n.endColor,d=n.fontSize,h=n.indent,f=n.fontWeight,m=ae.createElement("div"),p=Ui(i)||Ei(i,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,_=p?te:i,w=e.indexOf("start")!==-1,y=w?c:u,v="border-color:"+y+";font-size:"+d+";color:"+y+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return v+="position:"+((g||l)&&p?"fixed;":"absolute;"),(g||l||!p)&&(v+=(r===Pe?ho:po)+":"+(o+parseFloat(h))+"px;"),a&&(v+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),m._isStart=w,m.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),m.style.cssText=v,m.innerText=t||t===0?e+"-"+t:e,_.children[0]?_.insertBefore(m,_.children[0]):_.appendChild(m),m._offset=m["offset"+r.op.d2],Xs(m,0,r,w),m},Xs=function(e,t,i,r){var n={display:"block"},o=i[r?"os2":"p2"],a=i[r?"p2":"os2"];e._isFlipped=r,n[i.a+"Percent"]=r?-100:0,n[i.a]=r?"1px":0,n["border"+o+Pr]=1,n["border"+a+Pr]=0,n[i.p]=t+"px",D.set(e,n)},X=[],_o={},ls,kl=function(){return He()-Rt>34&&(ls||(ls=requestAnimationFrame(ci)))},Mr=function(){(!nt||!nt.isPressed||nt.startX>te.clientWidth)&&($.cache++,nt?ls||(ls=requestAnimationFrame(ci)):ci(),Rt||Ji("scrollStart"),Rt=He())},wo=function(){gl=U.innerWidth,ml=U.innerHeight},cs=function(e){$.cache++,(e===!0||!qe&&!pl&&!ae.fullscreenElement&&!ae.webkitFullscreenElement&&(!so||gl!==U.innerWidth||Math.abs(U.innerHeight-ml)>U.innerHeight*.25))&&Ds.restart(!0)},Ki={},Hu=[],Ol=function s(){return Le(Y,"scrollEnd",s)||tr(!0)},Ji=function(e){return Ki[e]&&Ki[e].map(function(t){return t()})||Hu},Pt=[],Ll=function(e){for(var t=0;tn,a=r._startClamp&&r.start>=n;(o||a)&&r.setPositions(a?n-1:r.start,o?Math.max(a?n:r.start+1,n):r.end,!0)}),Rl(!1),lo=0,i.forEach(function(r){return r&&r.render&&r.render(-1)}),$.forEach(function(r){Xe(r)&&(r.smooth&&requestAnimationFrame(function(){return r.target.style.scrollBehavior="smooth"}),r.rec&&r(r.rec))}),Dl(oo,1),Ds.pause(),er++,ot=2,ci(2),X.forEach(function(r){return Xe(r.vars.onRefresh)&&r.vars.onRefresh(r)}),ot=Y.isRefreshing=!1,Ji("refresh")},yo=0,$s=1,us,ci=function(e){if(e===2||!ot&&!Rs){Y.isUpdating=!0,us&&us.update(0);var t=X.length,i=He(),r=i-uo>=50,n=t&&X[0].scroll();if($s=yo>n?-1:1,ot||(yo=n),r&&(Rt&&!Is&&i-Rt>200&&(Rt=0,Ji("scrollEnd")),Jr=uo,uo=i),$s<0){for(st=t;st-- >0;)X[st]&&X[st].update(0,r);$s=1}else for(st=0;st20),i-=i-A}if(m&&(l[m]=e||-.001,e<0&&(e=0)),o){var P=e+i,M=o._isStart;g="scroll"+r.d2,Xs(o,P,r,M&&P>20||!M&&(d?Math.max(te[g],At[g]):o.parentNode[g])<=P+1),d&&(c=li(a),d&&(o.style[r.op.p]=c[r.op.p]-r.op.m-o._offset+Me))}return f&&w&&(g=li(w),f.seek(h),_=li(w),f._caScrollDist=g[r.p]-_[r.p],e=e/f._caScrollDist*h),f&&f.seek(p),f?e:Math.round(e)},Qu=/(webkit|moz|length|cssText|inset)/i,Bl=function(e,t,i,r){if(e.parentNode!==t){var n=e.style,o,a;if(t===te){e._stOrig=n.cssText,a=Bt(e);for(o in a)!+o&&!Qu.test(o)&&a[o]&&typeof n[o]=="string"&&o!=="0"&&(n[o]=a[o]);n.top=i,n.left=r}else n.cssText=e._stOrig;D.core.getCache(e).uncache=1,t.appendChild(e)}},Nl=function(e,t,i){var r=t,n=r;return function(o){var a=Math.round(e());return a!==r&&a!==n&&Math.abs(a-r)>3&&Math.abs(a-n)>3&&(o=a,i&&i()),n=r,r=Math.round(o),r}},Zs=function(e,t,i){var r={};r[t.p]="+="+i,D.set(e,r)},Gl=function(e,t){var i=Pi(e,t),r="_scroll"+t.p2,n=function o(a,l,c,u,d){var h=o.tween,f=l.onComplete,m={};c=c||i();var p=Nl(i,c,function(){h.kill(),o.tween=0});return d=u&&d||0,u=u||a-c,h&&h.kill(),l[r]=a,l.inherit=!1,l.modifiers=m,m[r]=function(){return p(c+u*h.ratio+d*h.ratio*h.ratio)},l.onUpdate=function(){$.cache++,o.tween&&ci()},l.onComplete=function(){o.tween=0,f&&f.call(h)},h=o.tween=D.to(e,l),h};return e[r]=i,i.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},Oe(e,"wheel",i.wheelHandler),Y.isTouch&&Oe(e,"touchmove",i.wheelHandler),n},Y=function(){function s(t,i){br||s.register(D)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),no(this),this.init(t,i)}var e=s.prototype;return e.init=function(i,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!es){this.update=this.refresh=this.kill=Jt;return}i=Pl(Et(i)||is(i)||i.nodeType?{trigger:i}:i,Vs);var n=i,o=n.onUpdate,a=n.toggleClass,l=n.id,c=n.onToggle,u=n.onRefresh,d=n.scrub,h=n.trigger,f=n.pin,m=n.pinSpacing,p=n.invalidateOnRefresh,g=n.anticipatePin,_=n.onScrubComplete,w=n.onSnapComplete,y=n.once,v=n.snap,x=n.pinReparent,A=n.pinSpacer,b=n.containerAnimation,P=n.fastScrollEnd,M=n.preventOverlaps,T=i.horizontal||i.containerAnimation&&i.horizontal!==!1?rt:Pe,k=!d&&d!==0,C=mt(i.scroller||U),R=D.core.getCache(C),G=Ui(C),V=("pinType"in i?i.pinType:Ei(C,"pinType")||G&&"fixed")==="fixed",L=[i.onEnter,i.onLeave,i.onEnterBack,i.onLeaveBack],z=k&&i.toggleActions.split(" "),N="markers"in i?i.markers:Vs.markers,Z=G?0:parseFloat(Bt(C)["border"+T.p2+Pr])||0,S=this,se=i.onRefreshInit&&function(){return i.onRefreshInit(S)},Fe=Gu(C,G,T),Vt=Yu(C,G),pe=0,Be=0,$e=0,Ae=Pi(C,T),lt,Ue,Oi,ct,gt,J,ve,_t,Ct,E,kt,di,Li,me,fi,Di,sr,De,zi,ye,Wt,Gt,hi,ds,Ee,an,pi,kr,Or,Ii,nr,j,or,qt,Ht,Xt,ar,Lr,mi;if(S._startClamp=S._endClamp=!1,S._dir=T,g*=45,S.scroller=C,S.scroll=b?b.time.bind(b):Ae,ct=Ae(),S.vars=i,r=r||i.animation,"refreshPriority"in i&&(hl=1,i.refreshPriority===-9999&&(us=S)),R.tweenScroll=R.tweenScroll||{top:Gl(C,Pe),left:Gl(C,rt)},S.tweenTo=lt=R.tweenScroll[T.p],S.scrubDuration=function(O){or=is(O)&&O,or?j?j.duration(O):j=D.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:or,paused:!0,onComplete:function(){return _&&_(S)}}):(j&&j.progress(1).kill(),j=0)},r&&(r.vars.lazy=!1,r._initted&&!S.isReverted||r.vars.immediateRender!==!1&&i.immediateRender!==!1&&r.duration()&&r.render(0,!0,!0),S.animation=r.pause(),r.scrollTrigger=S,S.scrubDuration(d),Ii=0,l||(l=r.vars.id)),v&&((!ji(v)||v.push)&&(v={snapTo:v}),"scrollBehavior"in te.style&&D.set(G?[te,At]:C,{scrollBehavior:"auto"}),$.forEach(function(O){return Xe(O)&&O.target===(G?ae.scrollingElement||At:C)&&(O.smooth=!1)}),Oi=Xe(v.snapTo)?v.snapTo:v.snapTo==="labels"?Wu(r):v.snapTo==="labelsDirectional"?qu(r):v.directional!==!1?function(O,W){return go(v.snapTo)(O,He()-Be<500?0:W.direction)}:D.utils.snap(v.snapTo),qt=v.duration||{min:.1,max:2},qt=ji(qt)?Kr(qt.min,qt.max):Kr(qt,qt),Ht=D.delayedCall(v.delay||or/2||.1,function(){var O=Ae(),W=He()-Be<500,F=lt.tween;if((W||Math.abs(S.getVelocity())<10)&&!F&&!Is&&pe!==O){var q=(O-J)/me,ze=r&&!k?r.totalProgress():q,K=W?0:(ze-nr)/(He()-Jr)*1e3||0,Se=D.utils.clamp(-q,1-q,Er(K/2)*K/.185),je=q+(v.inertia===!1?0:Se),ge,ce,ne=v,$t=ne.onStart,fe=ne.onInterrupt,Ot=ne.onComplete;if(ge=Oi(je,S),is(ge)||(ge=je),ce=Math.max(0,Math.round(J+ge*me)),O<=ve&&O>=J&&ce!==O){if(F&&!F._initted&&F.data<=Er(ce-O))return;v.inertia===!1&&(Se=ge-q),lt(ce,{duration:qt(Er(Math.max(Er(je-ze),Er(ge-ze))*.185/K/.05||0)),ease:v.ease||"power3",data:Er(ce-O),onInterrupt:function(){return Ht.restart(!0)&&fe&&fe(S)},onComplete:function(){S.update(),pe=Ae(),r&&!k&&(j?j.resetTo("totalProgress",ge,r._tTime/r._tDur):r.progress(ge)),Ii=nr=r&&!k?r.totalProgress():S.progress,w&&w(S),Ot&&Ot(S)}},O,Se*me,ce-O-Se*me),$t&&$t(S,lt.tween)}}else S.isActive&&pe!==O&&Ht.restart(!0)}).pause()),l&&(_o[l]=S),h=S.trigger=mt(h||f!==!0&&f),mi=h&&h._gsap&&h._gsap.stRevert,mi&&(mi=mi(S)),f=f===!0?h:mt(f),Et(a)&&(a={targets:h,className:a}),f&&(m===!1||m===Ft||(m=!m&&f.parentNode&&f.parentNode.style&&Bt(f.parentNode).display==="flex"?!1:Te),S.pin=f,Ue=D.core.getCache(f),Ue.spacer?fi=Ue.pinState:(A&&(A=mt(A),A&&!A.nodeType&&(A=A.current||A.nativeElement),Ue.spacerIsNative=!!A,A&&(Ue.spacerState=js(A))),Ue.spacer=De=A||ae.createElement("div"),De.classList.add("pin-spacer"),l&&De.classList.add("pin-spacer-"+l),Ue.pinState=fi=js(f)),i.force3D!==!1&&D.set(f,{force3D:!0}),S.spacer=De=Ue.spacer,Or=Bt(f),ds=Or[m+T.os2],ye=D.getProperty(f),Wt=D.quickSetter(f,T.a,Me),xo(f,De,Or),sr=js(f)),N){di=ji(N)?Pl(N,Cl):Cl,E=Hs("scroller-start",l,C,T,di,0),kt=Hs("scroller-end",l,C,T,di,0,E),zi=E["offset"+T.op.d2];var fs=mt(Ei(C,"content")||C);_t=this.markerStart=Hs("start",l,fs,T,di,zi,0,b),Ct=this.markerEnd=Hs("end",l,fs,T,di,zi,0,b),b&&(Lr=D.quickSetter([_t,Ct],T.a,Me)),!V&&!(Kt.length&&Ei(C,"fixedMarkers")===!0)&&(Vu(G?te:C),D.set([E,kt],{force3D:!0}),an=D.quickSetter(E,T.a,Me),kr=D.quickSetter(kt,T.a,Me))}if(b){var H=b.vars.onUpdate,B=b.vars.onUpdateParams;b.eventCallback("onUpdate",function(){S.update(0,0,1),H&&H.apply(b,B||[])})}if(S.previous=function(){return X[X.indexOf(S)-1]},S.next=function(){return X[X.indexOf(S)+1]},S.revert=function(O,W){if(!W)return S.kill(!0);var F=O!==!1||!S.enabled,q=qe;F!==S.isReverted&&(F&&(Xt=Math.max(Ae(),S.scroll.rec||0),$e=S.progress,ar=r&&r.progress()),_t&&[_t,Ct,E,kt].forEach(function(ze){return ze.style.display=F?"none":"block"}),F&&(qe=S,S.update(F)),f&&(!x||!S.isActive)&&(F?$u(f,De,fi):xo(f,De,Bt(f),Ee)),F||S.update(F),qe=q,S.isReverted=F)},S.refresh=function(O,W,F,q){if(!((qe||!S.enabled)&&!W)){if(f&&O&&Rt){Oe(s,"scrollEnd",Ol);return}!ot&&se&&se(S),qe=S,lt.tween&&!F&&(lt.tween.kill(),lt.tween=0),j&&j.pause(),p&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren&&r.getChildren(!0,!0,!1).forEach(function(Ri){return Ri.vars.immediateRender&&Ri.render(0,!0,!0)})),S.isReverted||S.revert(!0,!0),S._subPinOffset=!1;var ze=Fe(),K=Vt(),Se=b?b.duration():ei(C,T),je=me<=.01||!me,ge=0,ce=q||0,ne=ji(F)?F.end:i.end,$t=i.endTrigger||h,fe=ji(F)?F.start:i.start||(i.start===0||!h?0:f?"0 0":"0 100%"),Ot=S.pinnedContainer=i.pinnedContainer&&mt(i.pinnedContainer,S),ti=h&&Math.max(0,X.indexOf(S))||0,Ne=ti,Ge,Qe,lr,ln,Ze,Ce,ii,Bo,yc,hs,ri,ps,cn;for(N&&ji(F)&&(ps=D.getProperty(E,T.p),cn=D.getProperty(kt,T.p));Ne-- >0;)Ce=X[Ne],Ce.end||Ce.refresh(0,1)||(qe=S),ii=Ce.pin,ii&&(ii===h||ii===f||ii===Ot)&&!Ce.isReverted&&(hs||(hs=[]),hs.unshift(Ce),Ce.revert(!0,!0)),Ce!==X[Ne]&&(ti--,Ne--);for(Xe(fe)&&(fe=fe(S)),fe=_l(fe,"start",S),J=Fl(fe,h,ze,T,Ae(),_t,E,S,K,Z,V,Se,b,S._startClamp&&"_startClamp")||(f?-.001:0),Xe(ne)&&(ne=ne(S)),Et(ne)&&!ne.indexOf("+=")&&(~ne.indexOf(" ")?ne=(Et(fe)?fe.split(" ")[0]:"")+ne:(ge=qs(ne.substr(2),ze),ne=Et(fe)?fe:(b?D.utils.mapRange(0,b.duration(),b.scrollTrigger.start,b.scrollTrigger.end,J):J)+ge,$t=h)),ne=_l(ne,"end",S),ve=Math.max(J,Fl(ne||($t?"100% 0":Se),$t,ze,T,Ae()+ge,Ct,kt,S,K,Z,V,Se,b,S._endClamp&&"_endClamp"))||-.001,ge=0,Ne=ti;Ne--;)Ce=X[Ne],ii=Ce.pin,ii&&Ce.start-Ce._pinPush<=J&&!b&&Ce.end>0&&(Ge=Ce.end-(S._startClamp?Math.max(0,Ce.start):Ce.start),(ii===h&&Ce.start-Ce._pinPush=ei(C,T)))Ge=Bt(f),ln=T===Pe,lr=Ae(),Gt=parseFloat(ye(T.a))+ce,!Se&&ve>1&&(ri=(G?ae.scrollingElement||At:C).style,ri={style:ri,value:ri["overflow"+T.a.toUpperCase()]},G&&Bt(te)["overflow"+T.a.toUpperCase()]!=="scroll"&&(ri.style["overflow"+T.a.toUpperCase()]="scroll")),xo(f,De,Ge),sr=js(f),Qe=li(f,!0),Bo=V&&Pi(C,ln?rt:Pe)(),m?(Ee=[m+T.os2,me+ce+Me],Ee.t=De,Ne=m===Te?Ns(f,T)+me+ce:0,Ne&&(Ee.push(T.d,Ne+Me),De.style.flexBasis!=="auto"&&(De.style.flexBasis=Ne+Me)),Cr(Ee),Ot&&X.forEach(function(Ri){Ri.pin===Ot&&Ri.vars.pinSpacing!==!1&&(Ri._subPinOffset=!0)}),V&&Ae(Xt)):(Ne=Ns(f,T),Ne&&De.style.flexBasis!=="auto"&&(De.style.flexBasis=Ne+Me)),V&&(Ze={top:Qe.top+(ln?lr-J:Bo)+Me,left:Qe.left+(ln?Bo:lr-J)+Me,boxSizing:"border-box",position:"fixed"},Ze[Qi]=Ze["max"+Pr]=Math.ceil(Qe.width)+Me,Ze[Zi]=Ze["max"+mo]=Math.ceil(Qe.height)+Me,Ze[Ft]=Ze[Ft+os]=Ze[Ft+ss]=Ze[Ft+as]=Ze[Ft+ns]="0",Ze[Te]=Ge[Te],Ze[Te+os]=Ge[Te+os],Ze[Te+ss]=Ge[Te+ss],Ze[Te+as]=Ge[Te+as],Ze[Te+ns]=Ge[Te+ns],Di=ju(fi,Ze,x),ot&&Ae(0)),r?(yc=r._initted,ro(1),r.render(r.duration(),!0,!0),hi=ye(T.a)-Gt+me+ce,pi=Math.abs(me-hi)>1,V&&pi&&Di.splice(Di.length-2,2),r.render(0,!0,!0),yc||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),ro(0)):hi=me,ri&&(ri.value?ri.style["overflow"+T.a.toUpperCase()]=ri.value:ri.style.removeProperty("overflow-"+T.a));else if(h&&Ae()&&!b)for(Qe=h.parentNode;Qe&&Qe!==te;)Qe._pinOffset&&(J-=Qe._pinOffset,ve-=Qe._pinOffset),Qe=Qe.parentNode;hs&&hs.forEach(function(Ri){return Ri.revert(!1,!0)}),S.start=J,S.end=ve,ct=gt=ot?Xt:Ae(),!b&&!ot&&(ct0?X.slice(0,W).reverse():X.slice(W+1);return(Et(O)?F.filter(function(q){return q.vars.preventOverlaps===O}):F).filter(function(q){return S.direction>0?q.end<=J:q.start>=ve})},S.update=function(O,W,F){if(!(b&&!F&&!O)){var q=ot===!0?Xt:S.scroll(),ze=O?0:(q-J)/me,K=ze<0?0:ze>1?1:ze||0,Se=S.progress,je,ge,ce,ne,$t,fe,Ot,ti;if(W&&(gt=ct,ct=b?Ae():q,v&&(nr=Ii,Ii=r&&!k?r.totalProgress():K)),g&&f&&!qe&&!Fs&&Rt&&(!K&&Jq+(q-gt)/(He()-Jr)*g&&(K=.9999)),K!==Se&&S.enabled){if(je=S.isActive=!!K&&K<1,ge=!!Se&&Se<1,fe=je!==ge,$t=fe||!!K!=!!Se,S.direction=K>Se?1:-1,S.progress=K,$t&&!qe&&(ce=K&&!Se?0:K===1?1:Se===1?2:3,k&&(ne=!fe&&z[ce+1]!=="none"&&z[ce+1]||z[ce],ti=r&&(ne==="complete"||ne==="reset"||ne in r))),M&&(fe||ti)&&(ti||d||!r)&&(Xe(M)?M(S):S.getTrailing(M).forEach(function(lr){return lr.endAnimation()})),k||(j&&!qe&&!Fs?(j._dp._time-j._start!==j._time&&j.render(j._dp._time-j._start),j.resetTo?j.resetTo("totalProgress",K,r._tTime/r._tDur):(j.vars.totalProgress=K,j.invalidate().restart())):r&&r.totalProgress(K,!!(qe&&(Be||O)))),f){if(O&&m&&(De.style[m+T.os2]=ds),!V)Wt(ts(Gt+hi*K));else if($t){if(Ot=!O&&K>Se&&ve+1>q&&q+1>=ei(C,T),x)if(!O&&(je||Ot)){var Ne=li(f,!0),Ge=q-J;Bl(f,te,Ne.top+(T===Pe?Ge:0)+Me,Ne.left+(T===Pe?0:Ge)+Me)}else Bl(f,De);Cr(je||Ot?Di:sr),pi&&K<1&&je||Wt(Gt+(K===1&&!Ot?hi:0))}}v&&!lt.tween&&!qe&&!Fs&&Ht.restart(!0),a&&(fe||y&&K&&(K<1||!co))&&Zr(a.targets).forEach(function(lr){return lr.classList[je||y?"add":"remove"](a.className)}),o&&!k&&!O&&o(S),$t&&!qe?(k&&(ti&&(ne==="complete"?r.pause().totalProgress(1):ne==="reset"?r.restart(!0).pause():ne==="restart"?r.restart(!0):r[ne]()),o&&o(S)),(fe||!co)&&(c&&fe&&fo(S,c),L[ce]&&fo(S,L[ce]),y&&(K===1?S.kill(!1,1):L[ce]=0),fe||(ce=K===1?1:3,L[ce]&&fo(S,L[ce]))),P&&!je&&Math.abs(S.getVelocity())>(is(P)?P:2500)&&(rs(S.callbackAnimation),j?j.progress(1):rs(r,ne==="reverse"?1:!K,1))):k&&o&&!qe&&o(S)}if(kr){var Qe=b?q/b.duration()*(b._caScrollDist||0):q;an(Qe+(E._isFlipped?1:0)),kr(Qe)}Lr&&Lr(-q/b.duration()*(b._caScrollDist||0))}},S.enable=function(O,W){S.enabled||(S.enabled=!0,Oe(C,"resize",cs),G||Oe(C,"scroll",Mr),se&&Oe(s,"refreshInit",se),O!==!1&&(S.progress=$e=0,ct=gt=pe=Ae()),W!==!1&&S.refresh())},S.getTween=function(O){return O&<?lt.tween:j},S.setPositions=function(O,W,F,q){if(b){var ze=b.scrollTrigger,K=b.duration(),Se=ze.end-ze.start;O=ze.start+Se*O/K,W=ze.start+Se*W/K}S.refresh(!1,!1,{start:wl(O,F&&!!S._startClamp),end:wl(W,F&&!!S._endClamp)},q),S.update()},S.adjustPinSpacing=function(O){if(Ee&&O){var W=Ee.indexOf(T.d)+1;Ee[W]=parseFloat(Ee[W])+O+Me,Ee[1]=parseFloat(Ee[1])+O+Me,Cr(Ee)}},S.disable=function(O,W){if(S.enabled&&(O!==!1&&S.revert(!0,!0),S.enabled=S.isActive=!1,W||j&&j.pause(),Xt=0,Ue&&(Ue.uncache=1),se&&Le(s,"refreshInit",se),Ht&&(Ht.pause(),lt.tween&<.tween.kill()&&(lt.tween=0)),!G)){for(var F=X.length;F--;)if(X[F].scroller===C&&X[F]!==S)return;Le(C,"resize",cs),G||Le(C,"scroll",Mr)}},S.kill=function(O,W){S.disable(O,W),j&&!W&&j.kill(),l&&delete _o[l];var F=X.indexOf(S);F>=0&&X.splice(F,1),F===st&&$s>0&&st--,F=0,X.forEach(function(q){return q.scroller===S.scroller&&(F=1)}),F||ot||(S.scroll.rec=0),r&&(r.scrollTrigger=null,O&&r.revert({kill:!1}),W||r.kill()),_t&&[_t,Ct,E,kt].forEach(function(q){return q.parentNode&&q.parentNode.removeChild(q)}),us===S&&(us=0),f&&(Ue&&(Ue.uncache=1),F=0,X.forEach(function(q){return q.pin===f&&F++}),F||(Ue.spacer=0)),i.onKill&&i.onKill(S)},X.push(S),S.enable(!1,!1),mi&&mi(S),r&&r.add&&!me){var ee=S.update;S.update=function(){S.update=ee,$.cache++,J||ve||S.refresh()},D.delayedCall(.01,S.update),me=.01,J=ve=0}else S.refresh();f&&Xu()},s.register=function(i){return br||(D=i||xl(),Sl()&&window.document&&s.enable(),br=es),br},s.defaults=function(i){if(i)for(var r in i)Vs[r]=i[r];return Vs},s.disable=function(i,r){es=0,X.forEach(function(o){return o[r?"kill":"disable"](i)}),Le(U,"wheel",Mr),Le(ae,"scroll",Mr),clearInterval(zs),Le(ae,"touchcancel",Jt),Le(te,"touchstart",Jt),Gs(Le,ae,"pointerdown,touchstart,mousedown",vl),Gs(Le,ae,"pointerup,touchend,mouseup",yl),Ds.kill(),Bs(Le);for(var n=0;n<$.length;n+=3)Ys(Le,$[n],$[n+1]),Ys(Le,$[n],$[n+2])},s.enable=function(){if(U=window,ae=document,At=ae.documentElement,te=ae.body,D&&(Zr=D.utils.toArray,Kr=D.utils.clamp,no=D.core.context||Jt,ro=D.core.suppressOverwrites||Jt,oo=U.history.scrollRestoration||"auto",yo=U.pageYOffset||0,D.core.globals("ScrollTrigger",s),te)){es=1,Ar=document.createElement("div"),Ar.style.height="100vh",Ar.style.position="absolute",Il(),Nu(),we.register(D),s.isTouch=we.isTouch,Mi=we.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),so=we.isTouch===1,Oe(U,"wheel",Mr),to=[U,ae,At,te],D.matchMedia?(s.matchMedia=function(c){var u=D.matchMedia(),d;for(d in c)u.add(d,c[d]);return u},D.addEventListener("matchMediaInit",function(){return vo()}),D.addEventListener("matchMediaRevert",function(){return Ll()}),D.addEventListener("matchMedia",function(){tr(0,1),Ji("matchMedia")}),D.matchMedia().add("(orientation: portrait)",function(){return wo(),wo})):console.warn("Requires GSAP 3.11.0 or later"),wo(),Oe(ae,"scroll",Mr);var i=te.hasAttribute("style"),r=te.style,n=r.borderTopStyle,o=D.core.Animation.prototype,a,l;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",a=li(te),Pe.m=Math.round(a.top+Pe.sc())||0,rt.m=Math.round(a.left+rt.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),i||(te.setAttribute("style",""),te.removeAttribute("style")),zs=setInterval(kl,250),D.delayedCall(.5,function(){return Fs=0}),Oe(ae,"touchcancel",Jt),Oe(te,"touchstart",Jt),Gs(Oe,ae,"pointerdown,touchstart,mousedown",vl),Gs(Oe,ae,"pointerup,touchend,mouseup",yl),io=D.utils.checkPrefix("transform"),Us.push(io),br=He(),Ds=D.delayedCall(.2,tr).pause(),Tr=[ae,"visibilitychange",function(){var c=U.innerWidth,u=U.innerHeight;ae.hidden?(dl=c,fl=u):(dl!==c||fl!==u)&&cs()},ae,"DOMContentLoaded",tr,U,"load",tr,U,"resize",cs],Bs(Oe),X.forEach(function(c){return c.enable(0,1)}),l=0;l<$.length;l+=3)Ys(Le,$[l],$[l+1]),Ys(Le,$[l],$[l+2])}},s.config=function(i){"limitCallbacks"in i&&(co=!!i.limitCallbacks);var r=i.syncInterval;r&&clearInterval(zs)||(zs=r)&&setInterval(kl,r),"ignoreMobileResize"in i&&(so=s.isTouch===1&&i.ignoreMobileResize),"autoRefreshEvents"in i&&(Bs(Le)||Bs(Oe,i.autoRefreshEvents||"none"),pl=(i.autoRefreshEvents+"").indexOf("resize")===-1)},s.scrollerProxy=function(i,r){var n=mt(i),o=$.indexOf(n),a=Ui(n);~o&&$.splice(o,a?6:2),r&&(a?Kt.unshift(U,r,te,r,At,r):Kt.unshift(n,r))},s.clearMatchMedia=function(i){X.forEach(function(r){return r._ctx&&r._ctx.query===i&&r._ctx.kill(!0,!0)})},s.isInViewport=function(i,r,n){var o=(Et(i)?mt(i):i).getBoundingClientRect(),a=o[n?Qi:Zi]*r||0;return n?o.right-a>0&&o.left+a0&&o.top+a=0&&Pt.splice(t,5),Pt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),D.core.getCache(e),no())}}):Pt},Y.revert=function(s,e){return vo(!s,e)},Y.create=function(s,e){return new Y(s,e)},Y.refresh=function(s){return s?cs(!0):(br||Y.register())&&tr(!0)},Y.update=function(s){return++$.cache&&ci(s===!0?2:0)},Y.clearScrollMemory=Dl,Y.maxScroll=function(s,e){return ei(s,e?rt:Pe)},Y.getScrollFunc=function(s,e){return Pi(mt(s),e?rt:Pe)},Y.getById=function(s){return _o[s]},Y.getAll=function(){return X.filter(function(s){return s.vars.id!=="ScrollSmoother"})},Y.isScrolling=function(){return!!Rt},Y.snapDirectional=go,Y.addEventListener=function(s,e){var t=Ki[s]||(Ki[s]=[]);~t.indexOf(e)||t.push(e)},Y.removeEventListener=function(s,e){var t=Ki[s],i=t&&t.indexOf(e);i>=0&&t.splice(i,1)},Y.batch=function(s,e){var t=[],i={},r=e.interval||.016,n=e.batchMax||1e9,o=function(c,u){var d=[],h=[],f=D.delayedCall(r,function(){u(d,h),d=[],h=[]}).pause();return function(m){d.length||f.restart(!0),d.push(m.trigger),h.push(m),n<=d.length&&f.progress(1)}},a;for(a in e)i[a]=a.substr(0,2)==="on"&&Xe(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return Xe(n)&&(n=n(),Oe(Y,"refresh",function(){return n=e.batchMax()})),Zr(s).forEach(function(l){var c={};for(a in i)c[a]=i[a];c.trigger=l,t.push(Y.create(c))}),t};var Yl=function(e,t,i,r){return t>r?e(r):t<0&&e(0),i>r?(r-t)/(i-t):i<0?t/(t-i):1},bo=function s(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(we.isTouch?" pinch-zoom":""):"none",e===At&&s(te,t)},Ks={auto:1,scroll:1},Zu=function(e){var t=e.event,i=e.target,r=e.axis,n=(t.changedTouches?t.changedTouches[0]:t).target,o=n._gsap||D.core.getCache(n),a=He(),l;if(!o._isScrollT||a-o._isScrollT>2e3){for(;n&&n!==te&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(Ks[(l=Bt(n)).overflowY]||Ks[l.overflowX]));)n=n.parentNode;o._isScroll=n&&n!==i&&!Ui(n)&&(Ks[(l=Bt(n)).overflowY]||Ks[l.overflowX]),o._isScrollT=a}(o._isScroll||r==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},Vl=function(e,t,i,r){return we.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r=r&&Zu,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return i&&Oe(ae,we.eventTypes[0],ql,!1,!0)},onDisable:function(){return Le(ae,we.eventTypes[0],ql,!0)}})},Ku=/(input|label|select|textarea)/i,Wl,ql=function(e){var t=Ku.test(e.target.tagName);(t||Wl)&&(e._gsapAllow=!0,Wl=t)},Ju=function(e){ji(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,i=t.normalizeScrollX,r=t.momentum,n=t.allowNestedScroll,o=t.onRelease,a,l,c=mt(e.target)||At,u=D.core.globals().ScrollSmoother,d=u&&u.get(),h=Mi&&(e.content&&mt(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=Pi(c,Pe),m=Pi(c,rt),p=1,g=(we.isTouch&&U.visualViewport?U.visualViewport.scale*U.visualViewport.width:U.outerWidth)/U.innerWidth,_=0,w=Xe(r)?function(){return r(a)}:function(){return r||2.8},y,v,x=Vl(c,e.type,!0,n),A=function(){return v=!1},b=Jt,P=Jt,M=function(){l=ei(c,Pe),P=Kr(Mi?1:0,l),i&&(b=Kr(0,ei(c,rt))),y=er},T=function(){h._gsap.y=ts(parseFloat(h._gsap.y)+f.offset)+"px",h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(h._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},k=function(){if(v){requestAnimationFrame(A);var N=ts(a.deltaY/2),Z=P(f.v-N);if(h&&Z!==f.v+f.offset){f.offset=Z-f.v;var S=ts((parseFloat(h&&h._gsap.y)||0)-f.offset);h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+S+", 0, 1)",h._gsap.y=S+"px",f.cacheID=$.cache,ci()}return!0}f.offset&&T(),v=!0},C,R,G,V,L=function(){M(),C.isActive()&&C.vars.scrollY>l&&(f()>l?C.progress(1)&&f(l):C.resetTo("scrollY",l))};return h&&D.set(h,{y:"+=0"}),e.ignoreCheck=function(z){return Mi&&z.type==="touchmove"&&k()||p>1.05&&z.type!=="touchstart"||a.isGesturing||z.touches&&z.touches.length>1},e.onPress=function(){v=!1;var z=p;p=ts((U.visualViewport&&U.visualViewport.scale||1)/g),C.pause(),z!==p&&bo(c,p>1.01?!0:i?!1:"x"),R=m(),G=f(),M(),y=er},e.onRelease=e.onGestureStart=function(z,N){if(f.offset&&T(),!N)V.restart(!0);else{$.cache++;var Z=w(),S,se;i&&(S=m(),se=S+Z*.05*-z.velocityX/.227,Z*=Yl(m,S,se,ei(c,rt)),C.vars.scrollX=b(se)),S=f(),se=S+Z*.05*-z.velocityY/.227,Z*=Yl(f,S,se,ei(c,Pe)),C.vars.scrollY=P(se),C.invalidate().duration(Z).play(.01),(Mi&&C.vars.scrollY>=l||S>=l-1)&&D.to({},{onUpdate:L,duration:Z})}o&&o(z)},e.onWheel=function(){C._ts&&C.pause(),He()-_>1e3&&(y=0,_=He())},e.onChange=function(z,N,Z,S,se){if(er!==y&&M(),N&&i&&m(b(S[2]===N?R+(z.startX-z.x):m()+N-S[1])),Z){f.offset&&T();var Fe=se[2]===Z,Vt=Fe?G+z.startY-z.y:f()+Z-se[1],pe=P(Vt);Fe&&Vt!==pe&&(G+=pe-Vt),f(pe)}(Z||N)&&ci()},e.onEnable=function(){bo(c,i?!1:"x"),Y.addEventListener("refresh",L),Oe(U,"resize",L),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=m.smooth=!1),x.enable()},e.onDisable=function(){bo(c,!0),Le(U,"resize",L),Y.removeEventListener("refresh",L),x.kill()},e.lockAxis=e.lockAxis!==!1,a=new we(e),a.iOS=Mi,Mi&&!f()&&f(1),Mi&&D.ticker.add(Jt),V=a._dc,C=D.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:i?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Nl(f,f(),function(){return C.pause()})},onUpdate:ci,onComplete:V.vars.onComplete}),a};Y.sort=function(s){if(Xe(s))return X.sort(s);var e=U.pageYOffset||0;return Y.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+U.innerHeight}),X.sort(s||function(t,i){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((i.vars.containerAnimation?1e6:i._sortY)+(i.vars.refreshPriority||0)*-1e6)})},Y.observe=function(s){return new we(s)},Y.normalizeScroll=function(s){if(typeof s=="undefined")return nt;if(s===!0&&nt)return nt.enable();if(s===!1){nt&&nt.kill(),nt=s;return}var e=s instanceof we?s:Ju(s);return nt&&nt.target===e.target&&nt.kill(),Ui(e.target)&&(nt=e),e},Y.core={_getVelocityProp:eo,_inputObserver:Vl,_scrollers:$,_proxies:Kt,bridge:{ss:function(){Rt||Ji("scrollStart"),Rt=He()},ref:function(){return qe}}},xl()&&D.registerPlugin(Y),et.registerPlugin(Y);function Hl(){document.querySelectorAll(".marquee-animation.is-animated").forEach(e=>{e.querySelectorAll('[data-animation-type="lottie"]').forEach(i=>{if(i.setAttribute("data-autoplay","0"),i.setAttribute("data-is-ix2-target","0"),i.setAttribute("data-autoplay-on-scroll","0"),window.Webflow&&window.Webflow.require){const r=window.Webflow.require("lottie").lottie.getRegisteredAnimations().find(n=>n.wrapper===i);r&&(r.pause(),r.goToAndStop(0))}})})}function ed(){const s=navigator.userAgent,e=/^((?!chrome|android).)*safari/i.test(s),t=/iPhone|iPad|iPod|Android/i.test(s);return e&&!t}window.addEventListener("DOMContentLoaded",()=>{if(ed())return;To(),Ao();const s=Array.from(document.querySelectorAll("video.swiper-video")),e=3;let t=0;function i(n,o){setTimeout(()=>{t{t--},{once:!0})):i(n,o+300)},o)}s.filter(n=>n.dataset.loadOrder).sort((n,o)=>Number(n.dataset.loadOrder)-Number(o.dataset.loadOrder)).forEach((n,o)=>{const a=Number(n.dataset.loadOrder||0);if(a===1||a===2)n.setAttribute("preload","auto"),n.load();else{const l=500+o*100;i(n,l)}})});function Xl(s,e){var r;const t=s.querySelector("video");if(t)if(t.setAttribute("muted",""),t.setAttribute("playsinline",""),t.setAttribute("webkit-playsinline",""),t.muted=!0,t.defaultMuted=!0,t.volume=0,t.dataset.listenerAdded||(t.addEventListener("canplay",()=>{t.classList.add("ready")},{once:!0}),t.dataset.listenerAdded="true"),e){const n=()=>{t.currentTime=0,t.play()};if(t.readyState>=3)n();else{const o=()=>{t.removeEventListener("canplaythrough",o),n()};t.addEventListener("canplaythrough",o,{once:!0}),t.load()}}else try{t.pause(),t.currentTime=0,t.classList.remove("ready")}catch{}const i=s.querySelector('[data-animation-type="lottie"]');if(i&&((r=window.Webflow)==null?void 0:r.require)){const n=window.Webflow.require("lottie").lottie.getRegisteredAnimations().find(o=>o.wrapper===i);n&&(e?n.goToAndPlay(0):(n.pause(),n.goToAndStop(0)))}}window.addEventListener("orientationchange",()=>{setTimeout(()=>{window.location.reload()},50)});let $l,Ul=window.innerWidth>991;window.addEventListener("resize",()=>{clearTimeout($l),$l=setTimeout(()=>{const e=window.innerWidth>991;if(Ul!==e){window.location.reload();return}To(),Ao(),Ul=e},300)}),window.Webflow=window.Webflow||[],window.Webflow.push(()=>{Hl(),To(),Ao(),document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>{Ql()}):Ql()});function jl(){const s=document.querySelector(".marquee-animation.is-animated");if(!s)return;const e=s.querySelectorAll(".marquee-animation-row > .is-marquee-slide-2"),t=window.innerWidth<=991,i=t?window.innerWidth:window.innerHeight;let r=null,n=-1/0;e.forEach(o=>{const a=o.getBoundingClientRect(),l=t?(a.left+a.width)/i*100:(a.top+a.height)/i*100,c=t?a.left:a.top,u=40,d=t?80:75;l>=u&&ln&&(n=c,r=o)}),e.forEach(o=>{o===r?o.classList.contains("is-active")||(o.classList.add("is-active"),Xl(o,!0)):o.classList.contains("is-active")&&(o.classList.remove("is-active"),Xl(o,!1))}),requestAnimationFrame(jl)}function Ql(){Hl(),jl()}function To(){const s=document.querySelector(".nav"),e=document.querySelector(".section_hero");if(!s||!e)return;const t=s.offsetHeight,i=parseFloat(getComputedStyle(document.documentElement).fontSize)||16,r=t/i;e.style.paddingTop=`${r}rem`}function Ao(){const s=document.querySelector(".hero-content_right-2");if(!s)return;window.innerWidth<=767?(s.style.display="none",s.querySelectorAll("video").forEach(r=>{r.pause(),r.currentTime=0}),s.querySelectorAll('[data-animation-type="lottie"]').forEach(r=>{if(r.setAttribute("data-autoplay","0"),r.setAttribute("data-is-ix2-target","0"),r.setAttribute("data-autoplay-on-scroll","0"),window.Webflow&&window.Webflow.require){const n=window.Webflow.require("lottie").lottie.getRegisteredAnimations().find(o=>o.wrapper===r);n&&(n.pause(),n.goToAndStop(0))}})):s.style.display=""}et.registerPlugin(Y);function td(){document.querySelectorAll("[data-marquee-scroll-direction-target]").forEach(s=>{const e=s.querySelectorAll("[data-marquee-collection-target]"),t=s.querySelectorAll("[data-marquee-scroll-target]");if(!e.length||!t.length)return;const{marqueeSpeed:i,marqueeDuplicate:r,marqueeScrollSpeed:n}=s.dataset,o=parseFloat(i),a=parseInt(r||0),l=parseFloat(n),c=window.innerWidth<479?.25:window.innerWidth<991?.5:1;e.forEach((u,d)=>{var g;const h=t[d];if(!h)return;let f=o*(u.offsetWidth/window.innerWidth)*c;h.style.marginLeft=`${l*-1}%`,h.style.width=`${l*2+100}%`;const m=(g=u.closest(".logos-marquee"))==null?void 0:g.classList.contains("is-2");if(a>0){const _=document.createDocumentFragment();for(let w=0;w{const s=document.querySelector(".navbar_burger"),e=document.querySelector(".nav-menu"),t=document.querySelector(".is-button"),i=document.querySelector(".veda_logo");function r(n){t&&(n?(t.style.backgroundColor="var(--purple)",t.style.color="var(--white)"):(t.style.backgroundColor="",t.style.color="")),i&&(n?i.style.color="var(--purple)":i.style.color="")}s.addEventListener("click",()=>{s.classList.toggle("is-active"),e.classList.toggle("is-open");const n=s.classList.contains("is-active");r(n)})});function id(s){if(!ir.length||Js)return;Js=!0;const e=Array.from(ir).findIndex(r=>r.classList.contains("is-active")),t=ir[e],i=ir[s];t&&t!==i?et.to(t,{y:"-100%",opacity:0,duration:.6,ease:"power2.in",onComplete:()=>{t.classList.remove("is-active"),t.style.transform="",et.fromTo(i,{y:"100%",opacity:0},{y:"0%",opacity:1,duration:.6,ease:"power2.out",onStart:()=>i.classList.add("is-active"),onComplete:()=>{i.style.transform="",Js=!1}})}}):et.fromTo(i,{y:"100%",opacity:0},{y:"0%",opacity:1,duration:.6,ease:"power2.out",onStart:()=>i.classList.add("is-active"),onComplete:()=>{i.style.transform="",Js=!1}})}function rd(){const s=(Zl+1)%ir.length;id(s),Zl=s}ir.length>0&&(ir.forEach((s,e)=>{e===0?s.classList.add("is-active"):s.classList.remove("is-active")}),setInterval(rd,3e3));function sd(){const s=document.querySelector(".selector-animation > svg > g > g:nth-of-type(2)");if(s){const e="http://www.w3.org/2000/svg",t="http://www.w3.org/1999/xlink",i=document.createElementNS(e,"a");return i.setAttributeNS(t,"xlink:href","https://web.archive.org/web/20260209111918/https://app.veda.tech/earn"),i.setAttribute("target","_blank"),i.style.cursor="pointer",s.parentNode.replaceChild(i,s),i.appendChild(s),!0}return!1}const Kl=new MutationObserver(()=>{sd()&&Kl.disconnect()}),Jl=document.querySelector(".selector-animation");Jl?Kl.observe(Jl,{childList:!0,subtree:!0}):console.warn("Le conteneur '.selector-animation' est introuvable."),et.registerPlugin(Y);function nd(){const s=document.querySelector(".section_widgets");if(!s)return;const e=document.querySelectorAll(".widget-visual"),t=document.querySelectorAll(".is-widget-text");if(e.length<4||t.length<4)return;function i(r){e.forEach(o=>{o.classList.remove("is-active")}),t.forEach(o=>{o.classList.remove("is-active"),o.classList.remove("is-o-8")});let n=0;r>=.75?n=3:r>=.5?n=2:r>=.25&&(n=1),e[n].classList.add("is-active"),t[n].classList.add("is-active"),r<.5&&t[3].classList.add("is-o-8"),r>=.5&&t[0].classList.add("is-o-8"),r>=.75&&(t[1].classList.add("is-o-8"),t[3].classList.remove("is-o-8"))}i(0),Y.create({trigger:s,start:"top center",end:"bottom center",scrub:1,onUpdate:r=>{i(r.progress)}})}nd();function ec(s){return s!==null&&typeof s=="object"&&"constructor"in s&&s.constructor===Object}function Eo(s,e){s===void 0&&(s={}),e===void 0&&(e={});const t=["__proto__","constructor","prototype"];Object.keys(e).filter(i=>t.indexOf(i)<0).forEach(i=>{typeof s[i]=="undefined"?s[i]=e[i]:ec(e[i])&&ec(s[i])&&Object.keys(e[i]).length>0&&Eo(s[i],e[i])})}const tc={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function rr(){const s=typeof document!="undefined"?document:{};return Eo(s,tc),s}const od={document:tc,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(s){return typeof setTimeout=="undefined"?(s(),null):setTimeout(s,0)},cancelAnimationFrame(s){typeof setTimeout!="undefined"&&clearTimeout(s)}};function at(){const s=typeof window!="undefined"?window:{};return Eo(s,od),s}function ad(s){return s===void 0&&(s=""),s.trim().split(" ").filter(e=>!!e.trim())}function ld(s){const e=s;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function Po(s,e){return e===void 0&&(e=0),setTimeout(s,e)}function en(){return Date.now()}function cd(s){const e=at();let t;return e.getComputedStyle&&(t=e.getComputedStyle(s,null)),!t&&s.currentStyle&&(t=s.currentStyle),t||(t=s.style),t}function ud(s,e){e===void 0&&(e="x");const t=at();let i,r,n;const o=cd(s);return t.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(a=>a.replace(",",".")).join(", ")),n=new t.WebKitCSSMatrix(r==="none"?"":r)):(n=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=n.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?r=n.m41:i.length===16?r=parseFloat(i[12]):r=parseFloat(i[4])),e==="y"&&(t.WebKitCSSMatrix?r=n.m42:i.length===16?r=parseFloat(i[13]):r=parseFloat(i[5])),r||0}function tn(s){return typeof s=="object"&&s!==null&&s.constructor&&Object.prototype.toString.call(s).slice(8,-1)==="Object"}function dd(s){return typeof window!="undefined"&&typeof window.HTMLElement!="undefined"?s instanceof HTMLElement:s&&(s.nodeType===1||s.nodeType===11)}function Mt(){const s=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;te.indexOf(n)<0);for(let n=0,o=r.length;nn?"next":"prev",u=(h,f)=>c==="next"&&h>=f||c==="prev"&&h<=f,d=()=>{a=new Date().getTime(),o===null&&(o=a);const h=Math.max(Math.min((a-o)/l,1),0),f=.5-Math.cos(h*Math.PI)/2;let m=n+f*(t-n);if(u(m,t)&&(m=t),e.wrapperEl.scrollTo({[i]:m}),u(m,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:m})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(d)};d()}function ui(s,e){e===void 0&&(e="");const t=at(),i=[...s.children];return t.HTMLSlotElement&&s instanceof HTMLSlotElement&&i.push(...s.assignedElements()),e?i.filter(r=>r.matches(e)):i}function fd(s,e){const t=[e];for(;t.length>0;){const i=t.shift();if(s===i)return!0;t.push(...i.children,...i.shadowRoot?i.shadowRoot.children:[],...i.assignedElements?i.assignedElements():[])}}function hd(s,e){const t=at();let i=e.contains(s);return!i&&t.HTMLSlotElement&&e instanceof HTMLSlotElement&&(i=[...e.assignedElements()].includes(s),i||(i=fd(s,e))),i}function sn(s){try{console.warn(s);return}catch{}}function Mo(s,e){e===void 0&&(e=[]);const t=document.createElement(s);return t.classList.add(...Array.isArray(e)?e:ad(e)),t}function pd(s,e){const t=[];for(;s.previousElementSibling;){const i=s.previousElementSibling;e?i.matches(e)&&t.push(i):t.push(i),s=i}return t}function md(s,e){const t=[];for(;s.nextElementSibling;){const i=s.nextElementSibling;e?i.matches(e)&&t.push(i):t.push(i),s=i}return t}function Ci(s,e){return at().getComputedStyle(s,null).getPropertyValue(e)}function rc(s){let e=s,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function gd(s,e){const t=[];let i=s.parentElement;for(;i;)e?i.matches(e)&&t.push(i):t.push(i),i=i.parentElement;return t}function sc(s,e,t){const i=at();return t?s[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(s,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(s,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):s.offsetWidth}let Co;function _d(){const s=at(),e=rr();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in s||s.DocumentTouch&&e instanceof s.DocumentTouch)}}function nc(){return Co||(Co=_d()),Co}let ko;function wd(s){let{userAgent:e}=s===void 0?{}:s;const t=nc(),i=at(),r=i.navigator.platform,n=e||i.navigator.userAgent,o={ios:!1,android:!1},a=i.screen.width,l=i.screen.height,c=n.match(/(Android);?[\s\/]+([\d.]+)?/);let u=n.match(/(iPad).*OS\s([\d_]+)/);const d=n.match(/(iPod)(.*OS\s([\d_]+))?/),h=!u&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=r==="Win32";let m=r==="MacIntel";const p=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&m&&t.touch&&p.indexOf(`${a}x${l}`)>=0&&(u=n.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),m=!1),c&&!f&&(o.os="android",o.android=!0),(u||h||d)&&(o.os="ios",o.ios=!0),o}function oc(s){return s===void 0&&(s={}),ko||(ko=wd(s)),ko}let Oo;function vd(){const s=at(),e=oc();let t=!1;function i(){const a=s.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(i()){const a=String(s.navigator.userAgent);if(a.includes("Version/")){const[l,c]=a.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));t=l<16||l===16&&c<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(s.navigator.userAgent),n=i(),o=n||r&&e.ios;return{isSafari:t||n,needPerspectiveFix:t,need3dFix:o,isWebView:r}}function ac(){return Oo||(Oo=vd()),Oo}function yd(s){let{swiper:e,on:t,emit:i}=s;const r=at();let n=null,o=null;const a=()=>{!e||e.destroyed||!e.initialized||(i("beforeResize"),i("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(n=new ResizeObserver(d=>{o=r.requestAnimationFrame(()=>{const{width:h,height:f}=e;let m=h,p=f;d.forEach(g=>{let{contentBoxSize:_,contentRect:w,target:y}=g;y&&y!==e.el||(m=w?w.width:(_[0]||_).inlineSize,p=w?w.height:(_[0]||_).blockSize)}),(m!==h||p!==f)&&a()})}),n.observe(e.el))},c=()=>{o&&r.cancelAnimationFrame(o),n&&n.unobserve&&e.el&&(n.unobserve(e.el),n=null)},u=()=>{!e||e.destroyed||!e.initialized||i("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof r.ResizeObserver!="undefined"){l();return}r.addEventListener("resize",a),r.addEventListener("orientationchange",u)}),t("destroy",()=>{c(),r.removeEventListener("resize",a),r.removeEventListener("orientationchange",u)})}function Sd(s){let{swiper:e,extendParams:t,on:i,emit:r}=s;const n=[],o=at(),a=function(u,d){d===void 0&&(d={});const h=o.MutationObserver||o.WebkitMutationObserver,f=new h(m=>{if(e.__preventObserver__)return;if(m.length===1){r("observerUpdate",m[0]);return}const p=function(){r("observerUpdate",m[0])};o.requestAnimationFrame?o.requestAnimationFrame(p):o.setTimeout(p,0)});f.observe(u,{attributes:typeof d.attributes=="undefined"?!0:d.attributes,childList:e.isElement||(typeof d.childList=="undefined"?!0:d).childList,characterData:typeof d.characterData=="undefined"?!0:d.characterData}),n.push(f)},l=()=>{if(!!e.params.observer){if(e.params.observeParents){const u=gd(e.hostEl);for(let d=0;d{n.forEach(u=>{u.disconnect()}),n.splice(0,n.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",l),i("destroy",c)}var xd={on(s,e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;const r=t?"unshift":"push";return s.split(" ").forEach(n=>{i.eventsListeners[n]||(i.eventsListeners[n]=[]),i.eventsListeners[n][r](e)}),i},once(s,e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;function r(){i.off(s,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,o=new Array(n),a=0;a=0&&e.eventsAnyListeners.splice(t,1),e},off(s,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||s.split(" ").forEach(i=>{typeof e=="undefined"?t.eventsListeners[i]=[]:t.eventsListeners[i]&&t.eventsListeners[i].forEach((r,n)=>{(r===e||r.__emitterProxy&&r.__emitterProxy===e)&&t.eventsListeners[i].splice(n,1)})}),t},emit(){const s=this;if(!s.eventsListeners||s.destroyed||!s.eventsListeners)return s;let e,t,i;for(var r=arguments.length,n=new Array(r),o=0;o{s.eventsAnyListeners&&s.eventsAnyListeners.length&&s.eventsAnyListeners.forEach(c=>{c.apply(i,[l,...t])}),s.eventsListeners&&s.eventsListeners[l]&&s.eventsListeners[l].forEach(c=>{c.apply(i,t)})}),s}};function bd(){const s=this;let e,t;const i=s.el;typeof s.params.width!="undefined"&&s.params.width!==null?e=s.params.width:e=i.clientWidth,typeof s.params.height!="undefined"&&s.params.height!==null?t=s.params.height:t=i.clientHeight,!(e===0&&s.isHorizontal()||t===0&&s.isVertical())&&(e=e-parseInt(Ci(i,"padding-left")||0,10)-parseInt(Ci(i,"padding-right")||0,10),t=t-parseInt(Ci(i,"padding-top")||0,10)-parseInt(Ci(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(s,{width:e,height:t,size:s.isHorizontal()?e:t}))}function Td(){const s=this;function e(T,k){return parseFloat(T.getPropertyValue(s.getDirectionLabel(k))||0)}const t=s.params,{wrapperEl:i,slidesEl:r,size:n,rtlTranslate:o,wrongRTL:a}=s,l=s.virtual&&t.virtual.enabled,c=l?s.virtual.slides.length:s.slides.length,u=ui(r,`.${s.params.slideClass}, swiper-slide`),d=l?s.virtual.slides.length:u.length;let h=[];const f=[],m=[];let p=t.slidesOffsetBefore;typeof p=="function"&&(p=t.slidesOffsetBefore.call(s));let g=t.slidesOffsetAfter;typeof g=="function"&&(g=t.slidesOffsetAfter.call(s));const _=s.snapGrid.length,w=s.slidesGrid.length;let y=t.spaceBetween,v=-p,x=0,A=0;if(typeof n=="undefined")return;typeof y=="string"&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*n:typeof y=="string"&&(y=parseFloat(y)),s.virtualSize=-y,u.forEach(T=>{o?T.style.marginLeft="":T.style.marginRight="",T.style.marginBottom="",T.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(rn(i,"--swiper-centered-offset-before",""),rn(i,"--swiper-centered-offset-after",""));const b=t.grid&&t.grid.rows>1&&s.grid;b?s.grid.initSlides(u):s.grid&&s.grid.unsetSlides();let P;const M=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(T=>typeof t.breakpoints[T].slidesPerView!="undefined").length>0;for(let T=0;T1&&h.push(s.virtualSize-n)}if(l&&t.loop){const T=m[0]+y;if(t.slidesPerGroup>1){const k=Math.ceil((s.virtual.slidesBefore+s.virtual.slidesAfter)/t.slidesPerGroup),C=T*t.slidesPerGroup;for(let R=0;R!t.cssMode||t.loop?!0:C!==u.length-1).forEach(k=>{k.style[T]=`${y}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let T=0;m.forEach(C=>{T+=C+(y||0)}),T-=y;const k=T>n?T-n:0;h=h.map(C=>C<=0?-p:C>k?k+g:C)}if(t.centerInsufficientSlides){let T=0;m.forEach(C=>{T+=C+(y||0)}),T-=y;const k=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if(T+k{h[G]=R-C}),f.forEach((R,G)=>{f[G]=R+C})}}if(Object.assign(s,{slides:u,snapGrid:h,slidesGrid:f,slidesSizesGrid:m}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){rn(i,"--swiper-centered-offset-before",`${-h[0]}px`),rn(i,"--swiper-centered-offset-after",`${s.size/2-m[m.length-1]/2}px`);const T=-s.snapGrid[0],k=-s.slidesGrid[0];s.snapGrid=s.snapGrid.map(C=>C+T),s.slidesGrid=s.slidesGrid.map(C=>C+k)}if(d!==c&&s.emit("slidesLengthChange"),h.length!==_&&(s.params.watchOverflow&&s.checkOverflow(),s.emit("snapGridLengthChange")),f.length!==w&&s.emit("slidesGridLengthChange"),t.watchSlidesProgress&&s.updateSlidesOffset(),s.emit("slidesUpdated"),!l&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const T=`${t.containerModifierClass}backface-hidden`,k=s.el.classList.contains(T);d<=t.maxBackfaceHiddenSlides?k||s.el.classList.add(T):k&&s.el.classList.remove(T)}}function Ad(s){const e=this,t=[],i=e.virtual&&e.params.virtual.enabled;let r=0,n;typeof s=="number"?e.setTransition(s):s===!0&&e.setTransition(e.params.speed);const o=a=>i?e.slides[e.getSlideIndexByData(a)]:e.slides[a];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(a=>{t.push(a)});else for(n=0;ne.slides.length&&!i)break;t.push(o(a))}else t.push(o(e.activeIndex));for(n=0;nr?a:r}(r||r===0)&&(e.wrapperEl.style.height=`${r}px`)}function Ed(){const s=this,e=s.slides,t=s.isElement?s.isHorizontal()?s.wrapperEl.offsetLeft:s.wrapperEl.offsetTop:0;for(let i=0;i{e&&!s.classList.contains(t)?s.classList.add(t):!e&&s.classList.contains(t)&&s.classList.remove(t)};function Pd(s){s===void 0&&(s=this&&this.translate||0);const e=this,t=e.params,{slides:i,rtlTranslate:r,snapGrid:n}=e;if(i.length===0)return;typeof i[0].swiperSlideOffset=="undefined"&&e.updateSlidesOffset();let o=-s;r&&(o=s),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=t.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:typeof a=="string"&&(a=parseFloat(a));for(let l=0;l=0&&f<=e.size-e.slidesSizesGrid[l],g=f>=0&&f1&&m<=e.size||f<=0&&m>=e.size;g&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(l)),lc(c,g,t.slideVisibleClass),lc(c,p,t.slideFullyVisibleClass),c.progress=r?-d:d,c.originalProgress=r?-h:h}}function Md(s){const e=this;if(typeof s=="undefined"){const u=e.rtlTranslate?-1:1;s=e&&e.translate&&e.translate*u||0}const t=e.params,i=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:n,isEnd:o,progressLoop:a}=e;const l=n,c=o;if(i===0)r=0,n=!0,o=!0;else{r=(s-e.minTranslate())/i;const u=Math.abs(s-e.minTranslate())<1,d=Math.abs(s-e.maxTranslate())<1;n=u||r<=0,o=d||r>=1,u&&(r=0),d&&(r=1)}if(t.loop){const u=e.getSlideIndexByData(0),d=e.getSlideIndexByData(e.slides.length-1),h=e.slidesGrid[u],f=e.slidesGrid[d],m=e.slidesGrid[e.slidesGrid.length-1],p=Math.abs(s);p>=h?a=(p-h)/m:a=(p+m-f)/m,a>1&&(a-=1)}Object.assign(e,{progress:r,progressLoop:a,isBeginning:n,isEnd:o}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(s),n&&!l&&e.emit("reachBeginning toEdge"),o&&!c&&e.emit("reachEnd toEdge"),(l&&!n||c&&!o)&&e.emit("fromEdge"),e.emit("progress",r)}const Lo=(s,e,t)=>{e&&!s.classList.contains(t)?s.classList.add(t):!e&&s.classList.contains(t)&&s.classList.remove(t)};function Cd(){const s=this,{slides:e,params:t,slidesEl:i,activeIndex:r}=s,n=s.virtual&&t.virtual.enabled,o=s.grid&&t.grid&&t.grid.rows>1,a=d=>ui(i,`.${t.slideClass}${d}, swiper-slide${d}`)[0];let l,c,u;if(n)if(t.loop){let d=r-s.virtual.slidesBefore;d<0&&(d=s.virtual.slides.length+d),d>=s.virtual.slides.length&&(d-=s.virtual.slides.length),l=a(`[data-swiper-slide-index="${d}"]`)}else l=a(`[data-swiper-slide-index="${r}"]`);else o?(l=e.find(d=>d.column===r),u=e.find(d=>d.column===r+1),c=e.find(d=>d.column===r-1)):l=e[r];l&&(o||(u=md(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!u&&(u=e[0]),c=pd(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(d=>{Lo(d,d===l,t.slideActiveClass),Lo(d,d===u,t.slideNextClass),Lo(d,d===c,t.slidePrevClass)}),s.emitSlidesClasses()}const nn=(s,e)=>{if(!s||s.destroyed||!s.params)return;const t=()=>s.isElement?"swiper-slide":`.${s.params.slideClass}`,i=e.closest(t());if(i){let r=i.querySelector(`.${s.params.lazyPreloaderClass}`);!r&&s.isElement&&(i.shadowRoot?r=i.shadowRoot.querySelector(`.${s.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(r=i.shadowRoot.querySelector(`.${s.params.lazyPreloaderClass}`),r&&r.remove())})),r&&r.remove()}},Do=(s,e)=>{if(!s.slides[e])return;const t=s.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},zo=s=>{if(!s||s.destroyed||!s.params)return;let e=s.params.lazyPreloadPrevNext;const t=s.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);const i=s.params.slidesPerView==="auto"?s.slidesPerViewDynamic():Math.ceil(s.params.slidesPerView),r=s.activeIndex;if(s.params.grid&&s.params.grid.rows>1){const o=r,a=[o-e];a.push(...Array.from({length:e}).map((l,c)=>o+i+c)),s.slides.forEach((l,c)=>{a.includes(l.column)&&Do(s,c)});return}const n=r+i-1;if(s.params.rewind||s.params.loop)for(let o=r-e;o<=n+e;o+=1){const a=(o%t+t)%t;(an)&&Do(s,a)}else for(let o=Math.max(r-e,0);o<=Math.min(n+e,t-1);o+=1)o!==r&&(o>n||o=e[n]&&i=e[n]&&i=e[n]&&(r=n);return t.normalizeSlideIndex&&(r<0||typeof r=="undefined")&&(r=0),r}function Od(s){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:i,params:r,activeIndex:n,realIndex:o,snapIndex:a}=e;let l=s,c;const u=f=>{let m=f-e.virtual.slidesBefore;return m<0&&(m=e.virtual.slides.length+m),m>=e.virtual.slides.length&&(m-=e.virtual.slides.length),m};if(typeof l=="undefined"&&(l=kd(e)),i.indexOf(t)>=0)c=i.indexOf(t);else{const f=Math.min(r.slidesPerGroupSkip,l);c=f+Math.floor((l-f)/r.slidesPerGroup)}if(c>=i.length&&(c=i.length-1),l===n&&!e.params.loop){c!==a&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(l===n&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=u(l);return}const d=e.grid&&r.grid&&r.grid.rows>1;let h;if(e.virtual&&r.virtual.enabled&&r.loop)h=u(l);else if(d){const f=e.slides.find(p=>p.column===l);let m=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(m)&&(m=Math.max(e.slides.indexOf(f),0)),h=Math.floor(m/r.grid.rows)}else if(e.slides[l]){const f=e.slides[l].getAttribute("data-swiper-slide-index");f?h=parseInt(f,10):h=l}else h=l;Object.assign(e,{previousSnapIndex:a,snapIndex:c,previousRealIndex:o,realIndex:h,previousIndex:n,activeIndex:l}),e.initialized&&zo(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==h&&e.emit("realIndexChange"),e.emit("slideChange"))}function Ld(s,e){const t=this,i=t.params;let r=s.closest(`.${i.slideClass}, swiper-slide`);!r&&t.isElement&&e&&e.length>1&&e.includes(s)&&[...e.slice(e.indexOf(s)+1,e.length)].forEach(a=>{!r&&a.matches&&a.matches(`.${i.slideClass}, swiper-slide`)&&(r=a)});let n=!1,o;if(r){for(let a=0;al?u=l:i&&so?a="next":n=l.length&&(g=l.length-1);const _=-l[g];if(a.normalizeSlideIndex)for(let b=0;b=M&&P=M&&P=M&&(o=b)}if(n.initialized&&o!==d&&(!n.allowSlideNext&&(h?_>n.translate&&_>n.minTranslate():_n.translate&&_>n.maxTranslate()&&(d||0)!==o))return!1;o!==(u||0)&&t&&n.emit("beforeSlideChangeStart"),n.updateProgress(_);let w;o>d?w="next":o0?(n._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[b?"scrollLeft":"scrollTop"]=P})):f[b?"scrollLeft":"scrollTop"]=P,y&&requestAnimationFrame(()=>{n.wrapperEl.style.scrollSnapType="",n._immediateVirtual=!1});else{if(!n.support.smoothScroll)return ic({swiper:n,targetPosition:P,side:b?"left":"top"}),!0;f.scrollTo({[b?"left":"top"]:P,behavior:"smooth"})}return!0}const A=ac().isSafari;return y&&!r&&A&&n.isElement&&n.virtual.update(!1,!1,o),n.setTransition(e),n.setTranslate(_),n.updateActiveIndex(o),n.updateSlidesClasses(),n.emit("beforeTransitionStart",e,i),n.transitionStart(t,w),e===0?n.transitionEnd(t,w):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(P){!n||n.destroyed||P.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(t,w))}),n.wrapperEl.addEventListener("transitionend",n.onSlideToWrapperTransitionEnd)),!0}function Hd(s,e,t,i){s===void 0&&(s=0),t===void 0&&(t=!0),typeof s=="string"&&(s=parseInt(s,10));const r=this;if(r.destroyed)return;typeof e=="undefined"&&(e=r.params.speed);const n=r.grid&&r.params.grid&&r.params.grid.rows>1;let o=s;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)o=o+r.virtual.slidesBefore;else{let a;if(n){const h=o*r.params.grid.rows;a=r.slides.find(f=>f.getAttribute("data-swiper-slide-index")*1===h).column}else a=r.getSlideIndexByData(o);const l=n?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:c}=r.params;let u=r.params.slidesPerView;u==="auto"?u=r.slidesPerViewDynamic():(u=Math.ceil(parseFloat(r.params.slidesPerView,10)),c&&u%2==0&&(u=u+1));let d=l-af.getAttribute("data-swiper-slide-index")*1===h).column}else o=r.getSlideIndexByData(o)}return requestAnimationFrame(()=>{r.slideTo(o,e,t,i)}),r}function Xd(s,e,t){e===void 0&&(e=!0);const i=this,{enabled:r,params:n,animating:o}=i;if(!r||i.destroyed)return i;typeof s=="undefined"&&(s=i.params.speed);let a=n.slidesPerGroup;n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(a=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex{i.slideTo(i.activeIndex+l,s,e,t)}),!0}return n.rewind&&i.isEnd?i.slideTo(0,s,e,t):i.slideTo(i.activeIndex+l,s,e,t)}function $d(s,e,t){e===void 0&&(e=!0);const i=this,{params:r,snapGrid:n,slidesGrid:o,rtlTranslate:a,enabled:l,animating:c}=i;if(!l||i.destroyed)return i;typeof s=="undefined"&&(s=i.params.speed);const u=i.virtual&&r.virtual.enabled;if(r.loop){if(c&&!u&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}const d=a?i.translate:-i.translate;function h(w){return w<0?-Math.floor(Math.abs(w)):Math.floor(w)}const f=h(d),m=n.map(w=>h(w)),p=r.freeMode&&r.freeMode.enabled;let g=n[m.indexOf(f)-1];if(typeof g=="undefined"&&(r.cssMode||p)){let w;n.forEach((y,v)=>{f>=y&&(w=v)}),typeof w!="undefined"&&(g=p?n[w]:n[w>0?w-1:w])}let _=0;if(typeof g!="undefined"&&(_=o.indexOf(g),_<0&&(_=i.activeIndex-1),r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(_=_-i.slidesPerViewDynamic("previous",!0)+1,_=Math.max(_,0))),r.rewind&&i.isBeginning){const w=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(w,s,e,t)}else if(r.loop&&i.activeIndex===0&&r.cssMode)return requestAnimationFrame(()=>{i.slideTo(_,s,e,t)}),!0;return i.slideTo(_,s,e,t)}function Ud(s,e,t){e===void 0&&(e=!0);const i=this;if(!i.destroyed)return typeof s=="undefined"&&(s=i.params.speed),i.slideTo(i.activeIndex,s,e,t)}function jd(s,e,t,i){e===void 0&&(e=!0),i===void 0&&(i=.5);const r=this;if(r.destroyed)return;typeof s=="undefined"&&(s=r.params.speed);let n=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,n),a=o+Math.floor((n-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[a]){const c=r.snapGrid[a],u=r.snapGrid[a+1];l-c>(u-c)*i&&(n+=r.params.slidesPerGroup)}else{const c=r.snapGrid[a-1],u=r.snapGrid[a];l-c<=(u-c)*i&&(n-=r.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,r.slidesGrid.length-1),r.slideTo(n,s,e,t)}function Qd(){const s=this;if(s.destroyed)return;const{params:e,slidesEl:t}=s,i=e.slidesPerView==="auto"?s.slidesPerViewDynamic():e.slidesPerView;let r=s.clickedIndex,n;const o=s.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(s.animating)return;n=parseInt(s.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?rs.slides.length-s.loopedSlides+i/2?(s.loopFix(),r=s.getSlideIndex(ui(t,`${o}[data-swiper-slide-index="${n}"]`)[0]),Po(()=>{s.slideTo(r)})):s.slideTo(r):r>s.slides.length-i?(s.loopFix(),r=s.getSlideIndex(ui(t,`${o}[data-swiper-slide-index="${n}"]`)[0]),Po(()=>{s.slideTo(r)})):s.slideTo(r)}else s.slideTo(r)}var Zd={slideTo:qd,slideToLoop:Hd,slideNext:Xd,slidePrev:$d,slideReset:Ud,slideToClosest:jd,slideToClickedSlide:Qd};function Kd(s,e){const t=this,{params:i,slidesEl:r}=t;if(!i.loop||t.virtual&&t.params.virtual.enabled)return;const n=()=>{ui(r,`.${i.slideClass}, swiper-slide`).forEach((h,f)=>{h.setAttribute("data-swiper-slide-index",f)})},o=t.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(o?i.grid.rows:1),l=t.slides.length%a!=0,c=o&&t.slides.length%i.grid.rows!=0,u=d=>{for(let h=0;h1;u.length<_+y||c.params.effect==="cards"&&u.length<_+y*2?sn("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):v&&m.grid.fill==="row"&&sn("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const x=[],A=[],b=v?Math.ceil(u.length/m.grid.rows):u.length,P=o&&b-g<_&&!p;let M=P?g:c.activeIndex;typeof n=="undefined"?n=c.getSlideIndex(u.find(L=>L.classList.contains(m.slideActiveClass))):M=n;const T=i==="next"||!i,k=i==="prev"||!i;let C=0,R=0;const V=(v?u[n].column:n)+(p&&typeof r=="undefined"?-_/2+.5:0);if(V=0;Z-=1)u[Z].column===N&&x.push(Z)}else x.push(b-z-1)}}else if(V+_>b-y){R=Math.max(V-(b-y*2),w),P&&(R=Math.max(R,_-b+g+1));for(let L=0;L{N.column===z&&A.push(Z)}):A.push(z)}}if(c.__preventObserver__=!0,requestAnimationFrame(()=>{c.__preventObserver__=!1}),c.params.effect==="cards"&&u.length<_+y*2&&(A.includes(n)&&A.splice(A.indexOf(n),1),x.includes(n)&&x.splice(x.indexOf(n),1)),k&&x.forEach(L=>{u[L].swiperLoopMoveDOM=!0,f.prepend(u[L]),u[L].swiperLoopMoveDOM=!1}),T&&A.forEach(L=>{u[L].swiperLoopMoveDOM=!0,f.append(u[L]),u[L].swiperLoopMoveDOM=!1}),c.recalcSlides(),m.slidesPerView==="auto"?c.updateSlides():v&&(x.length>0&&k||A.length>0&&T)&&c.slides.forEach((L,z)=>{c.grid.updateSlide(z,L,c.slides)}),m.watchSlidesProgress&&c.updateSlidesOffset(),t){if(x.length>0&&k){if(typeof e=="undefined"){const L=c.slidesGrid[M],N=c.slidesGrid[M+C]-L;l?c.setTranslate(c.translate-N):(c.slideTo(M+Math.ceil(C),0,!1,!0),r&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-N,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-N))}else if(r){const L=v?x.length/m.grid.rows:x.length;c.slideTo(c.activeIndex+L,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(A.length>0&&T)if(typeof e=="undefined"){const L=c.slidesGrid[M],N=c.slidesGrid[M-R]-L;l?c.setTranslate(c.translate-N):(c.slideTo(M-R,0,!1,!0),r&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-N,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-N))}else{const L=v?A.length/m.grid.rows:A.length;c.slideTo(c.activeIndex-L,0,!1,!0)}}if(c.allowSlidePrev=d,c.allowSlideNext=h,c.controller&&c.controller.control&&!a){const L={slideRealIndex:e,direction:i,setTranslate:r,activeSlideIndex:n,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach(z=>{!z.destroyed&&z.params.loop&&z.loopFix(Go(un({},L),{slideTo:z.params.slidesPerView===m.slidesPerView?t:!1}))}):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix(Go(un({},L),{slideTo:c.controller.control.params.slidesPerView===m.slidesPerView?t:!1}))}c.emit("loopFix")}function ef(){const s=this,{params:e,slidesEl:t}=s;if(!e.loop||!t||s.virtual&&s.params.virtual.enabled)return;s.recalcSlides();const i=[];s.slides.forEach(r=>{const n=typeof r.swiperSlideIndex=="undefined"?r.getAttribute("data-swiper-slide-index")*1:r.swiperSlideIndex;i[n]=r}),s.slides.forEach(r=>{r.removeAttribute("data-swiper-slide-index")}),i.forEach(r=>{t.append(r)}),s.recalcSlides(),s.slideTo(s.realIndex,0)}var tf={loopCreate:Kd,loopFix:Jd,loopDestroy:ef};function rf(s){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const t=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=s?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function sf(){const s=this;s.params.watchOverflow&&s.isLocked||s.params.cssMode||(s.isElement&&(s.__preventObserver__=!0),s[s.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",s.isElement&&requestAnimationFrame(()=>{s.__preventObserver__=!1}))}var nf={setGrabCursor:rf,unsetGrabCursor:sf};function of(s,e){e===void 0&&(e=this);function t(i){if(!i||i===rr()||i===at())return null;i.assignedSlot&&(i=i.assignedSlot);const r=i.closest(s);return!r&&!i.getRootNode?null:r||t(i.getRootNode().host)}return t(e)}function uc(s,e,t){const i=at(),{params:r}=s,n=r.edgeSwipeDetection,o=r.edgeSwipeThreshold;return n&&(t<=o||t>=i.innerWidth-o)?n==="prevent"?(e.preventDefault(),!0):!1:!0}function af(s){const e=this,t=rr();let i=s;i.originalEvent&&(i=i.originalEvent);const r=e.touchEventsData;if(i.type==="pointerdown"){if(r.pointerId!==null&&r.pointerId!==i.pointerId)return;r.pointerId=i.pointerId}else i.type==="touchstart"&&i.targetTouches.length===1&&(r.touchId=i.targetTouches[0].identifier);if(i.type==="touchstart"){uc(e,i,i.targetTouches[0].pageX);return}const{params:n,touches:o,enabled:a}=e;if(!a||!n.simulateTouch&&i.pointerType==="mouse"||e.animating&&n.preventInteractionOnTransition)return;!e.animating&&n.cssMode&&n.loop&&e.loopFix();let l=i.target;if(n.touchEventsTarget==="wrapper"&&!hd(l,e.wrapperEl)||"which"in i&&i.which===3||"button"in i&&i.button>0||r.isTouched&&r.isMoved)return;const c=!!n.noSwipingClass&&n.noSwipingClass!=="",u=i.composedPath?i.composedPath():i.path;c&&i.target&&i.target.shadowRoot&&u&&(l=u[0]);const d=n.noSwipingSelector?n.noSwipingSelector:`.${n.noSwipingClass}`,h=!!(i.target&&i.target.shadowRoot);if(n.noSwiping&&(h?of(d,l):l.closest(d))){e.allowClick=!0;return}if(n.swipeHandler&&!l.closest(n.swipeHandler))return;o.currentX=i.pageX,o.currentY=i.pageY;const f=o.currentX,m=o.currentY;if(!uc(e,i,f))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=f,o.startY=m,r.touchStartTime=en(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,n.threshold>0&&(r.allowThresholdMove=!1);let p=!0;l.matches(r.focusableElements)&&(p=!1,l.nodeName==="SELECT"&&(r.isTouched=!1)),t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==l&&(i.pointerType==="mouse"||i.pointerType!=="mouse"&&!l.matches(r.focusableElements))&&t.activeElement.blur();const g=p&&e.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||g)&&!l.isContentEditable&&i.preventDefault(),n.freeMode&&n.freeMode.enabled&&e.freeMode&&e.animating&&!n.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",i)}function lf(s){const e=rr(),t=this,i=t.touchEventsData,{params:r,touches:n,rtlTranslate:o,enabled:a}=t;if(!a||!r.simulateTouch&&s.pointerType==="mouse")return;let l=s;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(i.touchId!==null||l.pointerId!==i.pointerId))return;let c;if(l.type==="touchmove"){if(c=[...l.changedTouches].find(A=>A.identifier===i.touchId),!c||c.identifier!==i.touchId)return}else c=l;if(!i.isTouched){i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",l);return}const u=c.pageX,d=c.pageY;if(l.preventedByNestedSwiper){n.startX=u,n.startY=d;return}if(!t.allowTouchMove){l.target.matches(i.focusableElements)||(t.allowClick=!1),i.isTouched&&(Object.assign(n,{startX:u,startY:d,currentX:u,currentY:d}),i.touchStartTime=en());return}if(r.touchReleaseOnEdges&&!r.loop)if(t.isVertical()){if(dn.startY&&t.translate>=t.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else{if(o&&(u>n.startX&&-t.translate<=t.maxTranslate()||u=t.minTranslate()))return;if(!o&&(un.startX&&t.translate>=t.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(i.focusableElements)&&e.activeElement!==l.target&&l.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&l.target===e.activeElement&&l.target.matches(i.focusableElements)){i.isMoved=!0,t.allowClick=!1;return}i.allowTouchCallbacks&&t.emit("touchMove",l),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=u,n.currentY=d;const h=n.currentX-n.startX,f=n.currentY-n.startY;if(t.params.threshold&&Math.sqrt(h**2+f**2)=25&&(A=Math.atan2(Math.abs(f),Math.abs(h))*180/Math.PI,i.isScrolling=t.isHorizontal()?A>r.touchAngle:90-A>r.touchAngle)}if(i.isScrolling&&t.emit("touchMoveOpposite",l),typeof i.startMoving=="undefined"&&(n.currentX!==n.startX||n.currentY!==n.startY)&&(i.startMoving=!0),i.isScrolling||l.type==="touchmove"&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;t.allowClick=!1,!r.cssMode&&l.cancelable&&l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation();let m=t.isHorizontal()?h:f,p=t.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;r.oneWayMovement&&(m=Math.abs(m)*(o?1:-1),p=Math.abs(p)*(o?1:-1)),n.diff=m,m*=r.touchRatio,o&&(m=-m,p=-p);const g=t.touchesDirection;t.swipeDirection=m>0?"prev":"next",t.touchesDirection=p>0?"prev":"next";const _=t.params.loop&&!r.cssMode,w=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!i.isMoved){if(_&&w&&t.loopFix({direction:t.swipeDirection}),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const A=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(A)}i.allowMomentumBounce=!1,r.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",l)}let y;if(new Date().getTime(),r._loopSwapReset!==!1&&i.isMoved&&i.allowThresholdMove&&g!==t.touchesDirection&&_&&w&&Math.abs(m)>=1){Object.assign(n,{startX:u,startY:d,currentX:u,currentY:d,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}t.emit("sliderMove",l),i.isMoved=!0,i.currentTranslate=m+i.startTranslate;let v=!0,x=r.resistanceRatio;if(r.touchReleaseOnEdges&&(x=0),m>0?(_&&w&&!y&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>t.minTranslate()&&(v=!1,r.resistance&&(i.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+i.startTranslate+m)**x))):m<0&&(_&&w&&!y&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(r.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(i.currentTranslate=i.startTranslate),r.threshold>0)if(Math.abs(m)>r.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,i.currentTranslate=i.startTranslate,n.diff=t.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY;return}}else{i.currentTranslate=i.startTranslate;return}!r.followFinger||r.cssMode||((r.freeMode&&r.freeMode.enabled&&t.freeMode||r.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}function cf(s){const e=this,t=e.touchEventsData;let i=s;i.originalEvent&&(i=i.originalEvent);let r;if(i.type==="touchend"||i.type==="touchcancel"){if(r=[...i.changedTouches].find(x=>x.identifier===t.touchId),!r||r.identifier!==t.touchId)return}else{if(t.touchId!==null||i.pointerId!==t.pointerId)return;r=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&!(["pointercancel","contextmenu"].includes(i.type)&&(e.browser.isSafari||e.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:o,touches:a,rtlTranslate:l,slidesGrid:c,enabled:u}=e;if(!u||!o.simulateTouch&&i.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",i),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&o.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}o.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const d=en(),h=d-t.touchStartTime;if(e.allowClick){const x=i.path||i.composedPath&&i.composedPath();e.updateClickedSlide(x&&x[0]||i.target,x),e.emit("tap click",i),h<300&&d-t.lastClickTime<300&&e.emit("doubleTap doubleClick",i)}if(t.lastClickTime=en(),Po(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||a.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let f;if(o.followFinger?f=l?e.translate:-e.translate:f=-t.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const m=f>=-e.maxTranslate()&&!e.params.loop;let p=0,g=e.slidesSizesGrid[0];for(let x=0;x=c[x]&&f=c[x])&&(p=x,g=c[c.length-1]-c[c.length-2])}let _=null,w=null;o.rewind&&(e.isBeginning?w=o.virtual&&o.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(_=0));const y=(f-c[p])/g,v=po.longSwipesMs){if(!o.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(y>=o.longSwipesRatio?e.slideTo(o.rewind&&e.isEnd?_:p+v):e.slideTo(p)),e.swipeDirection==="prev"&&(y>1-o.longSwipesRatio?e.slideTo(p+v):w!==null&&y<0&&Math.abs(y)>o.longSwipesRatio?e.slideTo(w):e.slideTo(p))}else{if(!o.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(i.target===e.navigation.nextEl||i.target===e.navigation.prevEl)?i.target===e.navigation.nextEl?e.slideTo(p+v):e.slideTo(p):(e.swipeDirection==="next"&&e.slideTo(_!==null?_:p+v),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:p))}}function dc(){const s=this,{params:e,el:t}=s;if(t&&t.offsetWidth===0)return;e.breakpoints&&s.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:n}=s,o=s.virtual&&s.params.virtual.enabled;s.allowSlideNext=!0,s.allowSlidePrev=!0,s.updateSize(),s.updateSlides(),s.updateSlidesClasses();const a=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&s.isEnd&&!s.isBeginning&&!s.params.centeredSlides&&!a?s.slideTo(s.slides.length-1,0,!1,!0):s.params.loop&&!o?s.slideToLoop(s.realIndex,0,!1,!0):s.slideTo(s.activeIndex,0,!1,!0),s.autoplay&&s.autoplay.running&&s.autoplay.paused&&(clearTimeout(s.autoplay.resizeTimeout),s.autoplay.resizeTimeout=setTimeout(()=>{s.autoplay&&s.autoplay.running&&s.autoplay.paused&&s.autoplay.resume()},500)),s.allowSlidePrev=r,s.allowSlideNext=i,s.params.watchOverflow&&n!==s.snapGrid&&s.checkOverflow()}function uf(s){const e=this;!e.enabled||e.allowClick||(e.params.preventClicks&&s.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(s.stopPropagation(),s.stopImmediatePropagation()))}function df(){const s=this,{wrapperEl:e,rtlTranslate:t,enabled:i}=s;if(!i)return;s.previousTranslate=s.translate,s.isHorizontal()?s.translate=-e.scrollLeft:s.translate=-e.scrollTop,s.translate===0&&(s.translate=0),s.updateActiveIndex(),s.updateSlidesClasses();let r;const n=s.maxTranslate()-s.minTranslate();n===0?r=0:r=(s.translate-s.minTranslate())/n,r!==s.progress&&s.updateProgress(t?-s.translate:s.translate),s.emit("setTranslate",s.translate,!1)}function ff(s){const e=this;nn(e,s.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function hf(){const s=this;s.documentTouchHandlerProceeded||(s.documentTouchHandlerProceeded=!0,s.params.touchReleaseOnEdges&&(s.el.style.touchAction="auto"))}const fc=(s,e)=>{const t=rr(),{params:i,el:r,wrapperEl:n,device:o}=s,a=!!i.nested,l=e==="on"?"addEventListener":"removeEventListener",c=e;!r||typeof r=="string"||(t[l]("touchstart",s.onDocumentTouchStart,{passive:!1,capture:a}),r[l]("touchstart",s.onTouchStart,{passive:!1}),r[l]("pointerdown",s.onTouchStart,{passive:!1}),t[l]("touchmove",s.onTouchMove,{passive:!1,capture:a}),t[l]("pointermove",s.onTouchMove,{passive:!1,capture:a}),t[l]("touchend",s.onTouchEnd,{passive:!0}),t[l]("pointerup",s.onTouchEnd,{passive:!0}),t[l]("pointercancel",s.onTouchEnd,{passive:!0}),t[l]("touchcancel",s.onTouchEnd,{passive:!0}),t[l]("pointerout",s.onTouchEnd,{passive:!0}),t[l]("pointerleave",s.onTouchEnd,{passive:!0}),t[l]("contextmenu",s.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[l]("click",s.onClick,!0),i.cssMode&&n[l]("scroll",s.onScroll),i.updateOnWindowResize?s[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",dc,!0):s[c]("observerUpdate",dc,!0),r[l]("load",s.onLoad,{capture:!0}))};function pf(){const s=this,{params:e}=s;s.onTouchStart=af.bind(s),s.onTouchMove=lf.bind(s),s.onTouchEnd=cf.bind(s),s.onDocumentTouchStart=hf.bind(s),e.cssMode&&(s.onScroll=df.bind(s)),s.onClick=uf.bind(s),s.onLoad=ff.bind(s),fc(s,"on")}function mf(){fc(this,"off")}var gf={attachEvents:pf,detachEvents:mf};const hc=(s,e)=>s.grid&&e.grid&&e.grid.rows>1;function _f(){const s=this,{realIndex:e,initialized:t,params:i,el:r}=s,n=i.breakpoints;if(!n||n&&Object.keys(n).length===0)return;const o=rr(),a=i.breakpointsBase==="window"||!i.breakpointsBase?i.breakpointsBase:"container",l=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?s.el:o.querySelector(i.breakpointsBase),c=s.getBreakpoint(n,a,l);if(!c||s.currentBreakpoint===c)return;const d=(c in n?n[c]:void 0)||s.originalParams,h=hc(s,i),f=hc(s,d),m=s.params.grabCursor,p=d.grabCursor,g=i.enabled;h&&!f?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),s.emitContainerClasses()):!h&&f&&(r.classList.add(`${i.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&i.grid.fill==="column")&&r.classList.add(`${i.containerModifierClass}grid-column`),s.emitContainerClasses()),m&&!p?s.unsetGrabCursor():!m&&p&&s.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(A=>{if(typeof d[A]=="undefined")return;const b=i[A]&&i[A].enabled,P=d[A]&&d[A].enabled;b&&!P&&s[A].disable(),!b&&P&&s[A].enable()});const _=d.direction&&d.direction!==i.direction,w=i.loop&&(d.slidesPerView!==i.slidesPerView||_),y=i.loop;_&&t&&s.changeDirection(),Mt(s.params,d);const v=s.params.enabled,x=s.params.loop;Object.assign(s,{allowTouchMove:s.params.allowTouchMove,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev}),g&&!v?s.disable():!g&&v&&s.enable(),s.currentBreakpoint=c,s.emit("_beforeBreakpoint",d),t&&(w?(s.loopDestroy(),s.loopCreate(e),s.updateSlides()):!y&&x?(s.loopCreate(e),s.updateSlides()):y&&!x&&s.loopDestroy()),s.emit("breakpoint",d)}function wf(s,e,t){if(e===void 0&&(e="window"),!s||e==="container"&&!t)return;let i=!1;const r=at(),n=e==="window"?r.innerHeight:t.clientHeight,o=Object.keys(s).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const l=parseFloat(a.substr(1));return{value:n*l,point:a}}return{value:a,point:a}});o.sort((a,l)=>parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a{typeof i=="object"?Object.keys(i).forEach(r=>{i[r]&&t.push(e+r)}):typeof i=="string"&&t.push(e+i)}),t}function Sf(){const s=this,{classNames:e,params:t,rtl:i,el:r,device:n}=s,o=yf(["initialized",t.direction,{"free-mode":s.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:n.android},{ios:n.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...o),r.classList.add(...e),s.emitContainerClasses()}function xf(){const s=this,{el:e,classNames:t}=s;!e||typeof e=="string"||(e.classList.remove(...t),s.emitContainerClasses())}var bf={addClasses:Sf,removeClasses:xf};function Tf(){const s=this,{isLocked:e,params:t}=s,{slidesOffsetBefore:i}=t;if(i){const r=s.slides.length-1,n=s.slidesGrid[r]+s.slidesSizesGrid[r]+i*2;s.isLocked=s.size>n}else s.isLocked=s.snapGrid.length===1;t.allowSlideNext===!0&&(s.allowSlideNext=!s.isLocked),t.allowSlidePrev===!0&&(s.allowSlidePrev=!s.isLocked),e&&e!==s.isLocked&&(s.isEnd=!1),e!==s.isLocked&&s.emit(s.isLocked?"lock":"unlock")}var Af={checkOverflow:Tf},pc={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Ef(s,e){return function(i){i===void 0&&(i={});const r=Object.keys(i)[0],n=i[r];if(typeof n!="object"||n===null){Mt(e,i);return}if(s[r]===!0&&(s[r]={enabled:!0}),r==="navigation"&&s[r]&&s[r].enabled&&!s[r].prevEl&&!s[r].nextEl&&(s[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&s[r]&&s[r].enabled&&!s[r].el&&(s[r].auto=!0),!(r in s&&"enabled"in n)){Mt(e,i);return}typeof s[r]=="object"&&!("enabled"in s[r])&&(s[r].enabled=!0),s[r]||(s[r]={enabled:!1}),Mt(e,i)}}const Io={eventsEmitter:xd,update:Dd,translate:Nd,transition:Wd,slide:Zd,loop:tf,grabCursor:nf,events:gf,breakpoints:vf,checkOverflow:Af,classes:bf},Ro={};class Nt{constructor(){let e,t;for(var i=arguments.length,r=new Array(i),n=0;n1){const u=[];return o.querySelectorAll(t.el).forEach(d=>{const h=Mt({},t,{el:d});u.push(new Nt(h))}),u}const a=this;a.__swiper__=!0,a.support=nc(),a.device=oc({userAgent:t.userAgent}),a.browser=ac(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],t.modules&&Array.isArray(t.modules)&&a.modules.push(...t.modules);const l={};a.modules.forEach(u=>{u({params:t,swiper:a,extendParams:Ef(t,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const c=Mt({},pc,l);return a.params=Mt({},c,Ro,t),a.originalParams=Mt({},a.params),a.passedParams=Mt({},t),a.params&&a.params.on&&Object.keys(a.params.on).forEach(u=>{a.on(u,a.params.on[u])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:i}=this,r=ui(t,`.${i.slideClass}, swiper-slide`),n=rc(r[0]);return rc(e)-n}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>t.getAttribute("data-swiper-slide-index")*1===e))}recalcSlides(){const e=this,{slidesEl:t,params:i}=e;e.slides=ui(t,`.${i.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;!e.enabled||(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const i=this;e=Math.min(Math.max(e,0),1);const r=i.minTranslate(),o=(i.maxTranslate()-r)*e+r;i.translateTo(o,typeof t=="undefined"?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(i=>i.indexOf("swiper")===0||i.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(i=>i.indexOf("swiper-slide")===0||i.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(i=>{const r=e.getSlideClasses(i);t.push({slideEl:i,classNames:r}),e.emit("_slideClass",i,r)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);const i=this,{params:r,slides:n,slidesGrid:o,slidesSizesGrid:a,size:l,activeIndex:c}=i;let u=1;if(typeof r.slidesPerView=="number")return r.slidesPerView;if(r.centeredSlides){let d=n[c]?Math.ceil(n[c].swiperSlideSize):0,h;for(let f=c+1;fl&&(h=!0));for(let f=c-1;f>=0;f-=1)n[f]&&!h&&(d+=n[f].swiperSlideSize,u+=1,d>l&&(h=!0))}else if(e==="current")for(let d=c+1;d=0;d-=1)o[c]-o[d]{o.complete&&nn(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function r(){const o=e.rtlTranslate?e.translate*-1:e.translate,a=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}let n;if(i.freeMode&&i.freeMode.enabled&&!i.cssMode)r(),i.autoHeight&&e.updateAutoHeight();else{if((i.slidesPerView==="auto"||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){const o=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;n=e.slideTo(o.length-1,0,!1,!0)}else n=e.slideTo(e.activeIndex,0,!1,!0);n||r()}i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);const i=this,r=i.params.direction;return e||(e=r==="horizontal"?"vertical":"horizontal"),e===r||e!=="horizontal"&&e!=="vertical"||(i.el.classList.remove(`${i.params.containerModifierClass}${r}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEach(n=>{e==="vertical"?n.style.width="":n.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(e){const t=this;t.rtl&&e==="rtl"||!t.rtl&&e==="ltr"||(t.rtl=e==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let i=e||t.params.el;if(typeof i=="string"&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=(()=>i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(r()):ui(i,r())[0])();return!o&&t.params.createElements&&(o=Mo("div",t.params.wrapperClass),i.append(o),ui(i,`.${t.params.slideClass}`).forEach(a=>{o.append(a)})),Object.assign(t,{el:i,wrapperEl:o,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:o,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||Ci(i,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||Ci(i,"direction")==="rtl"),wrongRTL:Ci(o,"display")==="-webkit-box"}),!0}init(e){const t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(n=>{n.complete?nn(t,n):n.addEventListener("load",o=>{nn(t,o.target)})}),zo(t),t.initialized=!0,zo(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);const i=this,{params:r,el:n,wrapperEl:o,slides:a}=i;return typeof i.params=="undefined"||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),r.loop&&i.loopDestroy(),t&&(i.removeClasses(),n&&typeof n!="string"&&n.removeAttribute("style"),o&&o.removeAttribute("style"),a&&a.length&&a.forEach(l=>{l.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(l=>{i.off(l)}),e!==!1&&(i.el&&typeof i.el!="string"&&(i.el.swiper=null),ld(i)),i.destroyed=!0),null}static extendDefaults(e){Mt(Ro,e)}static get extendedDefaults(){return Ro}static get defaults(){return pc}static installModule(e){Nt.prototype.__modules__||(Nt.prototype.__modules__=[]);const t=Nt.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>Nt.installModule(t)),Nt):(Nt.installModule(e),Nt)}}Object.keys(Io).forEach(s=>{Object.keys(Io[s]).forEach(e=>{Nt.prototype[e]=Io[s][e]})}),Nt.use([yd,Sd]);var Vf="";window.addEventListener("load",()=>{const s=document.querySelector(".cards-slider");if(!s)return;const e=new Nt(s,{slidesPerView:3,spaceBetween:32,navigation:{nextEl:s.querySelector(".swiper-button-next"),prevEl:s.querySelector(".swiper-button-prev")},breakpoints:{320:{slidesPerView:1,spaceBetween:16},768:{slidesPerView:1},992:{slidesPerView:3}},on:{slideChange:()=>{setTimeout(Fo,100)}}}),t=s.querySelector(".swiper-button-next"),i=s.querySelector(".swiper-button-prev");t&&t.addEventListener("click",()=>{e.slideNext()}),i&&i.addEventListener("click",()=>{e.slidePrev()}),Fo(),window.addEventListener("resize",Fo)});function Fo(){const s=document.querySelectorAll(".swiper-slide.card");if(!s.length)return;let e=0;s.forEach(t=>{t.style.height="auto"}),s.forEach(t=>{const i=t.offsetHeight;i>e&&(e=i)}),s.forEach(t=>{t.style.height=`${e}px`})}var Pf="1.3.3";function mc(s,e,t){return Math.max(s,Math.min(e,t))}function Mf(s,e,t){return(1-t)*s+t*e}function Cf(s,e,t,i){return Mf(s,e,1-Math.exp(-t*i))}function kf(s,e){return(s%e+e)%e}var Of=class{constructor(){I(this,"isRunning",!1);I(this,"value",0);I(this,"from",0);I(this,"to",0);I(this,"currentTime",0);I(this,"lerp");I(this,"duration");I(this,"easing");I(this,"onUpdate")}advance(s){var t;if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=s;const i=mc(0,this.currentTime/this.duration,1);e=i>=1;const r=e?1:this.easing(i);this.value=this.from+(this.to-this.from)*r}else this.lerp?(this.value=Cf(this.value,this.to,this.lerp*60,s),Math.round(this.value)===this.to&&(this.value=this.to,e=!0)):(this.value=this.to,e=!0);e&&this.stop(),(t=this.onUpdate)==null||t.call(this,this.value,e)}stop(){this.isRunning=!1}fromTo(s,e,{lerp:t,duration:i,easing:r,onStart:n,onUpdate:o}){this.from=this.value=s,this.to=e,this.lerp=t,this.duration=i,this.easing=r,this.currentTime=0,this.isRunning=!0,n==null||n(),this.onUpdate=o}};function Lf(s,e){let t;return function(...i){let r=this;clearTimeout(t),t=setTimeout(()=>{t=void 0,s.apply(r,i)},e)}}var Df=class{constructor(s,e,{autoResize:t=!0,debounce:i=250}={}){I(this,"width",0);I(this,"height",0);I(this,"scrollHeight",0);I(this,"scrollWidth",0);I(this,"debouncedResize");I(this,"wrapperResizeObserver");I(this,"contentResizeObserver");I(this,"resize",()=>{this.onWrapperResize(),this.onContentResize()});I(this,"onWrapperResize",()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)});I(this,"onContentResize",()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)});this.wrapper=s,this.content=e,t&&(this.debouncedResize=Lf(this.resize,i),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(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 s,e;(s=this.wrapperResizeObserver)==null||s.disconnect(),(e=this.contentResizeObserver)==null||e.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},gc=class{constructor(){I(this,"events",{})}emit(s,...e){var i;let t=this.events[s]||[];for(let r=0,n=t.length;r{var i;this.events[s]=(i=this.events[s])==null?void 0:i.filter(r=>e!==r)}}off(s,e){var t;this.events[s]=(t=this.events[s])==null?void 0:t.filter(i=>e!==i)}destroy(){this.events={}}},_c=100/6,ki={passive:!1},zf=class{constructor(s,e={wheelMultiplier:1,touchMultiplier:1}){I(this,"touchStart",{x:0,y:0});I(this,"lastDelta",{x:0,y:0});I(this,"window",{width:0,height:0});I(this,"emitter",new gc);I(this,"onTouchStart",s=>{const{clientX:e,clientY:t}=s.targetTouches?s.targetTouches[0]:s;this.touchStart.x=e,this.touchStart.y=t,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:s})});I(this,"onTouchMove",s=>{const{clientX:e,clientY:t}=s.targetTouches?s.targetTouches[0]:s,i=-(e-this.touchStart.x)*this.options.touchMultiplier,r=-(t-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=t,this.lastDelta={x:i,y:r},this.emitter.emit("scroll",{deltaX:i,deltaY:r,event:s})});I(this,"onTouchEnd",s=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:s})});I(this,"onWheel",s=>{let{deltaX:e,deltaY:t,deltaMode:i}=s;const r=i===1?_c:i===2?this.window.width:1,n=i===1?_c:i===2?this.window.height:1;e*=r,t*=n,e*=this.options.wheelMultiplier,t*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:t,event:s})});I(this,"onWindowResize",()=>{this.window={width:window.innerWidth,height:window.innerHeight}});this.element=s,this.options=e,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,ki),this.element.addEventListener("touchstart",this.onTouchStart,ki),this.element.addEventListener("touchmove",this.onTouchMove,ki),this.element.addEventListener("touchend",this.onTouchEnd,ki)}on(s,e){return this.emitter.on(s,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,ki),this.element.removeEventListener("touchstart",this.onTouchStart,ki),this.element.removeEventListener("touchmove",this.onTouchMove,ki),this.element.removeEventListener("touchend",this.onTouchEnd,ki)}},wc=s=>Math.min(1,1.001-Math.pow(2,-10*s)),If=class{constructor({wrapper:s=window,content:e=document.documentElement,eventsTarget:t=s,smoothWheel:i=!0,syncTouch:r=!1,syncTouchLerp:n=.075,touchInertiaMultiplier:o=35,duration:a,easing:l,lerp:c=.1,infinite:u=!1,orientation:d="vertical",gestureOrientation:h="vertical",touchMultiplier:f=1,wheelMultiplier:m=1,autoResize:p=!0,prevent:g,virtualScroll:_,overscroll:w=!0,autoRaf:y=!1,anchors:v=!1,autoToggle:x=!1,allowNestedScroll:A=!1,__experimental__naiveDimensions:b=!1}={}){I(this,"_isScrolling",!1);I(this,"_isStopped",!1);I(this,"_isLocked",!1);I(this,"_preventNextNativeScrollEvent",!1);I(this,"_resetVelocityTimeout",null);I(this,"__rafID",null);I(this,"isTouching");I(this,"time",0);I(this,"userData",{});I(this,"lastVelocity",0);I(this,"velocity",0);I(this,"direction",0);I(this,"options");I(this,"targetScroll");I(this,"animatedScroll");I(this,"animate",new Of);I(this,"emitter",new gc);I(this,"dimensions");I(this,"virtualScroll");I(this,"onScrollEnd",s=>{s instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&s.stopPropagation()});I(this,"dispatchScrollendEvent",()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))});I(this,"onTransitionEnd",s=>{if(s.propertyName.includes("overflow")){const e=this.isHorizontal?"overflow-x":"overflow-y",t=getComputedStyle(this.rootElement)[e];["hidden","clip"].includes(t)?this.stop():this.start()}});I(this,"onClick",s=>{const t=s.composedPath().find(i=>{var r,n,o;return i instanceof HTMLAnchorElement&&(((r=i.getAttribute("href"))==null?void 0:r.startsWith("#"))||((n=i.getAttribute("href"))==null?void 0:n.startsWith("/#"))||((o=i.getAttribute("href"))==null?void 0:o.startsWith("./#")))});if(t){const i=t.getAttribute("href");if(i){const r=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0;let n=`#${i.split("#")[1]}`;["#","/#","./#","#top","/#top","./#top"].includes(i)&&(n=0),this.scrollTo(n,r)}}});I(this,"onPointerDown",s=>{s.button===1&&this.reset()});I(this,"onVirtualScroll",s=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(s)===!1)return;const{deltaX:e,deltaY:t,event:i}=s;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:t,event:i}),i.ctrlKey||i.lenisStopPropagation)return;const r=i.type.includes("touch"),n=i.type.includes("wheel");this.isTouching=i.type==="touchstart"||i.type==="touchmove";const o=e===0&&t===0;if(this.options.syncTouch&&r&&i.type==="touchstart"&&o&&!this.isStopped&&!this.isLocked){this.reset();return}const l=this.options.gestureOrientation==="vertical"&&t===0||this.options.gestureOrientation==="horizontal"&&e===0;if(o||l)return;let c=i.composedPath();c=c.slice(0,c.indexOf(this.rootElement));const u=this.options.prevent;if(c.find(g=>{var _,w,y;return g instanceof HTMLElement&&(typeof u=="function"&&(u==null?void 0:u(g))||((_=g.hasAttribute)==null?void 0:_.call(g,"data-lenis-prevent"))||r&&((w=g.hasAttribute)==null?void 0:w.call(g,"data-lenis-prevent-touch"))||n&&((y=g.hasAttribute)==null?void 0:y.call(g,"data-lenis-prevent-wheel"))||this.options.allowNestedScroll&&this.checkNestedScroll(g,{deltaX:e,deltaY:t}))}))return;if(this.isStopped||this.isLocked){i.preventDefault();return}if(!(this.options.syncTouch&&r||this.options.smoothWheel&&n)){this.isScrolling="native",this.animate.stop(),i.lenisStopPropagation=!0;return}let h=t;this.options.gestureOrientation==="both"?h=Math.abs(t)>Math.abs(e)?t:e:this.options.gestureOrientation==="horizontal"&&(h=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&(this.animatedScroll>0&&this.animatedScroll0||this.animatedScroll===this.limit&&t<0))&&(i.lenisStopPropagation=!0),i.preventDefault();const f=r&&this.options.syncTouch,p=r&&i.type==="touchend"&&Math.abs(h)>5;p&&(h=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+h,un({programmatic:!1},f?{lerp:p?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))});I(this,"onNativeScroll",()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){const s=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-s,this.direction=Math.sign(this.animatedScroll-s),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}});I(this,"raf",s=>{const e=s-(this.time||s);this.time=s,this.animate.advance(e*.001),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))});window.lenisVersion=Pf,(!s||s===document.documentElement)&&(s=window),typeof a=="number"&&typeof l!="function"?l=wc:typeof l=="function"&&typeof a!="number"&&(a=1),this.options={wrapper:s,content:e,eventsTarget:t,smoothWheel:i,syncTouch:r,syncTouchLerp:n,touchInertiaMultiplier:o,duration:a,easing:l,lerp:c,infinite:u,gestureOrientation:h,orientation:d,touchMultiplier:f,wheelMultiplier:m,autoResize:p,prevent:g,virtualScroll:_,overscroll:w,autoRaf:y,anchors:v,autoToggle:x,allowNestedScroll:A,__experimental__naiveDimensions:b},this.dimensions=new Df(s,e,{autoResize:p}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.addEventListener("click",this.onClick,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new zf(t,{touchMultiplier:f,wheelMultiplier:m}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&this.rootElement.addEventListener("transitionend",this.onTransitionEnd,{passive:!0}),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.removeEventListener("click",this.onClick,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this.__rafID&&cancelAnimationFrame(this.__rafID)}on(s,e){return this.emitter.on(s,e)}off(s,e){return this.emitter.off(s,e)}setScroll(s){this.isHorizontal?this.options.wrapper.scrollTo({left:s,behavior:"instant"}):this.options.wrapper.scrollTo({top:s,behavior:"instant"})}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){!this.isStopped||(this.reset(),this.isStopped=!1,this.emit())}stop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}scrollTo(s,{offset:e=0,immediate:t=!1,lock:i=!1,duration:r=this.options.duration,easing:n=this.options.easing,lerp:o=this.options.lerp,onStart:a,onComplete:l,force:c=!1,programmatic:u=!0,userData:d}={}){if(!((this.isStopped||this.isLocked)&&!c)){if(typeof s=="string"&&["top","left","start"].includes(s))s=0;else if(typeof s=="string"&&["bottom","right","end"].includes(s))s=this.limit;else{let h;if(typeof s=="string"?h=document.querySelector(s):s instanceof HTMLElement&&(s==null?void 0:s.nodeType)&&(h=s),h){if(this.options.wrapper!==window){const m=this.rootElement.getBoundingClientRect();e-=this.isHorizontal?m.left:m.top}const f=h.getBoundingClientRect();s=(this.isHorizontal?f.left:f.top)+this.animatedScroll}}if(typeof s=="number"){if(s+=e,s=Math.round(s),this.options.infinite){if(u){this.targetScroll=this.animatedScroll=this.scroll;const h=s-this.animatedScroll;h>this.limit/2?s=s-this.limit:h<-this.limit/2&&(s=s+this.limit)}}else s=mc(0,s,this.limit);if(s===this.targetScroll){a==null||a(this),l==null||l(this);return}if(this.userData=d!=null?d:{},t){this.animatedScroll=this.targetScroll=s,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),l==null||l(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}u||(this.targetScroll=s),typeof r=="number"&&typeof n!="function"?n=wc:typeof n=="function"&&typeof r!="number"&&(r=1),this.animate.fromTo(this.animatedScroll,s,{duration:r,easing:n,lerp:o,onStart:()=>{i&&(this.isLocked=!0),this.isScrolling="smooth",a==null||a(this)},onUpdate:(h,f)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=h-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=h,this.setScroll(this.scroll),u&&(this.targetScroll=h),f||this.emit(),f&&(this.reset(),this.emit(),l==null||l(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}checkNestedScroll(s,{deltaX:e,deltaY:t}){var x,A;const i=Date.now(),r=(x=s._lenis)!=null?x:s._lenis={};let n,o,a,l,c,u,d,h;const f=this.options.gestureOrientation;if(i-((A=r.time)!=null?A:0)>2e3){r.time=Date.now();const b=window.getComputedStyle(s);r.computedStyle=b;const P=b.overflowX,M=b.overflowY;if(n=["auto","overlay","scroll"].includes(P),o=["auto","overlay","scroll"].includes(M),r.hasOverflowX=n,r.hasOverflowY=o,!n&&!o||f==="vertical"&&!o||f==="horizontal"&&!n)return!1;c=s.scrollWidth,u=s.scrollHeight,d=s.clientWidth,h=s.clientHeight,a=c>d,l=u>h,r.isScrollableX=a,r.isScrollableY=l,r.scrollWidth=c,r.scrollHeight=u,r.clientWidth=d,r.clientHeight=h}else a=r.isScrollableX,l=r.isScrollableY,n=r.hasOverflowX,o=r.hasOverflowY,c=r.scrollWidth,u=r.scrollHeight,d=r.clientWidth,h=r.clientHeight;if(!n&&!o||!a&&!l||f==="vertical"&&(!o||!l)||f==="horizontal"&&(!n||!a))return!1;let m;if(f==="horizontal")m="x";else if(f==="vertical")m="y";else{const b=e!==0,P=t!==0;b&&n&&a&&(m="x"),P&&o&&l&&(m="y")}if(!m)return!1;let p,g,_,w,y;if(m==="x")p=s.scrollLeft,g=c-d,_=e,w=n,y=a;else if(m==="y")p=s.scrollTop,g=u-h,_=t,w=o,y=l;else return!1;return(_>0?p0)&&w&&y}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){var e,t;const s=this.options.wrapper;return this.isHorizontal?(e=s.scrollX)!=null?e:s.scrollLeft:(t=s.scrollY)!=null?t:s.scrollTop}get scroll(){return this.options.infinite?kf(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(s){this._isScrolling!==s&&(this._isScrolling=s,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(s){this._isStopped!==s&&(this._isStopped=s,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(s){this._isLocked!==s&&(this._isLocked=s,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let s="lenis";return this.options.autoToggle&&(s+=" lenis-autoToggle"),this.isStopped&&(s+=" lenis-stopped"),this.isLocked&&(s+=" lenis-locked"),this.isScrolling&&(s+=" lenis-scrolling"),this.isScrolling==="smooth"&&(s+=" lenis-smooth"),s}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};function Rf(s){const e=Number(s);return isNaN(e)?"$0":e>=1e12?`$${(e/1e12).toFixed(1)}T`:e>=1e9?`$${(e/1e9).toFixed(1)}B`:e>=1e6?`$${(e/1e6).toFixed(1)}M`:e>=1e3?`$${(e/1e3).toFixed(1)}K`:`$${e}`}async function vc(){try{const t=(await(await fetch("https://web.archive.org/web/20260209111918/https://api.llama.fi/protocol/veda")).json()).tvl;if(!Array.isArray(t)||t.length===0)throw new Error("TVL historique vide ou invalide.");const r=t[t.length-1].totalLiquidityUSD;if(typeof r!="number")throw new Error(`TVL is not a number \u2013 received: ${r}`);const n=Rf(r),o=document.querySelector(".data_block");if(o){const a=o.querySelector(".data-content");a&&(a.textContent=n)}}catch{const e=document.querySelector(".data_block");if(e){const t=e.querySelector(".data-content");t&&(t.textContent="$0")}}}window.addEventListener("DOMContentLoaded",()=>{vc()}),et.registerPlugin(Y),document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".hero-animation, .hero-animation-2").forEach(e=>{e.querySelectorAll('[data-animation-type="lottie"]').forEach(i=>{i.setAttribute("data-autoplay","0"),i.setAttribute("data-is-ix2-target","0"),i.setAttribute("data-autoplay-on-scroll","0")})})},{once:!0}),window.addEventListener("DOMContentLoaded",function(){const s=document.querySelector(".announcement-bar"),e=s==null?void 0:s.querySelectorAll(".w-dyn-item");!s||(e&&e.length>0?s.style.display="flex":s.style.display="none")}),vc();const on=new If({duration:.5,easing:s=>Math.min(1,1.001-Math.pow(2,-10*s)),lerp:.05,smoothWheel:!0,touchMultiplier:0});on.on("scroll",Y.update),et.ticker.add(s=>{on.raf(s*1e3)}),et.ticker.lagSmoothing(0),window.addEventListener("resize",()=>{on.resize()}),new ResizeObserver(()=>{on.resize()}).observe(document.body)}); } /* FILE ARCHIVED ON 11:19:18 Feb 09, 2026 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 07:29:53 Apr 22, 2026. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): capture_cache.get: 0.594 captures_list: 0.489 exclusion.robots: 0.018 exclusion.robots.policy: 0.008 esindex: 0.01 cdx.remote: 37.907 LoadShardBlock: 325.405 (3) PetaboxLoader3.resolve: 178.756 (4) PetaboxLoader3.datanode: 132.136 (4) load_resource: 108.293 */