var F5=Object.defineProperty;var k9=($,J)=>{for(var K in J)F5($,K,{get:J[K],enumerable:!0,configurable:!0,set:(Q)=>J[K]=()=>Q})};var C5="1.3.13";function zZ($,J,K){return Math.max($,Math.min(J,K))}function D5($,J,K){return(1-K)*$+K*J}function E5($,J,K,Q){return D5($,J,1-Math.exp(-K*Q))}function I5($,J){return($%J+J)%J}var O5=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance($){if(!this.isRunning)return;let J=!1;if(this.duration&&this.easing){this.currentTime+=$;let K=zZ(0,this.currentTime/this.duration,1);J=K>=1;let Q=J?1:this.easing(K);this.value=this.from+(this.to-this.from)*Q}else if(this.lerp){if(this.value=E5(this.value,this.to,this.lerp*60,$),Math.round(this.value)===this.to)this.value=this.to,J=!0}else this.value=this.to,J=!0;if(J)this.stop();this.onUpdate?.(this.value,J)}stop(){this.isRunning=!1}fromTo($,J,{lerp:K,duration:Q,easing:Z,onStart:W,onUpdate:q}){this.from=this.value=$,this.to=J,this.lerp=K,this.duration=Q,this.easing=Z,this.currentTime=0,this.isRunning=!0,W?.(),this.onUpdate=q}};function A5($,J){let K;return function(...Q){let Z=this;clearTimeout(K),K=setTimeout(()=>{K=void 0,$.apply(Z,Q)},J)}}var k5=class{constructor($,J,{autoResize:K=!0,debounce:Q=250}={}){if(this.wrapper=$,this.content=J,K){if(this.debouncedResize=A5(this.resize,Q),this.wrapper instanceof Window)window.addEventListener("resize",this.debouncedResize,!1);else this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper);this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)}this.resize()}width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;destroy(){if(this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize)window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{if(this.wrapper instanceof Window)this.width=window.innerWidth,this.height=window.innerHeight;else this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight};onContentResize=()=>{if(this.wrapper instanceof Window)this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth;else this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},RZ=class{events={};emit($,...J){let K=this.events[$]||[];for(let Q=0,Z=K.length;Q{this.events[$]=this.events[$]?.filter((K)=>J!==K)}}off($,J){this.events[$]=this.events[$]?.filter((K)=>J!==K)}destroy(){this.events={}}},jZ=16.666666666666668,h7={passive:!1},P5=class{constructor($,J={wheelMultiplier:1,touchMultiplier:1}){this.element=$,this.options=J,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,h7),this.element.addEventListener("touchstart",this.onTouchStart,h7),this.element.addEventListener("touchmove",this.onTouchMove,h7),this.element.addEventListener("touchend",this.onTouchEnd,h7)}touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new RZ;on($,J){return this.emitter.on($,J)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,h7),this.element.removeEventListener("touchstart",this.onTouchStart,h7),this.element.removeEventListener("touchmove",this.onTouchMove,h7),this.element.removeEventListener("touchend",this.onTouchEnd,h7)}onTouchStart=($)=>{let{clientX:J,clientY:K}=$.targetTouches?$.targetTouches[0]:$;this.touchStart.x=J,this.touchStart.y=K,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:$})};onTouchMove=($)=>{let{clientX:J,clientY:K}=$.targetTouches?$.targetTouches[0]:$,Q=-(J-this.touchStart.x)*this.options.touchMultiplier,Z=-(K-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=J,this.touchStart.y=K,this.lastDelta={x:Q,y:Z},this.emitter.emit("scroll",{deltaX:Q,deltaY:Z,event:$})};onTouchEnd=($)=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:$})};onWheel=($)=>{let{deltaX:J,deltaY:K,deltaMode:Q}=$,Z=Q===1?jZ:Q===2?this.window.width:1,W=Q===1?jZ:Q===2?this.window.height:1;J*=Z,K*=W,J*=this.options.wheelMultiplier,K*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:J,deltaY:K,event:$})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}},LZ=($)=>Math.min(1,1.001-Math.pow(2,-10*$)),MZ=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;__rafID=null;isTouching;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new O5;emitter=new RZ;dimensions;virtualScroll;constructor({wrapper:$=window,content:J=document.documentElement,eventsTarget:K=$,smoothWheel:Q=!0,syncTouch:Z=!1,syncTouchLerp:W=0.075,touchInertiaExponent:q=1.7,duration:G,easing:H,lerp:B=0.1,infinite:U=!1,orientation:X="vertical",gestureOrientation:j=X==="horizontal"?"both":"vertical",touchMultiplier:Y=1,wheelMultiplier:z=1,autoResize:L=!0,prevent:R,virtualScroll:D,overscroll:A=!0,autoRaf:C=!1,anchors:F=!1,autoToggle:V=!1,allowNestedScroll:P=!1,__experimental__naiveDimensions:M=!1}={}){if(window.lenisVersion=C5,!$||$===document.documentElement)$=window;if(typeof G==="number"&&typeof H!=="function")H=LZ;else if(typeof H==="function"&&typeof G!=="number")G=1;if(this.options={wrapper:$,content:J,eventsTarget:K,smoothWheel:Q,syncTouch:Z,syncTouchLerp:W,touchInertiaExponent:q,duration:G,easing:H,lerp:B,infinite:U,gestureOrientation:j,orientation:X,touchMultiplier:Y,wheelMultiplier:z,autoResize:L,prevent:R,virtualScroll:D,overscroll:A,autoRaf:C,anchors:F,autoToggle:V,allowNestedScroll:P,__experimental__naiveDimensions:M},this.dimensions=new k5($,J,{autoResize:L}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.anchors&&this.options.wrapper===window)this.options.wrapper.addEventListener("click",this.onClick,!1);if(this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new P5(K,{touchMultiplier:Y,wheelMultiplier:z}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle)this.rootElement.addEventListener("transitionend",this.onTransitionEnd,{passive:!0});if(this.options.autoRaf)this.__rafID=requestAnimationFrame(this.raf)}destroy(){if(this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.options.anchors&&this.options.wrapper===window)this.options.wrapper.removeEventListener("click",this.onClick,!1);if(this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this.__rafID)cancelAnimationFrame(this.__rafID)}on($,J){return this.emitter.on($,J)}off($,J){return this.emitter.off($,J)}onScrollEnd=($)=>{if(!($ instanceof CustomEvent)){if(this.isScrolling==="smooth"||this.isScrolling===!1)$.stopPropagation()}};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};onTransitionEnd=($)=>{if($.propertyName.includes("overflow")){let J=this.isHorizontal?"overflow-x":"overflow-y",K=getComputedStyle(this.rootElement)[J];if(["hidden","clip"].includes(K))this.internalStop();else this.internalStart()}};setScroll($){if(this.isHorizontal)this.options.wrapper.scrollTo({left:$,behavior:"instant"});else this.options.wrapper.scrollTo({top:$,behavior:"instant"})}onClick=($)=>{let K=$.composedPath().find((Q)=>Q instanceof HTMLAnchorElement&&Q.getAttribute("href")?.includes("#"));if(K){let Q=K.getAttribute("href");if(Q){let Z=typeof this.options.anchors==="object"&&this.options.anchors?this.options.anchors:void 0,W=`#${Q.split("#")[1]}`;this.scrollTo(W,Z)}}};onPointerDown=($)=>{if($.button===1)this.reset()};onVirtualScroll=($)=>{if(typeof this.options.virtualScroll==="function"&&this.options.virtualScroll($)===!1)return;let{deltaX:J,deltaY:K,event:Q}=$;if(this.emitter.emit("virtual-scroll",{deltaX:J,deltaY:K,event:Q}),Q.ctrlKey)return;if(Q.lenisStopPropagation)return;let Z=Q.type.includes("touch"),W=Q.type.includes("wheel");this.isTouching=Q.type==="touchstart"||Q.type==="touchmove";let q=J===0&&K===0;if(this.options.syncTouch&&Z&&Q.type==="touchstart"&&q&&!this.isStopped&&!this.isLocked){this.reset();return}let H=this.options.gestureOrientation==="vertical"&&K===0||this.options.gestureOrientation==="horizontal"&&J===0;if(q||H)return;let B=Q.composedPath();B=B.slice(0,B.indexOf(this.rootElement));let U=this.options.prevent;if(B.find((R)=>R instanceof HTMLElement&&(typeof U==="function"&&U?.(R)||R.hasAttribute?.("data-lenis-prevent")||Z&&R.hasAttribute?.("data-lenis-prevent-touch")||W&&R.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.checkNestedScroll(R,{deltaX:J,deltaY:K}))))return;if(this.isStopped||this.isLocked){if(Q.cancelable)Q.preventDefault();return}if(!(this.options.syncTouch&&Z||this.options.smoothWheel&&W)){this.isScrolling="native",this.animate.stop(),Q.lenisStopPropagation=!0;return}let j=K;if(this.options.gestureOrientation==="both")j=Math.abs(K)>Math.abs(J)?K:J;else if(this.options.gestureOrientation==="horizontal")j=J;if(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll0||this.animatedScroll===this.limit&&K<0))Q.lenisStopPropagation=!0;if(Q.cancelable)Q.preventDefault();let Y=Z&&this.options.syncTouch,L=Z&&Q.type==="touchend";if(L)j=Math.sign(this.velocity)*Math.pow(Math.abs(this.velocity),this.options.touchInertiaExponent);this.scrollTo(this.targetScroll+j,{programmatic:!1,...Y?{lerp:L?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(this._resetVelocityTimeout!==null)clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null;if(this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){let $=this.animatedScroll;if(this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-$,this.direction=Math.sign(this.animatedScroll-$),!this.isStopped)this.isScrolling="native";if(this.emit(),this.velocity!==0)this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400)}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(!this.isStopped)return;if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart()}internalStart(){if(!this.isStopped)return;this.reset(),this.isStopped=!1,this.emit()}stop(){if(this.isStopped)return;if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop()}internalStop(){if(this.isStopped)return;this.reset(),this.isStopped=!0,this.emit()}raf=($)=>{let J=$-(this.time||$);if(this.time=$,this.animate.advance(J*0.001),this.options.autoRaf)this.__rafID=requestAnimationFrame(this.raf)};scrollTo($,{offset:J=0,immediate:K=!1,lock:Q=!1,duration:Z=this.options.duration,easing:W=this.options.easing,lerp:q=this.options.lerp,onStart:G,onComplete:H,force:B=!1,programmatic:U=!0,userData:X}={}){if((this.isStopped||this.isLocked)&&!B)return;if(typeof $==="string"&&["top","left","start","#"].includes($))$=0;else if(typeof $==="string"&&["bottom","right","end"].includes($))$=this.limit;else{let j;if(typeof $==="string"){if(j=document.querySelector($),!j)if($==="#top")$=0;else console.warn("Lenis: Target not found",$)}else if($ instanceof HTMLElement&&$?.nodeType)j=$;if(j){if(this.options.wrapper!==window){let z=this.rootElement.getBoundingClientRect();J-=this.isHorizontal?z.left:z.top}let Y=j.getBoundingClientRect();$=(this.isHorizontal?Y.left:Y.top)+this.animatedScroll}}if(typeof $!=="number")return;if($+=J,$=Math.round($),this.options.infinite){if(U){this.targetScroll=this.animatedScroll=this.scroll;let j=$-this.animatedScroll;if(j>this.limit/2)$=$-this.limit;else if(j<-this.limit/2)$=$+this.limit}}else $=zZ(0,$,this.limit);if($===this.targetScroll){G?.(this),H?.(this);return}if(this.userData=X??{},K){this.animatedScroll=this.targetScroll=$,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),H?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}if(!U)this.targetScroll=$;if(typeof Z==="number"&&typeof W!=="function")W=LZ;else if(typeof W==="function"&&typeof Z!=="number")Z=1;this.animate.fromTo(this.animatedScroll,$,{duration:Z,easing:W,lerp:q,onStart:()=>{if(Q)this.isLocked=!0;this.isScrolling="smooth",G?.(this)},onUpdate:(j,Y)=>{if(this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=j-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=j,this.setScroll(this.scroll),U)this.targetScroll=j;if(!Y)this.emit();if(Y)this.reset(),this.emit(),H?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent()}})}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}checkNestedScroll($,{deltaX:J,deltaY:K}){let Q=Date.now(),Z=$._lenis??={},W,q,G,H,B,U,X,j,Y=this.options.gestureOrientation;if(Q-(Z.time??0)>2000){Z.time=Date.now();let V=window.getComputedStyle($);Z.computedStyle=V;let{overflowX:P,overflowY:M}=V;if(W=["auto","overlay","scroll"].includes(P),q=["auto","overlay","scroll"].includes(M),Z.hasOverflowX=W,Z.hasOverflowY=q,!W&&!q)return!1;if(Y==="vertical"&&!q)return!1;if(Y==="horizontal"&&!W)return!1;B=$.scrollWidth,U=$.scrollHeight,X=$.clientWidth,j=$.clientHeight,G=B>X,H=U>j,Z.isScrollableX=G,Z.isScrollableY=H,Z.scrollWidth=B,Z.scrollHeight=U,Z.clientWidth=X,Z.clientHeight=j}else G=Z.isScrollableX,H=Z.isScrollableY,W=Z.hasOverflowX,q=Z.hasOverflowY,B=Z.scrollWidth,U=Z.scrollHeight,X=Z.clientWidth,j=Z.clientHeight;if(!W&&!q||!G&&!H)return!1;if(Y==="vertical"&&(!q||!H))return!1;if(Y==="horizontal"&&(!W||!G))return!1;let z;if(Y==="horizontal")z="x";else if(Y==="vertical")z="y";else{let V=J!==0,P=K!==0;if(V&&W&&G)z="x";if(P&&q&&H)z="y"}if(!z)return!1;let L,R,D,A,C;if(z==="x")L=$.scrollLeft,R=B-X,D=J,A=W,C=G;else if(z==="y")L=$.scrollTop,R=U-j,D=K,A=q,C=H;else return!1;return(D>0?L0)&&A&&C}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){if(this.options.__experimental__naiveDimensions)if(this.isHorizontal)return this.rootElement.scrollWidth-this.rootElement.clientWidth;else return this.rootElement.scrollHeight-this.rootElement.clientHeight;else return this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){let $=this.options.wrapper;return this.isHorizontal?$.scrollX??$.scrollLeft:$.scrollY??$.scrollTop}get scroll(){return this.options.infinite?I5(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling($){if(this._isScrolling!==$)this._isScrolling=$,this.updateClassName()}get isStopped(){return this._isStopped}set isStopped($){if(this._isStopped!==$)this._isStopped=$,this.updateClassName()}get isLocked(){return this._isLocked}set isLocked($){if(this._isLocked!==$)this._isLocked=$,this.updateClassName()}get isSmooth(){return this.isScrolling==="smooth"}get className(){let $="lenis";if(this.options.autoToggle)$+=" lenis-autoToggle";if(this.isStopped)$+=" lenis-stopped";if(this.isLocked)$+=" lenis-locked";if(this.isScrolling)$+=" lenis-scrolling";if(this.isScrolling==="smooth")$+=" lenis-smooth";return $}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};function z7($){if($===void 0)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return $}function OZ($,J){$.prototype=Object.create(J.prototype),$.prototype.constructor=$,$.__proto__=J}/*! * GSAP 3.13.0 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var D1={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},x9={duration:0.5,overwrite:!1,delay:0},DQ,a0,V0,f1=1e8,j0=1/f1,XQ=Math.PI*2,x5=XQ/4,T5=0,AZ=Math.sqrt,S5=Math.cos,w5=Math.sin,_0=function(J){return typeof J==="string"},I0=function(J){return typeof J==="function"},M7=function(J){return typeof J==="number"},G8=function(J){return typeof J>"u"},W7=function(J){return typeof J==="object"},C1=function(J){return J!==!1},EQ=function(){return typeof window<"u"},tJ=function(J){return I0(J)||_0(J)},kZ=typeof ArrayBuffer==="function"&&ArrayBuffer.isView||function(){},$1=Array.isArray,YQ=/(?:-?\.?\d|\.)+/gi,IQ=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Z9=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,$Q=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,OQ=/[+-]=-?[.\d]+/,PZ=/[^,'"\[\]\s]+/gi,b5=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,C0,Z7,jQ,AQ,k1={},K8={},xZ,TZ=function(J){return(K8=T9(J,k1))&&W1},H8=function(J,K){return console.warn("Invalid property",J,"set to",K,"Missing plugin? gsap.registerPlugin()")},YJ=function(J,K){return!K&&console.warn(J)},SZ=function(J,K){return J&&(k1[J]=K)&&K8&&(K8[J]=K)||k1},jJ=function(){return 0},y5={suppressEvents:!0,isStart:!0,kill:!1},eJ={suppressEvents:!0,kill:!1},h5={suppressEvents:!0},kQ={},v7=[],LQ={},wZ,V1={},WQ={},NZ=30,J8=[],PQ="",xQ=function(J){var K=J[0],Q,Z;if(W7(K)||I0(K)||(J=[J]),!(Q=(K._gsap||{}).harness)){Z=J8.length;while(Z--&&!J8[Z].targetTest(K));Q=J8[Z]}Z=J.length;while(Z--)J[Z]&&(J[Z]._gsap||(J[Z]._gsap=new bQ(J[Z],Q)))||J.splice(Z,1);return J},_7=function(J){return J._gsap||xQ(v1(J))[0]._gsap},TQ=function(J,K,Q){return(Q=J[K])&&I0(Q)?J[K]():G8(Q)&&J.getAttribute&&J.getAttribute(K)||Q},X1=function(J,K){return(J=J.split(",")).forEach(K)||J},O0=function(J){return Math.round(J*1e5)/1e5||0},b0=function(J){return Math.round(J*1e7)/1e7||0},$9=function(J,K){var Q=K.charAt(0),Z=parseFloat(K.substr(2));return J=parseFloat(J),Q==="+"?J+Z:Q==="-"?J-Z:Q==="*"?J*Z:J/Z},f5=function(J,K){var Q=K.length,Z=0;for(;J.indexOf(K[Z])<0&&++ZG)q=q._prev}if(q)K._next=q._next,q._next=K;else K._next=J[Q],J[Q]=K;if(K._next)K._next._prev=K;else J[Z]=K;return K._prev=q,K.parent=K._dp=J,K},RJ=function(J,K,Q,Z){if(Q===void 0)Q="_first";if(Z===void 0)Z="_last";var{_prev:W,_next:q}=K;if(W)W._next=q;else if(J[Q]===K)J[Q]=q;if(q)q._prev=W;else if(J[Z]===K)J[Z]=W;K._next=K._prev=K.parent=null},u7=function(J,K){J.parent&&(!K||J.parent.autoRemoveChildren)&&J.parent.remove&&J.parent.remove(J),J._act=0},J9=function(J,K){if(J&&(!K||K._end>J._dur||K._start<0)){var Q=J;while(Q)Q._dirty=1,Q=Q.parent}return J},u5=function(J){var K=J.parent;while(K&&K.parent)K._dirty=1,K.totalDuration(),K=K.parent;return J},zQ=function(J,K,Q,Z){return J._startAt&&(a0?J._startAt.revert(eJ):J.vars.immediateRender&&!J.vars.autoRevert||J._startAt.render(K,!0,Z))},g5=function $(J){return!J||J._ts&&$(J.parent)},FZ=function(J){return J._repeat?S9(J._tTime,J=J.duration()+J._rDelay)*J:0},S9=function(J,K){var Q=Math.floor(J=b0(J/K));return J&&Q===J?Q-1:Q},W8=function(J,K){return(J-K._start)*K._ts+(K._ts>=0?0:K._dirty?K.totalDuration():K._tDur)},B8=function(J){return J._end=b0(J._start+(J._tDur/Math.abs(J._ts||J._rts||j0)||0))},U8=function(J,K){var Q=J._dp;if(Q&&Q.smoothChildTiming&&J._ts)J._start=b0(Q._time-(J._ts>0?K/J._ts:((J._dirty?J.totalDuration():J._tDur)-K)/-J._ts)),B8(J),Q._dirty||J9(Q,J);return J},vZ=function(J,K){var Q;if(K._time||!K._dur&&K._initted||K._startj0)K.render(Q,!0)}if(J9(J,K)._dp&&J._initted&&J._time>=J._dur&&J._ts){if(J._dur=0&&Q.totalTime(Q._tTime),Q=Q._dp}J._zTime=-j0}},$7=function(J,K,Q,Z){return K.parent&&u7(K),K._start=b0((M7(Q)?Q:Q||J!==C0?h1(J,Q,K):J._time)+K._delay),K._end=b0(K._start+(K.totalDuration()/Math.abs(K.timeScale())||0)),fZ(J,K,"_first","_last",J._sort?"_start":0),RQ(K)||(J._recent=K),Z||vZ(J,K),J._ts<0&&U8(J,J._tTime),J},_Z=function(J,K){return(k1.ScrollTrigger||H8("scrollTrigger",K))&&k1.ScrollTrigger.create(K,J)},uZ=function(J,K,Q,Z,W){if(fQ(J,K,W),!J._initted)return 1;if(!Q&&J._pt&&!a0&&(J._dur&&J.vars.lazy!==!1||!J._dur&&J.vars.lazy)&&wZ!==F1.frame)return v7.push(J),J._lazy=[W,Z],1},d5=function $(J){var K=J.parent;return K&&K._ts&&K._initted&&!K._lock&&(K.rawTime()<0||$(K))},RQ=function(J){var K=J.data;return K==="isFromStart"||K==="isStart"},m5=function(J,K,Q,Z){var W=J.ratio,q=K<0||!K&&(!J._start&&d5(J)&&!(!J._initted&&RQ(J))||(J._ts<0||J._dp._ts<0)&&!RQ(J))?0:1,G=J._rDelay,H=0,B,U,X;if(G&&J._repeat){if(H=MJ(0,J._tDur,K),U=S9(H,G),J._yoyo&&U&1&&(q=1-q),U!==S9(J._tTime,G))W=1-q,J.vars.repeatRefresh&&J._initted&&J.invalidate()}if(q!==W||a0||Z||J._zTime===j0||!K&&J._zTime){if(!J._initted&&uZ(J,K,Z,Q,H))return;X=J._zTime,J._zTime=K||(Q?j0:0),Q||(Q=K&&!X),J.ratio=q,J._from&&(q=1-q),J._time=0,J._tTime=H,B=J._pt;while(B)B.r(q,B.d),B=B._next;if(K<0&&zQ(J,K,Q,!0),J._onUpdate&&!Q&&A1(J,"onUpdate"),H&&J._repeat&&!Q&&J.parent&&A1(J,"onRepeat"),(K>=J._tDur||K<0)&&J.ratio===q){if(q&&u7(J,1),!Q&&!a0)A1(J,q?"onComplete":"onReverseComplete",!0),J._prom&&J._prom()}}else if(!J._zTime)J._zTime=K},c5=function(J,K,Q){var Z;if(Q>K){Z=J._first;while(Z&&Z._start<=Q){if(Z.data==="isPause"&&Z._start>K)return Z;Z=Z._next}}else{Z=J._last;while(Z&&Z._start>=Q){if(Z.data==="isPause"&&Z._start0&&!Z&&U8(J,J._tTime=J._tDur*G),J.parent&&B8(J),Q||J9(J.parent,J),J},CZ=function(J){return J instanceof r0?J9(J):w9(J,J._dur)},p5={_start:0,endTime:jJ,totalDuration:jJ},h1=function $(J,K,Q){var Z=J.labels,W=J._recent||p5,q=J.duration()>=f1?W.endTime(!1):J._dur,G,H,B;if(_0(K)&&(isNaN(K)||(K in Z))){if(H=K.charAt(0),B=K.substr(-1)==="%",G=K.indexOf("="),H==="<"||H===">")return G>=0&&(K=K.replace(/=/,"")),(H==="<"?W._start:W.endTime(W._repeat>=0))+(parseFloat(K.substr(1))||0)*(B?(G<0?W:Q).totalDuration()/100:1);if(G<0)return K in Z||(Z[K]=q),Z[K];if(H=parseFloat(K.charAt(G-1)+K.substr(G+1)),B&&Q)H=H/100*($1(Q)?Q[0]:Q).totalDuration();return G>1?$(J,K.substr(0,G-1),Q)+H:q+H}return K==null?q:+K},UJ=function(J,K,Q){var Z=M7(K[1]),W=(Z?2:1)+(J<2?0:1),q=K[W],G,H;if(Z&&(q.duration=K[1]),q.parent=Q,J){G=q,H=Q;while(H&&!("immediateRender"in G))G=H.vars.defaults||{},H=C1(H.vars.inherit)&&H.parent;q.immediateRender=C1(G.immediateRender),J<2?q.runBackwards=1:q.startAt=K[W-1]}return new T0(K[0],q,K[W+1])},g7=function(J,K){return J||J===0?K(J):K},MJ=function(J,K,Q){return QK?K:Q},t0=function(J,K){return!_0(J)||!(K=b5.exec(J))?"":K[1]},l5=function(J,K,Q){return g7(Q,function(Z){return MJ(J,K,Z)})},MQ=[].slice,gZ=function(J,K){return J&&W7(J)&&"length"in J&&(!K&&!J.length||(J.length-1 in J)&&W7(J[0]))&&!J.nodeType&&J!==Z7},o5=function(J,K,Q){if(Q===void 0)Q=[];return J.forEach(function(Z){var W;return _0(Z)&&!K||gZ(Z,1)?(W=Q).push.apply(W,v1(Z)):Q.push(Z)})||Q},v1=function(J,K,Q){return V0&&!K&&V0.selector?V0.selector(J):_0(J)&&!Q&&(jQ||!b9())?MQ.call((K||AQ).querySelectorAll(J),0):$1(J)?o5(J,Q):gZ(J)?MQ.call(J,0):J?[J]:[]},NQ=function(J){return J=v1(J)[0]||YJ("Invalid scope")||{},function(K){var Q=J.current||J.nativeElement||J;return v1(K,Q.querySelectorAll?Q:Q===J?YJ("Invalid scope")||AQ.createElement("div"):J)}},dZ=function(J){return J.sort(function(){return 0.5-Math.random()})},mZ=function(J){if(I0(J))return J;var K=W7(J)?J:{each:J},Q=Q9(K.ease),Z=K.from||0,W=parseFloat(K.base)||0,q={},G=Z>0&&Z<1,H=isNaN(Z)||G,B=K.axis,U=Z,X=Z;if(_0(Z))U=X={center:0.5,edges:0.5,end:1}[Z]||0;else if(!G&&H)U=Z[0],X=Z[1];return function(j,Y,z){var L=(z||K).length,R=q[L],D,A,C,F,V,P,M,E,I;if(!R){if(I=K.grid==="auto"?0:(K.grid||[1,f1])[1],!I){M=-f1;while(M<(M=z[I++].getBoundingClientRect().left)&&IM&&(M=V),VL?L-1:!B?Math.max(I,L/I):B==="y"?L/I:I)||0)*(Z==="edges"?-1:1),R.b=L<0?W-L:W,R.u=t0(K.amount||K.each)||0,Q=Q&&L<0?aZ(Q):Q}return L=(R[j]-R.min)/R.max||0,b0(R.b+(Q?Q(L):L)*R.v)+R.u}},VQ=function(J){var K=Math.pow(10,((J+"").split(".")[1]||"").length);return function(Q){var Z=b0(Math.round(parseFloat(Q)/J)*J*K);return(Z-Z%1)/K+(M7(Q)?0:t0(Q))}},cZ=function(J,K){var Q=$1(J),Z,W;if(!Q&&W7(J))if(Z=Q=J.radius||f1,J.values){if(J=v1(J.values),W=!M7(J[0]))Z*=Z}else J=VQ(J.increment);return g7(K,!Q?VQ(J):I0(J)?function(q){return W=J(q),Math.abs(W-q)<=Z?W:q}:function(q){var G=parseFloat(W?q.x:q),H=parseFloat(W?q.y:0),B=f1,U=0,X=J.length,j,Y;while(X--){if(W)j=J[X].x-G,Y=J[X].y-H,j=j*j+Y*Y;else j=Math.abs(J[X]-G);if(jZ?W-q:q)})},y9=function(J){var K=0,Q="",Z,W,q,G;while(~(Z=J.indexOf("random(",K)))q=J.indexOf(")",Z),G=J.charAt(Z+7)==="[",W=J.substr(Z+7,q-Z-7).match(G?PZ:YQ),Q+=J.substr(K,Z-K)+pZ(G?W:+W[0],G?0:+W[1],+W[2]||0.00001),K=q+1;return Q+J.substr(K,J.length-K)},oZ=function(J,K,Q,Z,W){var q=K-J,G=Z-Q;return g7(W,function(H){return Q+((H-J)/q*G||0)})},t5=function $(J,K,Q,Z){var W=isNaN(J+K)?0:function(Y){return(1-Y)*J+Y*K};if(!W){var q=_0(J),G={},H,B,U,X,j;if(Q===!0&&(Z=1)&&(Q=null),q)J={p:J},K={p:K};else if($1(J)&&!$1(K)){U=[],X=J.length,j=X-2;for(B=1;B(G=Math.abs(G)))H=q,W=G;return H},A1=function(J,K,Q){var Z=J.vars,W=Z[K],q=V0,G=J._ctx,H,B,U;if(!W)return;return H=Z[K+"Params"],B=Z.callbackScope||J,Q&&v7.length&&Z8(),G&&(V0=G),U=H?W.apply(B,H):W.call(B),V0=q,U},GJ=function(J){return u7(J),J.scrollTrigger&&J.scrollTrigger.kill(!!a0),J.progress()<1&&A1(J,"onInterrupt"),J},P9,iZ=[],sZ=function(J){if(!J)return;if(J=!J.name&&J.default||J,EQ()||J.headless){var K=J.name,Q=I0(J),Z=K&&!Q&&J.init?function(){this._props=[]}:J,W={init:jJ,render:uQ,add:yQ,kill:Lq,modifier:jq,rawVars:0},q={targetTest:0,get:0,getSetter:X8,aliases:{},register:0};if(b9(),J!==Z){if(V1[K])return;if(E1(Z,E1($8(J,W),q)),T9(Z.prototype,T9(W,$8(J,q))),V1[Z.prop=K]=Z,J.targetTest)J8.push(Z),kQ[K]=1;K=(K==="css"?"CSS":K.charAt(0).toUpperCase()+K.substr(1))+"Plugin"}SZ(K,Z),J.register&&J.register(W1,Z,Y1)}else iZ.push(J)},Y0=255,HJ={aqua:[0,Y0,Y0],lime:[0,Y0,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Y0],navy:[0,0,128],white:[Y0,Y0,Y0],olive:[128,128,0],yellow:[Y0,Y0,0],orange:[Y0,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Y0,0,0],pink:[Y0,192,203],cyan:[0,Y0,Y0],transparent:[Y0,Y0,Y0,0]},qQ=function(J,K,Q){return J+=J<0?1:J>1?-1:0,(J*6<1?K+(Q-K)*J*6:J<0.5?Q:J*3<2?K+(Q-K)*(0.6666666666666666-J)*6:K)*Y0+0.5|0},nZ=function(J,K,Q){var Z=!J?HJ.black:M7(J)?[J>>16,J>>8&Y0,J&Y0]:0,W,q,G,H,B,U,X,j,Y,z;if(!Z){if(J.substr(-1)===",")J=J.substr(0,J.length-1);if(HJ[J])Z=HJ[J];else if(J.charAt(0)==="#"){if(J.length<6)W=J.charAt(1),q=J.charAt(2),G=J.charAt(3),J="#"+W+W+q+q+G+G+(J.length===5?J.charAt(4)+J.charAt(4):"");if(J.length===9)return Z=parseInt(J.substr(1,6),16),[Z>>16,Z>>8&Y0,Z&Y0,parseInt(J.substr(7),16)/255];J=parseInt(J.substr(1),16),Z=[J>>16,J>>8&Y0,J&Y0]}else if(J.substr(0,3)==="hsl"){if(Z=z=J.match(YQ),!K)H=+Z[0]%360/360,B=+Z[1]/100,U=+Z[2]/100,q=U<=0.5?U*(B+1):U+B-U*B,W=U*2-q,Z.length>3&&(Z[3]*=1),Z[0]=qQ(H+0.3333333333333333,W,q),Z[1]=qQ(H,W,q),Z[2]=qQ(H-0.3333333333333333,W,q);else if(~J.indexOf("="))return Z=J.match(IQ),Q&&Z.length<4&&(Z[3]=1),Z}else Z=J.match(YQ)||HJ.transparent;Z=Z.map(Number)}if(K&&!z){if(W=Z[0]/Y0,q=Z[1]/Y0,G=Z[2]/Y0,X=Math.max(W,q,G),j=Math.min(W,q,G),U=(X+j)/2,X===j)H=B=0;else Y=X-j,B=U>0.5?Y/(2-X-j):Y/(X+j),H=X===W?(q-G)/Y+(qJ||D<0)&&(Q+=D-K),Z+=D,V=Z-Q,C=V-q,C>0||A)P=++X.frame,j=V-X.time*1000,X.time=V=V/1000,q+=C+(C>=W?4:W-C),F=1;if(A||(H=B(L)),F)for(Y=0;Y=D&&Y--},_listeners:G},X}(),b9=function(){return!LJ&&F1.wake()},q0={},Jq=/^[\d.\-M][\d.\-,\s]/,Qq=/["']/g,Kq=function(J){var K={},Q=J.substr(1,J.length-3).split(":"),Z=Q[0],W=1,q=Q.length,G,H,B;for(;W1&&Q.config?Q.config.apply(null,~J.indexOf("{")?[Kq(K[1])]:Zq(J).split(",").map(yZ)):q0._CE&&Jq.test(J)?q0._CE("",J):Q},aZ=function(J){return function(K){return 1-J(1-K)}},tZ=function $(J,K){var Q=J._first,Z;while(Q){if(Q instanceof r0)$(Q,K);else if(Q.vars.yoyoEase&&(!Q._yoyo||!Q._repeat)&&Q._yoyo!==K)if(Q.timeline)$(Q.timeline,K);else Z=Q._ease,Q._ease=Q._yEase,Q._yEase=Z,Q._yoyo=K;Q=Q._next}},Q9=function(J,K){return!J?K:(I0(J)?J:q0[J]||$q(J))||K},W9=function(J,K,Q,Z){if(Q===void 0)Q=function(H){return 1-K(1-H)};if(Z===void 0)Z=function(H){return H<0.5?K(H*2)/2:1-K((1-H)*2)/2};var W={easeIn:K,easeOut:Q,easeInOut:Z},q;return X1(J,function(G){q0[G]=k1[G]=W,q0[q=G.toLowerCase()]=Q;for(var H in W)q0[q+(H==="easeIn"?".in":H==="easeOut"?".out":".inOut")]=q0[G+"."+H]=W[H]}),W},eZ=function(J){return function(K){return K<0.5?(1-J(1-K*2))/2:0.5+J((K-0.5)*2)/2}},GQ=function $(J,K,Q){var Z=K>=1?K:1,W=(Q||(J?0.3:0.45))/(K<1?K:1),q=W/XQ*(Math.asin(1/Z)||0),G=function(U){return U===1?1:Z*Math.pow(2,-10*U)*w5((U-q)*W)+1},H=J==="out"?G:J==="in"?function(B){return 1-G(1-B)}:eZ(G);return W=XQ/W,H.config=function(B,U){return $(J,B,U)},H},HQ=function $(J,K){if(K===void 0)K=1.70158;var Q=function(q){return q?--q*q*((K+1)*q+K)+1:0},Z=J==="out"?Q:J==="in"?function(W){return 1-Q(1-W)}:eZ(Q);return Z.config=function(W){return $(J,W)},Z};X1("Linear,Quad,Cubic,Quart,Quint,Strong",function($,J){var K=J<5?J+1:J;W9($+",Power"+(K-1),J?function(Q){return Math.pow(Q,K)}:function(Q){return Q},function(Q){return 1-Math.pow(1-Q,K)},function(Q){return Q<0.5?Math.pow(Q*2,K)/2:1-Math.pow((1-Q)*2,K)/2})});q0.Linear.easeNone=q0.none=q0.Linear.easeIn;W9("Elastic",GQ("in"),GQ("out"),GQ());(function($,J){var K=1/J,Q=2*K,Z=2.5*K,W=function(G){return G0?Q+(Q+this._rDelay)*this._repeat:Q):this.totalDuration()&&this._dur},J.totalDuration=function(Q){if(!arguments.length)return this._tDur;return this._dirty=0,w9(this,this._repeat<0?Q:(Q-this._repeat*this._rDelay)/(this._repeat+1))},J.totalTime=function(Q,Z){if(b9(),!arguments.length)return this._tTime;var W=this._dp;if(W&&W.smoothChildTiming&&this._ts){U8(this,Q),!W._dp||W.parent||vZ(W,this);while(W&&W.parent){if(W.parent._time!==W._start+(W._ts>=0?W._tTime/W._ts:(W.totalDuration()-W._tTime)/-W._ts))W.totalTime(W._tTime,!0);W=W.parent}if(!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&Q0||!this._tDur&&!Q))$7(this._dp,this,this._start-this._delay)}if(this._tTime!==Q||!this._dur&&!Z||this._initted&&Math.abs(this._zTime)===j0||!Q&&!this._initted&&(this.add||this._ptLookup))this._ts||(this._pTime=Q),bZ(this,Q,Z);return this},J.time=function(Q,Z){return arguments.length?this.totalTime(Math.min(this.totalDuration(),Q+FZ(this))%(this._dur+this._rDelay)||(Q?this._dur:0),Z):this._time},J.totalProgress=function(Q,Z){return arguments.length?this.totalTime(this.totalDuration()*Q,Z):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},J.progress=function(Q,Z){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-Q:Q)+FZ(this),Z):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},J.iteration=function(Q,Z){var W=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(Q-1)*W,Z):this._repeat?S9(this._tTime,W)+1:1},J.timeScale=function(Q,Z){if(!arguments.length)return this._rts===-j0?0:this._rts;if(this._rts===Q)return this;var W=this.parent&&this._ts?W8(this.parent._time,this):this._tTime;return this._rts=+Q||0,this._ts=this._ps||Q===-j0?0:this._rts,this.totalTime(MJ(-Math.abs(this._delay),this.totalDuration(),W),Z!==!1),B8(this),u5(this)},J.paused=function(Q){if(!arguments.length)return this._ps;if(this._ps!==Q)if(this._ps=Q,Q)this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0;else b9(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==j0&&(this._tTime-=j0));return this},J.startTime=function(Q){if(arguments.length){this._start=Q;var Z=this.parent||this._dp;return Z&&(Z._sort||!this.parent)&&$7(Z,this,Q-this._delay),this}return this._start},J.endTime=function(Q){return this._start+(C1(Q)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},J.rawTime=function(Q){var Z=this.parent||this._dp;return!Z?this._tTime:Q&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):!this._ts?this._tTime:W8(Z.rawTime(Q),this)},J.revert=function(Q){if(Q===void 0)Q=h5;var Z=a0;if(a0=Q,SQ(this))this.timeline&&this.timeline.revert(Q),this.totalTime(-0.01,Q.suppressEvents);return this.data!=="nested"&&Q.kill!==!1&&this.kill(),a0=Z,this},J.globalTime=function(Q){var Z=this,W=arguments.length?Q:Z.rawTime();while(Z)W=Z._start+W/(Math.abs(Z._ts)||1),Z=Z._dp;return!this.parent&&this._sat?this._sat.globalTime(Q):W},J.repeat=function(Q){if(arguments.length)return this._repeat=Q===1/0?-2:Q,CZ(this);return this._repeat===-2?1/0:this._repeat},J.repeatDelay=function(Q){if(arguments.length){var Z=this._time;return this._rDelay=Q,CZ(this),Z?this.time(Z):this}return this._rDelay},J.yoyo=function(Q){if(arguments.length)return this._yoyo=Q,this;return this._yoyo},J.seek=function(Q,Z){return this.totalTime(h1(this,Q),C1(Z))},J.restart=function(Q,Z){return this.play().totalTime(Q?-this._delay:0,C1(Z)),this._dur||(this._zTime=-j0),this},J.play=function(Q,Z){return Q!=null&&this.seek(Q,Z),this.reversed(!1).paused(!1)},J.reverse=function(Q,Z){return Q!=null&&this.seek(Q||this.totalDuration(),Z),this.reversed(!0).paused(!1)},J.pause=function(Q,Z){return Q!=null&&this.seek(Q,Z),this.paused(!0)},J.resume=function(){return this.paused(!1)},J.reversed=function(Q){if(arguments.length)return!!Q!==this.reversed()&&this.timeScale(-this._rts||(Q?-j0:0)),this;return this._rts<0},J.invalidate=function(){return this._initted=this._act=0,this._zTime=-j0,this},J.isActive=function(){var Q=this.parent||this._dp,Z=this._start,W;return!!(!Q||this._ts&&this._initted&&Q.isActive()&&(W=Q.rawTime(!0))>=Z&&W1){if(!Z)delete q[Q];else q[Q]=Z,W&&(q[Q+"Params"]=W),Q==="onUpdate"&&(this._onUpdate=Z);return this}return q[Q]},J.then=function(Q){var Z=this;return new Promise(function(W){var q=I0(Q)?Q:hZ,G=function(){var B=Z.then;Z.then=null,I0(q)&&(q=q(Z))&&(q.then||q===Z)&&(Z.then=B),W(q),Z.then=B};if(Z._initted&&Z.totalProgress()===1&&Z._ts>=0||!Z._tTime&&Z._ts<0)G();else Z._prom=G})},J.kill=function(){GJ(this)},$}();E1(zJ.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:-j0,_prom:0,_ps:!1,_rts:1});var r0=function($){OZ(J,$);function J(Q,Z){var W;if(Q===void 0)Q={};return W=$.call(this,Q)||this,W.labels={},W.smoothChildTiming=!!Q.smoothChildTiming,W.autoRemoveChildren=!!Q.autoRemoveChildren,W._sort=C1(Q.sortChildren),C0&&$7(Q.parent||C0,z7(W),Z),Q.reversed&&W.reverse(),Q.paused&&W.paused(!0),Q.scrollTrigger&&_Z(z7(W),Q.scrollTrigger),W}var K=J.prototype;return K.to=function(Z,W,q){return UJ(0,arguments,this),this},K.from=function(Z,W,q){return UJ(1,arguments,this),this},K.fromTo=function(Z,W,q,G){return UJ(2,arguments,this),this},K.set=function(Z,W,q){return W.duration=0,W.parent=this,BJ(W).repeatDelay||(W.repeat=0),W.immediateRender=!!W.immediateRender,new T0(Z,W,h1(this,q),1),this},K.call=function(Z,W,q){return $7(this,T0.delayedCall(0,Z,W),q)},K.staggerTo=function(Z,W,q,G,H,B,U){return q.duration=W,q.stagger=q.stagger||G,q.onComplete=B,q.onCompleteParams=U,q.parent=this,new T0(Z,q,h1(this,H)),this},K.staggerFrom=function(Z,W,q,G,H,B,U){return q.runBackwards=1,BJ(q).immediateRender=C1(q.immediateRender),this.staggerTo(Z,W,q,G,H,B,U)},K.staggerFromTo=function(Z,W,q,G,H,B,U,X){return G.startAt=q,BJ(G).immediateRender=C1(G.immediateRender),this.staggerTo(Z,W,G,H,B,U,X)},K.render=function(Z,W,q){var G=this._time,H=this._dirty?this.totalDuration():this._tDur,B=this._dur,U=Z<=0?0:b0(Z),X=this._zTime<0!==Z<0&&(this._initted||!B),j,Y,z,L,R,D,A,C,F,V,P,M;if(this!==C0&&U>H&&Z>=0&&(U=H),U!==this._tTime||q||X){if(G!==this._time&&B)U+=this._time-G,Z+=this._time-G;if(j=U,F=this._start,C=this._ts,D=!C,X)B||(G=this._zTime),(Z||!W)&&(this._zTime=Z);if(this._repeat){if(P=this._yoyo,R=B+this._rDelay,this._repeat<-1&&Z<0)return this.totalTime(R*100+Z,W,q);if(j=b0(U%R),U===H)L=this._repeat,j=B;else{if(V=b0(U/R),L=~~V,L&&L===V)j=B,L--;j>B&&(j=B)}if(V=S9(this._tTime,R),!G&&this._tTime&&V!==L&&this._tTime-V*R-this._dur<=0&&(V=L),P&&L&1)j=B-j,M=1;if(L!==V&&!this._lock){var E=P&&V&1,I=E===(P&&L&1);if(L=G&&Z>=0){Y=this._first;while(Y){if(z=Y._next,(Y._act||j>=Y._start)&&Y._ts&&A!==Y){if(Y.parent!==this)return this.render(Z,W,q);if(Y.render(Y._ts>0?(j-Y._start)*Y._ts:(Y._dirty?Y.totalDuration():Y._tDur)+(j-Y._start)*Y._ts,W,q),j!==this._time||!this._ts&&!D){A=0,z&&(U+=this._zTime=-j0);break}}Y=z}}else{Y=this._last;var O=Z<0?Z:j;while(Y){if(z=Y._prev,(Y._act||O<=Y._end)&&Y._ts&&A!==Y){if(Y.parent!==this)return this.render(Z,W,q);if(Y.render(Y._ts>0?(O-Y._start)*Y._ts:(Y._dirty?Y.totalDuration():Y._tDur)+(O-Y._start)*Y._ts,W,q||a0&&SQ(Y)),j!==this._time||!this._ts&&!D){A=0,z&&(U+=this._zTime=O?-j0:j0);break}}Y=z}}if(A&&!W){if(this.pause(),A.render(j>=G?0:-j0)._zTime=j>=G?1:-1,this._ts)return this._start=F,B8(this),this.render(Z,W,q)}if(this._onUpdate&&!W&&A1(this,"onUpdate",!0),U===H&&this._tTime>=this.totalDuration()||!U&&G){if(F===this._start||Math.abs(C)!==Math.abs(this._ts)){if(!this._lock){if((Z||!B)&&(U===H&&this._ts>0||!U&&this._ts<0)&&u7(this,1),!W&&!(Z<0&&!G)&&(U||G||!H))A1(this,U===H&&Z>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(U0)&&this._prom()}}}}return this},K.add=function(Z,W){var q=this;if(M7(W)||(W=h1(this,W,Z)),!(Z instanceof zJ)){if($1(Z))return Z.forEach(function(G){return q.add(G,W)}),this;if(_0(Z))return this.addLabel(Z,W);if(I0(Z))Z=T0.delayedCall(0,Z);else return this}return this!==Z?$7(this,Z,W):this},K.getChildren=function(Z,W,q,G){if(Z===void 0)Z=!0;if(W===void 0)W=!0;if(q===void 0)q=!0;if(G===void 0)G=-f1;var H=[],B=this._first;while(B){if(B._start>=G)if(B instanceof T0)W&&H.push(B);else q&&H.push(B),Z&&H.push.apply(H,B.getChildren(!0,W,q));B=B._next}return H},K.getById=function(Z){var W=this.getChildren(1,1,1),q=W.length;while(q--)if(W[q].vars.id===Z)return W[q]},K.remove=function(Z){if(_0(Z))return this.removeLabel(Z);if(I0(Z))return this.killTweensOf(Z);if(Z.parent===this&&RJ(this,Z),Z===this._recent)this._recent=this._last;return J9(this)},K.totalTime=function(Z,W){if(!arguments.length)return this._tTime;if(this._forcing=1,!this._dp&&this._ts)this._start=b0(F1.time-(this._ts>0?Z/this._ts:(this.totalDuration()-Z)/-this._ts));return $.prototype.totalTime.call(this,Z,W),this._forcing=0,this},K.addLabel=function(Z,W){return this.labels[Z]=h1(this,W),this},K.removeLabel=function(Z){return delete this.labels[Z],this},K.addPause=function(Z,W,q){var G=T0.delayedCall(0,W||jJ,q);return G.data="isPause",this._hasPause=1,$7(this,G,h1(this,Z))},K.removePause=function(Z){var W=this._first;Z=h1(this,Z);while(W){if(W._start===Z&&W.data==="isPause")u7(W);W=W._next}},K.killTweensOf=function(Z,W,q){var G=this.getTweensOf(Z,q),H=G.length;while(H--)f7!==G[H]&&G[H].kill(Z,W);return this},K.getTweensOf=function(Z,W){var q=[],G=v1(Z),H=this._first,B=M7(W),U;while(H){if(H instanceof T0){if(f5(H._targets,G)&&(B?(!f7||H._initted&&H._ts)&&H.globalTime(0)<=W&&H.globalTime(H.totalDuration())>W:!W||H.isActive()))q.push(H)}else if((U=H.getTweensOf(G,W)).length)q.push.apply(q,U);H=H._next}return q},K.tweenTo=function(Z,W){W=W||{};var q=this,G=h1(q,Z),H=W,B=H.startAt,U=H.onStart,X=H.onStartParams,j=H.immediateRender,Y,z=T0.to(q,E1({ease:W.ease||"none",lazy:!1,immediateRender:!1,time:G,overwrite:"auto",duration:W.duration||Math.abs((G-(B&&"time"in B?B.time:q._time))/q.timeScale())||j0,onStart:function(){if(q.pause(),!Y){var R=W.duration||Math.abs((G-(B&&"time"in B?B.time:q._time))/q.timeScale());z._dur!==R&&w9(z,R,0,1).render(z._time,!0,!0),Y=1}U&&U.apply(z,X||[])}},W));return j?z.render(0):z},K.tweenFromTo=function(Z,W,q){return this.tweenTo(W,E1({startAt:{time:h1(this,Z)}},q))},K.recent=function(){return this._recent},K.nextLabel=function(Z){if(Z===void 0)Z=this._time;return DZ(this,h1(this,Z))},K.previousLabel=function(Z){if(Z===void 0)Z=this._time;return DZ(this,h1(this,Z),1)},K.currentLabel=function(Z){return arguments.length?this.seek(Z,!0):this.previousLabel(this._time+j0)},K.shiftChildren=function(Z,W,q){if(q===void 0)q=0;var G=this._first,H=this.labels,B;while(G){if(G._start>=q)G._start+=Z,G._end+=Z;G=G._next}if(W){for(B in H)if(H[B]>=q)H[B]+=Z}return J9(this)},K.invalidate=function(Z){var W=this._first;this._lock=0;while(W)W.invalidate(Z),W=W._next;return $.prototype.invalidate.call(this,Z)},K.clear=function(Z){if(Z===void 0)Z=!0;var W=this._first,q;while(W)q=W._next,this.remove(W),W=q;return this._dp&&(this._time=this._tTime=this._pTime=0),Z&&(this.labels={}),J9(this)},K.totalDuration=function(Z){var W=0,q=this,G=q._last,H=f1,B,U,X;if(arguments.length)return q.timeScale((q._repeat<0?q.duration():q.totalDuration())/(q.reversed()?-Z:Z));if(q._dirty){X=q.parent;while(G){if(B=G._prev,G._dirty&&G.totalDuration(),U=G._start,U>H&&q._sort&&G._ts&&!q._lock)q._lock=1,$7(q,G,U-G._delay,1)._lock=0;else H=U;if(U<0&&G._ts){if(W-=U,!X&&!q._dp||X&&X.smoothChildTiming)q._start+=U/q._ts,q._time-=U,q._tTime-=U;q.shiftChildren(-U,!1,-1/0),H=0}G._end>W&&G._ts&&(W=G._end),G=B}w9(q,q===C0&&q._time>W?q._time:W,1,1),q._dirty=0}return q._tDur},J.updateRoot=function(Z){if(C0._ts)bZ(C0,W8(Z,C0)),wZ=F1.frame;if(F1.frame>=NZ){NZ+=D1.autoSleep||120;var W=C0._first;if(!W||!W._ts){if(D1.autoSleep&&F1._listeners.length<2){while(W&&!W._ts)W=W._next;W||F1.sleep()}}}},J}(zJ);E1(r0.prototype,{_lock:0,_hasPause:0,_forcing:0});var Wq=function(J,K,Q,Z,W,q,G){var H=new Y1(this._pt,J,K,0,1,_Q,null,W),B=0,U=0,X,j,Y,z,L,R,D,A;if(H.b=Q,H.e=Z,Q+="",Z+="",D=~Z.indexOf("random("))Z=y9(Z);if(q)A=[Q,Z],q(A,J,K),Q=A[0],Z=A[1];j=Q.match($Q)||[];while(X=$Q.exec(Z)){if(z=X[0],L=Z.substring(B,X.index),Y)Y=(Y+1)%5;else if(L.substr(-5)==="rgba(")Y=1;if(z!==j[U++])R=parseFloat(j[U-1])||0,H._pt={_next:H._pt,p:L||U===1?L:",",s:R,c:z.charAt(1)==="="?$9(R,z)-R:parseFloat(z)-R,m:Y&&Y<4?Math.round:0},B=$Q.lastIndex}if(H.c=B")}),F.duration();else{P={};for(E in z)E==="ease"||E==="easeEach"||Bq(E,z[E],P,z.easeEach);for(E in P){w=P[E].sort(function(_,h){return _.t-h.t}),x=0;for(V=0;VH-j0&&!U?H:ZB)j=B;if(D=this._yoyo&&z&1,D)F=this._yEase,j=B-j;if(R=S9(this._tTime,L),j===G&&!q&&this._initted&&z===R)return this._tTime=X,this;if(z!==R){if(C&&this._yEase&&tZ(C,D),this.vars.repeatRefresh&&!D&&!this._lock&&j!==L&&this._initted)this._lock=q=1,this.render(b0(L*z),!0).invalidate()._lock=0}}if(!this._initted){if(uZ(this,U?Z:j,q,W,X))return this._tTime=0,this;if(G!==this._time&&!(q&&this.vars.repeatRefresh&&z!==R))return this;if(B!==this._dur)return this.render(Z,W,q)}if(this._tTime=X,this._time=j,!this._act&&this._ts)this._act=1,this._lazy=0;if(this.ratio=A=(F||this._ease)(j/B),this._from)this.ratio=A=1-A;if(!G&&X&&!W&&!R){if(A1(this,"onStart"),this._tTime!==X)return this}Y=this._pt;while(Y)Y.r(A,Y.d),Y=Y._next;if(C&&C.render(Z<0?Z:C._dur*C._ease(j/this._dur),W,q)||this._startAt&&(this._zTime=Z),this._onUpdate&&!W)U&&zQ(this,Z,W,q),A1(this,"onUpdate");if(this._repeat&&z!==R&&this.vars.onRepeat&&!W&&this.parent&&A1(this,"onRepeat"),(X===this._tDur||!X)&&this._tTime===X){if(U&&!this._onUpdate&&zQ(this,Z,!0,!0),(Z||!B)&&(X===this._tDur&&this._ts>0||!X&&this._ts<0)&&u7(this,1),!W&&!(U&&!G)&&(X||G||D))A1(this,X===H?"onComplete":"onReverseComplete",!0),this._prom&&!(X0)&&this._prom()}}return this},K.targets=function(){return this._targets},K.invalidate=function(Z){return(!Z||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(Z),$.prototype.invalidate.call(this,Z)},K.resetTo=function(Z,W,q,G,H){LJ||F1.wake(),this._ts||this.play();var B=Math.min(this._dur,(this._dp._time-this._start)*this._ts),U;if(this._initted||fQ(this,B),U=this._ease(B/this._dur),Gq(this,Z,W,q,G,U,B,H))return this.resetTo(Z,W,q,G,1);return U8(this,0),this.parent||fZ(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0)},K.kill=function(Z,W){if(W===void 0)W="all";if(!Z&&(!W||W==="all"))return this._lazy=this._pt=0,this.parent?GJ(this):this.scrollTrigger&&this.scrollTrigger.kill(!!a0),this;if(this.timeline){var q=this.timeline.totalDuration();return this.timeline.killTweensOf(Z,W,f7&&f7.vars.overwrite!==!0)._first||GJ(this),this.parent&&q!==this.timeline.totalDuration()&&w9(this,this._dur*this.timeline._tDur/q,0,1),this}var G=this._targets,H=Z?v1(Z):G,B=this._ptLookup,U=this._pt,X,j,Y,z,L,R,D;if((!W||W==="all")&&_5(G,H))return W==="all"&&(this._pt=0),GJ(this);if(X=this._op=this._op||[],W!=="all"){if(_0(W))L={},X1(W,function(A){return L[A]=1}),W=L;W=Hq(G,W)}D=G.length;while(D--)if(~H.indexOf(G[D])){if(j=B[D],W==="all")X[D]=W,z=j,Y={};else Y=X[D]=X[D]||{},z=W;for(L in z){if(R=j&&j[L],R){if(!("kill"in R.d)||R.d.kill(L)===!0)RJ(this,R,"_pt");delete j[L]}if(Y!=="all")Y[L]=1}}return this._initted&&!this._pt&&U&&GJ(this),this},J.to=function(Z,W){return new J(Z,W,arguments[2])},J.from=function(Z,W){return UJ(1,arguments)},J.delayedCall=function(Z,W,q,G){return new J(W,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:Z,onComplete:W,onReverseComplete:W,onCompleteParams:q,onReverseCompleteParams:q,callbackScope:G})},J.fromTo=function(Z,W,q){return UJ(2,arguments)},J.set=function(Z,W){return W.duration=0,W.repeatDelay||(W.repeat=0),new J(Z,W)},J.killTweensOf=function(Z,W,q){return C0.killTweensOf(Z,W,q)},J}(zJ);E1(T0.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});X1("staggerTo,staggerFrom,staggerFromTo",function($){T0[$]=function(){var J=new r0,K=MQ.call(arguments,0);return K.splice($==="staggerFromTo"?5:4,0,0),J[$].apply(J,K)}});var vQ=function(J,K,Q){return J[K]=Q},K$=function(J,K,Q){return J[K](Q)},Uq=function(J,K,Q,Z){return J[K](Z.fp,Q)},Xq=function(J,K,Q){return J.setAttribute(K,Q)},X8=function(J,K){return I0(J[K])?K$:G8(J[K])&&J.setAttribute?Xq:vQ},Z$=function(J,K){return K.set(K.t,K.p,Math.round((K.s+K.c*J)*1e6)/1e6,K)},Yq=function(J,K){return K.set(K.t,K.p,!!(K.s+K.c*J),K)},_Q=function(J,K){var Q=K._pt,Z="";if(!J&&K.b)Z=K.b;else if(J===1&&K.e)Z=K.e;else{while(Q)Z=Q.p+(Q.m?Q.m(Q.s+Q.c*J):Math.round((Q.s+Q.c*J)*1e4)/1e4)+Z,Q=Q._next;Z+=K.c}K.set(K.t,K.p,Z,K)},uQ=function(J,K){var Q=K._pt;while(Q)Q.r(J,Q.d),Q=Q._next},jq=function(J,K,Q,Z){var W=this._pt,q;while(W)q=W._next,W.p===Z&&W.modifier(J,K,Q),W=q},Lq=function(J){var K=this._pt,Q,Z;while(K){if(Z=K._next,K.p===J&&!K.op||K.op===J)RJ(this,K,"_pt");else if(!K.dep)Q=1;K=Z}return!Q},zq=function(J,K,Q,Z){Z.mSet(J,K,Z.m.call(Z.tween,Q,Z.mt),Z)},gQ=function(J){var K=J._pt,Q,Z,W,q;while(K){Q=K._next,Z=W;while(Z&&Z.pr>K.pr)Z=Z._next;if(K._prev=Z?Z._prev:q)K._prev._next=K;else W=K;if(K._next=Z)Z._prev=K;else q=K;K=Q}J._pt=W},Y1=function(){function $(K,Q,Z,W,q,G,H,B,U){if(this.t=Q,this.s=W,this.c=q,this.p=Z,this.r=G||Z$,this.d=H||this,this.set=B||vQ,this.pr=U||0,this._next=K,K)K._prev=this}var J=$.prototype;return J.modifier=function(Q,Z,W){this.mSet=this.mSet||this.set,this.set=zq,this.m=Q,this.mt=W,this.tween=Z},$}();X1(PQ+"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($){return kQ[$]=1});k1.TweenMax=k1.TweenLite=T0;k1.TimelineLite=k1.TimelineMax=r0;C0=new r0({sortChildren:!1,defaults:x9,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});D1.stringFilter=wQ;var K9=[],Q8={},Rq=[],IZ=0,Mq=0,BQ=function(J){return(Q8[J]||Rq).map(function(K){return K()})},CQ=function(){var J=Date.now(),K=[];if(J-IZ>2)BQ("matchMediaInit"),K9.forEach(function(Q){var{queries:Z,conditions:W}=Q,q,G,H,B;for(G in Z)if(q=Z7.matchMedia(Z[G]).matches,q&&(H=1),q!==W[G])W[G]=q,B=1;if(B)Q.revert(),H&&K.push(Q)}),BQ("matchMediaRevert"),K.forEach(function(Q){return Q.onMatch(Q,function(Z){return Q.add(null,Z)})}),IZ=J,BQ("matchMedia")},$$=function(){function $(K,Q){this.selector=Q&&NQ(Q),this.data=[],this._r=[],this.isReverted=!1,this.id=Mq++,K&&this.add(K)}var J=$.prototype;return J.add=function(Q,Z,W){if(I0(Q))W=Z,Z=Q,Q=I0;var q=this,G=function(){var B=V0,U=q.selector,X;return B&&B!==q&&B.data.push(q),W&&(q.selector=NQ(W)),V0=q,X=Z.apply(q,arguments),I0(X)&&q._r.push(X),V0=B,q.selector=U,q.isReverted=!1,X};return q.last=G,Q===I0?G(q,function(H){return q.add(null,H)}):Q?q[Q]=G:G},J.ignore=function(Q){var Z=V0;V0=null,Q(this),V0=Z},J.getTweens=function(){var Q=[];return this.data.forEach(function(Z){return Z instanceof $?Q.push.apply(Q,Z.getTweens()):Z instanceof T0&&!(Z.parent&&Z.parent.data==="nested")&&Q.push(Z)}),Q},J.clear=function(){this._r.length=this.data.length=0},J.kill=function(Q,Z){var W=this;if(Q)(function(){var G=W.getTweens(),H=W.data.length,B;while(H--)if(B=W.data[H],B.data==="isFlip")B.revert(),B.getChildren(!0,!0,!1).forEach(function(U){return G.splice(G.indexOf(U),1)});G.map(function(U){return{g:U._dur||U._delay||U._sat&&!U._sat.vars.immediateRender?U.globalTime(0):-1/0,t:U}}).sort(function(U,X){return X.g-U.g||-1/0}).forEach(function(U){return U.t.revert(Q)}),H=W.data.length;while(H--)if(B=W.data[H],B instanceof r0){if(B.data!=="nested")B.scrollTrigger&&B.scrollTrigger.revert(),B.kill()}else!(B instanceof T0)&&B.revert&&B.revert(Q);W._r.forEach(function(U){return U(Q,W)}),W.isReverted=!0})();else this.data.forEach(function(G){return G.kill&&G.kill()});if(this.clear(),Z){var q=K9.length;while(q--)K9[q].id===this.id&&K9.splice(q,1)}},J.revert=function(Q){this.kill(Q||{})},$}(),Nq=function(){function $(K){this.contexts=[],this.scope=K,V0&&V0.data.push(this)}var J=$.prototype;return J.add=function(Q,Z,W){W7(Q)||(Q={matches:Q});var q=new $$(0,W||this.scope),G=q.conditions={},H,B,U;V0&&!q.selector&&(q.selector=V0.selector),this.contexts.push(q),Z=q.add("onMatch",Z),q.queries=Q;for(B in Q)if(B==="all")U=1;else if(H=Z7.matchMedia(Q[B]),H)K9.indexOf(q)<0&&K9.push(q),(G[B]=H.matches)&&(U=1),H.addListener?H.addListener(CQ):H.addEventListener("change",CQ);return U&&Z(q,function(X){return q.add(null,X)}),this},J.revert=function(Q){this.kill(Q||{})},J.kill=function(Q){this.contexts.forEach(function(Z){return Z.kill(Q,!0)})},$}(),q8={registerPlugin:function(){for(var J=arguments.length,K=Array(J),Q=0;Q1){var Z=J.map(function(U){return W1.quickSetter(U,K,Q)}),W=Z.length;return function(U){var X=W;while(X--)Z[X](U)}}J=J[0]||{};var q=V1[K],G=_7(J),H=G.harness&&(G.harness.aliases||{})[K]||K,B=q?function(U){var X=new q;P9._pt=0,X.init(J,Q?U+Q:U,P9,0,[J]),X.render(1,X),P9._pt&&uQ(1,P9)}:G.set(J,H);return q?B:function(U){return B(J,H,Q?U+Q:U,G,1)}},quickTo:function(J,K,Q){var Z,W=W1.to(J,E1((Z={},Z[K]="+=0.1",Z.paused=!0,Z.stagger=0,Z),Q||{})),q=function(H,B,U){return W.resetTo(K,H,B,U)};return q.tween=W,q},isTweening:function(J){return C0.getTweensOf(J,!0).length>0},defaults:function(J){return J&&J.ease&&(J.ease=Q9(J.ease,x9.ease)),VZ(x9,J||{})},config:function(J){return VZ(D1,J||{})},registerEffect:function(J){var{name:K,effect:Q,plugins:Z,defaults:W,extendTimeline:q}=J;if((Z||"").split(",").forEach(function(G){return G&&!V1[G]&&!k1[G]&&YJ(K+" effect requires "+G+" plugin.")}),WQ[K]=function(G,H,B){return Q(v1(G),E1(H||{},W),B)},q)r0.prototype[K]=function(G,H,B){return this.add(WQ[K](G,W7(H)?H:(B=H)&&{},this),B)}},registerEase:function(J,K){q0[J]=Q9(K)},parseEase:function(J,K){return arguments.length?Q9(J,K):q0},getById:function(J){return C0.getById(J)},exportRoot:function(J,K){if(J===void 0)J={};var Q=new r0(J),Z,W;Q.smoothChildTiming=C1(J.smoothChildTiming),C0.remove(Q),Q._dp=0,Q._time=Q._tTime=C0._time,Z=C0._first;while(Z){if(W=Z._next,K||!(!Z._dur&&Z instanceof T0&&Z.vars.onComplete===Z._targets[0]))$7(Q,Z,Z._start-Z._delay);Z=W}return $7(C0,Q,0),Q},context:function(J,K){return J?new $$(J,K):V0},matchMedia:function(J){return new Nq(J)},matchMediaRefresh:function(){return K9.forEach(function(J){var K=J.conditions,Q,Z;for(Z in K)if(K[Z])K[Z]=!1,Q=1;Q&&J.revert()})||CQ()},addEventListener:function(J,K){var Q=Q8[J]||(Q8[J]=[]);~Q.indexOf(K)||Q.push(K)},removeEventListener:function(J,K){var Q=Q8[J],Z=Q&&Q.indexOf(K);Z>=0&&Q.splice(Z,1)},utils:{wrap:r5,wrapYoyo:a5,distribute:mZ,random:pZ,snap:cZ,normalize:n5,getUnit:t0,clamp:l5,splitColor:nZ,toArray:v1,selector:NQ,mapRange:oZ,pipe:i5,unitize:s5,interpolate:t5,shuffle:dZ},install:TZ,effects:WQ,ticker:F1,updateRoot:r0.updateRoot,plugins:V1,globalTimeline:C0,core:{PropTween:Y1,globals:SZ,Tween:T0,Timeline:r0,Animation:zJ,getCache:_7,_removeLinkedListItem:RJ,reverting:function(){return a0},context:function(J){if(J&&V0)V0.data.push(J),J._ctx=V0;return V0},suppressOverwrites:function(J){return DQ=J}}};X1("to,from,fromTo,delayedCall,set,killTweensOf",function($){return q8[$]=T0[$]});F1.add(r0.updateRoot);P9=q8.to({},{duration:0});var Vq=function(J,K){var Q=J._pt;while(Q&&Q.p!==K&&Q.op!==K&&Q.fp!==K)Q=Q._next;return Q},Fq=function(J,K){var Q=J._targets,Z,W,q;for(Z in K){W=Q.length;while(W--)if(q=J._ptLookup[W][Z],q&&(q=q.d)){if(q._pt)q=Vq(q,Z);q&&q.modifier&&q.modifier(K[Z],J,Q[W],Z)}}},UQ=function(J,K){return{name:J,headless:1,rawVars:1,init:function(Z,W,q){q._onInit=function(G){var H,B;if(_0(W))H={},X1(W,function(U){return H[U]=1}),W=H;if(K){H={};for(B in W)H[B]=K(W[B]);W=H}Fq(G,W)}}}},W1=q8.registerPlugin({name:"attr",init:function(J,K,Q,Z,W){var q,G,H;this.tween=Q;for(q in K)H=J.getAttribute(q)||"",G=this.add(J,"setAttribute",(H||0)+"",K[q],Z,W,0,0,q),G.op=q,G.b=H,this._props.push(q)},render:function(J,K){var Q=K._pt;while(Q)a0?Q.set(Q.t,Q.p,Q.b,Q):Q.r(J,Q.d),Q=Q._next}},{name:"endArray",headless:1,init:function(J,K){var Q=K.length;while(Q--)this.add(J,Q,J[Q]||0,K[Q],0,0,0,0,0,1)}},UQ("roundProps",VQ),UQ("modifiers"),UQ("snap",cZ))||q8;T0.version=r0.version=W1.version="3.13.0";xZ=1;EQ()&&b9();var{Power0:Cq,Power1:Dq,Power2:Eq,Power3:Iq,Power4:Oq,Linear:Aq,Quad:kq,Cubic:Pq,Quart:xq,Quint:Tq,Strong:Sq,Elastic:wq,Back:bq,SteppedEase:yq,Bounce:hq,Sine:fq,Expo:vq,Circ:_q}=q0;/*! * CSSPlugin 3.13.0 * https://gsap.com * * Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var W$,d7,f9,oQ,B9,uq,q$,iQ,gq=function(){return typeof window<"u"},V7={},H9=180/Math.PI,v9=Math.PI/180,h9=Math.atan2,G$=1e8,sQ=/([A-Z])/g,dq=/(left|right|width|margin|padding|x)/i,mq=/[\s,\(]\S/,q7={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},mQ=function(J,K){return K.set(K.t,K.p,Math.round((K.s+K.c*J)*1e4)/1e4+K.u,K)},cq=function(J,K){return K.set(K.t,K.p,J===1?K.e:Math.round((K.s+K.c*J)*1e4)/1e4+K.u,K)},pq=function(J,K){return K.set(K.t,K.p,J?Math.round((K.s+K.c*J)*1e4)/1e4+K.u:K.b,K)},lq=function(J,K){var Q=K.s+K.c*J;K.set(K.t,K.p,~~(Q+(Q<0?-0.5:0.5))+K.u,K)},z$=function(J,K){return K.set(K.t,K.p,J?K.e:K.b,K)},R$=function(J,K){return K.set(K.t,K.p,J!==1?K.b:K.e,K)},oq=function(J,K,Q){return J.style[K]=Q},iq=function(J,K,Q){return J.style.setProperty(K,Q)},sq=function(J,K,Q){return J._gsap[K]=Q},nq=function(J,K,Q){return J._gsap.scaleX=J._gsap.scaleY=Q},rq=function(J,K,Q,Z,W){var q=J._gsap;q.scaleX=q.scaleY=Q,q.renderTransform(W,q)},aq=function(J,K,Q,Z,W){var q=J._gsap;q[K]=Q,q.renderTransform(W,q)},D0="transform",I1=D0+"Origin",tq=function $(J,K){var Q=this,Z=this.target,W=Z.style,q=Z._gsap;if(J in V7&&W){if(this.tfm=this.tfm||{},J!=="transform")J=q7[J]||J,~J.indexOf(",")?J.split(",").forEach(function(G){return Q.tfm[G]=N7(Z,G)}):this.tfm[J]=q.x?q[J]:N7(Z,J),J===I1&&(this.tfm.zOrigin=q.zOrigin);else return q7.transform.split(",").forEach(function(G){return $.call(Q,G,K)});if(this.props.indexOf(D0)>=0)return;if(q.svg)this.svgo=Z.getAttribute("data-svg-origin"),this.props.push(I1,K,"");J=D0}(W||K)&&this.props.push(J,K,W[J])},M$=function(J){if(J.translate)J.removeProperty("translate"),J.removeProperty("scale"),J.removeProperty("rotate")},eq=function(){var J=this.props,K=this.target,Q=K.style,Z=K._gsap,W,q;for(W=0;W=0?H$[q]:"")+J},pQ=function(){if(gq()&&window.document)W$=window,d7=W$.document,f9=d7.documentElement,B9=cQ("div")||{style:{}},uq=cQ("div"),D0=_9(D0),I1=D0+"Origin",B9.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",V$=!!_9("perspective"),iQ=W1.core.reverting,oQ=1},B$=function(J){var K=J.ownerSVGElement,Q=cQ("svg",K&&K.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),Z=J.cloneNode(!0),W;Z.style.display="block",Q.appendChild(Z),f9.appendChild(Q);try{W=Z.getBBox()}catch(q){}return Q.removeChild(Z),f9.removeChild(Q),W},U$=function(J,K){var Q=K.length;while(Q--)if(J.hasAttribute(K[Q]))return J.getAttribute(K[Q])},F$=function(J){var K,Q;try{K=J.getBBox()}catch(Z){K=B$(J),Q=1}return K&&(K.width||K.height)||Q||(K=B$(J)),K&&!K.width&&!K.x&&!K.y?{x:+U$(J,["x","cx","x1"])||0,y:+U$(J,["y","cy","y1"])||0,width:0,height:0}:K},C$=function(J){return!!(J.getCTM&&(!J.parentNode||J.ownerSVGElement)&&F$(J))},U9=function(J,K){if(K){var Q=J.style,Z;if(K in V7&&K!==I1)K=D0;if(Q.removeProperty){if(Z=K.substr(0,2),Z==="ms"||K.substr(0,6)==="webkit")K="-"+K;Q.removeProperty(Z==="--"?K:K.replace(sQ,"-$1").toLowerCase())}else Q.removeAttribute(K)}},m7=function(J,K,Q,Z,W,q){var G=new Y1(J._pt,K,Q,0,1,q?R$:z$);return J._pt=G,G.b=Z,G.e=W,J._props.push(Q),G},X$={deg:1,rad:1,turn:1},JG={grid:1,flex:1},c7=function $(J,K,Q,Z){var W=parseFloat(Q)||0,q=(Q+"").trim().substr((W+"").length)||"px",G=B9.style,H=dq.test(K),B=J.tagName.toLowerCase()==="svg",U=(B?"client":"offset")+(H?"Width":"Height"),X=100,j=Z==="px",Y=Z==="%",z,L,R,D;if(Z===q||!W||X$[Z]||X$[q])return W;if(q!=="px"&&!j&&(W=$(J,K,Q,"px")),D=J.getCTM&&C$(J),(Y||q==="%")&&(V7[K]||~K.indexOf("adius")))return z=D?J.getBBox()[H?"width":"height"]:J[U],O0(Y?W/z*X:W/100*z);if(G[H?"width":"height"]=X+(j?q:Z),L=Z!=="rem"&&~K.indexOf("adius")||Z==="em"&&J.appendChild&&!B?J:J.parentNode,D)L=(J.ownerSVGElement||{}).parentNode;if(!L||L===d7||!L.appendChild)L=d7.body;if(R=L._gsap,R&&Y&&R.width&&H&&R.time===F1.time&&!R.uncache)return O0(W/R.width*X);else{if(Y&&(K==="height"||K==="width")){var A=J.style[K];J.style[K]=X+Z,z=J[U],A?J.style[K]=A:U9(J,K)}else(Y||q==="%")&&!JG[_1(L,"display")]&&(G.position=_1(J,"position")),L===J&&(G.position="static"),L.appendChild(B9),z=B9[U],L.removeChild(B9),G.position="absolute";if(H&&Y)R=_7(L),R.time=F1.time,R.width=L[U]}return O0(j?z*W/X:z&&W?X/z*W:0)},N7=function(J,K,Q,Z){var W;if(oQ||pQ(),K in q7&&K!=="transform"){if(K=q7[K],~K.indexOf(","))K=K.split(",")[0]}if(V7[K]&&K!=="transform")W=FJ(J,Z),W=K!=="transformOrigin"?W[K]:W.svg?W.origin:j8(_1(J,I1))+" "+W.zOrigin+"px";else if(W=J.style[K],!W||W==="auto"||Z||~(W+"").indexOf("calc("))W=Y8[K]&&Y8[K](J,K,Q)||_1(J,K)||TQ(J,K)||(K==="opacity"?1:0);return Q&&!~(W+"").trim().indexOf(" ")?c7(J,K,W,Q)+Q:W},QG=function(J,K,Q,Z){if(!Q||Q==="none"){var W=_9(K,J,1),q=W&&_1(J,W,1);if(q&&q!==Q)K=W,Q=q;else if(K==="borderColor")Q=_1(J,"borderTopColor")}var G=new Y1(this._pt,J.style,K,0,1,_Q),H=0,B=0,U,X,j,Y,z,L,R,D,A,C,F,V;if(G.b=Q,G.e=Z,Q+="",Z+="",Z.substring(0,6)==="var(--")Z=_1(J,Z.substring(4,Z.indexOf(")")));if(Z==="auto")L=J.style[K],J.style[K]=Z,Z=_1(J,K)||Z,L?J.style[K]=L:U9(J,K);if(U=[Q,Z],wQ(U),Q=U[0],Z=U[1],j=Q.match(Z9)||[],V=Z.match(Z9)||[],V.length){while(X=Z9.exec(Z)){if(R=X[0],A=Z.substring(H,X.index),z)z=(z+1)%5;else if(A.substr(-5)==="rgba("||A.substr(-5)==="hsla(")z=1;if(R!==(L=j[B++]||"")){if(Y=parseFloat(L)||0,F=L.substr((Y+"").length),R.charAt(1)==="="&&(R=$9(Y,R)+F),D=parseFloat(R),C=R.substr((D+"").length),H=Z9.lastIndex-C.length,!C){if(C=C||D1.units[K]||F,H===Z.length)Z+=C,G.e+=C}if(F!==C)Y=c7(J,K,L,C)||0;G._pt={_next:G._pt,p:A||B===1?A:",",s:Y,c:D-Y,m:z&&z<4||K==="zIndex"?Math.round:0}}}G.c=H-1){if(G=W[B],V7[G])H=1,G=G==="transformOrigin"?I1:D0;U9(Q,G)}}if(H){if(U9(Q,D0),q)q.svg&&Q.removeAttribute("transform"),Z.scale=Z.rotate=Z.translate="none",FJ(Q,1),q.uncache=1,M$(Z)}}},Y8={clearProps:function(J,K,Q,Z,W){if(W.data!=="isFromStart"){var q=J._pt=new Y1(J._pt,K,Q,0,0,ZG);return q.u=Z,q.pr=-10,q.tween=W,J._props.push(Q),1}}},VJ=[1,0,0,1,0,0],D$={},E$=function(J){return J==="matrix(1, 0, 0, 1, 0, 0)"||J==="none"||!J},j$=function(J){var K=_1(J,D0);return E$(K)?VJ:K.substr(7).match(IQ).map(O0)},nQ=function(J,K){var Q=J._gsap||_7(J),Z=J.style,W=j$(J),q,G,H,B;if(Q.svg&&J.getAttribute("transform"))return H=J.transform.baseVal.consolidate().matrix,W=[H.a,H.b,H.c,H.d,H.e,H.f],W.join(",")==="1,0,0,1,0,0"?VJ:W;else if(W===VJ&&!J.offsetParent&&J!==f9&&!Q.svg){if(H=Z.display,Z.display="block",q=J.parentNode,!q||!J.offsetParent&&!J.getBoundingClientRect().width)B=1,G=J.nextElementSibling,f9.appendChild(J);if(W=j$(J),H?Z.display=H:U9(J,"display"),B)G?q.insertBefore(J,G):q?q.appendChild(J):f9.removeChild(J)}return K&&W.length>6?[W[0],W[1],W[4],W[5],W[12],W[13]]:W},lQ=function(J,K,Q,Z,W,q){var G=J._gsap,H=W||nQ(J,!0),B=G.xOrigin||0,U=G.yOrigin||0,X=G.xOffset||0,j=G.yOffset||0,Y=H[0],z=H[1],L=H[2],R=H[3],D=H[4],A=H[5],C=K.split(" "),F=parseFloat(C[0])||0,V=parseFloat(C[1])||0,P,M,E,I;if(!Q)P=F$(J),F=P.x+(~C[0].indexOf("%")?F/100*P.width:F),V=P.y+(~(C[1]||C[0]).indexOf("%")?V/100*P.height:V);else if(H!==VJ&&(M=Y*R-z*L))E=F*(R/M)+V*(-L/M)+(L*A-R*D)/M,I=F*(-z/M)+V*(Y/M)-(Y*A-z*D)/M,F=E,V=I;if(Z||Z!==!1&&G.smooth)D=F-B,A=V-U,G.xOffset=X+(D*Y+A*L)-D,G.yOffset=j+(D*z+A*R)-A;else G.xOffset=G.yOffset=0;if(G.xOrigin=F,G.yOrigin=V,G.smooth=!!Z,G.origin=K,G.originIsAbsolute=!!Q,J.style[I1]="0px 0px",q)m7(q,G,"xOrigin",B,F),m7(q,G,"yOrigin",U,V),m7(q,G,"xOffset",X,G.xOffset),m7(q,G,"yOffset",j,G.yOffset);J.setAttribute("data-svg-origin",F+" "+V)},FJ=function(J,K){var Q=J._gsap||new bQ(J);if("x"in Q&&!K&&!Q.uncache)return Q;var Z=J.style,W=Q.scaleX<0,q="px",G="deg",H=getComputedStyle(J),B=_1(J,I1)||"0",U,X,j,Y,z,L,R,D,A,C,F,V,P,M,E,I,O,S,x,w,b,T,_,h,c,d,N,p,o,M0,K0,t;if(U=X=j=L=R=D=A=C=F=0,Y=z=1,Q.svg=!!(J.getCTM&&C$(J)),H.translate){if(H.translate!=="none"||H.scale!=="none"||H.rotate!=="none")Z[D0]=(H.translate!=="none"?"translate3d("+(H.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(H.rotate!=="none"?"rotate("+H.rotate+") ":"")+(H.scale!=="none"?"scale("+H.scale.split(" ").join(",")+") ":"")+(H[D0]!=="none"?H[D0]:"");Z.scale=Z.rotate=Z.translate="none"}if(M=nQ(J,Q.svg),Q.svg){if(Q.uncache)c=J.getBBox(),B=Q.xOrigin-c.x+"px "+(Q.yOrigin-c.y)+"px",h="";else h=!K&&J.getAttribute("data-svg-origin");lQ(J,h||B,!!h||Q.originIsAbsolute,Q.smooth!==!1,M)}if(V=Q.xOrigin||0,P=Q.yOrigin||0,M!==VJ){if(S=M[0],x=M[1],w=M[2],b=M[3],U=T=M[4],X=_=M[5],M.length===6){if(Y=Math.sqrt(S*S+x*x),z=Math.sqrt(b*b+w*w),L=S||x?h9(x,S)*H9:0,A=w||b?h9(w,b)*H9+L:0,A&&(z*=Math.abs(Math.cos(A*v9))),Q.svg)U-=V-(V*S+P*w),X-=P-(V*x+P*b)}else{if(t=M[6],M0=M[7],N=M[8],p=M[9],o=M[10],K0=M[11],U=M[12],X=M[13],j=M[14],E=h9(t,o),R=E*H9,E)I=Math.cos(-E),O=Math.sin(-E),h=T*I+N*O,c=_*I+p*O,d=t*I+o*O,N=T*-O+N*I,p=_*-O+p*I,o=t*-O+o*I,K0=M0*-O+K0*I,T=h,_=c,t=d;if(E=h9(-w,o),D=E*H9,E)I=Math.cos(-E),O=Math.sin(-E),h=S*I-N*O,c=x*I-p*O,d=w*I-o*O,K0=b*O+K0*I,S=h,x=c,w=d;if(E=h9(x,S),L=E*H9,E)I=Math.cos(E),O=Math.sin(E),h=S*I+x*O,c=T*I+_*O,x=x*I-S*O,_=_*I-T*O,S=h,T=c;if(R&&Math.abs(R)+Math.abs(L)>359.9)R=L=0,D=180-D;Y=O0(Math.sqrt(S*S+x*x+w*w)),z=O0(Math.sqrt(_*_+t*t)),E=h9(T,_),A=Math.abs(E)>0.0002?E*H9:0,F=K0?1/(K0<0?-K0:K0):0}if(Q.svg)h=J.getAttribute("transform"),Q.forceCSS=J.setAttribute("transform","")||!E$(_1(J,D0)),h&&J.setAttribute("transform",h)}if(Math.abs(A)>90&&Math.abs(A)<270)if(W)Y*=-1,A+=L<=0?180:-180,L+=L<=0?180:-180;else z*=-1,A+=A<=0?180:-180;if(K=K||Q.uncache,Q.x=U-((Q.xPercent=U&&(!K&&Q.xPercent||(Math.round(J.offsetWidth/2)===Math.round(-U)?-50:0)))?J.offsetWidth*Q.xPercent/100:0)+q,Q.y=X-((Q.yPercent=X&&(!K&&Q.yPercent||(Math.round(J.offsetHeight/2)===Math.round(-X)?-50:0)))?J.offsetHeight*Q.yPercent/100:0)+q,Q.z=j+q,Q.scaleX=O0(Y),Q.scaleY=O0(z),Q.rotation=O0(L)+G,Q.rotationX=O0(R)+G,Q.rotationY=O0(D)+G,Q.skewX=A+G,Q.skewY=C+G,Q.transformPerspective=F+q,Q.zOrigin=parseFloat(B.split(" ")[2])||!K&&Q.zOrigin||0)Z[I1]=j8(B);return Q.xOffset=Q.yOffset=0,Q.force3D=D1.force3D,Q.renderTransform=Q.svg?WG:V$?I$:$G,Q.uncache=0,Q},j8=function(J){return(J=J.split(" "))[0]+" "+J[1]},dQ=function(J,K,Q){var Z=t0(K);return O0(parseFloat(K)+parseFloat(c7(J,"x",Q+"px",Z)))+Z},$G=function(J,K){K.z="0px",K.rotationY=K.rotationX="0deg",K.force3D=0,I$(J,K)},q9="0deg",NJ="0px",G9=") ",I$=function(J,K){var Q=K||this,Z=Q.xPercent,W=Q.yPercent,q=Q.x,G=Q.y,H=Q.z,B=Q.rotation,U=Q.rotationY,X=Q.rotationX,j=Q.skewX,Y=Q.skewY,z=Q.scaleX,L=Q.scaleY,R=Q.transformPerspective,D=Q.force3D,A=Q.target,C=Q.zOrigin,F="",V=D==="auto"&&J&&J!==1||D===!0;if(C&&(X!==q9||U!==q9)){var P=parseFloat(U)*v9,M=Math.sin(P),E=Math.cos(P),I;P=parseFloat(X)*v9,I=Math.cos(P),q=dQ(A,q,M*I*-C),G=dQ(A,G,-Math.sin(P)*-C),H=dQ(A,H,E*I*-C+C)}if(R!==NJ)F+="perspective("+R+G9;if(Z||W)F+="translate("+Z+"%, "+W+"%) ";if(V||q!==NJ||G!==NJ||H!==NJ)F+=H!==NJ||V?"translate3d("+q+", "+G+", "+H+") ":"translate("+q+", "+G+G9;if(B!==q9)F+="rotate("+B+G9;if(U!==q9)F+="rotateY("+U+G9;if(X!==q9)F+="rotateX("+X+G9;if(j!==q9||Y!==q9)F+="skew("+j+", "+Y+G9;if(z!==1||L!==1)F+="scale("+z+", "+L+G9;A.style[D0]=F||"translate(0, 0)"},WG=function(J,K){var Q=K||this,Z=Q.xPercent,W=Q.yPercent,q=Q.x,G=Q.y,H=Q.rotation,B=Q.skewX,U=Q.skewY,X=Q.scaleX,j=Q.scaleY,Y=Q.target,z=Q.xOrigin,L=Q.yOrigin,R=Q.xOffset,D=Q.yOffset,A=Q.forceCSS,C=parseFloat(q),F=parseFloat(G),V,P,M,E,I;if(H=parseFloat(H),B=parseFloat(B),U=parseFloat(U),U)U=parseFloat(U),B+=U,H+=U;if(H||B){if(H*=v9,B*=v9,V=Math.cos(H)*X,P=Math.sin(H)*X,M=Math.sin(H-B)*-j,E=Math.cos(H-B)*j,B){if(U*=v9,I=Math.tan(B-U),I=Math.sqrt(1+I*I),M*=I,E*=I,U)I=Math.tan(U),I=Math.sqrt(1+I*I),V*=I,P*=I}V=O0(V),P=O0(P),M=O0(M),E=O0(E)}else V=X,E=j,P=M=0;if(C&&!~(q+"").indexOf("px")||F&&!~(G+"").indexOf("px"))C=c7(Y,"x",q,"px"),F=c7(Y,"y",G,"px");if(z||L||R||D)C=O0(C+z-(z*V+L*M)+R),F=O0(F+L-(z*P+L*E)+D);if(Z||W)I=Y.getBBox(),C=O0(C+Z/100*I.width),F=O0(F+W/100*I.height);I="matrix("+V+","+P+","+M+","+E+","+C+","+F+")",Y.setAttribute("transform",I),A&&(Y.style[D0]=I)},qG=function(J,K,Q,Z,W){var q=360,G=_0(W),H=parseFloat(W)*(G&&~W.indexOf("rad")?H9:1),B=H-Z,U=Z+B+"deg",X,j;if(G){if(X=W.split("_")[1],X==="short"){if(B%=q,B!==B%(q/2))B+=B<0?q:-q}if(X==="cw"&&B<0)B=(B+q*G$)%q-~~(B/q)*q;else if(X==="ccw"&&B>0)B=(B-q*G$)%q-~~(B/q)*q}return J._pt=j=new Y1(J._pt,K,Q,Z,B,cq),j.e=U,j.u="deg",J._props.push(Q),j},L$=function(J,K){for(var Q in K)J[Q]=K[Q];return J},GG=function(J,K,Q){var Z=L$({},Q._gsap),W="perspective,force3D,transformOrigin,svgOrigin",q=Q.style,G,H,B,U,X,j,Y,z;if(Z.svg)B=Q.getAttribute("transform"),Q.setAttribute("transform",""),q[D0]=K,G=FJ(Q,1),U9(Q,D0),Q.setAttribute("transform",B);else B=getComputedStyle(Q)[D0],q[D0]=K,G=FJ(Q,1),q[D0]=B;for(H in V7)if(B=Z[H],U=G[H],B!==U&&W.indexOf(H)<0)Y=t0(B),z=t0(U),X=Y!==z?c7(Q,H,B,z):parseFloat(B),j=parseFloat(U),J._pt=new Y1(J._pt,G,H,X,j-X,mQ),J._pt.u=z||0,J._props.push(H);L$(G,Z)};X1("padding,margin,Width,Radius",function($,J){var K="Top",Q="Right",Z="Bottom",W="Left",q=(J<3?[K,Q,Z,W]:[K+W,K+Q,Z+Q,Z+W]).map(function(G){return J<2?$+G:"border"+G+$});Y8[J>1?"border"+$:$]=function(G,H,B,U,X){var j,Y;if(arguments.length<4)return j=q.map(function(z){return N7(G,z,B)}),Y=j.join(" "),Y.split(j[0]).length===5?j[0]:Y;j=(U+"").split(" "),Y={},q.forEach(function(z,L){return Y[z]=j[L]=j[L]||j[(L-1)/2|0]}),G.init(H,Y,X)}});var rQ={name:"css",register:pQ,targetTest:function(J){return J.style&&J.nodeType},init:function(J,K,Q,Z,W){var q=this._props,G=J.style,H=Q.vars.startAt,B,U,X,j,Y,z,L,R,D,A,C,F,V,P,M,E;oQ||pQ(),this.styles=this.styles||N$(J),E=this.styles.props,this.tween=Q;for(L in K){if(L==="autoRound")continue;if(U=K[L],V1[L]&&hQ(L,K,Q,Z,J,W))continue;if(Y=typeof U,z=Y8[L],Y==="function")U=U.call(Q,Z,J,W),Y=typeof U;if(Y==="string"&&~U.indexOf("random("))U=y9(U);if(z)z(this,J,L,U,Q)&&(M=1);else if(L.substr(0,2)==="--"){if(B=(getComputedStyle(J).getPropertyValue(L)+"").trim(),U+="",R7.lastIndex=0,!R7.test(B))R=t0(B),D=t0(U);D?R!==D&&(B=c7(J,L,B,D)+D):R&&(U+=R),this.add(G,"setProperty",B,U,Z,W,0,0,L),q.push(L),E.push(L,0,G[L])}else if(Y!=="undefined"){if(H&&L in H)B=typeof H[L]==="function"?H[L].call(Q,Z,J,W):H[L],_0(B)&&~B.indexOf("random(")&&(B=y9(B)),t0(B+"")||B==="auto"||(B+=D1.units[L]||t0(N7(J,L))||""),(B+"").charAt(1)==="="&&(B=N7(J,L));else B=N7(J,L);if(j=parseFloat(B),A=Y==="string"&&U.charAt(1)==="="&&U.substr(0,2),A&&(U=U.substr(2)),X=parseFloat(U),L in q7){if(L==="autoAlpha"){if(j===1&&N7(J,"visibility")==="hidden"&&X)j=0;E.push("visibility",0,G.visibility),m7(this,G,"visibility",j?"inherit":"hidden",X?"inherit":"hidden",!X)}if(L!=="scale"&&L!=="transform")L=q7[L],~L.indexOf(",")&&(L=L.split(",")[0])}if(C=L in V7,C){if(this.styles.save(L),Y==="string"&&U.substring(0,6)==="var(--")U=_1(J,U.substring(4,U.indexOf(")"))),X=parseFloat(U);if(!F)V=J._gsap,V.renderTransform&&!K.parseTransform||FJ(J,K.parseTransform),P=K.smoothOrigin!==!1&&V.smooth,F=this._pt=new Y1(this._pt,G,D0,0,1,V.renderTransform,V,0,-1),F.dep=1;if(L==="scale")this._pt=new Y1(this._pt,V,"scaleY",V.scaleY,(A?$9(V.scaleY,A+X):X)-V.scaleY||0,mQ),this._pt.u=0,q.push("scaleY",L),L+="X";else if(L==="transformOrigin"){if(E.push(I1,0,G[I1]),U=KG(U),V.svg)lQ(J,U,0,P,0,this);else D=parseFloat(U.split(" ")[2])||0,D!==V.zOrigin&&m7(this,V,"zOrigin",V.zOrigin,D),m7(this,G,L,j8(B),j8(U));continue}else if(L==="svgOrigin"){lQ(J,U,1,P,0,this);continue}else if(L in D$){qG(this,V,L,j,A?$9(j,A+U):U);continue}else if(L==="smoothOrigin"){m7(this,V,"smooth",V.smooth,U);continue}else if(L==="force3D"){V[L]=U;continue}else if(L==="transform"){GG(this,U,J);continue}}else if(!(L in G))L=_9(L)||L;if(C||(X||X===0)&&(j||j===0)&&!mq.test(U)&&L in G){if(R=(B+"").substr((j+"").length),X||(X=0),D=t0(U)||(L in D1.units?D1.units[L]:R),R!==D&&(j=c7(J,L,B,D)),this._pt=new Y1(this._pt,C?V:G,L,j,(A?$9(j,A+X):X)-j,!C&&(D==="px"||L==="zIndex")&&K.autoRound!==!1?lq:mQ),this._pt.u=D||0,R!==D&&D!=="%")this._pt.b=B,this._pt.r=pq}else if(!(L in G)){if(L in J)this.add(J,L,B||J[L],A?A+U:U,Z,W);else if(L!=="parseTransform"){H8(L,U);continue}}else QG.call(this,J,L,B,A?A+U:U);C||(L in G?E.push(L,0,G[L]):typeof J[L]==="function"?E.push(L,2,J[L]()):E.push(L,1,B||J[L])),q.push(L)}}M&&gQ(this)},render:function(J,K){if(K.tween._time||!iQ()){var Q=K._pt;while(Q)Q.r(J,Q.d),Q=Q._next}else K.styles.revert()},get:N7,aliases:q7,getSetter:function(J,K,Q){var Z=q7[K];return Z&&Z.indexOf(",")<0&&(K=Z),K in V7&&K!==I1&&(J._gsap.x||N7(J,"x"))?Q&&q$===Q?K==="scale"?nq:sq:(q$=Q||{})&&(K==="scale"?rq:aq):J.style&&!G8(J.style[K])?oq:~K.indexOf("-")?iq:X8(J,K)},core:{_removeProperty:U9,_getMatrix:nQ}};W1.utils.checkPrefix=_9;W1.core.getStyleSaver=N$;(function($,J,K,Q){var Z=X1($+","+J+","+K,function(W){V7[W]=1});X1(J,function(W){D1.units[W]="deg",D$[W]=1}),q7[Z[13]]=$+","+J,X1(Q,function(W){var q=W.split(":");q7[q[1]]=Z[q[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");X1("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function($){D1.units[$]="px"});W1.registerPlugin(rQ);var CJ=W1.registerPlugin(rQ)||W1,V6=CJ.core.Tween;function O$($,J){for(var K=0;KH)W=Z,Z=z,G=q,q=R;else if(Q)Z+=z;else Z=W+(z-W)/(R-G)*(q-G)},X=function(){W=Z=Q?0:Z,G=q=0},j=function(z){var L=G,R=W,D=IJ();return(z||z===0)&&z!==Z&&U(z),q===G||D-G>B?0:(Z+(Q?R:-R))/((Q?D:q)-L)*1000};return{update:U,reset:X,getVelocity:j}},DJ=function(J,K){return K&&!J._gsapAllow&&J.preventDefault(),J.changedTouches?J.changedTouches[0]:J},A$=function(J){var K=Math.max.apply(Math,J),Q=Math.min.apply(Math,J);return Math.abs(K)>=Math.abs(Q)?K:Q},w$=function(){EJ=e0.core.globals().ScrollTrigger,EJ&&EJ.core&&UG()},b$=function(J){if(e0=J||T$(),!R8&&e0&&typeof document<"u"&&document.body)P1=window,p7=document,l7=p7.documentElement,g9=p7.body,P$=[P1,p7,l7,g9],BG=e0.utils.clamp,x$=e0.core.context||function(){},X9="onpointerenter"in g9?"pointer":"mouse",k$=A0.isTouch=P1.matchMedia&&P1.matchMedia("(hover: none), (pointer: coarse)").matches?1:("ontouchstart"in P1)||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,s1=A0.eventTypes=("ontouchstart"in l7?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in l7)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return S$=0},500),w$(),R8=1;return R8};q1.op=y0;e.cache=0;var A0=function(){function $(K){this.init(K)}var J=$.prototype;return J.init=function(Q){R8||b$(e0)||console.warn("Please gsap.registerPlugin(Observer)"),EJ||w$();var{tolerance:Z,dragMinimum:W,type:q,target:G,lineHeight:H,debounce:B,preventDefault:U,onStop:X,onStopDelay:j,ignore:Y,wheelSpeed:z,event:L,onDragStart:R,onDragEnd:D,onDrag:A,onPress:C,onRelease:F,onRight:V,onLeft:P,onUp:M,onDown:E,onChangeX:I,onChangeY:O,onChange:S,onToggleX:x,onToggleY:w,onHover:b,onHoverEnd:T,onMove:_,ignoreCheck:h,isNormalizer:c,onGestureStart:d,onGestureEnd:N,onWheel:p,onEnable:o,onDisable:M0,onClick:K0,scrollSpeed:t,capture:r,allowClicks:B0,lockAxis:U0,onLockAxis:S0}=Q;this.target=G=z1(G)||l7,this.vars=Q,Y&&(Y=e0.utils.toArray(Y)),Z=Z||0.000000001,W=W||0,z=z||1,t=t||1,q=q||"wheel,touch,pointer",B=B!==!1,H||(H=parseFloat(P1.getComputedStyle(g9).lineHeight)||22);var g0,z0,d0,u,Z0,o0,i0,k=this,k0=0,m1=0,w1=Q.passive||!U&&Q.passive!==!1,v=C7(G,q1),b1=C7(G,y0),S7=v(),n7=b1(),m0=~q.indexOf("touch")&&!~q.indexOf("pointer")&&s1[0]==="pointerdown",w7=OJ(G),P0=G.ownerDocument||p7,c1=[0,0,0],y1=[0,0,0],Y7=0,ZJ=function(){return Y7=IJ()},w0=function(m,G0){return(k.event=m)&&Y&&XG(m.target,Y)||G0&&m0&&m.pointerType!=="touch"||h&&h(m,G0)},nJ=function(){k._vx.reset(),k._vy.reset(),z0.pause(),X&&X(k)},j7=function(){var m=k.deltaX=A$(c1),G0=k.deltaY=A$(y1),y=Math.abs(m)>=Z,i=Math.abs(G0)>=Z;if(S&&(y||i)&&S(k,m,G0,c1,y1),y)V&&k.deltaX>0&&V(k),P&&k.deltaX<0&&P(k),I&&I(k),x&&k.deltaX<0!==k0<0&&x(k),k0=k.deltaX,c1[0]=c1[1]=c1[2]=0;if(i)E&&k.deltaY>0&&E(k),M&&k.deltaY<0&&M(k),O&&O(k),w&&k.deltaY<0!==m1<0&&w(k),m1=k.deltaY,y1[0]=y1[1]=y1[2]=0;if(u||d0){if(_&&_(k),d0)R&&d0===1&&R(k),A&&A(k),d0=0;u=!1}if(o0&&!(o0=!1)&&S0&&S0(k),Z0)p(k),Z0=!1;g0=0},I9=function(m,G0,y){c1[y]+=m,y1[y]+=G0,k._vx.update(m),k._vy.update(G0),B?g0||(g0=requestAnimationFrame(j7)):j7()},O9=function(m,G0){if(U0&&!i0)k.axis=i0=Math.abs(m)>Math.abs(G0)?"x":"y",o0=!0;if(i0!=="y")c1[2]+=m,k._vx.update(m,!0);if(i0!=="x")y1[2]+=G0,k._vy.update(G0,!0);B?g0||(g0=requestAnimationFrame(j7)):j7()},b7=function(m){if(w0(m,1))return;m=DJ(m,U);var{clientX:G0,clientY:y}=m,i=G0-k.x,g=y-k.y,s=k.isDragging;if(k.x=G0,k.y=y,s||(i||g)&&(Math.abs(k.startX-G0)>=W||Math.abs(k.startY-y)>=W))d0=s?2:1,s||(k.isDragging=!0),O9(i,g)},r7=k.onPress=function(n){if(w0(n,1)||n&&n.button)return;k.axis=i0=null,z0.pause(),k.isPressed=!0,n=DJ(n),k0=m1=0,k.startX=k.x=n.clientX,k.startY=k.y=n.clientY,k._vx.reset(),k._vy.reset(),L1(c?G:P0,s1[1],b7,w1,!0),k.deltaX=k.deltaY=0,C&&C(k)},$0=k.onRelease=function(n){if(w0(n,1))return;j1(c?G:P0,s1[1],b7,!0);var m=!isNaN(k.y-k.startY),G0=k.isDragging,y=G0&&(Math.abs(k.x-k.startX)>3||Math.abs(k.y-k.startY)>3),i=DJ(n);if(!y&&m){if(k._vx.reset(),k._vy.reset(),U&&B0)e0.delayedCall(0.08,function(){if(IJ()-Y7>300&&!n.defaultPrevented){if(n.target.click)n.target.click();else if(P0.createEvent){var g=P0.createEvent("MouseEvents");g.initMouseEvent("click",!0,!0,P1,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.target.dispatchEvent(g)}}})}k.isDragging=k.isGesturing=k.isPressed=!1,X&&G0&&!c&&z0.restart(!0),d0&&j7(),D&&G0&&D(k),F&&F(k,y)},a7=function(m){return m.touches&&m.touches.length>1&&(k.isGesturing=!0)&&d(m,k.isDragging)},p1=function(){return(k.isGesturing=!1)||N(k)},l1=function(m){if(w0(m))return;var G0=v(),y=b1();I9((G0-S7)*t,(y-n7)*t,1),S7=G0,n7=y,X&&z0.restart(!0)},o1=function(m){if(w0(m))return;m=DJ(m,U),p&&(Z0=!0);var G0=(m.deltaMode===1?H:m.deltaMode===2?P1.innerHeight:1)*z;I9(m.deltaX*G0,m.deltaY*G0,0),X&&!c&&z0.restart(!0)},t7=function(m){if(w0(m))return;var{clientX:G0,clientY:y}=m,i=G0-k.x,g=y-k.y;k.x=G0,k.y=y,u=!0,X&&z0.restart(!0),(i||g)&&O9(i,g)},A9=function(m){k.event=m,b(k)},L7=function(m){k.event=m,T(k)},$J=function(m){return w0(m)||DJ(m,U)&&K0(k)};z0=k._dc=e0.delayedCall(j||0.25,nJ).pause(),k.deltaX=k.deltaY=0,k._vx=N8(0,50,!0),k._vy=N8(0,50,!0),k.scrollX=v,k.scrollY=b1,k.isDragging=k.isGesturing=k.isPressed=!1,x$(this),k.enable=function(n){if(!k.isEnabled){if(L1(w7?P0:G,"scroll",tQ),q.indexOf("scroll")>=0&&L1(w7?P0:G,"scroll",l1,w1,r),q.indexOf("wheel")>=0&&L1(G,"wheel",o1,w1,r),q.indexOf("touch")>=0&&k$||q.indexOf("pointer")>=0)L1(G,s1[0],r7,w1,r),L1(P0,s1[2],$0),L1(P0,s1[3],$0),B0&&L1(G,"click",ZJ,!0,!0),K0&&L1(G,"click",$J),d&&L1(P0,"gesturestart",a7),N&&L1(P0,"gestureend",p1),b&&L1(G,X9+"enter",A9),T&&L1(G,X9+"leave",L7),_&&L1(G,X9+"move",t7);k.isEnabled=!0,k.isDragging=k.isGesturing=k.isPressed=u=d0=!1,k._vx.reset(),k._vy.reset(),S7=v(),n7=b1(),n&&n.type&&r7(n),o&&o(k)}return k},k.disable=function(){if(k.isEnabled){if(u9.filter(function(n){return n!==k&&OJ(n.target)}).length||j1(w7?P0:G,"scroll",tQ),k.isPressed)k._vx.reset(),k._vy.reset(),j1(c?G:P0,s1[1],b7,!0);j1(w7?P0:G,"scroll",l1,r),j1(G,"wheel",o1,r),j1(G,s1[0],r7,r),j1(P0,s1[2],$0),j1(P0,s1[3],$0),j1(G,"click",ZJ,!0),j1(G,"click",$J),j1(P0,"gesturestart",a7),j1(P0,"gestureend",p1),j1(G,X9+"enter",A9),j1(G,X9+"leave",L7),j1(G,X9+"move",t7),k.isEnabled=k.isPressed=k.isDragging=!1,M0&&M0(k)}},k.kill=k.revert=function(){k.disable();var n=u9.indexOf(k);n>=0&&u9.splice(n,1),F7===k&&(F7=0)},u9.push(k),c&&OJ(G)&&(F7=k),k.enable(L)},HG($,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),$}();A0.version="3.13.0";A0.create=function($){return new A0($)};A0.register=b$;A0.getAll=function(){return u9.slice()};A0.getById=function($){return u9.filter(function(J){return J.vars.id===$})[0]};T$()&&e0.registerPlugin(A0);/*! * ScrollTrigger 3.13.0 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var f,c9,Q0,L0,S1,H0,jK,y8,_J,wJ,kJ,V8,G1,_8,qK,M1,y$,h$,p9,a$,eQ,t$,R1,GK,e$,JW,o7,HK,LK,l9,zK,h8,BK,JK,F8=1,H1=Date.now,QK=H1(),d1=0,PJ=0,f$=function(J,K,Q){var Z=T1(J)&&(J.substr(0,6)==="clamp("||J.indexOf("max")>-1);return Q["_"+K+"Clamp"]=Z,Z?J.substr(6,J.length-7):J},v$=function(J,K){return K&&(!T1(J)||J.substr(0,6)!=="clamp(")?"clamp("+J+")":J},YG=function $(){return PJ&&requestAnimationFrame($)},_$=function(){return _8=1},u$=function(){return _8=0},G7=function(J){return J},xJ=function(J){return Math.round(J*1e5)/1e5||0},QW=function(){return typeof window<"u"},KW=function(){return f||QW()&&(f=window.gsap)&&f.registerPlugin&&f},M9=function(J){return!!~jK.indexOf(J)},ZW=function(J){return(J==="Height"?zK:Q0["inner"+J])||S1["client"+J]||H0["client"+J]},$W=function(J){return D7(J,"getBoundingClientRect")||(M9(J)?function(){return b8.width=Q0.innerWidth,b8.height=zK,b8}:function(){return E7(J)})},jG=function(J,K,Q){var{d:Z,d2:W,a:q}=Q;return(q=D7(J,"getBoundingClientRect"))?function(){return q()[Z]}:function(){return(K?ZW(W):J["client"+W])||0}},LG=function(J,K){return!K||~n1.indexOf(J)?$W(J):function(){return b8}},H7=function(J,K){var{s:Q,d2:Z,d:W,a:q}=K;return Math.max(0,(Q="scroll"+Z)&&(q=D7(J,Q))?q()-$W(J)()[W]:M9(J)?(S1[Q]||H0[Q])-ZW(Z):J[Q]-J["offset"+Z])},C8=function(J,K){for(var Q=0;Q0){Z-=q;for(G=0;G=Z)return Q[G];return Q[G-1]}else{G=Q.length,Z+=q;while(G--)if(Q[G]<=Z)return Q[G]}return Q[0]}:function(Z,W,q){if(q===void 0)q=0.001;var G=K(Z);return!W||Math.abs(G-Z)Q&&(Z*=K/100),J=J.substr(0,Q-1);J=Z+(J in v8?v8[J]*K:~J.indexOf("%")?parseFloat(J)*K/100:parseFloat(J)||0)}return J},O8=function(J,K,Q,Z,W,q,G,H){var{startColor:B,endColor:U,fontSize:X,indent:j,fontWeight:Y}=W,z=L0.createElement("div"),L=M9(Q)||D7(Q,"pinType")==="fixed",R=J.indexOf("scroller")!==-1,D=L?H0:Q,A=J.indexOf("start")!==-1,C=A?B:U,F="border-color:"+C+";font-size:"+X+";color:"+C+";font-weight:"+Y+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return F+="position:"+((R||H)&&L?"fixed;":"absolute;"),(R||H||!L)&&(F+=(Z===y0?RK:MK)+":"+(q+parseFloat(j))+"px;"),G&&(F+="box-sizing:border-box;text-align:left;width:"+G.offsetWidth+"px;"),z._isStart=A,z.setAttribute("class","gsap-marker-"+J+(K?" marker-"+K:"")),z.style.cssText=F,z.innerText=K||K===0?J+"-"+K:J,D.children[0]?D.insertBefore(z,D.children[0]):D.appendChild(z),z._offset=z["offset"+Z.op.d2],T8(z,0,Z,A),z},T8=function(J,K,Q,Z){var W={display:"block"},q=Q[Z?"os2":"p2"],G=Q[Z?"p2":"os2"];J._isFlipped=Z,W[Q.a+"Percent"]=Z?-100:0,W[Q.a]=Z?"1px":0,W["border"+q+i9]=1,W["border"+G+i9]=0,W[Q.p]=K+"px",f.set(J,W)},J0=[],UK={},uJ,m$=function(){return H1()-d1>34&&(uJ||(uJ=requestAnimationFrame(I7)))},m9=function(){if(!R1||!R1.isPressed||R1.startX>H0.clientWidth){if(e.cache++,R1)uJ||(uJ=requestAnimationFrame(I7));else I7();d1||V9("scrollStart"),d1=H1()}},ZK=function(){JW=Q0.innerWidth,e$=Q0.innerHeight},SJ=function(J){e.cache++,(J===!0||!G1&&!t$&&!L0.fullscreenElement&&!L0.webkitFullscreenElement&&(!GK||JW!==Q0.innerWidth||Math.abs(Q0.innerHeight-e$)>Q0.innerHeight*0.25))&&y8.restart(!0)},N9={},NG=[],HW=function $(){return p0(a,"scrollEnd",$)||j9(!0)},V9=function(J){return N9[J]&&N9[J].map(function(K){return K()})||NG},x1=[],BW=function(J){for(var K=0;KW,G=Z._startClamp&&Z.start>=W;(q||G)&&Z.setPositions(G?W-1:Z.start,q?Math.max(G?W:Z.start+1,W):Z.end,!0)}),p$(!1),BK=0,Q.forEach(function(Z){return Z&&Z.render&&Z.render(-1)}),e.forEach(function(Z){if(B1(Z))Z.smooth&&requestAnimationFrame(function(){return Z.target.style.scrollBehavior="smooth"}),Z.rec&&Z(Z.rec)}),UW(LK,1),y8.pause(),R9++,N1=2,I7(2),J0.forEach(function(Z){return B1(Z.vars.onRefresh)&&Z.vars.onRefresh(Z)}),N1=a.isRefreshing=!1,V9("refresh")},XK=0,S8=1,vJ,I7=function(J){if(J===2||!N1&&!h8){a.isUpdating=!0,vJ&&vJ.update(0);var K=J0.length,Q=H1(),Z=Q-QK>=50,W=K&&J0[0].scroll();if(S8=XK>W?-1:1,N1||(XK=W),Z){if(d1&&!_8&&Q-d1>200)d1=0,V9("scrollEnd");kJ=QK,QK=Q}if(S8<0){M1=K;while(M1-- >0)J0[M1]&&J0[M1].update(0,Z);S8=1}else for(M1=0;M120),Q-=Q-P}else Y&&(J=f.utils.mapRange(Y.scrollTrigger.start,Y.scrollTrigger.end,0,j,J)),G&&T8(G,Q,Z,!0);if(z)H[z]=J||-0.001,J<0&&(J=0);if(q){var E=J+Q,I=q._isStart;if(R="scroll"+Z.d2,T8(q,E,Z,I&&E>20||!I&&(X?Math.max(H0[R],S1[R]):q.parentNode[R])<=E+1),X)B=E7(G),X&&(q.style[Z.op.p]=B[Z.op.p]-Z.op.m-q._offset+u0)}if(Y&&A)R=E7(A),Y.seek(j),D=E7(A),Y._caScrollDist=R[Z.p]-D[Z.p],J=J/Y._caScrollDist*j;return Y&&Y.seek(L),Y?J:Math.round(J)},EG=/(webkit|moz|length|cssText|inset)/i,o$=function(J,K,Q,Z){if(J.parentNode!==K){var W=J.style,q,G;if(K===H0){J._stOrig=W.cssText,G=g1(J);for(q in G)if(!+q&&!EG.test(q)&&G[q]&&typeof W[q]==="string"&&q!=="0")W[q]=G[q];W.top=Q,W.left=Z}else W.cssText=J._stOrig;f.core.getCache(J).uncache=1,K.appendChild(J)}},YW=function(J,K,Q){var Z=K,W=Z;return function(q){var G=Math.round(J());if(G!==Z&&G!==W&&Math.abs(G-Z)>3&&Math.abs(G-W)>3)q=G,Q&&Q();return W=Z,Z=Math.round(q),Z}},k8=function(J,K,Q){var Z={};Z[K.p]="+="+Q,f.set(J,Z)},i$=function(J,K){var Q=C7(J,K),Z="_scroll"+K.p2,W=function q(G,H,B,U,X){var j=q.tween,Y=H.onComplete,z={};B=B||Q();var L=YW(Q,B,function(){j.kill(),q.tween=0});return X=U&&X||0,U=U||G-B,j&&j.kill(),H[Z]=G,H.inherit=!1,H.modifiers=z,z[Z]=function(){return L(B+U*j.ratio+X*j.ratio*j.ratio)},H.onUpdate=function(){e.cache++,q.tween&&I7()},H.onComplete=function(){q.tween=0,Y&&Y.call(j)},j=q.tween=f.to(J,H),j};return J[Z]=Q,Q.wheelHandler=function(){return W.tween&&W.tween.kill()&&(W.tween=0)},l0(J,"wheel",Q.wheelHandler),a.isTouch&&l0(J,"touchmove",Q.wheelHandler),W},a=function(){function $(K,Q){c9||$.register(f)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),HK(this),this.init(K,Q)}var J=$.prototype;return J.init=function(Q,Z){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!PJ){this.update=this.refresh=this.kill=G7;return}Q=g$(T1(Q)||TJ(Q)||Q.nodeType?{trigger:Q}:Q,I8);var W=Q,q=W.onUpdate,G=W.toggleClass,H=W.id,B=W.onToggle,U=W.onRefresh,X=W.scrub,j=W.trigger,Y=W.pin,z=W.pinSpacing,L=W.invalidateOnRefresh,R=W.anticipatePin,D=W.onScrubComplete,A=W.onSnapComplete,C=W.once,F=W.snap,V=W.pinReparent,P=W.pinSpacer,M=W.containerAnimation,E=W.fastScrollEnd,I=W.preventOverlaps,O=Q.horizontal||Q.containerAnimation&&Q.horizontal!==!1?q1:y0,S=!X&&X!==0,x=z1(Q.scroller||Q0),w=f.core.getCache(x),b=M9(x),T=("pinType"in Q?Q.pinType:D7(x,"pinType")||b&&"fixed")==="fixed",_=[Q.onEnter,Q.onLeave,Q.onEnterBack,Q.onLeaveBack],h=S&&Q.toggleActions.split(" "),c="markers"in Q?Q.markers:I8.markers,d=b?0:parseFloat(g1(x)["border"+O.p2+i9])||0,N=this,p=Q.onRefreshInit&&function(){return Q.onRefreshInit(N)},o=jG(x,b,O),M0=LG(x,b),K0=0,t=0,r=0,B0=C7(x,O),U0,S0,g0,z0,d0,u,Z0,o0,i0,k,k0,m1,w1,v,b1,S7,n7,m0,w7,P0,c1,y1,Y7,ZJ,w0,nJ,j7,I9,O9,b7,r7,$0,a7,p1,l1,o1,t7,A9,L7;if(N._startClamp=N._endClamp=!1,N._dir=O,R*=45,N.scroller=x,N.scroll=M?M.time.bind(M):B0,z0=B0(),N.vars=Q,Z=Z||Q.animation,"refreshPriority"in Q)a$=1,Q.refreshPriority===-9999&&(vJ=N);if(w.tweenScroll=w.tweenScroll||{top:i$(x,y0),left:i$(x,q1)},N.tweenTo=U0=w.tweenScroll[O.p],N.scrubDuration=function(y){if(a7=TJ(y)&&y,!a7)$0&&$0.progress(1).kill(),$0=0;else $0?$0.duration(y):$0=f.to(Z,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:a7,paused:!0,onComplete:function(){return D&&D(N)}})},Z)Z.vars.lazy=!1,Z._initted&&!N.isReverted||Z.vars.immediateRender!==!1&&Q.immediateRender!==!1&&Z.duration()&&Z.render(0,!0,!0),N.animation=Z.pause(),Z.scrollTrigger=N,N.scrubDuration(X),b7=0,H||(H=Z.vars.id);if(F){if(!Y9(F)||F.push)F={snapTo:F};"scrollBehavior"in H0.style&&f.set(b?[H0,S1]:x,{scrollBehavior:"auto"}),e.forEach(function(y){return B1(y)&&y.target===(b?L0.scrollingElement||S1:x)&&(y.smooth=!1)}),g0=B1(F.snapTo)?F.snapTo:F.snapTo==="labels"?RG(Z):F.snapTo==="labelsDirectional"?MG(Z):F.directional!==!1?function(y,i){return VK(F.snapTo)(y,H1()-t<500?0:i.direction)}:f.utils.snap(F.snapTo),p1=F.duration||{min:0.1,max:2},p1=Y9(p1)?wJ(p1.min,p1.max):wJ(p1,p1),l1=f.delayedCall(F.delay||a7/2||0.1,function(){var y=B0(),i=H1()-t<500,g=U0.tween;if((i||Math.abs(N.getVelocity())<10)&&!g&&!_8&&K0!==y){var s=(y-u)/v,c0=Z&&!S?Z.totalProgress():s,W0=i?0:(c0-r7)/(H1()-kJ)*1000||0,x0=f.utils.clamp(-s,1-s,d9(W0/2)*W0/0.185),Q1=s+(F.inertia===!1?0:x0),E0,N0,X0=F,i1=X0.onStart,F0=X0.onInterrupt,O1=X0.onComplete;if(E0=g0(Q1,N),TJ(E0)||(E0=Q1),N0=Math.max(0,Math.round(u+E0*v)),y<=Z0&&y>=u&&N0!==y){if(g&&!g._initted&&g.data<=d9(N0-y))return;if(F.inertia===!1)x0=E0-s;U0(N0,{duration:p1(d9(Math.max(d9(Q1-c0),d9(E0-c0))*0.185/W0/0.05||0)),ease:F.ease||"power3",data:d9(N0-y),onInterrupt:function(){return l1.restart(!0)&&F0&&F0(N)},onComplete:function(){if(N.update(),K0=B0(),Z&&!S)$0?$0.resetTo("totalProgress",E0,Z._tTime/Z._tDur):Z.progress(E0);b7=r7=Z&&!S?Z.totalProgress():N.progress,A&&A(N),O1&&O1(N)}},y,x0*v,N0-y-x0*v),i1&&i1(N,U0.tween)}}else if(N.isActive&&K0!==y)l1.restart(!0)}).pause()}if(H&&(UK[H]=N),j=N.trigger=z1(j||Y!==!0&&Y),L7=j&&j._gsap&&j._gsap.stRevert,L7&&(L7=L7(N)),Y=Y===!0?j:z1(Y),T1(G)&&(G={targets:j,className:G}),Y){if(z===!1||z===u1||(z=!z&&Y.parentNode&&Y.parentNode.style&&g1(Y.parentNode).display==="flex"?!1:h0),N.pin=Y,S0=f.core.getCache(Y),!S0.spacer){if(P)P=z1(P),P&&!P.nodeType&&(P=P.current||P.nativeElement),S0.spacerIsNative=!!P,P&&(S0.spacerState=A8(P));S0.spacer=m0=P||L0.createElement("div"),m0.classList.add("pin-spacer"),H&&m0.classList.add("pin-spacer-"+H),S0.pinState=b1=A8(Y)}else b1=S0.pinState;Q.force3D!==!1&&f.set(Y,{force3D:!0}),N.spacer=m0=S0.spacer,O9=g1(Y),ZJ=O9[z+O.os2],P0=f.getProperty(Y),c1=f.quickSetter(Y,O.a,u0),$K(Y,m0,O9),n7=A8(Y)}if(c){m1=Y9(c)?g$(c,d$):d$,k=O8("scroller-start",H,x,O,m1,0),k0=O8("scroller-end",H,x,O,m1,0,k),w7=k["offset"+O.op.d2];var $J=z1(D7(x,"content")||x);if(o0=this.markerStart=O8("start",H,$J,O,m1,w7,0,M),i0=this.markerEnd=O8("end",H,$J,O,m1,w7,0,M),M&&(A9=f.quickSetter([o0,i0],O.a,u0)),!T&&!(n1.length&&D7(x,"fixedMarkers")===!0))zG(b?H0:x),f.set([k,k0],{force3D:!0}),nJ=f.quickSetter(k,O.a,u0),I9=f.quickSetter(k0,O.a,u0)}if(M){var n=M.vars.onUpdate,m=M.vars.onUpdateParams;M.eventCallback("onUpdate",function(){N.update(0,0,1),n&&n.apply(M,m||[])})}if(N.previous=function(){return J0[J0.indexOf(N)-1]},N.next=function(){return J0[J0.indexOf(N)+1]},N.revert=function(y,i){if(!i)return N.kill(!0);var g=y!==!1||!N.enabled,s=G1;if(g!==N.isReverted){if(g)o1=Math.max(B0(),N.scroll.rec||0),r=N.progress,t7=Z&&Z.progress();if(o0&&[o0,i0,k,k0].forEach(function(c0){return c0.style.display=g?"none":"block"}),g)G1=N,N.update(g);if(Y&&(!V||!N.isActive))if(g)FG(Y,m0,b1);else $K(Y,m0,g1(Y),w0);g||N.update(g),G1=s,N.isReverted=g}},N.refresh=function(y,i,g,s){if((G1||!N.enabled)&&!i)return;if(Y&&y&&d1){l0($,"scrollEnd",HW);return}if(!N1&&p&&p(N),G1=N,U0.tween&&!g)U0.tween.kill(),U0.tween=0;if($0&&$0.pause(),L&&Z)Z.revert({kill:!1}).invalidate(),Z.getChildren&&Z.getChildren(!0,!0,!1).forEach(function(y7){return y7.vars.immediateRender&&y7.render(0,!0,!0)});N.isReverted||N.revert(!0,!0),N._subPinOffset=!1;var c0=o(),W0=M0(),x0=M?M.duration():H7(x,O),Q1=v<=0.01||!v,E0=0,N0=s||0,X0=Y9(g)?g.end:Q.end,i1=Q.endTrigger||j,F0=Y9(g)?g.start:Q.start||(Q.start===0||!j?0:Y?"0 0":"0 100%"),O1=N.pinnedContainer=Q.pinnedContainer&&z1(Q.pinnedContainer,N),J7=j&&Math.max(0,J0.indexOf(N))||0,s0=J7,n0,K1,e7,rJ,Z1,v0,Q7,ZQ,YZ,WJ,K7,qJ,aJ;if(c&&Y9(g))qJ=f.getProperty(k,O.p),aJ=f.getProperty(k0,O.p);while(s0-- >0){if(v0=J0[s0],v0.end||v0.refresh(0,1)||(G1=N),Q7=v0.pin,Q7&&(Q7===j||Q7===Y||Q7===O1)&&!v0.isReverted)WJ||(WJ=[]),WJ.unshift(v0),v0.revert(!0,!0);if(v0!==J0[s0])J7--,s0--}if(B1(F0)&&(F0=F0(N)),F0=f$(F0,"start",N),u=l$(F0,j,c0,O,B0(),o0,k,N,W0,d,T,x0,M,N._startClamp&&"_startClamp")||(Y?-0.001:0),B1(X0)&&(X0=X0(N)),T1(X0)&&!X0.indexOf("+="))if(~X0.indexOf(" "))X0=(T1(F0)?F0.split(" ")[0]:"")+X0;else E0=x8(X0.substr(2),c0),X0=T1(F0)?F0:(M?f.utils.mapRange(0,M.duration(),M.scrollTrigger.start,M.scrollTrigger.end,u):u)+E0,i1=j;X0=f$(X0,"end",N),Z0=Math.max(u,l$(X0||(i1?"100% 0":x0),i1,c0,O,B0()+E0,i0,k0,N,W0,d,T,x0,M,N._endClamp&&"_endClamp"))||-0.001,E0=0,s0=J7;while(s0--)if(v0=J0[s0],Q7=v0.pin,Q7&&v0.start-v0._pinPush<=u&&!M&&v0.end>0){if(n0=v0.end-(N._startClamp?Math.max(0,v0.start):v0.start),(Q7===j&&v0.start-v0._pinPush=H7(x,O))){if(n0=g1(Y),rJ=O===y0,e7=B0(),y1=parseFloat(P0(O.a))+N0,!x0&&Z0>1){if(K7=(b?L0.scrollingElement||S1:x).style,K7={style:K7,value:K7["overflow"+O.a.toUpperCase()]},b&&g1(H0)["overflow"+O.a.toUpperCase()]!=="scroll")K7.style["overflow"+O.a.toUpperCase()]="scroll"}if($K(Y,m0,n0),n7=A8(Y),K1=E7(Y,!0),ZQ=T&&C7(x,rJ?q1:y0)(),z){if(w0=[z+O.os2,v+N0+u0],w0.t=m0,s0=z===h0?f8(Y,O)+v+N0:0,s0)w0.push(O.d,s0+u0),m0.style.flexBasis!=="auto"&&(m0.style.flexBasis=s0+u0);if(o9(w0),O1)J0.forEach(function(y7){if(y7.pin===O1&&y7.vars.pinSpacing!==!1)y7._subPinOffset=!0});T&&B0(o1)}else s0=f8(Y,O),s0&&m0.style.flexBasis!=="auto"&&(m0.style.flexBasis=s0+u0);if(T)Z1={top:K1.top+(rJ?e7-u:ZQ)+u0,left:K1.left+(rJ?ZQ:e7-u)+u0,boxSizing:"border-box",position:"fixed"},Z1[L9]=Z1["max"+i9]=Math.ceil(K1.width)+u0,Z1[z9]=Z1["max"+NK]=Math.ceil(K1.height)+u0,Z1[u1]=Z1[u1+hJ]=Z1[u1+bJ]=Z1[u1+fJ]=Z1[u1+yJ]="0",Z1[h0]=n0[h0],Z1[h0+hJ]=n0[h0+hJ],Z1[h0+bJ]=n0[h0+bJ],Z1[h0+fJ]=n0[h0+fJ],Z1[h0+yJ]=n0[h0+yJ],S7=DG(b1,Z1,V),N1&&B0(0);if(Z)YZ=Z._initted,eQ(1),Z.render(Z.duration(),!0,!0),Y7=P0(O.a)-y1+v+N0,j7=Math.abs(v-Y7)>1,T&&j7&&S7.splice(S7.length-2,2),Z.render(0,!0,!0),YZ||Z.invalidate(!0),Z.parent||Z.totalTime(Z.totalTime()),eQ(0);else Y7=v;K7&&(K7.value?K7.style["overflow"+O.a.toUpperCase()]=K7.value:K7.style.removeProperty("overflow-"+O.a))}else if(j&&B0()&&!M){K1=j.parentNode;while(K1&&K1!==H0){if(K1._pinOffset)u-=K1._pinOffset,Z0-=K1._pinOffset;K1=K1.parentNode}}if(WJ&&WJ.forEach(function(y7){return y7.revert(!1,!0)}),N.start=u,N.end=Z0,z0=d0=N1?o1:B0(),!M&&!N1)z00?J0.slice(0,i).reverse():J0.slice(i+1);return(T1(y)?g.filter(function(s){return s.vars.preventOverlaps===y}):g).filter(function(s){return N.direction>0?s.end<=u:s.start>=Z0})},N.update=function(y,i,g){if(M&&!g&&!y)return;var s=N1===!0?o1:N.scroll(),c0=y?0:(s-u)/v,W0=c0<0?0:c0>1?1:c0||0,x0=N.progress,Q1,E0,N0,X0,i1,F0,O1,J7;if(i){if(d0=z0,z0=M?B0():s,F)r7=b7,b7=Z&&!S?Z.totalProgress():W0}if(R&&Y&&!G1&&!F8&&d1){if(!W0&&us+(s-d0)/(H1()-kJ)*R)W0=0.9999}if(W0!==x0&&N.enabled){if(Q1=N.isActive=!!W0&&W0<1,E0=!!x0&&x0<1,F0=Q1!==E0,i1=F0||!!W0!==!!x0,N.direction=W0>x0?1:-1,N.progress=W0,i1&&!G1){if(N0=W0&&!x0?0:W0===1?1:x0===1?2:3,S)X0=!F0&&h[N0+1]!=="none"&&h[N0+1]||h[N0],J7=Z&&(X0==="complete"||X0==="reset"||(X0 in Z))}if(I&&(F0||J7)&&(J7||X||!Z)&&(B1(I)?I(N):N.getTrailing(I).forEach(function(e7){return e7.endAnimation()})),!S){if($0&&!G1&&!F8)if($0._dp._time-$0._start!==$0._time&&$0.render($0._dp._time-$0._start),$0.resetTo)$0.resetTo("totalProgress",W0,Z._tTime/Z._tDur);else $0.vars.totalProgress=W0,$0.invalidate().restart();else if(Z)Z.totalProgress(W0,!!(G1&&(t||y)))}if(Y){if(y&&z&&(m0.style[z+O.os2]=ZJ),!T)c1(xJ(y1+Y7*W0));else if(i1){if(O1=!y&&W0>x0&&Z0+1>s&&s+1>=H7(x,O),V)if(!y&&(Q1||O1)){var s0=E7(Y,!0),n0=s-u;o$(Y,H0,s0.top+(O===y0?n0:0)+u0,s0.left+(O===y0?0:n0)+u0)}else o$(Y,m0);o9(Q1||O1?S7:n7),j7&&W0<1&&Q1||c1(y1+(W0===1&&!O1?Y7:0))}}if(F&&!U0.tween&&!G1&&!F8&&l1.restart(!0),G&&(F0||C&&W0&&(W0<1||!JK))&&_J(G.targets).forEach(function(e7){return e7.classList[Q1||C?"add":"remove"](G.className)}),q&&!S&&!y&&q(N),i1&&!G1){if(S){if(J7)if(X0==="complete")Z.pause().totalProgress(1);else if(X0==="reset")Z.restart(!0).pause();else if(X0==="restart")Z.restart(!0);else Z[X0]();q&&q(N)}if(F0||!JK){if(B&&F0&&KK(N,B),_[N0]&&KK(N,_[N0]),C&&(W0===1?N.kill(!1,1):_[N0]=0),!F0)N0=W0===1?1:3,_[N0]&&KK(N,_[N0])}if(E&&!Q1&&Math.abs(N.getVelocity())>(TJ(E)?E:2500))AJ(N.callbackAnimation),$0?$0.progress(1):AJ(Z,X0==="reverse"?1:!W0,1)}else if(S&&q&&!G1)q(N)}if(I9){var K1=M?s/M.duration()*(M._caScrollDist||0):s;nJ(K1+(k._isFlipped?1:0)),I9(K1)}A9&&A9(-s/M.duration()*(M._caScrollDist||0))},N.enable=function(y,i){if(!N.enabled){if(N.enabled=!0,l0(x,"resize",SJ),b||l0(x,"scroll",m9),p&&l0($,"refreshInit",p),y!==!1)N.progress=r=0,z0=d0=K0=B0();i!==!1&&N.refresh()}},N.getTween=function(y){return y&&U0?U0.tween:$0},N.setPositions=function(y,i,g,s){if(M){var c0=M.scrollTrigger,W0=M.duration(),x0=c0.end-c0.start;y=c0.start+x0*y/W0,i=c0.start+x0*i/W0}N.refresh(!1,!1,{start:v$(y,g&&!!N._startClamp),end:v$(i,g&&!!N._endClamp)},s),N.update()},N.adjustPinSpacing=function(y){if(w0&&y){var i=w0.indexOf(O.d)+1;w0[i]=parseFloat(w0[i])+y+u0,w0[1]=parseFloat(w0[1])+y+u0,o9(w0)}},N.disable=function(y,i){if(N.enabled){if(y!==!1&&N.revert(!0,!0),N.enabled=N.isActive=!1,i||$0&&$0.pause(),o1=0,S0&&(S0.uncache=1),p&&p0($,"refreshInit",p),l1)l1.pause(),U0.tween&&U0.tween.kill()&&(U0.tween=0);if(!b){var g=J0.length;while(g--)if(J0[g].scroller===x&&J0[g]!==N)return;p0(x,"resize",SJ),b||p0(x,"scroll",m9)}}},N.kill=function(y,i){N.disable(y,i),$0&&!i&&$0.kill(),H&&delete UK[H];var g=J0.indexOf(N);if(g>=0&&J0.splice(g,1),g===M1&&S8>0&&M1--,g=0,J0.forEach(function(s){return s.scroller===N.scroller&&(g=1)}),g||N1||(N.scroll.rec=0),Z)Z.scrollTrigger=null,y&&Z.revert({kill:!1}),i||Z.kill();if(o0&&[o0,i0,k,k0].forEach(function(s){return s.parentNode&&s.parentNode.removeChild(s)}),vJ===N&&(vJ=0),Y)S0&&(S0.uncache=1),g=0,J0.forEach(function(s){return s.pin===Y&&g++}),g||(S0.spacer=0);Q.onKill&&Q.onKill(N)},J0.push(N),N.enable(!1,!1),L7&&L7(N),Z&&Z.add&&!v){var G0=N.update;N.update=function(){N.update=G0,e.cache++,u||Z0||N.refresh()},f.delayedCall(0.01,N.update),v=0.01,u=Z0=0}else N.refresh();Y&&VG()},$.register=function(Q){if(!c9)f=Q||KW(),QW()&&window.document&&$.enable(),c9=PJ;return c9},$.defaults=function(Q){if(Q)for(var Z in Q)I8[Z]=Q[Z];return I8},$.disable=function(Q,Z){PJ=0,J0.forEach(function(q){return q[Z?"kill":"disable"](Q)}),p0(Q0,"wheel",m9),p0(L0,"scroll",m9),clearInterval(V8),p0(L0,"touchcancel",G7),p0(H0,"touchstart",G7),D8(p0,L0,"pointerdown,touchstart,mousedown",_$),D8(p0,L0,"pointerup,touchend,mouseup",u$),y8.kill(),C8(p0);for(var W=0;W0&&q.left+G0&&q.top+G=0&&x1.splice(K,5),x1.push(J,J.style.cssText,J.getBBox&&J.getAttribute("transform"),f.core.getCache(J),HK())}}):x1};a.revert=function($,J){return FK(!$,J)};a.create=function($,J){return new a($,J)};a.refresh=function($){return $?SJ(!0):(c9||a.register())&&j9(!0)};a.update=function($){return++e.cache&&I7($===!0?2:0)};a.clearScrollMemory=UW;a.maxScroll=function($,J){return H7($,J?q1:y0)};a.getScrollFunc=function($,J){return C7(z1($),J?q1:y0)};a.getById=function($){return UK[$]};a.getAll=function(){return J0.filter(function($){return $.vars.id!=="ScrollSmoother"})};a.isScrolling=function(){return!!d1};a.snapDirectional=VK;a.addEventListener=function($,J){var K=N9[$]||(N9[$]=[]);~K.indexOf(J)||K.push(J)};a.removeEventListener=function($,J){var K=N9[$],Q=K&&K.indexOf(J);Q>=0&&K.splice(Q,1)};a.batch=function($,J){var K=[],Q={},Z=J.interval||0.016,W=J.batchMax||1e9,q=function(B,U){var X=[],j=[],Y=f.delayedCall(Z,function(){U(X,j),X=[],j=[]}).pause();return function(z){X.length||Y.restart(!0),X.push(z.trigger),j.push(z),W<=X.length&&Y.progress(1)}},G;for(G in J)Q[G]=G.substr(0,2)==="on"&&B1(J[G])&&G!=="onRefreshInit"?q(G,J[G]):J[G];if(B1(W))W=W(),l0(a,"refresh",function(){return W=J.batchMax()});return _J($).forEach(function(H){var B={};for(G in Q)B[G]=Q[G];B.trigger=H,K.push(a.create(B))}),K};var s$=function(J,K,Q,Z){return K>Z?J(Z):K<0&&J(0),Q>Z?(Z-K)/(Q-K):Q<0?K/(K-Q):1},WK=function $(J,K){if(K===!0)J.style.removeProperty("touch-action");else J.style.touchAction=K===!0?"auto":K?"pan-"+K+(A0.isTouch?" pinch-zoom":""):"none";J===S1&&$(H0,K)},P8={auto:1,scroll:1},IG=function(J){var{event:K,target:Q,axis:Z}=J,W=(K.changedTouches?K.changedTouches[0]:K).target,q=W._gsap||f.core.getCache(W),G=H1(),H;if(!q._isScrollT||G-q._isScrollT>2000){while(W&&W!==H0&&(W.scrollHeight<=W.clientHeight&&W.scrollWidth<=W.clientWidth||!(P8[(H=g1(W)).overflowY]||P8[H.overflowX])))W=W.parentNode;q._isScroll=W&&W!==Q&&!M9(W)&&(P8[(H=g1(W)).overflowY]||P8[H.overflowX]),q._isScrollT=G}if(q._isScroll||Z==="x")K.stopPropagation(),K._gsapAllow=!0},jW=function(J,K,Q,Z){return A0.create({target:J,capture:!0,debounce:!1,lockAxis:!0,type:K,onWheel:Z=Z&&IG,onPress:Z,onDrag:Z,onScroll:Z,onEnable:function(){return Q&&l0(L0,A0.eventTypes[0],r$,!1,!0)},onDisable:function(){return p0(L0,A0.eventTypes[0],r$,!0)}})},OG=/(input|label|select|textarea)/i,n$,r$=function(J){var K=OG.test(J.target.tagName);if(K||n$)J._gsapAllow=!0,n$=K},AG=function(J){Y9(J)||(J={}),J.preventDefault=J.isNormalizer=J.allowClicks=!0,J.type||(J.type="wheel,touch"),J.debounce=!!J.debounce,J.id=J.id||"normalizer";var K=J,Q=K.normalizeScrollX,Z=K.momentum,W=K.allowNestedScroll,q=K.onRelease,G,H,B=z1(J.target)||S1,U=f.core.globals().ScrollSmoother,X=U&&U.get(),j=o7&&(J.content&&z1(J.content)||X&&J.content!==!1&&!X.smooth()&&X.content()),Y=C7(B,y0),z=C7(B,q1),L=1,R=(A0.isTouch&&Q0.visualViewport?Q0.visualViewport.scale*Q0.visualViewport.width:Q0.outerWidth)/Q0.innerWidth,D=0,A=B1(Z)?function(){return Z(G)}:function(){return Z||2.8},C,F,V=jW(B,J.type,!0,W),P=function(){return F=!1},M=G7,E=G7,I=function(){H=H7(B,y0),E=wJ(o7?1:0,H),Q&&(M=wJ(0,H7(B,q1))),C=R9},O=function(){j._gsap.y=xJ(parseFloat(j._gsap.y)+Y.offset)+"px",j.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(j._gsap.y)+", 0, 1)",Y.offset=Y.cacheID=0},S=function(){if(F){requestAnimationFrame(P);var c=xJ(G.deltaY/2),d=E(Y.v-c);if(j&&d!==Y.v+Y.offset){Y.offset=d-Y.v;var N=xJ((parseFloat(j&&j._gsap.y)||0)-Y.offset);j.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+N+", 0, 1)",j._gsap.y=N+"px",Y.cacheID=e.cache,I7()}return!0}Y.offset&&O(),F=!0},x,w,b,T,_=function(){if(I(),x.isActive()&&x.vars.scrollY>H)Y()>H?x.progress(1)&&Y(H):x.resetTo("scrollY",H)};return j&&f.set(j,{y:"+=0"}),J.ignoreCheck=function(h){return o7&&h.type==="touchmove"&&S(h)||L>1.05&&h.type!=="touchstart"||G.isGesturing||h.touches&&h.touches.length>1},J.onPress=function(){F=!1;var h=L;L=xJ((Q0.visualViewport&&Q0.visualViewport.scale||1)/R),x.pause(),h!==L&&WK(B,L>1.01?!0:Q?!1:"x"),w=z(),b=Y(),I(),C=R9},J.onRelease=J.onGestureStart=function(h,c){if(Y.offset&&O(),!c)T.restart(!0);else{e.cache++;var d=A(),N,p;if(Q)N=z(),p=N+d*0.05*-h.velocityX/0.227,d*=s$(z,N,p,H7(B,q1)),x.vars.scrollX=M(p);if(N=Y(),p=N+d*0.05*-h.velocityY/0.227,d*=s$(Y,N,p,H7(B,y0)),x.vars.scrollY=E(p),x.invalidate().duration(d).play(0.01),o7&&x.vars.scrollY>=H||N>=H-1)f.to({},{onUpdate:_,duration:d})}q&&q(h)},J.onWheel=function(){if(x._ts&&x.pause(),H1()-D>1000)C=0,D=H1()},J.onChange=function(h,c,d,N,p){if(R9!==C&&I(),c&&Q&&z(M(N[2]===c?w+(h.startX-h.x):z()+c-N[1])),d){Y.offset&&O();var o=p[2]===d,M0=o?b+h.startY-h.y:Y()+d-p[1],K0=E(M0);o&&M0!==K0&&(b+=K0-M0),Y(K0)}(d||c)&&I7()},J.onEnable=function(){if(WK(B,Q?!1:"x"),a.addEventListener("refresh",_),l0(Q0,"resize",_),Y.smooth)Y.target.style.scrollBehavior="auto",Y.smooth=z.smooth=!1;V.enable()},J.onDisable=function(){WK(B,!0),p0(Q0,"resize",_),a.removeEventListener("refresh",_),V.kill()},J.lockAxis=J.lockAxis!==!1,G=new A0(J),G.iOS=o7,o7&&!Y()&&Y(1),o7&&f.ticker.add(G7),T=G._dc,x=f.to(G,{ease:"power4",paused:!0,inherit:!1,scrollX:Q?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:YW(Y,Y(),function(){return x.pause()})},onUpdate:I7,onComplete:T.vars.onComplete}),G};a.sort=function($){if(B1($))return J0.sort($);var J=Q0.pageYOffset||0;return a.getAll().forEach(function(K){return K._sortY=K.trigger?J+K.trigger.getBoundingClientRect().top:K.start+Q0.innerHeight}),J0.sort($||function(K,Q){return(K.vars.refreshPriority||0)*-1e6+(K.vars.containerAnimation?1e6:K._sortY)-((Q.vars.containerAnimation?1e6:Q._sortY)+(Q.vars.refreshPriority||0)*-1e6)})};a.observe=function($){return new A0($)};a.normalizeScroll=function($){if(typeof $>"u")return R1;if($===!0&&R1)return R1.enable();if($===!1){R1&&R1.kill(),R1=$;return}var J=$ instanceof A0?$:AG($);return R1&&R1.target===J.target&&R1.kill(),M9(J.target)&&(R1=J),J};a.core={_getVelocityProp:N8,_inputObserver:jW,_scrollers:e,_proxies:n1,bridge:{ss:function(){d1||V9("scrollStart"),d1=H1()},ref:function(){return G1}}};KW()&&f.registerPlugin(a);/*! * SplitText 3.13.0 * https://gsap.com * * @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license. * @author: Jack Doyle */var gJ,s9,DK,kG=()=>DK||O7.register(window.gsap),LW=typeof Intl<"u"?new Intl.Segmenter:0,u8=($)=>typeof $==="string"?u8(document.querySelectorAll($)):("length"in $)?Array.from($):[$],zW=($)=>u8($).filter((J)=>J instanceof HTMLElement),EK=[],CK=function(){},PG=/\s+/g,RW=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),MW={left:0,top:0,width:0,height:0},NW=($,J)=>{if(J){let K=new Set($.join("").match(J)||EK),Q=$.length,Z,W,q,G;if(K.size)while(--Q>-1){W=$[Q];for(q of K)if(q.startsWith(W)&&q.length>W.length){Z=0,G=W;while(q.startsWith(G+=$[Q+ ++Z])&&G.lengthwindow.getComputedStyle($).display==="inline"&&($.style.display="inline-block"),n9=($,J,K)=>J.insertBefore(typeof $==="string"?document.createTextNode($):$,K),IK=($,J,K)=>{let Q=J[$+"sClass"]||"",{tag:Z="div",aria:W="auto",propIndex:q=!1}=J,G=$==="line"?"block":"inline-block",H=Q.indexOf("++")>-1,B=(U)=>{let X=document.createElement(Z),j=K.length+1;if(Q&&(X.className=Q+(H?" "+Q+j:"")),q&&X.style.setProperty("--"+$,j+""),W!=="none"&&X.setAttribute("aria-hidden","true"),Z!=="span")X.style.position="relative",X.style.display=G;return X.textContent=U,K.push(X),X};return H&&(Q=Q.replace("++","")),B.collection=K,B},xG=($,J,K,Q)=>{let Z=IK("line",K,Q),W=window.getComputedStyle($).textAlign||"left";return(q,G)=>{let H=Z("");H.style.textAlign=W,$.insertBefore(H,J[q]);for(;q{var U;let X=Array.from($.childNodes),j=0,{wordDelimiter:Y,reduceWhiteSpace:z=!0,prepareText:L}=J,R=$.getBoundingClientRect(),D=R,A=!z&&window.getComputedStyle($).whiteSpace.substring(0,3)==="pre",C=0,F=K.collection,V,P,M,E,I,O,S,x,w,b,T,_,h,c,d,N,p,o;if(typeof Y==="object")M=Y.delimiter||Y,P=Y.replaceWith||"";else P=Y===""?"":Y||" ";V=P!==" ";for(;j-1)O=F[F.length-1],O.appendChild(document.createTextNode(Q?"":N));else O=K(Q?"":N),n9(O,$,E),C&&w===1&&!S&&O.insertBefore(C,O.firstChild);if(Q){T=LW?NW([...LW.segment(N)].map((M0)=>M0.segment),H):N.match(G)||EK;for(o=0;oD.top&&b.left<=D.left){_=$.cloneNode(),h=$.childNodes[0];while(h&&h!==O)c=h,h=h.nextSibling,_.appendChild(c);$.parentNode.insertBefore(_,$),Z&&VW(_)}D=b}if(w=I.length?" ":V&&N.slice(-1)===" "?" "+P:P,$,E)}}$.removeChild(E),C=0}else if(E.nodeType===1){if(q&&q.indexOf(E)>-1)F.indexOf(E.previousSibling)>-1&&F[F.length-1].appendChild(E),C=E;else FW(E,J,K,Q,Z,W,q,G,H,!0),C=0;Z&&VW(E)}},CW=class ${constructor(J,K){this.isSplit=!1,kG(),this.elements=zW(J),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=K,this._split=()=>this.isSplit&&this.split(this.vars);let Q=[],Z,W=()=>{let q=Q.length,G;while(q--){G=Q[q];let H=G.element.offsetWidth;if(H!==G.width){G.width=H,this._split();return}}};this._data={orig:Q,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(Z),Z=setTimeout(W,200)})},CK(this),this.split(K)}split(J){this.isSplit&&this.revert(),this.vars=J=J||this.vars||{};let{type:K="chars,words,lines",aria:Q="auto",deepSlice:Z=!0,smartWrap:W,onSplit:q,autoSplit:G=!1,specialChars:H,mask:B}=this.vars,U=K.indexOf("lines")>-1,X=K.indexOf("chars")>-1,j=K.indexOf("words")>-1,Y=X&&!j&&!U,z=H&&("push"in H?new RegExp("(?:"+H.join("|")+")","gu"):H),L=z?new RegExp(z.source+"|"+RW.source,"gu"):RW,R=!!J.ignore&&zW(J.ignore),{orig:D,animTime:A,obs:C}=this._data,F;if(X||j||U)this.elements.forEach((V,P)=>{D[P]={element:V,html:V.innerHTML,ariaL:V.getAttribute("aria-label"),ariaH:V.getAttribute("aria-hidden")},Q==="auto"?V.setAttribute("aria-label",(V.textContent||"").trim()):Q==="hidden"&&V.setAttribute("aria-hidden","true");let M=[],E=[],I=[],O=X?IK("char",J,M):null,S=IK("word",J,E),x,w,b,T;if(FW(V,J,S,O,Y,Z&&(U||Y),R,L,z,!1),U){let _=u8(V.childNodes),h=xG(V,_,J,I),c,d=[],N=0,p=_.map((M0)=>M0.nodeType===1?M0.getBoundingClientRect():MW),o=MW;for(x=0;x<_.length;x++)if(c=_[x],c.nodeType===1)if(c.nodeName==="BR")d.push(c),h(N,x+1),N=x+1,o=p[N];else{if(x&&p[x].top>o.top&&p[x].left<=o.left)h(N,x),N=x;o=p[x]}N{var K0;return(K0=M0.parentNode)==null?void 0:K0.removeChild(M0)})}if(!j){for(x=0;x{let P=V.cloneNode();return V.replaceWith(P),P.appendChild(V),V.className&&(P.className=V.className.replace(/(\b\w+\b)/g,"$1-mask")),P.style.overflow="clip",P}));if(this.isSplit=!0,s9&&(G?s9.addEventListener("loadingdone",this._split):s9.status==="loading"&&console.warn("SplitText called before fonts loaded")),(F=q&&q(this))&&F.totalTime)this._data.anim=A?F.totalTime(A):F;return U&&G&&this.elements.forEach((V,P)=>{D[P].width=V.offsetWidth,C&&C.observe(V)}),this}revert(){var J,K;let{orig:Q,anim:Z,obs:W}=this._data;if(W&&W.disconnect(),Q.forEach(({element:q,html:G,ariaL:H,ariaH:B})=>{q.innerHTML=G,H?q.setAttribute("aria-label",H):q.removeAttribute("aria-label"),B?q.setAttribute("aria-hidden",B):q.removeAttribute("aria-hidden")}),this.chars.length=this.words.length=this.lines.length=Q.length=this.masks.length=0,this.isSplit=!1,s9==null||s9.removeEventListener("loadingdone",this._split),Z)this._data.animTime=Z.totalTime(),Z.revert();return(K=(J=this.vars).onRevert)==null||K.call(J,this),this}static create(J,K){return new $(J,K)}static register(J){if(gJ=gJ||J||window.gsap,gJ)u8=gJ.utils.toArray,CK=gJ.core.context||CK;if(!DK&&window.innerWidth>0)s9=document.fonts,DK=!0}};CW.version="3.13.0";var O7=CW;var DW=()=>{return window.matchMedia("(prefers-reduced-motion: reduce)").matches};/*! * matrix 3.13.0 * https://gsap.com * * Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var A7,F9,PK,m8,dJ,g8,d8,mJ,r1="transform",kK=r1+"Origin",EW,c8=function(J){var K=J.ownerDocument||J;if(!(r1 in J.style)&&"msTransform"in J.style)r1="msTransform",kK=r1+"Origin";while(K.parentNode&&(K=K.parentNode));if(F9=window,d8=new i7,K){A7=K,PK=K.documentElement,m8=K.body,mJ=A7.createElementNS("http://www.w3.org/2000/svg","g"),mJ.style.transform="none";var Q=K.createElement("div"),Z=K.createElement("div"),W=K&&(K.body||K.firstElementChild);if(W&&W.appendChild)W.appendChild(Q),Q.appendChild(Z),Q.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),EW=Z.offsetParent!==Q,W.removeChild(Q)}return K},TG=function(J){var K,Q;while(J&&J!==m8){if(Q=J._gsap,Q&&Q.uncache&&Q.get(J,"x"),Q&&!Q.scaleX&&!Q.scaleY&&Q.renderTransform)Q.scaleX=Q.scaleY=0.0001,Q.renderTransform(1,Q),K?K.push(Q):K=[Q];J=J.parentNode}return K},IW=[],OW=[],p8=function(){return F9.pageYOffset||A7.scrollTop||PK.scrollTop||m8.scrollTop||0},l8=function(){return F9.pageXOffset||A7.scrollLeft||PK.scrollLeft||m8.scrollLeft||0},xK=function(J){return J.ownerSVGElement||((J.tagName+"").toLowerCase()==="svg"?J:null)},SG=function $(J){if(F9.getComputedStyle(J).position==="fixed")return!0;if(J=J.parentNode,J&&J.nodeType===1)return $(J)},OK=function $(J,K){if(J.parentNode&&(A7||c8(J))){var Q=xK(J),Z=Q?Q.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",W=Q?K?"rect":"g":"div",q=K!==2?0:100,G=K===3?100:0,H="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",B=A7.createElementNS?A7.createElementNS(Z.replace(/^https/,"http"),W):A7.createElement(W);if(K)if(!Q){if(!dJ)dJ=$(J),dJ.style.cssText=H;B.style.cssText=H+"width:0.1px;height:0.1px;top:"+G+"px;left:"+q+"px",dJ.appendChild(B)}else g8||(g8=$(J)),B.setAttribute("width",0.01),B.setAttribute("height",0.01),B.setAttribute("transform","translate("+q+","+G+")"),g8.appendChild(B);return B}throw"Need document and parent."},wG=function(J){var K=new i7,Q=0;for(;Q1?wG(B):B.getItem(0).matrix,X=B.a*U.x+B.c*U.y,j=B.b*U.x+B.d*U.y;else B=new i7,X=j=0;if(K&&J.tagName.toLowerCase()==="g")X=j=0;(Z?Q:q).appendChild(H),H.setAttribute("transform","matrix("+B.a+","+B.b+","+B.c+","+B.d+","+(B.e+X)+","+(B.f+j)+")")}else{if(X=j=0,EW){B=J.offsetParent,U=J;while(U&&(U=U.parentNode)&&U!==B&&U.parentNode)if((F9.getComputedStyle(U)[r1]+"").length>4)X=U.offsetLeft,j=U.offsetTop,U=0}if(Y=F9.getComputedStyle(J),Y.position!=="absolute"&&Y.position!=="fixed"){B=J.offsetParent;while(q&&q!==B)X+=q.scrollLeft||0,j+=q.scrollTop||0,q=q.parentNode}U=H.style,U.top=J.offsetTop-j+"px",U.left=J.offsetLeft-X+"px",U[r1]=Y[r1],U[kK]=Y[kK],U.position=Y.position==="fixed"?"fixed":"absolute",G.appendChild(H)}return H},AK=function(J,K,Q,Z,W,q,G){return J.a=K,J.b=Q,J.c=Z,J.d=W,J.e=q,J.f=G,J},i7=function(){function $(K,Q,Z,W,q,G){if(K===void 0)K=1;if(Q===void 0)Q=0;if(Z===void 0)Z=0;if(W===void 0)W=1;if(q===void 0)q=0;if(G===void 0)G=0;AK(this,K,Q,Z,W,q,G)}var J=$.prototype;return J.inverse=function(){var Q=this.a,Z=this.b,W=this.c,q=this.d,G=this.e,H=this.f,B=Q*q-Z*W||0.0000000001;return AK(this,q/B,-Z/B,-W/B,Q/B,(W*H-q*G)/B,-(Q*H-Z*G)/B)},J.multiply=function(Q){var Z=this.a,W=this.b,q=this.c,G=this.d,H=this.e,B=this.f,U=Q.a,X=Q.c,j=Q.b,Y=Q.d,z=Q.e,L=Q.f;return AK(this,U*Z+j*q,U*W+j*G,X*Z+Y*q,X*W+Y*G,H+z*Z+L*q,B+z*W+L*G)},J.clone=function(){return new $(this.a,this.b,this.c,this.d,this.e,this.f)},J.equals=function(Q){var Z=this.a,W=this.b,q=this.c,G=this.d,H=this.e,B=this.f;return Z===Q.a&&W===Q.b&&q===Q.c&&G===Q.d&&H===Q.e&&B===Q.f},J.apply=function(Q,Z){if(Z===void 0)Z={};var{x:W,y:q}=Q,G=this.a,H=this.b,B=this.c,U=this.d,X=this.e,j=this.f;return Z.x=W*G+q*B+X||0,Z.y=W*H+q*U+j||0,Z},$}();function a1($,J,K,Q){if(!$||!$.parentNode||(A7||c8($)).documentElement===$)return new i7;var Z=TG($),W=xK($),q=W?IW:OW,G=bG($,K),H=q[0].getBoundingClientRect(),B=q[1].getBoundingClientRect(),U=q[2].getBoundingClientRect(),X=G.parentNode,j=!Q&&SG($),Y=new i7((B.left-H.left)/100,(B.top-H.top)/100,(U.left-H.left)/100,(U.top-H.top)/100,H.left+(j?0:l8()),H.top+(j?0:p8()));if(X.removeChild(G),Z){H=Z.length;while(H--)B=Z[H],B.scaleX=B.scaleY=0,B.renderTransform(1,B)}return J?Y.inverse():Y}/*! * Flip 3.13.0 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var yG=1,e9,U1,R0,cJ,s7,k7,vK,AW=function(J,K){return J.actions.forEach(function(Q){return Q.vars[K]&&Q.vars[K](Q)})},_K={},kW=180/Math.PI,hG=Math.PI/180,s8={},PW={},a8={},gK=function(J){return typeof J==="string"?J.split(" ").join("").split(","):J},fG=gK("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),t8=gK("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),pJ=function(J){return e9(J)[0]||console.warn("Element not found:",J)},r9=function(J){return Math.round(J*1e4)/1e4||0},SK=function(J,K,Q){return J.forEach(function(Z){return Z.classList[Q](K)})},xW={zIndex:1,kill:1,simple:1,spin:1,clearProps:1,targets:1,toggleClass:1,onComplete:1,onUpdate:1,onInterrupt:1,onStart:1,delay:1,repeat:1,repeatDelay:1,yoyo:1,scale:1,fade:1,absolute:1,props:1,onEnter:1,onLeave:1,custom:1,paused:1,nested:1,prune:1,absoluteOnLeave:1},yW={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},hW=function(J){return J.replace(/([A-Z])/g,"-$1").toLowerCase()},a9=function(J,K){var Q={},Z;for(Z in J)K[Z]||(Q[Z]=J[Z]);return Q},dK={},fW=function(J){var K=dK[J]=gK(J);return a8[J]=K.concat(t8),K},vG=function(J){var K=J._gsap||U1.core.getCache(J);if(K.gmCache===U1.ticker.frame)return K.gMatrix;return K.gmCache=U1.ticker.frame,K.gMatrix=a1(J,!0,!1,!0)},_G=function $(J,K,Q){if(Q===void 0)Q=0;var Z=J.parentNode,W=1000*Math.pow(10,Q)*(K?-1:1),q=K?-W*900:0;while(J)q+=W,J=J.previousSibling;return Z?q+$(Z,K,Q+1):q},n8=function(J,K,Q){return J.forEach(function(Z){return Z.d=_G(Q?Z.element:Z.t,K)}),J.sort(function(Z,W){return Z.d-W.d}),J},lJ=function(J,K){var Q=J.element.style,Z=J.css=J.css||[],W=K.length,q,G;while(W--)q=K[W],G=Q[q]||Q.getPropertyValue(q),Z.push(G?q:PW[q]||(PW[q]=hW(q)),G);return Q},r8=function(J){var K=J.css,Q=J.element.style,Z=0;J.cache.uncache=1;for(;Z0&&V)t.style.opacity=d?u.opacity-Z0.opacity:"0";t9(u,Z0,F,I)}else if(Z0.isVisible!==u.isVisible){if(!Z0.isVisible)u.isVisible&&w.push(u),T.splice(K0--,1);else if(!u.isVisible)Z0.css=u.css,b.push(Z0),T.splice(K0--,1),B&&A&&t9(u,Z0,F,I)}if(!F)t.style.maxWidth=Math.max(u.width,Z0.width)+"px",t.style.maxHeight=Math.max(u.height,Z0.height)+"px",t.style.minWidth=Math.min(u.width,Z0.width)+"px",t.style.minHeight=Math.min(u.height,Z0.height)+"px";A&&D&&t.classList.add(D)}S0.push(u)}var k0;if(D)k0=S0.map(function(v){return v.element}),A&&k0.forEach(function(v){return v.classList.remove(D)});if(bW(!1),F)O.scaleX=function(v){return T[v].a.scaleX},O.scaleY=function(v){return T[v].a.scaleY};else O.width=function(v){return T[v].a.width+"px"},O.height=function(v){return T[v].a.height+"px"},O.autoRound=Q.autoRound||!1;if(O.x=function(v){return T[v].a.x+"px"},O.y=function(v){return T[v].a.y+"px"},O.rotation=function(v){return T[v].a.rotation+(M?c(v,U0[v],U0)*360:0)},O.skewX=function(v){return T[v].a.skewX},U0=T.map(function(v){return v.t}),C||C===0)O.modifiers={zIndex:function(){return C}},O.zIndex=C,O.immediateRender=Q.immediateRender!==!1;if(V&&(O.opacity=function(v){return T[v].sd<0?0:T[v].sd>0?T[v].a.opacity:"+=0"}),_.length){P=U1.utils.distribute(P);var m1=U0.slice(_.length);O.stagger=function(v,b1){return P(~_.indexOf(b1)?U0.indexOf(T[v].swap.t):v,b1,m1)}}if(fG.forEach(function(v){return Q[v]&&S.eventCallback(v,Q[v],Q[v+"Params"])}),X&&U0.length){if(x=a9(O,xW),"scale"in X)X.scaleX=X.scaleY=X.scale,delete X.scale;for(o in X)p=a9(X[o],yW),p[o]=O[o],!("duration"in p)&&"duration"in O&&(p.duration=O.duration),p.stagger=O.stagger,N.call(S,U0,p,0),delete x[o]}if(U0.length||b.length||w.length)D&&S.add(function(){return SK(k0,D,S._zTime<0?"remove":"add")},0)&&!Y&&SK(k0,D,"add"),U0.length&&N.call(S,U0,x,0);wW(G,w,S),wW(H,b,S);var w1=R0&&R0.timeline;if(w1)w1.add(S,0),R0._final.push(function(){return TW(T,!q)});M0=S.duration(),S.call(function(){var v=S.time()>=M0;v&&!w1&&TW(T,!q),D&&SK(k0,D,v?"remove":"add")})},U&&(B=T.filter(function(k){return!k.sd&&!k.a.isVisible&&k.b.isVisible}).map(function(k){return k.a.element})),R0){var o0;B&&(o0=R0._abs).push.apply(o0,SW(T,B)),R0._run.push(d0)}else B&&vW(SW(T,B)),d0();var i0=R0?R0.timeline:S;return i0.revert=function(){return cK(i0,1,1)},i0},mG=function $(J){J.vars.onInterrupt&&J.vars.onInterrupt.apply(J,J.vars.onInterruptParams||[]),J.getChildren(!0,!1,!0).forEach($)},cK=function(J,K,Q){if(J&&J.progress()<1&&(!J.paused()||Q)){if(K)mG(J),K<2&&J.progress(1),J.kill();return!0}},i8=function(J){var K=J.idLookup={},Q=J.alt={},Z=J.elementStates,W=Z.length,q;while(W--)q=Z[W],K[q.id]?Q[q.id]=q:K[q.id]=q},t1=function(){function $(K,Q,Z){if(this.props=Q&&Q.props,this.simple=!!(Q&&Q.simple),Z)this.targets=uW(K),this.elementStates=K,i8(this);else{this.targets=e9(K);var W=Q&&(Q.kill===!1||Q.batch&&!Q.kill);R0&&!W&&R0._kill.push(this),this.update(W||!!R0)}}var J=$.prototype;return J.update=function(Q){var Z=this;return this.elementStates=this.targets.map(function(W){return new C9(W,Z.props,Z.simple)}),i8(this),this.interrupt(Q),this.recordInlineStyles(),this},J.clear=function(){return this.targets.length=this.elementStates.length=0,i8(this),this},J.fit=function(Q,Z,W){var q=n8(this.elementStates.slice(0),!1,!0),G=(Q||this).idLookup,H=0,B,U;for(;H=0&&this.actions.splice(Z,1),this},J.getState=function(Q){var Z=this,W=R0,q=cJ;return R0=this,this.state.clear(),this._kill.length=0,this.actions.forEach(function(G){if(G.vars.getState)G.states.length=0,cJ=G,G.state=G.vars.getState(G);Q&&G.states.forEach(function(H){return Z.state.add(H)})}),cJ=q,R0=W,this.killConflicts(),this},J.animate=function(){var Q=this,Z=R0,W=this.timeline,q=this.actions.length,G,H;R0=this,W.clear(),this._abs.length=this._final.length=this._run.length=0,this.actions.forEach(function(B){B.vars.animate&&B.vars.animate(B);var U=B.vars.onEnter,X=B.vars.onLeave,j=B.targets,Y,z;if(j&&j.length&&(U||X))Y=new t1,B.states.forEach(function(L){return Y.add(L)}),z=Y.compare(B7.getState(j)),z.enter.length&&U&&U(z.enter),z.leave.length&&X&&X(z.leave)}),vW(this._abs),this._run.forEach(function(B){return B()}),H=W.duration(),G=this._final.slice(0),W.add(function(){if(H<=W.time())G.forEach(function(B){return B()}),AW(Q,"onComplete")}),R0=Z;while(q--)this.actions[q].vars.once&&this.actions[q].kill();return AW(this,"onStart"),W.restart(),this},J.loadState=function(Q){Q||(Q=function(){return 0});var Z=[];return this.actions.forEach(function(W){if(W.vars.loadState){var q,G=function H(B){if(B&&(W.targets=B),q=Z.indexOf(H),~q)Z.splice(q,1),Z.length||Q()};Z.push(G),W.vars.loadState(G)}}),Z.length||Q(),this},J.setState=function(){return this.actions.forEach(function(Q){return Q.targets=Q.vars.setState&&Q.vars.setState(Q)}),this},J.killConflicts=function(Q){return this.state.interrupt(Q),this._kill.forEach(function(Z){return Z.interrupt(Q)}),this},J.run=function(Q,Z){var W=this;if(this!==R0)Q||this.getState(Z),this.loadState(function(){if(!W._killed)W.setState(),W.animate()});return this},J.clear=function(Q){this.state.clear(),Q||(this.actions.length=0)},J.getStateById=function(Q){var Z=this.actions.length,W;while(Z--)if(W=this.actions[Z].getStateById(Q),W)return W;return this.state.idLookup[Q]&&this.state},J.kill=function(){this._killed=1,this.clear(),delete _K[this.id]},$}(),B7=function(){function $(){}return $.getState=function(K,Q){var Z=bK(K,Q);return cJ&&cJ.states.push(Z),Q&&Q.batch&&$.batch(Q.batch).state.add(Z),Z},$.from=function(K,Q){return Q=Q||{},"clearProps"in Q||(Q.clearProps=!0),fK(K,bK(Q.targets||K.targets,{props:Q.props||K.props,simple:Q.simple,kill:!!Q.kill}),Q,-1)},$.to=function(K,Q){return fK(K,bK(Q.targets||K.targets,{props:Q.props||K.props,simple:Q.simple,kill:!!Q.kill}),Q,1)},$.fromTo=function(K,Q,Z){return fK(K,Q,Z)},$.fit=function(K,Q,Z){var W=Z?a9(Z,yW):{},q=Z||W,G=q.absolute,H=q.scale,B=q.getVars,U=q.props,X=q.runBackwards,j=q.onComplete,Y=q.simple,z=Z&&Z.fitChild&&pJ(Z.fitChild),L=uK(Q,U,Y,K),R=uK(K,0,Y,L),D=U?a8[U]:t8,A=U1.context();if(U&&_W(W,L.props),lJ(R,D),X)"immediateRender"in W||(W.immediateRender=!0),W.onComplete=function(){r8(R),j&&j.apply(this,arguments)};return G&&mK(R,L),W=t9(R,L,H||z,!W.duration&&U,z,W.duration||B?W:0),typeof Z==="object"&&"zIndex"in Z&&(W.zIndex=Z.zIndex),A&&!B&&A.add(function(){return function(){return r8(R)}}),B?W:W.duration?U1.to(R.element,W):null},$.makeAbsolute=function(K,Q){return(K instanceof t1?K:new t1(K,Q)).makeAbsolute()},$.batch=function(K){return K||(K="default"),_K[K]||(_K[K]=new pG(K))},$.killFlipsOf=function(K,Q){(K instanceof t1?K.targets:e9(K)).forEach(function(Z){return Z&&cK(Z._flip,Q!==!1?1:2)})},$.isFlipping=function(K){var Q=$.getByTarget(K);return!!Q&&Q.isActive()},$.getByTarget=function(K){return(pJ(K)||s8)._flip},$.getElementState=function(K,Q){return new C9(pJ(K),Q)},$.convertCoordinates=function(K,Q,Z){var W=a1(Q,!0,!0).multiply(a1(K));return Z?W.apply(Z):W},$.register=function(K){if(s7=typeof document<"u"&&document.body,s7){U1=K,c8(s7),e9=U1.utils.toArray,vK=U1.core.getStyleSaver;var Q=U1.utils.snap(0.1);k7=function(W,q){return Q(parseFloat(W)+q)}}},$}();B7.version="3.13.0";typeof window<"u"&&window.gsap&&window.gsap.registerPlugin(B7);CJ.registerPlugin(a,B7,O7);var lG={ease:"expo.out",duration:1.2};CJ.defaults(lG);var y6=DW(),l=CJ;function dW($=null){let J=()=>{let W=document.body.firstElementChild;return W instanceof HTMLElement&&W.classList.contains("w-editor-publish-node")},K=J(),Q=K;if(new MutationObserver((W)=>{W.forEach((q)=>{if(q.type==="childList"){let G=J();if(G!==K){if(console.log("Editor state changed to:",G),$)$(G);K=G}}})}).observe(document.body,{childList:!0,subtree:!1}),$)$(Q);return Q}var oG={infinite:!1,lerp:0.1,easing:($)=>Math.min(1,1.001-Math.pow(2,-10*$)),smoothWheel:!0,touchMultiplier:2,autoResize:!0};class mW extends MZ{#J=l.ticker.add(($)=>this.raf($*1000));constructor(){super(oG);this.on("scroll",this.#K.bind(this))}#K($){this.notify($)}toTop(){this.scrollTo(0,{immediate:!0})}#Q=[];add($,J=0,K=Symbol()){let Q=this.#Q.findIndex((Z)=>Z.priority>J);if(Q===-1)this.#Q.push({fn:$,priority:J,id:K});else this.#Q.splice(Q,0,{fn:$,priority:J,id:K});return()=>this.remove(K)}remove($){this.#Q=this.#Q.filter((J)=>J.id!==$)}notify($){if(this.#Q.length<1)return;this.#Q.forEach((J)=>J.fn($))}}var f0=new mW;dW(($)=>{if($)f0.destroy();else f0.start()});function J1(){if(!(this instanceof J1))return new J1;this.size=0,this.uid=0,this.selectors=[],this.selectorObjects={},this.indexes=Object.create(this.indexes),this.activeIndexes=[]}var oJ=window.document.documentElement,iG=oJ.matches||oJ.webkitMatchesSelector||oJ.mozMatchesSelector||oJ.oMatchesSelector||oJ.msMatchesSelector;J1.prototype.matchesSelector=function($,J){return iG.call($,J)};J1.prototype.querySelectorAll=function($,J){return J.querySelectorAll($)};J1.prototype.indexes=[];var sG=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;J1.prototype.indexes.push({name:"ID",selector:function(J){var K;if(K=J.match(sG))return K[0].slice(1)},element:function(J){if(J.id)return[J.id]}});var nG=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;J1.prototype.indexes.push({name:"CLASS",selector:function(J){var K;if(K=J.match(nG))return K[0].slice(1)},element:function(J){var K=J.className;if(K){if(typeof K==="string")return K.split(/\s/);else if(typeof K==="object"&&"baseVal"in K)return K.baseVal.split(/\s/)}}});var rG=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;J1.prototype.indexes.push({name:"TAG",selector:function(J){var K;if(K=J.match(rG))return K[0].toUpperCase()},element:function(J){return[J.nodeName.toUpperCase()]}});J1.prototype.indexes.default={name:"UNIVERSAL",selector:function(){return!0},element:function(){return[!0]}};var pK;if(typeof window.Map==="function")pK=window.Map;else pK=function(){function $(){this.map={}}return $.prototype.get=function(J){return this.map[J+" "]},$.prototype.set=function(J,K){this.map[J+" "]=K},$}();var cW=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function pW($,J){$=$.slice(0).concat($.default);var K=$.length,Q,Z,W,q,G=J,H,B,U=[];do if(cW.exec(""),W=cW.exec(G)){if(G=W[3],W[2]||!G){for(Q=0;Q{K(...J)})}function oK($){return typeof $==="string"?document.querySelectorAll($):$}function iJ($){let J=tG(D9[$.type],$.target);if(J.length)for(let K=0;KJ})}function sW($){let J={};for(let K in $)J[K]=[...$[K]];return J}class nW{bindAll($,J){if(!J)J=Object.getOwnPropertyNames(Object.getPrototypeOf($));for(let K=0;K0,pathname:J.pathname.replace(/\/+$/,""),host:J.host,search:J.search,raw:$,href:K||J.href}}function iK($,J){$.parentNode.replaceChild(aW($,J),$)}function sK($,J){($.parentNode.tagName==="HEAD"?document.head:document.body).appendChild(aW($,J))}function aW($,J){let K=document.createElement(J);for(let Q=0;Q<$.attributes.length;Q++){let Z=$.attributes[Q];K.setAttribute(Z.nodeName,Z.nodeValue)}if($.innerHTML)K.innerHTML=$.innerHTML;return K}class T7{constructor({wrapper:$}){this.wrapper=$}leave($){return new Promise((J)=>{this.onLeave({...$,done:J})})}enter($){return new Promise((J)=>{this.onEnter({...$,done:J})})}onLeave({from:$,trigger:J,done:K}){K()}onEnter({to:$,trigger:J,done:K}){K()}}class JJ{constructor({content:$,page:J,title:K,wrapper:Q}){this._contentString=$.outerHTML,this._DOM=null,this.page=J,this.title=K,this.wrapper=Q,this.content=this.wrapper.lastElementChild}onEnter(){}onEnterCompleted(){}onLeave(){}onLeaveCompleted(){}initialLoad(){this.onEnter(),this.onEnterCompleted()}update(){document.title=this.title,this.wrapper.appendChild(this._DOM.firstElementChild),this.content=this.wrapper.lastElementChild,this._DOM=null}createDom(){if(!this._DOM)this._DOM=document.createElement("div"),this._DOM.innerHTML=this._contentString}remove(){this.wrapper.firstElementChild.remove()}enter($,J){return new Promise((K)=>{this.onEnter(),$.enter({trigger:J,to:this.content}).then(()=>{this.onEnterCompleted(),K()})})}leave($,J,K){return new Promise((Q)=>{this.onLeave(),$.leave({trigger:J,from:this.content}).then(()=>{if(K)this.remove();this.onLeaveCompleted(),Q()})})}}class JQ{data=new Map;regexCache=new Map;add($,J,K){if(!this.data.has($))this.data.set($,new Map),this.regexCache.set($,new RegExp(`^${$}$`));this.data.get($).set(J,K),this.regexCache.set(J,new RegExp(`^${J}$`))}findMatch($,J){for(let[K,Q]of this.data)if($.pathname.match(this.regexCache.get(K))){for(let[Z,W]of Q)if(J.pathname.match(this.regexCache.get(Z)))return W;break}return null}}var tW="A transition is currently in progress";class sJ{isTransitioning=!1;currentCacheEntry=null;cache=new Map;activePromises=new Map;constructor($={}){let{links:J="a[href]:not([target]):not([href^=\\#]):not([data-taxi-ignore])",removeOldContent:K=!0,allowInterruption:Q=!1,bypassCache:Z=!1,enablePrefetch:W=!0,renderers:q={default:JJ},transitions:G={default:T7},reloadJsFilter:H=(U)=>U.dataset.taxiReload!==void 0,reloadCssFilter:B=(U)=>!0}=$;this.renderers=q,this.transitions=G,this.defaultRenderer=this.renderers.default||JJ,this.defaultTransition=this.transitions.default||T7,this.wrapper=document.querySelector("[data-taxi]"),this.reloadJsFilter=H,this.reloadCssFilter=B,this.removeOldContent=K,this.allowInterruption=Q,this.bypassCache=Z,this.enablePrefetch=W,this.cache=new Map,this.isPopping=!1,this.attachEvents(J),this.currentLocation=e1(window.location.href),this.cache.set(this.currentLocation.href,this.createCacheEntry(document.cloneNode(!0),window.location.href)),this.currentCacheEntry=this.cache.get(this.currentLocation.href),this.currentCacheEntry.renderer.initialLoad()}setDefaultRenderer($){this.defaultRenderer=this.renderers[$]}setDefaultTransition($){this.defaultTransition=this.transitions[$]}addRoute($,J,K){if(!this.router)this.router=new JQ;this.router.add($,J,K)}preload($,J=!1){if($=e1($).href,!this.cache.has($))return this.fetch($,!1).then(async(K)=>{if(this.cache.set($,this.createCacheEntry(K.html,K.url)),J)this.cache.get($).renderer.createDom()}).catch((K)=>console.warn(K));return Promise.resolve()}updateCache($){let J=e1($||window.location.href).href;if(this.cache.has(J))this.cache.delete(J);this.cache.set(J,this.createCacheEntry(document.cloneNode(!0),J))}clearCache($){let J=e1($||window.location.href).href;if(this.cache.has(J))this.cache.delete(J)}navigateTo($,J=!1,K=!1){return new Promise((Q,Z)=>{if(!this.allowInterruption&&this.isTransitioning){Z(Error(tW));return}this.isTransitioning=!0,this.isPopping=!0,this.targetLocation=e1($),this.popTarget=window.location.href;let W=new(this.chooseTransition(J))({wrapper:this.wrapper}),q;if(this.bypassCache||!this.cache.has(this.targetLocation.href)||this.cache.get(this.targetLocation.href).skipCache){let G=this.fetch(this.targetLocation.href).then((H)=>{this.cache.set(this.targetLocation.href,this.createCacheEntry(H.html,H.url)),this.cache.get(this.targetLocation.href).renderer.createDom()}).catch((H)=>{window.location.href=$});q=this.beforeFetch(this.targetLocation,W,K).then(async()=>{return G.then(async()=>{return await this.afterFetch(this.targetLocation,W,this.cache.get(this.targetLocation.href),K)})})}else this.cache.get(this.targetLocation.href).renderer.createDom(),q=this.beforeFetch(this.targetLocation,W,K).then(async()=>{return await this.afterFetch(this.targetLocation,W,this.cache.get(this.targetLocation.href),K)});q.then(()=>{Q()})})}on($,J){x7.on($,J)}off($,J){x7.off($,J)}beforeFetch($,J,K){return x7.emit("NAVIGATE_OUT",{from:this.currentCacheEntry,trigger:K}),new Promise((Q)=>{this.currentCacheEntry.renderer.leave(J,K,this.removeOldContent).then(()=>{if(K!=="popstate")window.history.pushState({},"",$.raw);Q()})})}afterFetch($,J,K,Q){return this.currentLocation=$,this.popTarget=this.currentLocation.href,new Promise((Z)=>{if(K.renderer.update(),x7.emit("NAVIGATE_IN",{from:this.currentCacheEntry,to:K,trigger:Q}),this.reloadJsFilter)this.loadScripts(K.scripts);if(this.reloadCssFilter)this.loadStyles(K.styles);if(Q!=="popstate"&&$.href!==e1(K.finalUrl).href)window.history.replaceState({},"",K.finalUrl);K.renderer.enter(J,Q).then(()=>{x7.emit("NAVIGATE_END",{from:this.currentCacheEntry,to:K,trigger:Q}),this.currentCacheEntry=K,this.isTransitioning=!1,this.isPopping=!1,Z()})})}loadScripts($){let J=[...$],K=Array.from(document.querySelectorAll("script")).filter(this.reloadJsFilter);for(let Q=0;Q{if(!Z.href)return!0;else if(!J.find((W)=>W.href===Z.href))return document.body.append(Z),!1});for(let Z=0;Z{if(!($.metaKey||$.ctrlKey)){let J=e1($.currentTarget.href);if(this.currentLocation=e1(window.location.href),this.currentLocation.host!==J.host)return;if(this.currentLocation.href!==J.href||this.currentLocation.hasHash&&!J.hasHash){$.preventDefault(),this.navigateTo(J.raw,$.currentTarget.dataset.transition||!1,$.currentTarget).catch((K)=>console.warn(K));return}if(!this.currentLocation.hasHash&&!J.hasHash)$.preventDefault()}};onPopstate=()=>{let $=e1(window.location.href);if($.pathname===this.currentLocation.pathname&&$.search===this.currentLocation.search&&!this.isPopping)return!1;if(!this.allowInterruption&&(this.isTransitioning||this.isPopping))return window.history.pushState({},"",this.popTarget),console.warn(tW),!1;if(!this.isPopping)this.popTarget=window.location.href;this.isPopping=!0,this.navigateTo(window.location.href,!1,"popstate")};onPrefetch=($)=>{let J=e1($.currentTarget.href);if(this.currentLocation.host!==J.host)return;this.preload($.currentTarget.href,!1)};fetch($,J=!0){if(this.activePromises.has($))return this.activePromises.get($);let K=new Promise((Q,Z)=>{let W;fetch($,{mode:"same-origin",method:"GET",headers:{"X-Requested-With":"Taxi"},credentials:"same-origin"}).then((q)=>{if(!q.ok){if(Z("Taxi encountered a non 2xx HTTP status code"),J)window.location.href=$}return W=q.url,q.text()}).then((q)=>{Q({html:rW(q),url:W})}).catch((q)=>{if(Z(q),J)window.location.href=$}).finally(()=>{this.activePromises.delete($)})});return this.activePromises.set($,K),K}chooseTransition($){if($)return this.transitions[$];let J=this.router?.findMatch(this.currentLocation,this.targetLocation);if(J)return this.transitions[J];return this.defaultTransition}createCacheEntry($,J){let K=$.querySelector("[data-taxi-view]"),Q=K.dataset.taxiView.length?this.renderers[K.dataset.taxiView]:this.defaultRenderer;if(!Q)console.warn(`The Renderer "${K.dataset.taxiView}" was set in the data-taxi-view of the requested page, but not registered in Taxi.`);return{page:$,content:K,finalUrl:J,skipCache:K.hasAttribute("data-taxi-nocache"),scripts:this.reloadJsFilter?Array.from($.querySelectorAll("script")).filter(this.reloadJsFilter):[],styles:this.reloadCssFilter?Array.from($.querySelectorAll('link[rel="stylesheet"], style')).filter(this.reloadCssFilter):[],title:$.title,renderer:new Q({wrapper:this.wrapper,title:$.title,content:K,page:$})}}}function Q6(){if(typeof window>"u")return!1;return window.location.hostname.includes(".webflow.io")}function K6($){if(!$)return!1;if($.startsWith("/"))return!0;try{return new URL($,window.location.origin).hostname==="jamesbattye.dev"}catch{return $.includes("jamesbattye.dev")}}function Z6($){if(!$)return $;if($.startsWith("/"))return $;try{let J=new URL($,window.location.origin);return J.pathname+J.search+J.hash}catch{if($.includes("jamesbattye.dev")){let J=$.match(/https?:\/\/[^\/]+(\/.*)/);if(J&&J[1])return J[1]}return $}}function QQ(){if(typeof window>"u")return;if(!Q6())return;let $=document.querySelectorAll("a[href]"),J=0;$.forEach((K)=>{let Q=K.getAttribute("href");if(!Q)return;if(K6(Q)){let Z=Z6(Q);K.setAttribute("href",Z),J++}})}class rK extends T7{async onLeave({from:$,trigger:J,done:K}){await nK.pages.transitionOut({from:$,trigger:J}),K()}async onEnter({to:$,trigger:J,done:K}){QQ(),await nK.pages.transitionIn({to:$,trigger:J}),K()}}class aK{#J=[];add($,J=0,K=Symbol()){let Q=this.#J.findIndex((Z)=>Z.priority>J);if(Q===-1)this.#J.push({fn:$,priority:J,id:K});else this.#J.splice(Q,0,{fn:$,priority:J,id:K});return()=>this.remove(K)}remove($){this.#J=this.#J.filter((J)=>J.id!==$)}notify($){if(this.#J.length<1)return;this.#J.forEach((J)=>J.fn($))}}class eW extends aK{constructor(){super();l.ticker.add(this.update.bind(this))}update($,J){this.notify({deltaTime:$,time:J*0.01})}}class J5 extends aK{width=window.innerWidth;height=window.innerHeight;timeoutId=null;debounceDelay=100;constructor(){super();window.addEventListener("resize",this.update.bind(this))}update(){if(this.timeoutId)window.clearTimeout(this.timeoutId);this.timeoutId=window.setTimeout(()=>{let{innerWidth:$,innerHeight:J}=window;if($!==this.width||J!==this.height)this.width=$,this.height=J,this.notify({width:this.width,height:this.height});this.timeoutId=null},this.debounceDelay)}}var tK=new eW,U7=new J5;var eK=[],JZ=[];function X7($){JZ.push($)}function QJ($){eK.push($)}function K5(){eK.forEach(($)=>$()),eK.length=0}function KZ(){JZ.forEach(($)=>$()),JZ.length=0}var Q5=[],QZ=[];async function Z5(){await Promise.allSettled(Q5.map(($)=>$())),Q5.length=0}function KJ($){QZ.push($)}async function ZZ(){await Promise.allSettled(QZ.map(($)=>$())),QZ.length=0}var $Z={};k9($Z,{default:()=>W5});function W5($,J){let K=null,Q=null;X7(()=>{K=new O7(".about_content",{type:"lines, words, chars",linesClass:"aboutLine",wordsClass:"aboutWord",charsClass:"aboutChar"}),l.set(".aboutLine",{overflow:"hidden"}),l.set(K.words,{yPercent:100}),Q=a.create({trigger:$,start:"top 35%",once:!0,onEnter:()=>{document.querySelectorAll(".aboutLine").forEach((Z,W)=>{let q=Z.querySelectorAll(".aboutWord");l.to(q,{yPercent:0,stagger:0.05,delay:W*0.05})})}})}),QJ(()=>{if(Q)Q.kill(),Q=null;if(K)K.revert(),K=null})}var WZ={};k9(WZ,{default:()=>q5});function q5($,J){let K=[],Q=[],Z=null,W;function q(){history.replaceState(null,document.title,`${window.location.origin}${window.location.pathname}${window.location.search}`)}function G(){}X7(()=>{if($.querySelectorAll(".article_content h2").forEach((H)=>{if(H._split)H._split.revert();let B=new O7(H,{type:"lines"});K.push(B),l.set(B.lines[0],{x:16})}),l.set(".article_content",{y:5,opacity:0}),l.set(".article_heading, .article_card_wrap",{filter:"blur(20px)",opacity:0}),l.set(".article_left_wrap .g_tag_wrap",{opacity:0,y:-20}),l.set(".article_tags_wrap .g_tag_wrap",{yPercent:l.utils.wrap([-50,50,-50]),xPercent:l.utils.wrap([-50,0,50]),opacity:0}),W=setInterval(()=>f0.resize(),3000),document.querySelectorAll(".article_line").forEach((H)=>{let B=Math.floor(H.offsetWidth/15);H.innerHTML="";for(let U=0;U{let B=Array.from(H.querySelectorAll(".writing_block")),U={base:-20,amount:-36,ease:"power4.in"},X=(Y)=>{let z=(Y.clientX-H.getBoundingClientRect().left)/H.offsetWidth;l.to(B,{height:l.utils.distribute({...U,from:z}),opacity:l.utils.distribute({...U,from:z}),duration:0.2,ease:"none"})},j=()=>{l.to(B,{height:"0rem",duration:0.3,ease:"power2.inOut"})};H.addEventListener("mousemove",X),H.addEventListener("mouseleave",j),Q.push({element:H,event:"mousemove",handler:X},{element:H,event:"mouseleave",handler:j})}),G(),Z=()=>f0.resize(),window.addEventListener("load",Z),window.FinsweetAttributes){if(window.FinsweetAttributes.modules.toc.restart)window.FinsweetAttributes.modules.toc.restart()}}),KJ(async()=>{let H=l.timeline({paused:!0});H.to(".article_content",{y:0,opacity:1,delay:0.25}),H.to(".article_heading",{filter:"blur(0px)",opacity:1},"0"),H.to(".article_tags_wrap .g_tag_wrap",{yPercent:0,xPercent:0,opacity:1},"0"),H.to(".article_card_wrap",{filter:"blur(0px)",opacity:1},"0+=0.125"),H.to(".article_left_wrap .g_tag_wrap",{opacity:1,y:0},"<+=0.125"),await H.play()}),QJ(()=>{if(K.forEach((H)=>{try{H.revert()}catch(B){console.warn("Error reverting SplitText:",B)}}),K.length=0,Q.forEach(({element:H,event:B,handler:U})=>{H.removeEventListener(B,U)}),Q.length=0,Z)window.removeEventListener("load",Z),Z=null;clearInterval(W),W=null})}var qZ={};k9(qZ,{default:()=>G5});function G5($,J){let K,Q=document.querySelector(".hero_content_wrap .g_tag_wrap"),Z=document.querySelectorAll(".hero_skills_wrap .g_tag_wrap");X7(()=>{K=new O7($.querySelector("h1"),{type:"lines, words",linesClass:"u-overflow-hidden"}),l.set(K.words,{yPercent:100}),l.set(Z,{yPercent:l.utils.wrap([-50,50,-50]),xPercent:l.utils.wrap([-50,0,50]),opacity:0}),l.set(Q,{yPercent:90,opacity:0,filter:"blur(20px)"}),l.set(".hero_content_img",{opacity:0})}),KJ(async()=>{let W=l.timeline({paused:!0});W.to(K.words,{yPercent:0,stagger:0.01}),W.to(Z,{yPercent:0,xPercent:0,opacity:1},"<+=0.25"),W.to(Q,{yPercent:0,opacity:1,filter:"blur(0px)"},"<"),W.to(".hero_content_img",{opacity:1,delay:0.7,duration:3},"<"),await W.play()})}var GZ={};k9(GZ,{default:()=>H5});function H5($,J){}var HZ={};k9(HZ,{default:()=>B5});function B5($,J){let K=new WeakSet,Q=null,Z=new Map,W=new Map,q=new Map,G=new Map,H=4,B=0.004,U=new Map,X=new Set,j=null;function Y(M){if(K.has(M))return;let E=Array.from(M.querySelectorAll(".work_browser_dot"));if(E.length===3){let x=E.map((b)=>{let T=b.getBoundingClientRect(),_=M.getBoundingClientRect();return{x:T.left-_.left+T.width/2,y:T.top-_.top+T.height/2}});W.set(M,x);let w=E.map((b)=>{let T=l.quickSetter(b,"x","px"),_=l.quickSetter(b,"y","px");return{setX:T,setY:_,proxy:{x:0,y:0}}});q.set(M,w)}let I=()=>D(M),O=()=>A(M),S=(x)=>C(M,x);M.addEventListener("mouseenter",I),M.addEventListener("mouseleave",O),M.addEventListener("mousemove",S),K.add(M),Z.set(M,{enter:I,leave:O,move:S}),M.classList.add("loaded")}function z(){$.querySelectorAll(".work_item").forEach((E)=>{Y(E)})}function L(){let M=$.querySelector(".work_item")?$:$.parentElement||document.body;Q=new MutationObserver((E)=>{E.forEach((I)=>{I.addedNodes.forEach((O)=>{if(O.nodeType===Node.ELEMENT_NODE){let S=O;if(S.classList.contains("work_item"))f0.resize(),S.style.transition="opacity 0.8s ease",Y(S)}})})}),Q.observe(M,{childList:!0,subtree:!0})}X7(()=>{z(),L(),l.set(".work_item",{scale:0.92,yPercent:10,opacity:0})}),QJ(()=>{if(Q)Q.disconnect(),Q=null;if(Z.forEach((M,E)=>{E.removeEventListener("mouseenter",M.enter),E.removeEventListener("mouseleave",M.leave),E.removeEventListener("mousemove",M.move)}),Z.clear(),j)j(),j=null;G.forEach((M)=>{M.forEach((E)=>E.kill())}),G.clear(),W.clear(),q.clear(),U.clear(),X.clear()}),KJ(async()=>{await l.to(".work_item",{scale:1,opacity:1,stagger:0.1,yPercent:0,delay:0.5})});let R={duration:0.5,ease:"power1.inOut"};function D(M){let E=M.querySelector(".work_image"),I=M.querySelector(".work_image_wrap"),O=B7.getState(E);if(I.appendChild(E),B7.from(O,{absolute:!0,...R}),X.add(M),!U.has(M)){let S=M.getBoundingClientRect(),x=performance.now();U.set(M,{x:S.width/2,y:S.height/2,startTime:x})}if(!j)F()}function A(M){let E=M.querySelector(".work_image"),I=M.querySelector(".work_image_item"),O=B7.getState(E);if(I.appendChild(E),B7.from(O,{absolute:!0,...R}),X.delete(M),U.delete(M),X.size===0&&j)j(),j=null;P(M)}function C(M,E){let I=M.getBoundingClientRect(),O=E.clientX-I.left,S=E.clientY-I.top,x=U.get(M);if(!x){let b=performance.now();x={x:O,y:S,startTime:b},U.set(M,x)}else x.x=O,x.y=S;let w=G.get(M);if(w)w.forEach((b)=>b.kill()),G.delete(M)}function F(){j=tK.add(()=>{let M=performance.now();X.forEach((E)=>{V(E,M)})})}function V(M,E){let I=Array.from(M.querySelectorAll(".work_browser_dot")),O=q.get(M);if(I.length!==3||!O)return;let S=U.get(M);if(!S)return;let x=W.get(M);if(!x)return;let w=[0,120,240].map((b)=>b*Math.PI/180);I.forEach((b,T)=>{let{setX:_,setY:h,proxy:c}=O[T],d=x[T],N=d.x,p=d.y,M0=(E-S.startTime)*B+T*(Math.PI*2/3),K0=w[T]+M0,t=S.x+Math.cos(K0)*H,r=S.y+Math.sin(K0)*H,B0=t-N,U0=r-p;l.to(c,{x:B0,y:U0,duration:2,ease:"power3.out",delay:T*0.001,overwrite:!0,onUpdate:()=>{_(c.x),h(c.y)}})})}function P(M){let E=Array.from(M.querySelectorAll(".work_browser_dot")),I=W.get(M),O=q.get(M);if(!I||!O||E.length!==3)return;U.delete(M);let S=[];E.forEach((x,w)=>{let b=I[w],{setX:T,setY:_,proxy:h}=O[w],c=h.x,d=h.y,N=0,p=0,o=l.to(h,{x:0,y:0,duration:0.9,ease:"power3.inOut",overwrite:!0,delay:w*0.05,onUpdate:()=>{T(h.x),_(h.y)}});S.push(o)}),G.set(M,S)}}var BZ={};k9(BZ,{default:()=>U5});function U5($,J){X7(()=>{$.querySelectorAll(".writing_line").forEach((Z)=>{let W=Z.offsetWidth,q=15,G=Math.floor(W/15);Z.innerHTML="";for(let H=0;H{let W=Array.from(Z.querySelectorAll(".writing_block"));Z.addEventListener("mousemove",(q)=>{let G=Z.getBoundingClientRect(),H=(q.clientX-G.left)/G.width;l.to(W,{height:l.utils.distribute({base:-20,amount:-36,from:H,ease:"power4.in"}),opacity:l.utils.distribute({base:-20,amount:-36,from:H,ease:"power4.in"}),duration:0.2,ease:"none"})}),Z.addEventListener("mouseleave",()=>{l.to(W,{height:"0rem",duration:0.3,ease:"power2.inOut"})})})})}var UZ={"./../about.ts":$Z,"./../article.js":WZ,"./../hero.ts":qZ,"./../loader.ts":GZ,"./../work.ts":HZ,"./../writings.ts":BZ};function XZ($="module"){return Array.from(document.querySelectorAll(`[data-${$}]`)).map((J)=>{let K=J,Q=K.dataset[$];if(K._moduleInitialized)return null;let Z=UZ[`./../${Q}.ts`]?`./../${Q}.ts`:`./../${Q}.js`;if(UZ[Z]){let W=UZ[Z].default;if(typeof W==="function")try{return K._moduleInitialized=!0,W(K,K.dataset)}catch(q){return delete K._moduleInitialized,console.warn(`Failed to call default function for ${$} "${Q}":`,q),null}else return console.warn(`Default export is not a function for ${$} "${Q}"`),null}else return console.warn(`${$} not found: "${Q}"`),null}).filter((J)=>J!==null)}class E9{static instance;groups=[];constructor(){}static getInstance(){if(!E9.instance)E9.instance=new E9;return E9.instance}configsMatch($,J){return $.root===J.root&&$.rootMargin===J.rootMargin}handleIntersection($){$.forEach((J)=>{let K=this.groups.find((B)=>{return Array.from(B.elements.keys()).includes(J.target)});if(!K)return;let Q=J.target,Z=K.elements.get(Q);if(!Z)return;let{isIntersecting:W,intersectionRatio:q,boundingClientRect:G}=J,H=-1;if(Z.lastDirection!==void 0)H=W?G.top>0?1:-1:G.top>0?-1:1;if(Z.lastDirection=H,W){if(Z.callbacks.isIn?.({entry:J,direction:H}),Z.callbacks.callback?.({entry:J,direction:H,isIn:!0}),Z.once)this.removeElement(Q)}else Z.callbacks.isOut?.({entry:J,direction:H}),Z.callbacks.callback?.({entry:J,direction:H,isIn:!1})})}addElement($,J,K){this.removeElement($);let Q=this.groups.find((Z)=>this.configsMatch(Z.config,J));if(!Q){let Z=new IntersectionObserver((W)=>this.handleIntersection(W),{...J,threshold:[0]});Q={config:J,observer:Z,elements:new Map},this.groups.push(Q)}return Q.elements.set($,{callbacks:K,once:J.once||!1,lastDirection:void 0}),Q.observer.observe($),Q}removeElement($){let J=this.groups.find((K)=>K.elements.has($));if(!J)return;if(J.observer.unobserve($),J.elements.delete($),J.elements.size===0)J.observer.disconnect(),this.groups=this.groups.filter((K)=>K!==J)}}class KQ{element;#J;#K;isIn($){}isOut($){}inView;callback;#Q=null;#Z=null;constructor($,J={root:null,rootMargin:"0px",threshold:0,autoStart:!1,once:!1,callback:void 0}){if(this.element=$,this.#J=J,this.inView=!1,this.callback=J.callback||(()=>{}),J.autoStart)this.start()}start(){this.#K=E9.getInstance().addElement(this.element,this.#J,{isIn:($)=>{this.inView=!0,this.isIn?.($)},isOut:($)=>{this.inView=!1,this.isOut?.($)},callback:this.callback})}stop(){E9.getInstance().removeElement(this.element)}destroy(){this.stop(),this.#Q=null,this.#Z=null}}var X5=($)=>{let J=$.getBoundingClientRect();return{top:J.top+f0.scroll,bottom:J.bottom+f0.scroll,width:J.width,height:J.height,left:J.left,right:J.right,wh:U7.height,ww:U7.width,offset:J.top+f0.scroll,centery:U7.height/2-J.height/2-J.top-f0.scroll,centerx:-U7.width/2+J.left+J.width/2}};function Y5($,J,K,Q,Z){return Q+(Z-Q)*($-J)/(K-J)}function j5($,J,K){return Math.min(Math.max(K,$),J)}var $6={bounds:[0,1],top:"bottom",bottom:"top",callback:void 0};class $5 extends KQ{value=0;init=!1;isIn($){this.#Z()}isOut($){}bounds;config;resize;handleScroll;#J;#K;constructor($,J={}){super($,{autoStart:!0,once:!1,threshold:0});this.element=$,this.config={...$6,...J},this.#Q(),this.#J=f0.add(this.#Z.bind(this)),this.#K=U7.add(this.#Q.bind(this)),this.init=!0,this.#Z()}#Q=()=>{this.bounds=W6(this.element,this.config),this.resize?.(this.bounds),this.#Z()};#Z(){if(!this.inView||!this.init)return;this.value=j5(0,1,Y5(f0.scroll,this.bounds.top,this.bounds.bottom,this.config.bounds[0],this.config.bounds[1])),this.handleScroll?.(this.value),this.config.callback?.(this.value)}destroy(){this.config.callback=void 0,this.#J(),this.#K(),super.destroy()}}function W6($,J){let K=X5($),{top:Q,bottom:Z,wh:W}=K,q=W/2;return K.top=Q-(J.top==="center"?q:J.top==="bottom"?W:0),K.bottom=Z-(J.bottom==="center"?q:J.bottom==="bottom"?W:0),K}async function L5(){return new Promise(($)=>{l.to(".loader_wrap",{autoAlpha:0,duration:0.1,onComplete(){$()}})})}async function z5(){return new Promise(($)=>{l.fromTo(".loader_wrap",{autoAlpha:0},{autoAlpha:1,duration:0.3,onComplete(){$()}})})}async function R5(){return new Promise(($)=>{l.fromTo(".loader_wrap",{autoAlpha:1},{autoAlpha:0,duration:0.3,onUpdate(){if(this.progress()>0.4)$()}})})}var q6={links:"a:not([data-taxi-ignore]):not([href*='page']):not([href*='&page']):not([href*='?_page']):not([href*='&_page'])",removeOldContent:!0,allowInterruption:!1,bypassCache:!1};class M5 extends sJ{constructor(){super({...q6,transitions:{default:rK}});XZ(),KZ(),(async()=>{await this.init(),ZZ()})()}async init(){await L5()}async transitionOut({from:$,trigger:J}){await z5(),await Promise.allSettled([await Z5()]),K5(),f0.toTop()}async transitionIn({to:$,trigger:J}){XZ(),f0.resize(),U7.update(),KZ(),await R5(),await Promise.allSettled([await ZZ()])}}var N5=new M5;class V5{scroll=f0;pages=N5;constructor(){QQ()}}var nK=new V5;export{nK as App}; //# debugId=1E76B3DF20345A4264756E2164756E21