@widelab-nc/widelab 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -124
- package/dist/index.js.map +4 -4
- package/dist/style.css +1 -0
- package/package.json +15 -18
- package/src/index.js +8 -980
package/dist/index.js
CHANGED
|
@@ -1,126 +1,5 @@
|
|
|
1
|
-
(()=>{var Zh=Object.create;var _l=Object.defineProperty;var Qh=Object.getOwnPropertyDescriptor;var Jh=Object.getOwnPropertyNames;var ed=Object.getPrototypeOf,td=Object.prototype.hasOwnProperty;var rd=(s,e)=>()=>(e||s((e={exports:{}}).exports,e),e.exports);var id=(s,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Jh(e))!td.call(s,i)&&i!==t&&_l(s,i,{get:()=>e[i],enumerable:!(r=Qh(e,i))||r.enumerable});return s};var nd=(s,e,t)=>(t=s!=null?Zh(ed(s)):{},id(e||!s||!s.__esModule?_l(t,"default",{value:s,enumerable:!0}):t,s));var Bf=rd((Ru,Nu)=>{(function(s,e){typeof Ru=="object"&&typeof Nu!="undefined"?Nu.exports=e():typeof define=="function"&&define.amd?define(e):s.lozad=e()})(Ru,function(){"use strict";var s=typeof document!="undefined"&&document.documentMode,e={rootMargin:"0px",threshold:0,load:function(n){if(n.nodeName.toLowerCase()==="picture"){var o=n.querySelector("img"),a=!1;o===null&&(o=document.createElement("img"),a=!0),s&&n.getAttribute("data-iesrc")&&(o.src=n.getAttribute("data-iesrc")),n.getAttribute("data-alt")&&(o.alt=n.getAttribute("data-alt")),a&&n.append(o)}if(n.nodeName.toLowerCase()==="video"&&!n.getAttribute("data-src")&&n.children){for(var u=n.children,l=void 0,c=0;c<=u.length-1;c++)(l=u[c].getAttribute("data-src"))&&(u[c].src=l);n.load()}n.getAttribute("data-poster")&&(n.poster=n.getAttribute("data-poster")),n.getAttribute("data-src")&&(n.src=n.getAttribute("data-src")),n.getAttribute("data-srcset")&&n.setAttribute("srcset",n.getAttribute("data-srcset"));var _=",";if(n.getAttribute("data-background-delimiter")&&(_=n.getAttribute("data-background-delimiter")),n.getAttribute("data-background-image"))n.style.backgroundImage="url('"+n.getAttribute("data-background-image").split(_).join("'),url('")+"')";else if(n.getAttribute("data-background-image-set")){var d=n.getAttribute("data-background-image-set").split(_),f=d[0].substr(0,d[0].indexOf(" "))||d[0];f=f.indexOf("url(")===-1?"url("+f+")":f,d.length===1?n.style.backgroundImage=f:n.setAttribute("style",(n.getAttribute("style")||"")+"background-image: "+f+"; background-image: -webkit-image-set("+d+"); background-image: image-set("+d+")")}n.getAttribute("data-toggle-class")&&n.classList.toggle(n.getAttribute("data-toggle-class"))},loaded:function(){}};function t(n){n.setAttribute("data-loaded",!0)}var r=function(n){return n.getAttribute("data-loaded")==="true"},i=function(n){var o=1<arguments.length&&arguments[1]!==void 0?arguments[1]:document;return n instanceof Element?[n]:n instanceof NodeList?n:o.querySelectorAll(n)};return function(){var n,o,a=0<arguments.length&&arguments[0]!==void 0?arguments[0]:".lozad",u=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},l=Object.assign({},e,u),c=l.root,_=l.rootMargin,d=l.threshold,f=l.load,p=l.loaded,h=void 0;typeof window!="undefined"&&window.IntersectionObserver&&(h=new IntersectionObserver((n=f,o=p,function(v,C){v.forEach(function(x){(0<x.intersectionRatio||x.isIntersecting)&&(C.unobserve(x.target),r(x.target)||(n(x.target),t(x.target),o(x.target)))})}),{root:c,rootMargin:_,threshold:d}));for(var g,m=i(a,c),D=0;D<m.length;D++)(g=m[D]).getAttribute("data-placeholder-background")&&(g.style.background=g.getAttribute("data-placeholder-background"));return{observe:function(){for(var v=i(a,c),C=0;C<v.length;C++)r(v[C])||(h?h.observe(v[C]):(f(v[C]),t(v[C]),p(v[C])))},triggerLoad:function(v){r(v)||(f(v),t(v),p(v))},observer:h}}})});function fa(){return fa=Object.assign?Object.assign.bind():function(s){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(s[r]=t[r])}return s},fa.apply(this,arguments)}function Bs(s,e,t){return Math.max(s,Math.min(e,t))}var ha=class{advance(e){var t;if(!this.isRunning)return;let r=!1;if(this.lerp)this.value=(i=this.value,n=this.to,(1-(o=1-Math.exp(-60*this.lerp*e)))*i+o*n),Math.round(this.value)===this.to&&(this.value=this.to,r=!0);else{this.currentTime+=e;let a=Bs(0,this.currentTime/this.duration,1);r=a>=1;let u=r?1:this.easing(a);this.value=this.from+(this.to-this.from)*u}var i,n,o;(t=this.onUpdate)==null||t.call(this,this.value,r),r&&this.stop()}stop(){this.isRunning=!1}fromTo(e,t,{lerp:r=.1,duration:i=1,easing:n=u=>u,onStart:o,onUpdate:a}){this.from=this.value=e,this.to=t,this.lerp=r,this.duration=i,this.easing=n,this.currentTime=0,this.isRunning=!0,o==null||o(),this.onUpdate=a}},da=class{constructor({wrapper:e,content:t,autoResize:r=!0}={}){if(this.resize=()=>{this.onWrapperResize(),this.onContentResize()},this.onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)},this.onContentResize=()=>{this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth},this.wrapper=e,this.content=t,r){let i=function(n,o){let a;return function(){let u=arguments,l=this;clearTimeout(a),a=setTimeout(function(){n.apply(l,u)},250)}}(this.resize);this.wrapper!==window&&(this.wrapperResizeObserver=new ResizeObserver(i),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(i),this.contentResizeObserver.observe(this.content)}this.resize()}destroy(){var e,t;(e=this.wrapperResizeObserver)==null||e.disconnect(),(t=this.contentResizeObserver)==null||t.disconnect()}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},zs=class{constructor(){this.events={}}emit(e,...t){let r=this.events[e]||[];for(let i=0,n=r.length;i<n;i++)r[i](...t)}on(e,t){var r;return(r=this.events[e])!=null&&r.push(t)||(this.events[e]=[t]),()=>{var i;this.events[e]=(i=this.events[e])==null?void 0:i.filter(n=>t!==n)}}off(e,t){var r;this.events[e]=(r=this.events[e])==null?void 0:r.filter(i=>t!==i)}destroy(){this.events={}}},pa=class{constructor(e,{wheelMultiplier:t=1,touchMultiplier:r=2,normalizeWheel:i=!1}){this.onTouchStart=n=>{let{clientX:o,clientY:a}=n.targetTouches?n.targetTouches[0]:n;this.touchStart.x=o,this.touchStart.y=a,this.lastDelta={x:0,y:0}},this.onTouchMove=n=>{let{clientX:o,clientY:a}=n.targetTouches?n.targetTouches[0]:n,u=-(o-this.touchStart.x)*this.touchMultiplier,l=-(a-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=o,this.touchStart.y=a,this.lastDelta={x:u,y:l},this.emitter.emit("scroll",{deltaX:u,deltaY:l,event:n})},this.onTouchEnd=n=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:n})},this.onWheel=n=>{let{deltaX:o,deltaY:a}=n;this.normalizeWheel&&(o=Bs(-100,o,100),a=Bs(-100,a,100)),o*=this.wheelMultiplier,a*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:o,deltaY:a,event:n})},this.element=e,this.wheelMultiplier=t,this.touchMultiplier=r,this.normalizeWheel=i,this.touchStart={x:null,y:null},this.emitter=new zs,this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),this.element.removeEventListener("wheel",this.onWheel,{passive:!1}),this.element.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.removeEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.removeEventListener("touchend",this.onTouchEnd,{passive:!1})}},Vs=class{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:r=e,smoothWheel:i=!0,smoothTouch:n=!1,syncTouch:o=!1,syncTouchLerp:a=.1,__iosNoInertiaSyncTouchLerp:u=.4,touchInertiaMultiplier:l=35,duration:c,easing:_=C=>Math.min(1,1.001-Math.pow(2,-10*C)),lerp:d=c&&.1,infinite:f=!1,orientation:p="vertical",gestureOrientation:h="vertical",touchMultiplier:g=1,wheelMultiplier:m=1,normalizeWheel:D=!1,autoResize:v=!0}={}){this.onVirtualScroll=({deltaX:C,deltaY:x,event:S})=>{if(S.ctrlKey)return;let E=S.type.includes("touch"),b=S.type.includes("wheel");if(this.options.gestureOrientation==="both"&&C===0&&x===0||this.options.gestureOrientation==="vertical"&&x===0||this.options.gestureOrientation==="horizontal"&&C===0||E&&this.options.gestureOrientation==="vertical"&&this.scroll===0&&!this.options.infinite&&x<=0)return;let A=S.composedPath();if(A=A.slice(0,A.indexOf(this.rootElement)),A.find(O=>{var V;return(O.hasAttribute==null?void 0:O.hasAttribute("data-lenis-prevent"))||E&&(O.hasAttribute==null?void 0:O.hasAttribute("data-lenis-prevent-touch"))||b&&(O.hasAttribute==null?void 0:O.hasAttribute("data-lenis-prevent-wheel"))||((V=O.classList)==null?void 0:V.contains("lenis"))}))return;if(this.isStopped||this.isLocked)return void S.preventDefault();if(this.isSmooth=(this.options.smoothTouch||this.options.syncTouch)&&E||this.options.smoothWheel&&b,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();S.preventDefault();let T=x;this.options.gestureOrientation==="both"?T=Math.abs(x)>Math.abs(C)?x:C:this.options.gestureOrientation==="horizontal"&&(T=C);let P=E&&this.options.syncTouch,F=E&&S.type==="touchend"&&Math.abs(T)>1;F&&(T=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+T,fa({programmatic:!1},P&&{lerp:F?this.syncTouchLerp:this.options.__iosNoInertiaSyncTouchLerp}))},this.onScroll=()=>{if(!this.isScrolling){let C=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-C),this.emit()}},window.lenisVersion="1.0.25",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:t,wheelEventsTarget:r,smoothWheel:i,smoothTouch:n,syncTouch:o,syncTouchLerp:a,__iosNoInertiaSyncTouchLerp:u,touchInertiaMultiplier:l,duration:c,easing:_,lerp:d,infinite:f,gestureOrientation:h,orientation:p,touchMultiplier:g,wheelMultiplier:m,normalizeWheel:D,autoResize:v},this.animate=new ha,this.emitter=new zs,this.dimensions=new da({wrapper:e,content:t,autoResize:v}),this.toggleClass("lenis",!0),this.velocity=0,this.isStopped=!1,this.isSmooth=i||n,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll=new pa(r,{touchMultiplier:g,wheelMultiplier:m,normalizeWheel:D}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll.destroy(),this.dimensions.destroy(),this.toggleClass("lenis",!1),this.toggleClass("lenis-smooth",!1),this.toggleClass("lenis-scrolling",!1),this.toggleClass("lenis-stopped",!1)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}setScroll(e){this.isHorizontal?this.rootElement.scrollLeft=e:this.rootElement.scrollTop=e}resize(){this.dimensions.resize()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.velocity=0,this.animate.stop()}start(){this.isStopped=!1,this.reset()}stop(){this.isStopped=!0,this.animate.stop(),this.reset()}raf(e){let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t)}scrollTo(e,{offset:t=0,immediate:r=!1,lock:i=!1,duration:n=this.options.duration,easing:o=this.options.easing,lerp:a=!n&&this.options.lerp,onComplete:u=null,force:l=!1,programmatic:c=!0}={}){if(!this.isStopped||l){if(["top","left","start"].includes(e))e=0;else if(["bottom","right","end"].includes(e))e=this.limit;else{var _;let d;if(typeof e=="string"?d=document.querySelector(e):(_=e)!=null&&_.nodeType&&(d=e),d){if(this.options.wrapper!==window){let p=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?p.left:p.top}let f=d.getBoundingClientRect();e=(this.isHorizontal?f.left:f.top)+this.animatedScroll}}if(typeof e=="number"){if(e+=t,e=Math.round(e),this.options.infinite?c&&(this.targetScroll=this.animatedScroll=this.scroll):e=Bs(0,e,this.limit),r)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),this.emit(),void(u==null||u(this));if(!c){if(e===this.targetScroll)return;this.targetScroll=e}this.animate.fromTo(this.animatedScroll,e,{duration:n,easing:o,lerp:a,onStart:()=>{i&&(this.isLocked=!0),this.isScrolling=!0},onUpdate:(d,f)=>{this.isScrolling=!0,this.velocity=d-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=d,this.setScroll(this.scroll),c&&(this.targetScroll=d),f||this.emit(),f&&requestAnimationFrame(()=>{this.isScrolling=!1,this.velocity=0,i&&(this.isLocked=!1),this.emit(),u==null||u(this)})}})}}}get rootElement(){return this.options.wrapper===window?this.options.content:this.options.wrapper}get limit(){return this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll;var e}get progress(){return this.limit===0?1:this.scroll/this.limit}get isSmooth(){return this.__isSmooth}set isSmooth(e){this.__isSmooth!==e&&(this.__isSmooth=e,this.toggleClass("lenis-smooth",e))}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.__isScrolling=e,this.toggleClass("lenis-scrolling",e))}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.__isStopped=e,this.toggleClass("lenis-stopped",e))}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isScrolling&&(e+=" lenis-scrolling"),this.isSmooth&&(e+=" lenis-smooth"),e}toggleClass(e,t){this.rootElement.classList.toggle(e,t),this.emitter.emit("className change",this)}};function xr(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function xl(s,e){s.prototype=Object.create(e.prototype),s.prototype.constructor=s,s.__proto__=e}var yt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},$i={duration:.5,overwrite:!1,delay:0},La,et,we,Nt=1e8,_e=1/Nt,Ca=Math.PI*2,sd=Ca/4,od=0,bl=Math.sqrt,ad=Math.cos,ud=Math.sin,Be=function(e){return typeof e=="string"},Te=function(e){return typeof e=="function"},Sr=function(e){return typeof e=="number"},Zs=function(e){return typeof e=="undefined"},cr=function(e){return typeof e=="object"},vt=function(e){return e!==!1},Ma=function(){return typeof window!="undefined"},Ws=function(e){return Te(e)||Be(e)},Sl=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},tt=Array.isArray,xa=/(?:-?\.?\d|\.)+/gi,Ra=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ci=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_a=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Na=/[+-]=-?[.\d]+/,wl=/[^,'"\[\]\s]+/gi,ld=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ye,Rt,ba,Ia,Ft={},Xs={},Tl,Al=function(e){return(Xs=Ei(e,Ft))&&rt},Qs=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Us=function(e,t){return!t&&console.warn(e)},Fl=function(e,t){return e&&(Ft[e]=t)&&Xs&&(Xs[e]=t)||Ft},zn=function(){return 0},cd={suppressEvents:!0,isStart:!0,kill:!1},Ys={suppressEvents:!0,kill:!1},fd={suppressEvents:!0},Ba={},Hr=[],Sa={},Pl,Dt={},ga={},gl=30,Gs=[],za="",Va=function(e){var t=e[0],r,i;if(cr(t)||Te(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(i=Gs.length;i--&&!Gs[i].targetTest(t););r=Gs[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Ga(e[i],r)))||e.splice(i,1);return e},Xr=function(e){return e._gsap||Va(It(e))[0]._gsap},Wa=function(e,t,r){return(r=e[t])&&Te(r)?e[t]():Zs(r)&&e.getAttribute&&e.getAttribute(t)||r},ot=function(e,t){return(e=e.split(",")).forEach(t)||e},Ae=function(e){return Math.round(e*1e5)/1e5||0},Ue=function(e){return Math.round(e*1e7)/1e7||0},xi=function(e,t){var r=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},hd=function(e,t){for(var r=t.length,i=0;e.indexOf(t[i])<0&&++i<r;);return i<r},qs=function(){var e=Hr.length,t=Hr.slice(0),r,i;for(Sa={},Hr.length=0,r=0;r<e;r++)i=t[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},kl=function(e,t,r,i){Hr.length&&!et&&qs(),e.render(t,r,i||et&&t<0&&(e._initted||e._startAt)),Hr.length&&!et&&qs()},Ol=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(wl).length<2?t:Be(e)?e.trim():e},Ll=function(e){return e},zt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},dd=function(e){return function(t,r){for(var i in r)i in t||i==="duration"&&e||i==="ease"||(t[i]=r[i])}},Ei=function(e,t){for(var r in t)e[r]=t[r];return e},Dl=function s(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=cr(t[r])?s(e[r]||(e[r]={}),t[r]):t[r]);return e},js=function(e,t){var r={},i;for(i in e)i in t||(r[i]=e[i]);return r},Nn=function(e){var t=e.parent||ye,r=e.keyframes?dd(tt(e.keyframes)):zt;if(vt(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},pd=function(e,t){for(var r=e.length,i=r===t.length;i&&r--&&e[r]===t[r];);return r<0},Ml=function(e,t,r,i,n){r===void 0&&(r="_first"),i===void 0&&(i="_last");var o=e[i],a;if(n)for(a=t[n];o&&o[n]>a;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[i]=t,t._prev=o,t.parent=t._dp=e,t},Js=function(e,t,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var n=t._prev,o=t._next;n?n._next=o:e[r]===t&&(e[r]=o),o?o._prev=n:e[i]===t&&(e[i]=n),t._next=t._prev=t.parent=null},Ur=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},mi=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},_d=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},wa=function(e,t,r,i){return e._startAt&&(et?e._startAt.revert(Ys):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},gd=function s(e){return!e||e._ts&&s(e.parent)},ml=function(e){return e._repeat?Zi(e._tTime,e=e.duration()+e._rDelay)*e:0},Zi=function(e,t){var r=Math.floor(e/=t);return e&&r===e?r-1:r},Ks=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},eo=function(e){return e._end=Ue(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},to=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Ue(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),eo(e),r._dirty||mi(r,e)),e},Rl=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Ks(e.rawTime(),t),(!t._dur||Yn(0,t.totalDuration(),r)-t._tTime>_e)&&t.render(r,!0)),mi(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-_e}},lr=function(e,t,r,i){return t.parent&&Ur(t),t._start=Ue((Sr(r)?r:r||e!==ye?Mt(e,r,t):e._time)+t._delay),t._end=Ue(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Ml(e,t,"_first","_last",e._sort?"_start":0),Ta(t)||(e._recent=t),i||Rl(e,t),e._ts<0&&to(e,e._tTime),e},Nl=function(e,t){return(Ft.ScrollTrigger||Qs("scrollTrigger",t))&&Ft.ScrollTrigger.create(t,e)},Il=function(e,t,r,i,n){if(Ua(e,t,n),!e._initted)return 1;if(!r&&e._pt&&!et&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Pl!==mt.frame)return Hr.push(e),e._lazy=[n,i],1},Dd=function s(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||s(t))},Ta=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},md=function(e,t,r,i){var n=e.ratio,o=t<0||!t&&(!e._start&&Dd(e)&&!(!e._initted&&Ta(e))||(e._ts<0||e._dp._ts<0)&&!Ta(e))?0:1,a=e._rDelay,u=0,l,c,_;if(a&&e._repeat&&(u=Yn(0,e._tDur,t),c=Zi(u,a),e._yoyo&&c&1&&(o=1-o),c!==Zi(e._tTime,a)&&(n=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==n||et||i||e._zTime===_e||!t&&e._zTime){if(!e._initted&&Il(e,t,i,r,u))return;for(_=e._zTime,e._zTime=t||(r?_e:0),r||(r=t&&!_),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=u,l=e._pt;l;)l.r(o,l.d),l=l._next;t<0&&wa(e,t,r,!0),e._onUpdate&&!r&&Bt(e,"onUpdate"),u&&e._repeat&&!r&&e.parent&&Bt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&Ur(e,1),!r&&!et&&(Bt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},vd=function(e,t,r){var i;if(r>t)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<t)return i;i=i._prev}},Qi=function(e,t,r,i){var n=e._repeat,o=Ue(t)||0,a=e._tTime/e._tDur;return a&&!i&&(e._time*=o/e._dur),e._dur=o,e._tDur=n?n<0?1e10:Ue(o*(n+1)+e._rDelay*n):o,a>0&&!i&&to(e,e._tTime=e._tDur*a),e.parent&&eo(e),r||mi(e.parent,e),e},vl=function(e){return e instanceof Je?mi(e):Qi(e,e._dur)},yd={_start:0,endTime:zn,totalDuration:zn},Mt=function s(e,t,r){var i=e.labels,n=e._recent||yd,o=e.duration()>=Nt?n.endTime(!1):e._dur,a,u,l;return Be(t)&&(isNaN(t)||t in i)?(u=t.charAt(0),l=t.substr(-1)==="%",a=t.indexOf("="),u==="<"||u===">"?(a>=0&&(t=t.replace(/=/,"")),(u==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(t.substr(1))||0)*(l?(a<0?n:r).totalDuration()/100:1)):a<0?(t in i||(i[t]=o),i[t]):(u=parseFloat(t.charAt(a-1)+t.substr(a+1)),l&&r&&(u=u/100*(tt(r)?r[0]:r).totalDuration()),a>1?s(e,t.substr(0,a-1),r)+u:o+u)):t==null?o:+t},In=function(e,t,r){var i=Sr(t[1]),n=(i?2:1)+(e<2?0:1),o=t[n],a,u;if(i&&(o.duration=t[1]),o.parent=r,e){for(a=o,u=r;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=vt(u.vars.inherit)&&u.parent;o.immediateRender=vt(a.immediateRender),e<2?o.runBackwards=1:o.startAt=t[n-1]}return new ke(t[0],o,t[n+1])},qr=function(e,t){return e||e===0?t(e):t},Yn=function(e,t,r){return r<e?e:r>t?t:r},qe=function(e,t){return!Be(e)||!(t=ld.exec(e))?"":t[1]},Ed=function(e,t,r){return qr(r,function(i){return Yn(e,t,i)})},Aa=[].slice,Bl=function(e,t){return e&&cr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&cr(e[0]))&&!e.nodeType&&e!==Rt},Cd=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(i){var n;return Be(i)&&!t||Bl(i,1)?(n=r).push.apply(n,It(i)):r.push(i)})||r},It=function(e,t,r){return we&&!t&&we.selector?we.selector(e):Be(e)&&!r&&(ba||!Ji())?Aa.call((t||Ia).querySelectorAll(e),0):tt(e)?Cd(e,r):Bl(e)?Aa.call(e,0):e?[e]:[]},Fa=function(e){return e=It(e)[0]||Us("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return It(t,r.querySelectorAll?r:r===e?Us("Invalid scope")||Ia.createElement("div"):e)}},zl=function(e){return e.sort(function(){return .5-Math.random()})},Vl=function(e){if(Te(e))return e;var t=cr(e)?e:{each:e},r=vi(t.ease),i=t.from||0,n=parseFloat(t.base)||0,o={},a=i>0&&i<1,u=isNaN(i)||a,l=t.axis,c=i,_=i;return Be(i)?c=_={center:.5,edges:.5,end:1}[i]||0:!a&&u&&(c=i[0],_=i[1]),function(d,f,p){var h=(p||t).length,g=o[h],m,D,v,C,x,S,E,b,A;if(!g){if(A=t.grid==="auto"?0:(t.grid||[1,Nt])[1],!A){for(E=-Nt;E<(E=p[A++].getBoundingClientRect().left)&&A<h;);A--}for(g=o[h]=[],m=u?Math.min(A,h)*c-.5:i%A,D=A===Nt?0:u?h*_/A-.5:i/A|0,E=0,b=Nt,S=0;S<h;S++)v=S%A-m,C=D-(S/A|0),g[S]=x=l?Math.abs(l==="y"?C:v):bl(v*v+C*C),x>E&&(E=x),x<b&&(b=x);i==="random"&&zl(g),g.max=E-b,g.min=b,g.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(A>h?h-1:l?l==="y"?h/A:A:Math.max(A,h/A))||0)*(i==="edges"?-1:1),g.b=h<0?n-h:n,g.u=qe(t.amount||t.each)||0,r=r&&h<0?Kl(r):r}return h=(g[d]-g.min)/g.max||0,Ue(g.b+(r?r(h):h)*g.v)+g.u}},Pa=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=Ue(Math.round(parseFloat(r)/e)*e*t);return(i-i%1)/t+(Sr(r)?0:qe(r))}},Wl=function(e,t){var r=tt(e),i,n;return!r&&cr(e)&&(i=r=e.radius||Nt,e.values?(e=It(e.values),(n=!Sr(e[0]))&&(i*=i)):e=Pa(e.increment)),qr(t,r?Te(e)?function(o){return n=e(o),Math.abs(n-o)<=i?n:o}:function(o){for(var a=parseFloat(n?o.x:o),u=parseFloat(n?o.y:0),l=Nt,c=0,_=e.length,d,f;_--;)n?(d=e[_].x-a,f=e[_].y-u,d=d*d+f*f):d=Math.abs(e[_]-a),d<l&&(l=d,c=_);return c=!i||l<=i?e[c]:o,n||c===o||Sr(o)?c:c+qe(o)}:Pa(e))},Yl=function(e,t,r,i){return qr(tt(e)?!t:r===!0?!!(r=0):!i,function(){return tt(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*i)/i})},xd=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){return t.reduce(function(n,o){return o(n)},i)}},bd=function(e,t){return function(r){return e(parseFloat(r))+(t||qe(r))}},Sd=function(e,t,r){return Hl(e,t,0,1,r)},Gl=function(e,t,r){return qr(r,function(i){return e[~~t(i)]})},wd=function s(e,t,r){var i=t-e;return tt(e)?Gl(e,s(0,e.length),t):qr(r,function(n){return(i+(n-e)%i)%i+e})},Td=function s(e,t,r){var i=t-e,n=i*2;return tt(e)?Gl(e,s(0,e.length-1),t):qr(r,function(o){return o=(n+(o-e)%n)%n||0,e+(o>i?n-o:o)})},en=function(e){for(var t=0,r="",i,n,o,a;~(i=e.indexOf("random(",t));)o=e.indexOf(")",i),a=e.charAt(i+7)==="[",n=e.substr(i+7,o-i-7).match(a?wl:xa),r+=e.substr(t,i-t)+Yl(a?n:+n[0],a?0:+n[1],+n[2]||1e-5),t=o+1;return r+e.substr(t,e.length-t)},Hl=function(e,t,r,i,n){var o=t-e,a=i-r;return qr(n,function(u){return r+((u-e)/o*a||0)})},Ad=function s(e,t,r,i){var n=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!n){var o=Be(e),a={},u,l,c,_,d;if(r===!0&&(i=1)&&(r=null),o)e={p:e},t={p:t};else if(tt(e)&&!tt(t)){for(c=[],_=e.length,d=_-2,l=1;l<_;l++)c.push(s(e[l-1],e[l]));_--,n=function(p){p*=_;var h=Math.min(d,~~p);return c[h](p-h)},r=t}else i||(e=Ei(tt(e)?[]:{},e));if(!c){for(u in t)Ha.call(a,e,u,"get",t[u]);n=function(p){return Ka(p,a)||(o?e.p:e)}}}return qr(r,n)},yl=function(e,t,r){var i=e.labels,n=Nt,o,a,u;for(o in i)a=i[o]-t,a<0==!!r&&a&&n>(a=Math.abs(a))&&(u=o,n=a);return u},Bt=function(e,t,r){var i=e.vars,n=i[t],o=we,a=e._ctx,u,l,c;if(n)return u=i[t+"Params"],l=i.callbackScope||e,r&&Hr.length&&qs(),a&&(we=a),c=u?n.apply(l,u):n.call(l),we=o,c},Mn=function(e){return Ur(e),e.scrollTrigger&&e.scrollTrigger.kill(!!et),e.progress()<1&&Bt(e,"onInterrupt"),e},Ki,Xl=[],Ul=function(e){if(Ma()&&e){e=!e.name&&e.default||e;var t=e.name,r=Te(e),i=t&&!r&&e.init?function(){this._props=[]}:e,n={init:zn,render:Ka,add:Ha,kill:Hd,modifier:Gd,rawVars:0},o={targetTest:0,get:0,getSetter:ro,aliases:{},register:0};if(Ji(),e!==i){if(Dt[t])return;zt(i,zt(js(e,n),o)),Ei(i.prototype,Ei(n,js(e,o))),Dt[i.prop=t]=i,e.targetTest&&(Gs.push(i),Ba[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Fl(t,i),e.register&&e.register(rt,i,at)}else e&&Xl.push(e)},pe=255,Rn={aqua:[0,pe,pe],lime:[0,pe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,pe],navy:[0,0,128],white:[pe,pe,pe],olive:[128,128,0],yellow:[pe,pe,0],orange:[pe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[pe,0,0],pink:[pe,192,203],cyan:[0,pe,pe],transparent:[pe,pe,pe,0]},Da=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*pe+.5|0},ql=function(e,t,r){var i=e?Sr(e)?[e>>16,e>>8&pe,e&pe]:0:Rn.black,n,o,a,u,l,c,_,d,f,p;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Rn[e])i=Rn[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 i=parseInt(e.substr(1,6),16),[i>>16,i>>8&pe,i&pe,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&pe,e&pe]}else if(e.substr(0,3)==="hsl"){if(i=p=e.match(xa),!t)u=+i[0]%360/360,l=+i[1]/100,c=+i[2]/100,o=c<=.5?c*(l+1):c+l-c*l,n=c*2-o,i.length>3&&(i[3]*=1),i[0]=Da(u+1/3,n,o),i[1]=Da(u,n,o),i[2]=Da(u-1/3,n,o);else if(~e.indexOf("="))return i=e.match(Ra),r&&i.length<4&&(i[3]=1),i}else i=e.match(xa)||Rn.transparent;i=i.map(Number)}return t&&!p&&(n=i[0]/pe,o=i[1]/pe,a=i[2]/pe,_=Math.max(n,o,a),d=Math.min(n,o,a),c=(_+d)/2,_===d?u=l=0:(f=_-d,l=c>.5?f/(2-_-d):f/(_+d),u=_===n?(o-a)/f+(o<a?6:0):_===o?(a-n)/f+2:(n-o)/f+4,u*=60),i[0]=~~(u+.5),i[1]=~~(l*100+.5),i[2]=~~(c*100+.5)),r&&i.length<4&&(i[3]=1),i},jl=function(e){var t=[],r=[],i=-1;return e.split(br).forEach(function(n){var o=n.match(Ci)||[];t.push.apply(t,o),r.push(i+=o.length+1)}),t.c=r,t},El=function(e,t,r){var i="",n=(e+i).match(br),o=t?"hsla(":"rgba(",a=0,u,l,c,_;if(!n)return e;if(n=n.map(function(d){return(d=ql(d,t,1))&&o+(t?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),r&&(c=jl(e),u=r.c,u.join(i)!==c.c.join(i)))for(l=e.replace(br,"1").split(Ci),_=l.length-1;a<_;a++)i+=l[a]+(~u.indexOf(a)?n.shift()||o+"0,0,0,0)":(c.length?c:n.length?n:r).shift());if(!l)for(l=e.split(br),_=l.length-1;a<_;a++)i+=l[a]+n[a];return i+l[_]},br=function(){var s="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Rn)s+="|"+e+"\\b";return new RegExp(s+")","gi")}(),Fd=/hsl[a]?\(/,Ya=function(e){var t=e.join(" "),r;if(br.lastIndex=0,br.test(t))return r=Fd.test(t),e[1]=El(e[1],r),e[0]=El(e[0],r,jl(e[1])),!0},Vn,mt=function(){var s=Date.now,e=500,t=33,r=s(),i=r,n=1e3/240,o=n,a=[],u,l,c,_,d,f,p=function h(g){var m=s()-i,D=g===!0,v,C,x,S;if(m>e&&(r+=m-t),i+=m,x=i-r,v=x-o,(v>0||D)&&(S=++_.frame,d=x-_.time*1e3,_.time=x=x/1e3,o+=v+(v>=n?4:n-v),C=1),D||(u=l(h)),C)for(f=0;f<a.length;f++)a[f](x,d,S,g)};return _={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(g){return d/(1e3/(g||60))},wake:function(){Tl&&(!ba&&Ma()&&(Rt=ba=window,Ia=Rt.document||{},Ft.gsap=rt,(Rt.gsapVersions||(Rt.gsapVersions=[])).push(rt.version),Al(Xs||Rt.GreenSockGlobals||!Rt.gsap&&Rt||{}),c=Rt.requestAnimationFrame,Xl.forEach(Ul)),u&&_.sleep(),l=c||function(g){return setTimeout(g,o-_.time*1e3+1|0)},Vn=1,p(2))},sleep:function(){(c?Rt.cancelAnimationFrame:clearTimeout)(u),Vn=0,l=zn},lagSmoothing:function(g,m){e=g||1/0,t=Math.min(m||33,e)},fps:function(g){n=1e3/(g||240),o=_.time*1e3+n},add:function(g,m,D){var v=m?function(C,x,S,E){g(C,x,S,E),_.remove(v)}:g;return _.remove(g),a[D?"unshift":"push"](v),Ji(),v},remove:function(g,m){~(m=a.indexOf(g))&&a.splice(m,1)&&f>=m&&f--},_listeners:a},_}(),Ji=function(){return!Vn&&mt.wake()},se={},Pd=/^[\d.\-M][\d.\-,\s]/,kd=/["']/g,Od=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),i=r[0],n=1,o=r.length,a,u,l;n<o;n++)u=r[n],a=n!==o-1?u.lastIndexOf(","):u.length,l=u.substr(0,a),t[i]=isNaN(l)?l.replace(kd,"").trim():+l,i=u.substr(a+1).trim();return t},Ld=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",t);return e.substring(t,~i&&i<r?e.indexOf(")",r+1):r)},Md=function(e){var t=(e+"").split("("),r=se[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Od(t[1])]:Ld(e).split(",").map(Ol)):se._CE&&Pd.test(e)?se._CE("",e):r},Kl=function(e){return function(t){return 1-e(1-t)}},$l=function s(e,t){for(var r=e._first,i;r;)r instanceof Je?s(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?s(r.timeline,t):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=t)),r=r._next},vi=function(e,t){return e&&(Te(e)?e:se[e]||Md(e))||t},bi=function(e,t,r,i){r===void 0&&(r=function(u){return 1-t(1-u)}),i===void 0&&(i=function(u){return u<.5?t(u*2)/2:1-t((1-u)*2)/2});var n={easeIn:t,easeOut:r,easeInOut:i},o;return ot(e,function(a){se[a]=Ft[a]=n,se[o=a.toLowerCase()]=r;for(var u in n)se[o+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=se[a+"."+u]=n[u]}),n},Zl=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},ma=function s(e,t,r){var i=t>=1?t:1,n=(r||(e?.3:.45))/(t<1?t:1),o=n/Ca*(Math.asin(1/i)||0),a=function(c){return c===1?1:i*Math.pow(2,-10*c)*ud((c-o)*n)+1},u=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:Zl(a);return n=Ca/n,u.config=function(l,c){return s(e,l,c)},u},va=function s(e,t){t===void 0&&(t=1.70158);var r=function(o){return o?--o*o*((t+1)*o+t)+1:0},i=e==="out"?r:e==="in"?function(n){return 1-r(1-n)}:Zl(r);return i.config=function(n){return s(e,n)},i};ot("Linear,Quad,Cubic,Quart,Quint,Strong",function(s,e){var t=e<5?e+1:e;bi(s+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});se.Linear.easeNone=se.none=se.Linear.easeIn;bi("Elastic",ma("in"),ma("out"),ma());(function(s,e){var t=1/e,r=2*t,i=2.5*t,n=function(a){return a<t?s*a*a:a<r?s*Math.pow(a-1.5/e,2)+.75:a<i?s*(a-=2.25/e)*a+.9375:s*Math.pow(a-2.625/e,2)+.984375};bi("Bounce",function(o){return 1-n(1-o)},n)})(7.5625,2.75);bi("Expo",function(s){return s?Math.pow(2,10*(s-1)):0});bi("Circ",function(s){return-(bl(1-s*s)-1)});bi("Sine",function(s){return s===1?1:-ad(s*sd)+1});bi("Back",va("in"),va("out"),va());se.SteppedEase=se.steps=Ft.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,i=e+(t?0:1),n=t?1:0,o=1-_e;return function(a){return((i*Yn(0,o,a)|0)+n)*r}}};$i.ease=se["quad.out"];ot("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(s){return za+=s+","+s+"Params,"});var Ga=function(e,t){this.id=od++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Wa,this.set=t?t.getSetter:ro},Wn=function(){function s(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Qi(this,+t.duration,1,1),this.data=t.data,we&&(this._ctx=we,we.data.push(this)),Vn||mt.wake()}var e=s.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Qi(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Ji(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(to(this,r),!n._dp||n.parent||Rl(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&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&lr(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===_e||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),kl(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+ml(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+ml(this),i):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(r,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*n,i):this._repeat?Zi(this._tTime,n)+1:1},e.timeScale=function(r){if(!arguments.length)return this._rts===-_e?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Ks(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-_e?0:this._rts,this.totalTime(Yn(-Math.abs(this._delay),this._tDur,i),!0),eo(this),_d(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ji(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_e&&(this._tTime-=_e)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&lr(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(vt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ks(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=fd);var i=et;return et=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),et=i,this},e.globalTime=function(r){for(var i=this,n=arguments.length?r:i.rawTime();i;)n=i._start+n/(i._ts||1),i=i._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0:this._sat.globalTime(r):n},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,vl(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,vl(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(Mt(this,r),vt(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,vt(i))},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-_e:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-_e,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,n;return!!(!r||this._ts&&this._initted&&r.isActive()&&(n=r.rawTime(!0))>=i&&n<this.endTime(!0)-_e)},e.eventCallback=function(r,i,n){var o=this.vars;return arguments.length>1?(i?(o[r]=i,n&&(o[r+"Params"]=n),r==="onUpdate"&&(this._onUpdate=i)):delete o[r],this):o[r]},e.then=function(r){var i=this;return new Promise(function(n){var o=Te(r)?r:Ll,a=function(){var l=i.then;i.then=null,Te(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=l),n(o),i.then=l};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},e.kill=function(){Mn(this)},s}();zt(Wn.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:-_e,_prom:0,_ps:!1,_rts:1});var Je=function(s){xl(e,s);function e(r,i){var n;return r===void 0&&(r={}),n=s.call(this,r)||this,n.labels={},n.smoothChildTiming=!!r.smoothChildTiming,n.autoRemoveChildren=!!r.autoRemoveChildren,n._sort=vt(r.sortChildren),ye&&lr(r.parent||ye,xr(n),i),r.reversed&&n.reverse(),r.paused&&n.paused(!0),r.scrollTrigger&&Nl(xr(n),r.scrollTrigger),n}var t=e.prototype;return t.to=function(i,n,o){return In(0,arguments,this),this},t.from=function(i,n,o){return In(1,arguments,this),this},t.fromTo=function(i,n,o,a){return In(2,arguments,this),this},t.set=function(i,n,o){return n.duration=0,n.parent=this,Nn(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new ke(i,n,Mt(this,o),1),this},t.call=function(i,n,o){return lr(this,ke.delayedCall(0,i,n),o)},t.staggerTo=function(i,n,o,a,u,l,c){return o.duration=n,o.stagger=o.stagger||a,o.onComplete=l,o.onCompleteParams=c,o.parent=this,new ke(i,o,Mt(this,u)),this},t.staggerFrom=function(i,n,o,a,u,l,c){return o.runBackwards=1,Nn(o).immediateRender=vt(o.immediateRender),this.staggerTo(i,n,o,a,u,l,c)},t.staggerFromTo=function(i,n,o,a,u,l,c,_){return a.startAt=o,Nn(a).immediateRender=vt(a.immediateRender),this.staggerTo(i,n,a,u,l,c,_)},t.render=function(i,n,o){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,l=this._dur,c=i<=0?0:Ue(i),_=this._zTime<0!=i<0&&(this._initted||!l),d,f,p,h,g,m,D,v,C,x,S,E;if(this!==ye&&c>u&&i>=0&&(c=u),c!==this._tTime||o||_){if(a!==this._time&&l&&(c+=this._time-a,i+=this._time-a),d=c,C=this._start,v=this._ts,m=!v,_&&(l||(a=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(S=this._yoyo,g=l+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(g*100+i,n,o);if(d=Ue(c%g),c===u?(h=this._repeat,d=l):(h=~~(c/g),h&&h===c/g&&(d=l,h--),d>l&&(d=l)),x=Zi(this._tTime,g),!a&&this._tTime&&x!==h&&this._tTime-x*g-this._dur<=0&&(x=h),S&&h&1&&(d=l-d,E=1),h!==x&&!this._lock){var b=S&&x&1,A=b===(S&&h&1);if(h<x&&(b=!b),a=b?0:c%l?l:c,this._lock=1,this.render(a||(E?0:Ue(h*g)),n,!l)._lock=0,this._tTime=c,!n&&this.parent&&Bt(this,"onRepeat"),this.vars.repeatRefresh&&!E&&(this.invalidate()._lock=1),a&&a!==this._time||m!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,u=this._tDur,A&&(this._lock=2,a=b?l:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!E&&this.invalidate()),this._lock=0,!this._ts&&!m)return this;$l(this,E)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(D=vd(this,Ue(a),Ue(d)),D&&(c-=d-(d=D._start))),this._tTime=c,this._time=d,this._act=!v,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&d&&!n&&!h&&(Bt(this,"onStart"),this._tTime!==c))return this;if(d>=a&&i>=0)for(f=this._first;f;){if(p=f._next,(f._act||d>=f._start)&&f._ts&&D!==f){if(f.parent!==this)return this.render(i,n,o);if(f.render(f._ts>0?(d-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(d-f._start)*f._ts,n,o),d!==this._time||!this._ts&&!m){D=0,p&&(c+=this._zTime=-_e);break}}f=p}else{f=this._last;for(var T=i<0?i:d;f;){if(p=f._prev,(f._act||T<=f._end)&&f._ts&&D!==f){if(f.parent!==this)return this.render(i,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||et&&(f._initted||f._startAt)),d!==this._time||!this._ts&&!m){D=0,p&&(c+=this._zTime=T?-_e:_e);break}}f=p}}if(D&&!n&&(this.pause(),D.render(d>=a?0:-_e)._zTime=d>=a?1:-1,this._ts))return this._start=C,eo(this),this.render(i,n,o);this._onUpdate&&!n&&Bt(this,"onUpdate",!0),(c===u&&this._tTime>=this.totalDuration()||!c&&a)&&(C===this._start||Math.abs(v)!==Math.abs(this._ts))&&(this._lock||((i||!l)&&(c===u&&this._ts>0||!c&&this._ts<0)&&Ur(this,1),!n&&!(i<0&&!a)&&(c||a||!u)&&(Bt(this,c===u&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<u&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(i,n){var o=this;if(Sr(n)||(n=Mt(this,n,i)),!(i instanceof Wn)){if(tt(i))return i.forEach(function(a){return o.add(a,n)}),this;if(Be(i))return this.addLabel(i,n);if(Te(i))i=ke.delayedCall(0,i);else return this}return this!==i?lr(this,i,n):this},t.getChildren=function(i,n,o,a){i===void 0&&(i=!0),n===void 0&&(n=!0),o===void 0&&(o=!0),a===void 0&&(a=-Nt);for(var u=[],l=this._first;l;)l._start>=a&&(l instanceof ke?n&&u.push(l):(o&&u.push(l),i&&u.push.apply(u,l.getChildren(!0,n,o)))),l=l._next;return u},t.getById=function(i){for(var n=this.getChildren(1,1,1),o=n.length;o--;)if(n[o].vars.id===i)return n[o]},t.remove=function(i){return Be(i)?this.removeLabel(i):Te(i)?this.killTweensOf(i):(Js(this,i),i===this._recent&&(this._recent=this._last),mi(this))},t.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ue(mt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),s.prototype.totalTime.call(this,i,n),this._forcing=0,this):this._tTime},t.addLabel=function(i,n){return this.labels[i]=Mt(this,n),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,n,o){var a=ke.delayedCall(0,n||zn,o);return a.data="isPause",this._hasPause=1,lr(this,a,Mt(this,i))},t.removePause=function(i){var n=this._first;for(i=Mt(this,i);n;)n._start===i&&n.data==="isPause"&&Ur(n),n=n._next},t.killTweensOf=function(i,n,o){for(var a=this.getTweensOf(i,o),u=a.length;u--;)Gr!==a[u]&&a[u].kill(i,n);return this},t.getTweensOf=function(i,n){for(var o=[],a=It(i),u=this._first,l=Sr(n),c;u;)u instanceof ke?hd(u._targets,a)&&(l?(!Gr||u._initted&&u._ts)&&u.globalTime(0)<=n&&u.globalTime(u.totalDuration())>n:!n||u.isActive())&&o.push(u):(c=u.getTweensOf(a,n)).length&&o.push.apply(o,c),u=u._next;return o},t.tweenTo=function(i,n){n=n||{};var o=this,a=Mt(o,i),u=n,l=u.startAt,c=u.onStart,_=u.onStartParams,d=u.immediateRender,f,p=ke.to(o,zt({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(l&&"time"in l?l.time:o._time))/o.timeScale())||_e,onStart:function(){if(o.pause(),!f){var g=n.duration||Math.abs((a-(l&&"time"in l?l.time:o._time))/o.timeScale());p._dur!==g&&Qi(p,g,0,1).render(p._time,!0,!0),f=1}c&&c.apply(p,_||[])}},n));return d?p.render(0):p},t.tweenFromTo=function(i,n,o){return this.tweenTo(n,zt({startAt:{time:Mt(this,i)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),yl(this,Mt(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),yl(this,Mt(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+_e)},t.shiftChildren=function(i,n,o){o===void 0&&(o=0);for(var a=this._first,u=this.labels,l;a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(n)for(l in u)u[l]>=o&&(u[l]+=i);return mi(this)},t.invalidate=function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return s.prototype.invalidate.call(this,i)},t.clear=function(i){i===void 0&&(i=!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),i&&(this.labels={}),mi(this)},t.totalDuration=function(i){var n=0,o=this,a=o._last,u=Nt,l,c,_;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(_=o.parent;a;)l=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,lr(o,a,c-a._delay,1)._lock=0):u=c,c<0&&a._ts&&(n-=c,(!_&&!o._dp||_&&_.smoothChildTiming)&&(o._start+=c/o._ts,o._time-=c,o._tTime-=c),o.shiftChildren(-c,!1,-1/0),u=0),a._end>n&&a._ts&&(n=a._end),a=l;Qi(o,o===ye&&o._time>n?o._time:n,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(ye._ts&&(kl(ye,Ks(i,ye)),Pl=mt.frame),mt.frame>=gl){gl+=yt.autoSleep||120;var n=ye._first;if((!n||!n._ts)&&yt.autoSleep&&mt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||mt.sleep()}}},e}(Wn);zt(Je.prototype,{_lock:0,_hasPause:0,_forcing:0});var Rd=function(e,t,r,i,n,o,a){var u=new at(this._pt,e,t,0,1,ja,null,n),l=0,c=0,_,d,f,p,h,g,m,D;for(u.b=r,u.e=i,r+="",i+="",(m=~i.indexOf("random("))&&(i=en(i)),o&&(D=[r,i],o(D,e,t),r=D[0],i=D[1]),d=r.match(_a)||[];_=_a.exec(i);)p=_[0],h=i.substring(l,_.index),f?f=(f+1)%5:h.substr(-5)==="rgba("&&(f=1),p!==d[c++]&&(g=parseFloat(d[c-1])||0,u._pt={_next:u._pt,p:h||c===1?h:",",s:g,c:p.charAt(1)==="="?xi(g,p)-g:parseFloat(p)-g,m:f&&f<4?Math.round:0},l=_a.lastIndex);return u.c=l<i.length?i.substring(l,i.length):"",u.fp=a,(Na.test(i)||m)&&(u.e=0),this._pt=u,u},Ha=function(e,t,r,i,n,o,a,u,l,c){Te(i)&&(i=i(n||0,e,o));var _=e[t],d=r!=="get"?r:Te(_)?l?e[t.indexOf("set")||!Te(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():_,f=Te(_)?l?Vd:ec:qa,p;if(Be(i)&&(~i.indexOf("random(")&&(i=en(i)),i.charAt(1)==="="&&(p=xi(d,i)+(qe(d)||0),(p||p===0)&&(i=p))),!c||d!==i||ka)return!isNaN(d*i)&&i!==""?(p=new at(this._pt,e,t,+d||0,i-(d||0),typeof _=="boolean"?Yd:tc,0,f),l&&(p.fp=l),a&&p.modifier(a,this,e),this._pt=p):(!_&&!(t in e)&&Qs(t,i),Rd.call(this,e,t,d,i,f,u||yt.stringFilter,l))},Nd=function(e,t,r,i,n){if(Te(e)&&(e=Bn(e,n,t,r,i)),!cr(e)||e.style&&e.nodeType||tt(e)||Sl(e))return Be(e)?Bn(e,n,t,r,i):e;var o={},a;for(a in e)o[a]=Bn(e[a],n,t,r,i);return o},Xa=function(e,t,r,i,n,o){var a,u,l,c;if(Dt[e]&&(a=new Dt[e]).init(n,a.rawVars?t[e]:Nd(t[e],i,n,o,r),r,i,o)!==!1&&(r._pt=u=new at(r._pt,n,e,0,1,a.render,a,0,a.priority),r!==Ki))for(l=r._ptLookup[r._targets.indexOf(n)],c=a._props.length;c--;)l[a._props[c]]=u;return a},Gr,ka,Ua=function s(e,t,r){var i=e.vars,n=i.ease,o=i.startAt,a=i.immediateRender,u=i.lazy,l=i.onUpdate,c=i.onUpdateParams,_=i.callbackScope,d=i.runBackwards,f=i.yoyoEase,p=i.keyframes,h=i.autoRevert,g=e._dur,m=e._startAt,D=e._targets,v=e.parent,C=v&&v.data==="nested"?v.vars.targets:D,x=e._overwrite==="auto"&&!La,S=e.timeline,E,b,A,T,P,F,O,V,B,R,M,N,w;if(S&&(!p||!n)&&(n="none"),e._ease=vi(n,$i.ease),e._yEase=f?Kl(vi(f===!0?n:f,$i.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!S&&!!i.runBackwards,!S||p&&!i.stagger){if(V=D[0]?Xr(D[0]).harness:0,N=V&&i[V.prop],E=js(i,Ba),m&&(m._zTime<0&&m.progress(1),t<0&&d&&a&&!h?m.render(-1,!0):m.revert(d&&g?Ys:cd),m._lazy=0),o){if(Ur(e._startAt=ke.set(D,zt({data:"isStart",overwrite:!1,parent:v,immediateRender:!0,lazy:!m&&vt(u),startAt:null,delay:0,onUpdate:l,onUpdateParams:c,callbackScope:_,stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(et||!a&&!h)&&e._startAt.revert(Ys),a&&g&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(d&&g&&!m){if(t&&(a=!1),A=zt({overwrite:!1,data:"isFromStart",lazy:a&&!m&&vt(u),immediateRender:a,stagger:0,parent:v},E),N&&(A[V.prop]=N),Ur(e._startAt=ke.set(D,A)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(et?e._startAt.revert(Ys):e._startAt.render(-1,!0)),e._zTime=t,!a)s(e._startAt,_e,_e);else if(!t)return}for(e._pt=e._ptCache=0,u=g&&vt(u)||u&&!g,b=0;b<D.length;b++){if(P=D[b],O=P._gsap||Va(D)[b]._gsap,e._ptLookup[b]=R={},Sa[O.id]&&Hr.length&&qs(),M=C===D?b:C.indexOf(P),V&&(B=new V).init(P,N||E,e,M,C)!==!1&&(e._pt=T=new at(e._pt,P,B.name,0,1,B.render,B,0,B.priority),B._props.forEach(function(y){R[y]=T}),B.priority&&(F=1)),!V||N)for(A in E)Dt[A]&&(B=Xa(A,E,e,M,P,C))?B.priority&&(F=1):R[A]=T=Ha.call(e,P,A,"get",E[A],M,C,0,i.stringFilter);e._op&&e._op[b]&&e.kill(P,e._op[b]),x&&e._pt&&(Gr=e,ye.killTweensOf(P,R,e.globalTime(t)),w=!e.parent,Gr=0),e._pt&&u&&(Sa[O.id]=1)}F&&$a(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!w,p&&t<=0&&S.render(Nt,!0,!0)},Id=function(e,t,r,i,n,o,a){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],l,c,_,d;if(!u)for(u=e._ptCache[t]=[],_=e._ptLookup,d=e._targets.length;d--;){if(l=_[d][t],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return ka=1,e.vars[t]="+=0",Ua(e,a),ka=0,1;u.push(l)}for(d=u.length;d--;)c=u[d],l=c._pt||c,l.s=(i||i===0)&&!n?i:l.s+(i||0)+o*l.c,l.c=r-l.s,c.e&&(c.e=Ae(r)+qe(c.e)),c.b&&(c.b=l.s+qe(c.b))},Bd=function(e,t){var r=e[0]?Xr(e[0]).harness:0,i=r&&r.aliases,n,o,a,u;if(!i)return t;n=Ei({},t);for(o in i)if(o in n)for(u=i[o].split(","),a=u.length;a--;)n[u[a]]=n[o];return n},zd=function(e,t,r,i){var n=t.ease||i||"power1.inOut",o,a;if(tt(t))a=r[e]||(r[e]=[]),t.forEach(function(u,l){return a.push({t:l/(t.length-1)*100,v:u,e:n})});else for(o in t)a=r[o]||(r[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:t[o],e:n})},Bn=function(e,t,r,i,n){return Te(e)?e.call(t,r,i,n):Be(e)&&~e.indexOf("random(")?en(e):e},Ql=za+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Jl={};ot(Ql+",id,stagger,delay,duration,paused,scrollTrigger",function(s){return Jl[s]=1});var ke=function(s){xl(e,s);function e(r,i,n,o){var a;typeof i=="number"&&(n.duration=i,i=n,n=null),a=s.call(this,o?i:Nn(i))||this;var u=a.vars,l=u.duration,c=u.delay,_=u.immediateRender,d=u.stagger,f=u.overwrite,p=u.keyframes,h=u.defaults,g=u.scrollTrigger,m=u.yoyoEase,D=i.parent||ye,v=(tt(r)||Sl(r)?Sr(r[0]):"length"in i)?[r]:It(r),C,x,S,E,b,A,T,P;if(a._targets=v.length?Va(v):Us("GSAP target "+r+" not found. https://greensock.com",!yt.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,p||d||Ws(l)||Ws(c)){if(i=a.vars,C=a.timeline=new Je({data:"nested",defaults:h||{},targets:D&&D.data==="nested"?D.vars.targets:v}),C.kill(),C.parent=C._dp=xr(a),C._start=0,d||Ws(l)||Ws(c)){if(E=v.length,T=d&&Vl(d),cr(d))for(b in d)~Ql.indexOf(b)&&(P||(P={}),P[b]=d[b]);for(x=0;x<E;x++)S=js(i,Jl),S.stagger=0,m&&(S.yoyoEase=m),P&&Ei(S,P),A=v[x],S.duration=+Bn(l,xr(a),x,A,v),S.delay=(+Bn(c,xr(a),x,A,v)||0)-a._delay,!d&&E===1&&S.delay&&(a._delay=c=S.delay,a._start+=c,S.delay=0),C.to(A,S,T?T(x,A,v):0),C._ease=se.none;C.duration()?l=c=0:a.timeline=0}else if(p){Nn(zt(C.vars.defaults,{ease:"none"})),C._ease=vi(p.ease||i.ease||"none");var F=0,O,V,B;if(tt(p))p.forEach(function(R){return C.to(v,R,">")}),C.duration();else{S={};for(b in p)b==="ease"||b==="easeEach"||zd(b,p[b],S,p.easeEach);for(b in S)for(O=S[b].sort(function(R,M){return R.t-M.t}),F=0,x=0;x<O.length;x++)V=O[x],B={ease:V.e,duration:(V.t-(x?O[x-1].t:0))/100*l},B[b]=V.v,C.to(v,B,F),F+=B.duration;C.duration()<l&&C.to({},{duration:l-C.duration()})}}l||a.duration(l=C.duration())}else a.timeline=0;return f===!0&&!La&&(Gr=xr(a),ye.killTweensOf(v),Gr=0),lr(D,xr(a),n),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(_||!l&&!p&&a._start===Ue(D._time)&&vt(_)&&gd(xr(a))&&D.data!=="nested")&&(a._tTime=-_e,a.render(Math.max(0,-c)||0)),g&&Nl(xr(a),g),a}var t=e.prototype;return t.render=function(i,n,o){var a=this._time,u=this._tDur,l=this._dur,c=i<0,_=i>u-_e&&!c?u:i<_e?0:i,d,f,p,h,g,m,D,v,C;if(!l)md(this,i,n,o);else if(_!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c){if(d=_,v=this.timeline,this._repeat){if(h=l+this._rDelay,this._repeat<-1&&c)return this.totalTime(h*100+i,n,o);if(d=Ue(_%h),_===u?(p=this._repeat,d=l):(p=~~(_/h),p&&p===_/h&&(d=l,p--),d>l&&(d=l)),m=this._yoyo&&p&1,m&&(C=this._yEase,d=l-d),g=Zi(this._tTime,h),d===a&&!o&&this._initted)return this._tTime=_,this;p!==g&&(v&&this._yEase&&$l(v,m),this.vars.repeatRefresh&&!m&&!this._lock&&(this._lock=o=1,this.render(Ue(h*p),!0).invalidate()._lock=0))}if(!this._initted){if(Il(this,c?i:d,o,n,_))return this._tTime=0,this;if(a!==this._time)return this;if(l!==this._dur)return this.render(i,n,o)}if(this._tTime=_,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=D=(C||this._ease)(d/l),this._from&&(this.ratio=D=1-D),d&&!a&&!n&&!p&&(Bt(this,"onStart"),this._tTime!==_))return this;for(f=this._pt;f;)f.r(D,f.d),f=f._next;v&&v.render(i<0?i:!d&&m?-_e:v._dur*v._ease(d/this._dur),n,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!n&&(c&&wa(this,i,n,o),Bt(this,"onUpdate")),this._repeat&&p!==g&&this.vars.onRepeat&&!n&&this.parent&&Bt(this,"onRepeat"),(_===this._tDur||!_)&&this._tTime===_&&(c&&!this._onUpdate&&wa(this,i,!0,!0),(i||!l)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&Ur(this,1),!n&&!(c&&!a)&&(_||a||m)&&(Bt(this,_===u?"onComplete":"onReverseComplete",!0),this._prom&&!(_<u&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),s.prototype.invalidate.call(this,i)},t.resetTo=function(i,n,o,a){Vn||mt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),l;return this._initted||Ua(this,u),l=this._ease(u/this._dur),Id(this,i,n,o,a,l,u)?this.resetTo(i,n,o,a):(to(this,0),this.parent||Ml(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(i,n){if(n===void 0&&(n="all"),!i&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?Mn(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,Gr&&Gr.vars.overwrite!==!0)._first||Mn(this),this.parent&&o!==this.timeline.totalDuration()&&Qi(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,u=i?It(i):a,l=this._ptLookup,c=this._pt,_,d,f,p,h,g,m;if((!n||n==="all")&&pd(a,u))return n==="all"&&(this._pt=0),Mn(this);for(_=this._op=this._op||[],n!=="all"&&(Be(n)&&(h={},ot(n,function(D){return h[D]=1}),n=h),n=Bd(a,n)),m=a.length;m--;)if(~u.indexOf(a[m])){d=l[m],n==="all"?(_[m]=n,p=d,f={}):(f=_[m]=_[m]||{},p=n);for(h in p)g=d&&d[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&Js(this,g,"_pt"),delete d[h]),f!=="all"&&(f[h]=1)}return this._initted&&!this._pt&&c&&Mn(this),this},e.to=function(i,n){return new e(i,n,arguments[2])},e.from=function(i,n){return In(1,arguments)},e.delayedCall=function(i,n,o,a){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:n,onReverseComplete:n,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(i,n,o){return In(2,arguments)},e.set=function(i,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(i,n)},e.killTweensOf=function(i,n,o){return ye.killTweensOf(i,n,o)},e}(Wn);zt(ke.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});ot("staggerTo,staggerFrom,staggerFromTo",function(s){ke[s]=function(){var e=new Je,t=Aa.call(arguments,0);return t.splice(s==="staggerFromTo"?5:4,0,0),e[s].apply(e,t)}});var qa=function(e,t,r){return e[t]=r},ec=function(e,t,r){return e[t](r)},Vd=function(e,t,r,i){return e[t](i.fp,r)},Wd=function(e,t,r){return e.setAttribute(t,r)},ro=function(e,t){return Te(e[t])?ec:Zs(e[t])&&e.setAttribute?Wd:qa},tc=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Yd=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},ja=function(e,t){var r=t._pt,i="";if(!e&&t.b)i=t.b;else if(e===1&&t.e)i=t.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=t.c}t.set(t.t,t.p,i,t)},Ka=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},Gd=function(e,t,r,i){for(var n=this._pt,o;n;)o=n._next,n.p===i&&n.modifier(e,t,r),n=o},Hd=function(e){for(var t=this._pt,r,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?Js(this,t,"_pt"):t.dep||(r=1),t=i;return!r},Xd=function(e,t,r,i){i.mSet(e,t,i.m.call(i.tween,r,i.mt),i)},$a=function(e){for(var t=e._pt,r,i,n,o;t;){for(r=t._next,i=n;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:o)?t._prev._next=t:n=t,(t._next=i)?i._prev=t:o=t,t=r}e._pt=n},at=function(){function s(t,r,i,n,o,a,u,l,c){this.t=r,this.s=n,this.c=o,this.p=i,this.r=a||tc,this.d=u||this,this.set=l||qa,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=s.prototype;return e.modifier=function(r,i,n){this.mSet=this.mSet||this.set,this.set=Xd,this.m=r,this.mt=n,this.tween=i},s}();ot(za+"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 Ba[s]=1});Ft.TweenMax=Ft.TweenLite=ke;Ft.TimelineLite=Ft.TimelineMax=Je;ye=new Je({sortChildren:!1,defaults:$i,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});yt.stringFilter=Ya;var yi=[],Hs={},Ud=[],Cl=0,qd=0,ya=function(e){return(Hs[e]||Ud).map(function(t){return t()})},Oa=function(){var e=Date.now(),t=[];e-Cl>2&&(ya("matchMediaInit"),yi.forEach(function(r){var i=r.queries,n=r.conditions,o,a,u,l;for(a in i)o=Rt.matchMedia(i[a]).matches,o&&(u=1),o!==n[a]&&(n[a]=o,l=1);l&&(r.revert(),u&&t.push(r))}),ya("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r)}),Cl=e,ya("matchMedia"))},rc=function(){function s(t,r){this.selector=r&&Fa(r),this.data=[],this._r=[],this.isReverted=!1,this.id=qd++,t&&this.add(t)}var e=s.prototype;return e.add=function(r,i,n){Te(r)&&(n=i,i=r,r=Te);var o=this,a=function(){var l=we,c=o.selector,_;return l&&l!==o&&l.data.push(o),n&&(o.selector=Fa(n)),we=o,_=i.apply(o,arguments),Te(_)&&o._r.push(_),we=l,o.selector=c,o.isReverted=!1,_};return o.last=a,r===Te?a(o):r?o[r]=a:a},e.ignore=function(r){var i=we;we=null,r(this),we=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof s?r.push.apply(r,i.getTweens()):i instanceof ke&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var n=this;if(r){var o=this.getTweens();this.data.forEach(function(u){u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(l){return o.splice(o.indexOf(l),1)}))}),o.map(function(u){return{g:u.globalTime(0),t:u}}).sort(function(u,l){return l.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),this.data.forEach(function(u){return!(u instanceof ke)&&u.revert&&u.revert(r)}),this._r.forEach(function(u){return u(r,n)}),this.isReverted=!0}else this.data.forEach(function(u){return u.kill&&u.kill()});if(this.clear(),i)for(var a=yi.length;a--;)yi[a].id===this.id&&yi.splice(a,1)},e.revert=function(r){this.kill(r||{})},s}(),jd=function(){function s(t){this.contexts=[],this.scope=t}var e=s.prototype;return e.add=function(r,i,n){cr(r)||(r={matches:r});var o=new rc(0,n||this.scope),a=o.conditions={},u,l,c;we&&!o.selector&&(o.selector=we.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(l in r)l==="all"?c=1:(u=Rt.matchMedia(r[l]),u&&(yi.indexOf(o)<0&&yi.push(o),(a[l]=u.matches)&&(c=1),u.addListener?u.addListener(Oa):u.addEventListener("change",Oa)));return c&&i(o),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},s}(),$s={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(i){return Ul(i)})},timeline:function(e){return new Je(e)},getTweensOf:function(e,t){return ye.getTweensOf(e,t)},getProperty:function(e,t,r,i){Be(e)&&(e=It(e)[0]);var n=Xr(e||{}).get,o=r?Ll:Ol;return r==="native"&&(r=""),e&&(t?o((Dt[t]&&Dt[t].get||n)(e,t,r,i)):function(a,u,l){return o((Dt[a]&&Dt[a].get||n)(e,a,u,l))})},quickSetter:function(e,t,r){if(e=It(e),e.length>1){var i=e.map(function(c){return rt.quickSetter(c,t,r)}),n=i.length;return function(c){for(var _=n;_--;)i[_](c)}}e=e[0]||{};var o=Dt[t],a=Xr(e),u=a.harness&&(a.harness.aliases||{})[t]||t,l=o?function(c){var _=new o;Ki._pt=0,_.init(e,r?c+r:c,Ki,0,[e]),_.render(1,_),Ki._pt&&Ka(1,Ki)}:a.set(e,u);return o?l:function(c){return l(e,u,r?c+r:c,a,1)}},quickTo:function(e,t,r){var i,n=rt.to(e,Ei((i={},i[t]="+=0.1",i.paused=!0,i),r||{})),o=function(u,l,c){return n.resetTo(t,u,l,c)};return o.tween=n,o},isTweening:function(e){return ye.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=vi(e.ease,$i.ease)),Dl($i,e||{})},config:function(e){return Dl(yt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,i=e.plugins,n=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!Dt[a]&&!Ft[a]&&Us(t+" effect requires "+a+" plugin.")}),ga[t]=function(a,u,l){return r(It(a),zt(u||{},n),l)},o&&(Je.prototype[t]=function(a,u,l){return this.add(ga[t](a,cr(u)?u:(l=u)&&{},this),l)})},registerEase:function(e,t){se[e]=vi(t)},parseEase:function(e,t){return arguments.length?vi(e,t):se},getById:function(e){return ye.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Je(e),i,n;for(r.smoothChildTiming=vt(e.smoothChildTiming),ye.remove(r),r._dp=0,r._time=r._tTime=ye._time,i=ye._first;i;)n=i._next,(t||!(!i._dur&&i instanceof ke&&i.vars.onComplete===i._targets[0]))&&lr(r,i,i._start-i._delay),i=n;return lr(ye,r,0),r},context:function(e,t){return e?new rc(e,t):we},matchMedia:function(e){return new jd(e)},matchMediaRefresh:function(){return yi.forEach(function(e){var t=e.conditions,r,i;for(i in t)t[i]&&(t[i]=!1,r=1);r&&e.revert()})||Oa()},addEventListener:function(e,t){var r=Hs[e]||(Hs[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Hs[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1)},utils:{wrap:wd,wrapYoyo:Td,distribute:Vl,random:Yl,snap:Wl,normalize:Sd,getUnit:qe,clamp:Ed,splitColor:ql,toArray:It,selector:Fa,mapRange:Hl,pipe:xd,unitize:bd,interpolate:Ad,shuffle:zl},install:Al,effects:ga,ticker:mt,updateRoot:Je.updateRoot,plugins:Dt,globalTimeline:ye,core:{PropTween:at,globals:Fl,Tween:ke,Timeline:Je,Animation:Wn,getCache:Xr,_removeLinkedListItem:Js,reverting:function(){return et},context:function(e){return e&&we&&(we.data.push(e),e._ctx=we),we},suppressOverwrites:function(e){return La=e}}};ot("to,from,fromTo,delayedCall,set,killTweensOf",function(s){return $s[s]=ke[s]});mt.add(Je.updateRoot);Ki=$s.to({},{duration:0});var Kd=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},$d=function(e,t){var r=e._targets,i,n,o;for(i in t)for(n=r.length;n--;)o=e._ptLookup[n][i],o&&(o=o.d)&&(o._pt&&(o=Kd(o,i)),o&&o.modifier&&o.modifier(t[i],e,r[n],i))},Ea=function(e,t){return{name:e,rawVars:1,init:function(i,n,o){o._onInit=function(a){var u,l;if(Be(n)&&(u={},ot(n,function(c){return u[c]=1}),n=u),t){u={};for(l in n)u[l]=t(n[l]);n=u}$d(a,n)}}}},rt=$s.registerPlugin({name:"attr",init:function(e,t,r,i,n){var o,a,u;this.tween=r;for(o in t)u=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(u||0)+"",t[o],i,n,0,0,o),a.op=o,a.b=u,this._props.push(o)},render:function(e,t){for(var r=t._pt;r;)et?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},Ea("roundProps",Pa),Ea("modifiers"),Ea("snap",Wl))||$s;ke.version=Je.version=rt.version="3.12.2";Tl=1;Ma()&&Ji();var Zd=se.Power0,Qd=se.Power1,Jd=se.Power2,ep=se.Power3,tp=se.Power4,rp=se.Linear,ip=se.Quad,np=se.Cubic,sp=se.Quart,op=se.Quint,ap=se.Strong,up=se.Elastic,lp=se.Back,cp=se.SteppedEase,fp=se.Bounce,hp=se.Sine,dp=se.Expo,pp=se.Circ;var ic,jr,rn,iu,Ai,_p,nc,nu,gp=function(){return typeof window!="undefined"},Tr={},Ti=180/Math.PI,nn=Math.PI/180,tn=Math.atan2,sc=1e8,su=/([A-Z])/g,Dp=/(left|right|width|margin|padding|x)/i,mp=/[\s,\(]\S/,fr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ja=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},vp=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)},yp=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)},Ep=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},hc=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},dc=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},Cp=function(e,t,r){return e.style[t]=r},xp=function(e,t,r){return e.style.setProperty(t,r)},bp=function(e,t,r){return e._gsap[t]=r},Sp=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},wp=function(e,t,r,i,n){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(n,o)},Tp=function(e,t,r,i,n){var o=e._gsap;o[t]=r,o.renderTransform(n,o)},Ee="transform",Qt=Ee+"Origin",Ap=function s(e,t){var r=this,i=this.target,n=i.style;if(e in Tr&&n){if(this.tfm=this.tfm||{},e!=="transform")e=fr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return r.tfm[o]=wr(i,o)}):this.tfm[e]=i._gsap.x?i._gsap[e]:wr(i,e);else return fr.transform.split(",").forEach(function(o){return s.call(r,o,t)});if(this.props.indexOf(Ee)>=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Qt,t,"")),e=Ee}(n||t)&&this.props.push(e,t,n[e])},pc=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Fp=function(){var e=this.props,t=this.target,r=t.style,i=t._gsap,n,o;for(n=0;n<e.length;n+=3)e[n+1]?t[e[n]]=e[n+2]:e[n+2]?r[e[n]]=e[n+2]:r.removeProperty(e[n].substr(0,2)==="--"?e[n]:e[n].replace(su,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),n=nu(),(!n||!n.isStart)&&!r[Ee]&&(pc(r),i.uncache=1)}},_c=function(e,t){var r={target:e,props:[],revert:Fp,save:Ap};return e._gsap||rt.core.getCache(e),t&&t.split(",").forEach(function(i){return r.save(i)}),r},gc,eu=function(e,t){var r=jr.createElementNS?jr.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):jr.createElement(e);return r.style?r:jr.createElement(e)},hr=function s(e,t,r){var i=getComputedStyle(e);return i[t]||i.getPropertyValue(t.replace(su,"-$1").toLowerCase())||i.getPropertyValue(t)||!r&&s(e,sn(t)||t,1)||""},oc="O,Moz,ms,Ms,Webkit".split(","),sn=function(e,t,r){var i=t||Ai,n=i.style,o=5;if(e in n&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(oc[o]+e in n););return o<0?null:(o===3?"ms":o>=0?oc[o]:"")+e},tu=function(){gp()&&window.document&&(ic=window,jr=ic.document,rn=jr.documentElement,Ai=eu("div")||{style:{}},_p=eu("div"),Ee=sn(Ee),Qt=Ee+"Origin",Ai.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",gc=!!sn("perspective"),nu=rt.core.reverting,iu=1)},Za=function s(e){var t=eu("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,i=this.nextSibling,n=this.style.cssText,o;if(rn.appendChild(t),t.appendChild(this),this.style.display="block",e)try{o=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=s}catch{}else this._gsapBBox&&(o=this._gsapBBox());return r&&(i?r.insertBefore(this,i):r.appendChild(this)),rn.removeChild(t),this.style.cssText=n,o},ac=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Dc=function(e){var t;try{t=e.getBBox()}catch{t=Za.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Za||(t=Za.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+ac(e,["x","cx","x1"])||0,y:+ac(e,["y","cy","y1"])||0,width:0,height:0}:t},mc=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Dc(e))},Hn=function(e,t){if(t){var r=e.style;t in Tr&&t!==Qt&&(t=Ee),r.removeProperty?((t.substr(0,2)==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(t.replace(su,"-$1").toLowerCase())):r.removeAttribute(t)}},Kr=function(e,t,r,i,n,o){var a=new at(e._pt,t,r,0,1,o?dc:hc);return e._pt=a,a.b=i,a.e=n,e._props.push(r),a},uc={deg:1,rad:1,turn:1},Pp={grid:1,flex:1},$r=function s(e,t,r,i){var n=parseFloat(r)||0,o=(r+"").trim().substr((n+"").length)||"px",a=Ai.style,u=Dp.test(t),l=e.tagName.toLowerCase()==="svg",c=(l?"client":"offset")+(u?"Width":"Height"),_=100,d=i==="px",f=i==="%",p,h,g,m;return i===o||!n||uc[i]||uc[o]?n:(o!=="px"&&!d&&(n=s(e,t,r,"px")),m=e.getCTM&&mc(e),(f||o==="%")&&(Tr[t]||~t.indexOf("adius"))?(p=m?e.getBBox()[u?"width":"height"]:e[c],Ae(f?n/p*_:n/100*p)):(a[u?"width":"height"]=_+(d?o:i),h=~t.indexOf("adius")||i==="em"&&e.appendChild&&!l?e:e.parentNode,m&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===jr||!h.appendChild)&&(h=jr.body),g=h._gsap,g&&f&&g.width&&u&&g.time===mt.time&&!g.uncache?Ae(n/g.width*_):((f||o==="%")&&!Pp[hr(h,"display")]&&(a.position=hr(e,"position")),h===e&&(a.position="static"),h.appendChild(Ai),p=Ai[c],h.removeChild(Ai),a.position="absolute",u&&f&&(g=Xr(h),g.time=mt.time,g.width=h[c]),Ae(d?p*n/_:p&&n?_/p*n:0))))},wr=function(e,t,r,i){var n;return iu||tu(),t in fr&&t!=="transform"&&(t=fr[t],~t.indexOf(",")&&(t=t.split(",")[0])),Tr[t]&&t!=="transform"?(n=Un(e,i),n=t!=="transformOrigin"?n[t]:n.svg?n.origin:no(hr(e,Qt))+" "+n.zOrigin+"px"):(n=e.style[t],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=io[t]&&io[t](e,t,r)||hr(e,t)||Wa(e,t)||(t==="opacity"?1:0))),r&&!~(n+"").trim().indexOf(" ")?$r(e,t,n,r)+r:n},kp=function(e,t,r,i){if(!r||r==="none"){var n=sn(t,e,1),o=n&&hr(e,n,1);o&&o!==r?(t=n,r=o):t==="borderColor"&&(r=hr(e,"borderTopColor"))}var a=new at(this._pt,e.style,t,0,1,ja),u=0,l=0,c,_,d,f,p,h,g,m,D,v,C,x;if(a.b=r,a.e=i,r+="",i+="",i==="auto"&&(e.style[t]=i,i=hr(e,t)||i,e.style[t]=r),c=[r,i],Ya(c),r=c[0],i=c[1],d=r.match(Ci)||[],x=i.match(Ci)||[],x.length){for(;_=Ci.exec(i);)g=_[0],D=i.substring(u,_.index),p?p=(p+1)%5:(D.substr(-5)==="rgba("||D.substr(-5)==="hsla(")&&(p=1),g!==(h=d[l++]||"")&&(f=parseFloat(h)||0,C=h.substr((f+"").length),g.charAt(1)==="="&&(g=xi(f,g)+C),m=parseFloat(g),v=g.substr((m+"").length),u=Ci.lastIndex-v.length,v||(v=v||yt.units[t]||C,u===i.length&&(i+=v,a.e+=v)),C!==v&&(f=$r(e,t,h,v)||0),a._pt={_next:a._pt,p:D||l===1?D:",",s:f,c:m-f,m:p&&p<4||t==="zIndex"?Math.round:0});a.c=u<i.length?i.substring(u,i.length):""}else a.r=t==="display"&&i==="none"?dc:hc;return Na.test(i)&&(a.e=0),this._pt=a,a},lc={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Op=function(e){var t=e.split(" "),r=t[0],i=t[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),t[0]=lc[r]||r,t[1]=lc[i]||i,t.join(" ")},Lp=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,i=r.style,n=t.u,o=r._gsap,a,u,l;if(n==="all"||n===!0)i.cssText="",u=1;else for(n=n.split(","),l=n.length;--l>-1;)a=n[l],Tr[a]&&(u=1,a=a==="transformOrigin"?Qt:Ee),Hn(r,a);u&&(Hn(r,Ee),o&&(o.svg&&r.removeAttribute("transform"),Un(r,1),o.uncache=1,pc(i)))}},io={clearProps:function(e,t,r,i,n){if(n.data!=="isFromStart"){var o=e._pt=new at(e._pt,t,r,0,0,Lp);return o.u=i,o.pr=-10,o.tween=n,e._props.push(r),1}}},Xn=[1,0,0,1,0,0],vc={},yc=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},cc=function(e){var t=hr(e,Ee);return yc(t)?Xn:t.substr(7).match(Ra).map(Ae)},ou=function(e,t){var r=e._gsap||Xr(e),i=e.style,n=cc(e),o,a,u,l;return r.svg&&e.getAttribute("transform")?(u=e.transform.baseVal.consolidate().matrix,n=[u.a,u.b,u.c,u.d,u.e,u.f],n.join(",")==="1,0,0,1,0,0"?Xn:n):(n===Xn&&!e.offsetParent&&e!==rn&&!r.svg&&(u=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent)&&(l=1,a=e.nextElementSibling,rn.appendChild(e)),n=cc(e),u?i.display=u:Hn(e,"display"),l&&(a?o.insertBefore(e,a):o?o.appendChild(e):rn.removeChild(e))),t&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},ru=function(e,t,r,i,n,o){var a=e._gsap,u=n||ou(e,!0),l=a.xOrigin||0,c=a.yOrigin||0,_=a.xOffset||0,d=a.yOffset||0,f=u[0],p=u[1],h=u[2],g=u[3],m=u[4],D=u[5],v=t.split(" "),C=parseFloat(v[0])||0,x=parseFloat(v[1])||0,S,E,b,A;r?u!==Xn&&(E=f*g-p*h)&&(b=C*(g/E)+x*(-h/E)+(h*D-g*m)/E,A=C*(-p/E)+x*(f/E)-(f*D-p*m)/E,C=b,x=A):(S=Dc(e),C=S.x+(~v[0].indexOf("%")?C/100*S.width:C),x=S.y+(~(v[1]||v[0]).indexOf("%")?x/100*S.height:x)),i||i!==!1&&a.smooth?(m=C-l,D=x-c,a.xOffset=_+(m*f+D*h)-m,a.yOffset=d+(m*p+D*g)-D):a.xOffset=a.yOffset=0,a.xOrigin=C,a.yOrigin=x,a.smooth=!!i,a.origin=t,a.originIsAbsolute=!!r,e.style[Qt]="0px 0px",o&&(Kr(o,a,"xOrigin",l,C),Kr(o,a,"yOrigin",c,x),Kr(o,a,"xOffset",_,a.xOffset),Kr(o,a,"yOffset",d,a.yOffset)),e.setAttribute("data-svg-origin",C+" "+x)},Un=function(e,t){var r=e._gsap||new Ga(e);if("x"in r&&!t&&!r.uncache)return r;var i=e.style,n=r.scaleX<0,o="px",a="deg",u=getComputedStyle(e),l=hr(e,Qt)||"0",c,_,d,f,p,h,g,m,D,v,C,x,S,E,b,A,T,P,F,O,V,B,R,M,N,w,y,L,H,Z,X,U;return c=_=d=h=g=m=D=v=C=0,f=p=1,r.svg=!!(e.getCTM&&mc(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(i[Ee]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[Ee]!=="none"?u[Ee]:"")),i.scale=i.rotate=i.translate="none"),E=ou(e,r.svg),r.svg&&(r.uncache?(N=e.getBBox(),l=r.xOrigin-N.x+"px "+(r.yOrigin-N.y)+"px",M=""):M=!t&&e.getAttribute("data-svg-origin"),ru(e,M||l,!!M||r.originIsAbsolute,r.smooth!==!1,E)),x=r.xOrigin||0,S=r.yOrigin||0,E!==Xn&&(P=E[0],F=E[1],O=E[2],V=E[3],c=B=E[4],_=R=E[5],E.length===6?(f=Math.sqrt(P*P+F*F),p=Math.sqrt(V*V+O*O),h=P||F?tn(F,P)*Ti:0,D=O||V?tn(O,V)*Ti+h:0,D&&(p*=Math.abs(Math.cos(D*nn))),r.svg&&(c-=x-(x*P+S*O),_-=S-(x*F+S*V))):(U=E[6],Z=E[7],y=E[8],L=E[9],H=E[10],X=E[11],c=E[12],_=E[13],d=E[14],b=tn(U,H),g=b*Ti,b&&(A=Math.cos(-b),T=Math.sin(-b),M=B*A+y*T,N=R*A+L*T,w=U*A+H*T,y=B*-T+y*A,L=R*-T+L*A,H=U*-T+H*A,X=Z*-T+X*A,B=M,R=N,U=w),b=tn(-O,H),m=b*Ti,b&&(A=Math.cos(-b),T=Math.sin(-b),M=P*A-y*T,N=F*A-L*T,w=O*A-H*T,X=V*T+X*A,P=M,F=N,O=w),b=tn(F,P),h=b*Ti,b&&(A=Math.cos(b),T=Math.sin(b),M=P*A+F*T,N=B*A+R*T,F=F*A-P*T,R=R*A-B*T,P=M,B=N),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,m=180-m),f=Ae(Math.sqrt(P*P+F*F+O*O)),p=Ae(Math.sqrt(R*R+U*U)),b=tn(B,R),D=Math.abs(b)>2e-4?b*Ti:0,C=X?1/(X<0?-X:X):0),r.svg&&(M=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!yc(hr(e,Ee)),M&&e.setAttribute("transform",M))),Math.abs(D)>90&&Math.abs(D)<270&&(n?(f*=-1,D+=h<=0?180:-180,h+=h<=0?180:-180):(p*=-1,D+=D<=0?180:-180)),t=t||r.uncache,r.x=c-((r.xPercent=c&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=_-((r.yPercent=_&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-_)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=d+o,r.scaleX=Ae(f),r.scaleY=Ae(p),r.rotation=Ae(h)+a,r.rotationX=Ae(g)+a,r.rotationY=Ae(m)+a,r.skewX=D+a,r.skewY=v+a,r.transformPerspective=C+o,(r.zOrigin=parseFloat(l.split(" ")[2])||0)&&(i[Qt]=no(l)),r.xOffset=r.yOffset=0,r.force3D=yt.force3D,r.renderTransform=r.svg?Rp:gc?Ec:Mp,r.uncache=0,r},no=function(e){return(e=e.split(" "))[0]+" "+e[1]},Qa=function(e,t,r){var i=qe(t);return Ae(parseFloat(t)+parseFloat($r(e,"x",r+"px",i)))+i},Mp=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ec(e,t)},Si="0deg",Gn="0px",wi=") ",Ec=function(e,t){var r=t||this,i=r.xPercent,n=r.yPercent,o=r.x,a=r.y,u=r.z,l=r.rotation,c=r.rotationY,_=r.rotationX,d=r.skewX,f=r.skewY,p=r.scaleX,h=r.scaleY,g=r.transformPerspective,m=r.force3D,D=r.target,v=r.zOrigin,C="",x=m==="auto"&&e&&e!==1||m===!0;if(v&&(_!==Si||c!==Si)){var S=parseFloat(c)*nn,E=Math.sin(S),b=Math.cos(S),A;S=parseFloat(_)*nn,A=Math.cos(S),o=Qa(D,o,E*A*-v),a=Qa(D,a,-Math.sin(S)*-v),u=Qa(D,u,b*A*-v+v)}g!==Gn&&(C+="perspective("+g+wi),(i||n)&&(C+="translate("+i+"%, "+n+"%) "),(x||o!==Gn||a!==Gn||u!==Gn)&&(C+=u!==Gn||x?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+wi),l!==Si&&(C+="rotate("+l+wi),c!==Si&&(C+="rotateY("+c+wi),_!==Si&&(C+="rotateX("+_+wi),(d!==Si||f!==Si)&&(C+="skew("+d+", "+f+wi),(p!==1||h!==1)&&(C+="scale("+p+", "+h+wi),D.style[Ee]=C||"translate(0, 0)"},Rp=function(e,t){var r=t||this,i=r.xPercent,n=r.yPercent,o=r.x,a=r.y,u=r.rotation,l=r.skewX,c=r.skewY,_=r.scaleX,d=r.scaleY,f=r.target,p=r.xOrigin,h=r.yOrigin,g=r.xOffset,m=r.yOffset,D=r.forceCSS,v=parseFloat(o),C=parseFloat(a),x,S,E,b,A;u=parseFloat(u),l=parseFloat(l),c=parseFloat(c),c&&(c=parseFloat(c),l+=c,u+=c),u||l?(u*=nn,l*=nn,x=Math.cos(u)*_,S=Math.sin(u)*_,E=Math.sin(u-l)*-d,b=Math.cos(u-l)*d,l&&(c*=nn,A=Math.tan(l-c),A=Math.sqrt(1+A*A),E*=A,b*=A,c&&(A=Math.tan(c),A=Math.sqrt(1+A*A),x*=A,S*=A)),x=Ae(x),S=Ae(S),E=Ae(E),b=Ae(b)):(x=_,b=d,S=E=0),(v&&!~(o+"").indexOf("px")||C&&!~(a+"").indexOf("px"))&&(v=$r(f,"x",o,"px"),C=$r(f,"y",a,"px")),(p||h||g||m)&&(v=Ae(v+p-(p*x+h*E)+g),C=Ae(C+h-(p*S+h*b)+m)),(i||n)&&(A=f.getBBox(),v=Ae(v+i/100*A.width),C=Ae(C+n/100*A.height)),A="matrix("+x+","+S+","+E+","+b+","+v+","+C+")",f.setAttribute("transform",A),D&&(f.style[Ee]=A)},Np=function(e,t,r,i,n){var o=360,a=Be(n),u=parseFloat(n)*(a&&~n.indexOf("rad")?Ti:1),l=u-i,c=i+l+"deg",_,d;return a&&(_=n.split("_")[1],_==="short"&&(l%=o,l!==l%(o/2)&&(l+=l<0?o:-o)),_==="cw"&&l<0?l=(l+o*sc)%o-~~(l/o)*o:_==="ccw"&&l>0&&(l=(l-o*sc)%o-~~(l/o)*o)),e._pt=d=new at(e._pt,t,r,i,l,vp),d.e=c,d.u="deg",e._props.push(r),d},fc=function(e,t){for(var r in t)e[r]=t[r];return e},Ip=function(e,t,r){var i=fc({},r._gsap),n="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,u,l,c,_,d,f,p;i.svg?(l=r.getAttribute("transform"),r.setAttribute("transform",""),o[Ee]=t,a=Un(r,1),Hn(r,Ee),r.setAttribute("transform",l)):(l=getComputedStyle(r)[Ee],o[Ee]=t,a=Un(r,1),o[Ee]=l);for(u in Tr)l=i[u],c=a[u],l!==c&&n.indexOf(u)<0&&(f=qe(l),p=qe(c),_=f!==p?$r(r,u,l,p):parseFloat(l),d=parseFloat(c),e._pt=new at(e._pt,a,u,_,d-_,Ja),e._pt.u=p||0,e._props.push(u));fc(a,i)};ot("padding,margin,Width,Radius",function(s,e){var t="Top",r="Right",i="Bottom",n="Left",o=(e<3?[t,r,i,n]:[t+n,t+r,i+r,i+n]).map(function(a){return e<2?s+a:"border"+a+s});io[e>1?"border"+s:s]=function(a,u,l,c,_){var d,f;if(arguments.length<4)return d=o.map(function(p){return wr(a,p,l)}),f=d.join(" "),f.split(d[0]).length===5?d[0]:f;d=(c+"").split(" "),f={},o.forEach(function(p,h){return f[p]=d[h]=d[h]||d[(h-1)/2|0]}),a.init(u,f,_)}});var au={name:"css",register:tu,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,i,n){var o=this._props,a=e.style,u=r.vars.startAt,l,c,_,d,f,p,h,g,m,D,v,C,x,S,E,b;iu||tu(),this.styles=this.styles||_c(e),b=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(c=t[h],!(Dt[h]&&Xa(h,t,r,i,e,n)))){if(f=typeof c,p=io[h],f==="function"&&(c=c.call(r,i,e,n),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=en(c)),p)p(this,e,h,c,r)&&(E=1);else if(h.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(h)+"").trim(),c+="",br.lastIndex=0,br.test(l)||(g=qe(l),m=qe(c)),m?g!==m&&(l=$r(e,h,l,m)+m):g&&(c+=g),this.add(a,"setProperty",l,c,i,n,0,0,h),o.push(h),b.push(h,0,a[h]);else if(f!=="undefined"){if(u&&h in u?(l=typeof u[h]=="function"?u[h].call(r,i,e,n):u[h],Be(l)&&~l.indexOf("random(")&&(l=en(l)),qe(l+"")||(l+=yt.units[h]||qe(wr(e,h))||""),(l+"").charAt(1)==="="&&(l=wr(e,h))):l=wr(e,h),d=parseFloat(l),D=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),D&&(c=c.substr(2)),_=parseFloat(c),h in fr&&(h==="autoAlpha"&&(d===1&&wr(e,"visibility")==="hidden"&&_&&(d=0),b.push("visibility",0,a.visibility),Kr(this,a,"visibility",d?"inherit":"hidden",_?"inherit":"hidden",!_)),h!=="scale"&&h!=="transform"&&(h=fr[h],~h.indexOf(",")&&(h=h.split(",")[0]))),v=h in Tr,v){if(this.styles.save(h),C||(x=e._gsap,x.renderTransform&&!t.parseTransform||Un(e,t.parseTransform),S=t.smoothOrigin!==!1&&x.smooth,C=this._pt=new at(this._pt,a,Ee,0,1,x.renderTransform,x,0,-1),C.dep=1),h==="scale")this._pt=new at(this._pt,x,"scaleY",x.scaleY,(D?xi(x.scaleY,D+_):_)-x.scaleY||0,Ja),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){b.push(Qt,0,a[Qt]),c=Op(c),x.svg?ru(e,c,0,S,0,this):(m=parseFloat(c.split(" ")[2])||0,m!==x.zOrigin&&Kr(this,x,"zOrigin",x.zOrigin,m),Kr(this,a,h,no(l),no(c)));continue}else if(h==="svgOrigin"){ru(e,c,1,S,0,this);continue}else if(h in vc){Np(this,x,h,d,D?xi(d,D+c):c);continue}else if(h==="smoothOrigin"){Kr(this,x,"smooth",x.smooth,c);continue}else if(h==="force3D"){x[h]=c;continue}else if(h==="transform"){Ip(this,c,e);continue}}else h in a||(h=sn(h)||h);if(v||(_||_===0)&&(d||d===0)&&!mp.test(c)&&h in a)g=(l+"").substr((d+"").length),_||(_=0),m=qe(c)||(h in yt.units?yt.units[h]:g),g!==m&&(d=$r(e,h,l,m)),this._pt=new at(this._pt,v?x:a,h,d,(D?xi(d,D+_):_)-d,!v&&(m==="px"||h==="zIndex")&&t.autoRound!==!1?Ep:Ja),this._pt.u=m||0,g!==m&&m!=="%"&&(this._pt.b=l,this._pt.r=yp);else if(h in a)kp.call(this,e,h,l,D?D+c:c);else if(h in e)this.add(e,h,l||e[h],D?D+c:c,i,n);else if(h!=="parseTransform"){Qs(h,c);continue}v||(h in a?b.push(h,0,a[h]):b.push(h,1,l||e[h])),o.push(h)}}E&&$a(this)},render:function(e,t){if(t.tween._time||!nu())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:wr,aliases:fr,getSetter:function(e,t,r){var i=fr[t];return i&&i.indexOf(",")<0&&(t=i),t in Tr&&t!==Qt&&(e._gsap.x||wr(e,"x"))?r&&nc===r?t==="scale"?Sp:bp:(nc=r||{})&&(t==="scale"?wp:Tp):e.style&&!Zs(e.style[t])?Cp:~t.indexOf("-")?xp:ro(e,t)},core:{_removeProperty:Hn,_getMatrix:ou}};rt.utils.checkPrefix=sn;rt.core.getStyleSaver=_c;(function(s,e,t,r){var i=ot(s+","+e+","+t,function(n){Tr[n]=1});ot(e,function(n){yt.units[n]="deg",vc[n]=1}),fr[i[13]]=s+","+e,ot(r,function(n){var o=n.split(":");fr[o[1]]=i[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");ot("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(s){yt.units[s]="px"});rt.registerPlugin(au);var oe=rt.registerPlugin(au)||rt,y0=oe.core.Tween;var Bp=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var zp=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var Vp=Math.PI/180,C0=180/Math.PI,so=Math.sin,oo=Math.cos,jn=Math.abs,qn=Math.sqrt;var Wp=function(e){return typeof e=="number"};var Cc=1e5;var Zr=function(e){return Math.round(e*Cc)/Cc||0};function xc(s,e,t,r,i,n,o){for(var a=s.length,u,l,c,_,d;--a>-1;)for(u=s[a],l=u.length,c=0;c<l;c+=2)_=u[c],d=u[c+1],u[c]=_*e+d*r+n,u[c+1]=_*t+d*i+o;return s._dirty=1,s}function Yp(s,e,t,r,i,n,o,a,u){if(!(s===a&&e===u)){t=jn(t),r=jn(r);var l=i%360*Vp,c=oo(l),_=so(l),d=Math.PI,f=d*2,p=(s-a)/2,h=(e-u)/2,g=c*p+_*h,m=-_*p+c*h,D=g*g,v=m*m,C=D/(t*t)+v/(r*r);C>1&&(t=qn(C)*t,r=qn(C)*r);var x=t*t,S=r*r,E=(x*S-x*v-S*D)/(x*v+S*D);E<0&&(E=0);var b=(n===o?-1:1)*qn(E),A=b*(t*m/r),T=b*-(r*g/t),P=(s+a)/2,F=(e+u)/2,O=P+(c*A-_*T),V=F+(_*A+c*T),B=(g-A)/t,R=(m-T)/r,M=(-g-A)/t,N=(-m-T)/r,w=B*B+R*R,y=(R<0?-1:1)*Math.acos(B/qn(w)),L=(B*N-R*M<0?-1:1)*Math.acos((B*M+R*N)/qn(w*(M*M+N*N)));isNaN(L)&&(L=d),!o&&L>0?L-=f:o&&L<0&&(L+=f),y%=f,L%=f;var H=Math.ceil(jn(L)/(f/4)),Z=[],X=L/H,U=4/3*so(X/2)/(1+oo(X/2)),I=c*t,G=_*t,fe=_*-r,ee=c*r,te;for(te=0;te<H;te++)i=y+te*X,g=oo(i),m=so(i),B=oo(i+=X),R=so(i),Z.push(g-U*m,m+U*g,B+U*R,R-U*B,B,R);for(te=0;te<Z.length;te+=2)g=Z[te],m=Z[te+1],Z[te]=g*I+m*fe+O,Z[te+1]=g*G+m*ee+V;return Z[te-2]=a,Z[te-1]=u,Z}}function bc(s){var e=(s+"").replace(zp,function(A){var T=+A;return T<1e-4&&T>-1e-4?0:T}).match(Bp)||[],t=[],r=0,i=0,n=2/3,o=e.length,a=0,u="ERROR: malformed path: "+s,l,c,_,d,f,p,h,g,m,D,v,C,x,S,E,b=function(T,P,F,O){D=(F-T)/3,v=(O-P)/3,h.push(T+D,P+v,F-D,O-v,F,O)};if(!s||!isNaN(e[0])||isNaN(e[1]))return console.log(u),t;for(l=0;l<o;l++)if(x=f,isNaN(e[l])?(f=e[l].toUpperCase(),p=f!==e[l]):l--,_=+e[l+1],d=+e[l+2],p&&(_+=r,d+=i),l||(g=_,m=d),f==="M")h&&(h.length<8?t.length-=1:a+=h.length),r=g=_,i=m=d,h=[_,d],t.push(h),l+=2,f="L";else if(f==="C")h||(h=[0,0]),p||(r=i=0),h.push(_,d,r+e[l+3]*1,i+e[l+4]*1,r+=e[l+5]*1,i+=e[l+6]*1),l+=6;else if(f==="S")D=r,v=i,(x==="C"||x==="S")&&(D+=r-h[h.length-4],v+=i-h[h.length-3]),p||(r=i=0),h.push(D,v,_,d,r+=e[l+3]*1,i+=e[l+4]*1),l+=4;else if(f==="Q")D=r+(_-r)*n,v=i+(d-i)*n,p||(r=i=0),r+=e[l+3]*1,i+=e[l+4]*1,h.push(D,v,r+(_-r)*n,i+(d-i)*n,r,i),l+=4;else if(f==="T")D=r-h[h.length-4],v=i-h[h.length-3],h.push(r+D,i+v,_+(r+D*1.5-_)*n,d+(i+v*1.5-d)*n,r=_,i=d),l+=2;else if(f==="H")b(r,i,r=_,i),l+=1;else if(f==="V")b(r,i,r,i=_+(p?i-r:0)),l+=1;else if(f==="L"||f==="Z")f==="Z"&&(_=g,d=m,h.closed=!0),(f==="L"||jn(r-_)>.5||jn(i-d)>.5)&&(b(r,i,_,d),f==="L"&&(l+=2)),r=_,i=d;else if(f==="A"){if(S=e[l+4],E=e[l+5],D=e[l+6],v=e[l+7],c=7,S.length>1&&(S.length<3?(v=D,D=E,c--):(v=E,D=S.substr(2),c-=2),E=S.charAt(1),S=S.charAt(0)),C=Yp(r,i,+e[l+1],+e[l+2],+e[l+3],+S,+E,(p?r:0)+D*1,(p?i:0)+v*1),l+=c,C)for(c=0;c<C.length;c++)h.push(C[c]);r=h[h.length-2],i=h[h.length-1]}else console.log(u);return l=h.length,l<6?(t.pop(),l=0):h[0]===h[l-2]&&h[1]===h[l-1]&&(h.closed=!0),t.totalPoints=a+l,t}function Sc(s){Wp(s[0])&&(s=[s]);var e="",t=s.length,r,i,n,o;for(i=0;i<t;i++){for(o=s[i],e+="M"+Zr(o[0])+","+Zr(o[1])+" C",r=o.length,n=2;n<r;n++)e+=Zr(o[n++])+","+Zr(o[n++])+" "+Zr(o[n++])+","+Zr(o[n++])+" "+Zr(o[n++])+","+Zr(o[n])+" ";o.closed&&(e+="z")}return e}var Et,Tc,Ac=function(){return Et||typeof window!="undefined"&&(Et=window.gsap)&&Et.registerPlugin&&Et},wc=function(){Et=Ac(),Et?(Et.registerEase("_CE",Fi.create),Tc=1):console.warn("Please gsap.registerPlugin(CustomEase)")},Gp=1e20,ao=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},Hp=1,Xp=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,Up=/[cLlsSaAhHvVtTqQ]/g,qp=function(e){var t=e.length,r=Gp,i;for(i=1;i<t;i+=6)+e[i]<r&&(r=+e[i]);return r},jp=function(e,t,r){!r&&r!==0&&(r=Math.max(+e[e.length-1],+e[1]));var i=+e[0]*-1,n=-r,o=e.length,a=1/(+e[o-2]+i),u=-t||(Math.abs(+e[o-1]-+e[1])<.01*(+e[o-2]-+e[0])?qp(e)+n:+e[o-1]+n),l;for(u?u=1/u:u=-a,l=0;l<o;l+=2)e[l]=(+e[l]+i)*a,e[l+1]=(+e[l+1]+n)*u},Kp=function s(e,t,r,i,n,o,a,u,l,c,_){var d=(e+r)/2,f=(t+i)/2,p=(r+n)/2,h=(i+o)/2,g=(n+a)/2,m=(o+u)/2,D=(d+p)/2,v=(f+h)/2,C=(p+g)/2,x=(h+m)/2,S=(D+C)/2,E=(v+x)/2,b=a-e,A=u-t,T=Math.abs((r-a)*A-(i-u)*b),P=Math.abs((n-a)*A-(o-u)*b),F;return c||(c=[{x:e,y:t},{x:a,y:u}],_=1),c.splice(_||c.length-1,0,{x:S,y:E}),(T+P)*(T+P)>l*(b*b+A*A)&&(F=c.length,s(e,t,d,f,D,v,S,E,l,c,_),s(S,E,C,x,g,m,a,u,l,c,_+1+(c.length-F))),c},Fi=function(){function s(t,r,i){Tc||wc(),this.id=t,Hp&&this.setData(r,i)}var e=s.prototype;return e.setData=function(r,i){i=i||{},r=r||"0,0,1,1";var n=r.match(Xp),o=1,a=[],u=[],l=i.precision||1,c=l<=1,_,d,f,p,h,g,m,D,v;if(this.data=r,(Up.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(n=bc(r)[0]),_=n.length,_===4)n.unshift(0,0),n.push(1,1),_=8;else if((_-2)%6)throw"Invalid CustomEase";for((+n[0]!=0||+n[_-2]!=1)&&jp(n,i.height,i.originY),this.segment=n,p=2;p<_;p+=6)d={x:+n[p-2],y:+n[p-1]},f={x:+n[p+4],y:+n[p+5]},a.push(d,f),Kp(d.x,d.y,+n[p],+n[p+1],+n[p+2],+n[p+3],f.x,f.y,1/(l*2e5),a,a.length-1);for(_=a.length,p=0;p<_;p++)m=a[p],D=a[p-1]||m,(m.x>D.x||D.y!==m.y&&D.x===m.x||m===D)&&m.x<=1?(D.cx=m.x-D.x,D.cy=m.y-D.y,D.n=m,D.nx=m.x,c&&p>1&&Math.abs(D.cy/D.cx-a[p-2].cy/a[p-2].cx)>2&&(c=0),D.cx<o&&(D.cx?o=D.cx:(D.cx=.001,p===_-1&&(D.x-=.001,o=Math.min(o,.001),c=0)))):(a.splice(p--,1),_--);if(_=1/o+1|0,h=1/_,g=0,m=a[0],c){for(p=0;p<_;p++)v=p*h,m.nx<v&&(m=a[++g]),d=m.y+(v-m.x)/m.cx*m.cy,u[p]={x:v,cx:h,y:d,cy:0,nx:9},p&&(u[p-1].cy=d-u[p-1].y);u[_-1].cy=a[a.length-1].y-d}else{for(p=0;p<_;p++)m.nx<p*h&&(m=a[++g]),u[p]=m;g<a.length-1&&(u[p-1]=a[a.length-2])}return this.ease=function(C){var x=u[C*_|0]||u[_-1];return x.nx<C&&(x=x.n),x.y+(C-x.x)/x.cx*x.cy},this.ease.custom=this,this.id&&Et&&Et.registerEase(this.id,this.ease),this},e.getSVGData=function(r){return s.getSVGData(this,r)},s.create=function(r,i,n){return new s(r,i,n).ease},s.register=function(r){Et=r,wc()},s.get=function(r){return Et.parseEase(r)},s.getSVGData=function(r,i){i=i||{};var n=i.width||100,o=i.height||100,a=i.x||0,u=(i.y||0)+o,l=Et.utils.toArray(i.path)[0],c,_,d,f,p,h,g,m,D,v;if(i.invert&&(o=-o,u=0),typeof r=="string"&&(r=Et.parseEase(r)),r.custom&&(r=r.custom),r instanceof s)c=Sc(xc([r.segment],n,0,0,-o,a,u));else{for(c=[a,u],g=Math.max(5,(i.precision||1)*200),f=1/g,g+=2,m=5/g,D=ao(a+f*n),v=ao(u+r(f)*-o),_=(v-u)/(D-a),d=2;d<g;d++)p=ao(a+d*f*n),h=ao(u+r(d*f)*-o),(Math.abs((h-v)/(p-D)-_)>m||d===g-1)&&(c.push(D,v),_=(h-v)/(p-D)),D=p,v=h;c="M"+c.join(",")}return l&&l.setAttribute("d",c),c},s}();Ac()&&Et.registerPlugin(Fi);Fi.version="3.12.2";var ut,Oc,Ar,dr,Qr,Lc,Mc,uo,Rc=function(){return typeof window!="undefined"},Nc=function(){return ut||Rc()&&(ut=window.gsap)&&ut.registerPlugin&&ut},Ic=function(e){return typeof e=="string"},Fc=function(e){return typeof e=="function"},Kn=function(e,t){var r=t==="x"?"Width":"Height",i="scroll"+r,n="client"+r;return e===Ar||e===dr||e===Qr?Math.max(dr[i],Qr[i])-(Ar["inner"+r]||dr[n]||Qr[n]):e[i]-e["offset"+r]},$n=function(e,t){var r="scroll"+(t==="x"?"Left":"Top");return e===Ar&&(e.pageXOffset!=null?r="page"+t.toUpperCase()+"Offset":e=dr[r]!=null?dr:Qr),function(){return e[r]}},$p=function(e,t,r,i){if(Fc(e)&&(e=e(t,r,i)),typeof e!="object")return Ic(e)&&e!=="max"&&e.charAt(1)!=="="?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var n={},o;for(o in e)n[o]=o!=="onAutoKill"&&Fc(e[o])?e[o](t,r,i):e[o];return n},Bc=function(e,t){if(e=Lc(e)[0],!e||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=e.getBoundingClientRect(),i=!t||t===Ar||t===Qr,n=i?{top:dr.clientTop-(Ar.pageYOffset||dr.scrollTop||Qr.scrollTop||0),left:dr.clientLeft-(Ar.pageXOffset||dr.scrollLeft||Qr.scrollLeft||0)}:t.getBoundingClientRect(),o={x:r.left-n.left,y:r.top-n.top};return!i&&t&&(o.x+=$n(t,"x")(),o.y+=$n(t,"y")()),o},Pc=function(e,t,r,i,n){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-n:Ic(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+i-n:e==="max"?Kn(t,r)-n:Math.min(Kn(t,r),Bc(e,t)[r]-n)},kc=function(){ut=Nc(),Rc()&&ut&&typeof document!="undefined"&&document.body&&(Ar=window,Qr=document.body,dr=document.documentElement,Lc=ut.utils.toArray,ut.config({autoKillThreshold:7}),Mc=ut.config(),Oc=1)},on={version:"3.12.2",name:"scrollTo",rawVars:1,register:function(e){ut=e,kc()},init:function(e,t,r,i,n){Oc||kc();var o=this,a=ut.getProperty(e,"scrollSnapType");o.isWin=e===Ar,o.target=e,o.tween=r,t=$p(t,i,e,n),o.vars=t,o.autoKill=!!t.autoKill,o.getX=$n(e,"x"),o.getY=$n(e,"y"),o.x=o.xPrev=o.getX(),o.y=o.yPrev=o.getY(),uo||(uo=ut.core.globals().ScrollTrigger),ut.getProperty(e,"scrollBehavior")==="smooth"&&ut.set(e,{scrollBehavior:"auto"}),a&&a!=="none"&&(o.snap=1,o.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),t.x!=null?(o.add(o,"x",o.x,Pc(t.x,e,"x",o.x,t.offsetX||0),i,n),o._props.push("scrollTo_x")):o.skipX=1,t.y!=null?(o.add(o,"y",o.y,Pc(t.y,e,"y",o.y,t.offsetY||0),i,n),o._props.push("scrollTo_y")):o.skipY=1},render:function(e,t){for(var r=t._pt,i=t.target,n=t.tween,o=t.autoKill,a=t.xPrev,u=t.yPrev,l=t.isWin,c=t.snap,_=t.snapInline,d,f,p,h,g;r;)r.r(e,r.d),r=r._next;d=l||!t.skipX?t.getX():a,f=l||!t.skipY?t.getY():u,p=f-u,h=d-a,g=Mc.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),o&&(!t.skipX&&(h>g||h<-g)&&d<Kn(i,"x")&&(t.skipX=1),!t.skipY&&(p>g||p<-g)&&f<Kn(i,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(n.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(n,t.vars.onAutoKillParams||[]))),l?Ar.scrollTo(t.skipX?d:t.x,t.skipY?f:t.y):(t.skipY||(i.scrollTop=t.y),t.skipX||(i.scrollLeft=t.x)),c&&(e===1||e===0)&&(f=i.scrollTop,d=i.scrollLeft,_?i.style.scrollSnapType=_:i.style.removeProperty("scroll-snap-type"),i.scrollTop=f+1,i.scrollLeft=d+1,i.scrollTop=f,i.scrollLeft=d),t.xPrev=t.x,t.yPrev=t.y,uo&&uo.update()},kill:function(e){var t=e==="scrollTo";(t||e==="scrollTo_x")&&(this.skipX=1),(t||e==="scrollTo_y")&&(this.skipY=1)}};on.max=Kn;on.getOffset=Bc;on.buildGetter=$n;Nc()&&ut.registerPlugin(on);function zc(s,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(s,r.key,r)}}function Zp(s,e,t){return e&&zc(s.prototype,e),t&&zc(s,t),s}var je,uu,Qp,Pt,Jr,ei,un,Wc,Pi,Qn,Yc,Fr,Jt,Gc,Hc=function(){return je||typeof window!="undefined"&&(je=window.gsap)&&je.registerPlugin&&je},Xc=1,an=[],re=[],er=[],Jn=Date.now,lu=function(e,t){return t},Jp=function(){var e=Qn.core,t=e.bridge||{},r=e._scrollers,i=e._proxies;r.push.apply(r,re),i.push.apply(i,er),re=r,er=i,lu=function(o,a){return t[o](a)}},kr=function(e,t){return~er.indexOf(e)&&er[er.indexOf(e)+1][t]},es=function(e){return!!~Yc.indexOf(e)},ct=function(e,t,r,i,n){return e.addEventListener(t,r,{passive:!i,capture:!!n})},lt=function(e,t,r,i){return e.removeEventListener(t,r,!!i)},lo="scrollLeft",co="scrollTop",cu=function(){return Fr&&Fr.isPressed||re.cache++},fo=function(e,t){var r=function i(n){if(n||n===0){Xc&&(Pt.history.scrollRestoration="manual");var o=Fr&&Fr.isPressed;n=i.v=Math.round(n)||(Fr&&Fr.iOS?1:0),e(n),i.cacheID=re.cache,o&&lu("ss",n)}else(t||re.cache!==i.cacheID||lu("ref"))&&(i.cacheID=re.cache,i.v=e());return i.v+i.offset};return r.offset=0,e&&r},it={s:lo,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:fo(function(s){return arguments.length?Pt.scrollTo(s,Me.sc()):Pt.pageXOffset||Jr[lo]||ei[lo]||un[lo]||0})},Me={s:co,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:it,sc:fo(function(s){return arguments.length?Pt.scrollTo(it.sc(),s):Pt.pageYOffset||Jr[co]||ei[co]||un[co]||0})},ft=function(e,t){return(t&&t._ctx&&t._ctx.selector||je.utils.toArray)(e)[0]||(typeof e=="string"&&je.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Pr=function(e,t){var r=t.s,i=t.sc;es(e)&&(e=Jr.scrollingElement||ei);var n=re.indexOf(e),o=i===Me.sc?1:2;!~n&&(n=re.push(e)-1),re[n+o]||ct(e,"scroll",cu);var a=re[n+o],u=a||(re[n+o]=fo(kr(e,r),!0)||(es(e)?i:fo(function(l){return arguments.length?e[r]=l:e[r]})));return u.target=e,a||(u.smooth=je.getProperty(e,"scrollBehavior")==="smooth"),u},ho=function(e,t,r){var i=e,n=e,o=Jn(),a=o,u=t||50,l=Math.max(500,u*3),c=function(p,h){var g=Jn();h||g-o>u?(n=i,i=p,a=o,o=g):r?i+=p:i=n+(p-n)/(g-a)*(o-a)},_=function(){n=i=r?0:i,a=o=0},d=function(p){var h=a,g=n,m=Jn();return(p||p===0)&&p!==i&&c(p),o===a||m-a>l?0:(i+(r?g:-g))/((r?m:o)-h)*1e3};return{update:c,reset:_,getVelocity:d}},Zn=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Vc=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},Uc=function(){Qn=je.core.globals().ScrollTrigger,Qn&&Qn.core&&Jp()},qc=function(e){return je=e||Hc(),je&&typeof document!="undefined"&&document.body&&(Pt=window,Jr=document,ei=Jr.documentElement,un=Jr.body,Yc=[Pt,Jr,ei,un],Qp=je.utils.clamp,Gc=je.core.context||function(){},Pi="onpointerenter"in un?"pointer":"mouse",Wc=Oe.isTouch=Pt.matchMedia&&Pt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Pt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Jt=Oe.eventTypes=("ontouchstart"in ei?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in ei?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Xc=0},500),Uc(),uu=1),uu};it.op=Me;re.cache=0;var Oe=function(){function s(t){this.init(t)}var e=s.prototype;return e.init=function(r){uu||qc(je)||console.warn("Please gsap.registerPlugin(Observer)"),Qn||Uc();var i=r.tolerance,n=r.dragMinimum,o=r.type,a=r.target,u=r.lineHeight,l=r.debounce,c=r.preventDefault,_=r.onStop,d=r.onStopDelay,f=r.ignore,p=r.wheelSpeed,h=r.event,g=r.onDragStart,m=r.onDragEnd,D=r.onDrag,v=r.onPress,C=r.onRelease,x=r.onRight,S=r.onLeft,E=r.onUp,b=r.onDown,A=r.onChangeX,T=r.onChangeY,P=r.onChange,F=r.onToggleX,O=r.onToggleY,V=r.onHover,B=r.onHoverEnd,R=r.onMove,M=r.ignoreCheck,N=r.isNormalizer,w=r.onGestureStart,y=r.onGestureEnd,L=r.onWheel,H=r.onEnable,Z=r.onDisable,X=r.onClick,U=r.scrollSpeed,I=r.capture,G=r.allowClicks,fe=r.lockAxis,ee=r.onLockAxis;this.target=a=ft(a)||ei,this.vars=r,f&&(f=je.utils.toArray(f)),i=i||1e-9,n=n||0,p=p||1,U=U||1,o=o||"wheel,touch,pointer",l=l!==!1,u||(u=parseFloat(Pt.getComputedStyle(un).lineHeight)||22);var te,$e,St,z,K,be,Ne,k=this,wt=0,yr=0,li=Pr(a,it),Le=Pr(a,Me),ci=li(),fi=Le(),Pn=~o.indexOf("touch")&&!~o.indexOf("pointer")&&Jt[0]==="pointerdown",Ge=es(a),Fe=a.ownerDocument||Jr,Ut=[0,0,0],qt=[0,0,0],hi=0,Er=function(){return hi=Jn()},sr=function(q,he){return(k.event=q)&&f&&~f.indexOf(q.target)||he&&Pn&&q.pointerType!=="touch"||M&&M(q,he)},gt=function(){k._vx.reset(),k._vy.reset(),$e.pause(),_&&_(k)},di=function(){var q=k.deltaX=Vc(Ut),he=k.deltaY=Vc(qt),Se=Math.abs(q)>=i,W=Math.abs(he)>=i;P&&(Se||W)&&P(k,q,he,Ut,qt),Se&&(x&&k.deltaX>0&&x(k),S&&k.deltaX<0&&S(k),A&&A(k),F&&k.deltaX<0!=wt<0&&F(k),wt=k.deltaX,Ut[0]=Ut[1]=Ut[2]=0),W&&(b&&k.deltaY>0&&b(k),E&&k.deltaY<0&&E(k),T&&T(k),O&&k.deltaY<0!=yr<0&&O(k),yr=k.deltaY,qt[0]=qt[1]=qt[2]=0),(z||St)&&(R&&R(k),St&&(D(k),St=!1),z=!1),be&&!(be=!1)&&ee&&ee(k),K&&(L(k),K=!1),te=0},Ui=function(q,he,Se){Ut[Se]+=q,qt[Se]+=he,k._vx.update(q),k._vy.update(he),l?te||(te=requestAnimationFrame(di)):di()},qi=function(q,he){fe&&!Ne&&(k.axis=Ne=Math.abs(q)>Math.abs(he)?"x":"y",be=!0),Ne!=="y"&&(Ut[2]+=q,k._vx.update(q,!0)),Ne!=="x"&&(qt[2]+=he,k._vy.update(he,!0)),l?te||(te=requestAnimationFrame(di)):di()},pi=function(q){if(!sr(q,1)){q=Zn(q,c);var he=q.clientX,Se=q.clientY,W=he-k.x,ue=Se-k.y,j=k.isDragging;k.x=he,k.y=Se,(j||Math.abs(k.startX-he)>=n||Math.abs(k.startY-Se)>=n)&&(D&&(St=!0),j||(k.isDragging=!0),qi(W,ue),j||g&&g(k))}},Wr=k.onPress=function($){sr($,1)||$&&$.button||(k.axis=Ne=null,$e.pause(),k.isPressed=!0,$=Zn($),wt=yr=0,k.startX=k.x=$.clientX,k.startY=k.y=$.clientY,k._vx.reset(),k._vy.reset(),ct(N?a:Fe,Jt[1],pi,c,!0),k.deltaX=k.deltaY=0,v&&v(k))},Yr=k.onRelease=function($){if(!sr($,1)){lt(N?a:Fe,Jt[1],pi,!0);var q=!isNaN(k.y-k.startY),he=k.isDragging&&(Math.abs(k.x-k.startX)>3||Math.abs(k.y-k.startY)>3),Se=Zn($);!he&&q&&(k._vx.reset(),k._vy.reset(),c&&G&&je.delayedCall(.08,function(){if(Jn()-hi>300&&!$.defaultPrevented){if($.target.click)$.target.click();else if(Fe.createEvent){var W=Fe.createEvent("MouseEvents");W.initMouseEvent("click",!0,!0,Pt,1,Se.screenX,Se.screenY,Se.clientX,Se.clientY,!1,!1,!1,!1,0,null),$.target.dispatchEvent(W)}}})),k.isDragging=k.isGesturing=k.isPressed=!1,_&&!N&&$e.restart(!0),m&&he&&m(k),C&&C(k,he)}},le=function(q){return q.touches&&q.touches.length>1&&(k.isGesturing=!0)&&w(q,k.isDragging)},_i=function(){return(k.isGesturing=!1)||y(k)},jt=function(q){if(!sr(q)){var he=li(),Se=Le();Ui((he-ci)*U,(Se-fi)*U,1),ci=he,fi=Se,_&&$e.restart(!0)}},Kt=function(q){if(!sr(q)){q=Zn(q,c),L&&(K=!0);var he=(q.deltaMode===1?u:q.deltaMode===2?Pt.innerHeight:1)*p;Ui(q.deltaX*he,q.deltaY*he,0),_&&!N&&$e.restart(!0)}},$t=function(q){if(!sr(q)){var he=q.clientX,Se=q.clientY,W=he-k.x,ue=Se-k.y;k.x=he,k.y=Se,z=!0,(W||ue)&&qi(W,ue)}},gi=function(q){k.event=q,V(k)},ji=function(q){k.event=q,B(k)},Cr=function(q){return sr(q)||Zn(q,c)&&X(k)};$e=k._dc=je.delayedCall(d||.25,gt).pause(),k.deltaX=k.deltaY=0,k._vx=ho(0,50,!0),k._vy=ho(0,50,!0),k.scrollX=li,k.scrollY=Le,k.isDragging=k.isGesturing=k.isPressed=!1,Gc(this),k.enable=function($){return k.isEnabled||(ct(Ge?Fe:a,"scroll",cu),o.indexOf("scroll")>=0&&ct(Ge?Fe:a,"scroll",jt,c,I),o.indexOf("wheel")>=0&&ct(a,"wheel",Kt,c,I),(o.indexOf("touch")>=0&&Wc||o.indexOf("pointer")>=0)&&(ct(a,Jt[0],Wr,c,I),ct(Fe,Jt[2],Yr),ct(Fe,Jt[3],Yr),G&&ct(a,"click",Er,!1,!0),X&&ct(a,"click",Cr),w&&ct(Fe,"gesturestart",le),y&&ct(Fe,"gestureend",_i),V&&ct(a,Pi+"enter",gi),B&&ct(a,Pi+"leave",ji),R&&ct(a,Pi+"move",$t)),k.isEnabled=!0,$&&$.type&&Wr($),H&&H(k)),k},k.disable=function(){k.isEnabled&&(an.filter(function($){return $!==k&&es($.target)}).length||lt(Ge?Fe:a,"scroll",cu),k.isPressed&&(k._vx.reset(),k._vy.reset(),lt(N?a:Fe,Jt[1],pi,!0)),lt(Ge?Fe:a,"scroll",jt,I),lt(a,"wheel",Kt,I),lt(a,Jt[0],Wr,I),lt(Fe,Jt[2],Yr),lt(Fe,Jt[3],Yr),lt(a,"click",Er,!0),lt(a,"click",Cr),lt(Fe,"gesturestart",le),lt(Fe,"gestureend",_i),lt(a,Pi+"enter",gi),lt(a,Pi+"leave",ji),lt(a,Pi+"move",$t),k.isEnabled=k.isPressed=k.isDragging=!1,Z&&Z(k))},k.kill=k.revert=function(){k.disable();var $=an.indexOf(k);$>=0&&an.splice($,1),Fr===k&&(Fr=0)},an.push(k),N&&es(a)&&(Fr=k),k.enable(h)},Zp(s,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),s}();Oe.version="3.12.2";Oe.create=function(s){return new Oe(s)};Oe.register=qc;Oe.getAll=function(){return an.slice()};Oe.getById=function(s){return an.filter(function(e){return e.vars.id===s})[0]};Hc()&&je.registerPlugin(Oe);var Y,fn,ae,Ce,tr,De,ff,ko,Oo,dn,bo,po,nt,Mo,mu,ht,jc,Kc,hn,hf,fu,df,kt,pf,_f,gf,ti,vu,bu,pn,Su,hu,_o=1,pt=Date.now,du=pt(),Yt=0,rs=0,$c=function(e,t,r){var i=Lt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=i,i?e.substr(6,e.length-7):e},Zc=function(e,t){return t&&(!Lt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},e_=function s(){return rs&&requestAnimationFrame(s)},Qc=function(){return Mo=1},Jc=function(){return Mo=0},pr=function(e){return e},is=function(e){return Math.round(e*1e5)/1e5||0},Df=function(){return typeof window!="undefined"},mf=function(){return Y||Df()&&(Y=window.gsap)&&Y.registerPlugin&&Y},Ni=function(e){return!!~ff.indexOf(e)},vf=function(e){return(e==="Height"?Su:ae["inner"+e])||tr["client"+e]||De["client"+e]},yf=function(e){return kr(e,"getBoundingClientRect")||(Ni(e)?function(){return Po.width=ae.innerWidth,Po.height=Su,Po}:function(){return Or(e)})},t_=function(e,t,r){var i=r.d,n=r.d2,o=r.a;return(o=kr(e,"getBoundingClientRect"))?function(){return o()[i]}:function(){return(t?vf(n):e["client"+n])||0}},r_=function(e,t){return!t||~er.indexOf(e)?yf(e):function(){return Po}},Lr=function(e,t){var r=t.s,i=t.d2,n=t.d,o=t.a;return Math.max(0,(r="scroll"+i)&&(o=kr(e,r))?o()-yf(e)()[n]:Ni(e)?(tr[r]||De[r])-vf(i):e[r]-e["offset"+i])},go=function(e,t){for(var r=0;r<hn.length;r+=3)(!t||~t.indexOf(hn[r+1]))&&e(hn[r],hn[r+1],hn[r+2])},Lt=function(e){return typeof e=="string"},_t=function(e){return typeof e=="function"},So=function(e){return typeof e=="number"},ki=function(e){return typeof e=="object"},ts=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},pu=function(e,t){if(e.enabled){var r=t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},ln=Math.abs,Ef="left",Cf="top",wu="right",Tu="bottom",Li="width",Mi="height",ss="Right",os="Left",as="Top",us="Bottom",Re="padding",Vt="margin",gn="Width",Au="Height",Ke="px",Wt=function(e){return ae.getComputedStyle(e)},i_=function(e){var t=Wt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},ef=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Or=function(e,t){var r=t&&Wt(e)[mu]!=="matrix(1, 0, 0, 1, 0, 0)"&&Y.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return r&&r.progress(0).kill(),i},yu=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},xf=function(e){var t=[],r=e.labels,i=e.duration(),n;for(n in r)t.push(r[n]/i);return t},n_=function(e){return function(t){return Y.utils.snap(xf(e),t)}},Fu=function(e){var t=Y.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(i,n){return i-n});return r?function(i,n,o){o===void 0&&(o=.001);var a;if(!n)return t(i);if(n>0){for(i-=o,a=0;a<r.length;a++)if(r[a]>=i)return r[a];return r[a-1]}else for(a=r.length,i+=o;a--;)if(r[a]<=i)return r[a];return r[0]}:function(i,n,o){o===void 0&&(o=.001);var a=t(i);return!n||Math.abs(a-i)<o||a-i<0==n<0?a:t(n<0?i-e:i+e)}},s_=function(e){return function(t,r){return Fu(xf(e))(t,r.direction)}},Do=function(e,t,r,i){return r.split(",").forEach(function(n){return e(t,n,i)})},Ye=function(e,t,r,i,n){return e.addEventListener(t,r,{passive:!i,capture:!!n})},We=function(e,t,r,i){return e.removeEventListener(t,r,!!i)},mo=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},tf={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},vo={toggleActions:"play",anticipatePin:0},Lo={top:0,left:0,center:.5,bottom:1,right:1},wo=function(e,t){if(Lt(e)){var r=e.indexOf("="),i=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(i*=t/100),e=e.substr(0,r-1)),e=i+(e in Lo?Lo[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},yo=function(e,t,r,i,n,o,a,u){var l=n.startColor,c=n.endColor,_=n.fontSize,d=n.indent,f=n.fontWeight,p=Ce.createElement("div"),h=Ni(r)||kr(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,m=h?De:r,D=e.indexOf("start")!==-1,v=D?l:c,C="border-color:"+v+";font-size:"+_+";color:"+v+";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 C+="position:"+((g||u)&&h?"fixed;":"absolute;"),(g||u||!h)&&(C+=(i===Me?wu:Tu)+":"+(o+parseFloat(d))+"px;"),a&&(C+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),p._isStart=D,p.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),p.style.cssText=C,p.innerText=t||t===0?e+"-"+t:e,m.children[0]?m.insertBefore(p,m.children[0]):m.appendChild(p),p._offset=p["offset"+i.op.d2],To(p,0,i,D),p},To=function(e,t,r,i){var n={display:"block"},o=r[i?"os2":"p2"],a=r[i?"p2":"os2"];e._isFlipped=i,n[r.a+"Percent"]=i?-100:0,n[r.a]=i?"1px":0,n["border"+o+gn]=1,n["border"+a+gn]=0,n[r.p]=t+"px",Y.set(e,n)},ie=[],Eu={},cs,rf=function(){return pt()-Yt>34&&(cs||(cs=requestAnimationFrame(Mr)))},cn=function(){(!kt||!kt.isPressed||kt.startX>De.clientWidth)&&(re.cache++,kt?cs||(cs=requestAnimationFrame(Mr)):Mr(),Yt||Bi("scrollStart"),Yt=pt())},_u=function(){gf=ae.innerWidth,_f=ae.innerHeight},ns=function(){re.cache++,!nt&&!df&&!Ce.fullscreenElement&&!Ce.webkitFullscreenElement&&(!pf||gf!==ae.innerWidth||Math.abs(ae.innerHeight-_f)>ae.innerHeight*.25)&&ko.restart(!0)},Ii={},o_=[],bf=function s(){return We(J,"scrollEnd",s)||Oi(!0)},Bi=function(e){return Ii[e]&&Ii[e].map(function(t){return t()})||o_},Ot=[],Sf=function(e){for(var t=0;t<Ot.length;t+=5)(!e||Ot[t+4]&&Ot[t+4].query===e)&&(Ot[t].style.cssText=Ot[t+1],Ot[t].getBBox&&Ot[t].setAttribute("transform",Ot[t+2]||""),Ot[t+3].uncache=1)},Pu=function(e,t){var r;for(ht=0;ht<ie.length;ht++)r=ie[ht],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));t&&Sf(t),t||Bi("revert")},wf=function(e,t){re.cache++,(t||!dt)&&re.forEach(function(r){return _t(r)&&r.cacheID++&&(r.rec=0)}),Lt(e)&&(ae.history.scrollRestoration=bu=e)},dt,Ri=0,nf,a_=function(){if(nf!==Ri){var e=nf=Ri;requestAnimationFrame(function(){return e===Ri&&Oi(!0)})}},Tf=function(){De.appendChild(pn),Su=pn.offsetHeight||ae.innerHeight,De.removeChild(pn)},Oi=function(e,t){if(Yt&&!e){Ye(J,"scrollEnd",bf);return}Tf(),dt=J.isRefreshing=!0,re.forEach(function(i){return _t(i)&&++i.cacheID&&(i.rec=i())});var r=Bi("refreshInit");hf&&J.sort(),t||Pu(),re.forEach(function(i){_t(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),ie.slice(0).forEach(function(i){return i.refresh()}),ie.forEach(function(i,n){if(i._subPinOffset&&i.pin){var o=i.vars.horizontal?"offsetWidth":"offsetHeight",a=i.pin[o];i.revert(!0,1),i.adjustPinSpacing(i.pin[o]-a),i.refresh()}}),ie.forEach(function(i){var n=Lr(i.scroller,i._dir);(i.vars.end==="max"||i._endClamp&&i.end>n)&&i.setPositions(i.start,Math.max(i.start+1,n),!0)}),r.forEach(function(i){return i&&i.render&&i.render(-1)}),re.forEach(function(i){_t(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),wf(bu,1),ko.pause(),Ri++,dt=2,Mr(2),ie.forEach(function(i){return _t(i.vars.onRefresh)&&i.vars.onRefresh(i)}),dt=J.isRefreshing=!1,Bi("refresh")},Cu=0,Ao=1,ls,Mr=function(e){if(!dt||e===2){J.isUpdating=!0,ls&&ls.update(0);var t=ie.length,r=pt(),i=r-du>=50,n=t&&ie[0].scroll();if(Ao=Cu>n?-1:1,dt||(Cu=n),i&&(Yt&&!Mo&&r-Yt>200&&(Yt=0,Bi("scrollEnd")),bo=du,du=r),Ao<0){for(ht=t;ht-- >0;)ie[ht]&&ie[ht].update(0,i);Ao=1}else for(ht=0;ht<t;ht++)ie[ht]&&ie[ht].update(0,i);J.isUpdating=!1}cs=0},xu=[Ef,Cf,Tu,wu,Vt+us,Vt+ss,Vt+as,Vt+os,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Fo=xu.concat([Li,Mi,"boxSizing","max"+gn,"max"+Au,"position",Vt,Re,Re+as,Re+ss,Re+us,Re+os]),u_=function(e,t,r){_n(r);var i=e._gsap;if(i.spacerIsNative)_n(i.spacerState);else if(e._gsap.swappedIn){var n=t.parentNode;n&&(n.insertBefore(e,t),n.removeChild(t))}e._gsap.swappedIn=!1},gu=function(e,t,r,i){if(!e._gsap.swappedIn){for(var n=xu.length,o=t.style,a=e.style,u;n--;)u=xu[n],o[u]=r[u];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),a[Tu]=a[wu]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[Li]=yu(e,it)+Ke,o[Mi]=yu(e,Me)+Ke,o[Re]=a[Vt]=a[Cf]=a[Ef]="0",_n(i),a[Li]=a["max"+gn]=r[Li],a[Mi]=a["max"+Au]=r[Mi],a[Re]=r[Re],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},l_=/([A-Z])/g,_n=function(e){if(e){var t=e.t.style,r=e.length,i=0,n,o;for((e.t._gsap||Y.core.getCache(e.t)).uncache=1;i<r;i+=2)o=e[i+1],n=e[i],o?t[n]=o:t[n]&&t.removeProperty(n.replace(l_,"-$1").toLowerCase())}},Eo=function(e){for(var t=Fo.length,r=e.style,i=[],n=0;n<t;n++)i.push(Fo[n],r[Fo[n]]);return i.t=e,i},c_=function(e,t,r){for(var i=[],n=e.length,o=r?8:0,a;o<n;o+=2)a=e[o],i.push(a,a in t?t[a]:e[o+1]);return i.t=e.t,i},Po={left:0,top:0},sf=function(e,t,r,i,n,o,a,u,l,c,_,d,f,p){_t(e)&&(e=e(u)),Lt(e)&&e.substr(0,3)==="max"&&(e=d+(e.charAt(4)==="="?wo("0"+e.substr(3),r):0));var h=f?f.time():0,g,m,D;if(f&&f.seek(0),isNaN(e)||(e=+e),So(e))f&&(e=Y.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,d,e)),a&&To(a,r,i,!0);else{_t(t)&&(t=t(u));var v=(e||"0").split(" "),C,x,S,E;D=ft(t,u)||De,C=Or(D)||{},(!C||!C.left&&!C.top)&&Wt(D).display==="none"&&(E=D.style.display,D.style.display="block",C=Or(D),E?D.style.display=E:D.style.removeProperty("display")),x=wo(v[0],C[i.d]),S=wo(v[1]||"0",r),e=C[i.p]-l[i.p]-c+x+n-S,a&&To(a,S,i,r-S<20||a._isStart&&S>20),r-=r-S}if(p&&(u[p]=e||-.001,e<0&&(e=0)),o){var b=e+r,A=o._isStart;g="scroll"+i.d2,To(o,b,i,A&&b>20||!A&&(_?Math.max(De[g],tr[g]):o.parentNode[g])<=b+1),_&&(l=Or(a),_&&(o.style[i.op.p]=l[i.op.p]-i.op.m-o._offset+Ke))}return f&&D&&(g=Or(D),f.seek(d),m=Or(D),f._caScrollDist=g[i.p]-m[i.p],e=e/f._caScrollDist*d),f&&f.seek(h),f?e:Math.round(e)},f_=/(webkit|moz|length|cssText|inset)/i,of=function(e,t,r,i){if(e.parentNode!==t){var n=e.style,o,a;if(t===De){e._stOrig=n.cssText,a=Wt(e);for(o in a)!+o&&!f_.test(o)&&a[o]&&typeof n[o]=="string"&&o!=="0"&&(n[o]=a[o]);n.top=r,n.left=i}else n.cssText=e._stOrig;Y.core.getCache(e).uncache=1,t.appendChild(e)}},Af=function(e,t,r){var i=t,n=i;return function(o){var a=Math.round(e());return a!==i&&a!==n&&Math.abs(a-i)>3&&Math.abs(a-n)>3&&(o=a,r&&r()),n=i,i=o,o}},Co=function(e,t,r){var i={};i[t.p]="+="+r,Y.set(e,i)},af=function(e,t){var r=Pr(e,t),i="_scroll"+t.p2,n=function o(a,u,l,c,_){var d=o.tween,f=u.onComplete,p={};l=l||r();var h=Af(r,l,function(){d.kill(),o.tween=0});return _=c&&_||0,c=c||a-l,d&&d.kill(),u[i]=a,u.modifiers=p,p[i]=function(){return h(l+c*d.ratio+_*d.ratio*d.ratio)},u.onUpdate=function(){re.cache++,Mr()},u.onComplete=function(){o.tween=0,f&&f.call(d)},d=o.tween=Y.to(e,u),d};return e[i]=r,r.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},Ye(e,"wheel",r.wheelHandler),J.isTouch&&Ye(e,"touchmove",r.wheelHandler),n},J=function(){function s(t,r){fn||s.register(Y)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),vu(this),this.init(t,r)}var e=s.prototype;return e.init=function(r,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!rs){this.update=this.refresh=this.kill=pr;return}r=ef(Lt(r)||So(r)||r.nodeType?{trigger:r}:r,vo);var n=r,o=n.onUpdate,a=n.toggleClass,u=n.id,l=n.onToggle,c=n.onRefresh,_=n.scrub,d=n.trigger,f=n.pin,p=n.pinSpacing,h=n.invalidateOnRefresh,g=n.anticipatePin,m=n.onScrubComplete,D=n.onSnapComplete,v=n.once,C=n.snap,x=n.pinReparent,S=n.pinSpacer,E=n.containerAnimation,b=n.fastScrollEnd,A=n.preventOverlaps,T=r.horizontal||r.containerAnimation&&r.horizontal!==!1?it:Me,P=!_&&_!==0,F=ft(r.scroller||ae),O=Y.core.getCache(F),V=Ni(F),B=("pinType"in r?r.pinType:kr(F,"pinType")||V&&"fixed")==="fixed",R=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],M=P&&r.toggleActions.split(" "),N="markers"in r?r.markers:vo.markers,w=V?0:parseFloat(Wt(F)["border"+T.p2+gn])||0,y=this,L=r.onRefreshInit&&function(){return r.onRefreshInit(y)},H=t_(F,V,T),Z=r_(F,V),X=0,U=0,I=0,G=Pr(F,T),fe,ee,te,$e,St,z,K,be,Ne,k,wt,yr,li,Le,ci,fi,Pn,Ge,Fe,Ut,qt,hi,Er,sr,gt,di,Ui,qi,pi,Wr,Yr,le,_i,jt,Kt,$t,gi,ji,Cr;if(y._startClamp=y._endClamp=!1,y._dir=T,g*=45,y.scroller=F,y.scroll=E?E.time.bind(E):G,$e=G(),y.vars=r,i=i||r.animation,"refreshPriority"in r&&(hf=1,r.refreshPriority===-9999&&(ls=y)),O.tweenScroll=O.tweenScroll||{top:af(F,Me),left:af(F,it)},y.tweenTo=fe=O.tweenScroll[T.p],y.scrubDuration=function(W){_i=So(W)&&W,_i?le?le.duration(W):le=Y.to(i,{ease:"expo",totalProgress:"+=0",duration:_i,paused:!0,onComplete:function(){return m&&m(y)}}):(le&&le.progress(1).kill(),le=0)},i&&(i.vars.lazy=!1,i._initted&&!y.isReverted||i.vars.immediateRender!==!1&&r.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),y.animation=i.pause(),i.scrollTrigger=y,y.scrubDuration(_),Wr=0,u||(u=i.vars.id)),C&&((!ki(C)||C.push)&&(C={snapTo:C}),"scrollBehavior"in De.style&&Y.set(V?[De,tr]:F,{scrollBehavior:"auto"}),re.forEach(function(W){return _t(W)&&W.target===(V?Ce.scrollingElement||tr:F)&&(W.smooth=!1)}),te=_t(C.snapTo)?C.snapTo:C.snapTo==="labels"?n_(i):C.snapTo==="labelsDirectional"?s_(i):C.directional!==!1?function(W,ue){return Fu(C.snapTo)(W,pt()-U<500?0:ue.direction)}:Y.utils.snap(C.snapTo),jt=C.duration||{min:.1,max:2},jt=ki(jt)?dn(jt.min,jt.max):dn(jt,jt),Kt=Y.delayedCall(C.delay||_i/2||.1,function(){var W=G(),ue=pt()-U<500,j=fe.tween;if((ue||Math.abs(y.getVelocity())<10)&&!j&&!Mo&&X!==W){var ne=(W-z)/Le,Ve=i&&!P?i.totalProgress():ne,ce=ue?0:(Ve-Yr)/(pt()-bo)*1e3||0,Pe=Y.utils.clamp(-ne,1-ne,ln(ce/2)*ce/.185),st=ne+(C.inertia===!1?0:Pe),He=dn(0,1,te(st,y)),me=Math.round(z+He*Le),de=C,Zt=de.onStart,ve=de.onInterrupt,Tt=de.onComplete;if(W<=K&&W>=z&&me!==W){if(j&&!j._initted&&j.data<=ln(me-W))return;C.inertia===!1&&(Pe=He-ne),fe(me,{duration:jt(ln(Math.max(ln(st-Ve),ln(He-Ve))*.185/ce/.05||0)),ease:C.ease||"power3",data:ln(me-W),onInterrupt:function(){return Kt.restart(!0)&&ve&&ve(y)},onComplete:function(){y.update(),X=G(),Wr=Yr=i&&!P?i.totalProgress():y.progress,D&&D(y),Tt&&Tt(y)}},W,Pe*Le,me-W-Pe*Le),Zt&&Zt(y,fe.tween)}}else y.isActive&&X!==W&&Kt.restart(!0)}).pause()),u&&(Eu[u]=y),d=y.trigger=ft(d||f!==!0&&f),Cr=d&&d._gsap&&d._gsap.stRevert,Cr&&(Cr=Cr(y)),f=f===!0?d:ft(f),Lt(a)&&(a={targets:d,className:a}),f&&(p===!1||p===Vt||(p=!p&&f.parentNode&&f.parentNode.style&&Wt(f.parentNode).display==="flex"?!1:Re),y.pin=f,ee=Y.core.getCache(f),ee.spacer?ci=ee.pinState:(S&&(S=ft(S),S&&!S.nodeType&&(S=S.current||S.nativeElement),ee.spacerIsNative=!!S,S&&(ee.spacerState=Eo(S))),ee.spacer=Ge=S||Ce.createElement("div"),Ge.classList.add("pin-spacer"),u&&Ge.classList.add("pin-spacer-"+u),ee.pinState=ci=Eo(f)),r.force3D!==!1&&Y.set(f,{force3D:!0}),y.spacer=Ge=ee.spacer,pi=Wt(f),sr=pi[p+T.os2],Ut=Y.getProperty(f),qt=Y.quickSetter(f,T.a,Ke),gu(f,Ge,pi),Pn=Eo(f)),N){yr=ki(N)?ef(N,tf):tf,k=yo("scroller-start",u,F,T,yr,0),wt=yo("scroller-end",u,F,T,yr,0,k),Fe=k["offset"+T.op.d2];var $=ft(kr(F,"content")||F);be=this.markerStart=yo("start",u,$,T,yr,Fe,0,E),Ne=this.markerEnd=yo("end",u,$,T,yr,Fe,0,E),E&&(ji=Y.quickSetter([be,Ne],T.a,Ke)),!B&&!(er.length&&kr(F,"fixedMarkers")===!0)&&(i_(V?De:F),Y.set([k,wt],{force3D:!0}),di=Y.quickSetter(k,T.a,Ke),qi=Y.quickSetter(wt,T.a,Ke))}if(E){var q=E.vars.onUpdate,he=E.vars.onUpdateParams;E.eventCallback("onUpdate",function(){y.update(0,0,1),q&&q.apply(E,he||[])})}if(y.previous=function(){return ie[ie.indexOf(y)-1]},y.next=function(){return ie[ie.indexOf(y)+1]},y.revert=function(W,ue){if(!ue)return y.kill(!0);var j=W!==!1||!y.enabled,ne=nt;j!==y.isReverted&&(j&&($t=Math.max(G(),y.scroll.rec||0),I=y.progress,gi=i&&i.progress()),be&&[be,Ne,k,wt].forEach(function(Ve){return Ve.style.display=j?"none":"block"}),j&&(nt=y,y.update(j)),f&&(!x||!y.isActive)&&(j?u_(f,Ge,ci):gu(f,Ge,Wt(f),gt)),j||y.update(j),nt=ne,y.isReverted=j)},y.refresh=function(W,ue,j,ne){if(!((nt||!y.enabled)&&!ue)){if(f&&W&&Yt){Ye(s,"scrollEnd",bf);return}!dt&&L&&L(y),nt=y,fe.tween&&!j&&(fe.tween.kill(),fe.tween=0),le&&le.pause(),h&&i&&i.revert({kill:!1}).invalidate(),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var Ve=H(),ce=Z(),Pe=E?E.duration():Lr(F,T),st=Le<=.01,He=0,me=ne||0,de=ki(j)?j.end:r.end,Zt=r.endTrigger||d,ve=ki(j)?j.start:r.start||(r.start===0||!d?0:f?"0 0":"0 100%"),Tt=y.pinnedContainer=r.pinnedContainer&&ft(r.pinnedContainer,y),or=d&&Math.max(0,ie.indexOf(y))||0,At=or,Xe,Ze,Di,Ns,Qe,Ie,ar,ca,pl,kn,ur,On,Is;for(N&&ki(j)&&(On=Y.getProperty(k,T.p),Is=Y.getProperty(wt,T.p));At--;)Ie=ie[At],Ie.end||Ie.refresh(0,1)||(nt=y),ar=Ie.pin,ar&&(ar===d||ar===f||ar===Tt)&&!Ie.isReverted&&(kn||(kn=[]),kn.unshift(Ie),Ie.revert(!0,!0)),Ie!==ie[At]&&(or--,At--);for(_t(ve)&&(ve=ve(y)),ve=$c(ve,"start",y),z=sf(ve,d,Ve,T,G(),be,k,y,ce,w,B,Pe,E,y._startClamp&&"_startClamp")||(f?-.001:0),_t(de)&&(de=de(y)),Lt(de)&&!de.indexOf("+=")&&(~de.indexOf(" ")?de=(Lt(ve)?ve.split(" ")[0]:"")+de:(He=wo(de.substr(2),Ve),de=Lt(ve)?ve:(E?Y.utils.mapRange(0,E.duration(),E.scrollTrigger.start,E.scrollTrigger.end,z):z)+He,Zt=d)),de=$c(de,"end",y),K=Math.max(z,sf(de||(Zt?"100% 0":Pe),Zt,Ve,T,G()+He,Ne,wt,y,ce,w,B,Pe,E,y._endClamp&&"_endClamp"))||-.001,He=0,At=or;At--;)Ie=ie[At],ar=Ie.pin,ar&&Ie.start-Ie._pinPush<=z&&!E&&Ie.end>0&&(Xe=Ie.end-(y._startClamp?Math.max(0,Ie.start):Ie.start),(ar===d&&Ie.start-Ie._pinPush<z||ar===Tt)&&isNaN(ve)&&(He+=Xe*(1-Ie.progress)),ar===f&&(me+=Xe));if(z+=He,K+=He,y._startClamp&&(y._startClamp+=He),y._endClamp&&!dt&&(y._endClamp=K||-.001,K=Math.min(K,Lr(F,T))),Le=K-z||(z-=.01)&&.001,st&&(I=Y.utils.clamp(0,1,Y.utils.normalize(z,K,$t))),y._pinPush=me,be&&He&&(Xe={},Xe[T.a]="+="+He,Tt&&(Xe[T.p]="-="+G()),Y.set([be,Ne],Xe)),f)Xe=Wt(f),Ns=T===Me,Di=G(),hi=parseFloat(Ut(T.a))+me,!Pe&&K>1&&(ur=(V?Ce.scrollingElement||tr:F).style,ur={style:ur,value:ur["overflow"+T.a.toUpperCase()]},V&&Wt(De)["overflow"+T.a.toUpperCase()]!=="scroll"&&(ur.style["overflow"+T.a.toUpperCase()]="scroll")),gu(f,Ge,Xe),Pn=Eo(f),Ze=Or(f,!0),ca=B&&Pr(F,Ns?it:Me)(),p&&(gt=[p+T.os2,Le+me+Ke],gt.t=Ge,At=p===Re?yu(f,T)+Le+me:0,At&>.push(T.d,At+Ke),_n(gt),Tt&&ie.forEach(function(Ln){Ln.pin===Tt&&Ln.vars.pinSpacing!==!1&&(Ln._subPinOffset=!0)}),B&&G($t)),B&&(Qe={top:Ze.top+(Ns?Di-z:ca)+Ke,left:Ze.left+(Ns?ca:Di-z)+Ke,boxSizing:"border-box",position:"fixed"},Qe[Li]=Qe["max"+gn]=Math.ceil(Ze.width)+Ke,Qe[Mi]=Qe["max"+Au]=Math.ceil(Ze.height)+Ke,Qe[Vt]=Qe[Vt+as]=Qe[Vt+ss]=Qe[Vt+us]=Qe[Vt+os]="0",Qe[Re]=Xe[Re],Qe[Re+as]=Xe[Re+as],Qe[Re+ss]=Xe[Re+ss],Qe[Re+us]=Xe[Re+us],Qe[Re+os]=Xe[Re+os],fi=c_(ci,Qe,x),dt&&G(0)),i?(pl=i._initted,fu(1),i.render(i.duration(),!0,!0),Er=Ut(T.a)-hi+Le+me,Ui=Math.abs(Le-Er)>1,B&&Ui&&fi.splice(fi.length-2,2),i.render(0,!0,!0),pl||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),fu(0)):Er=Le,ur&&(ur.value?ur.style["overflow"+T.a.toUpperCase()]=ur.value:ur.style.removeProperty("overflow-"+T.a));else if(d&&G()&&!E)for(Ze=d.parentNode;Ze&&Ze!==De;)Ze._pinOffset&&(z-=Ze._pinOffset,K-=Ze._pinOffset),Ze=Ze.parentNode;kn&&kn.forEach(function(Ln){return Ln.revert(!1,!0)}),y.start=z,y.end=K,$e=St=dt?$t:G(),!E&&!dt&&($e<$t&&G($t),y.scroll.rec=0),y.revert(!1,!0),U=pt(),Kt&&(X=-1,Kt.restart(!0)),nt=0,i&&P&&(i._initted||gi)&&i.progress()!==gi&&i.progress(gi||0,!0).render(i.time(),!0,!0),(st||I!==y.progress||E)&&(i&&!P&&i.totalProgress(E&&z<-.001&&!I?Y.utils.normalize(z,K,0):I,!0),y.progress=st||($e-z)/Le===I?0:I),f&&p&&(Ge._pinOffset=Math.round(y.progress*Er)),le&&le.invalidate(),isNaN(On)||(On-=Y.getProperty(k,T.p),Is-=Y.getProperty(wt,T.p),Co(k,T,On),Co(be,T,On-(ne||0)),Co(wt,T,Is),Co(Ne,T,Is-(ne||0))),st&&!dt&&y.update(),c&&!dt&&!li&&(li=!0,c(y),li=!1)}},y.getVelocity=function(){return(G()-St)/(pt()-bo)*1e3||0},y.endAnimation=function(){ts(y.callbackAnimation),i&&(le?le.progress(1):i.paused()?P||ts(i,y.direction<0,1):ts(i,i.reversed()))},y.labelToScroll=function(W){return i&&i.labels&&(z||y.refresh()||z)+i.labels[W]/i.duration()*Le||0},y.getTrailing=function(W){var ue=ie.indexOf(y),j=y.direction>0?ie.slice(0,ue).reverse():ie.slice(ue+1);return(Lt(W)?j.filter(function(ne){return ne.vars.preventOverlaps===W}):j).filter(function(ne){return y.direction>0?ne.end<=z:ne.start>=K})},y.update=function(W,ue,j){if(!(E&&!j&&!W)){var ne=dt===!0?$t:y.scroll(),Ve=W?0:(ne-z)/Le,ce=Ve<0?0:Ve>1?1:Ve||0,Pe=y.progress,st,He,me,de,Zt,ve,Tt,or;if(ue&&(St=$e,$e=E?G():ne,C&&(Yr=Wr,Wr=i&&!P?i.totalProgress():ce)),g&&!ce&&f&&!nt&&!_o&&Yt&&z<ne+(ne-St)/(pt()-bo)*g&&(ce=1e-4),ce!==Pe&&y.enabled){if(st=y.isActive=!!ce&&ce<1,He=!!Pe&&Pe<1,ve=st!==He,Zt=ve||!!ce!=!!Pe,y.direction=ce>Pe?1:-1,y.progress=ce,Zt&&!nt&&(me=ce&&!Pe?0:ce===1?1:Pe===1?2:3,P&&(de=!ve&&M[me+1]!=="none"&&M[me+1]||M[me],or=i&&(de==="complete"||de==="reset"||de in i))),A&&(ve||or)&&(or||_||!i)&&(_t(A)?A(y):y.getTrailing(A).forEach(function(Di){return Di.endAnimation()})),P||(le&&!nt&&!_o?(le._dp._time-le._start!==le._time&&le.render(le._dp._time-le._start),le.resetTo?le.resetTo("totalProgress",ce,i._tTime/i._tDur):(le.vars.totalProgress=ce,le.invalidate().restart())):i&&i.totalProgress(ce,!!(nt&&(U||W)))),f){if(W&&p&&(Ge.style[p+T.os2]=sr),!B)qt(is(hi+Er*ce));else if(Zt){if(Tt=!W&&ce>Pe&&K+1>ne&&ne+1>=Lr(F,T),x)if(!W&&(st||Tt)){var At=Or(f,!0),Xe=ne-z;of(f,De,At.top+(T===Me?Xe:0)+Ke,At.left+(T===Me?0:Xe)+Ke)}else of(f,Ge);_n(st||Tt?fi:Pn),Ui&&ce<1&&st||qt(hi+(ce===1&&!Tt?Er:0))}}C&&!fe.tween&&!nt&&!_o&&Kt.restart(!0),a&&(ve||v&&ce&&(ce<1||!hu))&&Oo(a.targets).forEach(function(Di){return Di.classList[st||v?"add":"remove"](a.className)}),o&&!P&&!W&&o(y),Zt&&!nt?(P&&(or&&(de==="complete"?i.pause().totalProgress(1):de==="reset"?i.restart(!0).pause():de==="restart"?i.restart(!0):i[de]()),o&&o(y)),(ve||!hu)&&(l&&ve&&pu(y,l),R[me]&&pu(y,R[me]),v&&(ce===1?y.kill(!1,1):R[me]=0),ve||(me=ce===1?1:3,R[me]&&pu(y,R[me]))),b&&!st&&Math.abs(y.getVelocity())>(So(b)?b:2500)&&(ts(y.callbackAnimation),le?le.progress(1):ts(i,de==="reverse"?1:!ce,1))):P&&o&&!nt&&o(y)}if(qi){var Ze=E?ne/E.duration()*(E._caScrollDist||0):ne;di(Ze+(k._isFlipped?1:0)),qi(Ze)}ji&&ji(-ne/E.duration()*(E._caScrollDist||0))}},y.enable=function(W,ue){y.enabled||(y.enabled=!0,Ye(F,"resize",ns),V||Ye(F,"scroll",cn),L&&Ye(s,"refreshInit",L),W!==!1&&(y.progress=I=0,$e=St=X=G()),ue!==!1&&y.refresh())},y.getTween=function(W){return W&&fe?fe.tween:le},y.setPositions=function(W,ue,j,ne){if(E){var Ve=E.scrollTrigger,ce=E.duration(),Pe=Ve.end-Ve.start;W=Ve.start+Pe*W/ce,ue=Ve.start+Pe*ue/ce}y.refresh(!1,!1,{start:Zc(W,j&&!!y._startClamp),end:Zc(ue,j&&!!y._endClamp)},ne),y.update()},y.adjustPinSpacing=function(W){if(gt&&W){var ue=gt.indexOf(T.d)+1;gt[ue]=parseFloat(gt[ue])+W+Ke,gt[1]=parseFloat(gt[1])+W+Ke,_n(gt)}},y.disable=function(W,ue){if(y.enabled&&(W!==!1&&y.revert(!0,!0),y.enabled=y.isActive=!1,ue||le&&le.pause(),$t=0,ee&&(ee.uncache=1),L&&We(s,"refreshInit",L),Kt&&(Kt.pause(),fe.tween&&fe.tween.kill()&&(fe.tween=0)),!V)){for(var j=ie.length;j--;)if(ie[j].scroller===F&&ie[j]!==y)return;We(F,"resize",ns),V||We(F,"scroll",cn)}},y.kill=function(W,ue){y.disable(W,ue),le&&!ue&&le.kill(),u&&delete Eu[u];var j=ie.indexOf(y);j>=0&&ie.splice(j,1),j===ht&&Ao>0&&ht--,j=0,ie.forEach(function(ne){return ne.scroller===y.scroller&&(j=1)}),j||dt||(y.scroll.rec=0),i&&(i.scrollTrigger=null,W&&i.revert({kill:!1}),ue||i.kill()),be&&[be,Ne,k,wt].forEach(function(ne){return ne.parentNode&&ne.parentNode.removeChild(ne)}),ls===y&&(ls=0),f&&(ee&&(ee.uncache=1),j=0,ie.forEach(function(ne){return ne.pin===f&&j++}),j||(ee.spacer=0)),r.onKill&&r.onKill(y)},ie.push(y),y.enable(!1,!1),Cr&&Cr(y),i&&i.add&&!Le){var Se=y.update;y.update=function(){y.update=Se,z||K||y.refresh()},Y.delayedCall(.01,y.update),Le=.01,z=K=0}else y.refresh();f&&a_()},s.register=function(r){return fn||(Y=r||mf(),Df()&&window.document&&s.enable(),fn=rs),fn},s.defaults=function(r){if(r)for(var i in r)vo[i]=r[i];return vo},s.disable=function(r,i){rs=0,ie.forEach(function(o){return o[i?"kill":"disable"](r)}),We(ae,"wheel",cn),We(Ce,"scroll",cn),clearInterval(po),We(Ce,"touchcancel",pr),We(De,"touchstart",pr),Do(We,Ce,"pointerdown,touchstart,mousedown",Qc),Do(We,Ce,"pointerup,touchend,mouseup",Jc),ko.kill(),go(We);for(var n=0;n<re.length;n+=3)mo(We,re[n],re[n+1]),mo(We,re[n],re[n+2])},s.enable=function(){if(ae=window,Ce=document,tr=Ce.documentElement,De=Ce.body,Y&&(Oo=Y.utils.toArray,dn=Y.utils.clamp,vu=Y.core.context||pr,fu=Y.core.suppressOverwrites||pr,bu=ae.history.scrollRestoration||"auto",Cu=ae.pageYOffset,Y.core.globals("ScrollTrigger",s),De)){rs=1,pn=document.createElement("div"),pn.style.height="100vh",pn.style.position="absolute",Tf(),e_(),Oe.register(Y),s.isTouch=Oe.isTouch,ti=Oe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Ye(ae,"wheel",cn),ff=[ae,Ce,tr,De],Y.matchMedia?(s.matchMedia=function(u){var l=Y.matchMedia(),c;for(c in u)l.add(c,u[c]);return l},Y.addEventListener("matchMediaInit",function(){return Pu()}),Y.addEventListener("matchMediaRevert",function(){return Sf()}),Y.addEventListener("matchMedia",function(){Oi(0,1),Bi("matchMedia")}),Y.matchMedia("(orientation: portrait)",function(){return _u(),_u})):console.warn("Requires GSAP 3.11.0 or later"),_u(),Ye(Ce,"scroll",cn);var r=De.style,i=r.borderTopStyle,n=Y.core.Animation.prototype,o,a;for(n.revert||Object.defineProperty(n,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",o=Or(De),Me.m=Math.round(o.top+Me.sc())||0,it.m=Math.round(o.left+it.sc())||0,i?r.borderTopStyle=i:r.removeProperty("border-top-style"),po=setInterval(rf,250),Y.delayedCall(.5,function(){return _o=0}),Ye(Ce,"touchcancel",pr),Ye(De,"touchstart",pr),Do(Ye,Ce,"pointerdown,touchstart,mousedown",Qc),Do(Ye,Ce,"pointerup,touchend,mouseup",Jc),mu=Y.utils.checkPrefix("transform"),Fo.push(mu),fn=pt(),ko=Y.delayedCall(.2,Oi).pause(),hn=[Ce,"visibilitychange",function(){var u=ae.innerWidth,l=ae.innerHeight;Ce.hidden?(jc=u,Kc=l):(jc!==u||Kc!==l)&&ns()},Ce,"DOMContentLoaded",Oi,ae,"load",Oi,ae,"resize",ns],go(Ye),ie.forEach(function(u){return u.enable(0,1)}),a=0;a<re.length;a+=3)mo(We,re[a],re[a+1]),mo(We,re[a],re[a+2])}},s.config=function(r){"limitCallbacks"in r&&(hu=!!r.limitCallbacks);var i=r.syncInterval;i&&clearInterval(po)||(po=i)&&setInterval(rf,i),"ignoreMobileResize"in r&&(pf=s.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(go(We)||go(Ye,r.autoRefreshEvents||"none"),df=(r.autoRefreshEvents+"").indexOf("resize")===-1)},s.scrollerProxy=function(r,i){var n=ft(r),o=re.indexOf(n),a=Ni(n);~o&&re.splice(o,a?6:2),i&&(a?er.unshift(ae,i,De,i,tr,i):er.unshift(n,i))},s.clearMatchMedia=function(r){ie.forEach(function(i){return i._ctx&&i._ctx.query===r&&i._ctx.kill(!0,!0)})},s.isInViewport=function(r,i,n){var o=(Lt(r)?ft(r):r).getBoundingClientRect(),a=o[n?Li:Mi]*i||0;return n?o.right-a>0&&o.left+a<ae.innerWidth:o.bottom-a>0&&o.top+a<ae.innerHeight},s.positionInViewport=function(r,i,n){Lt(r)&&(r=ft(r));var o=r.getBoundingClientRect(),a=o[n?Li:Mi],u=i==null?a/2:i in Lo?Lo[i]*a:~i.indexOf("%")?parseFloat(i)*a/100:parseFloat(i)||0;return n?(o.left+u)/ae.innerWidth:(o.top+u)/ae.innerHeight},s.killAll=function(r){if(ie.slice(0).forEach(function(n){return n.vars.id!=="ScrollSmoother"&&n.kill()}),r!==!0){var i=Ii.killAll||[];Ii={},i.forEach(function(n){return n()})}},s}();J.version="3.12.2";J.saveStyles=function(s){return s?Oo(s).forEach(function(e){if(e&&e.style){var t=Ot.indexOf(e);t>=0&&Ot.splice(t,5),Ot.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),Y.core.getCache(e),vu())}}):Ot};J.revert=function(s,e){return Pu(!s,e)};J.create=function(s,e){return new J(s,e)};J.refresh=function(s){return s?ns():(fn||J.register())&&Oi(!0)};J.update=function(s){return++re.cache&&Mr(s===!0?2:0)};J.clearScrollMemory=wf;J.maxScroll=function(s,e){return Lr(s,e?it:Me)};J.getScrollFunc=function(s,e){return Pr(ft(s),e?it:Me)};J.getById=function(s){return Eu[s]};J.getAll=function(){return ie.filter(function(s){return s.vars.id!=="ScrollSmoother"})};J.isScrolling=function(){return!!Yt};J.snapDirectional=Fu;J.addEventListener=function(s,e){var t=Ii[s]||(Ii[s]=[]);~t.indexOf(e)||t.push(e)};J.removeEventListener=function(s,e){var t=Ii[s],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};J.batch=function(s,e){var t=[],r={},i=e.interval||.016,n=e.batchMax||1e9,o=function(l,c){var _=[],d=[],f=Y.delayedCall(i,function(){c(_,d),_=[],d=[]}).pause();return function(p){_.length||f.restart(!0),_.push(p.trigger),d.push(p),n<=_.length&&f.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&_t(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return _t(n)&&(n=n(),Ye(J,"refresh",function(){return n=e.batchMax()})),Oo(s).forEach(function(u){var l={};for(a in r)l[a]=r[a];l.trigger=u,t.push(J.create(l))}),t};var uf=function(e,t,r,i){return t>i?e(i):t<0&&e(0),r>i?(i-t)/(r-t):r<0?t/(t-r):1},Du=function s(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Oe.isTouch?" pinch-zoom":""):"none",e===tr&&s(De,t)},xo={auto:1,scroll:1},h_=function(e){var t=e.event,r=e.target,i=e.axis,n=(t.changedTouches?t.changedTouches[0]:t).target,o=n._gsap||Y.core.getCache(n),a=pt(),u;if(!o._isScrollT||a-o._isScrollT>2e3){for(;n&&n!==De&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(xo[(u=Wt(n)).overflowY]||xo[u.overflowX]));)n=n.parentNode;o._isScroll=n&&n!==r&&!Ni(n)&&(xo[(u=Wt(n)).overflowY]||xo[u.overflowX]),o._isScrollT=a}(o._isScroll||i==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},Ff=function(e,t,r,i){return Oe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:i=i&&h_,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&Ye(Ce,Oe.eventTypes[0],cf,!1,!0)},onDisable:function(){return We(Ce,Oe.eventTypes[0],cf,!0)}})},d_=/(input|label|select|textarea)/i,lf,cf=function(e){var t=d_.test(e.target.tagName);(t||lf)&&(e._gsapAllow=!0,lf=t)},p_=function(e){ki(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,r=t.normalizeScrollX,i=t.momentum,n=t.allowNestedScroll,o=t.onRelease,a,u,l=ft(e.target)||tr,c=Y.core.globals().ScrollSmoother,_=c&&c.get(),d=ti&&(e.content&&ft(e.content)||_&&e.content!==!1&&!_.smooth()&&_.content()),f=Pr(l,Me),p=Pr(l,it),h=1,g=(Oe.isTouch&&ae.visualViewport?ae.visualViewport.scale*ae.visualViewport.width:ae.outerWidth)/ae.innerWidth,m=0,D=_t(i)?function(){return i(a)}:function(){return i||2.8},v,C,x=Ff(l,e.type,!0,n),S=function(){return C=!1},E=pr,b=pr,A=function(){u=Lr(l,Me),b=dn(ti?1:0,u),r&&(E=dn(0,Lr(l,it))),v=Ri},T=function(){d._gsap.y=is(parseFloat(d._gsap.y)+f.offset)+"px",d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(d._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},P=function(){if(C){requestAnimationFrame(S);var N=is(a.deltaY/2),w=b(f.v-N);if(d&&w!==f.v+f.offset){f.offset=w-f.v;var y=is((parseFloat(d&&d._gsap.y)||0)-f.offset);d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",d._gsap.y=y+"px",f.cacheID=re.cache,Mr()}return!0}f.offset&&T(),C=!0},F,O,V,B,R=function(){A(),F.isActive()&&F.vars.scrollY>u&&(f()>u?F.progress(1)&&f(u):F.resetTo("scrollY",u))};return d&&Y.set(d,{y:"+=0"}),e.ignoreCheck=function(M){return ti&&M.type==="touchmove"&&P(M)||h>1.05&&M.type!=="touchstart"||a.isGesturing||M.touches&&M.touches.length>1},e.onPress=function(){C=!1;var M=h;h=is((ae.visualViewport&&ae.visualViewport.scale||1)/g),F.pause(),M!==h&&Du(l,h>1.01?!0:r?!1:"x"),O=p(),V=f(),A(),v=Ri},e.onRelease=e.onGestureStart=function(M,N){if(f.offset&&T(),!N)B.restart(!0);else{re.cache++;var w=D(),y,L;r&&(y=p(),L=y+w*.05*-M.velocityX/.227,w*=uf(p,y,L,Lr(l,it)),F.vars.scrollX=E(L)),y=f(),L=y+w*.05*-M.velocityY/.227,w*=uf(f,y,L,Lr(l,Me)),F.vars.scrollY=b(L),F.invalidate().duration(w).play(.01),(ti&&F.vars.scrollY>=u||y>=u-1)&&Y.to({},{onUpdate:R,duration:w})}o&&o(M)},e.onWheel=function(){F._ts&&F.pause(),pt()-m>1e3&&(v=0,m=pt())},e.onChange=function(M,N,w,y,L){if(Ri!==v&&A(),N&&r&&p(E(y[2]===N?O+(M.startX-M.x):p()+N-y[1])),w){f.offset&&T();var H=L[2]===w,Z=H?V+M.startY-M.y:f()+w-L[1],X=b(Z);H&&Z!==X&&(V+=X-Z),f(X)}(w||N)&&Mr()},e.onEnable=function(){Du(l,r?!1:"x"),J.addEventListener("refresh",R),Ye(ae,"resize",R),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=p.smooth=!1),x.enable()},e.onDisable=function(){Du(l,!0),We(ae,"resize",R),J.removeEventListener("refresh",R),x.kill()},e.lockAxis=e.lockAxis!==!1,a=new Oe(e),a.iOS=ti,ti&&!f()&&f(1),ti&&Y.ticker.add(pr),B=a._dc,F=Y.to(a,{ease:"power4",paused:!0,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Af(f,f(),function(){return F.pause()})},onUpdate:Mr,onComplete:B.vars.onComplete}),a};J.sort=function(s){return ie.sort(s||function(e,t){return(e.vars.refreshPriority||0)*-1e6+e.start-(t.start+(t.vars.refreshPriority||0)*-1e6)})};J.observe=function(s){return new Oe(s)};J.normalizeScroll=function(s){if(typeof s=="undefined")return kt;if(s===!0&&kt)return kt.enable();if(s===!1)return kt&&kt.kill();var e=s instanceof Oe?s:p_(s);return kt&&kt.target===e.target&&kt.kill(),Ni(e.target)&&(kt=e),e};J.core={_getVelocityProp:ho,_inputObserver:Ff,_scrollers:re,_proxies:er,bridge:{ss:function(){Yt||Bi("scrollStart"),Yt=pt()},ref:function(){return nt}}};mf()&&Y.registerPlugin(J);var Pf=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function ku(s){var e=s.nodeType,t="";if(e===1||e===9||e===11){if(typeof s.textContent=="string")return s.textContent;for(s=s.firstChild;s;s=s.nextSibling)t+=ku(s)}else if(e===3||e===4)return s.nodeValue;return t}var Dn,Lu,Lf,fs,Mf,Ro,__=/(?:\r|\n|\t\t)/g,g_=/(?:\s\s+)/g,Rf=function(e){Dn=document,Lu=window,fs=fs||e||Lu.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),fs&&(Ro=fs.utils.toArray,Mf=fs.core.context||function(){},Lf=1)},D_=1,Nf=function(e){return Lu.getComputedStyle(e)},Mu=function(e){return e.position==="absolute"||e.absolute===!0},m_=function(e,t){for(var r=t.length,i;--r>-1;)if(i=t[r],e.substr(0,i.length)===i)return i.length},v_=" style='position:relative;display:inline-block;'",kf=function(e,t){e===void 0&&(e="");var r=~e.indexOf("++"),i=1;return r&&(e=e.split("++").join("")),function(){return"<"+t+v_+(e?" class='"+e+(r?i++:"")+"'>":">")}},If=function s(e,t,r){var i=e.nodeType;if(i===1||i===9||i===11)for(e=e.firstChild;e;e=e.nextSibling)s(e,t,r);else(i===3||i===4)&&(e.nodeValue=e.nodeValue.split(t).join(r))},Ou=function(e,t){for(var r=t.length;--r>-1;)e.push(t[r])},Of=function(e,t,r){for(var i;e&&e!==t;){if(i=e._next||e.nextSibling,i)return i.textContent.charAt(0)===r;e=e.parentNode||e._parent}},y_=function s(e){var t=Ro(e.childNodes),r=t.length,i,n;for(i=0;i<r;i++)n=t[i],n._isSplit?s(n):i&&n.previousSibling&&n.previousSibling.nodeType===3?(n.previousSibling.nodeValue+=n.nodeType===3?n.nodeValue:n.firstChild.nodeValue,e.removeChild(n)):n.nodeType!==3&&(e.insertBefore(n.firstChild,n),e.removeChild(n))},_r=function(e,t){return parseFloat(t[e])||0},E_=function(e,t,r,i,n,o,a){var u=Nf(e),l=_r("paddingLeft",u),c=-999,_=_r("borderBottomWidth",u)+_r("borderTopWidth",u),d=_r("borderLeftWidth",u)+_r("borderRightWidth",u),f=_r("paddingTop",u)+_r("paddingBottom",u),p=_r("paddingLeft",u)+_r("paddingRight",u),h=_r("fontSize",u)*(t.lineThreshold||.2),g=u.textAlign,m=[],D=[],v=[],C=t.wordDelimiter||" ",x=t.tag?t.tag:t.span?"span":"div",S=t.type||t.split||"chars,words,lines",E=n&&~S.indexOf("lines")?[]:null,b=~S.indexOf("words"),A=~S.indexOf("chars"),T=Mu(t),P=t.linesClass,F=~(P||"").indexOf("++"),O=[],V=u.display==="flex",B=e.style.display,R,M,N,w,y,L,H,Z,X,U,I,G;for(F&&(P=P.split("++").join("")),V&&(e.style.display="block"),M=e.getElementsByTagName("*"),N=M.length,y=[],R=0;R<N;R++)y[R]=M[R];if(E||T)for(R=0;R<N;R++)w=y[R],L=w.parentNode===e,(L||T||A&&!b)&&(G=w.offsetTop,E&&L&&Math.abs(G-c)>h&&(w.nodeName!=="BR"||R===0)&&(H=[],E.push(H),c=G),T&&(w._x=w.offsetLeft,w._y=G,w._w=w.offsetWidth,w._h=w.offsetHeight),E&&((w._isSplit&&L||!A&&L||b&&L||!b&&w.parentNode.parentNode===e&&!w.parentNode._isSplit)&&(H.push(w),w._x-=l,Of(w,e,C)&&(w._wordEnd=!0)),w.nodeName==="BR"&&(w.nextSibling&&w.nextSibling.nodeName==="BR"||R===0)&&E.push([])));for(R=0;R<N;R++){if(w=y[R],L=w.parentNode===e,w.nodeName==="BR"){E||T?(w.parentNode&&w.parentNode.removeChild(w),y.splice(R--,1),N--):b||e.appendChild(w);continue}if(T&&(X=w.style,!b&&!L&&(w._x+=w.parentNode._x,w._y+=w.parentNode._y),X.left=w._x+"px",X.top=w._y+"px",X.position="absolute",X.display="block",X.width=w._w+1+"px",X.height=w._h+"px"),!b&&A)if(w._isSplit)for(w._next=M=w.nextSibling,w.parentNode.appendChild(w);M&&M.nodeType===3&&M.textContent===" ";)w._next=M.nextSibling,w.parentNode.appendChild(M),M=M.nextSibling;else w.parentNode._isSplit?(w._parent=w.parentNode,!w.previousSibling&&w.firstChild&&(w.firstChild._isFirst=!0),w.nextSibling&&w.nextSibling.textContent===" "&&!w.nextSibling.nextSibling&&O.push(w.nextSibling),w._next=w.nextSibling&&w.nextSibling._isFirst?null:w.nextSibling,w.parentNode.removeChild(w),y.splice(R--,1),N--):L||(G=!w.nextSibling&&Of(w.parentNode,e,C),w.parentNode._parent&&w.parentNode._parent.appendChild(w),G&&w.parentNode.appendChild(Dn.createTextNode(" ")),x==="span"&&(w.style.display="inline"),m.push(w));else w.parentNode._isSplit&&!w._isSplit&&w.innerHTML!==""?D.push(w):A&&!w._isSplit&&(x==="span"&&(w.style.display="inline"),m.push(w))}for(R=O.length;--R>-1;)O[R].parentNode.removeChild(O[R]);if(E){for(T&&(U=Dn.createElement(x),e.appendChild(U),I=U.offsetWidth+"px",G=U.offsetParent===e?0:e.offsetLeft,e.removeChild(U)),X=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(Z=C===" "&&(!T||!b&&!A),R=0;R<E.length;R++){for(H=E[R],U=Dn.createElement(x),U.style.cssText="display:block;text-align:"+g+";position:"+(T?"absolute;":"relative;"),P&&(U.className=P+(F?R+1:"")),v.push(U),N=H.length,M=0;M<N;M++)H[M].nodeName!=="BR"&&(w=H[M],U.appendChild(w),Z&&w._wordEnd&&U.appendChild(Dn.createTextNode(" ")),T&&(M===0&&(U.style.top=w._y+"px",U.style.left=l+G+"px"),w.style.top="0px",G&&(w.style.left=w._x-G+"px")));N===0?U.innerHTML=" ":!b&&!A&&(y_(U),If(U,String.fromCharCode(160)," ")),T&&(U.style.width=I,U.style.height=w._h+"px"),e.appendChild(U)}e.style.cssText=X}T&&(a>e.clientHeight&&(e.style.height=a-f+"px",e.clientHeight<a&&(e.style.height=a+_+"px")),o>e.clientWidth&&(e.style.width=o-p+"px",e.clientWidth<o&&(e.style.width=o+d+"px"))),V&&(B?e.style.display=B:e.style.removeProperty("display")),Ou(r,m),b&&Ou(i,D),Ou(n,v)},C_=function(e,t,r,i){var n=t.tag?t.tag:t.span?"span":"div",o=t.type||t.split||"chars,words,lines",a=~o.indexOf("chars"),u=Mu(t),l=t.wordDelimiter||" ",c=l!==" "?"":u?"­ ":" ",_="</"+n+">",d=1,f=t.specialChars?typeof t.specialChars=="function"?t.specialChars:m_:null,p,h,g,m,D,v,C,x,S=Dn.createElement("div"),E=e.parentNode;for(E.insertBefore(S,e),S.textContent=e.nodeValue,E.removeChild(e),e=S,p=ku(e),C=p.indexOf("<")!==-1,t.reduceWhiteSpace!==!1&&(p=p.replace(g_," ").replace(__,"")),C&&(p=p.split("<").join("{{LT}}")),D=p.length,h=(p.charAt(0)===" "?c:"")+r(),g=0;g<D;g++)if(v=p.charAt(g),f&&(x=f(p.substr(g),t.specialChars)))v=p.substr(g,x||1),h+=a&&v!==" "?i()+v+"</"+n+">":v,g+=x-1;else if(v===l&&p.charAt(g-1)!==l&&g){for(h+=d?_:"",d=0;p.charAt(g+1)===l;)h+=c,g++;g===D-1?h+=c:p.charAt(g+1)!==")"&&(h+=c+r(),d=1)}else v==="{"&&p.substr(g,6)==="{{LT}}"?(h+=a?i()+"{{LT}}</"+n+">":"{{LT}}",g+=5):v.charCodeAt(0)>=55296&&v.charCodeAt(0)<=56319||p.charCodeAt(g+1)>=65024&&p.charCodeAt(g+1)<=65039?(m=((p.substr(g,12).split(Pf)||[])[1]||"").length||2,h+=a&&v!==" "?i()+p.substr(g,m)+"</"+n+">":p.substr(g,m),g+=m-1):h+=a&&v!==" "?i()+v+"</"+n+">":v;e.outerHTML=h+(d?_:""),C&&If(E,"{{LT}}","<")},x_=function s(e,t,r,i){var n=Ro(e.childNodes),o=n.length,a=Mu(t),u,l;if(e.nodeType!==3||o>1){for(t.absolute=!1,u=0;u<o;u++)l=n[u],l._next=l._isFirst=l._parent=l._wordEnd=null,(l.nodeType!==3||/\S+/.test(l.nodeValue))&&(a&&l.nodeType!==3&&Nf(l).display==="inline"&&(l.style.display="inline-block",l.style.position="relative"),l._isSplit=!0,s(l,t,r,i));t.absolute=a,e._isSplit=!0;return}C_(e,t,r,i)},ri=function(){function s(t,r){Lf||Rf(),this.elements=Ro(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=r||{},Mf(this),D_&&this.split(r)}var e=s.prototype;return e.split=function(r){this.isSplit&&this.revert(),this.vars=r=r||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var i=this.elements.length,n=r.tag?r.tag:r.span?"span":"div",o=kf(r.wordsClass,n),a=kf(r.charsClass,n),u,l,c;--i>-1;)c=this.elements[i],this._originals[i]=c.innerHTML,u=c.clientHeight,l=c.clientWidth,x_(c,r,o,a),E_(c,r,this.chars,this.words,this.lines,l,u);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},e.revert=function(){var r=this._originals;if(!r)throw"revert() call wasn't scoped properly.";return this.elements.forEach(function(i,n){return i.innerHTML=r[n]}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},s.create=function(r,i){return new s(r,i)},s}();ri.version="3.12.2";ri.register=Rf;var Hh=nd(Bf(),1);function zf(s,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(s,r.key,r)}}function b_(s,e,t){return e&&zf(s.prototype,e),t&&zf(s,t),Object.defineProperty(s,"prototype",{writable:!1}),s}var Vf="(prefers-reduced-motion: reduce)",yn=1,S_=2,xn=3,Sn=4,Cs=5,Io=6,Wo=7,w_={CREATED:yn,MOUNTED:S_,IDLE:xn,MOVING:Sn,SCROLLING:Cs,DRAGGING:Io,DESTROYED:Wo};function zr(s){s.length=0}function ai(s,e,t){return Array.prototype.slice.call(s,e,t)}function ge(s){return s.bind.apply(s,[null].concat(ai(arguments,1)))}var eh=setTimeout,Wu=function(){};function Wf(s){return requestAnimationFrame(s)}function Xo(s,e){return typeof e===s}function ps(s){return!ju(s)&&Xo("object",s)}var qu=Array.isArray,th=ge(Xo,"function"),ni=ge(Xo,"string"),xs=ge(Xo,"undefined");function ju(s){return s===null}function rh(s){try{return s instanceof(s.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function bs(s){return qu(s)?s:[s]}function Xt(s,e){bs(s).forEach(e)}function Ku(s,e){return s.indexOf(e)>-1}function Bo(s,e){return s.push.apply(s,bs(e)),s}function Nr(s,e,t){s&&Xt(e,function(r){r&&s.classList[t?"add":"remove"](r)})}function gr(s,e){Nr(s,ni(e)?e.split(" "):e,!0)}function Ss(s,e){Xt(e,s.appendChild.bind(s))}function $u(s,e){Xt(s,function(t){var r=(e||t).parentNode;r&&r.insertBefore(t,e)})}function _s(s,e){return rh(s)&&(s.msMatchesSelector||s.matches).call(s,e)}function ih(s,e){var t=s?ai(s.children):[];return e?t.filter(function(r){return _s(r,e)}):t}function ws(s,e){return e?ih(s,e)[0]:s.firstElementChild}var gs=Object.keys;function Vi(s,e,t){return s&&(t?gs(s).reverse():gs(s)).forEach(function(r){r!=="__proto__"&&e(s[r],r)}),s}function Ds(s){return ai(arguments,1).forEach(function(e){Vi(e,function(t,r){s[r]=e[r]})}),s}function ii(s){return ai(arguments,1).forEach(function(e){Vi(e,function(t,r){qu(t)?s[r]=t.slice():ps(t)?s[r]=ii({},ps(s[r])?s[r]:{},t):s[r]=t})}),s}function Yf(s,e){Xt(e||gs(s),function(t){delete s[t]})}function Dr(s,e){Xt(s,function(t){Xt(e,function(r){t&&t.removeAttribute(r)})})}function Q(s,e,t){ps(e)?Vi(e,function(r,i){Q(s,i,r)}):Xt(s,function(r){ju(t)||t===""?Dr(r,e):r.setAttribute(e,String(t))})}function En(s,e,t){var r=document.createElement(s);return e&&(ni(e)?gr(r,e):Q(r,e)),t&&Ss(t,r),r}function rr(s,e,t){if(xs(t))return getComputedStyle(s)[e];ju(t)||(s.style[e]=""+t)}function ms(s,e){rr(s,"display",e)}function nh(s){s.setActive&&s.setActive()||s.focus({preventScroll:!0})}function ir(s,e){return s.getAttribute(e)}function Gf(s,e){return s&&s.classList.contains(e)}function Gt(s){return s.getBoundingClientRect()}function Wi(s){Xt(s,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function sh(s){return ws(new DOMParser().parseFromString(s,"text/html").body)}function Rr(s,e){s.preventDefault(),e&&(s.stopPropagation(),s.stopImmediatePropagation())}function oh(s,e){return s&&s.querySelector(e)}function Zu(s,e){return e?ai(s.querySelectorAll(e)):[]}function Ir(s,e){Nr(s,e,!1)}function Yu(s){return s.timeStamp}function zi(s){return ni(s)?s:s?s+"px":""}var Ts="splide",Qu="data-"+Ts;function hs(s,e){if(!s)throw new Error("["+Ts+"] "+(e||""))}var si=Math.min,Yo=Math.max,Go=Math.floor,vs=Math.ceil,Ct=Math.abs;function ah(s,e,t){return Ct(s-e)<t}function zo(s,e,t,r){var i=si(e,t),n=Yo(e,t);return r?i<s&&s<n:i<=s&&s<=n}function mn(s,e,t){var r=si(e,t),i=Yo(e,t);return si(Yo(r,s),i)}function Gu(s){return+(s>0)-+(s<0)}function Hu(s,e){return Xt(e,function(t){s=s.replace("%s",""+t)}),s}function Ju(s){return s<10?"0"+s:""+s}var Hf={};function T_(s){return""+s+Ju(Hf[s]=(Hf[s]||0)+1)}function uh(){var s=[];function e(o,a,u,l){i(o,a,function(c,_,d){var f="addEventListener"in c,p=f?c.removeEventListener.bind(c,_,u,l):c.removeListener.bind(c,u);f?c.addEventListener(_,u,l):c.addListener(u),s.push([c,_,d,u,p])})}function t(o,a,u){i(o,a,function(l,c,_){s=s.filter(function(d){return d[0]===l&&d[1]===c&&d[2]===_&&(!u||d[3]===u)?(d[4](),!1):!0})})}function r(o,a,u){var l,c=!0;return typeof CustomEvent=="function"?l=new CustomEvent(a,{bubbles:c,detail:u}):(l=document.createEvent("CustomEvent"),l.initCustomEvent(a,c,!1,u)),o.dispatchEvent(l),l}function i(o,a,u){Xt(o,function(l){l&&Xt(a,function(c){c.split(" ").forEach(function(_){var d=_.split(".");u(l,d[0],d[1])})})})}function n(){s.forEach(function(o){o[4]()}),zr(s)}return{bind:e,unbind:t,dispatch:r,destroy:n}}var Gi="mounted",Xf="ready",oi="move",As="moved",lh="click",A_="active",F_="inactive",P_="visible",k_="hidden",ze="refresh",xt="updated",ys="resize",el="resized",O_="drag",L_="dragging",M_="dragged",tl="scroll",wn="scrolled",R_="overflow",ch="destroy",N_="arrows:mounted",I_="arrows:updated",B_="pagination:mounted",z_="pagination:updated",fh="navigation:mounted",hh="autoplay:play",V_="autoplay:playing",dh="autoplay:pause",ph="lazyload:loaded",_h="sk",gh="sh",Ho="ei";function xe(s){var e=s?s.event.bus:document.createDocumentFragment(),t=uh();function r(n,o){t.bind(e,bs(n).join(" "),function(a){o.apply(o,qu(a.detail)?a.detail:[])})}function i(n){t.dispatch(e,n,ai(arguments,1))}return s&&s.event.on(ch,t.destroy),Ds(t,{bus:e,on:r,off:ge(t.unbind,e),emit:i})}function Uo(s,e,t,r){var i=Date.now,n,o=0,a,u=!0,l=0;function c(){if(!u){if(o=s?si((i()-n)/s,1):1,t&&t(o),o>=1&&(e(),n=i(),r&&++l>=r))return d();a=Wf(c)}}function _(m){m||p(),n=i()-(m?o*s:0),u=!1,a=Wf(c)}function d(){u=!0}function f(){n=i(),o=0,t&&t(o)}function p(){a&&cancelAnimationFrame(a),o=0,a=0,u=!0}function h(m){s=m}function g(){return u}return{start:_,rewind:f,pause:d,cancel:p,set:h,isPaused:g}}function W_(s){var e=s;function t(i){e=i}function r(i){return Ku(bs(i),e)}return{set:t,is:r}}function Y_(s,e){var t=Uo(e||0,s,null,1);return function(){t.isPaused()&&t.start()}}function G_(s,e,t){var r=s.state,i=t.breakpoints||{},n=t.reducedMotion||{},o=uh(),a=[];function u(){var p=t.mediaQuery==="min";gs(i).sort(function(h,g){return p?+h-+g:+g-+h}).forEach(function(h){c(i[h],"("+(p?"min":"max")+"-width:"+h+"px)")}),c(n,Vf),_()}function l(p){p&&o.destroy()}function c(p,h){var g=matchMedia(h);o.bind(g,"change",_),a.push([p,g])}function _(){var p=r.is(Wo),h=t.direction,g=a.reduce(function(m,D){return ii(m,D[1].matches?D[0]:{})},{});Yf(t),f(g),t.destroy?s.destroy(t.destroy==="completely"):p?(l(!0),s.mount()):h!==t.direction&&s.refresh()}function d(p){matchMedia(Vf).matches&&(p?ii(t,n):Yf(t,gs(n)))}function f(p,h,g){ii(t,p),h&&ii(Object.getPrototypeOf(t),p),(g||!r.is(yn))&&s.emit(xt,t)}return{setup:u,destroy:l,reduce:d,set:f}}var qo="Arrow",jo=qo+"Left",Ko=qo+"Right",Dh=qo+"Up",mh=qo+"Down";var Uf="rtl",$o="ttb",Iu={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Dh,Ko],ArrowRight:[mh,jo]};function H_(s,e,t){function r(n,o,a){a=a||t.direction;var u=a===Uf&&!o?1:a===$o?0:-1;return Iu[n]&&Iu[n][u]||n.replace(/width|left|right/i,function(l,c){var _=Iu[l.toLowerCase()][u]||l;return c>0?_.charAt(0).toUpperCase()+_.slice(1):_})}function i(n){return n*(t.direction===Uf?1:-1)}return{resolve:r,orient:i}}var Br="role",Cn="tabindex",X_="disabled",nr="aria-",Fs=nr+"controls",vh=nr+"current",qf=nr+"selected",Ht=nr+"label",rl=nr+"labelledby",yh=nr+"hidden",il=nr+"orientation",Es=nr+"roledescription",jf=nr+"live",Kf=nr+"busy",$f=nr+"atomic",nl=[Br,Cn,X_,Fs,vh,Ht,rl,yh,il,Es],mr=Ts+"__",ui="is-",Bu=Ts,Zf=mr+"track",U_=mr+"list",Zo=mr+"slide",Eh=Zo+"--clone",q_=Zo+"__container",sl=mr+"arrows",Qo=mr+"arrow",Ch=Qo+"--prev",xh=Qo+"--next",Jo=mr+"pagination",bh=Jo+"__page",j_=mr+"progress",K_=j_+"__bar",ol=mr+"toggle",L0=ol+"__play",M0=ol+"__pause",$_=mr+"spinner",Z_=mr+"sr",Q_=ui+"initialized",Yi=ui+"active",Sh=ui+"prev",wh=ui+"next",Xu=ui+"visible",Uu=ui+"loading",Th=ui+"focus-in",Ah=ui+"overflow",J_=[Yi,Xu,Sh,wh,Uu,Th,Ah],eg={slide:Zo,clone:Eh,arrows:sl,arrow:Qo,prev:Ch,next:xh,pagination:Jo,page:bh,spinner:$_};function tg(s,e){if(th(s.closest))return s.closest(e);for(var t=s;t&&t.nodeType===1&&!_s(t,e);)t=t.parentElement;return t}var rg=5,Qf=200,Fh="touchstart mousedown",zu="touchmove mousemove",Vu="touchend touchcancel mouseup click";function ig(s,e,t){var r=xe(s),i=r.on,n=r.bind,o=s.root,a=t.i18n,u={},l=[],c=[],_=[],d,f,p;function h(){v(),C(),D()}function g(){i(ze,m),i(ze,h),i(xt,D),n(document,Fh+" keydown",function(E){p=E.type==="keydown"},{capture:!0}),n(o,"focusin",function(){Nr(o,Th,!!p)})}function m(E){var b=nl.concat("style");zr(l),Ir(o,c),Ir(d,_),Dr([d,f],b),Dr(o,E?b:["style",Es])}function D(){Ir(o,c),Ir(d,_),c=S(Bu),_=S(Zf),gr(o,c),gr(d,_),Q(o,Ht,t.label),Q(o,rl,t.labelledby)}function v(){d=x("."+Zf),f=ws(d,"."+U_),hs(d&&f,"A track/list element is missing."),Bo(l,ih(f,"."+Zo+":not(."+Eh+")")),Vi({arrows:sl,pagination:Jo,prev:Ch,next:xh,bar:K_,toggle:ol},function(E,b){u[b]=x("."+E)}),Ds(u,{root:o,track:d,list:f,slides:l})}function C(){var E=o.id||T_(Ts),b=t.role;o.id=E,d.id=d.id||E+"-track",f.id=f.id||E+"-list",!ir(o,Br)&&o.tagName!=="SECTION"&&b&&Q(o,Br,b),Q(o,Es,a.carousel),Q(f,Br,"presentation")}function x(E){var b=oh(o,E);return b&&tg(b,"."+Bu)===o?b:void 0}function S(E){return[E+"--"+t.type,E+"--"+t.direction,t.drag&&E+"--draggable",t.isNavigation&&E+"--nav",E===Bu&&Yi]}return Ds(u,{setup:h,mount:g,destroy:m})}var bn="slide",Tn="loop",Ps="fade";function ng(s,e,t,r){var i=xe(s),n=i.on,o=i.emit,a=i.bind,u=s.Components,l=s.root,c=s.options,_=c.isNavigation,d=c.updateOnMove,f=c.i18n,p=c.pagination,h=c.slideFocus,g=u.Direction.resolve,m=ir(r,"style"),D=ir(r,Ht),v=t>-1,C=ws(r,"."+q_),x;function S(){v||(r.id=l.id+"-slide"+Ju(e+1),Q(r,Br,p?"tabpanel":"group"),Q(r,Es,f.slide),Q(r,Ht,D||Hu(f.slideLabel,[e+1,s.length]))),E()}function E(){a(r,"click",ge(o,lh,N)),a(r,"keydown",ge(o,_h,N)),n([As,gh,wn],P),n(fh,A),d&&n(oi,T)}function b(){x=!0,i.destroy(),Ir(r,J_),Dr(r,nl),Q(r,"style",m),Q(r,Ht,D||"")}function A(){var w=s.splides.map(function(y){var L=y.splide.Components.Slides.getAt(e);return L?L.slide.id:""}).join(" ");Q(r,Ht,Hu(f.slideX,(v?t:e)+1)),Q(r,Fs,w),Q(r,Br,h?"button":""),h&&Dr(r,Es)}function T(){x||P()}function P(){if(!x){var w=s.index;F(),O(),Nr(r,Sh,e===w-1),Nr(r,wh,e===w+1)}}function F(){var w=B();w!==Gf(r,Yi)&&(Nr(r,Yi,w),Q(r,vh,_&&w||""),o(w?A_:F_,N))}function O(){var w=R(),y=!w&&(!B()||v);if(s.state.is([Sn,Cs])||Q(r,yh,y||""),Q(Zu(r,c.focusableNodes||""),Cn,y?-1:""),h&&Q(r,Cn,y?-1:0),w!==Gf(r,Xu)&&(Nr(r,Xu,w),o(w?P_:k_,N)),!w&&document.activeElement===r){var L=u.Slides.getAt(s.index);L&&nh(L.slide)}}function V(w,y,L){rr(L&&C||r,w,y)}function B(){var w=s.index;return w===e||c.cloneStatus&&w===t}function R(){if(s.is(Ps))return B();var w=Gt(u.Elements.track),y=Gt(r),L=g("left",!0),H=g("right",!0);return Go(w[L])<=vs(y[L])&&Go(y[H])<=vs(w[H])}function M(w,y){var L=Ct(w-e);return!v&&(c.rewind||s.is(Tn))&&(L=si(L,s.length-L)),L<=y}var N={index:e,slideIndex:t,slide:r,container:C,isClone:v,mount:S,destroy:b,update:P,style:V,isWithin:M};return N}function sg(s,e,t){var r=xe(s),i=r.on,n=r.emit,o=r.bind,a=e.Elements,u=a.slides,l=a.list,c=[];function _(){d(),i(ze,f),i(ze,d)}function d(){u.forEach(function(P,F){h(P,F,-1)})}function f(){x(function(P){P.destroy()}),zr(c)}function p(){x(function(P){P.update()})}function h(P,F,O){var V=ng(s,F,O,P);V.mount(),c.push(V),c.sort(function(B,R){return B.index-R.index})}function g(P){return P?S(function(F){return!F.isClone}):c}function m(P){var F=e.Controller,O=F.toIndex(P),V=F.hasFocus()?1:t.perPage;return S(function(B){return zo(B.index,O,O+V-1)})}function D(P){return S(P)[0]}function v(P,F){Xt(P,function(O){if(ni(O)&&(O=sh(O)),rh(O)){var V=u[F];V?$u(O,V):Ss(l,O),gr(O,t.classes.slide),b(O,ge(n,ys))}}),n(ze)}function C(P){Wi(S(P).map(function(F){return F.slide})),n(ze)}function x(P,F){g(F).forEach(P)}function S(P){return c.filter(th(P)?P:function(F){return ni(P)?_s(F.slide,P):Ku(bs(P),F.index)})}function E(P,F,O){x(function(V){V.style(P,F,O)})}function b(P,F){var O=Zu(P,"img"),V=O.length;V?O.forEach(function(B){o(B,"load error",function(){--V||F()})}):F()}function A(P){return P?u.length:c.length}function T(){return c.length>t.perPage}return{mount:_,destroy:f,update:p,register:h,get:g,getIn:m,getAt:D,add:v,remove:C,forEach:x,filter:S,style:E,getLength:A,isEnough:T}}function og(s,e,t){var r=xe(s),i=r.on,n=r.bind,o=r.emit,a=e.Slides,u=e.Direction.resolve,l=e.Elements,c=l.root,_=l.track,d=l.list,f=a.getAt,p=a.style,h,g,m;function D(){v(),n(window,"resize load",Y_(ge(o,ys))),i([xt,ze],v),i(ys,C)}function v(){h=t.direction===$o,rr(c,"maxWidth",zi(t.width)),rr(_,u("paddingLeft"),x(!1)),rr(_,u("paddingRight"),x(!0)),C(!0)}function C(N){var w=Gt(c);(N||g.width!==w.width||g.height!==w.height)&&(rr(_,"height",S()),p(u("marginRight"),zi(t.gap)),p("width",b()),p("height",A(),!0),g=w,o(el),m!==(m=M())&&(Nr(c,Ah,m),o(R_,m)))}function x(N){var w=t.padding,y=u(N?"right":"left");return w&&zi(w[y]||(ps(w)?0:w))||"0px"}function S(){var N="";return h&&(N=E(),hs(N,"height or heightRatio is missing."),N="calc("+N+" - "+x(!1)+" - "+x(!0)+")"),N}function E(){return zi(t.height||Gt(d).width*t.heightRatio)}function b(){return t.autoWidth?null:zi(t.fixedWidth)||(h?"":T())}function A(){return zi(t.fixedHeight)||(h?t.autoHeight?null:T():E())}function T(){var N=zi(t.gap);return"calc((100%"+(N&&" + "+N)+")/"+(t.perPage||1)+(N&&" - "+N)+")"}function P(){return Gt(d)[u("width")]}function F(N,w){var y=f(N||0);return y?Gt(y.slide)[u("width")]+(w?0:B()):0}function O(N,w){var y=f(N);if(y){var L=Gt(y.slide)[u("right")],H=Gt(d)[u("left")];return Ct(L-H)+(w?0:B())}return 0}function V(N){return O(s.length-1)-O(0)+F(0,N)}function B(){var N=f(0);return N&&parseFloat(rr(N.slide,u("marginRight")))||0}function R(N){return parseFloat(rr(_,u("padding"+(N?"Right":"Left"))))||0}function M(){return s.is(Ps)||V(!0)>P()}return{mount:D,resize:C,listSize:P,slideSize:F,sliderSize:V,totalSize:O,getPadding:R,isOverflow:M}}var ag=2;function ug(s,e,t){var r=xe(s),i=r.on,n=e.Elements,o=e.Slides,a=e.Direction.resolve,u=[],l;function c(){i(ze,_),i([xt,ys],f),(l=g())&&(p(l),e.Layout.resize(!0))}function _(){d(),c()}function d(){Wi(u),zr(u),r.destroy()}function f(){var m=g();l!==m&&(l<m||!m)&&r.emit(ze)}function p(m){var D=o.get().slice(),v=D.length;if(v){for(;D.length<m;)Bo(D,D);Bo(D.slice(-m),D.slice(0,m)).forEach(function(C,x){var S=x<m,E=h(C.slide,x);S?$u(E,D[0].slide):Ss(n.list,E),Bo(u,E),o.register(E,x-m+(S?0:v),C.index)})}}function h(m,D){var v=m.cloneNode(!0);return gr(v,t.classes.clone),v.id=s.root.id+"-clone"+Ju(D+1),v}function g(){var m=t.clones;if(!s.is(Tn))m=0;else if(xs(m)){var D=t[a("fixedWidth")]&&e.Layout.slideSize(0),v=D&&vs(Gt(n.track)[a("width")]/D);m=v||t[a("autoWidth")]&&s.length||t.perPage*ag}return m}return{mount:c,destroy:d}}function lg(s,e,t){var r=xe(s),i=r.on,n=r.emit,o=s.state.set,a=e.Layout,u=a.slideSize,l=a.getPadding,c=a.totalSize,_=a.listSize,d=a.sliderSize,f=e.Direction,p=f.resolve,h=f.orient,g=e.Elements,m=g.list,D=g.track,v;function C(){v=e.Transition,i([Gi,el,xt,ze],x)}function x(){e.Controller.isBusy()||(e.Scroll.cancel(),E(s.index),e.Slides.update())}function S(y,L,H,Z){y!==L&&N(y>H)&&(P(),b(T(V(),y>H),!0)),o(Sn),n(oi,L,H,y),v.start(L,function(){o(xn),n(As,L,H,y),Z&&Z()})}function E(y){b(O(y,!0))}function b(y,L){if(!s.is(Ps)){var H=L?y:A(y);rr(m,"transform","translate"+p("X")+"("+H+"px)"),y!==H&&n(gh)}}function A(y){if(s.is(Tn)){var L=F(y),H=L>e.Controller.getEnd(),Z=L<0;(Z||H)&&(y=T(y,H))}return y}function T(y,L){var H=y-M(L),Z=d();return y-=h(Z*(vs(Ct(H)/Z)||1))*(L?1:-1),y}function P(){b(V(),!0),v.cancel()}function F(y){for(var L=e.Slides.get(),H=0,Z=1/0,X=0;X<L.length;X++){var U=L[X].index,I=Ct(O(U,!0)-y);if(I<=Z)Z=I,H=U;else break}return H}function O(y,L){var H=h(c(y-1)-R(y));return L?B(H):H}function V(){var y=p("left");return Gt(m)[y]-Gt(D)[y]+h(l(!1))}function B(y){return t.trimSpace&&s.is(bn)&&(y=mn(y,0,h(d(!0)-_()))),y}function R(y){var L=t.focus;return L==="center"?(_()-u(y,!0))/2:+L*u(y)||0}function M(y){return O(y?e.Controller.getEnd():0,!!t.trimSpace)}function N(y){var L=h(T(V(),y));return y?L>=0:L<=m[p("scrollWidth")]-Gt(D)[p("width")]}function w(y,L){L=xs(L)?V():L;var H=y!==!0&&h(L)<h(M(!1)),Z=y!==!1&&h(L)>h(M(!0));return H||Z}return{mount:C,move:S,jump:E,translate:b,shift:T,cancel:P,toIndex:F,toPosition:O,getPosition:V,getLimit:M,exceededLimit:w,reposition:x}}function cg(s,e,t){var r=xe(s),i=r.on,n=r.emit,o=e.Move,a=o.getPosition,u=o.getLimit,l=o.toPosition,c=e.Slides,_=c.isEnough,d=c.getLength,f=t.omitEnd,p=s.is(Tn),h=s.is(bn),g=ge(V,!1),m=ge(V,!0),D=t.start||0,v,C=D,x,S,E;function b(){A(),i([xt,ze,Ho],A),i(el,T)}function A(){x=d(!0),S=t.perMove,E=t.perPage,v=N();var I=mn(D,0,f?v:x-1);I!==D&&(D=I,o.reposition())}function T(){v!==N()&&n(Ho)}function P(I,G,fe){if(!U()){var ee=O(I),te=M(ee);te>-1&&(G||te!==D)&&(H(te),o.move(ee,te,C,fe))}}function F(I,G,fe,ee){e.Scroll.scroll(I,G,fe,function(){var te=M(o.toIndex(a()));H(f?si(te,v):te),ee&&ee()})}function O(I){var G=D;if(ni(I)){var fe=I.match(/([+\-<>])(\d+)?/)||[],ee=fe[1],te=fe[2];ee==="+"||ee==="-"?G=B(D+ +(""+ee+(+te||1)),D):ee===">"?G=te?w(+te):g(!0):ee==="<"&&(G=m(!0))}else G=p?I:mn(I,0,v);return G}function V(I,G){var fe=S||(X()?1:E),ee=B(D+fe*(I?-1:1),D,!(S||X()));return ee===-1&&h&&!ah(a(),u(!I),1)?I?0:v:G?ee:M(ee)}function B(I,G,fe){if(_()||X()){var ee=R(I);ee!==I&&(G=I,I=ee,fe=!1),I<0||I>v?!S&&(zo(0,I,G,!0)||zo(v,G,I,!0))?I=w(y(I)):p?I=fe?I<0?-(x%E||E):x:I:t.rewind?I=I<0?v:0:I=-1:fe&&I!==G&&(I=w(y(G)+(I<G?-1:1)))}else I=-1;return I}function R(I){if(h&&t.trimSpace==="move"&&I!==D)for(var G=a();G===l(I,!0)&&zo(I,0,s.length-1,!t.rewind);)I<D?--I:++I;return I}function M(I){return p?(I+x)%x||0:I}function N(){for(var I=x-(X()||p&&S?1:E);f&&I-- >0;)if(l(x-1,!0)!==l(I,!0)){I++;break}return mn(I,0,x-1)}function w(I){return mn(X()?I:E*I,0,v)}function y(I){return X()?si(I,v):Go((I>=v?x-1:I)/E)}function L(I){var G=o.toIndex(I);return h?mn(G,0,v):G}function H(I){I!==D&&(C=D,D=I)}function Z(I){return I?C:D}function X(){return!xs(t.focus)||t.isNavigation}function U(){return s.state.is([Sn,Cs])&&!!t.waitForTransition}return{mount:b,go:P,scroll:F,getNext:g,getPrev:m,getAdjacent:V,getEnd:N,setIndex:H,getIndex:Z,toIndex:w,toPage:y,toDest:L,hasFocus:X,isBusy:U}}var fg="http://www.w3.org/2000/svg",hg="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",No=40;function dg(s,e,t){var r=xe(s),i=r.on,n=r.bind,o=r.emit,a=t.classes,u=t.i18n,l=e.Elements,c=e.Controller,_=l.arrows,d=l.track,f=_,p=l.prev,h=l.next,g,m,D={};function v(){x(),i(xt,C)}function C(){S(),v()}function x(){var F=t.arrows;F&&!(p&&h)&&A(),p&&h&&(Ds(D,{prev:p,next:h}),ms(f,F?"":"none"),gr(f,m=sl+"--"+t.direction),F&&(E(),P(),Q([p,h],Fs,d.id),o(N_,p,h)))}function S(){r.destroy(),Ir(f,m),g?(Wi(_?[p,h]:f),p=h=null):Dr([p,h],nl)}function E(){i([Gi,As,ze,wn,Ho],P),n(h,"click",ge(b,">")),n(p,"click",ge(b,"<"))}function b(F){c.go(F,!0)}function A(){f=_||En("div",a.arrows),p=T(!0),h=T(!1),g=!0,Ss(f,[p,h]),!_&&$u(f,d)}function T(F){var O='<button class="'+a.arrow+" "+(F?a.prev:a.next)+'" type="button"><svg xmlns="'+fg+'" viewBox="0 0 '+No+" "+No+'" width="'+No+'" height="'+No+'" focusable="false"><path d="'+(t.arrowPath||hg)+'" />';return sh(O)}function P(){if(p&&h){var F=s.index,O=c.getPrev(),V=c.getNext(),B=O>-1&&F<O?u.last:u.prev,R=V>-1&&F>V?u.first:u.next;p.disabled=O<0,h.disabled=V<0,Q(p,Ht,B),Q(h,Ht,R),o(I_,p,h,O,V)}}return{arrows:D,mount:v,destroy:S,update:P}}var pg=Qu+"-interval";function _g(s,e,t){var r=xe(s),i=r.on,n=r.bind,o=r.emit,a=Uo(t.interval,s.go.bind(s,">"),E),u=a.isPaused,l=e.Elements,c=e.Elements,_=c.root,d=c.toggle,f=t.autoplay,p,h,g=f==="pause";function m(){f&&(D(),d&&Q(d,Fs,l.track.id),g||v(),S())}function D(){t.pauseOnHover&&n(_,"mouseenter mouseleave",function(A){p=A.type==="mouseenter",x()}),t.pauseOnFocus&&n(_,"focusin focusout",function(A){h=A.type==="focusin",x()}),d&&n(d,"click",function(){g?v():C(!0)}),i([oi,tl,ze],a.rewind),i(oi,b)}function v(){u()&&e.Slides.isEnough()&&(a.start(!t.resetProgress),h=p=g=!1,S(),o(hh))}function C(A){A===void 0&&(A=!0),g=!!A,S(),u()||(a.pause(),o(dh))}function x(){g||(p||h?C(!1):v())}function S(){d&&(Nr(d,Yi,!g),Q(d,Ht,t.i18n[g?"play":"pause"]))}function E(A){var T=l.bar;T&&rr(T,"width",A*100+"%"),o(V_,A)}function b(A){var T=e.Slides.getAt(A);a.set(T&&+ir(T.slide,pg)||t.interval)}return{mount:m,destroy:a.cancel,play:v,pause:C,isPaused:u}}function gg(s,e,t){var r=xe(s),i=r.on;function n(){t.cover&&(i(ph,ge(a,!0)),i([Gi,xt,ze],ge(o,!0)))}function o(u){e.Slides.forEach(function(l){var c=ws(l.container||l.slide,"img");c&&c.src&&a(u,c,l)})}function a(u,l,c){c.style("background",u?'center/cover no-repeat url("'+l.src+'")':"",!0),ms(l,u?"none":"")}return{mount:n,destroy:ge(o,!1)}}var Dg=10,mg=600,vg=.6,yg=1.5,Eg=800;function Cg(s,e,t){var r=xe(s),i=r.on,n=r.emit,o=s.state.set,a=e.Move,u=a.getPosition,l=a.getLimit,c=a.exceededLimit,_=a.translate,d=s.is(bn),f,p,h=1;function g(){i(oi,C),i([xt,ze],x)}function m(E,b,A,T,P){var F=u();if(C(),A&&(!d||!c())){var O=e.Layout.sliderSize(),V=Gu(E)*O*Go(Ct(E)/O)||0;E=a.toPosition(e.Controller.toDest(E%O))+V}var B=ah(F,E,1);h=1,b=B?0:b||Yo(Ct(E-F)/yg,Eg),p=T,f=Uo(b,D,ge(v,F,E,P),1),o(Cs),n(tl),f.start()}function D(){o(xn),p&&p(),n(wn)}function v(E,b,A,T){var P=u(),F=E+(b-E)*S(T),O=(F-P)*h;_(P+O),d&&!A&&c()&&(h*=vg,Ct(O)<Dg&&m(l(c(!0)),mg,!1,p,!0))}function C(){f&&f.cancel()}function x(){f&&!f.isPaused()&&(C(),D())}function S(E){var b=t.easingFunc;return b?b(E):1-Math.pow(1-E,4)}return{mount:g,destroy:C,scroll:m,cancel:x}}var vn={passive:!1,capture:!0};function xg(s,e,t){var r=xe(s),i=r.on,n=r.emit,o=r.bind,a=r.unbind,u=s.state,l=e.Move,c=e.Scroll,_=e.Controller,d=e.Elements.track,f=e.Media.reduce,p=e.Direction,h=p.resolve,g=p.orient,m=l.getPosition,D=l.exceededLimit,v,C,x,S,E,b=!1,A,T,P;function F(){o(d,zu,Wu,vn),o(d,Vu,Wu,vn),o(d,Fh,V,vn),o(d,"click",M,{capture:!0}),o(d,"dragstart",Rr),i([Gi,xt],O)}function O(){var z=t.drag;St(!z),S=z==="free"}function V(z){if(A=!1,!T){var K=te(z);ee(z.target)&&(K||!z.button)&&(_.isBusy()?Rr(z,!0):(P=K?d:window,E=u.is([Sn,Cs]),x=null,o(P,zu,B,vn),o(P,Vu,R,vn),l.cancel(),c.cancel(),N(z)))}}function B(z){if(u.is(Io)||(u.set(Io),n(O_)),z.cancelable)if(E){l.translate(v+fe(X(z)));var K=U(z)>Qf,be=b!==(b=D());(K||be)&&N(z),A=!0,n(L_),Rr(z)}else L(z)&&(E=y(z),Rr(z))}function R(z){u.is(Io)&&(u.set(xn),n(M_)),E&&(w(z),Rr(z)),a(P,zu,B),a(P,Vu,R),E=!1}function M(z){!T&&A&&Rr(z,!0)}function N(z){x=C,C=z,v=m()}function w(z){var K=H(z),be=Z(K),Ne=t.rewind&&t.rewindByDrag;f(!1),S?_.scroll(be,0,t.snap):s.is(Ps)?_.go(g(Gu(K))<0?Ne?"<":"-":Ne?">":"+"):s.is(bn)&&b&&Ne?_.go(D(!0)?">":"<"):_.go(_.toDest(be),!0),f(!0)}function y(z){var K=t.dragMinThreshold,be=ps(K),Ne=be&&K.mouse||0,k=(be?K.touch:+K)||10;return Ct(X(z))>(te(z)?k:Ne)}function L(z){return Ct(X(z))>Ct(X(z,!0))}function H(z){if(s.is(Tn)||!b){var K=U(z);if(K&&K<Qf)return X(z)/K}return 0}function Z(z){return m()+Gu(z)*si(Ct(z)*(t.flickPower||600),S?1/0:e.Layout.listSize()*(t.flickMaxPages||1))}function X(z,K){return G(z,K)-G(I(z),K)}function U(z){return Yu(z)-Yu(I(z))}function I(z){return C===z&&x||C}function G(z,K){return(te(z)?z.changedTouches[0]:z)["page"+h(K?"Y":"X")]}function fe(z){return z/(b&&s.is(bn)?rg:1)}function ee(z){var K=t.noDrag;return!_s(z,"."+bh+", ."+Qo)&&(!K||!_s(z,K))}function te(z){return typeof TouchEvent!="undefined"&&z instanceof TouchEvent}function $e(){return E}function St(z){T=z}return{mount:F,disable:St,isDragging:$e}}var bg={Spacebar:" ",Right:Ko,Left:jo,Up:Dh,Down:mh};function al(s){return s=ni(s)?s:s.key,bg[s]||s}var Jf="keydown";function Sg(s,e,t){var r=xe(s),i=r.on,n=r.bind,o=r.unbind,a=s.root,u=e.Direction.resolve,l,c;function _(){d(),i(xt,f),i(xt,d),i(oi,h)}function d(){var m=t.keyboard;m&&(l=m==="global"?window:a,n(l,Jf,g))}function f(){o(l,Jf)}function p(m){c=m}function h(){var m=c;c=!0,eh(function(){c=m})}function g(m){if(!c){var D=al(m);D===u(jo)?s.go("<"):D===u(Ko)&&s.go(">")}}return{mount:_,destroy:f,disable:p}}var ds=Qu+"-lazy",Vo=ds+"-srcset",wg="["+ds+"], ["+Vo+"]";function Tg(s,e,t){var r=xe(s),i=r.on,n=r.off,o=r.bind,a=r.emit,u=t.lazyLoad==="sequential",l=[As,wn],c=[];function _(){t.lazyLoad&&(d(),i(ze,d))}function d(){zr(c),f(),u?m():(n(l),i(l,p),p())}function f(){e.Slides.forEach(function(D){Zu(D.slide,wg).forEach(function(v){var C=ir(v,ds),x=ir(v,Vo);if(C!==v.src||x!==v.srcset){var S=t.classes.spinner,E=v.parentElement,b=ws(E,"."+S)||En("span",S,E);c.push([v,D,b]),v.src||ms(v,"none")}})})}function p(){c=c.filter(function(D){var v=t.perPage*((t.preloadPages||1)+1)-1;return D[1].isWithin(s.index,v)?h(D):!0}),c.length||n(l)}function h(D){var v=D[0];gr(D[1].slide,Uu),o(v,"load error",ge(g,D)),Q(v,"src",ir(v,ds)),Q(v,"srcset",ir(v,Vo)),Dr(v,ds),Dr(v,Vo)}function g(D,v){var C=D[0],x=D[1];Ir(x.slide,Uu),v.type!=="error"&&(Wi(D[2]),ms(C,""),a(ph,C,x),a(ys)),u&&m()}function m(){c.length&&h(c.shift())}return{mount:_,destroy:ge(zr,c),check:p}}function Ag(s,e,t){var r=xe(s),i=r.on,n=r.emit,o=r.bind,a=e.Slides,u=e.Elements,l=e.Controller,c=l.hasFocus,_=l.getIndex,d=l.go,f=e.Direction.resolve,p=u.pagination,h=[],g,m;function D(){v(),i([xt,ze,Ho],D);var T=t.pagination;p&&ms(p,T?"":"none"),T&&(i([oi,tl,wn],A),C(),A(),n(B_,{list:g,items:h},b(s.index)))}function v(){g&&(Wi(p?ai(g.children):g),Ir(g,m),zr(h),g=null),r.destroy()}function C(){var T=s.length,P=t.classes,F=t.i18n,O=t.perPage,V=c()?l.getEnd()+1:vs(T/O);g=p||En("ul",P.pagination,u.track.parentElement),gr(g,m=Jo+"--"+E()),Q(g,Br,"tablist"),Q(g,Ht,F.select),Q(g,il,E()===$o?"vertical":"");for(var B=0;B<V;B++){var R=En("li",null,g),M=En("button",{class:P.page,type:"button"},R),N=a.getIn(B).map(function(y){return y.slide.id}),w=!c()&&O>1?F.pageX:F.slideX;o(M,"click",ge(x,B)),t.paginationKeyboard&&o(M,"keydown",ge(S,B)),Q(R,Br,"presentation"),Q(M,Br,"tab"),Q(M,Fs,N.join(" ")),Q(M,Ht,Hu(w,B+1)),Q(M,Cn,-1),h.push({li:R,button:M,page:B})}}function x(T){d(">"+T,!0)}function S(T,P){var F=h.length,O=al(P),V=E(),B=-1;O===f(Ko,!1,V)?B=++T%F:O===f(jo,!1,V)?B=(--T+F)%F:O==="Home"?B=0:O==="End"&&(B=F-1);var R=h[B];R&&(nh(R.button),d(">"+B),Rr(P,!0))}function E(){return t.paginationDirection||t.direction}function b(T){return h[l.toPage(T)]}function A(){var T=b(_(!0)),P=b(_());if(T){var F=T.button;Ir(F,Yi),Dr(F,qf),Q(F,Cn,-1)}if(P){var O=P.button;gr(O,Yi),Q(O,qf,!0),Q(O,Cn,"")}n(z_,{list:g,items:h},T,P)}return{items:h,mount:D,destroy:v,getAt:b,update:A}}var Fg=[" ","Enter"];function Pg(s,e,t){var r=t.isNavigation,i=t.slideFocus,n=[];function o(){s.splides.forEach(function(p){p.isParent||(l(s,p.splide),l(p.splide,s))}),r&&c()}function a(){n.forEach(function(p){p.destroy()}),zr(n)}function u(){a(),o()}function l(p,h){var g=xe(p);g.on(oi,function(m,D,v){h.go(h.is(Tn)?v:m)}),n.push(g)}function c(){var p=xe(s),h=p.on;h(lh,d),h(_h,f),h([Gi,xt],_),n.push(p),p.emit(fh,s.splides)}function _(){Q(e.Elements.list,il,t.direction===$o?"vertical":"")}function d(p){s.go(p.index)}function f(p,h){Ku(Fg,al(h))&&(d(p),Rr(h))}return{setup:ge(e.Media.set,{slideFocus:xs(i)?r:i},!0),mount:o,destroy:a,remount:u}}function kg(s,e,t){var r=xe(s),i=r.bind,n=0;function o(){t.wheel&&i(e.Elements.track,"wheel",a,vn)}function a(l){if(l.cancelable){var c=l.deltaY,_=c<0,d=Yu(l),f=t.wheelMinThreshold||0,p=t.wheelSleep||0;Ct(c)>f&&d-n>p&&(s.go(_?"<":">"),n=d),u(_)&&Rr(l)}}function u(l){return!t.releaseWheel||s.state.is(Sn)||e.Controller.getAdjacent(l)!==-1}return{mount:o}}var Og=90;function Lg(s,e,t){var r=xe(s),i=r.on,n=e.Elements.track,o=t.live&&!t.isNavigation,a=En("span",Z_),u=Uo(Og,ge(c,!1));function l(){o&&(d(!e.Autoplay.isPaused()),Q(n,$f,!0),a.textContent="\u2026",i(hh,ge(d,!0)),i(dh,ge(d,!1)),i([As,wn],ge(c,!0)))}function c(f){Q(n,Kf,f),f?(Ss(n,a),u.start()):(Wi(a),u.cancel())}function _(){Dr(n,[jf,$f,Kf]),Wi(a)}function d(f){o&&Q(n,jf,f?"off":"polite")}return{mount:l,disable:d,destroy:_}}var Mg=Object.freeze({__proto__:null,Media:G_,Direction:H_,Elements:ig,Slides:sg,Layout:og,Clones:ug,Move:lg,Controller:cg,Arrows:dg,Autoplay:_g,Cover:gg,Scroll:Cg,Drag:xg,Keyboard:Sg,LazyLoad:Tg,Pagination:Ag,Sync:Pg,Wheel:kg,Live:Lg}),Rg={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},Ng={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:eg,i18n:Rg,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Ig(s,e,t){var r=e.Slides;function i(){xe(s).on([Gi,ze],n)}function n(){r.forEach(function(a){a.style("transform","translateX(-"+100*a.index+"%)")})}function o(a,u){r.style("transition","opacity "+t.speed+"ms "+t.easing),eh(u)}return{mount:i,start:o,cancel:Wu}}function Bg(s,e,t){var r=e.Move,i=e.Controller,n=e.Scroll,o=e.Elements.list,a=ge(rr,o,"transition"),u;function l(){xe(s).bind(o,"transitionend",function(f){f.target===o&&u&&(_(),u())})}function c(f,p){var h=r.toPosition(f,!0),g=r.getPosition(),m=d(f);Ct(h-g)>=1&&m>=1?t.useScroll?n.scroll(h,m,!1,p):(a("transform "+m+"ms "+t.easing),r.translate(h,!0),u=p):(r.jump(f),p())}function _(){a(""),n.cancel()}function d(f){var p=t.rewindSpeed;if(s.is(bn)&&p){var h=i.getIndex(!0),g=i.getEnd();if(h===0&&f>=g||h>=g&&f===0)return p}return t.speed}return{mount:l,start:c,cancel:_}}var zg=function(){function s(t,r){this.event=xe(),this.Components={},this.state=W_(yn),this.splides=[],this._o={},this._E={};var i=ni(t)?oh(document,t):t;hs(i,i+" is invalid."),this.root=i,r=ii({label:ir(i,Ht)||"",labelledby:ir(i,rl)||""},Ng,s.defaults,r||{});try{ii(r,JSON.parse(ir(i,Qu)))}catch{hs(!1,"Invalid JSON")}this._o=Object.create(ii({},r))}var e=s.prototype;return e.mount=function(r,i){var n=this,o=this.state,a=this.Components;hs(o.is([yn,Wo]),"Already mounted!"),o.set(yn),this._C=a,this._T=i||this._T||(this.is(Ps)?Ig:Bg),this._E=r||this._E;var u=Ds({},Mg,this._E,{Transition:this._T});return Vi(u,function(l,c){var _=l(n,a,n._o);a[c]=_,_.setup&&_.setup()}),Vi(a,function(l){l.mount&&l.mount()}),this.emit(Gi),gr(this.root,Q_),o.set(xn),this.emit(Xf),this},e.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(xn)&&(this._C.Sync.remount(),r.Components.Sync.remount()),this},e.go=function(r){return this._C.Controller.go(r),this},e.on=function(r,i){return this.event.on(r,i),this},e.off=function(r){return this.event.off(r),this},e.emit=function(r){var i;return(i=this.event).emit.apply(i,[r].concat(ai(arguments,1))),this},e.add=function(r,i){return this._C.Slides.add(r,i),this},e.remove=function(r){return this._C.Slides.remove(r),this},e.is=function(r){return this._o.type===r},e.refresh=function(){return this.emit(ze),this},e.destroy=function(r){r===void 0&&(r=!0);var i=this.event,n=this.state;return n.is(yn)?xe(this).on(Xf,this.destroy.bind(this,r)):(Vi(this._C,function(o){o.destroy&&o.destroy(r)},!0),i.emit(ch),i.destroy(),r&&zr(this.splides),n.set(Wo)),this},b_(s,[{key:"options",get:function(){return this._o},set:function(r){this._C.Media.set(r,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),s}(),An=zg;An.defaults={};An.STATES=w_;var vr,cl,Vg,ia,Nh,Ih,Ph,ll,Bh,zh=function(){return typeof window!="undefined"},Vh=function(){return vr||zh()&&(vr=window.gsap)&&vr.registerPlugin&&vr},Wg=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,ul={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},Hi=function(e){return Math.round(e*1e4)/1e4},Vr=function(e){return parseFloat(e)||0},kh=function(e,t){var r=Vr(e);return~e.indexOf("%")?r/100*t:r},ea=function(e,t){return Vr(e.getAttribute(t))},ta=Math.sqrt,Oh=function(e,t,r,i,n,o){return ta(Math.pow((Vr(r)-Vr(e))*n,2)+Math.pow((Vr(i)-Vr(t))*o,2))},Lh=function(e){return console.warn(e)},Wh=function(e){return e.getAttribute("vector-effect")==="non-scaling-stroke"},Yg=1,Gg=function(e,t,r){var i=e.indexOf(" "),n,o;return i<0?(n=r!==void 0?r+"":e,o=e):(n=e.substr(0,i),o=e.substr(i+1)),n=kh(n,t),o=kh(o,t),n>o?[o,n]:[n,o]},ra=function(e){if(e=cl(e)[0],!e)return 0;var t=e.tagName.toLowerCase(),r=e.style,i=1,n=1,o,a,u,l,c,_,d;Wh(e)&&(n=e.getScreenCTM(),i=ta(n.a*n.a+n.b*n.b),n=ta(n.d*n.d+n.c*n.c));try{a=e.getBBox()}catch{Lh("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var f=a||{x:0,y:0,width:0,height:0},p=f.x,h=f.y,g=f.width,m=f.height;if((!a||!g&&!m)&&ul[t]&&(g=ea(e,ul[t][0]),m=ea(e,ul[t][1]),t!=="rect"&&t!=="line"&&(g*=2,m*=2),t==="line"&&(p=ea(e,"x1"),h=ea(e,"y1"),g=Math.abs(g-p),m=Math.abs(m-h))),t==="path")l=r.strokeDasharray,r.strokeDasharray="none",o=e.getTotalLength()||0,Hi(i)!==Hi(n)&&!Ph&&(Ph=1)&&Lh("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),o*=(i+n)/2,r.strokeDasharray=l;else if(t==="rect")o=g*2*i+m*2*n;else if(t==="line")o=Oh(p,h,p+g,h+m,i,n);else if(t==="polyline"||t==="polygon")for(u=e.getAttribute("points").match(Wg)||[],t==="polygon"&&u.push(u[0],u[1]),o=0,c=2;c<u.length;c+=2)o+=Oh(u[c-2],u[c-1],u[c],u[c+1],i,n)||0;else(t==="circle"||t==="ellipse")&&(_=g/2*i,d=m/2*n,o=Math.PI*(3*(_+d)-ta((3*_+d)*(_+3*d))));return o||0},Mh=function(e,t){if(e=cl(e)[0],!e)return[0,0];t||(t=ra(e)+1);var r=ia.getComputedStyle(e),i=r.strokeDasharray||"",n=Vr(r.strokeDashoffset),o=i.indexOf(",");return o<0&&(o=i.indexOf(" ")),i=o<0?t:Vr(i.substr(0,o)),i>t&&(i=t),[-n||0,i-n||0]},Rh=function(){zh()&&(Vg=document,ia=window,Ih=vr=Vh(),cl=vr.utils.toArray,ll=vr.core.getStyleSaver,Bh=vr.core.reverting||function(){},Nh=((ia.navigator||{}).userAgent||"").indexOf("Edge")!==-1)},fl={version:"3.12.2",name:"drawSVG",register:function(e){vr=e,Rh()},init:function(e,t,r,i,n){if(!e.getBBox)return!1;Ih||Rh();var o=ra(e),a,u,l;return this.styles=ll&&ll(e,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=r,this._style=e.style,this._target=e,t+""=="true"?t="0 100%":t?(t+"").indexOf(" ")===-1&&(t="0 "+t):t="0 0",a=Mh(e,o),u=Gg(t,o,a[0]),this._length=Hi(o),this._dash=Hi(a[1]-a[0]),this._offset=Hi(-a[0]),this._dashPT=this.add(this,"_dash",this._dash,Hi(u[1]-u[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,Hi(-u[0]),0,0,0,0,0,1),Nh&&(l=ia.getComputedStyle(e),l.strokeLinecap!==l.strokeLinejoin&&(u=Vr(l.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",u,u+.01))),this._live=Wh(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),Yg},render:function(e,t){if(t.tween._time||!Bh()){var r=t._pt,i=t._style,n,o,a,u;if(r){for(t._live&&(n=ra(t._target),n!==t._length&&(o=n/t._length,t._length=n,t._offsetPT&&(t._offsetPT.s*=o,t._offsetPT.c*=o),t._dashPT?(t._dashPT.s*=o,t._dashPT.c*=o):t._dash*=o));r;)r.r(e,r.d),r=r._next;a=t._dash||e&&e!==1&&1e-4||0,n=t._length-a+.1,u=t._offset,a&&u&&a+Math.abs(u%t._length)>t._length-.2&&(u+=u<0?.1:-.1)&&(n+=.1),i.strokeDashoffset=a?u:u+.001,i.strokeDasharray=n<.2?"none":a?a+"px,"+(t._nowrap?999999:n)+"px":"0px, 999999px"}}else t.styles.revert()},getLength:ra,getPosition:Mh};Vh()&&vr.registerPlugin(fl);oe.registerPlugin(fl,J,ri,Fi,on);var Xi=new Vs({duration:1.2,easing:s=>Math.min(1,1.001-Math.pow(2,-10*s))});function Hg(){function s(e){Xi.raf(e),requestAnimationFrame(s)}requestAnimationFrame(s)}function Xg(){(0,Hh.default)("img, video:not(#fullReel)",{loaded:function(e){}}).observe()}function Ug(){Fi.create("loader","0.83, 0, 0.17, 1"),Fi.create("loader2","0.77, 0, 0.175, 1")}function qg(){window.addEventListener("pageshow",function(s){s.persisted&&window.location.reload()})}var Fn=oe.timeline({});Fn.add(function(){history.scrollRestoration="manual",oe.to(window,{duration:.05,scrollTo:0}),Xi.scrollTo(0)});Fn.add(function(){Xi.stop()},">");Fn.to(".loader_ract",{delay:.2,duration:.8,width:0,ease:"loader2"},">");Fn.add(function(){Xi.start()},">");Fn.to(".loader_wrapper",{display:"none",duration:.1},">");function jg(){document.querySelectorAll('a:not([href^="#"]):not([href^="javascript:"]):not([href=""]):not([href^="mailto:"]):not([href^="tel:"])').forEach(e=>{e.getAttribute("target")!=="_blank"&&e.addEventListener("click",t=>{t.preventDefault();let r=oe.timeline({onComplete:()=>{window.location.href=e.href}});r.to(".unloader_wrapper",{display:"flex",duration:.05}),r.from(".unloader_ract",{duration:.4,width:"0%",ease:"loader2"}),r.play()})})}function Kg(){window.addEventListener("resize",function(){setTimeout(function(){oe.set(".loader_wrapper",{display:"none"})},50)})}function $g(){oe.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},y:"-100%"})}function Zg(){let s=document.querySelectorAll('[wide="customCursor"]'),e=document.querySelector(".custom_cursor");s.forEach(t=>{t.addEventListener("mousedown",function(){e.style.transform="scale3d(0.8, 0.8, 1)"}),t.addEventListener("mouseup",function(){e.style.transform="scale3d(1, 1, 1)"})})}function Qg(){document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll("[wideCursorText]").forEach(function(e){e.addEventListener("mouseenter",()=>{let t=e.getAttribute("wideCursorText"),r=document.querySelector(".custom_cursor_text");r.innerHTML=t})})})}var Yh=oe.from(".navbar",{y:"-100%",paused:!0,duration:.2,ease:"loader2"}).progress(1);function Jg(){J.create({start:"top top",endTrigger:".bottom-wrapper",end:"bottom top+=100px",onUpdate:s=>{s.direction===-1?Yh.play():Yh.reverse()}})}var Ms=oe.timeline({}),X0=new ri("#homeHeroHeading",{type:"lines",linesClass:"hero-line"}),U0=new ri("#homeHeroHeading",{type:"lines",linesClass:"hero-line-mask"});Ms.add(Fn.play());Ms.from(".navbar",{opacity:0,duration:.6,ease:"loader2"});Ms.from(".hero-line",{duration:1.2,y:"100%",stagger:.2,ease:"loader2"},">-0.5");Ms.to(".hero_headline_ract-mask",{width:"0%",duration:.6,ease:"loader2"},">-0.6");Ms.from("#heroSubtitle",{opacity:0,duration:1,ease:"loader2"},">-0.4");var Xh=oe.timeline({scrollTrigger:{trigger:"#statsKnow",start:"center center",toggleActions:"restart none none reverse",end:"+=500"},pause:"paused",ease:"defaultEase"}),q0=new ri("#statsDone",{type:"lines",linesClass:"stats-line"}),j0=new ri("#statsDone",{type:"lines",linesClass:"stats-line-mask"});Xh.to("#statsKnow",{duration:.5,opacity:0,display:"none"},">");Xh.from(".stats-line",{duration:.5,opacity:0,y:"100%",stagger:.25});var e0=document.querySelector(".hero_headline-span.copy-this"),t0=document.querySelector(".hero_headline-span");t0.appendChild(e0);var r0=document.querySelector(".reviews_headline-span.copy-this"),i0=document.querySelector(".reviews_headline-span");i0.appendChild(r0);var n0=document.querySelector(".start_headline-span.copy-this"),s0=document.querySelector(".start_headline-span");s0.appendChild(n0);var o0=document.querySelectorAll(".portfolio_item_image-mask");o0.forEach(s=>{let e=oe.from(s,{width:"100%",duration:.72,ease:"loader2",paused:!0});J.create({animation:e,trigger:s,start:"top 80%",onEnter:()=>e.play()})});var a0=document.querySelector(".splide__slide.reviews_collection_item.is-static").innerHTML,Uh=document.querySelector(".reviews_collection_item");Uh.innerHTML=a0;Uh.classList.add("is-static");new An("#reviewsSlider",{type:"slide",fixedWidth:"24.5rem",focus:0,padding:{left:"2.5rem",right:0},gap:0,omitEnd:!0,arrows:!1,drag:!0,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination reviews-pagination",page:"splide__pagination__page reviews-page"},breakpoints:{992:{fixedWidth:"17.438rem",padding:{left:"1.75rem"},drag:"free",snap:!1},480:{fixedWidth:"16.25rem",padding:{left:"1.375rem"},drag:"free",snap:!1}}}).mount();var hl=new An("#factsSlider",{type:"loop",perPage:1,gap:0,arrows:!1,drag:!1,duration:.15,easing:"cubic-bezier(0.83, 0, 0.17, 1)",classes:{pagination:"splide__pagination facts-pagination",page:"splide__pagination__page facts-page"},breakpoints:{992:{gap:"1.75rem",drag:!0},480:{gap:"1.375rem"}}}).mount();window.innerWidth>992&&hl.on("click",function(){hl.go("+1")});var u0=document.querySelectorAll(".external_link.is-cursor");u0.forEach(s=>{s.addEventListener("click",()=>{event.stopPropagation()})});hl.on("move ",s=>{s===0?document.querySelector(".facts-slide_diagram-trigger.is-0").click():s===1?document.querySelector(".facts-slide_diagram-trigger.is-1").click():s===2&&document.querySelector(".facts-slide_diagram-trigger.is-2").click()});J.create({trigger:".section.is-facts",start:"top bottom",once:!0,onToggle:()=>{document.querySelector(".facts-slide_diagram-trigger.is-0").click()}});new An("#teamSlider",{type:"slide",fixedWidth:"20%",padding:{left:"2.5rem",right:0},focus:0,gap:0,pagination:!1,omitEnd:!0,arrows:!1,drag:!0,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination facts-pagination",page:"splide__pagination__page facts-page"},breakpoints:{992:{fixedWidth:"40%",padding:{left:"1.75rem"},drag:"free",snap:!1},560:{fixedWidth:"75%",padding:{left:"1.375rem"},drag:"free",snap:!1}}}).mount();oe.to("#reelPrevSection",{scrollTrigger:{trigger:"#reelPrevSection",start:"top bottom",end:"top top",toggleActions:"restart none none reverse",scrub:1},paddingLeft:"0rem",paddingRight:"0rem",ease:"linear"});oe.to(".team_big-image_wrapper",{scrollTrigger:{trigger:".team_big-image_wrapper",start:"top bottom",end:"top top",toggleActions:"restart none none reverse",scrub:1},paddingLeft:"0rem",paddingRight:"0rem",ease:"linear"});window.addEventListener("load",function(){if(oe.set(".section.is-skills",{backgroundColor:"#fff"}),oe.set("#heroNavbarLottie path",{fill:"rgb(21, 21, 21)"}),window.innerWidth>992){let s=oe.timeline({duration:.2,ease:"loader2",scrollTrigger:{trigger:".section.is-skills",start:"top bottom",end:"bottom top",toggleActions:"restart reverse restart reverse"}});s.to(["#skills","#portfolio"],{backgroundColor:"#151515"}),s.to([".navbar_menu_link",".button_small",".button_small_icon",".navbar_brand_svg","#heroNavbarLottie path "],{color:"#fff",fill:"rgb(254, 254, 254)"},"<")}else{let s=oe.timeline({duration:.2,ease:"loader2",scrollTrigger:{trigger:".section.is-skills",start:"top bottom",end:"bottom top",toggleActions:"restart reverse restart reverse"}});s.to(["#skills","#portfolio"],{backgroundColor:"#151515"}),s.to([".button_small",".button_small_icon",".navbar_brand_svg","#heroNavbarLottie path "],{color:"#fff",fill:"rgb(254, 254, 254)"},"<")}});oe.to(".reviews_headline_ract-mask",{scrollTrigger:{trigger:".reviews_headline_ract-mask",start:"bottom bottom-=5%"},width:0,ease:"loader2",duration:.6});oe.to(".start_headline_ract-mask",{scrollTrigger:{trigger:".start_headline_ract-mask",start:"bottom bottom-=5%"},width:0,ease:"loader2",duration:.6});var Rs=oe.timeline({paused:!0});Rs.fromTo("#startPath1",{drawSVG:"50%"},{drawSVG:"0% 100%",duration:1,ease:"loader"});Rs.from("#startIcon1",{opacity:0,duration:.3,ease:"loader"},"<0.1");Rs.from("#stepPoint1",{opacity:0,duration:.4,ease:"loader"},.8);Rs.from("#startGradientMask",{height:"0px",opacity:0,duration:.6,ease:"loader"},"-=0.8");var oa=oe.timeline({paused:!0});oa.fromTo("#startPath2",{drawSVG:"50%"},{drawSVG:"0% 100%",duration:1,ease:"loader"});oa.from("#startIcon2",{opacity:0,duration:.3,ease:"loader"},"<0.1");oa.from("#stepPoint2",{opacity:0,duration:.4,ease:"loader"},.8);var aa=oe.timeline({paused:!0});aa.fromTo("#startPath3",{drawSVG:"50%"},{drawSVG:"0% 100%",duration:1,ease:"loader"});aa.from("#startIcon3",{opacity:0,duration:.3,ease:"loader"},"<0.1");aa.from("#stepPoint3",{opacity:0,duration:.4,ease:"loader"},.8);var ua=oe.timeline({paused:!0});ua.fromTo("#startPath4",{drawSVG:"50%"},{drawSVG:"0% 100%",duration:1,ease:"loader"});ua.from("#startIcon4",{opacity:0,duration:.3,ease:"loader"},"<0.1");ua.from("#stepPoint4",{opacity:0,duration:.4,ease:"loader"},.8);var la=oe.timeline({scrollTrigger:{trigger:".section.is-start",start:"bottom 110%",end:"+=500"}});la.add(Rs.play());la.add(oa.play(),"-=0.4");la.add(aa.play(),"-=0.4");la.add(ua.play(),"-=0.4");document.addEventListener("DOMContentLoaded",()=>{window.innerWidth>992?document.querySelectorAll(".portfolio_item_image-wrapper").forEach(e=>{let t=e.getElementsByTagName("video"),r=t.length>0?t[0]:null;if(!r)return;r.addEventListener("loadeddata",()=>{r.pause()}),e.addEventListener("mouseenter",i,!1),e.addEventListener("mouseleave",n,!1);function i(){r.play()}function n(){r.pause()}}):document.querySelectorAll(".background-video video").forEach(e=>{let t=e.getAttribute("poster");e.innerHTML="",e.setAttribute("poster",t),e.load(),e.pause()})});var qh=document.querySelector(".team_collection_list"),jh=Array.from(qh.children);jh.sort(function(){return .5-Math.random()});jh.forEach(function(s){qh.appendChild(s)});var Kh=.15;oe.from(".clients_collection_item_mask",{scrollTrigger:{trigger:".clients_collection_item_mask",start:"top bottom-=25%"},width:"0%",duration:.7,ease:"loader2",stagger:Kh});oe.from(".clients_item_image",{scrollTrigger:{trigger:".clients_collection_item_mask",start:"top bottom-=25%"},opacity:0,delay:.4,duration:.6,ease:"loader2",stagger:Kh});oe.from(".splide.is-reviews",{scrollTrigger:{trigger:".splide.is-reviews",start:"top bottom",end:"bottom bottom-=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"});oe.from(".splide.is-team",{scrollTrigger:{trigger:".splide.is-team",start:"top bottom",end:"bottom bottom",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"});var Os=oe.timeline({paused:!0,ease:"loader2"});Os.from(".team_big-image_person-wrapper.is-m",{x:"5%",opacity:0,duration:.4});Os.from("#m-line",{drawSVG:"0% 0%",duration:.2},">-0.2");Os.from("#m-arrow",{drawSVG:"0% 0%",duration:.15});document.addEventListener("DOMContentLoaded",()=>{if(window.innerWidth>992){let s=document.querySelector(".team_big-image_trigger.is-m");s.addEventListener("mouseenter",()=>{Os.timeScale(1).play()}),s.addEventListener("mouseleave",()=>{Os.timeScale(3).reverse()})}});var Ls=oe.timeline({paused:!0,ease:"loader2"});Ls.from(".team_big-image_person-wrapper.is-k",{x:"5%",opacity:0,duration:.4});Ls.from("#k-line",{drawSVG:"0% 0%",duration:.25},">-0.2");Ls.from("#k-arrow",{drawSVG:"0% 0%",duration:.15});document.addEventListener("DOMContentLoaded",()=>{if(window.innerWidth>992){let s=document.querySelector(".team_big-image_trigger.is-k");s.addEventListener("mouseenter",()=>{Ls.timeScale(1).play()}),s.addEventListener("mouseleave",()=>{Ls.timeScale(3).reverse()})}});var dl=document.querySelector(".hero_headline-span"),na=oe.timeline({paused:!0,ease:"loader2"});na.to(".hero-line-mask",{clipPath:"none",duration:.05},">");na.to(dl,{scale:2,duration:.35},">");document.addEventListener("DOMContentLoaded",()=>{window.innerWidth>992&&(dl.addEventListener("mouseenter",()=>{na.timeScale(1).play()}),dl.addEventListener("mouseleave",()=>{na.timeScale(2).reverse()}))});var Gh=document.querySelectorAll('[wideClick="playReel"]'),sa=document.querySelector(".reel-modal"),bt=document.getElementById("fullReel"),l0=0,ks=oe.timeline({ease:"loader2",paused:!0});ks.to(sa,{display:"flex",opacity:0,duration:0});ks.to(sa,{opacity:1,duration:.6},">");window.innerWidth>992?(Gh.forEach(s=>{s.addEventListener("click",()=>{if(Xi.stop(),ks.timeScale(1).play(),l0===0)bt.canPlayType("video/webm")?bt.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.webm":bt.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.mp4",bt.load();else return;bt.play()})}),sa.addEventListener("click",()=>{ks.timeScale(4).reverse(),bt.pause(),Xi.start()}),window.addEventListener("keydown",function(s){s.keyCode===27&&(ks.timeScale(4).reverse(),bt.pause(),Xi.start())})):(Gh.forEach(s=>{s.addEventListener("click",()=>{bt.canPlayType("video/webm")?bt.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.webm":bt.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.mp4",bt.load(),bt.addEventListener("canplaythrough",()=>{bt.play()},{once:!0})})}),sa.addEventListener("click",()=>{bt.pause()}));var $h=oe.timeline({scrollTrigger:{trigger:".reviews_map_base",start:"bottom-=160px bottom"}});$h.from(".map-point",{duration:1,opacity:0,stagger:.1,ease:"loader2"});$h.from(".map-pin_wrapper",{duration:1,opacity:0,stagger:.1,ease:"loader2"},"0.3");var c0=document.querySelectorAll(".map-pin_wrapper");c0.forEach(function(s){s.addEventListener("mouseenter",function(){let e=this.getAttribute("w-map-pin"),t=document.querySelectorAll(".map_info-collection-item"),r=document.querySelectorAll(".map_info-collection-item[w-map-info='"+e+"']"),i=oe.timeline({});i.to(t,{opacity:0,ease:"loader2",duration:.1}),i.to(t,{display:"none",duration:.01}),i.to(r,{display:"block",duration:.01}),i.to(r,{opacity:1,ease:"loader2",duration:.2})})});document.addEventListener("DOMContentLoaded",s=>{let e=document.querySelectorAll(".map_info-wrapper");for(let t=0;t<e.length;t++){let r=e[t].getAttribute("href");r&&r.length>3&&(e[t].style.cursor="pointer")}});window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{Hg(),Ug(),Xg(),qg(),jg(),Kg(),$g(),Zg(),Qg(),Jg()});})();
|
|
2
|
-
/*! Bundled license information:
|
|
1
|
+
(()=>{var Oe=!1,Ce=!1,N=[],Me=-1;function Hn(e){Wn(e)}function Wn(e){N.includes(e)||N.push(e),qn()}function Mt(e){let t=N.indexOf(e);t!==-1&&t>Me&&N.splice(t,1)}function qn(){!Ce&&!Oe&&(Oe=!0,queueMicrotask(Un))}function Un(){Oe=!1,Ce=!0;for(let e=0;e<N.length;e++)N[e](),Me=e;N.length=0,Me=-1,Ce=!1}var z,H,Q,Tt,Te=!0;function Vn(e){Te=!1,e(),Te=!0}function Jn(e){z=e.reactive,Q=e.release,H=t=>e.effect(t,{scheduler:n=>{Te?Hn(n):n()}}),Tt=e.raw}function _t(e){H=e}function Yn(e){let t=()=>{};return[r=>{let i=H(r);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(o=>o())}),e._x_effects.add(i),t=()=>{i!==void 0&&(e._x_effects.delete(i),Q(i))},i},()=>{t()}]}function Y(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}function I(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(i=>I(i,t));return}let n=!1;if(t(e,()=>n=!0),n)return;let r=e.firstElementChild;for(;r;)I(r,t,!1),r=r.nextElementSibling}function O(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var ht=!1;function Gn(){ht&&O("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),ht=!0,document.body||O("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),Y(document,"alpine:init"),Y(document,"alpine:initializing"),Ye(),Qn(t=>C(t,I)),Ue(t=>qe(t)),Kt((t,n)=>{Qe(t,n).forEach(r=>r())});let e=t=>!pe(t.parentElement,!0);Array.from(document.querySelectorAll($t())).filter(e).forEach(t=>{C(t)}),Y(document,"alpine:initialized")}var We=[],It=[];function Pt(){return We.map(e=>e())}function $t(){return We.concat(It).map(e=>e())}function Rt(e){We.push(e)}function jt(e){It.push(e)}function pe(e,t=!1){return _e(e,n=>{if((t?$t():Pt()).some(i=>n.matches(i)))return!0})}function _e(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),!!e.parentElement)return _e(e.parentElement,t)}}function Xn(e){return Pt().some(t=>e.matches(t))}var Nt=[];function Zn(e){Nt.push(e)}function C(e,t=I,n=()=>{}){_r(()=>{t(e,(r,i)=>{n(r,i),Nt.forEach(o=>o(r,i)),Qe(r,r.attributes).forEach(o=>o()),r._x_ignore&&i()})})}function qe(e){I(e,t=>{kt(t),er(t)})}var Lt=[],Ft=[],Bt=[];function Qn(e){Bt.push(e)}function Ue(e,t){typeof t=="function"?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,Ft.push(t))}function Kt(e){Lt.push(e)}function Dt(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}function kt(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([n,r])=>{(t===void 0||t.includes(n))&&(r.forEach(i=>i()),delete e._x_attributeCleanups[n])})}function er(e){if(e._x_cleanups)for(;e._x_cleanups.length;)e._x_cleanups.pop()()}var Ve=new MutationObserver(Xe),Je=!1;function Ye(){Ve.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Je=!0}function zt(){tr(),Ve.disconnect(),Je=!1}var G=[],we=!1;function tr(){G=G.concat(Ve.takeRecords()),G.length&&!we&&(we=!0,queueMicrotask(()=>{nr(),we=!1}))}function nr(){Xe(G),G.length=0}function v(e){if(!Je)return e();zt();let t=e();return Ye(),t}var Ge=!1,le=[];function rr(){Ge=!0}function ir(){Ge=!1,Xe(le),le=[]}function Xe(e){if(Ge){le=le.concat(e);return}let t=[],n=[],r=new Map,i=new Map;for(let o=0;o<e.length;o++)if(!e[o].target._x_ignoreMutationObserver&&(e[o].type==="childList"&&(e[o].addedNodes.forEach(a=>a.nodeType===1&&t.push(a)),e[o].removedNodes.forEach(a=>a.nodeType===1&&n.push(a))),e[o].type==="attributes")){let a=e[o].target,s=e[o].attributeName,u=e[o].oldValue,c=()=>{r.has(a)||r.set(a,[]),r.get(a).push({name:s,value:a.getAttribute(s)})},l=()=>{i.has(a)||i.set(a,[]),i.get(a).push(s)};a.hasAttribute(s)&&u===null?c():a.hasAttribute(s)?(l(),c()):l()}i.forEach((o,a)=>{kt(a,o)}),r.forEach((o,a)=>{Lt.forEach(s=>s(a,o))});for(let o of n)t.includes(o)||(Ft.forEach(a=>a(o)),qe(o));t.forEach(o=>{o._x_ignoreSelf=!0,o._x_ignore=!0});for(let o of t)n.includes(o)||o.isConnected&&(delete o._x_ignoreSelf,delete o._x_ignore,Bt.forEach(a=>a(o)),o._x_ignore=!0,o._x_ignoreSelf=!0);t.forEach(o=>{delete o._x_ignoreSelf,delete o._x_ignore}),t=null,n=null,r=null,i=null}function Ht(e){return te(D(e))}function ee(e,t,n){return e._x_dataStack=[t,...D(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter(r=>r!==t)}}function D(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot=="function"&&e instanceof ShadowRoot?D(e.host):e.parentNode?D(e.parentNode):[]}function te(e){return new Proxy({objects:e},or)}var or={ownKeys({objects:e}){return Array.from(new Set(e.flatMap(t=>Object.keys(t))))},has({objects:e},t){return t==Symbol.unscopables?!1:e.some(n=>Object.prototype.hasOwnProperty.call(n,t))},get({objects:e},t,n){return t=="toJSON"?ar:Reflect.get(e.find(r=>Object.prototype.hasOwnProperty.call(r,t))||{},t,n)},set({objects:e},t,n){return Reflect.set(e.find(r=>Object.prototype.hasOwnProperty.call(r,t))||e[e.length-1],t,n)}};function ar(){return Reflect.ownKeys(this).reduce((t,n)=>(t[n]=Reflect.get(this,n),t),{})}function Wt(e){let t=r=>typeof r=="object"&&!Array.isArray(r)&&r!==null,n=(r,i="")=>{Object.entries(Object.getOwnPropertyDescriptors(r)).forEach(([o,{value:a,enumerable:s}])=>{if(s===!1||a===void 0)return;let u=i===""?o:`${i}.${o}`;typeof a=="object"&&a!==null&&a._x_interceptor?r[o]=a.initialize(e,u,o):t(a)&&a!==r&&!(a instanceof Element)&&n(a,u)})};return n(e)}function qt(e,t=()=>{}){let n={initialValue:void 0,_x_interceptor:!0,initialize(r,i,o){return e(this.initialValue,()=>sr(r,i),a=>Ie(r,i,a),i,o)}};return t(n),r=>{if(typeof r=="object"&&r!==null&&r._x_interceptor){let i=n.initialize.bind(n);n.initialize=(o,a,s)=>{let u=r.initialize(o,a,s);return n.initialValue=u,i(o,a,s)}}else n.initialValue=r;return n}}function sr(e,t){return t.split(".").reduce((n,r)=>n[r],e)}function Ie(e,t,n){if(typeof t=="string"&&(t=t.split(".")),t.length===1)e[t[0]]=n;else{if(t.length===0)throw error;return e[t[0]]||(e[t[0]]={}),Ie(e[t[0]],t.slice(1),n)}}var Ut={};function A(e,t){Ut[e]=t}function Pe(e,t){return Object.entries(Ut).forEach(([n,r])=>{let i=null;function o(){if(i)return i;{let[a,s]=Zt(t);return i={interceptor:qt,...a},Ue(t,s),i}}Object.defineProperty(e,`$${n}`,{get(){return r(t,o())},enumerable:!1})}),e}function ur(e,t,n,...r){try{return n(...r)}catch(i){Z(i,e,t)}}function Z(e,t,n=void 0){Object.assign(e,{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message}
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
(*! lozad.js - v1.16.0 - 2020-09-06
|
|
6
|
-
* https://github.com/ApoorvSaxena/lozad.js
|
|
7
|
-
* Copyright (c) 2020 Apoorv Saxena; Licensed MIT *)
|
|
3
|
+
${n?'Expression: "'+n+`"
|
|
8
4
|
|
|
9
|
-
@gsap/business/gsap-core.js:
|
|
10
|
-
(*!
|
|
11
|
-
* GSAP 3.12.2
|
|
12
|
-
* https://greensock.com
|
|
13
|
-
*
|
|
14
|
-
* @license Copyright 2008-2023, GreenSock. All rights reserved.
|
|
15
|
-
* Subject to the terms at https://greensock.com/standard-license or for
|
|
16
|
-
* Club GreenSock members, the agreement issued with that membership.
|
|
17
|
-
* @author: Jack Doyle, jack@greensock.com
|
|
18
|
-
*)
|
|
19
|
-
|
|
20
|
-
@gsap/business/CSSPlugin.js:
|
|
21
|
-
(*!
|
|
22
|
-
* CSSPlugin 3.12.2
|
|
23
|
-
* https://greensock.com
|
|
24
|
-
*
|
|
25
|
-
* Copyright 2008-2023, GreenSock. All rights reserved.
|
|
26
|
-
* Subject to the terms at https://greensock.com/standard-license or for
|
|
27
|
-
* Club GreenSock members, the agreement issued with that membership.
|
|
28
|
-
* @author: Jack Doyle, jack@greensock.com
|
|
29
|
-
*)
|
|
30
|
-
|
|
31
|
-
@gsap/business/utils/paths.js:
|
|
32
|
-
(*!
|
|
33
|
-
* paths 3.12.2
|
|
34
|
-
* https://greensock.com
|
|
35
|
-
*
|
|
36
|
-
* Copyright 2008-2023, GreenSock. All rights reserved.
|
|
37
|
-
* Subject to the terms at https://greensock.com/standard-license or for
|
|
38
|
-
* Club GreenSock members, the agreement issued with that membership.
|
|
39
|
-
* @author: Jack Doyle, jack@greensock.com
|
|
40
|
-
*)
|
|
41
|
-
|
|
42
|
-
@gsap/business/CustomEase.js:
|
|
43
|
-
(*!
|
|
44
|
-
* CustomEase 3.12.2
|
|
45
|
-
* https://greensock.com
|
|
46
|
-
*
|
|
47
|
-
* @license Copyright 2008-2023, GreenSock. All rights reserved.
|
|
48
|
-
* Subject to the terms at https://greensock.com/standard-license or for
|
|
49
|
-
* Club GreenSock members, the agreement issued with that membership.
|
|
50
|
-
* @author: Jack Doyle, jack@greensock.com
|
|
51
|
-
*)
|
|
52
|
-
|
|
53
|
-
@gsap/business/ScrollToPlugin.js:
|
|
54
|
-
(*!
|
|
55
|
-
* ScrollToPlugin 3.12.2
|
|
56
|
-
* https://greensock.com
|
|
57
|
-
*
|
|
58
|
-
* @license Copyright 2008-2023, GreenSock. All rights reserved.
|
|
59
|
-
* Subject to the terms at https://greensock.com/standard-license or for
|
|
60
|
-
* Club GreenSock members, the agreement issued with that membership.
|
|
61
|
-
* @author: Jack Doyle, jack@greensock.com
|
|
62
|
-
*)
|
|
63
|
-
|
|
64
|
-
@gsap/business/Observer.js:
|
|
65
|
-
(*!
|
|
66
|
-
* Observer 3.12.2
|
|
67
|
-
* https://greensock.com
|
|
68
|
-
*
|
|
69
|
-
* @license Copyright 2008-2023, GreenSock. All rights reserved.
|
|
70
|
-
* Subject to the terms at https://greensock.com/standard-license or for
|
|
71
|
-
* Club GreenSock members, the agreement issued with that membership.
|
|
72
|
-
* @author: Jack Doyle, jack@greensock.com
|
|
73
|
-
*)
|
|
74
|
-
|
|
75
|
-
@gsap/business/ScrollTrigger.js:
|
|
76
|
-
(*!
|
|
77
|
-
* ScrollTrigger 3.12.2
|
|
78
|
-
* https://greensock.com
|
|
79
|
-
*
|
|
80
|
-
* @license Copyright 2008-2023, GreenSock. All rights reserved.
|
|
81
|
-
* Subject to the terms at https://greensock.com/standard-license or for
|
|
82
|
-
* Club GreenSock members, the agreement issued with that membership.
|
|
83
|
-
* @author: Jack Doyle, jack@greensock.com
|
|
84
|
-
*)
|
|
85
|
-
|
|
86
|
-
@gsap/business/utils/strings.js:
|
|
87
|
-
(*!
|
|
88
|
-
* strings: 3.12.2
|
|
89
|
-
* https://greensock.com
|
|
90
|
-
*
|
|
91
|
-
* Copyright 2008-2023, GreenSock. All rights reserved.
|
|
92
|
-
* Subject to the terms at https://greensock.com/standard-license or for
|
|
93
|
-
* Club GreenSock members, the agreement issued with that membership.
|
|
94
|
-
* @author: Jack Doyle, jack@greensock.com
|
|
95
|
-
*)
|
|
96
|
-
|
|
97
|
-
@gsap/business/SplitText.js:
|
|
98
|
-
(*!
|
|
99
|
-
* SplitText: 3.12.2
|
|
100
|
-
* https://greensock.com
|
|
101
|
-
*
|
|
102
|
-
* @license Copyright 2008-2023, GreenSock. All rights reserved.
|
|
103
|
-
* Subject to the terms at https://greensock.com/standard-license or for
|
|
104
|
-
* Club GreenSock members, the agreement issued with that membership.
|
|
105
|
-
* @author: Jack Doyle, jack@greensock.com
|
|
106
|
-
*)
|
|
107
|
-
|
|
108
|
-
@splidejs/splide/dist/js/splide.esm.js:
|
|
109
|
-
(*!
|
|
110
|
-
* Splide.js
|
|
111
|
-
* Version : 4.1.4
|
|
112
|
-
* License : MIT
|
|
113
|
-
* Copyright: 2022 Naotoshi Fujita
|
|
114
|
-
*)
|
|
115
|
-
|
|
116
|
-
@gsap/business/DrawSVGPlugin.js:
|
|
117
|
-
(*!
|
|
118
|
-
* DrawSVGPlugin 3.12.2
|
|
119
|
-
* https://greensock.com
|
|
120
|
-
*
|
|
121
|
-
* @license Copyright 2008-2023, GreenSock. All rights reserved.
|
|
122
|
-
* Subject to the terms at https://greensock.com/standard-license or for
|
|
123
|
-
* Club GreenSock members, the agreement issued with that membership.
|
|
124
|
-
* @author: Jack Doyle, jack@greensock.com
|
|
125
|
-
*)
|
|
126
|
-
*/
|
|
5
|
+
`:""}`,t),setTimeout(()=>{throw e},0)}var ce=!0;function Vt(e){let t=ce;ce=!1;let n=e();return ce=t,n}function L(e,t,n={}){let r;return m(e,t)(i=>r=i,n),r}function m(...e){return Jt(...e)}var Jt=Yt;function cr(e){Jt=e}function Yt(e,t){let n={};Pe(n,e);let r=[n,...D(e)],i=typeof t=="function"?lr(r,t):dr(r,t,e);return ur.bind(null,e,t,i)}function lr(e,t){return(n=()=>{},{scope:r={},params:i=[]}={})=>{let o=t.apply(te([r,...e]),i);fe(n,o)}}var Ee={};function fr(e,t){if(Ee[e])return Ee[e];let n=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,o=(()=>{try{let a=new n(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`);return Object.defineProperty(a,"name",{value:`[Alpine] ${e}`}),a}catch(a){return Z(a,t,e),Promise.resolve()}})();return Ee[e]=o,o}function dr(e,t,n){let r=fr(t,n);return(i=()=>{},{scope:o={},params:a=[]}={})=>{r.result=void 0,r.finished=!1;let s=te([o,...e]);if(typeof r=="function"){let u=r(r,s).catch(c=>Z(c,n,t));r.finished?(fe(i,r.result,s,a,n),r.result=void 0):u.then(c=>{fe(i,c,s,a,n)}).catch(c=>Z(c,n,t)).finally(()=>r.result=void 0)}}}function fe(e,t,n,r,i){if(ce&&typeof t=="function"){let o=t.apply(n,r);o instanceof Promise?o.then(a=>fe(e,a,n,r)).catch(a=>Z(a,i,t)):e(o)}else typeof t=="object"&&t instanceof Promise?t.then(o=>e(o)):e(t)}var Ze="x-";function W(e=""){return Ze+e}function pr(e){Ze=e}var $e={};function g(e,t){return $e[e]=t,{before(n){if(!$e[n]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}let r=j.indexOf(n);j.splice(r>=0?r:j.indexOf("DEFAULT"),0,e)}}}function Qe(e,t,n){if(t=Array.from(t),e._x_virtualDirectives){let o=Object.entries(e._x_virtualDirectives).map(([s,u])=>({name:s,value:u})),a=Gt(o);o=o.map(s=>a.find(u=>u.name===s.name)?{name:`x-bind:${s.name}`,value:`"${s.value}"`}:s),t=t.concat(o)}let r={};return t.map(tn((o,a)=>r[o]=a)).filter(rn).map(gr(r,n)).sort(xr).map(o=>hr(e,o))}function Gt(e){return Array.from(e).map(tn()).filter(t=>!rn(t))}var Re=!1,J=new Map,Xt=Symbol();function _r(e){Re=!0;let t=Symbol();Xt=t,J.set(t,[]);let n=()=>{for(;J.get(t).length;)J.get(t).shift()();J.delete(t)},r=()=>{Re=!1,n()};e(n),r()}function Zt(e){let t=[],n=s=>t.push(s),[r,i]=Yn(e);return t.push(i),[{Alpine:ne,effect:r,cleanup:n,evaluateLater:m.bind(m,e),evaluate:L.bind(L,e)},()=>t.forEach(s=>s())]}function hr(e,t){let n=()=>{},r=$e[t.type]||n,[i,o]=Zt(e);Dt(e,t.original,o);let a=()=>{e._x_ignore||e._x_ignoreSelf||(r.inline&&r.inline(e,t,i),r=r.bind(r,e,t,i),Re?J.get(Xt).push(r):r())};return a.runCleanups=o,a}var Qt=(e,t)=>({name:n,value:r})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:r}),en=e=>e;function tn(e=()=>{}){return({name:t,value:n})=>{let{name:r,value:i}=nn.reduce((o,a)=>a(o),{name:t,value:n});return r!==t&&e(r,t),{name:r,value:i}}}var nn=[];function et(e){nn.push(e)}function rn({name:e}){return on().test(e)}var on=()=>new RegExp(`^${Ze}([^:^.]+)\\b`);function gr(e,t){return({name:n,value:r})=>{let i=n.match(on()),o=n.match(/:([a-zA-Z0-9\-:]+)/),a=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],s=t||e[n]||n;return{type:i?i[1]:null,value:o?o[1]:null,modifiers:a.map(u=>u.replace(".","")),expression:r,original:s}}}var je="DEFAULT",j=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",je,"teleport"];function xr(e,t){let n=j.indexOf(e.type)===-1?je:e.type,r=j.indexOf(t.type)===-1?je:t.type;return j.indexOf(n)-j.indexOf(r)}var Ne=[],tt=!1;function nt(e=()=>{}){return queueMicrotask(()=>{tt||setTimeout(()=>{Le()})}),new Promise(t=>{Ne.push(()=>{e(),t()})})}function Le(){for(tt=!1;Ne.length;)Ne.shift()()}function vr(){tt=!0}function rt(e,t){return Array.isArray(t)?gt(e,t.join(" ")):typeof t=="object"&&t!==null?yr(e,t):typeof t=="function"?rt(e,t()):gt(e,t)}function gt(e,t){let n=o=>o.split(" ").filter(Boolean),r=o=>o.split(" ").filter(a=>!e.classList.contains(a)).filter(Boolean),i=o=>(e.classList.add(...o),()=>{e.classList.remove(...o)});return t=t===!0?t="":t||"",i(r(t))}function yr(e,t){let n=s=>s.split(" ").filter(Boolean),r=Object.entries(t).flatMap(([s,u])=>u?n(s):!1).filter(Boolean),i=Object.entries(t).flatMap(([s,u])=>u?!1:n(s)).filter(Boolean),o=[],a=[];return i.forEach(s=>{e.classList.contains(s)&&(e.classList.remove(s),a.push(s))}),r.forEach(s=>{e.classList.contains(s)||(e.classList.add(s),o.push(s))}),()=>{a.forEach(s=>e.classList.add(s)),o.forEach(s=>e.classList.remove(s))}}function he(e,t){return typeof t=="object"&&t!==null?br(e,t):mr(e,t)}function br(e,t){let n={};return Object.entries(t).forEach(([r,i])=>{n[r]=e.style[r],r.startsWith("--")||(r=wr(r)),e.style.setProperty(r,i)}),setTimeout(()=>{e.style.length===0&&e.removeAttribute("style")}),()=>{he(e,n)}}function mr(e,t){let n=e.getAttribute("style",t);return e.setAttribute("style",t),()=>{e.setAttribute("style",n||"")}}function wr(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Fe(e,t=()=>{}){let n=!1;return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}g("transition",(e,{value:t,modifiers:n,expression:r},{evaluate:i})=>{typeof r=="function"&&(r=i(r)),r!==!1&&(!r||typeof r=="boolean"?Ar(e,n,t):Er(e,r,t))});function Er(e,t,n){an(e,rt,""),{enter:i=>{e._x_transition.enter.during=i},"enter-start":i=>{e._x_transition.enter.start=i},"enter-end":i=>{e._x_transition.enter.end=i},leave:i=>{e._x_transition.leave.during=i},"leave-start":i=>{e._x_transition.leave.start=i},"leave-end":i=>{e._x_transition.leave.end=i}}[n](t)}function Ar(e,t,n){an(e,he);let r=!t.includes("in")&&!t.includes("out")&&!n,i=r||t.includes("in")||["enter"].includes(n),o=r||t.includes("out")||["leave"].includes(n);t.includes("in")&&!r&&(t=t.filter((_,x)=>x<t.indexOf("out"))),t.includes("out")&&!r&&(t=t.filter((_,x)=>x>t.indexOf("out")));let a=!t.includes("opacity")&&!t.includes("scale"),s=a||t.includes("opacity"),u=a||t.includes("scale"),c=s?0:1,l=u?U(t,"scale",95)/100:1,d=U(t,"delay",0)/1e3,p=U(t,"origin","center"),y="opacity, transform",M=U(t,"duration",150)/1e3,re=U(t,"duration",75)/1e3,f="cubic-bezier(0.4, 0.0, 0.2, 1)";i&&(e._x_transition.enter.during={transformOrigin:p,transitionDelay:`${d}s`,transitionProperty:y,transitionDuration:`${M}s`,transitionTimingFunction:f},e._x_transition.enter.start={opacity:c,transform:`scale(${l})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"}),o&&(e._x_transition.leave.during={transformOrigin:p,transitionDelay:`${d}s`,transitionProperty:y,transitionDuration:`${re}s`,transitionTimingFunction:f},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:c,transform:`scale(${l})`})}function an(e,t,n={}){e._x_transition||(e._x_transition={enter:{during:n,start:n,end:n},leave:{during:n,start:n,end:n},in(r=()=>{},i=()=>{}){Be(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,i)},out(r=()=>{},i=()=>{}){Be(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},r,i)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,n,r){let i=document.visibilityState==="visible"?requestAnimationFrame:setTimeout,o=()=>i(n);if(t){e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(n):o():e._x_transition?e._x_transition.in(n):o();return}e._x_hidePromise=e._x_transition?new Promise((a,s)=>{e._x_transition.out(()=>{},()=>a(r)),e._x_transitioning.beforeCancel(()=>s({isFromCancelledTransition:!0}))}):Promise.resolve(r),queueMicrotask(()=>{let a=sn(e);a?(a._x_hideChildren||(a._x_hideChildren=[]),a._x_hideChildren.push(e)):i(()=>{let s=u=>{let c=Promise.all([u._x_hidePromise,...(u._x_hideChildren||[]).map(s)]).then(([l])=>l());return delete u._x_hidePromise,delete u._x_hideChildren,c};s(e).catch(u=>{if(!u.isFromCancelledTransition)throw u})})})};function sn(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:sn(t)}function Be(e,t,{during:n,start:r,end:i}={},o=()=>{},a=()=>{}){if(e._x_transitioning&&e._x_transitioning.cancel(),Object.keys(n).length===0&&Object.keys(r).length===0&&Object.keys(i).length===0){o(),a();return}let s,u,c;Sr(e,{start(){s=t(e,r)},during(){u=t(e,n)},before:o,end(){s(),c=t(e,i)},after:a,cleanup(){u(),c()}})}function Sr(e,t){let n,r,i,o=Fe(()=>{v(()=>{n=!0,r||t.before(),i||(t.end(),Le()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning})});e._x_transitioning={beforeCancels:[],beforeCancel(a){this.beforeCancels.push(a)},cancel:Fe(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()}),finish:o},v(()=>{t.start(),t.during()}),vr(),requestAnimationFrame(()=>{if(n)return;let a=Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,s=Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;a===0&&(a=Number(getComputedStyle(e).animationDuration.replace("s",""))*1e3),v(()=>{t.before()}),r=!0,requestAnimationFrame(()=>{n||(v(()=>{t.end()}),Le(),setTimeout(e._x_transitioning.finish,a+s),i=!0)})})}function U(e,t,n){if(e.indexOf(t)===-1)return n;let r=e[e.indexOf(t)+1];if(!r||t==="scale"&&isNaN(r))return n;if(t==="duration"||t==="delay"){let i=r.match(/([0-9]+)ms/);if(i)return i[1]}return t==="origin"&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[r,e[e.indexOf(t)+2]].join(" "):r}var P=!1;function ge(e,t=()=>{}){return(...n)=>P?t(...n):e(...n)}function Or(e){return(...t)=>P&&e(...t)}function Cr(e,t){e._x_dataStack&&(t._x_dataStack=e._x_dataStack,t.setAttribute("data-has-alpine-state",!0)),P=!0,un(()=>{C(t,(n,r)=>{r(n,()=>{})})}),P=!1}var Ke=!1;function Mr(e,t){t._x_dataStack||(t._x_dataStack=e._x_dataStack),P=!0,Ke=!0,un(()=>{Tr(t)}),P=!1,Ke=!1}function Tr(e){let t=!1;C(e,(r,i)=>{I(r,(o,a)=>{if(t&&Xn(o))return a();t=!0,i(o,a)})})}function un(e){let t=H;_t((n,r)=>{let i=t(n);return Q(i),()=>{}}),e(),_t(t)}function Ir(e){return P?Ke?!0:e.hasAttribute("data-has-alpine-state"):!1}function cn(e,t,n,r=[]){switch(e._x_bindings||(e._x_bindings=z({})),e._x_bindings[t]=n,t=r.includes("camel")?Br(t):t,t){case"value":Pr(e,n);break;case"style":Rr(e,n);break;case"class":$r(e,n);break;case"selected":case"checked":jr(e,t,n);break;default:ln(e,t,n);break}}function Pr(e,t){if(e.type==="radio")e.attributes.value===void 0&&(e.value=t),window.fromModel&&(e.checked=xt(e.value,t));else if(e.type==="checkbox")Number.isInteger(t)?e.value=t:!Array.isArray(t)&&typeof t!="boolean"&&![null,void 0].includes(t)?e.value=String(t):Array.isArray(t)?e.checked=t.some(n=>xt(n,e.value)):e.checked=!!t;else if(e.tagName==="SELECT")Fr(e,t);else{if(e.value===t)return;e.value=t===void 0?"":t}}function $r(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedClasses=rt(e,t)}function Rr(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles(),e._x_undoAddedStyles=he(e,t)}function jr(e,t,n){ln(e,t,n),Lr(e,t,n)}function ln(e,t,n){[null,void 0,!1].includes(n)&&Kr(t)?e.removeAttribute(t):(fn(t)&&(n=t),Nr(e,t,n))}function Nr(e,t,n){e.getAttribute(t)!=n&&e.setAttribute(t,n)}function Lr(e,t,n){e[t]!==n&&(e[t]=n)}function Fr(e,t){let n=[].concat(t).map(r=>r+"");Array.from(e.options).forEach(r=>{r.selected=n.includes(r.value)})}function Br(e){return e.toLowerCase().replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function xt(e,t){return e==t}function fn(e){return["disabled","checked","required","readonly","hidden","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(e)}function Kr(e){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(e)}function Dr(e,t,n){return e._x_bindings&&e._x_bindings[t]!==void 0?e._x_bindings[t]:dn(e,t,n)}function kr(e,t,n,r=!0){if(e._x_bindings&&e._x_bindings[t]!==void 0)return e._x_bindings[t];if(e._x_inlineBindings&&e._x_inlineBindings[t]!==void 0){let i=e._x_inlineBindings[t];return i.extract=r,Vt(()=>L(e,i.expression))}return dn(e,t,n)}function dn(e,t,n){let r=e.getAttribute(t);return r===null?typeof n=="function"?n():n:r===""?!0:fn(t)?!![t,"true"].includes(r):r}function pn(e,t){var n;return function(){var r=this,i=arguments,o=function(){n=null,e.apply(r,i)};clearTimeout(n),n=setTimeout(o,t)}}function _n(e,t){let n;return function(){let r=this,i=arguments;n||(e.apply(r,i),n=!0,setTimeout(()=>n=!1,t))}}function hn({get:e,set:t},{get:n,set:r}){let i=!0,o,a,s,u,c=H(()=>{let l,d;i?(l=e(),r(JSON.parse(JSON.stringify(l))),d=n(),i=!1):(l=e(),d=n(),s=JSON.stringify(l),u=JSON.stringify(d),s!==o?(d=n(),r(l),d=l):(t(JSON.parse(u!=null?u:null)),l=d)),o=JSON.stringify(l),a=JSON.stringify(d)});return()=>{Q(c)}}function zr(e){(Array.isArray(e)?e:[e]).forEach(n=>n(ne))}var R={},vt=!1;function Hr(e,t){if(vt||(R=z(R),vt=!0),t===void 0)return R[e];R[e]=t,typeof t=="object"&&t!==null&&t.hasOwnProperty("init")&&typeof t.init=="function"&&R[e].init(),Wt(R[e])}function Wr(){return R}var gn={};function qr(e,t){let n=typeof t!="function"?()=>t:t;return e instanceof Element?xn(e,n()):(gn[e]=n,()=>{})}function Ur(e){return Object.entries(gn).forEach(([t,n])=>{Object.defineProperty(e,t,{get(){return(...r)=>n(...r)}})}),e}function xn(e,t,n){let r=[];for(;r.length;)r.pop()();let i=Object.entries(t).map(([a,s])=>({name:a,value:s})),o=Gt(i);return i=i.map(a=>o.find(s=>s.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),Qe(e,i,n).map(a=>{r.push(a.runCleanups),a()}),()=>{for(;r.length;)r.pop()()}}var vn={};function Vr(e,t){vn[e]=t}function Jr(e,t){return Object.entries(vn).forEach(([n,r])=>{Object.defineProperty(e,n,{get(){return(...i)=>r.bind(t)(...i)},enumerable:!1})}),e}var Yr={get reactive(){return z},get release(){return Q},get effect(){return H},get raw(){return Tt},version:"3.13.1",flushAndStopDeferringMutations:ir,dontAutoEvaluateFunctions:Vt,disableEffectScheduling:Vn,startObservingMutations:Ye,stopObservingMutations:zt,setReactivityEngine:Jn,onAttributeRemoved:Dt,onAttributesAdded:Kt,closestDataStack:D,skipDuringClone:ge,onlyDuringClone:Or,addRootSelector:Rt,addInitSelector:jt,addScopeToNode:ee,deferMutations:rr,mapAttributes:et,evaluateLater:m,interceptInit:Zn,setEvaluator:cr,mergeProxies:te,extractProp:kr,findClosest:_e,onElRemoved:Ue,closestRoot:pe,destroyTree:qe,interceptor:qt,transition:Be,setStyles:he,mutateDom:v,directive:g,entangle:hn,throttle:_n,debounce:pn,evaluate:L,initTree:C,nextTick:nt,prefixed:W,prefix:pr,plugin:zr,magic:A,store:Hr,start:Gn,clone:Mr,cloneNode:Cr,bound:Dr,$data:Ht,walk:I,data:Vr,bind:qr},ne=Yr;function yn(e,t){let n=Object.create(null),r=e.split(",");for(let i=0;i<r.length;i++)n[r[i]]=!0;return t?i=>!!n[i.toLowerCase()]:i=>!!n[i]}var Gr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Qi=yn(Gr+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Xr=Object.freeze({}),eo=Object.freeze([]),Zr=Object.prototype.hasOwnProperty,xe=(e,t)=>Zr.call(e,t),F=Array.isArray,X=e=>bn(e)==="[object Map]",Qr=e=>typeof e=="string",it=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object",ei=Object.prototype.toString,bn=e=>ei.call(e),mn=e=>bn(e).slice(8,-1),ot=e=>Qr(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ye=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ti=/-(\w)/g,to=ye(e=>e.replace(ti,(t,n)=>n?n.toUpperCase():"")),ni=/\B([A-Z])/g,no=ye(e=>e.replace(ni,"-$1").toLowerCase()),wn=ye(e=>e.charAt(0).toUpperCase()+e.slice(1)),ro=ye(e=>e?`on${wn(e)}`:""),En=(e,t)=>e!==t&&(e===e||t===t),De=new WeakMap,V=[],S,B=Symbol("iterate"),ke=Symbol("Map key iterate");function ri(e){return e&&e._isEffect===!0}function ii(e,t=Xr){ri(e)&&(e=e.raw);let n=si(e,t);return t.lazy||n(),n}function oi(e){e.active&&(An(e),e.options.onStop&&e.options.onStop(),e.active=!1)}var ai=0;function si(e,t){let n=function(){if(!n.active)return e();if(!V.includes(n)){An(n);try{return ci(),V.push(n),S=n,e()}finally{V.pop(),Sn(),S=V[V.length-1]}}};return n.id=ai++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}function An(e){let{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var k=!0,at=[];function ui(){at.push(k),k=!1}function ci(){at.push(k),k=!0}function Sn(){let e=at.pop();k=e===void 0?!0:e}function E(e,t,n){if(!k||S===void 0)return;let r=De.get(e);r||De.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=new Set),i.has(S)||(i.add(S),S.deps.push(i),S.options.onTrack&&S.options.onTrack({effect:S,target:e,type:t,key:n}))}function $(e,t,n,r,i,o){let a=De.get(e);if(!a)return;let s=new Set,u=l=>{l&&l.forEach(d=>{(d!==S||d.allowRecurse)&&s.add(d)})};if(t==="clear")a.forEach(u);else if(n==="length"&&F(e))a.forEach((l,d)=>{(d==="length"||d>=r)&&u(l)});else switch(n!==void 0&&u(a.get(n)),t){case"add":F(e)?ot(n)&&u(a.get("length")):(u(a.get(B)),X(e)&&u(a.get(ke)));break;case"delete":F(e)||(u(a.get(B)),X(e)&&u(a.get(ke)));break;case"set":X(e)&&u(a.get(B));break}let c=l=>{l.options.onTrigger&&l.options.onTrigger({effect:l,target:e,key:n,type:t,newValue:r,oldValue:i,oldTarget:o}),l.options.scheduler?l.options.scheduler(l):l()};s.forEach(c)}var li=yn("__proto__,__v_isRef,__isVue"),On=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(it)),fi=Cn(),di=Cn(!0),yt=pi();function pi(){let e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){let r=h(this);for(let o=0,a=this.length;o<a;o++)E(r,"get",o+"");let i=r[t](...n);return i===-1||i===!1?r[t](...n.map(h)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){ui();let r=h(this)[t].apply(this,n);return Sn(),r}}),e}function Cn(e=!1,t=!1){return function(r,i,o){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_raw"&&o===(e?t?Ti:Pn:t?Mi:In).get(r))return r;let a=F(r);if(!e&&a&&xe(yt,i))return Reflect.get(yt,i,o);let s=Reflect.get(r,i,o);return(it(i)?On.has(i):li(i))||(e||E(r,"get",i),t)?s:ze(s)?!a||!ot(i)?s.value:s:ve(s)?e?$n(s):lt(s):s}}var _i=hi();function hi(e=!1){return function(n,r,i,o){let a=n[r];if(!e&&(i=h(i),a=h(a),!F(n)&&ze(a)&&!ze(i)))return a.value=i,!0;let s=F(n)&&ot(r)?Number(r)<n.length:xe(n,r),u=Reflect.set(n,r,i,o);return n===h(o)&&(s?En(i,a)&&$(n,"set",r,i,a):$(n,"add",r,i)),u}}function gi(e,t){let n=xe(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&$(e,"delete",t,void 0,r),i}function xi(e,t){let n=Reflect.has(e,t);return(!it(t)||!On.has(t))&&E(e,"has",t),n}function vi(e){return E(e,"iterate",F(e)?"length":B),Reflect.ownKeys(e)}var yi={get:fi,set:_i,deleteProperty:gi,has:xi,ownKeys:vi},bi={get:di,set(e,t){return console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0},deleteProperty(e,t){return console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}},st=e=>ve(e)?lt(e):e,ut=e=>ve(e)?$n(e):e,ct=e=>e,be=e=>Reflect.getPrototypeOf(e);function ie(e,t,n=!1,r=!1){e=e.__v_raw;let i=h(e),o=h(t);t!==o&&!n&&E(i,"get",t),!n&&E(i,"get",o);let{has:a}=be(i),s=r?ct:n?ut:st;if(a.call(i,t))return s(e.get(t));if(a.call(i,o))return s(e.get(o));e!==i&&e.get(t)}function oe(e,t=!1){let n=this.__v_raw,r=h(n),i=h(e);return e!==i&&!t&&E(r,"has",e),!t&&E(r,"has",i),e===i?n.has(e):n.has(e)||n.has(i)}function ae(e,t=!1){return e=e.__v_raw,!t&&E(h(e),"iterate",B),Reflect.get(e,"size",e)}function bt(e){e=h(e);let t=h(this);return be(t).has.call(t,e)||(t.add(e),$(t,"add",e,e)),this}function mt(e,t){t=h(t);let n=h(this),{has:r,get:i}=be(n),o=r.call(n,e);o?Tn(n,r,e):(e=h(e),o=r.call(n,e));let a=i.call(n,e);return n.set(e,t),o?En(t,a)&&$(n,"set",e,t,a):$(n,"add",e,t),this}function wt(e){let t=h(this),{has:n,get:r}=be(t),i=n.call(t,e);i?Tn(t,n,e):(e=h(e),i=n.call(t,e));let o=r?r.call(t,e):void 0,a=t.delete(e);return i&&$(t,"delete",e,void 0,o),a}function Et(){let e=h(this),t=e.size!==0,n=X(e)?new Map(e):new Set(e),r=e.clear();return t&&$(e,"clear",void 0,void 0,n),r}function se(e,t){return function(r,i){let o=this,a=o.__v_raw,s=h(a),u=t?ct:e?ut:st;return!e&&E(s,"iterate",B),a.forEach((c,l)=>r.call(i,u(c),u(l),o))}}function ue(e,t,n){return function(...r){let i=this.__v_raw,o=h(i),a=X(o),s=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,c=i[e](...r),l=n?ct:t?ut:st;return!t&&E(o,"iterate",u?ke:B),{next(){let{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:s?[l(d[0]),l(d[1])]:l(d),done:p}},[Symbol.iterator](){return this}}}}function T(e){return function(...t){{let n=t[0]?`on key "${t[0]}" `:"";console.warn(`${wn(e)} operation ${n}failed: target is readonly.`,h(this))}return e==="delete"?!1:this}}function mi(){let e={get(o){return ie(this,o)},get size(){return ae(this)},has:oe,add:bt,set:mt,delete:wt,clear:Et,forEach:se(!1,!1)},t={get(o){return ie(this,o,!1,!0)},get size(){return ae(this)},has:oe,add:bt,set:mt,delete:wt,clear:Et,forEach:se(!1,!0)},n={get(o){return ie(this,o,!0)},get size(){return ae(this,!0)},has(o){return oe.call(this,o,!0)},add:T("add"),set:T("set"),delete:T("delete"),clear:T("clear"),forEach:se(!0,!1)},r={get(o){return ie(this,o,!0,!0)},get size(){return ae(this,!0)},has(o){return oe.call(this,o,!0)},add:T("add"),set:T("set"),delete:T("delete"),clear:T("clear"),forEach:se(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=ue(o,!1,!1),n[o]=ue(o,!0,!1),t[o]=ue(o,!1,!0),r[o]=ue(o,!0,!0)}),[e,n,t,r]}var[wi,Ei,Ai,Si]=mi();function Mn(e,t){let n=t?e?Si:Ai:e?Ei:wi;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(xe(n,i)&&i in r?n:r,i,o)}var Oi={get:Mn(!1,!1)},Ci={get:Mn(!0,!1)};function Tn(e,t,n){let r=h(n);if(r!==n&&t.call(e,r)){let i=mn(e);console.warn(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var In=new WeakMap,Mi=new WeakMap,Pn=new WeakMap,Ti=new WeakMap;function Ii(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pi(e){return e.__v_skip||!Object.isExtensible(e)?0:Ii(mn(e))}function lt(e){return e&&e.__v_isReadonly?e:Rn(e,!1,yi,Oi,In)}function $n(e){return Rn(e,!0,bi,Ci,Pn)}function Rn(e,t,n,r,i){if(!ve(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;let o=i.get(e);if(o)return o;let a=Pi(e);if(a===0)return e;let s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function h(e){return e&&h(e.__v_raw)||e}function ze(e){return!!(e&&e.__v_isRef===!0)}A("nextTick",()=>nt);A("dispatch",e=>Y.bind(Y,e));A("watch",(e,{evaluateLater:t,effect:n})=>(r,i)=>{let o=t(r),a=!0,s,u=n(()=>o(c=>{JSON.stringify(c),a?s=c:queueMicrotask(()=>{i(c,s),s=c}),a=!1}));e._x_effects.delete(u)});A("store",Wr);A("data",e=>Ht(e));A("root",e=>pe(e));A("refs",e=>(e._x_refs_proxy||(e._x_refs_proxy=te($i(e))),e._x_refs_proxy));function $i(e){let t=[],n=e;for(;n;)n._x_refs&&t.push(n._x_refs),n=n.parentNode;return t}var Ae={};function jn(e){return Ae[e]||(Ae[e]=0),++Ae[e]}function Ri(e,t){return _e(e,n=>{if(n._x_ids&&n._x_ids[t])return!0})}function ji(e,t){e._x_ids||(e._x_ids={}),e._x_ids[t]||(e._x_ids[t]=jn(t))}A("id",e=>(t,n=null)=>{let r=Ri(e,t),i=r?r._x_ids[t]:jn(t);return n?`${t}-${i}-${n}`:`${t}-${i}`});A("el",e=>e);Nn("Focus","focus","focus");Nn("Persist","persist","persist");function Nn(e,t,n){A(t,r=>O(`You can't use [$${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,r))}g("modelable",(e,{expression:t},{effect:n,evaluateLater:r,cleanup:i})=>{let o=r(t),a=()=>{let l;return o(d=>l=d),l},s=r(`${t} = __placeholder`),u=l=>s(()=>{},{scope:{__placeholder:l}}),c=a();u(c),queueMicrotask(()=>{if(!e._x_model)return;e._x_removeModelListeners.default();let l=e._x_model.get,d=e._x_model.set,p=hn({get(){return l()},set(y){d(y)}},{get(){return a()},set(y){u(y)}});i(p)})});g("teleport",(e,{modifiers:t,expression:n},{cleanup:r})=>{e.tagName.toLowerCase()!=="template"&&O("x-teleport can only be used on a <template> tag",e);let i=At(n),o=e.content.cloneNode(!0).firstElementChild;e._x_teleport=o,o._x_teleportBack=e,e.setAttribute("data-teleport-template",!0),o.setAttribute("data-teleport-target",!0),e._x_forwardEvents&&e._x_forwardEvents.forEach(s=>{o.addEventListener(s,u=>{u.stopPropagation(),e.dispatchEvent(new u.constructor(u.type,u))})}),ee(o,{},e);let a=(s,u,c)=>{c.includes("prepend")?u.parentNode.insertBefore(s,u):c.includes("append")?u.parentNode.insertBefore(s,u.nextSibling):u.appendChild(s)};v(()=>{a(o,i,t),C(o),o._x_ignore=!0}),e._x_teleportPutBack=()=>{let s=At(n);v(()=>{a(e._x_teleport,s,t)})},r(()=>o.remove())});var Ni=document.createElement("div");function At(e){let t=ge(()=>document.querySelector(e),()=>Ni)();return t||O(`Cannot find x-teleport element for selector: "${e}"`),t}var Ln=()=>{};Ln.inline=(e,{modifiers:t},{cleanup:n})=>{t.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,n(()=>{t.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore})};g("ignore",Ln);g("effect",(e,{expression:t},{effect:n})=>n(m(e,t)));function He(e,t,n,r){let i=e,o=u=>r(u),a={},s=(u,c)=>l=>c(u,l);if(n.includes("dot")&&(t=Li(t)),n.includes("camel")&&(t=Fi(t)),n.includes("passive")&&(a.passive=!0),n.includes("capture")&&(a.capture=!0),n.includes("window")&&(i=window),n.includes("document")&&(i=document),n.includes("debounce")){let u=n[n.indexOf("debounce")+1]||"invalid-wait",c=de(u.split("ms")[0])?Number(u.split("ms")[0]):250;o=pn(o,c)}if(n.includes("throttle")){let u=n[n.indexOf("throttle")+1]||"invalid-wait",c=de(u.split("ms")[0])?Number(u.split("ms")[0]):250;o=_n(o,c)}return n.includes("prevent")&&(o=s(o,(u,c)=>{c.preventDefault(),u(c)})),n.includes("stop")&&(o=s(o,(u,c)=>{c.stopPropagation(),u(c)})),n.includes("self")&&(o=s(o,(u,c)=>{c.target===e&&u(c)})),(n.includes("away")||n.includes("outside"))&&(i=document,o=s(o,(u,c)=>{e.contains(c.target)||c.target.isConnected!==!1&&(e.offsetWidth<1&&e.offsetHeight<1||e._x_isShown!==!1&&u(c))})),n.includes("once")&&(o=s(o,(u,c)=>{u(c),i.removeEventListener(t,o,a)})),o=s(o,(u,c)=>{Ki(t)&&Di(c,n)||u(c)}),i.addEventListener(t,o,a),()=>{i.removeEventListener(t,o,a)}}function Li(e){return e.replace(/-/g,".")}function Fi(e){return e.toLowerCase().replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function de(e){return!Array.isArray(e)&&!isNaN(e)}function Bi(e){return[" ","_"].includes(e)?e:e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function Ki(e){return["keydown","keyup"].includes(e)}function Di(e,t){let n=t.filter(o=>!["window","document","prevent","stop","once","capture"].includes(o));if(n.includes("debounce")){let o=n.indexOf("debounce");n.splice(o,de((n[o+1]||"invalid-wait").split("ms")[0])?2:1)}if(n.includes("throttle")){let o=n.indexOf("throttle");n.splice(o,de((n[o+1]||"invalid-wait").split("ms")[0])?2:1)}if(n.length===0||n.length===1&&St(e.key).includes(n[0]))return!1;let i=["ctrl","shift","alt","meta","cmd","super"].filter(o=>n.includes(o));return n=n.filter(o=>!i.includes(o)),!(i.length>0&&i.filter(a=>((a==="cmd"||a==="super")&&(a="meta"),e[`${a}Key`])).length===i.length&&St(e.key).includes(n[0]))}function St(e){if(!e)return[];e=Bi(e);let t={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",equal:"=",minus:"-",underscore:"_"};return t[e]=e,Object.keys(t).map(n=>{if(t[n]===e)return n}).filter(n=>n)}g("model",(e,{modifiers:t,expression:n},{effect:r,cleanup:i})=>{let o=e;t.includes("parent")&&(o=e.parentNode);let a=m(o,n),s;typeof n=="string"?s=m(o,`${n} = __placeholder`):typeof n=="function"&&typeof n()=="string"?s=m(o,`${n()} = __placeholder`):s=()=>{};let u=()=>{let p;return a(y=>p=y),Ot(p)?p.get():p},c=p=>{let y;a(M=>y=M),Ot(y)?y.set(p):s(()=>{},{scope:{__placeholder:p}})};typeof n=="string"&&e.type==="radio"&&v(()=>{e.hasAttribute("name")||e.setAttribute("name",n)});var l=e.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(e.type)||t.includes("lazy")?"change":"input";let d=P?()=>{}:He(e,l,t,p=>{c(ki(e,t,p,u()))});if(t.includes("fill")&&([null,""].includes(u())||e.type==="checkbox"&&Array.isArray(u()))&&e.dispatchEvent(new Event(l,{})),e._x_removeModelListeners||(e._x_removeModelListeners={}),e._x_removeModelListeners.default=d,i(()=>e._x_removeModelListeners.default()),e.form){let p=He(e.form,"reset",[],y=>{nt(()=>e._x_model&&e._x_model.set(e.value))});i(()=>p())}e._x_model={get(){return u()},set(p){c(p)}},e._x_forceModelUpdate=p=>{p===void 0&&typeof n=="string"&&n.match(/\./)&&(p=""),window.fromModel=!0,v(()=>cn(e,"value",p)),delete window.fromModel},r(()=>{let p=u();t.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate(p)})});function ki(e,t,n,r){return v(()=>{if(n instanceof CustomEvent&&n.detail!==void 0)return n.detail!==null&&n.detail!==void 0?n.detail:n.target.value;if(e.type==="checkbox")if(Array.isArray(r)){let i=t.includes("number")?Se(n.target.value):n.target.value;return n.target.checked?r.concat([i]):r.filter(o=>!zi(o,i))}else return n.target.checked;else{if(e.tagName.toLowerCase()==="select"&&e.multiple)return t.includes("number")?Array.from(n.target.selectedOptions).map(i=>{let o=i.value||i.text;return Se(o)}):Array.from(n.target.selectedOptions).map(i=>i.value||i.text);{let i=n.target.value;return t.includes("number")?Se(i):t.includes("trim")?i.trim():i}}})}function Se(e){let t=e?parseFloat(e):null;return Hi(t)?t:e}function zi(e,t){return e==t}function Hi(e){return!Array.isArray(e)&&!isNaN(e)}function Ot(e){return e!==null&&typeof e=="object"&&typeof e.get=="function"&&typeof e.set=="function"}g("cloak",e=>queueMicrotask(()=>v(()=>e.removeAttribute(W("cloak")))));jt(()=>`[${W("init")}]`);g("init",ge((e,{expression:t},{evaluate:n})=>typeof t=="string"?!!t.trim()&&n(t,{},!1):n(t,{},!1)));g("text",(e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t);n(()=>{i(o=>{v(()=>{e.textContent=o})})})});g("html",(e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t);n(()=>{i(o=>{v(()=>{e.innerHTML=o,e._x_ignoreSelf=!0,C(e),delete e._x_ignoreSelf})})})});et(Qt(":",en(W("bind:"))));var Fn=(e,{value:t,modifiers:n,expression:r,original:i},{effect:o})=>{if(!t){let s={};Ur(s),m(e,r)(c=>{xn(e,c,i)},{scope:s});return}if(t==="key")return Wi(e,r);if(e._x_inlineBindings&&e._x_inlineBindings[t]&&e._x_inlineBindings[t].extract)return;let a=m(e,r);o(()=>a(s=>{s===void 0&&typeof r=="string"&&r.match(/\./)&&(s=""),v(()=>cn(e,t,s,n))}))};Fn.inline=(e,{value:t,modifiers:n,expression:r})=>{t&&(e._x_inlineBindings||(e._x_inlineBindings={}),e._x_inlineBindings[t]={expression:r,extract:!1})};g("bind",Fn);function Wi(e,t){e._x_keyExpression=t}Rt(()=>`[${W("data")}]`);g("data",(e,{expression:t},{cleanup:n})=>{if(Ir(e))return;t=t===""?"{}":t;let r={};Pe(r,e);let i={};Jr(i,r);let o=L(e,t,{scope:i});(o===void 0||o===!0)&&(o={}),Pe(o,e);let a=z(o);Wt(a);let s=ee(e,a);a.init&&L(e,a.init),n(()=>{a.destroy&&L(e,a.destroy),s()})});g("show",(e,{modifiers:t,expression:n},{effect:r})=>{let i=m(e,n);e._x_doHide||(e._x_doHide=()=>{v(()=>{e.style.setProperty("display","none",t.includes("important")?"important":void 0)})}),e._x_doShow||(e._x_doShow=()=>{v(()=>{e.style.length===1&&e.style.display==="none"?e.removeAttribute("style"):e.style.removeProperty("display")})});let o=()=>{e._x_doHide(),e._x_isShown=!1},a=()=>{e._x_doShow(),e._x_isShown=!0},s=()=>setTimeout(a),u=Fe(d=>d?a():o(),d=>{typeof e._x_toggleAndCascadeWithTransitions=="function"?e._x_toggleAndCascadeWithTransitions(e,d,a,o):d?s():o()}),c,l=!0;r(()=>i(d=>{!l&&d===c||(t.includes("immediate")&&(d?s():o()),u(d),c=d,l=!1)}))});g("for",(e,{expression:t},{effect:n,cleanup:r})=>{let i=Ui(t),o=m(e,i.items),a=m(e,e._x_keyExpression||"index");e._x_prevKeys=[],e._x_lookup={},n(()=>qi(e,i,o,a)),r(()=>{Object.values(e._x_lookup).forEach(s=>s.remove()),delete e._x_prevKeys,delete e._x_lookup})});function qi(e,t,n,r){let i=a=>typeof a=="object"&&!Array.isArray(a),o=e;n(a=>{Vi(a)&&a>=0&&(a=Array.from(Array(a).keys(),f=>f+1)),a===void 0&&(a=[]);let s=e._x_lookup,u=e._x_prevKeys,c=[],l=[];if(i(a))a=Object.entries(a).map(([f,_])=>{let x=Ct(t,_,f,a);r(b=>l.push(b),{scope:{index:f,...x}}),c.push(x)});else for(let f=0;f<a.length;f++){let _=Ct(t,a[f],f,a);r(x=>l.push(x),{scope:{index:f,..._}}),c.push(_)}let d=[],p=[],y=[],M=[];for(let f=0;f<u.length;f++){let _=u[f];l.indexOf(_)===-1&&y.push(_)}u=u.filter(f=>!y.includes(f));let re="template";for(let f=0;f<l.length;f++){let _=l[f],x=u.indexOf(_);if(x===-1)u.splice(f,0,_),d.push([re,f]);else if(x!==f){let b=u.splice(f,1)[0],w=u.splice(x-1,1)[0];u.splice(f,0,w),u.splice(x,0,b),p.push([b,w])}else M.push(_);re=_}for(let f=0;f<y.length;f++){let _=y[f];s[_]._x_effects&&s[_]._x_effects.forEach(Mt),s[_].remove(),s[_]=null,delete s[_]}for(let f=0;f<p.length;f++){let[_,x]=p[f],b=s[_],w=s[x],K=document.createElement("div");v(()=>{w||O('x-for ":key" is undefined or invalid',o),w.after(K),b.after(w),w._x_currentIfEl&&w.after(w._x_currentIfEl),K.before(b),b._x_currentIfEl&&b.after(b._x_currentIfEl),K.remove()}),w._x_refreshXForScope(c[l.indexOf(x)])}for(let f=0;f<d.length;f++){let[_,x]=d[f],b=_==="template"?o:s[_];b._x_currentIfEl&&(b=b._x_currentIfEl);let w=c[x],K=l[x],q=document.importNode(o.content,!0).firstElementChild,pt=z(w);ee(q,pt,o),q._x_refreshXForScope=Dn=>{Object.entries(Dn).forEach(([kn,zn])=>{pt[kn]=zn})},v(()=>{b.after(q),C(q)}),typeof K=="object"&&O("x-for key cannot be an object, it must be a string or an integer",o),s[K]=q}for(let f=0;f<M.length;f++)s[M[f]]._x_refreshXForScope(c[l.indexOf(M[f])]);o._x_prevKeys=l})}function Ui(e){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,n=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,i=e.match(r);if(!i)return;let o={};o.items=i[2].trim();let a=i[1].replace(n,"").trim(),s=a.match(t);return s?(o.item=a.replace(t,"").trim(),o.index=s[1].trim(),s[2]&&(o.collection=s[2].trim())):o.item=a,o}function Ct(e,t,n,r){let i={};return/^\[.*\]$/.test(e.item)&&Array.isArray(t)?e.item.replace("[","").replace("]","").split(",").map(a=>a.trim()).forEach((a,s)=>{i[a]=t[s]}):/^\{.*\}$/.test(e.item)&&!Array.isArray(t)&&typeof t=="object"?e.item.replace("{","").replace("}","").split(",").map(a=>a.trim()).forEach(a=>{i[a]=t[a]}):i[e.item]=t,e.index&&(i[e.index]=n),e.collection&&(i[e.collection]=r),i}function Vi(e){return!Array.isArray(e)&&!isNaN(e)}function Bn(){}Bn.inline=(e,{expression:t},{cleanup:n})=>{let r=pe(e);r._x_refs||(r._x_refs={}),r._x_refs[t]=e,n(()=>delete r._x_refs[t])};g("ref",Bn);g("if",(e,{expression:t},{effect:n,cleanup:r})=>{e.tagName.toLowerCase()!=="template"&&O("x-if can only be used on a <template> tag",e);let i=m(e,t),o=()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let s=e.content.cloneNode(!0).firstElementChild;return ee(s,{},e),v(()=>{e.after(s),C(s)}),e._x_currentIfEl=s,e._x_undoIf=()=>{I(s,u=>{u._x_effects&&u._x_effects.forEach(Mt)}),s.remove(),delete e._x_currentIfEl},s},a=()=>{e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)};n(()=>i(s=>{s?o():a()})),r(()=>e._x_undoIf&&e._x_undoIf())});g("id",(e,{expression:t},{evaluate:n})=>{n(t).forEach(i=>ji(e,i))});et(Qt("@",en(W("on:"))));g("on",ge((e,{value:t,modifiers:n,expression:r},{cleanup:i})=>{let o=r?m(e,r):()=>{};e.tagName.toLowerCase()==="template"&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(t)||e._x_forwardEvents.push(t));let a=He(e,t,n,s=>{o(()=>{},{scope:{$event:s},params:[s]})});i(()=>a())}));me("Collapse","collapse","collapse");me("Intersect","intersect","intersect");me("Focus","trap","focus");me("Mask","mask","mask");function me(e,t,n){g(t,r=>O(`You can't use [x-${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,r))}ne.setEvaluator(Yt);ne.setReactivityEngine({reactive:lt,effect:ii,release:oi,raw:h});var Ji=ne,ft=Ji;function dt(e){let t=[];for(let n=0;n<e.attributes.length;++n){let r=e.attributes[n];r.name.startsWith("x-")&&t.push(r)}return t}function Yi(e){let t=document.createElement("template");dt(e).forEach(r=>{t.setAttribute(r.name,r.value),e.removeAttribute(r.name)}),e.parentNode.insertBefore(t,e),t.content.appendChild(e)}function Gi(e){dt(e).forEach(n=>{let r=n.name.match(/^(x-[^:]+)(:.+)$/);if(r){let i=null;if(["x-bind","x-on"].includes(r[1])){let o=r[1],a=r[2].substring(1);o==="x-on"&&a.startsWith("update:")&&(o+=":update",a=a.substring(7)),a.includes(":")&&(i=o+":"+a.replace(/:/g,"."))}else i=r[1]+r[2].replace(/:/g,".");i&&(e.setAttribute(i,n.value),e.removeAttribute(n.name))}})}function Xi(e){dt(e).forEach(n=>{n.name.match(/^x-transition.*(?!(enter|leave))/)&&e.setAttribute(n.name,"")})}function Zi(){document.querySelectorAll("[x-data],[x-data] *").forEach(e=>{Gi(e),Xi(e)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach(Yi)}function Kn(){window.Alpine=ft,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{Zi(),ft.start()})}window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{Kn()});})();
|