var _l=Object.defineProperty;var ml=(o,e,i)=>e in o?_l(o,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[e]=i;var G=(o,e,i)=>ml(o,typeof e!="symbol"?e+"":e,i);function mi(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function $o(o,e){o.prototype=Object.create(e.prototype),o.prototype.constructor=o,o.__proto__=e}/*! * GSAP 3.15.0 * https://gsap.com * * @license Copyright 2008-2026, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var Vt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Zr={duration:.5,overwrite:!1,delay:0},Ls,ct,Ae,Zt=1e8,Pe=1/Zt,cs=Math.PI*2,vl=cs/4,yl=0,Go=Math.sqrt,xl=Math.cos,bl=Math.sin,it=function(e){return typeof e=="string"},We=function(e){return typeof e=="function"},wi=function(e){return typeof e=="number"},zs=function(e){return typeof e>"u"},_i=function(e){return typeof e=="object"},Ot=function(e){return e!==!1},Fs=function(){return typeof window<"u"},hn=function(e){return We(e)||it(e)},jo=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},yt=Array.isArray,wl=/random\([^)]+\)/g,Sl=/,\s*/g,ao=/(?:-?\.?\d|\.)+/gi,Ko=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,hr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Kn=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Qo=/[+-]=-?[.\d]+/,Tl=/[^,'"\[\]\s]+/gi,Cl=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ie,ci,fs,Is,qt={},Ln={},Zo,Jo=function(e){return(Ln=wr(e,qt))&&Lt},Ns=function(e,i){return console.warn("Invalid property",e,"set to",i,"Missing plugin? gsap.registerPlugin()")},Jr=function(e,i){return!i&&console.warn(e)},ea=function(e,i){return e&&(qt[e]=i)&&Ln&&(Ln[e]=i)||qt},en=function(){return 0},El={suppressEvents:!0,isStart:!0,kill:!1},Cn={suppressEvents:!0,kill:!1},kl={suppressEvents:!0},Hs={},Di=[],hs={},ta,Nt={},Qn={},lo=30,En=[],Bs="",Ws=function(e){var i=e[0],t,r;if(_i(i)||We(i)||(e=[e]),!(t=(i._gsap||{}).harness)){for(r=En.length;r--&&!En[r].targetTest(i););t=En[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new Sa(e[r],t)))||e.splice(r,1);return e},ji=function(e){return e._gsap||Ws(Jt(e))[0]._gsap},ia=function(e,i,t){return(t=e[i])&&We(t)?e[i]():zs(t)&&e.getAttribute&&e.getAttribute(i)||t},Rt=function(e,i){return(e=e.split(",")).forEach(i)||e},Xe=function(e){return Math.round(e*1e5)/1e5||0},Fe=function(e){return Math.round(e*1e7)/1e7||0},gr=function(e,i){var t=i.charAt(0),r=parseFloat(i.substr(2));return e=parseFloat(e),t==="+"?e+r:t==="-"?e-r:t==="*"?e*r:e/r},Pl=function(e,i){for(var t=i.length,r=0;e.indexOf(i[r])<0&&++ra;)s=s._prev;return s?(i._next=s._next,s._next=i):(i._next=e[t],e[t]=i),i._next?i._next._prev=i:e[r]=i,i._prev=s,i.parent=i._dp=e,i},qn=function(e,i,t,r){t===void 0&&(t="_first"),r===void 0&&(r="_last");var n=i._prev,s=i._next;n?n._next=s:e[t]===i&&(e[t]=s),s?s._prev=n:e[r]===i&&(e[r]=n),i._next=i._prev=i.parent=null},Fi=function(e,i){e.parent&&(!i||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ki=function(e,i){if(e&&(!i||i._end>e._dur||i._start<0))for(var t=e;t;)t._dirty=1,t=t.parent;return e},Rl=function(e){for(var i=e.parent;i&&i.parent;)i._dirty=1,i.totalDuration(),i=i.parent;return e},ds=function(e,i,t,r){return e._startAt&&(ct?e._startAt.revert(Cn):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(i,!0,r))},Al=function o(e){return!e||e._ts&&o(e.parent)},co=function(e){return e._repeat?Sr(e._tTime,e=e.duration()+e._rDelay)*e:0},Sr=function(e,i){var t=Math.floor(e=Fe(e/i));return e&&t===e?t-1:t},In=function(e,i){return(e-i._start)*i._ts+(i._ts>=0?0:i._dirty?i.totalDuration():i._tDur)},Un=function(e){return e._end=Fe(e._start+(e._tDur/Math.abs(e._ts||e._rts||Pe)||0))},$n=function(e,i){var t=e._dp;return t&&t.smoothChildTiming&&e._ts&&(e._start=Fe(t._time-(e._ts>0?i/e._ts:((e._dirty?e.totalDuration():e._tDur)-i)/-e._ts)),Un(e),t._dirty||Ki(t,e)),e},aa=function(e,i){var t;if((i._time||!i._dur&&i._initted||i._startPe)&&i.render(t,!0)),Ki(e,i)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&t.totalTime(t._tTime),t=t._dp;e._zTime=-Pe}},hi=function(e,i,t,r){return i.parent&&Fi(i),i._start=Fe((wi(t)?t:t||e!==Ie?jt(e,t,i):e._time)+i._delay),i._end=Fe(i._start+(i.totalDuration()/Math.abs(i.timeScale())||0)),oa(e,i,"_first","_last",e._sort?"_start":0),ps(i)||(e._recent=i),r||aa(e,i),e._ts<0&&$n(e,e._tTime),e},la=function(e,i){return(qt.ScrollTrigger||Ns("scrollTrigger",i))&&qt.ScrollTrigger.create(i,e)},ua=function(e,i,t,r,n){if(Vs(e,i,n),!e._initted)return 1;if(!t&&e._pt&&!ct&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&ta!==Bt.frame)return Di.push(e),e._lazy=[n,r],1},Dl=function o(e){var i=e.parent;return i&&i._ts&&i._initted&&!i._lock&&(i.rawTime()<0||o(i))},ps=function(e){var i=e.data;return i==="isFromStart"||i==="isStart"},Ll=function(e,i,t,r){var n=e.ratio,s=i<0||!i&&(!e._start&&Dl(e)&&!(!e._initted&&ps(e))||(e._ts<0||e._dp._ts<0)&&!ps(e))?0:1,a=e._rDelay,l=0,u,c,p;if(a&&e._repeat&&(l=un(0,e._tDur,i),c=Sr(l,a),e._yoyo&&c&1&&(s=1-s),c!==Sr(e._tTime,a)&&(n=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==n||ct||r||e._zTime===Pe||!i&&e._zTime){if(!e._initted&&ua(e,i,r,t,l))return;for(p=e._zTime,e._zTime=i||(t?Pe:0),t||(t=i&&!p),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,u=e._pt;u;)u.r(s,u.d),u=u._next;i<0&&ds(e,i,t,!0),e._onUpdate&&!t&&Yt(e,"onUpdate"),l&&e._repeat&&!t&&e.parent&&Yt(e,"onRepeat"),(i>=e._tDur||i<0)&&e.ratio===s&&(s&&Fi(e,1),!t&&!ct&&(Yt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=i)},zl=function(e,i,t){var r;if(t>i)for(r=e._first;r&&r._start<=t;){if(r.data==="isPause"&&r._start>i)return r;r=r._next}else for(r=e._last;r&&r._start>=t;){if(r.data==="isPause"&&r._start0&&!r&&$n(e,e._tTime=e._tDur*a),e.parent&&Un(e),t||Ki(e.parent,e),e},fo=function(e){return e instanceof Mt?Ki(e):Tr(e,e._dur)},Fl={_start:0,endTime:en,totalDuration:en},jt=function o(e,i,t){var r=e.labels,n=e._recent||Fl,s=e.duration()>=Zt?n.endTime(!1):e._dur,a,l,u;return it(i)&&(isNaN(i)||i in r)?(l=i.charAt(0),u=i.substr(-1)==="%",a=i.indexOf("="),l==="<"||l===">"?(a>=0&&(i=i.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(i.substr(1))||0)*(u?(a<0?n:t).totalDuration()/100:1)):a<0?(i in r||(r[i]=s),r[i]):(l=parseFloat(i.charAt(a-1)+i.substr(a+1)),u&&t&&(l=l/100*(yt(t)?t[0]:t).totalDuration()),a>1?o(e,i.substr(0,a-1),t)+l:s+l)):i==null?s:+i},Wr=function(e,i,t){var r=wi(i[1]),n=(r?2:1)+(e<2?0:1),s=i[n],a,l;if(r&&(s.duration=i[1]),s.parent=t,e){for(a=s,l=t;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=Ot(l.vars.inherit)&&l.parent;s.immediateRender=Ot(a.immediateRender),e<2?s.runBackwards=1:s.startAt=i[n-1]}return new Ue(i[0],s,i[n+1])},Bi=function(e,i){return e||e===0?i(e):i},un=function(e,i,t){return ti?i:t},mt=function(e,i){return!it(e)||!(i=Cl.exec(e))?"":i[1]},Il=function(e,i,t){return Bi(t,function(r){return un(e,i,r)})},gs=[].slice,ca=function(e,i){return e&&_i(e)&&"length"in e&&(!i&&!e.length||e.length-1 in e&&_i(e[0]))&&!e.nodeType&&e!==ci},Nl=function(e,i,t){return t===void 0&&(t=[]),e.forEach(function(r){var n;return it(r)&&!i||ca(r,1)?(n=t).push.apply(n,Jt(r)):t.push(r)})||t},Jt=function(e,i,t){return Ae&&!i&&Ae.selector?Ae.selector(e):it(e)&&!t&&(fs||!Cr())?gs.call((i||Is).querySelectorAll(e),0):yt(e)?Nl(e,t):ca(e)?gs.call(e,0):e?[e]:[]},_s=function(e){return e=Jt(e)[0]||Jr("Invalid scope")||{},function(i){var t=e.current||e.nativeElement||e;return Jt(i,t.querySelectorAll?t:t===e?Jr("Invalid scope")||Is.createElement("div"):e)}},fa=function(e){return e.sort(function(){return .5-Math.random()})},ha=function(e){if(We(e))return e;var i=_i(e)?e:{each:e},t=Qi(i.ease),r=i.from||0,n=parseFloat(i.base)||0,s={},a=r>0&&r<1,l=isNaN(r)||a,u=i.axis,c=r,p=r;return it(r)?c=p={center:.5,edges:.5,end:1}[r]||0:!a&&l&&(c=r[0],p=r[1]),function(h,f,g){var d=(g||i).length,v=s[d],w,x,b,S,P,A,T,N,D;if(!v){if(D=i.grid==="auto"?0:(i.grid||[1,Zt])[1],!D){for(T=-Zt;T<(T=g[D++].getBoundingClientRect().left)&&DT&&(T=P),Pd?d-1:u?u==="y"?d/D:D:Math.max(D,d/D))||0)*(r==="edges"?-1:1),v.b=d<0?n-d:n,v.u=mt(i.amount||i.each)||0,t=t&&d<0?Ql(t):t}return d=(v[h]-v.min)/v.max||0,Fe(v.b+(t?t(d):d)*v.v)+v.u}},ms=function(e){var i=Math.pow(10,((e+"").split(".")[1]||"").length);return function(t){var r=Fe(Math.round(parseFloat(t)/e)*e*i);return(r-r%1)/i+(wi(t)?0:mt(t))}},da=function(e,i){var t=yt(e),r,n;return!t&&_i(e)&&(r=t=e.radius||Zt,e.values?(e=Jt(e.values),(n=!wi(e[0]))&&(r*=r)):e=ms(e.increment)),Bi(i,t?We(e)?function(s){return n=e(s),Math.abs(n-s)<=r?n:s}:function(s){for(var a=parseFloat(n?s.x:s),l=parseFloat(n?s.y:0),u=Zt,c=0,p=e.length,h,f;p--;)n?(h=e[p].x-a,f=e[p].y-l,h=h*h+f*f):h=Math.abs(e[p]-a),hr?n-s:s)})},tn=function(e){return e.replace(wl,function(i){var t=i.indexOf("[")+1,r=i.substring(t||7,t?i.indexOf("]"):i.length-1).split(Sl);return pa(t?r:+r[0],t?0:+r[1],+r[2]||1e-5)})},_a=function(e,i,t,r,n){var s=i-e,a=r-t;return Bi(n,function(l){return t+((l-e)/s*a||0)})},Vl=function o(e,i,t,r){var n=isNaN(e+i)?0:function(f){return(1-f)*e+f*i};if(!n){var s=it(e),a={},l,u,c,p,h;if(t===!0&&(r=1)&&(t=null),s)e={p:e},i={p:i};else if(yt(e)&&!yt(i)){for(c=[],p=e.length,h=p-2,u=1;u(a=Math.abs(a))&&(l=s,n=a);return l},Yt=function(e,i,t){var r=e.vars,n=r[i],s=Ae,a=e._ctx,l,u,c;if(n)return l=r[i+"Params"],u=r.callbackScope||e,t&&Di.length&&zn(),a&&(Ae=a),c=l?n.apply(u,l):n.call(u),Ae=s,c},Dr=function(e){return Fi(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ct),e.progress()<1&&Yt(e,"onInterrupt"),e},dr,ma=[],va=function(e){if(e)if(e=!e.name&&e.default||e,Fs()||e.headless){var i=e.name,t=We(e),r=i&&!t&&e.init?function(){this._props=[]}:e,n={init:en,render:$s,add:Xs,kill:au,modifier:ou,rawVars:0},s={targetTest:0,get:0,getSetter:Us,aliases:{},register:0};if(Cr(),e!==r){if(Nt[i])return;Ut(r,Ut(Fn(e,n),s)),wr(r.prototype,wr(n,Fn(e,s))),Nt[r.prop=i]=r,e.targetTest&&(En.push(r),Hs[i]=1),i=(i==="css"?"CSS":i.charAt(0).toUpperCase()+i.substr(1))+"Plugin"}ea(i,r),e.register&&e.register(Lt,r,At)}else ma.push(e)},ke=255,Lr={aqua:[0,ke,ke],lime:[0,ke,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ke],navy:[0,0,128],white:[ke,ke,ke],olive:[128,128,0],yellow:[ke,ke,0],orange:[ke,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ke,0,0],pink:[ke,192,203],cyan:[0,ke,ke],transparent:[ke,ke,ke,0]},Zn=function(e,i,t){return e+=e<0?1:e>1?-1:0,(e*6<1?i+(t-i)*e*6:e<.5?t:e*3<2?i+(t-i)*(2/3-e)*6:i)*ke+.5|0},ya=function(e,i,t){var r=e?wi(e)?[e>>16,e>>8&ke,e&ke]:0:Lr.black,n,s,a,l,u,c,p,h,f,g;if(!r){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Lr[e])r=Lr[e];else if(e.charAt(0)==="#"){if(e.length<6&&(n=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+n+n+s+s+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&ke,r&ke,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&ke,e&ke]}else if(e.substr(0,3)==="hsl"){if(r=g=e.match(ao),!i)l=+r[0]%360/360,u=+r[1]/100,c=+r[2]/100,s=c<=.5?c*(u+1):c+u-c*u,n=c*2-s,r.length>3&&(r[3]*=1),r[0]=Zn(l+1/3,n,s),r[1]=Zn(l,n,s),r[2]=Zn(l-1/3,n,s);else if(~e.indexOf("="))return r=e.match(Ko),t&&r.length<4&&(r[3]=1),r}else r=e.match(ao)||Lr.transparent;r=r.map(Number)}return i&&!g&&(n=r[0]/ke,s=r[1]/ke,a=r[2]/ke,p=Math.max(n,s,a),h=Math.min(n,s,a),c=(p+h)/2,p===h?l=u=0:(f=p-h,u=c>.5?f/(2-p-h):f/(p+h),l=p===n?(s-a)/f+(se||w<0)&&(t+=w-i),r+=w,P=r-t,b=P-s,(b>0||x)&&(A=++p.frame,h=P-p.time*1e3,p.time=P=P/1e3,s+=b+(b>=n?4:n-b),S=1),x||(l=u(d)),S)for(f=0;f=w&&f--},_listeners:a},p}(),Cr=function(){return!rn&&Bt.wake()},ye={},Ul=/^[\d.\-M][\d.\-,\s]/,$l=/["']/g,Gl=function(e){for(var i={},t=e.substr(1,e.length-3).split(":"),r=t[0],n=1,s=t.length,a,l,u;n1&&t.config?t.config.apply(null,~e.indexOf("{")?[Gl(i[1])]:jl(e).split(",").map(na)):ye._CE&&Ul.test(e)?ye._CE("",e):t},Ql=function(e){return function(i){return 1-e(1-i)}},Qi=function(e,i){return e&&(We(e)?e:ye[e]||Kl(e))||i},sr=function(e,i,t,r){t===void 0&&(t=function(l){return 1-i(1-l)}),r===void 0&&(r=function(l){return l<.5?i(l*2)/2:1-i((1-l)*2)/2});var n={easeIn:i,easeOut:t,easeInOut:r},s;return Rt(e,function(a){ye[a]=qt[a]=n,ye[s=a.toLowerCase()]=t;for(var l in n)ye[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ye[a+"."+l]=n[l]}),n},wa=function(e){return function(i){return i<.5?(1-e(1-i*2))/2:.5+e((i-.5)*2)/2}},Jn=function o(e,i,t){var r=i>=1?i:1,n=(t||(e?.3:.45))/(i<1?i:1),s=n/cs*(Math.asin(1/r)||0),a=function(c){return c===1?1:r*Math.pow(2,-10*c)*bl((c-s)*n)+1},l=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:wa(a);return n=cs/n,l.config=function(u,c){return o(e,u,c)},l},es=function o(e,i){i===void 0&&(i=1.70158);var t=function(s){return s?--s*s*((i+1)*s+i)+1:0},r=e==="out"?t:e==="in"?function(n){return 1-t(1-n)}:wa(t);return r.config=function(n){return o(e,n)},r};Rt("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,e){var i=e<5?e+1:e;sr(o+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},function(t){return 1-Math.pow(1-t,i)},function(t){return t<.5?Math.pow(t*2,i)/2:1-Math.pow((1-t)*2,i)/2})});ye.Linear.easeNone=ye.none=ye.Linear.easeIn;sr("Elastic",Jn("in"),Jn("out"),Jn());(function(o,e){var i=1/e,t=2*i,r=2.5*i,n=function(a){return a0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Tr(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,r){if(Cr(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for($n(this,t),!n._dp||n.parent||aa(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&hi(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===Pe||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),ra(this,t,r)),this},e.time=function(t,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+co(this))%(this._dur+this._rDelay)||(t?this._dur:0),r):this._time},e.totalProgress=function(t,r){return arguments.length?this.totalTime(this.totalDuration()*t,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-t:t)+co(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,r){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,r):this._repeat?Sr(this._tTime,n)+1:1},e.timeScale=function(t,r){if(!arguments.length)return this._rts===-Pe?0:this._rts;if(this._rts===t)return this;var n=this.parent&&this._ts?In(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-Pe?0:this._rts,this.totalTime(un(-Math.abs(this._delay),this.totalDuration(),n),r!==!1),Un(this),Rl(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Cr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Pe&&(this._tTime-=Pe)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=Fe(t);var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&hi(r,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(Ot(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var r=this.parent||this._dp;return r?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?In(r.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){t===void 0&&(t=kl);var r=ct;return ct=t,Ys(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),this.data!=="nested"&&t.kill!==!1&&this.kill(),ct=r,this},e.globalTime=function(t){for(var r=this,n=arguments.length?t:r.rawTime();r;)n=r._start+n/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(t):n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,fo(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var r=this._time;return this._rDelay=t,fo(this),r?this.time(r):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,r){return this.totalTime(jt(this,t),Ot(r))},e.restart=function(t,r){return this.play().totalTime(t?-this._delay:0,Ot(r)),this._dur||(this._zTime=-Pe),this},e.play=function(t,r){return t!=null&&this.seek(t,r),this.reversed(!1).paused(!1)},e.reverse=function(t,r){return t!=null&&this.seek(t||this.totalDuration(),r),this.reversed(!0).paused(!1)},e.pause=function(t,r){return t!=null&&this.seek(t,r),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-Pe:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-Pe,this},e.isActive=function(){var t=this.parent||this._dp,r=this._start,n;return!!(!t||this._ts&&this._initted&&t.isActive()&&(n=t.rawTime(!0))>=r&&n1?(r?(s[t]=r,n&&(s[t+"Params"]=n),t==="onUpdate"&&(this._onUpdate=r)):delete s[t],this):s[t]},e.then=function(t){var r=this,n=r._prom;return new Promise(function(s){var a=We(t)?t:sa,l=function(){var c=r.then;r.then=null,n&&n(),We(a)&&(a=a(r))&&(a.then||a===r)&&(r.then=c),s(a),r.then=c};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?l():r._prom=l})},e.kill=function(){Dr(this)},o}();Ut(nn.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:-Pe,_prom:0,_ps:!1,_rts:1});var Mt=function(o){$o(e,o);function e(t,r){var n;return t===void 0&&(t={}),n=o.call(this,t)||this,n.labels={},n.smoothChildTiming=!!t.smoothChildTiming,n.autoRemoveChildren=!!t.autoRemoveChildren,n._sort=Ot(t.sortChildren),Ie&&hi(t.parent||Ie,mi(n),r),t.reversed&&n.reverse(),t.paused&&n.paused(!0),t.scrollTrigger&&la(mi(n),t.scrollTrigger),n}var i=e.prototype;return i.to=function(r,n,s){return Wr(0,arguments,this),this},i.from=function(r,n,s){return Wr(1,arguments,this),this},i.fromTo=function(r,n,s,a){return Wr(2,arguments,this),this},i.set=function(r,n,s){return n.duration=0,n.parent=this,Br(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new Ue(r,n,jt(this,s),1),this},i.call=function(r,n,s){return hi(this,Ue.delayedCall(0,r,n),s)},i.staggerTo=function(r,n,s,a,l,u,c){return s.duration=n,s.stagger=s.stagger||a,s.onComplete=u,s.onCompleteParams=c,s.parent=this,new Ue(r,s,jt(this,l)),this},i.staggerFrom=function(r,n,s,a,l,u,c){return s.runBackwards=1,Br(s).immediateRender=Ot(s.immediateRender),this.staggerTo(r,n,s,a,l,u,c)},i.staggerFromTo=function(r,n,s,a,l,u,c,p){return a.startAt=s,Br(a).immediateRender=Ot(a.immediateRender),this.staggerTo(r,n,a,l,u,c,p)},i.render=function(r,n,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=r<=0?0:Fe(r),p=this._zTime<0!=r<0&&(this._initted||!u),h,f,g,d,v,w,x,b,S,P,A,T;if(this!==Ie&&c>l&&r>=0&&(c=l),c!==this._tTime||s||p){if(a!==this._time&&u&&(c+=this._time-a,r+=this._time-a),h=c,S=this._start,b=this._ts,w=!b,p&&(u||(a=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(A=this._yoyo,v=u+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(v*100+r,n,s);if(h=Fe(c%v),c===l?(d=this._repeat,h=u):(P=Fe(c/v),d=~~P,d&&d===P&&(h=u,d--),h>u&&(h=u)),P=Sr(this._tTime,v),!a&&this._tTime&&P!==d&&this._tTime-P*v-this._dur<=0&&(P=d),A&&d&1&&(h=u-h,T=1),d!==P&&!this._lock){var N=A&&P&1,D=N===(A&&d&1);if(d=a&&r>=0)for(f=this._first;f;){if(g=f._next,(f._act||h>=f._start)&&f._ts&&x!==f){if(f.parent!==this)return this.render(r,n,s);if(f.render(f._ts>0?(h-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(h-f._start)*f._ts,n,s),h!==this._time||!this._ts&&!w){x=0,g&&(c+=this._zTime=-Pe);break}}f=g}else{f=this._last;for(var L=r<0?r:h;f;){if(g=f._prev,(f._act||L<=f._end)&&f._ts&&x!==f){if(f.parent!==this)return this.render(r,n,s);if(f.render(f._ts>0?(L-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(L-f._start)*f._ts,n,s||ct&&Ys(f)),h!==this._time||!this._ts&&!w){x=0,g&&(c+=this._zTime=L?-Pe:Pe);break}}f=g}}if(x&&!n&&(this.pause(),x.render(h>=a?0:-Pe)._zTime=h>=a?1:-1,this._ts))return this._start=S,Un(this),this.render(r,n,s);this._onUpdate&&!n&&Yt(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&a)&&(S===this._start||Math.abs(b)!==Math.abs(this._ts))&&(this._lock||((r||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&Fi(this,1),!n&&!(r<0&&!a)&&(c||a||!l)&&(Yt(this,c===l&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c0)&&this._prom())))}return this},i.add=function(r,n){var s=this;if(wi(n)||(n=jt(this,n,r)),!(r instanceof nn)){if(yt(r))return r.forEach(function(a){return s.add(a,n)}),this;if(it(r))return this.addLabel(r,n);if(We(r))r=Ue.delayedCall(0,r);else return this}return this!==r?hi(this,r,n):this},i.getChildren=function(r,n,s,a){r===void 0&&(r=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),a===void 0&&(a=-Zt);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof Ue?n&&l.push(u):(s&&l.push(u),r&&l.push.apply(l,u.getChildren(!0,n,s)))),u=u._next;return l},i.getById=function(r){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===r)return n[s]},i.remove=function(r){return it(r)?this.removeLabel(r):We(r)?this.killTweensOf(r):(r.parent===this&&qn(this,r),r===this._recent&&(this._recent=this._last),Ki(this))},i.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Fe(Bt.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),o.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},i.addLabel=function(r,n){return this.labels[r]=jt(this,n),this},i.removeLabel=function(r){return delete this.labels[r],this},i.addPause=function(r,n,s){var a=Ue.delayedCall(0,n||en,s);return a.data="isPause",this._hasPause=1,hi(this,a,jt(this,r))},i.removePause=function(r){var n=this._first;for(r=jt(this,r);n;)n._start===r&&n.data==="isPause"&&Fi(n),n=n._next},i.killTweensOf=function(r,n,s){for(var a=this.getTweensOf(r,s),l=a.length;l--;)Pi!==a[l]&&a[l].kill(r,n);return this},i.getTweensOf=function(r,n){for(var s=[],a=Jt(r),l=this._first,u=wi(n),c;l;)l instanceof Ue?Pl(l._targets,a)&&(u?(!Pi||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&s.push(l):(c=l.getTweensOf(a,n)).length&&s.push.apply(s,c),l=l._next;return s},i.tweenTo=function(r,n){n=n||{};var s=this,a=jt(s,r),l=n,u=l.startAt,c=l.onStart,p=l.onStartParams,h=l.immediateRender,f,g=Ue.to(s,Ut({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale())||Pe,onStart:function(){if(s.pause(),!f){var v=n.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale());g._dur!==v&&Tr(g,v,0,1).render(g._time,!0,!0),f=1}c&&c.apply(g,p||[])}},n));return h?g.render(0):g},i.tweenFromTo=function(r,n,s){return this.tweenTo(n,Ut({startAt:{time:jt(this,r)}},s))},i.recent=function(){return this._recent},i.nextLabel=function(r){return r===void 0&&(r=this._time),ho(this,jt(this,r))},i.previousLabel=function(r){return r===void 0&&(r=this._time),ho(this,jt(this,r),1)},i.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+Pe)},i.shiftChildren=function(r,n,s){s===void 0&&(s=0);var a=this._first,l=this.labels,u;for(r=Fe(r);a;)a._start>=s&&(a._start+=r,a._end+=r),a=a._next;if(n)for(u in l)l[u]>=s&&(l[u]+=r);return Ki(this)},i.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return o.prototype.invalidate.call(this,r)},i.clear=function(r){r===void 0&&(r=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),Ki(this)},i.totalDuration=function(r){var n=0,s=this,a=s._last,l=Zt,u,c,p;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-r:r));if(s._dirty){for(p=s.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,hi(s,a,c-a._delay,1)._lock=0):l=c,c<0&&a._ts&&(n-=c,(!p&&!s._dp||p&&p.smoothChildTiming)&&(s._start+=Fe(c/s._ts),s._time-=c,s._tTime-=c),s.shiftChildren(-c,!1,-1/0),l=0),a._end>n&&a._ts&&(n=a._end),a=u;Tr(s,s===Ie&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(r){if(Ie._ts&&(ra(Ie,In(r,Ie)),ta=Bt.frame),Bt.frame>=lo){lo+=Vt.autoSleep||120;var n=Ie._first;if((!n||!n._ts)&&Vt.autoSleep&&Bt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||Bt.sleep()}}},e}(nn);Ut(Mt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Zl=function(e,i,t,r,n,s,a){var l=new At(this._pt,e,i,0,1,Ma,null,n),u=0,c=0,p,h,f,g,d,v,w,x;for(l.b=t,l.e=r,t+="",r+="",(w=~r.indexOf("random("))&&(r=tn(r)),s&&(x=[t,r],s(x,e,i),t=x[0],r=x[1]),h=t.match(Kn)||[];p=Kn.exec(r);)g=p[0],d=r.substring(u,p.index),f?f=(f+1)%5:d.substr(-5)==="rgba("&&(f=1),g!==h[c++]&&(v=parseFloat(h[c-1])||0,l._pt={_next:l._pt,p:d||c===1?d:",",s:v,c:g.charAt(1)==="="?gr(v,g)-v:parseFloat(g)-v,m:f&&f<4?Math.round:0},u=Kn.lastIndex);return l.c=u")}),b.duration();else{P={};for(T in g)T==="ease"||T==="easeEach"||iu(T,g[T],P,g.easeEach);for(T in P)for(ue=P[T].sort(function(le,Q){return le.t-Q.t}),Y=0,S=0;Sl-Pe&&!c?l:ru&&(h=u)),w=this._yoyo&&g&1,w&&(h=u-h),v=Sr(this._tTime,d),h===a&&!s&&this._initted&&g===v)return this._tTime=p,this;g!==v&&this.vars.repeatRefresh&&!w&&!this._lock&&h!==d&&this._initted&&(this._lock=s=1,this.render(Fe(d*g),!0).invalidate()._lock=0)}if(!this._initted){if(ua(this,c?r:h,s,n,p))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&g!==v))return this;if(u!==this._dur)return this.render(r,n,s)}if(this._rEase){var S=h0||!p&&this._ts<0)&&Fi(this,1),!n&&!(c&&!a)&&(p||a||w)&&(Yt(this,p===l?"onComplete":"onReverseComplete",!0),this._prom&&!(p0)&&this._prom()))}return this},i.targets=function(){return this._targets},i.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),o.prototype.invalidate.call(this,r)},i.resetTo=function(r,n,s,a,l){rn||Bt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||Vs(this,u),c=this._ease(u/this._dur),eu(this,r,n,s,a,c,u,l)?this.resetTo(r,n,s,a,1):($n(this,0),this.parent||oa(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},i.kill=function(r,n){if(n===void 0&&(n="all"),!r&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?Dr(this):this.scrollTrigger&&this.scrollTrigger.kill(!!ct),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,Pi&&Pi.vars.overwrite!==!0)._first||Dr(this),this.parent&&s!==this.timeline.totalDuration()&&Tr(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=r?Jt(r):a,u=this._ptLookup,c=this._pt,p,h,f,g,d,v,w;if((!n||n==="all")&&Ol(a,l))return n==="all"&&(this._pt=0),Dr(this);for(p=this._op=this._op||[],n!=="all"&&(it(n)&&(d={},Rt(n,function(x){return d[x]=1}),n=d),n=tu(a,n)),w=a.length;w--;)if(~l.indexOf(a[w])){h=u[w],n==="all"?(p[w]=n,g=h,f={}):(f=p[w]=p[w]||{},g=n);for(d in g)v=h&&h[d],v&&((!("kill"in v.d)||v.d.kill(d)===!0)&&qn(this,v,"_pt"),delete h[d]),f!=="all"&&(f[d]=1)}return this._initted&&!this._pt&&c&&Dr(this),this},e.to=function(r,n){return new e(r,n,arguments[2])},e.from=function(r,n){return Wr(1,arguments)},e.delayedCall=function(r,n,s,a){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(r,n,s){return Wr(2,arguments)},e.set=function(r,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(r,n)},e.killTweensOf=function(r,n,s){return Ie.killTweensOf(r,n,s)},e}(nn);Ut(Ue.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Rt("staggerTo,staggerFrom,staggerFromTo",function(o){Ue[o]=function(){var e=new Mt,i=gs.call(arguments,0);return i.splice(o==="staggerFromTo"?5:4,0,0),e[o].apply(e,i)}});var qs=function(e,i,t){return e[i]=t},ka=function(e,i,t){return e[i](t)},ru=function(e,i,t,r){return e[i](r.fp,t)},nu=function(e,i,t){return e.setAttribute(i,t)},Us=function(e,i){return We(e[i])?ka:zs(e[i])&&e.setAttribute?nu:qs},Pa=function(e,i){return i.set(i.t,i.p,Math.round((i.s+i.c*e)*1e6)/1e6,i)},su=function(e,i){return i.set(i.t,i.p,!!(i.s+i.c*e),i)},Ma=function(e,i){var t=i._pt,r="";if(!e&&i.b)r=i.b;else if(e===1&&i.e)r=i.e;else{for(;t;)r=t.p+(t.m?t.m(t.s+t.c*e):Math.round((t.s+t.c*e)*1e4)/1e4)+r,t=t._next;r+=i.c}i.set(i.t,i.p,r,i)},$s=function(e,i){for(var t=i._pt;t;)t.r(e,t.d),t=t._next},ou=function(e,i,t,r){for(var n=this._pt,s;n;)s=n._next,n.p===r&&n.modifier(e,i,t),n=s},au=function(e){for(var i=this._pt,t,r;i;)r=i._next,i.p===e&&!i.op||i.op===e?qn(this,i,"_pt"):i.dep||(t=1),i=r;return!t},lu=function(e,i,t,r){r.mSet(e,i,r.m.call(r.tween,t,r.mt),r)},Oa=function(e){for(var i=e._pt,t,r,n,s;i;){for(t=i._next,r=n;r&&r.pr>i.pr;)r=r._next;(i._prev=r?r._prev:s)?i._prev._next=i:n=i,(i._next=r)?r._prev=i:s=i,i=t}e._pt=n},At=function(){function o(i,t,r,n,s,a,l,u,c){this.t=t,this.s=n,this.c=s,this.p=r,this.r=a||Pa,this.d=l||this,this.set=u||qs,this.pr=c||0,this._next=i,i&&(i._prev=this)}var e=o.prototype;return e.modifier=function(t,r,n){this.mSet=this.mSet||this.set,this.set=lu,this.m=t,this.mt=n,this.tween=r},o}();Rt(Bs+"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,easeReverse",function(o){return Hs[o]=1});qt.TweenMax=qt.TweenLite=Ue;qt.TimelineLite=qt.TimelineMax=Mt;Ie=new Mt({sortChildren:!1,defaults:Zr,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Vt.stringFilter=ba;var Zi=[],kn={},uu=[],go=0,cu=0,ts=function(e){return(kn[e]||uu).map(function(i){return i()})},ys=function(){var e=Date.now(),i=[];e-go>2&&(ts("matchMediaInit"),Zi.forEach(function(t){var r=t.queries,n=t.conditions,s,a,l,u;for(a in r)s=ci.matchMedia(r[a]).matches,s&&(l=1),s!==n[a]&&(n[a]=s,u=1);u&&(t.revert(),l&&i.push(t))}),ts("matchMediaRevert"),i.forEach(function(t){return t.onMatch(t,function(r){return t.add(null,r)})}),go=e,ts("matchMedia"))},Ra=function(){function o(i,t){this.selector=t&&_s(t),this.data=[],this._r=[],this.isReverted=!1,this.id=cu++,i&&this.add(i)}var e=o.prototype;return e.add=function(t,r,n){We(t)&&(n=r,r=t,t=We);var s=this,a=function(){var u=Ae,c=s.selector,p;return u&&u!==s&&u.data.push(s),n&&(s.selector=_s(n)),Ae=s,p=r.apply(s,arguments),We(p)&&s._r.push(p),Ae=u,s.selector=c,s.isReverted=!1,p};return s.last=a,t===We?a(s,function(l){return s.add(null,l)}):t?s[t]=a:a},e.ignore=function(t){var r=Ae;Ae=null,t(this),Ae=r},e.getTweens=function(){var t=[];return this.data.forEach(function(r){return r instanceof o?t.push.apply(t,r.getTweens()):r instanceof Ue&&!(r.parent&&r.parent.data==="nested")&&t.push(r)}),t},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,r){var n=this;if(t?function(){for(var a=n.getTweens(),l=n.data.length,u;l--;)u=n.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return a.splice(a.indexOf(c),1)}));for(a.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,p){return p.g-c.g||-1/0}).forEach(function(c){return c.t.revert(t)}),l=n.data.length;l--;)u=n.data[l],u instanceof Mt?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Ue)&&u.revert&&u.revert(t);n._r.forEach(function(c){return c(t,n)}),n.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var s=Zi.length;s--;)Zi[s].id===this.id&&Zi.splice(s,1)},e.revert=function(t){this.kill(t||{})},o}(),fu=function(){function o(i){this.contexts=[],this.scope=i,Ae&&Ae.data.push(this)}var e=o.prototype;return e.add=function(t,r,n){_i(t)||(t={matches:t});var s=new Ra(0,n||this.scope),a=s.conditions={},l,u,c;Ae&&!s.selector&&(s.selector=Ae.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=t;for(u in t)u==="all"?c=1:(l=ci.matchMedia(t[u]),l&&(Zi.indexOf(s)<0&&Zi.push(s),(a[u]=l.matches)&&(c=1),l.addListener?l.addListener(ys):l.addEventListener("change",ys)));return c&&r(s,function(p){return s.add(null,p)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(r){return r.kill(t,!0)})},o}(),Nn={registerPlugin:function(){for(var e=arguments.length,i=new Array(e),t=0;t1){var r=e.map(function(c){return Lt.quickSetter(c,i,t)}),n=r.length;return function(c){for(var p=n;p--;)r[p](c)}}e=e[0]||{};var s=Nt[i],a=ji(e),l=a.harness&&(a.harness.aliases||{})[i]||i,u=s?function(c){var p=new s;dr._pt=0,p.init(e,t?c+t:c,dr,0,[e]),p.render(1,p),dr._pt&&$s(1,dr)}:a.set(e,l);return s?u:function(c){return u(e,l,t?c+t:c,a,1)}},quickTo:function(e,i,t){var r,n=Lt.to(e,Ut((r={},r[i]="+=0.1",r.paused=!0,r.stagger=0,r),t||{})),s=function(l,u,c){return n.resetTo(i,l,u,c)};return s.tween=n,s},isTweening:function(e){return Ie.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Qi(e.ease,Zr.ease)),uo(Zr,e||{})},config:function(e){return uo(Vt,e||{})},registerEffect:function(e){var i=e.name,t=e.effect,r=e.plugins,n=e.defaults,s=e.extendTimeline;(r||"").split(",").forEach(function(a){return a&&!Nt[a]&&!qt[a]&&Jr(i+" effect requires "+a+" plugin.")}),Qn[i]=function(a,l,u){return t(Jt(a),Ut(l||{},n),u)},s&&(Mt.prototype[i]=function(a,l,u){return this.add(Qn[i](a,_i(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,i){ye[e]=Qi(i)},parseEase:function(e,i){return arguments.length?Qi(e,i):ye},getById:function(e){return Ie.getById(e)},exportRoot:function(e,i){e===void 0&&(e={});var t=new Mt(e),r,n;for(t.smoothChildTiming=Ot(e.smoothChildTiming),Ie.remove(t),t._dp=0,t._time=t._tTime=Ie._time,r=Ie._first;r;)n=r._next,(i||!(!r._dur&&r instanceof Ue&&r.vars.onComplete===r._targets[0]))&&hi(t,r,r._start-r._delay),r=n;return hi(Ie,t,0),t},context:function(e,i){return e?new Ra(e,i):Ae},matchMedia:function(e){return new fu(e)},matchMediaRefresh:function(){return Zi.forEach(function(e){var i=e.conditions,t,r;for(r in i)i[r]&&(i[r]=!1,t=1);t&&e.revert()})||ys()},addEventListener:function(e,i){var t=kn[e]||(kn[e]=[]);~t.indexOf(i)||t.push(i)},removeEventListener:function(e,i){var t=kn[e],r=t&&t.indexOf(i);r>=0&&t.splice(r,1)},utils:{wrap:Yl,wrapYoyo:Xl,distribute:ha,random:pa,snap:da,normalize:Wl,getUnit:mt,clamp:Il,splitColor:ya,toArray:Jt,selector:_s,mapRange:_a,pipe:Hl,unitize:Bl,interpolate:Vl,shuffle:fa},install:Jo,effects:Qn,ticker:Bt,updateRoot:Mt.updateRoot,plugins:Nt,globalTimeline:Ie,core:{PropTween:At,globals:ea,Tween:Ue,Timeline:Mt,Animation:nn,getCache:ji,_removeLinkedListItem:qn,reverting:function(){return ct},context:function(e){return e&&Ae&&(Ae.data.push(e),e._ctx=Ae),Ae},suppressOverwrites:function(e){return Ls=e}}};Rt("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Nn[o]=Ue[o]});Bt.add(Mt.updateRoot);dr=Nn.to({},{duration:0});var hu=function(e,i){for(var t=e._pt;t&&t.p!==i&&t.op!==i&&t.fp!==i;)t=t._next;return t},du=function(e,i){var t=e._targets,r,n,s;for(r in i)for(n=t.length;n--;)s=e._ptLookup[n][r],s&&(s=s.d)&&(s._pt&&(s=hu(s,r)),s&&s.modifier&&s.modifier(i[r],e,t[n],r))},is=function(e,i){return{name:e,headless:1,rawVars:1,init:function(r,n,s){s._onInit=function(a){var l,u;if(it(n)&&(l={},Rt(n,function(c){return l[c]=1}),n=l),i){l={};for(u in n)l[u]=i(n[u]);n=l}du(a,n)}}}},Lt=Nn.registerPlugin({name:"attr",init:function(e,i,t,r,n){var s,a,l;this.tween=t;for(s in i)l=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(l||0)+"",i[s],r,n,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(e,i){for(var t=i._pt;t;)ct?t.set(t.t,t.p,t.b,t):t.r(e,t.d),t=t._next}},{name:"endArray",headless:1,init:function(e,i){for(var t=i.length;t--;)this.add(e,t,e[t]||0,i[t],0,0,0,0,0,1)}},is("roundProps",ms),is("modifiers"),is("snap",da))||Nn;Ue.version=Mt.version=Lt.version="3.15.0";Zo=1;Fs()&&Cr();ye.Power0;ye.Power1;ye.Power2;ye.Power3;ye.Power4;ye.Linear;ye.Quad;ye.Cubic;ye.Quart;ye.Quint;ye.Strong;ye.Elastic;ye.Back;ye.SteppedEase;ye.Bounce;ye.Sine;ye.Expo;ye.Circ;/*! * CSSPlugin 3.15.0 * https://gsap.com * * Copyright 2008-2026, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var _o,Mi,_r,Gs,$i,mo,js,pu=function(){return typeof window<"u"},Si={},Vi=180/Math.PI,mr=Math.PI/180,or=Math.atan2,vo=1e8,Ks=/([A-Z])/g,gu=/(left|right|width|margin|padding|x)/i,_u=/[\s,\(]\S/,di={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},xs=function(e,i){return i.set(i.t,i.p,Math.round((i.s+i.c*e)*1e4)/1e4+i.u,i)},mu=function(e,i){return i.set(i.t,i.p,e===1?i.e:Math.round((i.s+i.c*e)*1e4)/1e4+i.u,i)},vu=function(e,i){return i.set(i.t,i.p,e?Math.round((i.s+i.c*e)*1e4)/1e4+i.u:i.b,i)},yu=function(e,i){return i.set(i.t,i.p,e===1?i.e:e?Math.round((i.s+i.c*e)*1e4)/1e4+i.u:i.b,i)},xu=function(e,i){var t=i.s+i.c*e;i.set(i.t,i.p,~~(t+(t<0?-.5:.5))+i.u,i)},Aa=function(e,i){return i.set(i.t,i.p,e?i.e:i.b,i)},Da=function(e,i){return i.set(i.t,i.p,e!==1?i.b:i.e,i)},bu=function(e,i,t){return e.style[i]=t},wu=function(e,i,t){return e.style.setProperty(i,t)},Su=function(e,i,t){return e._gsap[i]=t},Tu=function(e,i,t){return e._gsap.scaleX=e._gsap.scaleY=t},Cu=function(e,i,t,r,n){var s=e._gsap;s.scaleX=s.scaleY=t,s.renderTransform(n,s)},Eu=function(e,i,t,r,n){var s=e._gsap;s[i]=t,s.renderTransform(n,s)},Ne="transform",Dt=Ne+"Origin",ku=function o(e,i){var t=this,r=this.target,n=r.style,s=r._gsap;if(e in Si&&n){if(this.tfm=this.tfm||{},e!=="transform")e=di[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return t.tfm[a]=vi(r,a)}):this.tfm[e]=s.x?s[e]:vi(r,e),e===Dt&&(this.tfm.zOrigin=s.zOrigin);else return di.transform.split(",").forEach(function(a){return o.call(t,a,i)});if(this.props.indexOf(Ne)>=0)return;s.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(Dt,i,"")),e=Ne}(n||i)&&this.props.push(e,i,n[e])},La=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Pu=function(){var e=this.props,i=this.target,t=i.style,r=i._gsap,n,s;for(n=0;n=0?yo[s]:"")+e},ws=function(){pu()&&window.document&&(_o=window,Mi=_o.document,_r=Mi.documentElement,$i=bs("div")||{style:{}},bs("div"),Ne=Er(Ne),Dt=Ne+"Origin",$i.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Fa=!!Er("perspective"),js=Lt.core.reverting,Gs=1)},xo=function(e){var i=e.ownerSVGElement,t=bs("svg",i&&i.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=e.cloneNode(!0),n;r.style.display="block",t.appendChild(r),_r.appendChild(t);try{n=r.getBBox()}catch{}return t.removeChild(r),_r.removeChild(t),n},bo=function(e,i){for(var t=i.length;t--;)if(e.hasAttribute(i[t]))return e.getAttribute(i[t])},Ia=function(e){var i,t;try{i=e.getBBox()}catch{i=xo(e),t=1}return i&&(i.width||i.height)||t||(i=xo(e)),i&&!i.width&&!i.x&&!i.y?{x:+bo(e,["x","cx","x1"])||0,y:+bo(e,["y","cy","y1"])||0,width:0,height:0}:i},Na=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ia(e))},Ii=function(e,i){if(i){var t=e.style,r;i in Si&&i!==Dt&&(i=Ne),t.removeProperty?(r=i.substr(0,2),(r==="ms"||i.substr(0,6)==="webkit")&&(i="-"+i),t.removeProperty(r==="--"?i:i.replace(Ks,"-$1").toLowerCase())):t.removeAttribute(i)}},Oi=function(e,i,t,r,n,s){var a=new At(e._pt,i,t,0,1,s?Da:Aa);return e._pt=a,a.b=r,a.e=n,e._props.push(t),a},wo={deg:1,rad:1,turn:1},Mu={grid:1,flex:1},Ni=function o(e,i,t,r){var n=parseFloat(t)||0,s=(t+"").trim().substr((n+"").length)||"px",a=$i.style,l=gu.test(i),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),p=100,h=r==="px",f=r==="%",g,d,v,w;if(r===s||!n||wo[r]||wo[s])return n;if(s!=="px"&&!h&&(n=o(e,i,t,"px")),w=e.getCTM&&Na(e),(f||s==="%")&&(Si[i]||~i.indexOf("adius")))return g=w?e.getBBox()[l?"width":"height"]:e[c],Xe(f?n/g*p:n/100*g);if(a[l?"width":"height"]=p+(h?s:r),d=r!=="rem"&&~i.indexOf("adius")||r==="em"&&e.appendChild&&!u?e:e.parentNode,w&&(d=(e.ownerSVGElement||{}).parentNode),(!d||d===Mi||!d.appendChild)&&(d=Mi.body),v=d._gsap,v&&f&&v.width&&l&&v.time===Bt.time&&!v.uncache)return Xe(n/v.width*p);if(f&&(i==="height"||i==="width")){var x=e.style[i];e.style[i]=p+r,g=e[c],x?e.style[i]=x:Ii(e,i)}else(f||s==="%")&&!Mu[Xt(d,"display")]&&(a.position=Xt(e,"position")),d===e&&(a.position="static"),d.appendChild($i),g=$i[c],d.removeChild($i),a.position="absolute";return l&&f&&(v=ji(d),v.time=Bt.time,v.width=d[c]),Xe(h?g*n/p:g&&n?p/g*n:0)},vi=function(e,i,t,r){var n;return Gs||ws(),i in di&&i!=="transform"&&(i=di[i],~i.indexOf(",")&&(i=i.split(",")[0])),Si[i]&&i!=="transform"?(n=on(e,r),n=i!=="transformOrigin"?n[i]:n.svg?n.origin:Bn(Xt(e,Dt))+" "+n.zOrigin+"px"):(n=e.style[i],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=Hn[i]&&Hn[i](e,i,t)||Xt(e,i)||ia(e,i)||(i==="opacity"?1:0))),t&&!~(n+"").trim().indexOf(" ")?Ni(e,i,n,t)+t:n},Ou=function(e,i,t,r){if(!t||t==="none"){var n=Er(i,e,1),s=n&&Xt(e,n,1);s&&s!==t?(i=n,t=s):i==="borderColor"&&(t=Xt(e,"borderTopColor"))}var a=new At(this._pt,e.style,i,0,1,Ma),l=0,u=0,c,p,h,f,g,d,v,w,x,b,S,P;if(a.b=t,a.e=r,t+="",r+="",r.substring(0,6)==="var(--"&&(r=Xt(e,r.substring(4,r.indexOf(")")))),r==="auto"&&(d=e.style[i],e.style[i]=r,r=Xt(e,i)||r,d?e.style[i]=d:Ii(e,i)),c=[t,r],ba(c),t=c[0],r=c[1],h=t.match(hr)||[],P=r.match(hr)||[],P.length){for(;p=hr.exec(r);)v=p[0],x=r.substring(l,p.index),g?g=(g+1)%5:(x.substr(-5)==="rgba("||x.substr(-5)==="hsla(")&&(g=1),v!==(d=h[u++]||"")&&(f=parseFloat(d)||0,S=d.substr((f+"").length),v.charAt(1)==="="&&(v=gr(f,v)+S),w=parseFloat(v),b=v.substr((w+"").length),l=hr.lastIndex-b.length,b||(b=b||Vt.units[i]||S,l===r.length&&(r+=b,a.e+=b)),S!==b&&(f=Ni(e,i,d,b)||0),a._pt={_next:a._pt,p:x||u===1?x:",",s:f,c:w-f,m:g&&g<4||i==="zIndex"?Math.round:0});a.c=l-1;)a=n[u],Si[a]&&(l=1,a=a==="transformOrigin"?Dt:Ne),Ii(t,a);l&&(Ii(t,Ne),s&&(s.svg&&t.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",on(t,1),s.uncache=1,La(r)))}},Hn={clearProps:function(e,i,t,r,n){if(n.data!=="isFromStart"){var s=e._pt=new At(e._pt,i,t,0,0,Au);return s.u=r,s.pr=-10,s.tween=n,e._props.push(t),1}}},sn=[1,0,0,1,0,0],Ha={},Ba=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},To=function(e){var i=Xt(e,Ne);return Ba(i)?sn:i.substr(7).match(Ko).map(Xe)},Qs=function(e,i){var t=e._gsap||ji(e),r=e.style,n=To(e),s,a,l,u;return t.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?sn:n):(n===sn&&!e.offsetParent&&e!==_r&&!t.svg&&(l=r.display,r.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,a=e.nextElementSibling,_r.appendChild(e)),n=To(e),l?r.display=l:Ii(e,"display"),u&&(a?s.insertBefore(e,a):s?s.appendChild(e):_r.removeChild(e))),i&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Ss=function(e,i,t,r,n,s){var a=e._gsap,l=n||Qs(e,!0),u=a.xOrigin||0,c=a.yOrigin||0,p=a.xOffset||0,h=a.yOffset||0,f=l[0],g=l[1],d=l[2],v=l[3],w=l[4],x=l[5],b=i.split(" "),S=parseFloat(b[0])||0,P=parseFloat(b[1])||0,A,T,N,D;t?l!==sn&&(T=f*v-g*d)&&(N=S*(v/T)+P*(-d/T)+(d*x-v*w)/T,D=S*(-g/T)+P*(f/T)-(f*x-g*w)/T,S=N,P=D):(A=Ia(e),S=A.x+(~b[0].indexOf("%")?S/100*A.width:S),P=A.y+(~(b[1]||b[0]).indexOf("%")?P/100*A.height:P)),r||r!==!1&&a.smooth?(w=S-u,x=P-c,a.xOffset=p+(w*f+x*d)-w,a.yOffset=h+(w*g+x*v)-x):a.xOffset=a.yOffset=0,a.xOrigin=S,a.yOrigin=P,a.smooth=!!r,a.origin=i,a.originIsAbsolute=!!t,e.style[Dt]="0px 0px",s&&(Oi(s,a,"xOrigin",u,S),Oi(s,a,"yOrigin",c,P),Oi(s,a,"xOffset",p,a.xOffset),Oi(s,a,"yOffset",h,a.yOffset)),e.setAttribute("data-svg-origin",S+" "+P)},on=function(e,i){var t=e._gsap||new Sa(e);if("x"in t&&!i&&!t.uncache)return t;var r=e.style,n=t.scaleX<0,s="px",a="deg",l=getComputedStyle(e),u=Xt(e,Dt)||"0",c,p,h,f,g,d,v,w,x,b,S,P,A,T,N,D,L,se,Y,ue,ee,he,le,Q,J,xe,y,Ce,rt,xt,Me,$e;return c=p=h=d=v=w=x=b=S=0,f=g=1,t.svg=!!(e.getCTM&&Na(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(r[Ne]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[Ne]!=="none"?l[Ne]:"")),r.scale=r.rotate=r.translate="none"),T=Qs(e,t.svg),t.svg&&(t.uncache?(J=e.getBBox(),u=t.xOrigin-J.x+"px "+(t.yOrigin-J.y)+"px",Q=""):Q=!i&&e.getAttribute("data-svg-origin"),Ss(e,Q||u,!!Q||t.originIsAbsolute,t.smooth!==!1,T)),P=t.xOrigin||0,A=t.yOrigin||0,T!==sn&&(se=T[0],Y=T[1],ue=T[2],ee=T[3],c=he=T[4],p=le=T[5],T.length===6?(f=Math.sqrt(se*se+Y*Y),g=Math.sqrt(ee*ee+ue*ue),d=se||Y?or(Y,se)*Vi:0,x=ue||ee?or(ue,ee)*Vi+d:0,x&&(g*=Math.abs(Math.cos(x*mr))),t.svg&&(c-=P-(P*se+A*ue),p-=A-(P*Y+A*ee))):($e=T[6],xt=T[7],y=T[8],Ce=T[9],rt=T[10],Me=T[11],c=T[12],p=T[13],h=T[14],N=or($e,rt),v=N*Vi,N&&(D=Math.cos(-N),L=Math.sin(-N),Q=he*D+y*L,J=le*D+Ce*L,xe=$e*D+rt*L,y=he*-L+y*D,Ce=le*-L+Ce*D,rt=$e*-L+rt*D,Me=xt*-L+Me*D,he=Q,le=J,$e=xe),N=or(-ue,rt),w=N*Vi,N&&(D=Math.cos(-N),L=Math.sin(-N),Q=se*D-y*L,J=Y*D-Ce*L,xe=ue*D-rt*L,Me=ee*L+Me*D,se=Q,Y=J,ue=xe),N=or(Y,se),d=N*Vi,N&&(D=Math.cos(N),L=Math.sin(N),Q=se*D+Y*L,J=he*D+le*L,Y=Y*D-se*L,le=le*D-he*L,se=Q,he=J),v&&Math.abs(v)+Math.abs(d)>359.9&&(v=d=0,w=180-w),f=Xe(Math.sqrt(se*se+Y*Y+ue*ue)),g=Xe(Math.sqrt(le*le+$e*$e)),N=or(he,le),x=Math.abs(N)>2e-4?N*Vi:0,S=Me?1/(Me<0?-Me:Me):0),t.svg&&(Q=e.getAttribute("transform"),t.forceCSS=e.setAttribute("transform","")||!Ba(Xt(e,Ne)),Q&&e.setAttribute("transform",Q))),Math.abs(x)>90&&Math.abs(x)<270&&(n?(f*=-1,x+=d<=0?180:-180,d+=d<=0?180:-180):(g*=-1,x+=x<=0?180:-180)),i=i||t.uncache,t.x=c-((t.xPercent=c&&(!i&&t.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*t.xPercent/100:0)+s,t.y=p-((t.yPercent=p&&(!i&&t.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-p)?-50:0)))?e.offsetHeight*t.yPercent/100:0)+s,t.z=h+s,t.scaleX=Xe(f),t.scaleY=Xe(g),t.rotation=Xe(d)+a,t.rotationX=Xe(v)+a,t.rotationY=Xe(w)+a,t.skewX=x+a,t.skewY=b+a,t.transformPerspective=S+s,(t.zOrigin=parseFloat(u.split(" ")[2])||!i&&t.zOrigin||0)&&(r[Dt]=Bn(u)),t.xOffset=t.yOffset=0,t.force3D=Vt.force3D,t.renderTransform=t.svg?Lu:Fa?Wa:Du,t.uncache=0,t},Bn=function(e){return(e=e.split(" "))[0]+" "+e[1]},rs=function(e,i,t){var r=mt(i);return Xe(parseFloat(i)+parseFloat(Ni(e,"x",t+"px",r)))+r},Du=function(e,i){i.z="0px",i.rotationY=i.rotationX="0deg",i.force3D=0,Wa(e,i)},Yi="0deg",Or="0px",Xi=") ",Wa=function(e,i){var t=i||this,r=t.xPercent,n=t.yPercent,s=t.x,a=t.y,l=t.z,u=t.rotation,c=t.rotationY,p=t.rotationX,h=t.skewX,f=t.skewY,g=t.scaleX,d=t.scaleY,v=t.transformPerspective,w=t.force3D,x=t.target,b=t.zOrigin,S="",P=w==="auto"&&e&&e!==1||w===!0;if(b&&(p!==Yi||c!==Yi)){var A=parseFloat(c)*mr,T=Math.sin(A),N=Math.cos(A),D;A=parseFloat(p)*mr,D=Math.cos(A),s=rs(x,s,T*D*-b),a=rs(x,a,-Math.sin(A)*-b),l=rs(x,l,N*D*-b+b)}v!==Or&&(S+="perspective("+v+Xi),(r||n)&&(S+="translate("+r+"%, "+n+"%) "),(P||s!==Or||a!==Or||l!==Or)&&(S+=l!==Or||P?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+Xi),u!==Yi&&(S+="rotate("+u+Xi),c!==Yi&&(S+="rotateY("+c+Xi),p!==Yi&&(S+="rotateX("+p+Xi),(h!==Yi||f!==Yi)&&(S+="skew("+h+", "+f+Xi),(g!==1||d!==1)&&(S+="scale("+g+", "+d+Xi),x.style[Ne]=S||"translate(0, 0)"},Lu=function(e,i){var t=i||this,r=t.xPercent,n=t.yPercent,s=t.x,a=t.y,l=t.rotation,u=t.skewX,c=t.skewY,p=t.scaleX,h=t.scaleY,f=t.target,g=t.xOrigin,d=t.yOrigin,v=t.xOffset,w=t.yOffset,x=t.forceCSS,b=parseFloat(s),S=parseFloat(a),P,A,T,N,D;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=mr,u*=mr,P=Math.cos(l)*p,A=Math.sin(l)*p,T=Math.sin(l-u)*-h,N=Math.cos(l-u)*h,u&&(c*=mr,D=Math.tan(u-c),D=Math.sqrt(1+D*D),T*=D,N*=D,c&&(D=Math.tan(c),D=Math.sqrt(1+D*D),P*=D,A*=D)),P=Xe(P),A=Xe(A),T=Xe(T),N=Xe(N)):(P=p,N=h,A=T=0),(b&&!~(s+"").indexOf("px")||S&&!~(a+"").indexOf("px"))&&(b=Ni(f,"x",s,"px"),S=Ni(f,"y",a,"px")),(g||d||v||w)&&(b=Xe(b+g-(g*P+d*T)+v),S=Xe(S+d-(g*A+d*N)+w)),(r||n)&&(D=f.getBBox(),b=Xe(b+r/100*D.width),S=Xe(S+n/100*D.height)),D="matrix("+P+","+A+","+T+","+N+","+b+","+S+")",f.setAttribute("transform",D),x&&(f.style[Ne]=D)},zu=function(e,i,t,r,n){var s=360,a=it(n),l=parseFloat(n)*(a&&~n.indexOf("rad")?Vi:1),u=l-r,c=r+u+"deg",p,h;return a&&(p=n.split("_")[1],p==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),p==="cw"&&u<0?u=(u+s*vo)%s-~~(u/s)*s:p==="ccw"&&u>0&&(u=(u-s*vo)%s-~~(u/s)*s)),e._pt=h=new At(e._pt,i,t,r,u,mu),h.e=c,h.u="deg",e._props.push(t),h},Co=function(e,i){for(var t in i)e[t]=i[t];return e},Fu=function(e,i,t){var r=Co({},t._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=t.style,a,l,u,c,p,h,f,g;r.svg?(u=t.getAttribute("transform"),t.setAttribute("transform",""),s[Ne]=i,a=on(t,1),Ii(t,Ne),t.setAttribute("transform",u)):(u=getComputedStyle(t)[Ne],s[Ne]=i,a=on(t,1),s[Ne]=u);for(l in Si)u=r[l],c=a[l],u!==c&&n.indexOf(l)<0&&(f=mt(u),g=mt(c),p=f!==g?Ni(t,l,u,g):parseFloat(u),h=parseFloat(c),e._pt=new At(e._pt,a,l,p,h-p,xs),e._pt.u=g||0,e._props.push(l));Co(a,r)};Rt("padding,margin,Width,Radius",function(o,e){var i="Top",t="Right",r="Bottom",n="Left",s=(e<3?[i,t,r,n]:[i+n,i+t,r+t,r+n]).map(function(a){return e<2?o+a:"border"+a+o});Hn[e>1?"border"+o:o]=function(a,l,u,c,p){var h,f;if(arguments.length<4)return h=s.map(function(g){return vi(a,g,u)}),f=h.join(" "),f.split(h[0]).length===5?h[0]:f;h=(c+"").split(" "),f={},s.forEach(function(g,d){return f[g]=h[d]=h[d]||h[(d-1)/2|0]}),a.init(l,f,p)}});var Ya={name:"css",register:ws,targetTest:function(e){return e.style&&e.nodeType},init:function(e,i,t,r,n){var s=this._props,a=e.style,l=t.vars.startAt,u,c,p,h,f,g,d,v,w,x,b,S,P,A,T,N,D;Gs||ws(),this.styles=this.styles||za(e),N=this.styles.props,this.tween=t;for(d in i)if(d!=="autoRound"&&(c=i[d],!(Nt[d]&&Ta(d,i,t,r,e,n)))){if(f=typeof c,g=Hn[d],f==="function"&&(c=c.call(t,r,e,n),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=tn(c)),g)g(this,e,d,c,t)&&(T=1);else if(d.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(d)+"").trim(),c+="",Li.lastIndex=0,Li.test(u)||(v=mt(u),w=mt(c),w?v!==w&&(u=Ni(e,d,u,w)+w):v&&(c+=v)),this.add(a,"setProperty",u,c,r,n,0,0,d),s.push(d),N.push(d,0,a[d]);else if(f!=="undefined"){if(l&&d in l?(u=typeof l[d]=="function"?l[d].call(t,r,e,n):l[d],it(u)&&~u.indexOf("random(")&&(u=tn(u)),mt(u+"")||u==="auto"||(u+=Vt.units[d]||mt(vi(e,d))||""),(u+"").charAt(1)==="="&&(u=vi(e,d))):u=vi(e,d),h=parseFloat(u),x=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),x&&(c=c.substr(2)),p=parseFloat(c),d in di&&(d==="autoAlpha"&&(h===1&&vi(e,"visibility")==="hidden"&&p&&(h=0),N.push("visibility",0,a.visibility),Oi(this,a,"visibility",h?"inherit":"hidden",p?"inherit":"hidden",!p)),d!=="scale"&&d!=="transform"&&(d=di[d],~d.indexOf(",")&&(d=d.split(",")[0]))),b=d in Si,b){if(this.styles.save(d),D=c,f==="string"&&c.substring(0,6)==="var(--"){if(c=Xt(e,c.substring(4,c.indexOf(")"))),c.substring(0,5)==="calc("){var L=e.style.perspective;e.style.perspective=c,c=Xt(e,"perspective"),L?e.style.perspective=L:Ii(e,"perspective")}p=parseFloat(c)}if(S||(P=e._gsap,P.renderTransform&&!i.parseTransform||on(e,i.parseTransform),A=i.smoothOrigin!==!1&&P.smooth,S=this._pt=new At(this._pt,a,Ne,0,1,P.renderTransform,P,0,-1),S.dep=1),d==="scale")this._pt=new At(this._pt,P,"scaleY",P.scaleY,(x?gr(P.scaleY,x+p):p)-P.scaleY||0,xs),this._pt.u=0,s.push("scaleY",d),d+="X";else if(d==="transformOrigin"){N.push(Dt,0,a[Dt]),c=Ru(c),P.svg?Ss(e,c,0,A,0,this):(w=parseFloat(c.split(" ")[2])||0,w!==P.zOrigin&&Oi(this,P,"zOrigin",P.zOrigin,w),Oi(this,a,d,Bn(u),Bn(c)));continue}else if(d==="svgOrigin"){Ss(e,c,1,A,0,this);continue}else if(d in Ha){zu(this,P,d,h,x?gr(h,x+c):c);continue}else if(d==="smoothOrigin"){Oi(this,P,"smooth",P.smooth,c);continue}else if(d==="force3D"){P[d]=c;continue}else if(d==="transform"){Fu(this,c,e);continue}}else d in a||(d=Er(d)||d);if(b||(p||p===0)&&(h||h===0)&&!_u.test(c)&&d in a)v=(u+"").substr((h+"").length),p||(p=0),w=mt(c)||(d in Vt.units?Vt.units[d]:v),v!==w&&(h=Ni(e,d,u,w)),this._pt=new At(this._pt,b?P:a,d,h,(x?gr(h,x+p):p)-h,!b&&(w==="px"||d==="zIndex")&&i.autoRound!==!1?xu:xs),this._pt.u=w||0,b&&D!==c?(this._pt.b=u,this._pt.e=D,this._pt.r=yu):v!==w&&w!=="%"&&(this._pt.b=u,this._pt.r=vu);else if(d in a)Ou.call(this,e,d,u,x?x+c:c);else if(d in e)this.add(e,d,u||e[d],x?x+c:c,r,n);else if(d!=="parseTransform"){Ns(d,c);continue}b||(d in a?N.push(d,0,a[d]):typeof e[d]=="function"?N.push(d,2,e[d]()):N.push(d,1,u||e[d])),s.push(d)}}T&&Oa(this)},render:function(e,i){if(i.tween._time||!js())for(var t=i._pt;t;)t.r(e,t.d),t=t._next;else i.styles.revert()},get:vi,aliases:di,getSetter:function(e,i,t){var r=di[i];return r&&r.indexOf(",")<0&&(i=r),i in Si&&i!==Dt&&(e._gsap.x||vi(e,"x"))?t&&mo===t?i==="scale"?Tu:Su:(mo=t||{})&&(i==="scale"?Cu:Eu):e.style&&!zs(e.style[i])?bu:~i.indexOf("-")?wu:Us(e,i)},core:{_removeProperty:Ii,_getMatrix:Qs}};Lt.utils.checkPrefix=Er;Lt.core.getStyleSaver=za;(function(o,e,i,t){var r=Rt(o+","+e+","+i,function(n){Si[n]=1});Rt(e,function(n){Vt.units[n]="deg",Ha[n]=1}),di[r[13]]=o+","+e,Rt(t,function(n){var s=n.split(":");di[s[1]]=r[s[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");Rt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){Vt.units[o]="px"});Lt.registerPlugin(Ya);var ki=Lt.registerPlugin(Ya)||Lt;ki.core.Tween;function Iu(o,e){for(var i=0;il?(n=r,r=g,a=s,s=v):t?r+=g:r=n+(g-n)/(v-a)*(s-a)},p=function(){n=r=t?0:r,a=s=0},h=function(g){var d=a,v=n,w=Xr();return(g||g===0)&&g!==r&&c(g),s===a||w-a>u?0:(r+(t?v:-v))/((t?w:s)-d)*1e3};return{update:c,reset:p,getVelocity:h}},Rr=function(e,i){return i&&!e._gsapAllow&&e.cancelable!==!1&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Eo=function(e){var i=Math.max.apply(Math,e),t=Math.min.apply(Math,e);return Math.abs(i)>=Math.abs(t)?i:t},Ga=function(){yr=ut.core.globals().ScrollTrigger,yr&&yr.core&&Hu()},ja=function(e){return ut=e||Ua(),!Pn&&ut&&typeof document<"u"&&document.body&&(Wt=window,Ri=document,Ai=Ri.documentElement,vr=Ri.body,Va=[Wt,Ri,Ai,vr],ut.utils.clamp,qa=ut.core.context||function(){},qi="onpointerenter"in vr?"pointer":"mouse",Xa=Ve.isTouch=Wt.matchMedia&&Wt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Wt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,ri=Ve.eventTypes=("ontouchstart"in Ai?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Ai?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return $a=0},500),Pn=1),yr||Ga(),Pn};kt.op=Ke;me.cache=0;var Ve=function(){function o(i){this.init(i)}var e=o.prototype;return e.init=function(t){Pn||ja(ut)||console.warn("Please gsap.registerPlugin(Observer)"),yr||Ga();var r=t.tolerance,n=t.dragMinimum,s=t.type,a=t.target,l=t.lineHeight,u=t.debounce,c=t.preventDefault,p=t.onStop,h=t.onStopDelay,f=t.ignore,g=t.wheelSpeed,d=t.event,v=t.onDragStart,w=t.onDragEnd,x=t.onDrag,b=t.onPress,S=t.onRelease,P=t.onRight,A=t.onLeft,T=t.onUp,N=t.onDown,D=t.onChangeX,L=t.onChangeY,se=t.onChange,Y=t.onToggleX,ue=t.onToggleY,ee=t.onHover,he=t.onHoverEnd,le=t.onMove,Q=t.ignoreCheck,J=t.isNormalizer,xe=t.onGestureStart,y=t.onGestureEnd,Ce=t.onWheel,rt=t.onEnable,xt=t.onDisable,Me=t.onClick,$e=t.scrollSpeed,Qe=t.capture,De=t.allowClicks,nt=t.lockAxis,Ze=t.onLockAxis;this.target=a=Pt(a)||Ai,this.vars=t,f&&(f=ut.utils.toArray(f)),r=r||1e-9,n=n||0,g=g||1,$e=$e||1,s=s||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(Wt.getComputedStyle(vr).lineHeight)||22);var ni,st,Je,ve,Le,ft,ot,E=this,bt=0,$t=0,si=t.passive||!c&&t.passive!==!1,Oe=Hi(a,kt),ti=Hi(a,Ke),Gt=Oe(),oi=ti(),_=~s.indexOf("touch")&&!~s.indexOf("pointer")&&ri[0]==="pointerdown",m=Vr(a),k=a.ownerDocument||Ri,C=[0,0,0],O=[0,0,0],I=0,z=function(){return I=Xr()},M=function(W,ce){return(E.event=W)&&f&&Bu(W.target,f)||ce&&_&&W.pointerType!=="touch"||Q&&Q(W,ce)},F=function(){E._vx.reset(),E._vy.reset(),st.pause(),p&&p(E)},U=function(){var W=E.deltaX=Eo(C),ce=E.deltaY=Eo(O),H=Math.abs(W)>=r,re=Math.abs(ce)>=r;se&&(H||re)&&se(E,W,ce,C,O),H&&(P&&E.deltaX>0&&P(E),A&&E.deltaX<0&&A(E),D&&D(E),Y&&E.deltaX<0!=bt<0&&Y(E),bt=E.deltaX,C[0]=C[1]=C[2]=0),re&&(N&&E.deltaY>0&&N(E),T&&E.deltaY<0&&T(E),L&&L(E),ue&&E.deltaY<0!=$t<0&&ue(E),$t=E.deltaY,O[0]=O[1]=O[2]=0),(ve||Je)&&(le&&le(E),Je&&(v&&Je===1&&v(E),x&&x(E),Je=0),ve=!1),ft&&!(ft=!1)&&Ze&&Ze(E),Le&&(Ce(E),Le=!1),ni=0},R=function(W,ce,H){C[H]+=W,O[H]+=ce,E._vx.update(W),E._vy.update(ce),u?ni||(ni=requestAnimationFrame(U)):U()},X=function(W,ce){nt&&!ot&&(E.axis=ot=Math.abs(W)>Math.abs(ce)?"x":"y",ft=!0),ot!=="y"&&(C[2]+=W,E._vx.update(W,!0)),ot!=="x"&&(O[2]+=ce,E._vy.update(ce,!0)),u?ni||(ni=requestAnimationFrame(U)):U()},V=function(W){if(!M(W,1)){W=Rr(W,c);var ce=W.clientX,H=W.clientY,re=ce-E.x,j=H-E.y,ne=E.isDragging;E.x=ce,E.y=H,(ne||(re||j)&&(Math.abs(E.startX-ce)>=n||Math.abs(E.startY-H)>=n))&&(Je||(Je=ne?2:1),ne||(E.isDragging=!0),X(re,j))}},Z=E.onPress=function(K){M(K,1)||K&&K.button||(E.axis=ot=null,st.pause(),E.isPressed=!0,K=Rr(K),bt=$t=0,E.startX=E.x=K.clientX,E.startY=E.y=K.clientY,E._vx.reset(),E._vy.reset(),St(J?a:k,ri[1],V,si,!0),E.deltaX=E.deltaY=0,b&&b(E))},B=E.onRelease=function(K){if(!M(K,1)){wt(J?a:k,ri[1],V,!0);var W=!isNaN(E.y-E.startY),ce=E.isDragging,H=ce&&(Math.abs(E.x-E.startX)>3||Math.abs(E.y-E.startY)>3),re=Rr(K);!H&&W&&(E._vx.reset(),E._vy.reset(),c&&De&&ut.delayedCall(.08,function(){if(Xr()-I>300&&!K.defaultPrevented){if(K.target.click)K.target.click();else if(k.createEvent){var j=k.createEvent("MouseEvents");j.initMouseEvent("click",!0,!0,Wt,1,re.screenX,re.screenY,re.clientX,re.clientY,!1,!1,!1,!1,0,null),K.target.dispatchEvent(j)}}})),E.isDragging=E.isGesturing=E.isPressed=!1,p&&ce&&!J&&st.restart(!0),Je&&U(),w&&ce&&w(E),S&&S(E,H)}},oe=function(W){return W.touches&&W.touches.length>1&&(E.isGesturing=!0)&&xe(W,E.isDragging)},te=function(){return(E.isGesturing=!1)||y(E)},q=function(W){if(!M(W)){var ce=Oe(),H=ti();R((ce-Gt)*$e,(H-oi)*$e,1),Gt=ce,oi=H,p&&st.restart(!0)}},ie=function(W){if(!M(W)){W=Rr(W,c),Ce&&(Le=!0);var ce=(W.deltaMode===1?l:W.deltaMode===2?Wt.innerHeight:1)*g;R(W.deltaX*ce,W.deltaY*ce,0),p&&!J&&st.restart(!0)}},be=function(W){if(!M(W)){var ce=W.clientX,H=W.clientY,re=ce-E.x,j=H-E.y;E.x=ce,E.y=H,ve=!0,p&&st.restart(!0),(re||j)&&X(re,j)}},ae=function(W){E.event=W,ee(E)},pe=function(W){E.event=W,he(E)},Te=function(W){return M(W)||Rr(W,c)&&Me(E)};st=E._dc=ut.delayedCall(h||.25,F).pause(),E.deltaX=E.deltaY=0,E._vx=Es(0,50,!0),E._vy=Es(0,50,!0),E.scrollX=Oe,E.scrollY=ti,E.isDragging=E.isGesturing=E.isPressed=!1,qa(this),E.enable=function(K){return E.isEnabled||(St(m?k:a,"scroll",Cs),s.indexOf("scroll")>=0&&St(m?k:a,"scroll",q,si,Qe),s.indexOf("wheel")>=0&&St(a,"wheel",ie,si,Qe),(s.indexOf("touch")>=0&&Xa||s.indexOf("pointer")>=0)&&(St(a,ri[0],Z,si,Qe),St(k,ri[2],B),St(k,ri[3],B),De&&St(a,"click",z,!0,!0),Me&&St(a,"click",Te),xe&&St(k,"gesturestart",oe),y&&St(k,"gestureend",te),ee&&St(a,qi+"enter",ae),he&&St(a,qi+"leave",pe),le&&St(a,qi+"move",be)),E.isEnabled=!0,E.isDragging=E.isGesturing=E.isPressed=ve=Je=!1,E._vx.reset(),E._vy.reset(),Gt=Oe(),oi=ti(),K&&K.type&&Z(K),rt&&rt(E)),E},E.disable=function(){E.isEnabled&&(pr.filter(function(K){return K!==E&&Vr(K.target)}).length||wt(m?k:a,"scroll",Cs),E.isPressed&&(E._vx.reset(),E._vy.reset(),wt(J?a:k,ri[1],V,!0)),wt(m?k:a,"scroll",q,Qe),wt(a,"wheel",ie,Qe),wt(a,ri[0],Z,Qe),wt(k,ri[2],B),wt(k,ri[3],B),wt(a,"click",z,!0),wt(a,"click",Te),wt(k,"gesturestart",oe),wt(k,"gestureend",te),wt(a,qi+"enter",ae),wt(a,qi+"leave",pe),wt(a,qi+"move",be),E.isEnabled=E.isPressed=E.isDragging=!1,xt&&xt(E))},E.kill=E.revert=function(){E.disable();var K=pr.indexOf(E);K>=0&&pr.splice(K,1),xi===E&&(xi=0)},pr.push(E),J&&Vr(a)&&(xi=E),E.enable(d)},Nu(o,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),o}();Ve.version="3.15.0";Ve.create=function(o){return new Ve(o)};Ve.register=ja;Ve.getAll=function(){return pr.slice()};Ve.getById=function(o){return pr.filter(function(e){return e.vars.id===o})[0]};Ua()&&ut.registerPlugin(Ve);/*! * ScrollTrigger 3.15.0 * https://gsap.com * * @license Copyright 2008-2026, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var $,cr,_e,Se,Ht,we,Zs,Yn,an,qr,zr,gn,gt,Gn,ks,Ct,ko,Po,fr,Ka,ns,Qa,Tt,Ps,Za,Ja,Ei,Ms,Js,xr,eo,Ur,Os,ss,_n=1,_t=Date.now,os=_t(),ei=0,Fr=0,Mo=function(e,i,t){var r=It(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return t["_"+i+"Clamp"]=r,r?e.substr(6,e.length-7):e},Oo=function(e,i){return i&&(!It(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Wu=function o(){return Fr&&requestAnimationFrame(o)},Ro=function(){return Gn=1},Ao=function(){return Gn=0},fi=function(e){return e},Ir=function(e){return Math.round(e*1e5)/1e5||0},el=function(){return typeof window<"u"},tl=function(){return $||el()&&($=window.gsap)&&$.registerPlugin&&$},ir=function(e){return!!~Zs.indexOf(e)},il=function(e){return(e==="Height"?eo:_e["inner"+e])||Ht["client"+e]||we["client"+e]},rl=function(e){return zi(e,"getBoundingClientRect")||(ir(e)?function(){return Dn.width=_e.innerWidth,Dn.height=eo,Dn}:function(){return yi(e)})},Yu=function(e,i,t){var r=t.d,n=t.d2,s=t.a;return(s=zi(e,"getBoundingClientRect"))?function(){return s()[r]}:function(){return(i?il(n):e["client"+n])||0}},Xu=function(e,i){return!i||~gi.indexOf(e)?rl(e):function(){return Dn}},pi=function(e,i){var t=i.s,r=i.d2,n=i.d,s=i.a;return Math.max(0,(t="scroll"+r)&&(s=zi(e,t))?s()-rl(e)()[n]:ir(e)?(Ht[t]||we[t])-il(r):e[t]-e["offset"+r])},mn=function(e,i){for(var t=0;t0){for(r-=s,a=0;a=r)return t[a];return t[a-1]}else for(a=t.length,r+=s;a--;)if(t[a]<=r)return t[a];return t[0]}:function(r,n,s){s===void 0&&(s=.001);var a=i(r);return!n||Math.abs(a-r)t&&(r*=i/100),e=e.substr(0,t-1)),e=r+(e in Vn?Vn[e]*i:~e.indexOf("%")?parseFloat(e)*i/100:parseFloat(e)||0)}return e},bn=function(e,i,t,r,n,s,a,l){var u=n.startColor,c=n.endColor,p=n.fontSize,h=n.indent,f=n.fontWeight,g=Se.createElement("div"),d=ir(t)||zi(t,"pinType")==="fixed",v=e.indexOf("scroller")!==-1,w=d?we:t.tagName==="IFRAME"?t.contentDocument.body:t,x=e.indexOf("start")!==-1,b=x?u:c,S="border-color:"+b+";font-size:"+p+";color:"+b+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return S+="position:"+((v||l)&&d?"fixed;":"absolute;"),(v||l||!d)&&(S+=(r===Ke?to:io)+":"+(s+parseFloat(h))+"px;"),a&&(S+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),g._isStart=x,g.setAttribute("class","gsap-marker-"+e+(i?" marker-"+i:"")),g.style.cssText=S,g.innerText=i||i===0?e+"-"+i:e,w.children[0]?w.insertBefore(g,w.children[0]):w.appendChild(g),g._offset=g["offset"+r.op.d2],On(g,0,r,x),g},On=function(e,i,t,r){var n={display:"block"},s=t[r?"os2":"p2"],a=t[r?"p2":"os2"];e._isFlipped=r,n[t.a+"Percent"]=r?-100:0,n[t.a]=r?"1px":0,n["border"+s+kr]=1,n["border"+a+kr]=0,n[t.p]=i+"px",$.set(e,n)},de=[],Rs={},ln,zo=function(){return _t()-ei>34&&(ln||(ln=requestAnimationFrame(bi)))},ur=function(){(!Tt||!Tt.isPressed||Tt.startX>we.clientWidth)&&(me.cache++,Tt?ln||(ln=requestAnimationFrame(bi)):bi(),ei||nr("scrollStart"),ei=_t())},as=function(){Ja=_e.innerWidth,Za=_e.innerHeight},Hr=function(e){me.cache++,(e===!0||!gt&&!Qa&&!Se.fullscreenElement&&!Se.webkitFullscreenElement&&(!Ps||Ja!==_e.innerWidth||Math.abs(_e.innerHeight-Za)>_e.innerHeight*.25))&&Yn.restart(!0)},rr={},$u=[],al=function o(){return et(fe,"scrollEnd",o)||Gi(!0)},nr=function(e){return rr[e]&&rr[e].map(function(i){return i()})||$u},Ft=[],ll=function(e){for(var i=0;in,a=r._startClamp&&r.start>=n;(s||a)&&r.setPositions(a?n-1:r.start,s?Math.max(a?n:r.start+1,n):r.end,!0)}),Io(!1),Os=0,t.forEach(function(r){return r&&r.render&&r.render(-1)}),me.forEach(function(r){vt(r)&&(r.smooth&&requestAnimationFrame(function(){return r.target.style.scrollBehavior="smooth"}),r.rec&&r(r.rec))}),cl(Js,1),Yn.pause(),tr++,Et=2,bi(2),de.forEach(function(r){return vt(r.vars.onRefresh)&&r.vars.onRefresh(r)}),Et=fe.isRefreshing=!1,nr("refresh")},As=0,Rn=1,Qr,bi=function(e){if(e===2||!Et&&!Ur){fe.isUpdating=!0,Qr&&Qr.update(0);var i=de.length,t=_t(),r=t-os>=50,n=i&&de[0].scroll();if(Rn=As>n?-1:1,Et||(As=n),r&&(ei&&!Gn&&t-ei>200&&(ei=0,nr("scrollEnd")),zr=os,os=t),Rn<0){for(Ct=i;Ct-- >0;)de[Ct]&&de[Ct].update(0,r);Rn=1}else for(Ct=0;Ct20),t-=t-A}if(g&&(l[g]=e||-.001,e<0&&(e=0)),s){var N=e+t,D=s._isStart;v="scroll"+r.d2,On(s,N,r,D&&N>20||!D&&(p?Math.max(we[v],Ht[v]):s.parentNode[v])<=N+1),p&&(u=yi(a),p&&(s.style[r.op.p]=u[r.op.p]-r.op.m-s._offset+je))}return f&&x&&(v=yi(x),f.seek(h),w=yi(x),f._caScrollDist=v[r.p]-w[r.p],e=e/f._caScrollDist*h),f&&f.seek(d),f?e:Math.round(e)},Zu=/(webkit|moz|length|cssText|inset)/i,Ho=function(e,i,t,r){if(e.parentNode!==i){var n=e.style,s,a;if(i===we){e._stOrig=n.cssText,a=Qt(e);for(s in a)!+s&&!Zu.test(s)&&a[s]&&typeof n[s]=="string"&&s!=="0"&&(n[s]=a[s]);n.top=t,n.left=r}else n.cssText=e._stOrig;$.core.getCache(e).uncache=1,i.appendChild(e)}},hl=function(e,i,t){var r=i,n=r;return function(s){var a=Math.round(e());return a!==r&&a!==n&&Math.abs(a-r)>3&&Math.abs(a-n)>3&&(s=a,t&&t()),n=r,r=Math.round(s),r}},Sn=function(e,i,t){var r={};r[i.p]="+="+t,$.set(e,r)},Bo=function(e,i){var t=Hi(e,i),r="_scroll"+i.p2,n=function s(a,l,u,c,p){var h=s.tween,f=l.onComplete,g={};u=u||t();var d=hl(t,u,function(){h.kill(),s.tween=0});return p=c&&p||0,c=c||a-u,h&&h.kill(),l[r]=a,l.inherit=!1,l.modifiers=g,g[r]=function(){return d(u+c*h.ratio+p*h.ratio*h.ratio)},l.onUpdate=function(){me.cache++,s.tween&&bi()},l.onComplete=function(){s.tween=0,f&&f.call(h)},h=s.tween=$.to(e,l),h};return e[r]=t,t.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},tt(e,"wheel",t.wheelHandler),fe.isTouch&&tt(e,"touchmove",t.wheelHandler),n},fe=function(){function o(i,t){cr||o.register($)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Ms(this),this.init(i,t)}var e=o.prototype;return e.init=function(t,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Fr){this.update=this.refresh=this.kill=fi;return}t=Do(It(t)||Nr(t)||t.nodeType?{trigger:t}:t,xn);var n=t,s=n.onUpdate,a=n.toggleClass,l=n.id,u=n.onToggle,c=n.onRefresh,p=n.scrub,h=n.trigger,f=n.pin,g=n.pinSpacing,d=n.invalidateOnRefresh,v=n.anticipatePin,w=n.onScrubComplete,x=n.onSnapComplete,b=n.once,S=n.snap,P=n.pinReparent,A=n.pinSpacer,T=n.containerAnimation,N=n.fastScrollEnd,D=n.preventOverlaps,L=t.horizontal||t.containerAnimation&&t.horizontal!==!1?kt:Ke,se=!p&&p!==0,Y=Pt(t.scroller||_e),ue=$.core.getCache(Y),ee=ir(Y),he=("pinType"in t?t.pinType:zi(Y,"pinType")||ee&&"fixed")==="fixed",le=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],Q=se&&t.toggleActions.split(" "),J="markers"in t?t.markers:xn.markers,xe=ee?0:parseFloat(Qt(Y)["border"+L.p2+kr])||0,y=this,Ce=t.onRefreshInit&&function(){return t.onRefreshInit(y)},rt=Yu(Y,ee,L),xt=Xu(Y,ee),Me=0,$e=0,Qe=0,De=Hi(Y,L),nt,Ze,ni,st,Je,ve,Le,ft,ot,E,bt,$t,si,Oe,ti,Gt,oi,_,m,k,C,O,I,z,M,F,U,R,X,V,Z,B,oe,te,q,ie,be,ae,pe;if(y._startClamp=y._endClamp=!1,y._dir=L,v*=45,y.scroller=Y,y.scroll=T?T.time.bind(T):De,st=De(),y.vars=t,r=r||t.animation,"refreshPriority"in t&&(Ka=1,t.refreshPriority===-9999&&(Qr=y)),ue.tweenScroll=ue.tweenScroll||{top:Bo(Y,Ke),left:Bo(Y,kt)},y.tweenTo=nt=ue.tweenScroll[L.p],y.scrubDuration=function(H){oe=Nr(H)&&H,oe?B?B.duration(H):B=$.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:oe,paused:!0,onComplete:function(){return w&&w(y)}}):(B&&B.progress(1).kill(),B=0)},r&&(r.vars.lazy=!1,r._initted&&!y.isReverted||r.vars.immediateRender!==!1&&t.immediateRender!==!1&&r.duration()&&r.render(0,!0,!0),y.animation=r.pause(),r.scrollTrigger=y,y.scrubDuration(p),V=0,l||(l=r.vars.id)),S&&((!Ui(S)||S.push)&&(S={snapTo:S}),"scrollBehavior"in we.style&&$.set(ee?[we,Ht]:Y,{scrollBehavior:"auto"}),me.forEach(function(H){return vt(H)&&H.target===(ee?Se.scrollingElement||Ht:Y)&&(H.smooth=!1)}),ni=vt(S.snapTo)?S.snapTo:S.snapTo==="labels"?qu(r):S.snapTo==="labelsDirectional"?Uu(r):S.directional!==!1?function(H,re){return no(S.snapTo)(H,_t()-$e<500?0:re.direction)}:$.utils.snap(S.snapTo),te=S.duration||{min:.1,max:2},te=Ui(te)?qr(te.min,te.max):qr(te,te),q=$.delayedCall(S.delay||oe/2||.1,function(){var H=De(),re=_t()-$e<500,j=nt.tween;if((re||Math.abs(y.getVelocity())<10)&&!j&&!Gn&&Me!==H){var ne=(H-ve)/Oe,He=r&&!se?r.totalProgress():ne,ge=re?0:(He-Z)/(_t()-zr)*1e3||0,Ye=$.utils.clamp(-ne,1-ne,lr(ge/2)*ge/.185),ht=ne+(S.inertia===!1?0:Ye),Be,Re,Ee=S,ii=Ee.onStart,ze=Ee.onInterrupt,zt=Ee.onComplete;if(Be=ni(ht,y),Nr(Be)||(Be=ht),Re=Math.max(0,Math.round(ve+Be*Oe)),H<=Le&&H>=ve&&Re!==H){if(j&&!j._initted&&j.data<=lr(Re-H))return;S.inertia===!1&&(Ye=Be-ne),nt(Re,{duration:te(lr(Math.max(lr(ht-He),lr(Be-He))*.185/ge/.05||0)),ease:S.ease||"power3",data:lr(Re-H),onInterrupt:function(){return q.restart(!0)&&ze&&ar(y,ze)},onComplete:function(){y.update(),Me=De(),r&&!se&&(B?B.resetTo("totalProgress",Be,r._tTime/r._tDur):r.progress(Be)),V=Z=r&&!se?r.totalProgress():y.progress,x&&x(y),zt&&ar(y,zt)}},H,Ye*Oe,Re-H-Ye*Oe),ii&&ar(y,ii,nt.tween)}}else y.isActive&&Me!==H&&q.restart(!0)}).pause()),l&&(Rs[l]=y),h=y.trigger=Pt(h||f!==!0&&f),pe=h&&h._gsap&&h._gsap.stRevert,pe&&(pe=pe(y)),f=f===!0?h:Pt(f),It(a)&&(a={targets:h,className:a}),f&&(g===!1||g===Kt||(g=!g&&f.parentNode&&f.parentNode.style&&Qt(f.parentNode).display==="flex"?!1:qe),y.pin=f,Ze=$.core.getCache(f),Ze.spacer?ti=Ze.pinState:(A&&(A=Pt(A),A&&!A.nodeType&&(A=A.current||A.nativeElement),Ze.spacerIsNative=!!A,A&&(Ze.spacerState=wn(A))),Ze.spacer=_=A||Se.createElement("div"),_.classList.add("pin-spacer"),l&&_.classList.add("pin-spacer-"+l),Ze.pinState=ti=wn(f)),t.force3D!==!1&&$.set(f,{force3D:!0}),y.spacer=_=Ze.spacer,X=Qt(f),z=X[g+L.os2],k=$.getProperty(f),C=$.quickSetter(f,L.a,je),ls(f,_,X),oi=wn(f)),J){$t=Ui(J)?Do(J,Lo):Lo,E=bn("scroller-start",l,Y,L,$t,0),bt=bn("scroller-end",l,Y,L,$t,0,E),m=E["offset"+L.op.d2];var Te=Pt(zi(Y,"content")||Y);ft=this.markerStart=bn("start",l,Te,L,$t,m,0,T),ot=this.markerEnd=bn("end",l,Te,L,$t,m,0,T),T&&(ae=$.quickSetter([ft,ot],L.a,je)),!he&&!(gi.length&&zi(Y,"fixedMarkers")===!0)&&(Vu(ee?we:Y),$.set([E,bt],{force3D:!0}),F=$.quickSetter(E,L.a,je),R=$.quickSetter(bt,L.a,je))}if(T){var K=T.vars.onUpdate,W=T.vars.onUpdateParams;T.eventCallback("onUpdate",function(){y.update(0,0,1),K&&K.apply(T,W||[])})}if(y.previous=function(){return de[de.indexOf(y)-1]},y.next=function(){return de[de.indexOf(y)+1]},y.revert=function(H,re){if(!re)return y.kill(!0);var j=H!==!1||!y.enabled,ne=gt;j!==y.isReverted&&(j&&(ie=Math.max(De(),y.scroll.rec||0),Qe=y.progress,be=r&&r.progress()),ft&&[ft,ot,E,bt].forEach(function(He){return He.style.display=j?"none":"block"}),j&&(gt=y,y.update(j)),f&&(!P||!y.isActive)&&(j?ju(f,_,ti):ls(f,_,Qt(f),M)),j||y.update(j),gt=ne,y.isReverted=j)},y.refresh=function(H,re,j,ne){if(!((gt||!y.enabled)&&!re)){if(f&&H&&ei){tt(o,"scrollEnd",al);return}!Et&&Ce&&Ce(y),gt=y,nt.tween&&!j&&(nt.tween.kill(),nt.tween=0),B&&B.pause(),d&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren?r.getChildren(!0,!0,!1).forEach(function(Ti){return Ti.vars.immediateRender&&Ti.render(0,!0,!0)}):r.vars.immediateRender&&r.render(0,!0,!0)),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var He=rt(),ge=xt(),Ye=T?T.duration():pi(Y,L),ht=Oe<=.01||!Oe,Be=0,Re=ne||0,Ee=Ui(j)?j.end:t.end,ii=t.endTrigger||h,ze=Ui(j)?j.start:t.start||(t.start===0||!h?0:f?"0 0":"0 100%"),zt=y.pinnedContainer=t.pinnedContainer&&Pt(t.pinnedContainer,y),ai=h&&Math.max(0,de.indexOf(y))||0,at=ai,lt,dt,Wi,cn,pt,Ge,li,jn,oo,Pr,ui,Mr,fn;for(J&&Ui(j)&&(Mr=$.getProperty(E,L.p),fn=$.getProperty(bt,L.p));at-- >0;)Ge=de[at],Ge.end||Ge.refresh(0,1)||(gt=y),li=Ge.pin,li&&(li===h||li===f||li===zt)&&!Ge.isReverted&&(Pr||(Pr=[]),Pr.unshift(Ge),Ge.revert(!0,!0)),Ge!==de[at]&&(ai--,at--);for(vt(ze)&&(ze=ze(y)),ze=Mo(ze,"start",y),ve=No(ze,h,He,L,De(),ft,E,y,ge,xe,he,Ye,T,y._startClamp&&"_startClamp")||(f?-.001:0),vt(Ee)&&(Ee=Ee(y)),It(Ee)&&!Ee.indexOf("+=")&&(~Ee.indexOf(" ")?Ee=(It(ze)?ze.split(" ")[0]:"")+Ee:(Be=Mn(Ee.substr(2),He),Ee=It(ze)?ze:(T?$.utils.mapRange(0,T.duration(),T.scrollTrigger.start,T.scrollTrigger.end,ve):ve)+Be,ii=h)),Ee=Mo(Ee,"end",y),Le=Math.max(ve,No(Ee||(ii?"100% 0":Ye),ii,He,L,De()+Be,ot,bt,y,ge,xe,he,Ye,T,y._endClamp&&"_endClamp"))||-.001,Be=0,at=ai;at--;)Ge=de[at]||{},li=Ge.pin,li&&Ge.start-Ge._pinPush<=ve&&!T&&Ge.end>0&&(lt=Ge.end-(y._startClamp?Math.max(0,Ge.start):Ge.start),(li===h&&Ge.start-Ge._pinPush=pi(Y,L)))lt=Qt(f),cn=L===Ke,Wi=De(),O=parseFloat(k(L.a))+Re,!Ye&&Le>1&&(ui=(ee?Se.scrollingElement||Ht:Y).style,ui={style:ui,value:ui["overflow"+L.a.toUpperCase()]},ee&&Qt(we)["overflow"+L.a.toUpperCase()]!=="scroll"&&(ui.style["overflow"+L.a.toUpperCase()]="scroll")),ls(f,_,lt),oi=wn(f),dt=yi(f,!0),jn=he&&Hi(Y,cn?kt:Ke)(),g?(M=[g+L.os2,Oe+Re+je],M.t=_,at=g===qe?Xn(f,L)+Oe+Re:0,at&&(M.push(L.d,at+je),_.style.flexBasis!=="auto"&&(_.style.flexBasis=at+je)),br(M),zt&&de.forEach(function(Ti){Ti.pin===zt&&Ti.vars.pinSpacing!==!1&&(Ti._subPinOffset=!0)}),he&&De(ie)):(at=Xn(f,L),at&&_.style.flexBasis!=="auto"&&(_.style.flexBasis=at+je)),he&&(pt={top:dt.top+(cn?Wi-ve:jn)+je,left:dt.left+(cn?jn:Wi-ve)+je,boxSizing:"border-box",position:"fixed"},pt[Ji]=pt["max"+kr]=Math.ceil(dt.width)+je,pt[er]=pt["max"+ro]=Math.ceil(dt.height)+je,pt[Kt]=pt[Kt+jr]=pt[Kt+$r]=pt[Kt+Kr]=pt[Kt+Gr]="0",pt[qe]=lt[qe],pt[qe+jr]=lt[qe+jr],pt[qe+$r]=lt[qe+$r],pt[qe+Kr]=lt[qe+Kr],pt[qe+Gr]=lt[qe+Gr],Gt=Qu(ti,pt,P),Et&&De(0)),r?(oo=r._initted,ns(1),r.render(r.duration(),!0,!0),I=k(L.a)-O+Oe+Re,U=Math.abs(Oe-I)>1,he&&U&&Gt.splice(Gt.length-2,2),r.render(0,!0,!0),oo||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),ns(0)):I=Oe,ui&&(ui.value?ui.style["overflow"+L.a.toUpperCase()]=ui.value:ui.style.removeProperty("overflow-"+L.a));else if(h&&De()&&!T)for(dt=h.parentNode;dt&&dt!==we;)dt._pinOffset&&(ve-=dt._pinOffset,Le-=dt._pinOffset),dt=dt.parentNode;Pr&&Pr.forEach(function(Ti){return Ti.revert(!1,!0)}),y.start=ve,y.end=Le,st=Je=Et?ie:De(),!T&&!Et&&(st0?de.slice(0,re).reverse():de.slice(re+1);return(It(H)?j.filter(function(ne){return ne.vars.preventOverlaps===H}):j).filter(function(ne){return y.direction>0?ne.end<=ve:ne.start>=Le})},y.update=function(H,re,j){if(!(T&&!j&&!H)){var ne=Et===!0?ie:y.scroll(),He=H?0:(ne-ve)/Oe,ge=He<0?0:He>1?1:He||0,Ye=y.progress,ht,Be,Re,Ee,ii,ze,zt,ai;if(re&&(Je=st,st=T?De():ne,S&&(Z=V,V=r&&!se?r.totalProgress():ge)),v&&f&&!gt&&!_n&&ei&&(!ge&&vene+(ne-Je)/(_t()-zr)*v&&(ge=.9999)),ge!==Ye&&y.enabled){if(ht=y.isActive=!!ge&&ge<1,Be=!!Ye&&Ye<1,ze=ht!==Be,ii=ze||!!ge!=!!Ye,y.direction=ge>Ye?1:-1,y.progress=ge,ii&&!gt&&(Re=ge&&!Ye?0:ge===1?1:Ye===1?2:3,se&&(Ee=!ze&&Q[Re+1]!=="none"&&Q[Re+1]||Q[Re],ai=r&&(Ee==="complete"||Ee==="reset"||Ee in r))),D&&(ze||ai)&&(ai||p||!r)&&(vt(D)?D(y):y.getTrailing(D).forEach(function(Wi){return Wi.endAnimation()})),se||(B&&!gt&&!_n?(B._dp._time-B._start!==B._time&&B.render(B._dp._time-B._start),B.resetTo?B.resetTo("totalProgress",ge,r._tTime/r._tDur):(B.vars.totalProgress=ge,B.invalidate().restart())):r&&r.totalProgress(ge,!!(gt&&($e||H)))),f){if(H&&g&&(_.style[g+L.os2]=z),!he)C(Ir(O+I*ge));else if(ii){if(zt=!H&&ge>Ye&&Le+1>ne&&ne+1>=pi(Y,L),P)if(!H&&(ht||zt)){var at=yi(f,!0),lt=ne-ve;Ho(f,we,at.top+(L===Ke?lt:0)+je,at.left+(L===Ke?0:lt)+je)}else Ho(f,_);br(ht||zt?Gt:oi),U&&ge<1&&ht||C(O+(ge===1&&!zt?I:0))}}S&&!nt.tween&&!gt&&!_n&&q.restart(!0),a&&(ze||b&&ge&&(ge<1||!ss))&&an(a.targets).forEach(function(Wi){return Wi.classList[ht||b?"add":"remove"](a.className)}),s&&!se&&!H&&s(y),ii&&!gt?(se&&(ai&&(Ee==="complete"?r.pause().totalProgress(1):Ee==="reset"?r.restart(!0).pause():Ee==="restart"?r.restart(!0):r[Ee]()),s&&s(y)),(ze||!ss)&&(u&&ze&&ar(y,u),le[Re]&&ar(y,le[Re]),b&&(ge===1?y.kill(!1,1):le[Re]=0),ze||(Re=ge===1?1:3,le[Re]&&ar(y,le[Re]))),N&&!ht&&Math.abs(y.getVelocity())>(Nr(N)?N:2500)&&(Ar(y.callbackAnimation),B?B.progress(1):Ar(r,Ee==="reverse"?1:!ge,1))):se&&s&&!gt&&s(y)}if(R){var dt=T?ne/T.duration()*(T._caScrollDist||0):ne;F(dt+(E._isFlipped?1:0)),R(dt)}ae&&ae(-ne/T.duration()*(T._caScrollDist||0))}},y.enable=function(H,re){y.enabled||(y.enabled=!0,tt(Y,"resize",Hr),ee||tt(Y,"scroll",ur),Ce&&tt(o,"refreshInit",Ce),H!==!1&&(y.progress=Qe=0,st=Je=Me=De()),re!==!1&&y.refresh())},y.getTween=function(H){return H&&nt?nt.tween:B},y.setPositions=function(H,re,j,ne){if(T){var He=T.scrollTrigger,ge=T.duration(),Ye=He.end-He.start;H=He.start+Ye*H/ge,re=He.start+Ye*re/ge}y.refresh(!1,!1,{start:Oo(H,j&&!!y._startClamp),end:Oo(re,j&&!!y._endClamp)},ne),y.update()},y.adjustPinSpacing=function(H){if(M&&H){var re=M.indexOf(L.d)+1;M[re]=parseFloat(M[re])+H+je,M[1]=parseFloat(M[1])+H+je,br(M)}},y.disable=function(H,re){if(H!==!1&&y.revert(!0,!0),y.enabled&&(y.enabled=y.isActive=!1,re||B&&B.pause(),ie=0,Ze&&(Ze.uncache=1),Ce&&et(o,"refreshInit",Ce),q&&(q.pause(),nt.tween&&nt.tween.kill()&&(nt.tween=0)),!ee)){for(var j=de.length;j--;)if(de[j].scroller===Y&&de[j]!==y)return;et(Y,"resize",Hr),ee||et(Y,"scroll",ur)}},y.kill=function(H,re){y.disable(H,re),B&&!re&&B.kill(),l&&delete Rs[l];var j=de.indexOf(y);j>=0&&de.splice(j,1),j===Ct&&Rn>0&&Ct--,j=0,de.forEach(function(ne){return ne.scroller===y.scroller&&(j=1)}),j||Et||(y.scroll.rec=0),r&&(r.scrollTrigger=null,H&&r.revert({kill:!1}),re||r.kill()),ft&&[ft,ot,E,bt].forEach(function(ne){return ne.parentNode&&ne.parentNode.removeChild(ne)}),Qr===y&&(Qr=0),f&&(Ze&&(Ze.uncache=1),j=0,de.forEach(function(ne){return ne.pin===f&&j++}),j||(Ze.spacer=0)),t.onKill&&t.onKill(y)},de.push(y),y.enable(!1,!1),pe&&pe(y),r&&r.add&&!Oe){var ce=y.update;y.update=function(){y.update=ce,me.cache++,ve||Le||y.refresh()},$.delayedCall(.01,y.update),Oe=.01,ve=Le=0}else y.refresh();f&&Gu()},o.register=function(t){return cr||($=t||tl(),el()&&window.document&&o.enable(),cr=Fr),cr},o.defaults=function(t){if(t)for(var r in t)xn[r]=t[r];return xn},o.disable=function(t,r){Fr=0,de.forEach(function(s){return s[r?"kill":"disable"](t)}),et(_e,"wheel",ur),et(Se,"scroll",ur),clearInterval(gn),et(Se,"touchcancel",fi),et(we,"touchstart",fi),vn(et,Se,"pointerdown,touchstart,mousedown",Ro),vn(et,Se,"pointerup,touchend,mouseup",Ao),Yn.kill(),mn(et);for(var n=0;n0&&s.left+a<_e.innerWidth:s.bottom-a>0&&s.top+a<_e.innerHeight},o.positionInViewport=function(t,r,n){It(t)&&(t=Pt(t));var s=t.getBoundingClientRect(),a=s[n?Ji:er],l=r==null?a/2:r in Vn?Vn[r]*a:~r.indexOf("%")?parseFloat(r)*a/100:parseFloat(r)||0;return n?(s.left+l)/_e.innerWidth:(s.top+l)/_e.innerHeight},o.killAll=function(t){if(de.slice(0).forEach(function(n){return n.vars.id!=="ScrollSmoother"&&n.kill()}),t!==!0){var r=rr.killAll||[];rr={},r.forEach(function(n){return n()})}},o}();fe.version="3.15.0";fe.saveStyles=function(o){return o?an(o).forEach(function(e){if(e&&e.style){var i=Ft.indexOf(e);i>=0&&Ft.splice(i,5),Ft.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),$.core.getCache(e),Ms())}}):Ft};fe.revert=function(o,e){return so(!o,e)};fe.create=function(o,e){return new fe(o,e)};fe.refresh=function(o){return o?Hr(!0):(cr||fe.register())&&Gi(!0)};fe.update=function(o){return++me.cache&&bi(o===!0?2:0)};fe.clearScrollMemory=cl;fe.maxScroll=function(o,e){return pi(o,e?kt:Ke)};fe.getScrollFunc=function(o,e){return Hi(Pt(o),e?kt:Ke)};fe.getById=function(o){return Rs[o]};fe.getAll=function(){return de.filter(function(o){return o.vars.id!=="ScrollSmoother"})};fe.isScrolling=function(){return!!ei};fe.snapDirectional=no;fe.addEventListener=function(o,e){var i=rr[o]||(rr[o]=[]);~i.indexOf(e)||i.push(e)};fe.removeEventListener=function(o,e){var i=rr[o],t=i&&i.indexOf(e);t>=0&&i.splice(t,1)};fe.batch=function(o,e){var i=[],t={},r=e.interval||.016,n=e.batchMax||1e9,s=function(u,c){var p=[],h=[],f=$.delayedCall(r,function(){c(p,h),p=[],h=[]}).pause();return function(g){p.length||f.restart(!0),p.push(g.trigger),h.push(g),n<=p.length&&f.progress(1)}},a;for(a in e)t[a]=a.substr(0,2)==="on"&&vt(e[a])&&a!=="onRefreshInit"?s(a,e[a]):e[a];return vt(n)&&(n=n(),tt(fe,"refresh",function(){return n=e.batchMax()})),an(o).forEach(function(l){var u={};for(a in t)u[a]=t[a];u.trigger=l,i.push(fe.create(u))}),i};var Wo=function(e,i,t,r){return i>r?e(r):i<0&&e(0),t>r?(r-i)/(t-i):t<0?i/(i-t):1},us=function o(e,i){i===!0?e.style.removeProperty("touch-action"):e.style.touchAction=i===!0?"auto":i?"pan-"+i+(Ve.isTouch?" pinch-zoom":""):"none",e===Ht&&o(we,i)},Tn={auto:1,scroll:1},Ju=function(e){var i=e.event,t=e.target,r=e.axis,n=(i.changedTouches?i.changedTouches[0]:i).target,s=n._gsap||$.core.getCache(n),a=_t(),l;if(!s._isScrollT||a-s._isScrollT>2e3){for(;n&&n!==we&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(Tn[(l=Qt(n)).overflowY]||Tn[l.overflowX]));)n=n.parentNode;s._isScroll=n&&n!==t&&!ir(n)&&(Tn[(l=Qt(n)).overflowY]||Tn[l.overflowX]),s._isScrollT=a}(s._isScroll||r==="x")&&(i.stopPropagation(),i._gsapAllow=!0)},dl=function(e,i,t,r){return Ve.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:i,onWheel:r=r&&Ju,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return t&&tt(Se,Ve.eventTypes[0],Xo,!1,!0)},onDisable:function(){return et(Se,Ve.eventTypes[0],Xo,!0)}})},ec=/(input|label|select|textarea)/i,Yo,Xo=function(e){var i=ec.test(e.target.tagName);(i||Yo)&&(e._gsapAllow=!0,Yo=i)},tc=function(e){Ui(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var i=e,t=i.normalizeScrollX,r=i.momentum,n=i.allowNestedScroll,s=i.onRelease,a,l,u=Pt(e.target)||Ht,c=$.core.globals().ScrollSmoother,p=c&&c.get(),h=Ei&&(e.content&&Pt(e.content)||p&&e.content!==!1&&!p.smooth()&&p.content()),f=Hi(u,Ke),g=Hi(u,kt),d=1,v=(Ve.isTouch&&_e.visualViewport?_e.visualViewport.scale*_e.visualViewport.width:_e.outerWidth)/_e.innerWidth,w=0,x=vt(r)?function(){return r(a)}:function(){return r||2.8},b,S,P=dl(u,e.type,!0,n),A=function(){return S=!1},T=fi,N=fi,D=function(){l=pi(u,Ke),N=qr(Ei?1:0,l),t&&(T=qr(0,pi(u,kt))),b=tr},L=function(){h._gsap.y=Ir(parseFloat(h._gsap.y)+f.offset)+"px",h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(h._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},se=function(){if(S){requestAnimationFrame(A);var J=Ir(a.deltaY/2),xe=N(f.v-J);if(h&&xe!==f.v+f.offset){f.offset=xe-f.v;var y=Ir((parseFloat(h&&h._gsap.y)||0)-f.offset);h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",h._gsap.y=y+"px",f.cacheID=me.cache,bi()}return!0}f.offset&&L(),S=!0},Y,ue,ee,he,le=function(){D(),Y.isActive()&&Y.vars.scrollY>l&&(f()>l?Y.progress(1)&&f(l):Y.resetTo("scrollY",l))};return h&&$.set(h,{y:"+=0"}),e.ignoreCheck=function(Q){return Ei&&Q.type==="touchmove"&&se()||d>1.05&&Q.type!=="touchstart"||a.isGesturing||Q.touches&&Q.touches.length>1},e.onPress=function(){S=!1;var Q=d;d=Ir((_e.visualViewport&&_e.visualViewport.scale||1)/v),Y.pause(),Q!==d&&us(u,d>1.01?!0:t?!1:"x"),ue=g(),ee=f(),D(),b=tr},e.onRelease=e.onGestureStart=function(Q,J){if(f.offset&&L(),!J)he.restart(!0);else{me.cache++;var xe=x(),y,Ce;t&&(y=g(),Ce=y+xe*.05*-Q.velocityX/.227,xe*=Wo(g,y,Ce,pi(u,kt)),Y.vars.scrollX=T(Ce)),y=f(),Ce=y+xe*.05*-Q.velocityY/.227,xe*=Wo(f,y,Ce,pi(u,Ke)),Y.vars.scrollY=N(Ce),Y.invalidate().duration(xe).play(.01),(Ei&&Y.vars.scrollY>=l||y>=l-1)&&$.to({},{onUpdate:le,duration:xe})}s&&s(Q)},e.onWheel=function(){Y._ts&&Y.pause(),_t()-w>1e3&&(b=0,w=_t())},e.onChange=function(Q,J,xe,y,Ce){if(tr!==b&&D(),J&&t&&g(T(y[2]===J?ue+(Q.startX-Q.x):g()+J-y[1])),xe){f.offset&&L();var rt=Ce[2]===xe,xt=rt?ee+Q.startY-Q.y:f()+xe-Ce[1],Me=N(xt);rt&&xt!==Me&&(ee+=Me-xt),f(Me)}(xe||J)&&bi()},e.onEnable=function(){us(u,t?!1:"x"),fe.addEventListener("refresh",le),tt(_e,"resize",le),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=g.smooth=!1),P.enable()},e.onDisable=function(){us(u,!0),et(_e,"resize",le),fe.removeEventListener("refresh",le),P.kill()},e.lockAxis=e.lockAxis!==!1,a=new Ve(e),a.iOS=Ei,Ei&&!f()&&f(1),Ei&&$.ticker.add(fi),he=a._dc,Y=$.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:t?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:hl(f,f(),function(){return Y.pause()})},onUpdate:bi,onComplete:he.vars.onComplete}),a};fe.sort=function(o){if(vt(o))return de.sort(o);var e=_e.pageYOffset||0;return fe.getAll().forEach(function(i){return i._sortY=i.trigger?e+i.trigger.getBoundingClientRect().top:i.start+_e.innerHeight}),de.sort(o||function(i,t){return(i.vars.refreshPriority||0)*-1e6+(i.vars.containerAnimation?1e6:i._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+(t.vars.refreshPriority||0)*-1e6)})};fe.observe=function(o){return new Ve(o)};fe.normalizeScroll=function(o){if(typeof o>"u")return Tt;if(o===!0&&Tt)return Tt.enable();if(o===!1){Tt&&Tt.kill(),Tt=o;return}var e=o instanceof Ve?o:tc(o);return Tt&&Tt.target===e.target&&Tt.kill(),ir(e.target)&&(Tt=e),e};fe.core={_getVelocityProp:Es,_inputObserver:dl,_scrollers:me,_proxies:gi,bridge:{ss:function(){ei||nr("scrollStart"),ei=_t()},ref:function(){return gt}}};tl()&&$.registerPlugin(fe);var Vo="1.3.26";function pl(o,e,i){return Math.max(o,Math.min(e,i))}function ic(o,e,i){return(1-i)*o+i*e}function rc(o,e,i,t){return ic(o,e,1-Math.exp(-i*t))}function nc(o,e){return(o%e+e)%e}var sc=class{constructor(){G(this,"isRunning",!1);G(this,"value",0);G(this,"from",0);G(this,"to",0);G(this,"currentTime",0);G(this,"lerp");G(this,"duration");G(this,"easing");G(this,"onUpdate")}advance(o){var i;if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=o;const t=pl(0,this.currentTime/this.duration,1);e=t>=1;const r=e?1:this.easing(t);this.value=this.from+(this.to-this.from)*r}else this.lerp?(this.value=rc(this.value,this.to,this.lerp*60,o),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,e=!0)):(this.value=this.to,e=!0);e&&this.stop(),(i=this.onUpdate)==null||i.call(this,this.value,e)}stop(){this.isRunning=!1}fromTo(o,e,{lerp:i,duration:t,easing:r,onStart:n,onUpdate:s}){this.from=this.value=o,this.to=e,this.lerp=i,this.duration=t,this.easing=r,this.currentTime=0,this.isRunning=!0,n==null||n(),this.onUpdate=s}};function oc(o,e){let i;return function(...t){clearTimeout(i),i=setTimeout(()=>{i=void 0,o.apply(this,t)},e)}}var ac=class{constructor(o,e,{autoResize:i=!0,debounce:t=250}={}){G(this,"width",0);G(this,"height",0);G(this,"scrollHeight",0);G(this,"scrollWidth",0);G(this,"debouncedResize");G(this,"wrapperResizeObserver");G(this,"contentResizeObserver");G(this,"resize",()=>{this.onWrapperResize(),this.onContentResize()});G(this,"onWrapperResize",()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)});G(this,"onContentResize",()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)});this.wrapper=o,this.content=e,i&&(this.debouncedResize=oc(this.resize,t),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){var o,e;(o=this.wrapperResizeObserver)==null||o.disconnect(),(e=this.contentResizeObserver)==null||e.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},gl=class{constructor(){G(this,"events",{})}emit(o,...e){var t;const i=this.events[o]||[];for(let r=0,n=i.length;r{var i;this.events[o]=(i=this.events[o])==null?void 0:i.filter(t=>e!==t)}}off(o,e){var i;this.events[o]=(i=this.events[o])==null?void 0:i.filter(t=>e!==t)}destroy(){this.events={}}};const lc=100/6,Ci={passive:!1};function qo(o,e){return o===1?lc:o===2?e:1}var uc=class{constructor(o,e={wheelMultiplier:1,touchMultiplier:1}){G(this,"touchStart",{x:0,y:0});G(this,"lastDelta",{x:0,y:0});G(this,"window",{width:0,height:0});G(this,"emitter",new gl);G(this,"onTouchStart",o=>{const{clientX:e,clientY:i}=o.targetTouches?o.targetTouches[0]:o;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:o})});G(this,"onTouchMove",o=>{const{clientX:e,clientY:i}=o.targetTouches?o.targetTouches[0]:o,t=-(e-this.touchStart.x)*this.options.touchMultiplier,r=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:t,y:r},this.emitter.emit("scroll",{deltaX:t,deltaY:r,event:o})});G(this,"onTouchEnd",o=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:o})});G(this,"onWheel",o=>{let{deltaX:e,deltaY:i,deltaMode:t}=o;const r=qo(t,this.window.width),n=qo(t,this.window.height);e*=r,i*=n,e*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:i,event:o})});G(this,"onWindowResize",()=>{this.window={width:window.innerWidth,height:window.innerHeight}});this.element=o,this.options=e,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,Ci),this.element.addEventListener("touchstart",this.onTouchStart,Ci),this.element.addEventListener("touchmove",this.onTouchMove,Ci),this.element.addEventListener("touchend",this.onTouchEnd,Ci)}on(o,e){return this.emitter.on(o,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,Ci),this.element.removeEventListener("touchstart",this.onTouchStart,Ci),this.element.removeEventListener("touchmove",this.onTouchMove,Ci),this.element.removeEventListener("touchend",this.onTouchEnd,Ci)}};const Uo=o=>Math.min(1,1.001-2**(-10*o));var cc=class{constructor({wrapper:o=window,content:e=document.documentElement,eventsTarget:i=o,smoothWheel:t=!0,syncTouch:r=!1,syncTouchLerp:n=.075,touchInertiaExponent:s=1.7,duration:a,easing:l,lerp:u=.1,infinite:c=!1,orientation:p="vertical",gestureOrientation:h=p==="horizontal"?"both":"vertical",touchMultiplier:f=1,wheelMultiplier:g=1,autoResize:d=!0,prevent:v,virtualScroll:w,overscroll:x=!0,autoRaf:b=!1,anchors:S=!1,autoToggle:P=!1,allowNestedScroll:A=!1,__experimental__naiveDimensions:T=!1,naiveDimensions:N=T,stopInertiaOnNavigate:D=!1,respectReducedMotion:L=!0}={}){G(this,"_isScrolling",!1);G(this,"_isStopped",!1);G(this,"_isLocked",!1);G(this,"_preventNextNativeScrollEvent",!1);G(this,"_resetVelocityTimeout",null);G(this,"_rafId",null);G(this,"_isDraggingSelection",!1);G(this,"reducedMotionMediaQuery",window.matchMedia("(prefers-reduced-motion: reduce)"));G(this,"isTouching");G(this,"isIos");G(this,"time",0);G(this,"userData",{});G(this,"lastVelocity",0);G(this,"velocity",0);G(this,"direction",0);G(this,"options");G(this,"targetScroll");G(this,"animatedScroll");G(this,"animate",new sc);G(this,"emitter",new gl);G(this,"dimensions");G(this,"virtualScroll");G(this,"onScrollEnd",o=>{o instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&o.stopPropagation()});G(this,"dispatchScrollendEvent",()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))});G(this,"onTransitionEnd",o=>{var e;(e=o.propertyName)!=null&&e.includes("overflow")&&o.target===this.rootElement&&this.checkOverflow()});G(this,"onClick",o=>{const e=o.composedPath().filter(t=>t instanceof HTMLAnchorElement&&t.href).map(t=>new URL(t.href)),i=new URL(window.location.href);if(this.options.anchors){const t=e.find(r=>i.host===r.host&&i.pathname===r.pathname&&r.hash);if(t){const r=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0,n=decodeURIComponent(t.hash);this.scrollTo(n,r);return}}if(this.options.stopInertiaOnNavigate&&e.some(t=>i.host===t.host&&i.pathname!==t.pathname)){this.reset();return}});G(this,"onPointerDown",o=>{o.button===1&&this.reset()});G(this,"onVirtualScroll",o=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(o)===!1)return;const{deltaX:e,deltaY:i,event:t}=o;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:i,event:t}),t.ctrlKey||t.lenisStopPropagation)return;const r=t.type.includes("touch"),n=t.type.includes("wheel");if(r&&this.isIos&&(t.type==="touchstart"&&(this._isDraggingSelection=this.isTouchOnSelectionHandle(t)),this._isDraggingSelection)){t.type==="touchend"&&(this._isDraggingSelection=!1);return}this.isTouching=t.type==="touchstart"||t.type==="touchmove";const s=e===0&&i===0;if(this.options.syncTouch&&r&&t.type==="touchstart"&&s&&!this.isStopped&&!this.isLocked){this.reset();return}const a=this.options.gestureOrientation==="vertical"&&i===0||this.options.gestureOrientation==="horizontal"&&e===0;if(s||a)return;let l=t.composedPath();l=l.slice(0,l.indexOf(this.rootElement));const u=this.options.prevent,c=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";if(l.find(g=>{var d,v,w,x,b;return g instanceof HTMLElement&&(typeof u=="function"&&(u==null?void 0:u(g))||((d=g.hasAttribute)==null?void 0:d.call(g,"data-lenis-prevent"))||c==="vertical"&&((v=g.hasAttribute)==null?void 0:v.call(g,"data-lenis-prevent-vertical"))||c==="horizontal"&&((w=g.hasAttribute)==null?void 0:w.call(g,"data-lenis-prevent-horizontal"))||r&&((x=g.hasAttribute)==null?void 0:x.call(g,"data-lenis-prevent-touch"))||n&&((b=g.hasAttribute)==null?void 0:b.call(g,"data-lenis-prevent-wheel"))||this.options.allowNestedScroll&&this.hasNestedScroll(g,{deltaX:e,deltaY:i}))}))return;if(this.isStopped||this.isLocked){t.cancelable&&t.preventDefault();return}if(!(this.options.syncTouch&&r||this.options.smoothWheel&&n)){this.isScrolling="native",this.animate.stop(),t.lenisStopPropagation=!0;return}let p=i;this.options.gestureOrientation==="both"?p=Math.abs(i)>Math.abs(e)?i:e:this.options.gestureOrientation==="horizontal"&&(p=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll0||this.animatedScroll===this.limit&&i<0))&&(t.lenisStopPropagation=!0),t.cancelable&&t.preventDefault();const h=r&&this.options.syncTouch,f=r&&t.type==="touchend";f&&(p=Math.sign(p)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+p,{programmatic:!1,...h?{lerp:f?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})});G(this,"onNativeScroll",()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){const o=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-o,this.direction=Math.sign(this.animatedScroll-o),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}});G(this,"raf",o=>{const e=o-(this.time||o);this.time=o,this.animate.advance(e*.001),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))});window.lenisVersion=Vo,window.lenis||(window.lenis={}),window.lenis.version=Vo,p==="horizontal"&&(window.lenis.horizontal=!0),r===!0&&(window.lenis.touch=!0),this.isIos=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),(!o||o===document.documentElement)&&(o=window),typeof a=="number"&&typeof l!="function"?l=Uo:typeof l=="function"&&typeof a!="number"&&(a=1),this.options={wrapper:o,content:e,eventsTarget:i,smoothWheel:t,syncTouch:r,syncTouchLerp:n,touchInertiaExponent:s,duration:a,easing:l,lerp:u,infinite:c,gestureOrientation:h,orientation:p,touchMultiplier:f,wheelMultiplier:g,autoResize:d,prevent:v,virtualScroll:w,overscroll:x,autoRaf:b,anchors:S,autoToggle:P,allowNestedScroll:A,naiveDimensions:N,stopInertiaOnNavigate:D,respectReducedMotion:L},this.dimensions=new ac(o,e,{autoResize:d}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new uc(i,{touchMultiplier:f,wheelMultiplier:g}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(o,e){return this.emitter.on(o,e)}off(o,e){return this.emitter.off(o,e)}get overflow(){const o=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[o]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}setScroll(o){this.isHorizontal?this.options.wrapper.scrollTo({left:o,behavior:"instant"}):this.options.wrapper.scrollTo({top:o,behavior:"instant"})}isTouchOnSelectionHandle(o){const e=window.getSelection();if(!e||e.isCollapsed||e.rangeCount===0)return!1;const i=o.targetTouches[0]??o.changedTouches[0];if(!i)return!1;const t=e.getRangeAt(0).getClientRects();if(t.length===0)return!1;const r=t[0],n=t[t.length-1],s=40,a=Math.hypot(i.clientX-r.left,i.clientY-r.top)<=s,l=Math.hypot(i.clientX-n.right,i.clientY-n.bottom)<=s;return a||l}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}scrollTo(o,{offset:e=0,immediate:i=!1,lock:t=!1,programmatic:r=!0,lerp:n=r?this.options.lerp:void 0,duration:s=r?this.options.duration:void 0,easing:a=r?this.options.easing:void 0,onStart:l,onComplete:u,force:c=!1,userData:p}={}){if(this.prefersReducedMotion&&(r?i=!0:(n=1,s=void 0,a=void 0)),(this.isStopped||this.isLocked)&&!c)return;let h=o,f=e;if(typeof h=="string"&&["top","left","start","#"].includes(h))h=0;else if(typeof h=="string"&&["bottom","right","end"].includes(h))h=this.limit;else{let g=null;if(typeof h=="string"?(g=h.startsWith("#")?document.getElementById(h.slice(1)):document.querySelector(h),g||(h==="#top"?h=0:console.warn("Lenis: Target not found",h))):h instanceof HTMLElement&&(h!=null&&h.nodeType)&&(g=h),g){if(this.options.wrapper!==window){const S=this.rootElement.getBoundingClientRect();f-=this.isHorizontal?S.left:S.top}const d=g.getBoundingClientRect(),v=getComputedStyle(g),w=this.isHorizontal?Number.parseFloat(v.scrollMarginLeft):Number.parseFloat(v.scrollMarginTop),x=getComputedStyle(this.rootElement),b=this.isHorizontal?Number.parseFloat(x.scrollPaddingLeft):Number.parseFloat(x.scrollPaddingTop);h=(this.isHorizontal?d.left:d.top)+this.animatedScroll-(Number.isNaN(w)?0:w)-(Number.isNaN(b)?0:b)}}if(typeof h=="number"){if(h+=f,this.options.infinite){if(r){this.targetScroll=this.animatedScroll=this.scroll;const g=h-this.animatedScroll;g>this.limit/2?h-=this.limit:g<-this.limit/2&&(h+=this.limit)}}else h=pl(0,h,this.limit);if(h===this.targetScroll){l==null||l(this),u==null||u(this);return}if(this.userData=p??{},i){this.animatedScroll=this.targetScroll=h,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),u==null||u(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}r||(this.targetScroll=h),typeof s=="number"&&typeof a!="function"?a=Uo:typeof a=="function"&&typeof s!="number"&&(s=1),this.animate.fromTo(this.animatedScroll,h,{duration:s,easing:a,lerp:n,onStart:()=>{t&&(this.isLocked=!0),this.isScrolling="smooth",l==null||l(this)},onUpdate:(g,d)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=g-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=g,this.setScroll(this.scroll),r&&(this.targetScroll=g),d||this.emit(),d&&(this.reset(),this.emit(),u==null||u(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(o,{deltaX:e,deltaY:i}){const t=Date.now();o._lenis||(o._lenis={});const r=o._lenis;let n,s,a,l,u,c,p,h,f,g;if(t-(r.time??0)>2e3){r.time=Date.now();const A=window.getComputedStyle(o);if(r.computedStyle=A,n=["auto","overlay","scroll"].includes(A.overflowX),s=["auto","overlay","scroll"].includes(A.overflowY),u=["auto"].includes(A.overscrollBehaviorX),c=["auto"].includes(A.overscrollBehaviorY),r.hasOverflowX=n,r.hasOverflowY=s,!(n||s))return!1;p=o.scrollWidth,h=o.scrollHeight,f=o.clientWidth,g=o.clientHeight,a=p>f,l=h>g,r.isScrollableX=a,r.isScrollableY=l,r.scrollWidth=p,r.scrollHeight=h,r.clientWidth=f,r.clientHeight=g,r.hasOverscrollBehaviorX=u,r.hasOverscrollBehaviorY=c}else a=r.isScrollableX,l=r.isScrollableY,n=r.hasOverflowX,s=r.hasOverflowY,p=r.scrollWidth,h=r.scrollHeight,f=r.clientWidth,g=r.clientHeight,u=r.hasOverscrollBehaviorX,c=r.hasOverscrollBehaviorY;if(!(n&&a||s&&l))return!1;const d=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";let v,w,x,b,S,P;if(d==="horizontal")v=Math.round(o.scrollLeft),w=p-f,x=e,b=n,S=a,P=u;else if(d==="vertical")v=Math.round(o.scrollTop),w=h-g,x=i,b=s,S=l,P=c;else return!1;return!P&&(v>=w||v<=0)?!0:(x>0?v0)&&b&&S}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){const o=this.options.wrapper;return this.isHorizontal?o.scrollX??o.scrollLeft:o.scrollY??o.scrollTop}get scroll(){return this.options.infinite?nc(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(o){this._isScrolling!==o&&(this._isScrolling=o,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(o){this._isStopped!==o&&(this._isStopped=o,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(o){this._isLocked!==o&&(this._isLocked=o,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get prefersReducedMotion(){return this.options.respectReducedMotion&&this.reducedMotionMediaQuery.matches}get className(){let o="lenis";return this.options.autoToggle&&(o+=" lenis-autoToggle"),this.isStopped&&(o+=" lenis-stopped"),this.isLocked&&(o+=" lenis-locked"),this.isScrolling&&(o+=" lenis-scrolling"),this.isScrolling==="smooth"&&(o+=" lenis-smooth"),o}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(o=>{this.rootElement.classList.add(o)})}cleanUpClassName(){for(const o of Array.from(this.rootElement.classList))(o==="lenis"||o.startsWith("lenis-"))&&this.rootElement.classList.remove(o)}},fc={exports:{}};(function(o,e){(function(i,t){o.exports=t()})(window,function(){return function(i){var t={};function r(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return i[n].call(s.exports,s,s.exports,r),s.l=!0,s.exports}return r.m=i,r.c=t,r.d=function(n,s,a){r.o(n,s)||Object.defineProperty(n,s,{enumerable:!0,get:a})},r.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,s){if(1&s&&(n=r(n)),8&s||4&s&&typeof n=="object"&&n&&n.__esModule)return n;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:n}),2&s&&typeof n!="string")for(var l in n)r.d(a,l,(function(u){return n[u]}).bind(null,l));return a},r.n=function(n){var s=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(s,"a",s),s},r.o=function(n,s){return Object.prototype.hasOwnProperty.call(n,s)},r.p="",r(r.s=0)}([function(i,t,r){r.r(t);var n,s="fslightbox-",a="".concat(s,"styles"),l="".concat(s,"cursor-grabbing"),u="".concat(s,"full-dimension"),c="".concat(s,"flex-centered"),p="".concat(s,"open"),h="".concat(s,"transform-transition"),f="".concat(s,"absoluted"),g="".concat(s,"slide-btn"),d="".concat(g,"-container"),v="".concat(s,"fade-in"),w="".concat(s,"fade-out"),x=v+"-strong",b=w+"-strong",S="".concat(s,"opacity-"),P="".concat(S,"1"),A="".concat(s,"source");function T(_){return(T=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m})(_)}function N(_){var m=_.stageIndexes,k=_.core.stageManager,C=_.props.sources.length-1;k.getPreviousSlideIndex=function(){return m.current===0?C:m.current-1},k.getNextSlideIndex=function(){return m.current===C?0:m.current+1},k.updateStageIndexes=C===0?function(){}:C===1?function(){m.current===0?(m.next=1,delete m.previous):(m.previous=0,delete m.next)}:function(){m.previous=k.getPreviousSlideIndex(),m.next=k.getNextSlideIndex()},k.i=C<=2?function(){return!0}:function(O){var I=m.current;if(I===0&&O===C||I===C&&O===0)return!0;var z=I-O;return z===-1||z===0||z===1}}(typeof window>"u"?"undefined":T(window))==="object"&&((n=document.createElement("style")).className=a,n.appendChild(document.createTextNode(".fslightbox-absoluted{position:absolute;top:0;left:0}.fslightbox-fade-in{animation:fslightbox-fade-in .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out{animation:fslightbox-fade-out .3s ease}.fslightbox-fade-in-strong{animation:fslightbox-fade-in-strong .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out-strong{animation:fslightbox-fade-out-strong .3s ease}@keyframes fslightbox-fade-in{from{opacity:.65}to{opacity:1}}@keyframes fslightbox-fade-out{from{opacity:.35}to{opacity:0}}@keyframes fslightbox-fade-in-strong{from{opacity:.3}to{opacity:1}}@keyframes fslightbox-fade-out-strong{from{opacity:1}to{opacity:0}}.fslightbox-cursor-grabbing{cursor:grabbing}.fslightbox-full-dimension{width:100%;height:100%}.fslightbox-open{overflow:hidden;height:100%}.fslightbox-flex-centered{display:flex;justify-content:center;align-items:center}.fslightbox-opacity-0{opacity:0!important}.fslightbox-opacity-1{opacity:1!important}.fslightbox-scrollbarfix{padding-right:17px}.fslightbox-transform-transition{transition:transform .3s}.fslightbox-container::backdrop{display:none}.fslightbox-container{font-family:Arial,sans-serif;position:fixed;top:0;left:0;padding:0;border:0;max-width:none;max-height:none;background:linear-gradient(rgba(30,30,30,.9),#000 1810%);touch-action:pinch-zoom;overflow:hidden;z-index:1000000000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.fslightbox-container *{box-sizing:border-box}.fslightbox-svg{width:20px;height:20px}.fslightbox-svgp{transition:fill .15s ease;fill:#ddd}.fslightbox-nav{height:45px;width:100%;position:absolute;top:0;left:0}.fslightboxsn{z-index:0;display:flex;align-items:center;margin:14px 0 0 11px;font-size:15px;color:#d7d7d7}.fslightboxsn span{display:inline;vertical-align:middle}.fslightboxsl{display:inline-block!important;margin:0 5px;width:1px;height:12px;transform:rotate(15deg);background:white}.fslightbox-toolbar{position:absolute;z-index:3;right:0;top:0;height:100%;display:flex}.fslightbox-toolbar-button{width:45px;height:100%}.fslightbox-fsx{width:24px;height:24px}.fslightboxb{border:0;background:rgba(35,35,35,.65);cursor:pointer}.fslightboxb:focus{outline:0}.fslightboxb:focus .fslightbox-svgp{fill:#fff}.fslightboxb:hover .fslightbox-svgp{fill:#fff}.fslightbox-slide-btn-container{display:flex;align-items:center;padding:12px 12px 12px 6px;position:absolute;top:50%;cursor:pointer;z-index:3;transform:translateY(-50%)}.fslightbox-slide-btn-container-next{right:0;padding-left:12px;padding-right:3px}@media (min-width:476px){.fslightbox-slide-btn-container{padding:22px 22px 22px 6px}.fslightbox-slide-btn-container-next{padding-right:6px!important;padding-left:22px}}@media (min-width:768px){.fslightbox-slide-btn-container{padding:30px 30px 30px 6px}.fslightbox-slide-btn-container-next{padding-left:30px}.fslightbox-slide-btn{padding:10px}}.fslightbox-slide-btn-container:hover .fslightbox-svgp{fill:#fff}.fslightbox-slide-btn{padding:9px}.fslightbox-slide-btn-container-previous{left:0}@media (max-width:475.99px){.fslightbox-slide-btn-container-previous{padding-left:3px}}.fslightbox-down-event-detector{position:absolute;z-index:1}.fslightbox-slide-swiping-hoverer{z-index:4}.fslightbox-invalid-file-wrapper{font-size:22px;color:#eaebeb;margin:auto}.fslightboxv{object-fit:cover}.fslightbox-youtube-iframe{border:0}.fslightboxl{display:block;margin:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:67px;height:67px}.fslightboxl div{box-sizing:border-box;display:block;position:absolute;width:54px;height:54px;margin:6px;border:5px solid;border-color:#999 transparent transparent transparent;border-radius:50%;animation:fslightboxl 1.2s cubic-bezier(.5,0,.5,1) infinite}.fslightboxl div:nth-child(1){animation-delay:-.45s}.fslightboxl div:nth-child(2){animation-delay:-.3s}.fslightboxl div:nth-child(3){animation-delay:-.15s}@keyframes fslightboxl{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fslightbox-source{position:relative;z-index:2;opacity:0}@media (min-width:1200px){.fslightboxsn{margin:15px 0 0 12px;font-size:16px;display:block}.fslightboxsl{margin:0 6px 1px 6px;height:14px}.fslightbox-slide-btn{padding:11px}.fslightbox-svg{width:22px;height:22px}.fslightbox-fsx{width:26px;height:26px}.fslightbox-fso{width:22px;height:22px}.fslightboxl div{width:60px;height:60px;border-width:6px;border-color:#999 transparent transparent transparent;border-radius:50%}}@media (min-width:1600px){.fslightbox-nav{height:50px}.fslightboxsn{display:flex;margin:19px 0 0 16px;font-size:20px}.fslightboxsl{margin:0 7px 1px 7px;height:16px;width:2px;background:#d7d7d7}.fslightbox-toolbar-button{width:50px}.fslightbox-slide-btn{padding:12px}.fslightbox-svg{width:24px;height:24px}.fslightbox-fsx{width:28px;height:28px}.fslightbox-fso{width:24px;height:24px}}")),document.head.appendChild(n));function D(_){var m,k=_.props,C=0,O={};this.getSourceTypeFromLocalStorageByUrl=function(z){return m[z]?m[z]:I(z)},this.handleReceivedSourceTypeForUrl=function(z,M){if(O[M]===!1&&(C--,z!=="invalid"?O[M]=z:delete O[M],C===0)){(function(F,U){for(var R in U)F[R]=U[R]})(m,O);try{localStorage.setItem("fslightbox-types",JSON.stringify(m))}catch{}}};var I=function(z){C++,O[z]=!1};if(k.disableLocalStorage)this.getSourceTypeFromLocalStorageByUrl=function(){},this.handleReceivedSourceTypeForUrl=function(){};else{try{m=JSON.parse(localStorage.getItem("fslightbox-types"))}catch{}m||(m={},this.getSourceTypeFromLocalStorageByUrl=I)}}function L(_,m,k,C){_.data;var O=_.elements.sources,I=k/C,z=0;this.adjustSize=function(){if((z=_.mw/I)<_.mh)return k<_.mw&&(z=C),M();z=C>_.mh?_.mh:C,M()};var M=function(){O[m].style.width=z*I+"px",O[m].style.height=z+"px"}}function se(_,m){var k=this,C=_.collections.sourceSizers,O=_.elements,I=O.sourceAnimationWrappers,z=O.sources,M=_.isl,F=_.props.onSourceLoad,U=_.resolve;function R(X,V){C[m]=U(L,[m,X,V]),C[m].adjustSize()}this.b=function(X,V){z[m].classList.add(P),k.a(),R(X,V),k.b=R},this.a=function(){M[m]=!0,I[m].classList.add(x),I[m].removeChild(I[m].firstChild),F&&F(_,z[m],m)}}function Y(_,m){var k,C=this,O=_.elements.sources,I=_.props,z=(0,_.resolve)(se,[m]);this.handleImageLoad=function(M){var F=M.target,U=F.naturalWidth,R=F.naturalHeight;z.b(U,R)},this.handleVideoLoad=function(M){var F=M.target,U=F.videoWidth,R=F.videoHeight;k=!0,z.b(U,R)},this.handleNotMetaDatedVideoLoad=function(){k||C.handleYoutubeLoad()},this.handleYoutubeLoad=function(M,F){M||(M=1920,F=1080),I.maxYoutubeDimensions&&(M=I.maxYoutubeDimensions.width,F=I.maxYoutubeDimensions.height),z.b(M,F)},this.handleCustomLoad=function(){var M=O[m],F=M.offsetWidth,U=M.offsetHeight;F&&U?z.b(F,U):setTimeout(C.handleCustomLoad)}}function ue(_,m,k){var C=_.elements.sources,O=_.props.customClasses,I=O[m]?O[m]:"";C[m].className=k+" "+I}function ee(_,m){var k=_.elements.sources,C=_.props.customAttributes;for(var O in C[m])k[m].setAttribute(O,C[m][O])}function he(_,m){var k=_.collections.sourceLoadHandlers,C=_.elements,O=C.sources,I=C.sourceAnimationWrappers,z=_.props.sources;O[m]=document.createElement("img"),ue(_,m,A),O[m].src=z[m],O[m].onload=k[m].handleImageLoad,ee(_,m),I[m].appendChild(O[m])}function le(_,m){var k=_.ap,C=_.collections.sourceLoadHandlers,O=_.elements,I=O.sources,z=O.sourceAnimationWrappers,M=_.props,F=M.sources,U=M.videosPosters,R=document.createElement("video"),X=document.createElement("source");I[m]=R,ue(_,m,"".concat(A," fslightboxv")),R.src=F[m],R.onloadedmetadata=function(V){return C[m].handleVideoLoad(V)},R.controls=!0,R.autoplay=k.i(m),ee(_,m),U[m]&&(I[m].poster=U[m]),X.src=F[m],R.appendChild(X),setTimeout(C[m].handleNotMetaDatedVideoLoad,3e3),z[m].appendChild(I[m])}function Q(_,m){var k=_.ap,C=_.collections.sourceLoadHandlers,O=_.elements,I=O.sources,z=O.sourceAnimationWrappers,M=_.props.sources[m],F=M.split("?")[1],U=document.createElement("iframe");I[m]=U,ue(_,m,"".concat(A," ").concat(s,"youtube-iframe")),U.src="https://www.youtube.com/embed/".concat(M.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)[2],"?").concat(F||"").concat(k.i(m)?"&mute=1&autoplay=1":"","&enablejsapi=1"),U.allowFullscreen=!0,ee(_,m),z[m].appendChild(U),C[m].handleYoutubeLoad(parseInt(U.width),parseInt(U.height))}function J(_,m){var k=_.collections.sourceLoadHandlers,C=_.elements,O=C.sources,I=C.sourceAnimationWrappers,z=_.props.sources;O[m]=z[m],ue(_,m,"".concat(O[m].className," ").concat(A)),I[m].appendChild(O[m]),k[m].handleCustomLoad()}function xe(_,m){var k=_.elements,C=k.sources,O=k.sourceAnimationWrappers;_.props.sources,C[m]=document.createElement("div"),C[m].className="".concat(s,"invalid-file-wrapper ").concat(c),C[m].innerHTML="Invalid source",O[m].appendChild(C[m]),new se(_,m).a()}function y(_){var m=_.collections,k=m.sourceLoadHandlers,C=m.sourcesRenderFunctions,O=_.core.sourceDisplayFacade,I=_.resolve;this.runActionsForSourceTypeAndIndex=function(z,M){var F;switch(z!=="invalid"&&(k[M]=I(Y,[M])),z){case"image":F=he;break;case"video":F=le;break;case"youtube":F=Q;break;case"custom":F=J;break;default:F=xe}C[M]=function(){return F(_,M)},O.displaySourcesWhichShouldBeDisplayed()}}function Ce(_,m,k){var C=_.props,O=C.types,I=C.type,z=C.sources;this.getTypeSetByClientForIndex=function(M){var F;return O&&O[M]?F=O[M]:I&&(F=I),F},this.retrieveTypeWithXhrForIndex=function(M){(function(F,U){var R=document.createElement("a");R.href=F;var X=R.hostname;if(X==="www.youtube.com"||X==="youtu.be")return U("youtube");var V=new XMLHttpRequest;V.onreadystatechange=function(){if(V.readyState!==4){if(V.readyState===2){var Z,B=V.getResponseHeader("content-type");switch(B.slice(0,B.indexOf("/"))){case"image":Z="image";break;case"video":Z="video";break;default:Z="invalid"}V.onreadystatechange=null,V.abort(),U(Z)}}else U("invalid")},V.open("GET",F),V.send()})(z[M],function(F){m.handleReceivedSourceTypeForUrl(F,z[M]),k.runActionsForSourceTypeAndIndex(F,M)})}}function rt(_,m){var k=_.core.stageManager,C=_.elements,O=C.smw,I=C.sourceWrappersContainer,z=_.props,M=0,F=document.createElement("div");function U(X){F.style.transform="translateX(".concat(X+M,"px)"),M=0}function R(){return(1+z.slideDistance)*innerWidth}F.className="".concat(f," ").concat(u," ").concat(c),F.s=function(){F.style.display="flex"},F.h=function(){F.style.display="none"},F.a=function(){F.classList.add(h)},F.d=function(){F.classList.remove(h)},F.n=function(){F.style.removeProperty("transform")},F.v=function(X){return M=X,F},F.ne=function(){U(-R())},F.z=function(){U(0)},F.p=function(){U(R())},k.i(m)||F.h(),O[m]=F,I.appendChild(F),function(X,V){var Z=X.elements,B=Z.smw,oe=Z.sourceAnimationWrappers,te=document.createElement("div"),q=document.createElement("div");q.className="fslightboxl";for(var ie=0;ie<3;ie++){var be=document.createElement("div");q.appendChild(be)}te.appendChild(q),B[V].appendChild(te),oe[V]=te}(_,m)}function xt(_,m,k){var C=document.createElementNS("http://www.w3.org/2000/svg","svg"),O="".concat(s,"svg");C.setAttributeNS(null,"class","".concat(O)),C.setAttributeNS(null,"viewBox",m);var I=document.createElementNS("http://www.w3.org/2000/svg","path");return I.setAttributeNS(null,"class","".concat(O,"p")),I.setAttributeNS(null,"d",k),C.appendChild(I),_.appendChild(C),C}function Me(_,m){var k=document.createElement("button");return k.className="fslightboxb ".concat(s,"toolbar-button ").concat(c),k.title=m,_.appendChild(k),k}function $e(_,m){var k=document.createElement("div");k.className="".concat(s,"toolbar"),m.appendChild(k),function(C,O){if(!C.hfs){var I="M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z",z=Me(O);z.title="Enter fullscreen";var M=xt(z,"0 0 18 18",I);C.fso=function(){C.ifs=1,z.title="Exit fullscreen",M.classList.add("".concat(s,"fsx")),M.setAttributeNS(null,"viewBox","0 0 950 1024"),M.firstChild.setAttributeNS(null,"d","M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z")},C.fsx=function(){C.ifs=0,z.title="Enter fullscreen",M.classList.remove("".concat(s,"fsx")),M.setAttributeNS(null,"viewBox","0 0 18 18"),M.firstChild.setAttributeNS(null,"d",I)},z.onclick=C.fs.t}}(_,k),function(C,O){var I=Me(O,"Close");I.onclick=C.core.lightboxCloser.closeLightbox,xt(I,"0 0 24 24","M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z")}(_,k)}function Qe(_){var m=_.props.sources,k=_.elements.container,C=document.createElement("div");C.className="".concat(s,"nav"),k.appendChild(C),$e(_,C),m.length>1&&function(O,I){var z=O.props.sources,M=(O.stageIndexes,document.createElement("div")),F=document.createElement("span"),U=document.createElement("span"),R=document.createElement("span");M.className="fslightboxsn",O.sn=function(X){return F.innerHTML=X},U.className="fslightboxsl",R.innerHTML=z.length,M.appendChild(F),M.appendChild(U),M.appendChild(R),I.appendChild(M)}(_,C)}function De(_,m,k,C){var O=_.elements.container,I=k.charAt(0).toUpperCase()+k.slice(1),z=document.createElement("div");z.className="".concat(d," ").concat(d,"-").concat(k),z.title="".concat(I," slide"),z.onclick=m,function(M,F){var U=document.createElement("button");U.className="fslightboxb ".concat(g," ").concat(c),xt(U,"0 0 20 20",F),M.appendChild(U)}(z,C),O.appendChild(z)}function nt(_){var m=_.core,k=m.lightboxCloser,C=m.slideChangeFacade,O=_.fs;this.listener=function(I){switch(I.key){case"Escape":k.closeLightbox();break;case"ArrowLeft":C.changeToPrevious();break;case"ArrowRight":C.changeToNext();break;case"F11":I.preventDefault(),O.t()}}}function Ze(_){var m=_.elements,k=_.sourcePointerProps,C=_.stageIndexes;function O(I,z){m.smw[I].v(k.swipedX)[z]()}this.runActionsForEvent=function(I){var z,M,F;m.container.contains(m.slideSwipingHoverer)||m.container.appendChild(m.slideSwipingHoverer),z=m.container,M=l,(F=z.classList).contains(M)||F.add(M),k.swipedX=I.screenX-k.downScreenX;var U=C.previous,R=C.next;O(C.current,"z"),U!==void 0&&k.swipedX>0?O(U,"ne"):R!==void 0&&k.swipedX<0&&O(R,"p")}}function ni(_){var m=_.dss,k=_.props.sources,C=_.resolve,O=_.sourcePointerProps,I=C(Ze);k.length===1||m?this.listener=function(){O.swipedX=1}:this.listener=function(z){O.isPointering&&I.runActionsForEvent(z)}}function st(_){var m=_.core.slideIndexChanger,k=_.elements.smw,C=_.stageIndexes,O=_.sws;function I(M){var F=k[C.current];F.a(),F[M]()}function z(M,F){M!==void 0&&(k[M].s(),k[M][F]())}this.runPositiveSwipedXActions=function(){var M=C.previous;if(M===void 0)I("z");else{I("p");var F=C.next;m.changeTo(M);var U=C.previous;O.d(U),O.b(F),I("z"),z(U,"ne")}},this.runNegativeSwipedXActions=function(){var M=C.next;if(M===void 0)I("z");else{I("ne");var F=C.previous;m.changeTo(M);var U=C.next;O.d(U),O.b(F),I("z"),z(U,"p")}}}function Je(_,m){_.contains(m)&&_.removeChild(m)}function ve(_){var m=_.core.lightboxCloser,k=_.dss,C=_.elements,O=_.props,I=_.resolve,z=_.sourcePointerProps,M=I(st);this.runNoSwipeActions=function(){Je(C.container,C.slideSwipingHoverer),z.isSourceDownEventTarget||O.disableBackgroundClose||m.closeLightbox(),z.isPointering=!1},this.runActions=function(){k||(z.swipedX>0?M.runPositiveSwipedXActions():M.runNegativeSwipedXActions()),Je(C.container,C.slideSwipingHoverer),C.container.classList.remove(l),z.isPointering=!1}}function Le(_){var m=_.resolve,k=_.sourcePointerProps,C=m(ve);this.listener=function(){k.isPointering&&(k.swipedX?C.runActions():C.runNoSwipeActions())}}function ft(_){var m=this,k=_.core,C=k.globalEventsController,O=k.scrollbarRecompensor,I=(_.data,_.e),z=_.elements,M=_.fs,F=_.props,U=_.sourcePointerProps,R=_.ud;this.runActions=function(){m.i=1,z.container.classList.add(b),C.removeListeners(),F.exitFullscreenOnClose&&_.ifs&&M.x(),setTimeout(function(){m.i=0,U.isPointering=!1,z.container.classList.remove(b),document.documentElement.classList.remove(p),O.removeRecompense(),R&&z.container.close(),document.body.removeChild(z.container),I("onClose")},270)}}function ot(_,m){var k=_.classList;k.contains(m)&&k.remove(m)}function E(_){var m,k,C,O,I,z,M,F,U;(function(R){var X=R.ap,V=R.elements.sources,Z=R.props,B=Z.autoplay,oe=Z.autoplays;function te(q,ie){if(ie!="play"||X.i(q)){var be=V[q];if(be){var ae=be.tagName;if(ae=="VIDEO")be[ie]();else if(ae=="IFRAME"){var pe=be.contentWindow;pe&&pe.postMessage('{"event":"command","func":"'.concat(ie,'Video","args":""}'),"*")}}}}X.i=function(q){return oe[q]||B&&oe[q]!=0},X.p=function(q){te(q,"play")},X.c=function(q,ie){te(q,"pause"),te(ie,"play")}})(_),function(R){R.data;var X=R.fs,V=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],Z=document.documentElement,B=Z.requestFullscreen;function oe(q){for(var ie=0;ieinnerHeight&&(document.body.style.marginRight=X.scrollbarWidth+"px")}V.addRecompense=function(){document.readyState==="complete"?Z():addEventListener("load",function(){Z(),V.addRecompense=Z})},V.removeRecompense=function(){document.body.style.removeProperty("margin-right")}}(_),function(R){var X=R.core,V=X.slideChangeFacade,Z=X.slideIndexChanger,B=X.stageManager;R.props.sources.length>1?(V.changeToPrevious=function(){Z.jumpTo(B.getPreviousSlideIndex())},V.changeToNext=function(){Z.jumpTo(B.getNextSlideIndex())}):(V.changeToPrevious=function(){},V.changeToNext=function(){})}(_),function(R){var X=R.ap,V=(R.componentsServices,R.core),Z=V.slideIndexChanger,B=V.sourceDisplayFacade,oe=V.stageManager,te=R.elements,q=te.smw,ie=te.sourceAnimationWrappers,be=R.isl,ae=R.stageIndexes,pe=R.sws;Z.changeTo=function(Te){X.c(ae.current,Te),ae.current=Te,oe.updateStageIndexes(),R.sn(Te+1),B.displaySourcesWhichShouldBeDisplayed()},Z.jumpTo=function(Te){var K=ae.previous,W=ae.current,ce=ae.next,H=be[W],re=be[Te];Z.changeTo(Te);for(var j=0;j992?R.mw=te*innerWidth:R.mw=innerWidth,R.mh=te*innerHeight;for(var q=0;q0)&&(_.loc=1),E(_),_.fs.i(),R.container=document.createElement(_.ud?"dialog":"div"),R.container.className="".concat(s,"container ").concat(u," ").concat(x),R.container.setAttribute("tabindex","0"),function(ae){var pe=ae.elements;pe.slideSwipingHoverer=document.createElement("div"),pe.slideSwipingHoverer.className="".concat(s,"slide-swiping-hoverer ").concat(u," ").concat(f)}(_),Qe(_),function(ae){var pe=ae.core.sourcesPointerDown,Te=ae.elements,K=ae.props.sources,W=document.createElement("div");W.className="".concat(f," ").concat(u),Te.container.appendChild(W),W.addEventListener("pointerdown",pe.listener),Te.sourceWrappersContainer=W;for(var ce=0;ce1&&(te=(oe=_).core.slideChangeFacade,De(oe,te.changeToPrevious,"previous","M18.271,9.212H3.615l4.184-4.184c0.306-0.306,0.306-0.801,0-1.107c-0.306-0.306-0.801-0.306-1.107,0L1.21,9.403C1.194,9.417,1.174,9.421,1.158,9.437c-0.181,0.181-0.242,0.425-0.209,0.66c0.005,0.038,0.012,0.071,0.022,0.109c0.028,0.098,0.075,0.188,0.142,0.271c0.021,0.026,0.021,0.061,0.045,0.085c0.015,0.016,0.034,0.02,0.05,0.033l5.484,5.483c0.306,0.307,0.801,0.307,1.107,0c0.306-0.305,0.306-0.801,0-1.105l-4.184-4.185h14.656c0.436,0,0.788-0.353,0.788-0.788S18.707,9.212,18.271,9.212z"),De(oe,te.changeToNext,"next","M1.729,9.212h14.656l-4.184-4.184c-0.307-0.306-0.307-0.801,0-1.107c0.305-0.306,0.801-0.306,1.106,0l5.481,5.482c0.018,0.014,0.037,0.019,0.053,0.034c0.181,0.181,0.242,0.425,0.209,0.66c-0.004,0.038-0.012,0.071-0.021,0.109c-0.028,0.098-0.075,0.188-0.143,0.271c-0.021,0.026-0.021,0.061-0.045,0.085c-0.015,0.016-0.034,0.02-0.051,0.033l-5.483,5.483c-0.306,0.307-0.802,0.307-1.106,0c-0.307-0.305-0.307-0.801,0-1.105l4.184-4.185H1.729c-0.436,0-0.788-0.353-0.788-0.788S1.293,9.212,1.729,9.212z")),function(ae){for(var pe=ae.props.sources,Te=ae.resolve,K=Te(D),W=Te(y),ce=Te(Ce,[K,W]),H=0;H0&&arguments[0]!==void 0?arguments[0]:0,te=X.previous,q=X.current,ie=X.next;X.current=oe,Z||N(_),z.updateStageIndexes(),Z?(V.c(),V.a(),V.b(te),V.b(q),V.b(ie),U("onShow")):B(),I.displaySourcesWhichShouldBeDisplayed(),_.sn(oe+1),document.body.appendChild(R.container),_.ud&&R.container.showModal(),R.container.focus(),document.documentElement.classList.add(p),O.addRecompense(),C.attachListeners(),M.runActions(),R.smw[oe].n(),m.p(oe),U("onOpen")}}function $t(_,m,k){return($t=si()?Reflect.construct.bind():function(C,O,I){var z=[null];z.push.apply(z,O);var M=new(Function.bind.apply(C,z));return I&&Oe(M,I.prototype),M}).apply(null,arguments)}function si(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Oe(_,m){return(Oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,C){return k.__proto__=C,k})(_,m)}function ti(_){return function(m){if(Array.isArray(m))return Gt(m)}(_)||function(m){if(typeof Symbol<"u"&&m[Symbol.iterator]!=null||m["@@iterator"]!=null)return Array.from(m)}(_)||function(m,k){if(m){if(typeof m=="string")return Gt(m,k);var C=Object.prototype.toString.call(m).slice(8,-1);if(C==="Object"&&m.constructor&&(C=m.constructor.name),C==="Map"||C==="Set")return Array.from(m);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return Gt(m,k)}}(_)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Gt(_,m){(m==null||m>_.length)&&(m=_.length);for(var k=0,C=new Array(m);k1&&arguments[1]!==void 0?arguments[1]:[];return k.unshift(_),$t(m,ti(k))},this.collections={sourceLoadHandlers:[],sourcesRenderFunctions:[],sourceSizers:[]},this.core={globalEventsController:{},lightboxCloser:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},sourcesPointerDown:{},sourceDisplayFacade:{},stageManager:{},windowResizeActioner:{}},this.ap={},this.fs={},this.sws={},this.e=function(m){_.props[m]&&_.props[m](_)},bt(this),this.close=function(){return _.core.lightboxCloser.closeLightbox()}},window.fsLightboxInstances={},oi(),window.refreshFsLightbox=function(){for(var _ in fsLightboxInstances){var m=fsLightboxInstances[_].props;fsLightboxInstances[_]=new FsLightbox,fsLightboxInstances[_].props=m,fsLightboxInstances[_].props.sources=[],fsLightboxInstances[_].elements.a=[]}oi()}}])})})(fc);ki.registerPlugin(fe);(function(o,e){const i=function(){e.path.isFront;const t=document.querySelector('main[role="main"]'),r=ki.matchMedia(),s=`(min-width: ${getComputedStyle(document.documentElement).getPropertyValue("--bp-tablette").trim()||"768px"})`;let a=null;function l(){u(),c(),p(),f(),h(),g(),document.addEventListener("leshed:titles-ready",()=>fe.refresh(),{once:!0})}function u(){document.getElementById("burger-btn").parentElement.addEventListener("click",function(v){this.firstElementChild.toggleAttribute("opened"),this.firstElementChild.nextElementSibling.toggleAttribute("opened")})}function c(){const d=document.querySelector('main[role="main"]'),v=d&&d.querySelector(".layout-content");if(!(!d||!v))return a=new cc({wrapper:d,content:v,duration:1.2,smoothWheel:!0}),a.on("scroll",fe.update),ki.ticker.add(w=>a.raf(w*1e3)),ki.ticker.lagSmoothing(0),a}function p(){const d=document.querySelector(".layout--twocol-section--50-50 .layout__region--first"),v=document.querySelector(".layout--twocol-section--50-50 .layout__region--second");!t||!d||!v||r.add(s,()=>([d,v].forEach(w=>{ki.to(w,{y:()=>{const x=t.clientHeight,b=t.scrollHeight-t.clientHeight,S=Math.max(0,w.offsetHeight-x);return b-S},ease:"none",scrollTrigger:{scroller:t,start:0,end:"max",scrub:!0,invalidateOnRefresh:!0}})}),()=>{}))}function h(){const d=.4,v=document.querySelector("article.node-type-projet.view-mode-full .cols, article.node-type-evenement.view-mode-full .cols"),w=v&&v.querySelector(".col.left"),x=v&&v.querySelector(".col.right .field_images"),b=w&&w.querySelector(".spacer"),S=b&&parseFloat(getComputedStyle(b).height)||0,P=document.querySelector(" article.node-type-projet.view-mode-full .cols>.col.left>header, article.node-type-evenement.view-mode-full .cols>.col.left>header ");!P&&!(v&&w)||requestAnimationFrame(()=>{requestAnimationFrame(()=>{r.add(s,()=>{const A=()=>t.clientHeight,T=()=>P?P.offsetHeight*(1-d):0,N=()=>b?Math.max(0,(parseFloat(getComputedStyle(b).height)||0)-S):0,D=()=>w?w.offsetHeight-N():0,L=()=>{if(!x)return 0;let J=0;return x.querySelectorAll(".field-item").forEach(xe=>{J+=xe.offsetHeight}),J},se=()=>{if(!x)return 0;const J=x.querySelector(".field-item:last-child");return J?J.offsetHeight:0},Y=()=>{if(!b||!P)return;const J=T();if(t.scrollHeight-t.clientHeight{if(!x)return;const J=Math.max(0,w.offsetHeight-L(),A()-se());x.style.setProperty("--sticky-extent",J+"px")},ee=()=>{Y(),ue(),t.offsetHeight,a&&a.resize()},he=()=>Math.max(0,D()-A(),T());ee(),P&&ki.to(P,{scale:d,y:T,ease:"none",scrollTrigger:{scroller:t,start:0,end:T,scrub:!0,invalidateOnRefresh:!0}}),v&&w&&ki.fromTo(w,{y:0},{y:()=>t.scrollHeight-t.clientHeight-he(),ease:"none",scrollTrigger:{scroller:t,start:he,end:"max",scrub:!0,invalidateOnRefresh:!0}});const le=()=>{ee(),fe.refresh()},Q=x?Array.from(x.querySelectorAll("img")):[];return Q.forEach(J=>{J.complete||J.addEventListener("load",le)}),window.addEventListener("load",le),document.fonts&&document.fonts.ready&&document.fonts.ready.then(le),()=>{Q.forEach(J=>J.removeEventListener("load",le)),window.removeEventListener("load",le),b&&(b.style.height=""),x&&x.style.removeProperty("--sticky-extent")}})})})}function f(){let d=document.querySelectorAll("article.node-type-projet.view-mode-full .col.right .field_images.multiple .field-item a");for(const v of d)v.setAttribute("data-fslightbox","gallery");window.refreshFsLightbox()}function g(){const d=document.querySelectorAll(".views-archives-projets .view-content");if(!d.length)return;const v=8,w=b=>{const S=b.querySelectorAll(":scope > .views-row");if(!S.length)return;const P=parseFloat(getComputedStyle(b).rowGap)||0;b.style.gridAutoFlow="row dense",S.forEach(A=>{const T=getComputedStyle(A),N=A.offsetHeight+(parseFloat(T.marginTop)||0)+(parseFloat(T.marginBottom)||0),D=Math.max(1,Math.ceil((N+P)/(v+P)));A._masonrySpan!==D&&(A._masonrySpan=D,A.style.gridRowEnd=`span ${D}`)}),b.style.gridAutoRows=`${v}px`},x=b=>{b._masonryRaf||(b._masonryRaf=requestAnimationFrame(()=>{b._masonryRaf=null,w(b)}))};d.forEach(b=>{new ResizeObserver(()=>x(b)).observe(b);const S=new ResizeObserver(()=>x(b));b.querySelectorAll(":scope > .views-row > article").forEach(P=>S.observe(P)),b.addEventListener("load",()=>x(b),!0),document.fonts&&document.fonts.ready&&document.fonts.ready.then(()=>x(b)),document.addEventListener("leshed:titles-ready",()=>x(b),{once:!0}),x(b)})}l()};requestAnimationFrame(()=>setTimeout(i,0))})(Drupal,drupalSettings);