function er(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function Io(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}/*! * GSAP 3.12.2 * https://greensock.com * * @license Copyright 2008-2023, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var vt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},gi={duration:.5,overwrite:!1,delay:0},Ds,Xe,he,Ct=1e8,re=1/Ct,ss=Math.PI*2,uu=ss/4,lu=0,Bo=Math.sqrt,fu=Math.cos,cu=Math.sin,Oe=function(e){return typeof e=="string"},_e=function(e){return typeof e=="function"},or=function(e){return typeof e=="number"},Es=function(e){return typeof e>"u"},Qt=function(e){return typeof e=="object"},st=function(e){return e!==!1},Rs=function(){return typeof window<"u"},rn=function(e){return _e(e)||Oe(e)},No=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ve=Array.isArray,os=/(?:-?\.?\d|\.)+/gi,Yo=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,oi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Un=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Xo=/[+-]=-?[.\d]+/,Vo=/[^,'"\[\]\s]+/gi,hu=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ue,Tt,as,As,xt={},kn={},Uo,$o=function(e){return(kn=Hr(e,xt))&&ut},Fs=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Pn=function(e,r){return!r&&console.warn(e)},Wo=function(e,r){return e&&(xt[e]=r)&&kn&&(kn[e]=r)||xt},Wi=function(){return 0},_u={suppressEvents:!0,isStart:!0,kill:!1},gn={suppressEvents:!0,kill:!1},du={suppressEvents:!0},zs={},mr=[],us={},Go,gt={},$n={},ro=30,mn=[],Ls="",Is=function(e){var r=e[0],t,i;if(Qt(r)||_e(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(i=mn.length;i--&&!mn[i].targetTest(r););t=mn[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new ga(e[i],t)))||e.splice(i,1);return e},Yr=function(e){return e._gsap||Is(kt(e))[0]._gsap},Ho=function(e,r,t){return(t=e[r])&&_e(t)?e[r]():Es(t)&&e.getAttribute&&e.getAttribute(r)||t},ot=function(e,r){return(e=e.split(",")).forEach(r)||e},ge=function(e){return Math.round(e*1e5)/1e5||0},Fe=function(e){return Math.round(e*1e7)/1e7||0},fi=function(e,r){var t=r.charAt(0),i=parseFloat(r.substr(2));return e=parseFloat(e),t==="+"?e+i:t==="-"?e-i:t==="*"?e*i:e/i},pu=function(e,r){for(var t=r.length,i=0;e.indexOf(r[i])<0&&++io;)s=s._prev;return s?(r._next=s._next,s._next=r):(r._next=e[t],e[t]=r),r._next?r._next._prev=r:e[i]=r,r._prev=s,r.parent=r._dp=e,r},Bn=function(e,r,t,i){t===void 0&&(t="_first"),i===void 0&&(i="_last");var n=r._prev,s=r._next;n?n._next=s:e[t]===r&&(e[t]=s),s?s._prev=n:e[i]===r&&(e[i]=n),r._next=r._prev=r.parent=null},xr=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Xr=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var t=e;t;)t._dirty=1,t=t.parent;return e},yu=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},ls=function(e,r,t,i){return e._startAt&&(Xe?e._startAt.revert(gn):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,i))},vu=function a(e){return!e||e._ts&&a(e.parent)},no=function(e){return e._repeat?mi(e._tTime,e=e.duration()+e._rDelay)*e:0},mi=function(e,r){var t=Math.floor(e/=r);return e&&t===e?t-1:t},Dn=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},Nn=function(e){return e._end=Fe(e._start+(e._tDur/Math.abs(e._ts||e._rts||re)||0))},Yn=function(e,r){var t=e._dp;return t&&t.smoothChildTiming&&e._ts&&(e._start=Fe(t._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),Nn(e),t._dirty||Xr(t,e)),e},Jo=function(e,r){var t;if((r._time||!r._dur&&r._initted||r._startre)&&r.render(t,!0)),Xr(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&t.totalTime(t._tTime),t=t._dp;e._zTime=-re}},Gt=function(e,r,t,i){return r.parent&&xr(r),r._start=Fe((or(t)?t:t||e!==ue?bt(e,t,r):e._time)+r._delay),r._end=Fe(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),Zo(e,r,"_first","_last",e._sort?"_start":0),fs(r)||(e._recent=r),i||Jo(e,r),e._ts<0&&Yn(e,e._tTime),e},jo=function(e,r){return(xt.ScrollTrigger||Fs("scrollTrigger",r))&&xt.ScrollTrigger.create(r,e)},ea=function(e,r,t,i,n){if(Ns(e,r,n),!e._initted)return 1;if(!t&&e._pt&&!Xe&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Go!==mt.frame)return mr.push(e),e._lazy=[n,i],1},xu=function a(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||a(r))},fs=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},bu=function(e,r,t,i){var n=e.ratio,s=r<0||!r&&(!e._start&&xu(e)&&!(!e._initted&&fs(e))||(e._ts<0||e._dp._ts<0)&&!fs(e))?0:1,o=e._rDelay,u=0,l,f,d;if(o&&e._repeat&&(u=ji(0,e._tDur,r),f=mi(u,o),e._yoyo&&f&1&&(s=1-s),f!==mi(e._tTime,o)&&(n=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==n||Xe||i||e._zTime===re||!r&&e._zTime){if(!e._initted&&ea(e,r,i,t,u))return;for(d=e._zTime,e._zTime=r||(t?re:0),t||(t=r&&!d),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=u,l=e._pt;l;)l.r(s,l.d),l=l._next;r<0&&ls(e,r,t,!0),e._onUpdate&&!t&&Pt(e,"onUpdate"),u&&e._repeat&&!t&&e.parent&&Pt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===s&&(s&&xr(e,1),!t&&!Xe&&(Pt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},Tu=function(e,r,t){var i;if(t>r)for(i=e._first;i&&i._start<=t;){if(i.data==="isPause"&&i._start>r)return i;i=i._next}else for(i=e._last;i&&i._start>=t;){if(i.data==="isPause"&&i._start0&&!i&&Yn(e,e._tTime=e._tDur*o),e.parent&&Nn(e),t||Xr(e.parent,e),e},so=function(e){return e instanceof nt?Xr(e):yi(e,e._dur)},wu={_start:0,endTime:Wi,totalDuration:Wi},bt=function a(e,r,t){var i=e.labels,n=e._recent||wu,s=e.duration()>=Ct?n.endTime(!1):e._dur,o,u,l;return Oe(r)&&(isNaN(r)||r in i)?(u=r.charAt(0),l=r.substr(-1)==="%",o=r.indexOf("="),u==="<"||u===">"?(o>=0&&(r=r.replace(/=/,"")),(u==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(r.substr(1))||0)*(l?(o<0?n:t).totalDuration()/100:1)):o<0?(r in i||(i[r]=s),i[r]):(u=parseFloat(r.charAt(o-1)+r.substr(o+1)),l&&t&&(u=u/100*(Ve(t)?t[0]:t).totalDuration()),o>1?a(e,r.substr(0,o-1),t)+u:s+u)):r==null?s:+r},zi=function(e,r,t){var i=or(r[1]),n=(i?2:1)+(e<2?0:1),s=r[n],o,u;if(i&&(s.duration=r[1]),s.parent=t,e){for(o=s,u=t;u&&!("immediateRender"in o);)o=u.vars.defaults||{},u=st(u.vars.inherit)&&u.parent;s.immediateRender=st(o.immediateRender),e<2?s.runBackwards=1:s.startAt=r[n-1]}return new be(r[0],s,r[n+1])},wr=function(e,r){return e||e===0?r(e):r},ji=function(e,r,t){return tr?r:t},Ye=function(e,r){return!Oe(e)||!(r=hu.exec(e))?"":r[1]},Su=function(e,r,t){return wr(t,function(i){return ji(e,r,i)})},cs=[].slice,ta=function(e,r){return e&&Qt(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&Qt(e[0]))&&!e.nodeType&&e!==Tt},Cu=function(e,r,t){return t===void 0&&(t=[]),e.forEach(function(i){var n;return Oe(i)&&!r||ta(i,1)?(n=t).push.apply(n,kt(i)):t.push(i)})||t},kt=function(e,r,t){return he&&!r&&he.selector?he.selector(e):Oe(e)&&!t&&(as||!vi())?cs.call((r||As).querySelectorAll(e),0):Ve(e)?Cu(e,t):ta(e)?cs.call(e,0):e?[e]:[]},hs=function(e){return e=kt(e)[0]||Pn("Invalid scope")||{},function(r){var t=e.current||e.nativeElement||e;return kt(r,t.querySelectorAll?t:t===e?Pn("Invalid scope")||As.createElement("div"):e)}},ra=function(e){return e.sort(function(){return .5-Math.random()})},ia=function(e){if(_e(e))return e;var r=Qt(e)?e:{each:e},t=Vr(r.ease),i=r.from||0,n=parseFloat(r.base)||0,s={},o=i>0&&i<1,u=isNaN(i)||o,l=r.axis,f=i,d=i;return Oe(i)?f=d={center:.5,edges:.5,end:1}[i]||0:!o&&u&&(f=i[0],d=i[1]),function(h,c,p){var _=(p||r).length,m=s[_],b,x,w,v,S,k,T,P,C;if(!m){if(C=r.grid==="auto"?0:(r.grid||[1,Ct])[1],!C){for(T=-Ct;T<(T=p[C++].getBoundingClientRect().left)&&C<_;);C--}for(m=s[_]=[],b=u?Math.min(C,_)*f-.5:i%C,x=C===Ct?0:u?_*d/C-.5:i/C|0,T=0,P=Ct,k=0;k<_;k++)w=k%C-b,v=x-(k/C|0),m[k]=S=l?Math.abs(l==="y"?v:w):Bo(w*w+v*v),S>T&&(T=S),S_?_-1:l?l==="y"?_/C:C:Math.max(C,_/C))||0)*(i==="edges"?-1:1),m.b=_<0?n-_:n,m.u=Ye(r.amount||r.each)||0,t=t&&_<0?_a(t):t}return _=(m[h]-m.min)/m.max||0,Fe(m.b+(t?t(_):_)*m.v)+m.u}},_s=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(t){var i=Fe(Math.round(parseFloat(t)/e)*e*r);return(i-i%1)/r+(or(t)?0:Ye(t))}},na=function(e,r){var t=Ve(e),i,n;return!t&&Qt(e)&&(i=t=e.radius||Ct,e.values?(e=kt(e.values),(n=!or(e[0]))&&(i*=i)):e=_s(e.increment)),wr(r,t?_e(e)?function(s){return n=e(s),Math.abs(n-s)<=i?n:s}:function(s){for(var o=parseFloat(n?s.x:s),u=parseFloat(n?s.y:0),l=Ct,f=0,d=e.length,h,c;d--;)n?(h=e[d].x-o,c=e[d].y-u,h=h*h+c*c):h=Math.abs(e[d]-o),hi?n-s:s)})},Gi=function(e){for(var r=0,t="",i,n,s,o;~(i=e.indexOf("random(",r));)s=e.indexOf(")",i),o=e.charAt(i+7)==="[",n=e.substr(i+7,s-i-7).match(o?Vo:os),t+=e.substr(r,i-r)+sa(o?n:+n[0],o?0:+n[1],+n[2]||1e-5),r=s+1;return t+e.substr(r,e.length-r)},aa=function(e,r,t,i,n){var s=r-e,o=i-t;return wr(n,function(u){return t+((u-e)/s*o||0)})},Eu=function a(e,r,t,i){var n=isNaN(e+r)?0:function(c){return(1-c)*e+c*r};if(!n){var s=Oe(e),o={},u,l,f,d,h;if(t===!0&&(i=1)&&(t=null),s)e={p:e},r={p:r};else if(Ve(e)&&!Ve(r)){for(f=[],d=e.length,h=d-2,l=1;l(o=Math.abs(o))&&(u=s,n=o);return u},Pt=function(e,r,t){var i=e.vars,n=i[r],s=he,o=e._ctx,u,l,f;if(n)return u=i[r+"Params"],l=i.callbackScope||e,t&&mr.length&&On(),o&&(he=o),f=u?n.apply(l,u):n.call(l),he=s,f},Mi=function(e){return xr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Xe),e.progress()<1&&Pt(e,"onInterrupt"),e},ai,ua=[],la=function(e){if(Rs()&&e){e=!e.name&&e.default||e;var r=e.name,t=_e(e),i=r&&!t&&e.init?function(){this._props=[]}:e,n={init:Wi,render:Vs,add:Bs,kill:Hu,modifier:Gu,rawVars:0},s={targetTest:0,get:0,getSetter:Xs,aliases:{},register:0};if(vi(),e!==i){if(gt[r])return;Mt(i,Mt(Mn(e,n),s)),Hr(i.prototype,Hr(n,Mn(e,s))),gt[i.prop=r]=i,e.targetTest&&(mn.push(i),zs[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}Wo(r,i),e.register&&e.register(ut,i,at)}else e&&ua.push(e)},te=255,Di={aqua:[0,te,te],lime:[0,te,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,te],navy:[0,0,128],white:[te,te,te],olive:[128,128,0],yellow:[te,te,0],orange:[te,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[te,0,0],pink:[te,192,203],cyan:[0,te,te],transparent:[te,te,te,0]},Wn=function(e,r,t){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(t-r)*e*6:e<.5?t:e*3<2?r+(t-r)*(2/3-e)*6:r)*te+.5|0},fa=function(e,r,t){var i=e?or(e)?[e>>16,e>>8&te,e&te]:0:Di.black,n,s,o,u,l,f,d,h,c,p;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Di[e])i=Di[e];else if(e.charAt(0)==="#"){if(e.length<6&&(n=e.charAt(1),s=e.charAt(2),o=e.charAt(3),e="#"+n+n+s+s+o+o+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&te,i&te,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&te,e&te]}else if(e.substr(0,3)==="hsl"){if(i=p=e.match(os),!r)u=+i[0]%360/360,l=+i[1]/100,f=+i[2]/100,s=f<=.5?f*(l+1):f+l-f*l,n=f*2-s,i.length>3&&(i[3]*=1),i[0]=Wn(u+1/3,n,s),i[1]=Wn(u,n,s),i[2]=Wn(u-1/3,n,s);else if(~e.indexOf("="))return i=e.match(Yo),t&&i.length<4&&(i[3]=1),i}else i=e.match(os)||Di.transparent;i=i.map(Number)}return r&&!p&&(n=i[0]/te,s=i[1]/te,o=i[2]/te,d=Math.max(n,s,o),h=Math.min(n,s,o),f=(d+h)/2,d===h?u=l=0:(c=d-h,l=f>.5?c/(2-d-h):c/(d+h),u=d===n?(s-o)/c+(se&&(t+=b-r),i+=b,S=i-t,w=S-s,(w>0||x)&&(k=++d.frame,h=S-d.time*1e3,d.time=S=S/1e3,s+=w+(w>=n?4:n-w),v=1),x||(u=l(_)),v)for(c=0;c=b&&c--},_listeners:o},d}(),vi=function(){return!Hi&&mt.wake()},G={},Au=/^[\d.\-M][\d.\-,\s]/,Fu=/["']/g,zu=function(e){for(var r={},t=e.substr(1,e.length-3).split(":"),i=t[0],n=1,s=t.length,o,u,l;n1&&t.config?t.config.apply(null,~e.indexOf("{")?[zu(r[1])]:Lu(e).split(",").map(Ko)):G._CE&&Au.test(e)?G._CE("",e):t},_a=function(e){return function(r){return 1-e(1-r)}},da=function a(e,r){for(var t=e._first,i;t;)t instanceof nt?a(t,r):t.vars.yoyoEase&&(!t._yoyo||!t._repeat)&&t._yoyo!==r&&(t.timeline?a(t.timeline,r):(i=t._ease,t._ease=t._yEase,t._yEase=i,t._yoyo=r)),t=t._next},Vr=function(e,r){return e&&(_e(e)?e:G[e]||Iu(e))||r},Zr=function(e,r,t,i){t===void 0&&(t=function(u){return 1-r(1-u)}),i===void 0&&(i=function(u){return u<.5?r(u*2)/2:1-r((1-u)*2)/2});var n={easeIn:r,easeOut:t,easeInOut:i},s;return ot(e,function(o){G[o]=xt[o]=n,G[s=o.toLowerCase()]=t;for(var u in n)G[s+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=G[o+"."+u]=n[u]}),n},pa=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},Gn=function a(e,r,t){var i=r>=1?r:1,n=(t||(e?.3:.45))/(r<1?r:1),s=n/ss*(Math.asin(1/i)||0),o=function(f){return f===1?1:i*Math.pow(2,-10*f)*cu((f-s)*n)+1},u=e==="out"?o:e==="in"?function(l){return 1-o(1-l)}:pa(o);return n=ss/n,u.config=function(l,f){return a(e,l,f)},u},Hn=function a(e,r){r===void 0&&(r=1.70158);var t=function(s){return s?--s*s*((r+1)*s+r)+1:0},i=e==="out"?t:e==="in"?function(n){return 1-t(1-n)}:pa(t);return i.config=function(n){return a(e,n)},i};ot("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var r=e<5?e+1:e;Zr(a+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(t*2,r)/2:1-Math.pow((1-t)*2,r)/2})});G.Linear.easeNone=G.none=G.Linear.easeIn;Zr("Elastic",Gn("in"),Gn("out"),Gn());(function(a,e){var r=1/e,t=2*r,i=2.5*r,n=function(o){return o0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,yi(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,i){if(vi(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Yn(this,t),!n._dp||n.parent||Jo(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)&&Gt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===re||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),qo(this,t,i)),this},e.time=function(t,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+no(this))%(this._dur+this._rDelay)||(t?this._dur:0),i):this._time},e.totalProgress=function(t,i){return arguments.length?this.totalTime(this.totalDuration()*t,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-t:t)+no(this),i):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,i):this._repeat?mi(this._tTime,n)+1:1},e.timeScale=function(t){if(!arguments.length)return this._rts===-re?0:this._rts;if(this._rts===t)return this;var i=this.parent&&this._ts?Dn(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-re?0:this._rts,this.totalTime(ji(-Math.abs(this._delay),this._tDur,i),!0),Nn(this),yu(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):(vi(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==re&&(this._tTime-=re)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Gt(i,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(st(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var i=this.parent||this._dp;return i?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Dn(i.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){t===void 0&&(t=du);var i=Xe;return Xe=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),this.data!=="nested"&&t.kill!==!1&&this.kill(),Xe=i,this},e.globalTime=function(t){for(var i=this,n=arguments.length?t:i.rawTime();i;)n=i._start+n/(i._ts||1),i=i._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0:this._sat.globalTime(t):n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,so(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var i=this._time;return this._rDelay=t,so(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,i){return this.totalTime(bt(this,t),st(i))},e.restart=function(t,i){return this.play().totalTime(t?-this._delay:0,st(i))},e.play=function(t,i){return t!=null&&this.seek(t,i),this.reversed(!1).paused(!1)},e.reverse=function(t,i){return t!=null&&this.seek(t||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(t,i){return t!=null&&this.seek(t,i),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?-re:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-re,this},e.isActive=function(){var t=this.parent||this._dp,i=this._start,n;return!!(!t||this._ts&&this._initted&&t.isActive()&&(n=t.rawTime(!0))>=i&&n1?(i?(s[t]=i,n&&(s[t+"Params"]=n),t==="onUpdate"&&(this._onUpdate=i)):delete s[t],this):s[t]},e.then=function(t){var i=this;return new Promise(function(n){var s=_e(t)?t:Qo,o=function(){var l=i.then;i.then=null,_e(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=l),n(s),i.then=l};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?o():i._prom=o})},e.kill=function(){Mi(this)},a}();Mt(qi.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:-re,_prom:0,_ps:!1,_rts:1});var nt=function(a){Io(e,a);function e(t,i){var n;return t===void 0&&(t={}),n=a.call(this,t)||this,n.labels={},n.smoothChildTiming=!!t.smoothChildTiming,n.autoRemoveChildren=!!t.autoRemoveChildren,n._sort=st(t.sortChildren),ue&&Gt(t.parent||ue,er(n),i),t.reversed&&n.reverse(),t.paused&&n.paused(!0),t.scrollTrigger&&jo(er(n),t.scrollTrigger),n}var r=e.prototype;return r.to=function(i,n,s){return zi(0,arguments,this),this},r.from=function(i,n,s){return zi(1,arguments,this),this},r.fromTo=function(i,n,s,o){return zi(2,arguments,this),this},r.set=function(i,n,s){return n.duration=0,n.parent=this,Fi(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new be(i,n,bt(this,s),1),this},r.call=function(i,n,s){return Gt(this,be.delayedCall(0,i,n),s)},r.staggerTo=function(i,n,s,o,u,l,f){return s.duration=n,s.stagger=s.stagger||o,s.onComplete=l,s.onCompleteParams=f,s.parent=this,new be(i,s,bt(this,u)),this},r.staggerFrom=function(i,n,s,o,u,l,f){return s.runBackwards=1,Fi(s).immediateRender=st(s.immediateRender),this.staggerTo(i,n,s,o,u,l,f)},r.staggerFromTo=function(i,n,s,o,u,l,f,d){return o.startAt=s,Fi(o).immediateRender=st(o.immediateRender),this.staggerTo(i,n,o,u,l,f,d)},r.render=function(i,n,s){var o=this._time,u=this._dirty?this.totalDuration():this._tDur,l=this._dur,f=i<=0?0:Fe(i),d=this._zTime<0!=i<0&&(this._initted||!l),h,c,p,_,m,b,x,w,v,S,k,T;if(this!==ue&&f>u&&i>=0&&(f=u),f!==this._tTime||s||d){if(o!==this._time&&l&&(f+=this._time-o,i+=this._time-o),h=f,v=this._start,w=this._ts,b=!w,d&&(l||(o=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(k=this._yoyo,m=l+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(m*100+i,n,s);if(h=Fe(f%m),f===u?(_=this._repeat,h=l):(_=~~(f/m),_&&_===f/m&&(h=l,_--),h>l&&(h=l)),S=mi(this._tTime,m),!o&&this._tTime&&S!==_&&this._tTime-S*m-this._dur<=0&&(S=_),k&&_&1&&(h=l-h,T=1),_!==S&&!this._lock){var P=k&&S&1,C=P===(k&&_&1);if(_=o&&i>=0)for(c=this._first;c;){if(p=c._next,(c._act||h>=c._start)&&c._ts&&x!==c){if(c.parent!==this)return this.render(i,n,s);if(c.render(c._ts>0?(h-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(h-c._start)*c._ts,n,s),h!==this._time||!this._ts&&!b){x=0,p&&(f+=this._zTime=-re);break}}c=p}else{c=this._last;for(var O=i<0?i:h;c;){if(p=c._prev,(c._act||O<=c._end)&&c._ts&&x!==c){if(c.parent!==this)return this.render(i,n,s);if(c.render(c._ts>0?(O-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(O-c._start)*c._ts,n,s||Xe&&(c._initted||c._startAt)),h!==this._time||!this._ts&&!b){x=0,p&&(f+=this._zTime=O?-re:re);break}}c=p}}if(x&&!n&&(this.pause(),x.render(h>=o?0:-re)._zTime=h>=o?1:-1,this._ts))return this._start=v,Nn(this),this.render(i,n,s);this._onUpdate&&!n&&Pt(this,"onUpdate",!0),(f===u&&this._tTime>=this.totalDuration()||!f&&o)&&(v===this._start||Math.abs(w)!==Math.abs(this._ts))&&(this._lock||((i||!l)&&(f===u&&this._ts>0||!f&&this._ts<0)&&xr(this,1),!n&&!(i<0&&!o)&&(f||o||!u)&&(Pt(this,f===u&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f0)&&this._prom())))}return this},r.add=function(i,n){var s=this;if(or(n)||(n=bt(this,n,i)),!(i instanceof qi)){if(Ve(i))return i.forEach(function(o){return s.add(o,n)}),this;if(Oe(i))return this.addLabel(i,n);if(_e(i))i=be.delayedCall(0,i);else return this}return this!==i?Gt(this,i,n):this},r.getChildren=function(i,n,s,o){i===void 0&&(i=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=-Ct);for(var u=[],l=this._first;l;)l._start>=o&&(l instanceof be?n&&u.push(l):(s&&u.push(l),i&&u.push.apply(u,l.getChildren(!0,n,s)))),l=l._next;return u},r.getById=function(i){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===i)return n[s]},r.remove=function(i){return Oe(i)?this.removeLabel(i):_e(i)?this.killTweensOf(i):(Bn(this,i),i===this._recent&&(this._recent=this._last),Xr(this))},r.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Fe(mt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),a.prototype.totalTime.call(this,i,n),this._forcing=0,this):this._tTime},r.addLabel=function(i,n){return this.labels[i]=bt(this,n),this},r.removeLabel=function(i){return delete this.labels[i],this},r.addPause=function(i,n,s){var o=be.delayedCall(0,n||Wi,s);return o.data="isPause",this._hasPause=1,Gt(this,o,bt(this,i))},r.removePause=function(i){var n=this._first;for(i=bt(this,i);n;)n._start===i&&n.data==="isPause"&&xr(n),n=n._next},r.killTweensOf=function(i,n,s){for(var o=this.getTweensOf(i,s),u=o.length;u--;)hr!==o[u]&&o[u].kill(i,n);return this},r.getTweensOf=function(i,n){for(var s=[],o=kt(i),u=this._first,l=or(n),f;u;)u instanceof be?pu(u._targets,o)&&(l?(!hr||u._initted&&u._ts)&&u.globalTime(0)<=n&&u.globalTime(u.totalDuration())>n:!n||u.isActive())&&s.push(u):(f=u.getTweensOf(o,n)).length&&s.push.apply(s,f),u=u._next;return s},r.tweenTo=function(i,n){n=n||{};var s=this,o=bt(s,i),u=n,l=u.startAt,f=u.onStart,d=u.onStartParams,h=u.immediateRender,c,p=be.to(s,Mt({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:n.duration||Math.abs((o-(l&&"time"in l?l.time:s._time))/s.timeScale())||re,onStart:function(){if(s.pause(),!c){var m=n.duration||Math.abs((o-(l&&"time"in l?l.time:s._time))/s.timeScale());p._dur!==m&&yi(p,m,0,1).render(p._time,!0,!0),c=1}f&&f.apply(p,d||[])}},n));return h?p.render(0):p},r.tweenFromTo=function(i,n,s){return this.tweenTo(n,Mt({startAt:{time:bt(this,i)}},s))},r.recent=function(){return this._recent},r.nextLabel=function(i){return i===void 0&&(i=this._time),oo(this,bt(this,i))},r.previousLabel=function(i){return i===void 0&&(i=this._time),oo(this,bt(this,i),1)},r.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+re)},r.shiftChildren=function(i,n,s){s===void 0&&(s=0);for(var o=this._first,u=this.labels,l;o;)o._start>=s&&(o._start+=i,o._end+=i),o=o._next;if(n)for(l in u)u[l]>=s&&(u[l]+=i);return Xr(this)},r.invalidate=function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return a.prototype.invalidate.call(this,i)},r.clear=function(i){i===void 0&&(i=!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),i&&(this.labels={}),Xr(this)},r.totalDuration=function(i){var n=0,s=this,o=s._last,u=Ct,l,f,d;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(d=s.parent;o;)l=o._prev,o._dirty&&o.totalDuration(),f=o._start,f>u&&s._sort&&o._ts&&!s._lock?(s._lock=1,Gt(s,o,f-o._delay,1)._lock=0):u=f,f<0&&o._ts&&(n-=f,(!d&&!s._dp||d&&d.smoothChildTiming)&&(s._start+=f/s._ts,s._time-=f,s._tTime-=f),s.shiftChildren(-f,!1,-1/0),u=0),o._end>n&&o._ts&&(n=o._end),o=l;yi(s,s===ue&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(i){if(ue._ts&&(qo(ue,Dn(i,ue)),Go=mt.frame),mt.frame>=ro){ro+=vt.autoSleep||120;var n=ue._first;if((!n||!n._ts)&&vt.autoSleep&&mt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||mt.sleep()}}},e}(qi);Mt(nt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Bu=function(e,r,t,i,n,s,o){var u=new at(this._pt,e,r,0,1,Ta,null,n),l=0,f=0,d,h,c,p,_,m,b,x;for(u.b=t,u.e=i,t+="",i+="",(b=~i.indexOf("random("))&&(i=Gi(i)),s&&(x=[t,i],s(x,e,r),t=x[0],i=x[1]),h=t.match(Un)||[];d=Un.exec(i);)p=d[0],_=i.substring(l,d.index),c?c=(c+1)%5:_.substr(-5)==="rgba("&&(c=1),p!==h[f++]&&(m=parseFloat(h[f-1])||0,u._pt={_next:u._pt,p:_||f===1?_:",",s:m,c:p.charAt(1)==="="?fi(m,p)-m:parseFloat(p)-m,m:c&&c<4?Math.round:0},l=Un.lastIndex);return u.c=l")}),v.duration();else{k={};for(P in p)P==="ease"||P==="easeEach"||Vu(P,p[P],k,p.easeEach);for(P in k)for(J=k[P].sort(function($,F){return $.t-F.t}),M=0,S=0;Su-re&&!f?u:il&&(h=l)),b=this._yoyo&&p&1,b&&(v=this._yEase,h=l-h),m=mi(this._tTime,_),h===o&&!s&&this._initted)return this._tTime=d,this;p!==m&&(w&&this._yEase&&da(w,b),this.vars.repeatRefresh&&!b&&!this._lock&&(this._lock=s=1,this.render(Fe(_*p),!0).invalidate()._lock=0))}if(!this._initted){if(ea(this,f?i:h,s,n,d))return this._tTime=0,this;if(o!==this._time)return this;if(l!==this._dur)return this.render(i,n,s)}if(this._tTime=d,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=x=(v||this._ease)(h/l),this._from&&(this.ratio=x=1-x),h&&!o&&!n&&!p&&(Pt(this,"onStart"),this._tTime!==d))return this;for(c=this._pt;c;)c.r(x,c.d),c=c._next;w&&w.render(i<0?i:!h&&b?-re:w._dur*w._ease(h/this._dur),n,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!n&&(f&&ls(this,i,n,s),Pt(this,"onUpdate")),this._repeat&&p!==m&&this.vars.onRepeat&&!n&&this.parent&&Pt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(f&&!this._onUpdate&&ls(this,i,!0,!0),(i||!l)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&xr(this,1),!n&&!(f&&!o)&&(d||o||b)&&(Pt(this,d===u?"onComplete":"onReverseComplete",!0),this._prom&&!(d0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),a.prototype.invalidate.call(this,i)},r.resetTo=function(i,n,s,o){Hi||mt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),l;return this._initted||Ns(this,u),l=this._ease(u/this._dur),Yu(this,i,n,s,o,l,u)?this.resetTo(i,n,s,o):(Yn(this,0),this.parent||Zo(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(i,n){if(n===void 0&&(n="all"),!i&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?Mi(this):this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,hr&&hr.vars.overwrite!==!0)._first||Mi(this),this.parent&&s!==this.timeline.totalDuration()&&yi(this,this._dur*this.timeline._tDur/s,0,1),this}var o=this._targets,u=i?kt(i):o,l=this._ptLookup,f=this._pt,d,h,c,p,_,m,b;if((!n||n==="all")&&mu(o,u))return n==="all"&&(this._pt=0),Mi(this);for(d=this._op=this._op||[],n!=="all"&&(Oe(n)&&(_={},ot(n,function(x){return _[x]=1}),n=_),n=Xu(o,n)),b=o.length;b--;)if(~u.indexOf(o[b])){h=l[b],n==="all"?(d[b]=n,p=h,c={}):(c=d[b]=d[b]||{},p=n);for(_ in p)m=h&&h[_],m&&((!("kill"in m.d)||m.d.kill(_)===!0)&&Bn(this,m,"_pt"),delete h[_]),c!=="all"&&(c[_]=1)}return this._initted&&!this._pt&&f&&Mi(this),this},e.to=function(i,n){return new e(i,n,arguments[2])},e.from=function(i,n){return zi(1,arguments)},e.delayedCall=function(i,n,s,o){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:o})},e.fromTo=function(i,n,s){return zi(2,arguments)},e.set=function(i,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(i,n)},e.killTweensOf=function(i,n,s){return ue.killTweensOf(i,n,s)},e}(qi);Mt(be.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});ot("staggerTo,staggerFrom,staggerFromTo",function(a){be[a]=function(){var e=new nt,r=cs.call(arguments,0);return r.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,r)}});var Ys=function(e,r,t){return e[r]=t},xa=function(e,r,t){return e[r](t)},Uu=function(e,r,t,i){return e[r](i.fp,t)},$u=function(e,r,t){return e.setAttribute(r,t)},Xs=function(e,r){return _e(e[r])?xa:Es(e[r])&&e.setAttribute?$u:Ys},ba=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},Wu=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},Ta=function(e,r){var t=r._pt,i="";if(!e&&r.b)i=r.b;else if(e===1&&r.e)i=r.e;else{for(;t;)i=t.p+(t.m?t.m(t.s+t.c*e):Math.round((t.s+t.c*e)*1e4)/1e4)+i,t=t._next;i+=r.c}r.set(r.t,r.p,i,r)},Vs=function(e,r){for(var t=r._pt;t;)t.r(e,t.d),t=t._next},Gu=function(e,r,t,i){for(var n=this._pt,s;n;)s=n._next,n.p===i&&n.modifier(e,r,t),n=s},Hu=function(e){for(var r=this._pt,t,i;r;)i=r._next,r.p===e&&!r.op||r.op===e?Bn(this,r,"_pt"):r.dep||(t=1),r=i;return!t},qu=function(e,r,t,i){i.mSet(e,r,i.m.call(i.tween,t,i.mt),i)},wa=function(e){for(var r=e._pt,t,i,n,s;r;){for(t=r._next,i=n;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:s)?r._prev._next=r:n=r,(r._next=i)?i._prev=r:s=r,r=t}e._pt=n},at=function(){function a(r,t,i,n,s,o,u,l,f){this.t=t,this.s=n,this.c=s,this.p=i,this.r=o||ba,this.d=u||this,this.set=l||Ys,this.pr=f||0,this._next=r,r&&(r._prev=this)}var e=a.prototype;return e.modifier=function(t,i,n){this.mSet=this.mSet||this.set,this.set=qu,this.m=t,this.mt=n,this.tween=i},a}();ot(Ls+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(a){return zs[a]=1});xt.TweenMax=xt.TweenLite=be;xt.TimelineLite=xt.TimelineMax=nt;ue=new nt({sortChildren:!1,defaults:gi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});vt.stringFilter=ha;var Ur=[],yn={},Ku=[],uo=0,Qu=0,qn=function(e){return(yn[e]||Ku).map(function(r){return r()})},ps=function(){var e=Date.now(),r=[];e-uo>2&&(qn("matchMediaInit"),Ur.forEach(function(t){var i=t.queries,n=t.conditions,s,o,u,l;for(o in i)s=Tt.matchMedia(i[o]).matches,s&&(u=1),s!==n[o]&&(n[o]=s,l=1);l&&(t.revert(),u&&r.push(t))}),qn("matchMediaRevert"),r.forEach(function(t){return t.onMatch(t)}),uo=e,qn("matchMedia"))},Sa=function(){function a(r,t){this.selector=t&&hs(t),this.data=[],this._r=[],this.isReverted=!1,this.id=Qu++,r&&this.add(r)}var e=a.prototype;return e.add=function(t,i,n){_e(t)&&(n=i,i=t,t=_e);var s=this,o=function(){var l=he,f=s.selector,d;return l&&l!==s&&l.data.push(s),n&&(s.selector=hs(n)),he=s,d=i.apply(s,arguments),_e(d)&&s._r.push(d),he=l,s.selector=f,s.isReverted=!1,d};return s.last=o,t===_e?o(s):t?s[t]=o:o},e.ignore=function(t){var i=he;he=null,t(this),he=i},e.getTweens=function(){var t=[];return this.data.forEach(function(i){return i instanceof a?t.push.apply(t,i.getTweens()):i instanceof be&&!(i.parent&&i.parent.data==="nested")&&t.push(i)}),t},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,i){var n=this;if(t){var s=this.getTweens();this.data.forEach(function(u){u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(l){return s.splice(s.indexOf(l),1)}))}),s.map(function(u){return{g:u.globalTime(0),t:u}}).sort(function(u,l){return l.g-u.g||-1/0}).forEach(function(u){return u.t.revert(t)}),this.data.forEach(function(u){return!(u instanceof be)&&u.revert&&u.revert(t)}),this._r.forEach(function(u){return u(t,n)}),this.isReverted=!0}else this.data.forEach(function(u){return u.kill&&u.kill()});if(this.clear(),i)for(var o=Ur.length;o--;)Ur[o].id===this.id&&Ur.splice(o,1)},e.revert=function(t){this.kill(t||{})},a}(),Zu=function(){function a(r){this.contexts=[],this.scope=r}var e=a.prototype;return e.add=function(t,i,n){Qt(t)||(t={matches:t});var s=new Sa(0,n||this.scope),o=s.conditions={},u,l,f;he&&!s.selector&&(s.selector=he.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=t;for(l in t)l==="all"?f=1:(u=Tt.matchMedia(t[l]),u&&(Ur.indexOf(s)<0&&Ur.push(s),(o[l]=u.matches)&&(f=1),u.addListener?u.addListener(ps):u.addEventListener("change",ps)));return f&&i(s),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(i){return i.kill(t,!0)})},a}(),En={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),t=0;t1){var i=e.map(function(f){return ut.quickSetter(f,r,t)}),n=i.length;return function(f){for(var d=n;d--;)i[d](f)}}e=e[0]||{};var s=gt[r],o=Yr(e),u=o.harness&&(o.harness.aliases||{})[r]||r,l=s?function(f){var d=new s;ai._pt=0,d.init(e,t?f+t:f,ai,0,[e]),d.render(1,d),ai._pt&&Vs(1,ai)}:o.set(e,u);return s?l:function(f){return l(e,u,t?f+t:f,o,1)}},quickTo:function(e,r,t){var i,n=ut.to(e,Hr((i={},i[r]="+=0.1",i.paused=!0,i),t||{})),s=function(u,l,f){return n.resetTo(r,u,l,f)};return s.tween=n,s},isTweening:function(e){return ue.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Vr(e.ease,gi.ease)),io(gi,e||{})},config:function(e){return io(vt,e||{})},registerEffect:function(e){var r=e.name,t=e.effect,i=e.plugins,n=e.defaults,s=e.extendTimeline;(i||"").split(",").forEach(function(o){return o&&!gt[o]&&!xt[o]&&Pn(r+" effect requires "+o+" plugin.")}),$n[r]=function(o,u,l){return t(kt(o),Mt(u||{},n),l)},s&&(nt.prototype[r]=function(o,u,l){return this.add($n[r](o,Qt(u)?u:(l=u)&&{},this),l)})},registerEase:function(e,r){G[e]=Vr(r)},parseEase:function(e,r){return arguments.length?Vr(e,r):G},getById:function(e){return ue.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var t=new nt(e),i,n;for(t.smoothChildTiming=st(e.smoothChildTiming),ue.remove(t),t._dp=0,t._time=t._tTime=ue._time,i=ue._first;i;)n=i._next,(r||!(!i._dur&&i instanceof be&&i.vars.onComplete===i._targets[0]))&&Gt(t,i,i._start-i._delay),i=n;return Gt(ue,t,0),t},context:function(e,r){return e?new Sa(e,r):he},matchMedia:function(e){return new Zu(e)},matchMediaRefresh:function(){return Ur.forEach(function(e){var r=e.conditions,t,i;for(i in r)r[i]&&(r[i]=!1,t=1);t&&e.revert()})||ps()},addEventListener:function(e,r){var t=yn[e]||(yn[e]=[]);~t.indexOf(r)||t.push(r)},removeEventListener:function(e,r){var t=yn[e],i=t&&t.indexOf(r);i>=0&&t.splice(i,1)},utils:{wrap:Mu,wrapYoyo:Du,distribute:ia,random:sa,snap:na,normalize:Ou,getUnit:Ye,clamp:Su,splitColor:fa,toArray:kt,selector:hs,mapRange:aa,pipe:ku,unitize:Pu,interpolate:Eu,shuffle:ra},install:$o,effects:$n,ticker:mt,updateRoot:nt.updateRoot,plugins:gt,globalTimeline:ue,core:{PropTween:at,globals:Wo,Tween:be,Timeline:nt,Animation:qi,getCache:Yr,_removeLinkedListItem:Bn,reverting:function(){return Xe},context:function(e){return e&&he&&(he.data.push(e),e._ctx=he),he},suppressOverwrites:function(e){return Ds=e}}};ot("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return En[a]=be[a]});mt.add(nt.updateRoot);ai=En.to({},{duration:0});var Ju=function(e,r){for(var t=e._pt;t&&t.p!==r&&t.op!==r&&t.fp!==r;)t=t._next;return t},ju=function(e,r){var t=e._targets,i,n,s;for(i in r)for(n=t.length;n--;)s=e._ptLookup[n][i],s&&(s=s.d)&&(s._pt&&(s=Ju(s,i)),s&&s.modifier&&s.modifier(r[i],e,t[n],i))},Kn=function(e,r){return{name:e,rawVars:1,init:function(i,n,s){s._onInit=function(o){var u,l;if(Oe(n)&&(u={},ot(n,function(f){return u[f]=1}),n=u),r){u={};for(l in n)u[l]=r(n[l]);n=u}ju(o,n)}}}},ut=En.registerPlugin({name:"attr",init:function(e,r,t,i,n){var s,o,u;this.tween=t;for(s in r)u=e.getAttribute(s)||"",o=this.add(e,"setAttribute",(u||0)+"",r[s],i,n,0,0,s),o.op=s,o.b=u,this._props.push(s)},render:function(e,r){for(var t=r._pt;t;)Xe?t.set(t.t,t.p,t.b,t):t.r(e,t.d),t=t._next}},{name:"endArray",init:function(e,r){for(var t=r.length;t--;)this.add(e,t,e[t]||0,r[t],0,0,0,0,0,1)}},Kn("roundProps",_s),Kn("modifiers"),Kn("snap",na))||En;be.version=nt.version=ut.version="3.12.2";Uo=1;Rs()&&vi();G.Power0;G.Power1;G.Power2;G.Power3;G.Power4;G.Linear;G.Quad;G.Cubic;G.Quart;G.Quint;G.Strong;G.Elastic;G.Back;G.SteppedEase;G.Bounce;G.Sine;G.Expo;G.Circ;/*! * CSSPlugin 3.12.2 * https://greensock.com * * Copyright 2008-2023, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var lo,_r,ci,Us,Br,fo,$s,el=function(){return typeof window<"u"},ar={},zr=180/Math.PI,hi=Math.PI/180,ti=Math.atan2,co=1e8,Ws=/([A-Z])/g,tl=/(left|right|width|margin|padding|x)/i,rl=/[\s,\(]\S/,Ht={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},gs=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},il=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},nl=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},sl=function(e,r){var t=r.s+r.c*e;r.set(r.t,r.p,~~(t+(t<0?-.5:.5))+r.u,r)},Ca=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},ka=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},ol=function(e,r,t){return e.style[r]=t},al=function(e,r,t){return e.style.setProperty(r,t)},ul=function(e,r,t){return e._gsap[r]=t},ll=function(e,r,t){return e._gsap.scaleX=e._gsap.scaleY=t},fl=function(e,r,t,i,n){var s=e._gsap;s.scaleX=s.scaleY=t,s.renderTransform(n,s)},cl=function(e,r,t,i,n){var s=e._gsap;s[r]=t,s.renderTransform(n,s)},le="transform",Nt=le+"Origin",hl=function a(e,r){var t=this,i=this.target,n=i.style;if(e in ar&&n){if(this.tfm=this.tfm||{},e!=="transform")e=Ht[e]||e,~e.indexOf(",")?e.split(",").forEach(function(s){return t.tfm[s]=tr(i,s)}):this.tfm[e]=i._gsap.x?i._gsap[e]:tr(i,e);else return Ht.transform.split(",").forEach(function(s){return a.call(t,s,r)});if(this.props.indexOf(le)>=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Nt,r,"")),e=le}(n||r)&&this.props.push(e,r,n[e])},Pa=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},_l=function(){var e=this.props,r=this.target,t=r.style,i=r._gsap,n,s;for(n=0;n=0?ho[s]:"")+e},ys=function(){el()&&window.document&&(lo=window,_r=lo.document,ci=_r.documentElement,Br=ms("div")||{style:{}},ms("div"),le=xi(le),Nt=le+"Origin",Br.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ma=!!xi("perspective"),$s=ut.core.reverting,Us=1)},Qn=function a(e){var r=ms("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),t=this.parentNode,i=this.nextSibling,n=this.style.cssText,s;if(ci.appendChild(r),r.appendChild(this),this.style.display="block",e)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=a}catch{}else this._gsapBBox&&(s=this._gsapBBox());return t&&(i?t.insertBefore(this,i):t.appendChild(this)),ci.removeChild(r),this.style.cssText=n,s},_o=function(e,r){for(var t=r.length;t--;)if(e.hasAttribute(r[t]))return e.getAttribute(r[t])},Da=function(e){var r;try{r=e.getBBox()}catch{r=Qn.call(e,!0)}return r&&(r.width||r.height)||e.getBBox===Qn||(r=Qn.call(e,!0)),r&&!r.width&&!r.x&&!r.y?{x:+_o(e,["x","cx","x1"])||0,y:+_o(e,["y","cy","y1"])||0,width:0,height:0}:r},Ea=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Da(e))},Ki=function(e,r){if(r){var t=e.style;r in ar&&r!==Nt&&(r=le),t.removeProperty?((r.substr(0,2)==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),t.removeProperty(r.replace(Ws,"-$1").toLowerCase())):t.removeAttribute(r)}},dr=function(e,r,t,i,n,s){var o=new at(e._pt,r,t,0,1,s?ka:Ca);return e._pt=o,o.b=i,o.e=n,e._props.push(t),o},po={deg:1,rad:1,turn:1},dl={grid:1,flex:1},br=function a(e,r,t,i){var n=parseFloat(t)||0,s=(t+"").trim().substr((n+"").length)||"px",o=Br.style,u=tl.test(r),l=e.tagName.toLowerCase()==="svg",f=(l?"client":"offset")+(u?"Width":"Height"),d=100,h=i==="px",c=i==="%",p,_,m,b;return i===s||!n||po[i]||po[s]?n:(s!=="px"&&!h&&(n=a(e,r,t,"px")),b=e.getCTM&&Ea(e),(c||s==="%")&&(ar[r]||~r.indexOf("adius"))?(p=b?e.getBBox()[u?"width":"height"]:e[f],ge(c?n/p*d:n/100*p)):(o[u?"width":"height"]=d+(h?s:i),_=~r.indexOf("adius")||i==="em"&&e.appendChild&&!l?e:e.parentNode,b&&(_=(e.ownerSVGElement||{}).parentNode),(!_||_===_r||!_.appendChild)&&(_=_r.body),m=_._gsap,m&&c&&m.width&&u&&m.time===mt.time&&!m.uncache?ge(n/m.width*d):((c||s==="%")&&!dl[qt(_,"display")]&&(o.position=qt(e,"position")),_===e&&(o.position="static"),_.appendChild(Br),p=Br[f],_.removeChild(Br),o.position="absolute",u&&c&&(m=Yr(_),m.time=mt.time,m.width=_[f]),ge(h?p*n/d:p&&n?d/p*n:0))))},tr=function(e,r,t,i){var n;return Us||ys(),r in Ht&&r!=="transform"&&(r=Ht[r],~r.indexOf(",")&&(r=r.split(",")[0])),ar[r]&&r!=="transform"?(n=Zi(e,i),n=r!=="transformOrigin"?n[r]:n.svg?n.origin:An(qt(e,Nt))+" "+n.zOrigin+"px"):(n=e.style[r],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=Rn[r]&&Rn[r](e,r,t)||qt(e,r)||Ho(e,r)||(r==="opacity"?1:0))),t&&!~(n+"").trim().indexOf(" ")?br(e,r,n,t)+t:n},pl=function(e,r,t,i){if(!t||t==="none"){var n=xi(r,e,1),s=n&&qt(e,n,1);s&&s!==t?(r=n,t=s):r==="borderColor"&&(t=qt(e,"borderTopColor"))}var o=new at(this._pt,e.style,r,0,1,Ta),u=0,l=0,f,d,h,c,p,_,m,b,x,w,v,S;if(o.b=t,o.e=i,t+="",i+="",i==="auto"&&(e.style[r]=i,i=qt(e,r)||i,e.style[r]=t),f=[t,i],ha(f),t=f[0],i=f[1],h=t.match(oi)||[],S=i.match(oi)||[],S.length){for(;d=oi.exec(i);)m=d[0],x=i.substring(u,d.index),p?p=(p+1)%5:(x.substr(-5)==="rgba("||x.substr(-5)==="hsla(")&&(p=1),m!==(_=h[l++]||"")&&(c=parseFloat(_)||0,v=_.substr((c+"").length),m.charAt(1)==="="&&(m=fi(c,m)+v),b=parseFloat(m),w=m.substr((b+"").length),u=oi.lastIndex-w.length,w||(w=w||vt.units[r]||v,u===i.length&&(i+=w,o.e+=w)),v!==w&&(c=br(e,r,_,w)||0),o._pt={_next:o._pt,p:x||l===1?x:",",s:c,c:b-c,m:p&&p<4||r==="zIndex"?Math.round:0});o.c=u-1;)o=n[l],ar[o]&&(u=1,o=o==="transformOrigin"?Nt:le),Ki(t,o);u&&(Ki(t,le),s&&(s.svg&&t.removeAttribute("transform"),Zi(t,1),s.uncache=1,Pa(i)))}},Rn={clearProps:function(e,r,t,i,n){if(n.data!=="isFromStart"){var s=e._pt=new at(e._pt,r,t,0,0,ml);return s.u=i,s.pr=-10,s.tween=n,e._props.push(t),1}}},Qi=[1,0,0,1,0,0],Ra={},Aa=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},mo=function(e){var r=qt(e,le);return Aa(r)?Qi:r.substr(7).match(Yo).map(ge)},Gs=function(e,r){var t=e._gsap||Yr(e),i=e.style,n=mo(e),s,o,u,l;return t.svg&&e.getAttribute("transform")?(u=e.transform.baseVal.consolidate().matrix,n=[u.a,u.b,u.c,u.d,u.e,u.f],n.join(",")==="1,0,0,1,0,0"?Qi:n):(n===Qi&&!e.offsetParent&&e!==ci&&!t.svg&&(u=i.display,i.display="block",s=e.parentNode,(!s||!e.offsetParent)&&(l=1,o=e.nextElementSibling,ci.appendChild(e)),n=mo(e),u?i.display=u:Ki(e,"display"),l&&(o?s.insertBefore(e,o):s?s.appendChild(e):ci.removeChild(e))),r&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},vs=function(e,r,t,i,n,s){var o=e._gsap,u=n||Gs(e,!0),l=o.xOrigin||0,f=o.yOrigin||0,d=o.xOffset||0,h=o.yOffset||0,c=u[0],p=u[1],_=u[2],m=u[3],b=u[4],x=u[5],w=r.split(" "),v=parseFloat(w[0])||0,S=parseFloat(w[1])||0,k,T,P,C;t?u!==Qi&&(T=c*m-p*_)&&(P=v*(m/T)+S*(-_/T)+(_*x-m*b)/T,C=v*(-p/T)+S*(c/T)-(c*x-p*b)/T,v=P,S=C):(k=Da(e),v=k.x+(~w[0].indexOf("%")?v/100*k.width:v),S=k.y+(~(w[1]||w[0]).indexOf("%")?S/100*k.height:S)),i||i!==!1&&o.smooth?(b=v-l,x=S-f,o.xOffset=d+(b*c+x*_)-b,o.yOffset=h+(b*p+x*m)-x):o.xOffset=o.yOffset=0,o.xOrigin=v,o.yOrigin=S,o.smooth=!!i,o.origin=r,o.originIsAbsolute=!!t,e.style[Nt]="0px 0px",s&&(dr(s,o,"xOrigin",l,v),dr(s,o,"yOrigin",f,S),dr(s,o,"xOffset",d,o.xOffset),dr(s,o,"yOffset",h,o.yOffset)),e.setAttribute("data-svg-origin",v+" "+S)},Zi=function(e,r){var t=e._gsap||new ga(e);if("x"in t&&!r&&!t.uncache)return t;var i=e.style,n=t.scaleX<0,s="px",o="deg",u=getComputedStyle(e),l=qt(e,Nt)||"0",f,d,h,c,p,_,m,b,x,w,v,S,k,T,P,C,O,A,M,J,I,B,$,F,V,j,g,ie,Ue,Dt,fe,Me;return f=d=h=_=m=b=x=w=v=0,c=p=1,t.svg=!!(e.getCTM&&Ea(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(i[le]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[le]!=="none"?u[le]:"")),i.scale=i.rotate=i.translate="none"),T=Gs(e,t.svg),t.svg&&(t.uncache?(V=e.getBBox(),l=t.xOrigin-V.x+"px "+(t.yOrigin-V.y)+"px",F=""):F=!r&&e.getAttribute("data-svg-origin"),vs(e,F||l,!!F||t.originIsAbsolute,t.smooth!==!1,T)),S=t.xOrigin||0,k=t.yOrigin||0,T!==Qi&&(A=T[0],M=T[1],J=T[2],I=T[3],f=B=T[4],d=$=T[5],T.length===6?(c=Math.sqrt(A*A+M*M),p=Math.sqrt(I*I+J*J),_=A||M?ti(M,A)*zr:0,x=J||I?ti(J,I)*zr+_:0,x&&(p*=Math.abs(Math.cos(x*hi))),t.svg&&(f-=S-(S*A+k*J),d-=k-(S*M+k*I))):(Me=T[6],Dt=T[7],g=T[8],ie=T[9],Ue=T[10],fe=T[11],f=T[12],d=T[13],h=T[14],P=ti(Me,Ue),m=P*zr,P&&(C=Math.cos(-P),O=Math.sin(-P),F=B*C+g*O,V=$*C+ie*O,j=Me*C+Ue*O,g=B*-O+g*C,ie=$*-O+ie*C,Ue=Me*-O+Ue*C,fe=Dt*-O+fe*C,B=F,$=V,Me=j),P=ti(-J,Ue),b=P*zr,P&&(C=Math.cos(-P),O=Math.sin(-P),F=A*C-g*O,V=M*C-ie*O,j=J*C-Ue*O,fe=I*O+fe*C,A=F,M=V,J=j),P=ti(M,A),_=P*zr,P&&(C=Math.cos(P),O=Math.sin(P),F=A*C+M*O,V=B*C+$*O,M=M*C-A*O,$=$*C-B*O,A=F,B=V),m&&Math.abs(m)+Math.abs(_)>359.9&&(m=_=0,b=180-b),c=ge(Math.sqrt(A*A+M*M+J*J)),p=ge(Math.sqrt($*$+Me*Me)),P=ti(B,$),x=Math.abs(P)>2e-4?P*zr:0,v=fe?1/(fe<0?-fe:fe):0),t.svg&&(F=e.getAttribute("transform"),t.forceCSS=e.setAttribute("transform","")||!Aa(qt(e,le)),F&&e.setAttribute("transform",F))),Math.abs(x)>90&&Math.abs(x)<270&&(n?(c*=-1,x+=_<=0?180:-180,_+=_<=0?180:-180):(p*=-1,x+=x<=0?180:-180)),r=r||t.uncache,t.x=f-((t.xPercent=f&&(!r&&t.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-f)?-50:0)))?e.offsetWidth*t.xPercent/100:0)+s,t.y=d-((t.yPercent=d&&(!r&&t.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*t.yPercent/100:0)+s,t.z=h+s,t.scaleX=ge(c),t.scaleY=ge(p),t.rotation=ge(_)+o,t.rotationX=ge(m)+o,t.rotationY=ge(b)+o,t.skewX=x+o,t.skewY=w+o,t.transformPerspective=v+s,(t.zOrigin=parseFloat(l.split(" ")[2])||0)&&(i[Nt]=An(l)),t.xOffset=t.yOffset=0,t.force3D=vt.force3D,t.renderTransform=t.svg?vl:Ma?Fa:yl,t.uncache=0,t},An=function(e){return(e=e.split(" "))[0]+" "+e[1]},Zn=function(e,r,t){var i=Ye(r);return ge(parseFloat(r)+parseFloat(br(e,"x",t+"px",i)))+i},yl=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,Fa(e,r)},Ar="0deg",ki="0px",Fr=") ",Fa=function(e,r){var t=r||this,i=t.xPercent,n=t.yPercent,s=t.x,o=t.y,u=t.z,l=t.rotation,f=t.rotationY,d=t.rotationX,h=t.skewX,c=t.skewY,p=t.scaleX,_=t.scaleY,m=t.transformPerspective,b=t.force3D,x=t.target,w=t.zOrigin,v="",S=b==="auto"&&e&&e!==1||b===!0;if(w&&(d!==Ar||f!==Ar)){var k=parseFloat(f)*hi,T=Math.sin(k),P=Math.cos(k),C;k=parseFloat(d)*hi,C=Math.cos(k),s=Zn(x,s,T*C*-w),o=Zn(x,o,-Math.sin(k)*-w),u=Zn(x,u,P*C*-w+w)}m!==ki&&(v+="perspective("+m+Fr),(i||n)&&(v+="translate("+i+"%, "+n+"%) "),(S||s!==ki||o!==ki||u!==ki)&&(v+=u!==ki||S?"translate3d("+s+", "+o+", "+u+") ":"translate("+s+", "+o+Fr),l!==Ar&&(v+="rotate("+l+Fr),f!==Ar&&(v+="rotateY("+f+Fr),d!==Ar&&(v+="rotateX("+d+Fr),(h!==Ar||c!==Ar)&&(v+="skew("+h+", "+c+Fr),(p!==1||_!==1)&&(v+="scale("+p+", "+_+Fr),x.style[le]=v||"translate(0, 0)"},vl=function(e,r){var t=r||this,i=t.xPercent,n=t.yPercent,s=t.x,o=t.y,u=t.rotation,l=t.skewX,f=t.skewY,d=t.scaleX,h=t.scaleY,c=t.target,p=t.xOrigin,_=t.yOrigin,m=t.xOffset,b=t.yOffset,x=t.forceCSS,w=parseFloat(s),v=parseFloat(o),S,k,T,P,C;u=parseFloat(u),l=parseFloat(l),f=parseFloat(f),f&&(f=parseFloat(f),l+=f,u+=f),u||l?(u*=hi,l*=hi,S=Math.cos(u)*d,k=Math.sin(u)*d,T=Math.sin(u-l)*-h,P=Math.cos(u-l)*h,l&&(f*=hi,C=Math.tan(l-f),C=Math.sqrt(1+C*C),T*=C,P*=C,f&&(C=Math.tan(f),C=Math.sqrt(1+C*C),S*=C,k*=C)),S=ge(S),k=ge(k),T=ge(T),P=ge(P)):(S=d,P=h,k=T=0),(w&&!~(s+"").indexOf("px")||v&&!~(o+"").indexOf("px"))&&(w=br(c,"x",s,"px"),v=br(c,"y",o,"px")),(p||_||m||b)&&(w=ge(w+p-(p*S+_*T)+m),v=ge(v+_-(p*k+_*P)+b)),(i||n)&&(C=c.getBBox(),w=ge(w+i/100*C.width),v=ge(v+n/100*C.height)),C="matrix("+S+","+k+","+T+","+P+","+w+","+v+")",c.setAttribute("transform",C),x&&(c.style[le]=C)},xl=function(e,r,t,i,n){var s=360,o=Oe(n),u=parseFloat(n)*(o&&~n.indexOf("rad")?zr:1),l=u-i,f=i+l+"deg",d,h;return o&&(d=n.split("_")[1],d==="short"&&(l%=s,l!==l%(s/2)&&(l+=l<0?s:-s)),d==="cw"&&l<0?l=(l+s*co)%s-~~(l/s)*s:d==="ccw"&&l>0&&(l=(l-s*co)%s-~~(l/s)*s)),e._pt=h=new at(e._pt,r,t,i,l,il),h.e=f,h.u="deg",e._props.push(t),h},yo=function(e,r){for(var t in r)e[t]=r[t];return e},bl=function(e,r,t){var i=yo({},t._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=t.style,o,u,l,f,d,h,c,p;i.svg?(l=t.getAttribute("transform"),t.setAttribute("transform",""),s[le]=r,o=Zi(t,1),Ki(t,le),t.setAttribute("transform",l)):(l=getComputedStyle(t)[le],s[le]=r,o=Zi(t,1),s[le]=l);for(u in ar)l=i[u],f=o[u],l!==f&&n.indexOf(u)<0&&(c=Ye(l),p=Ye(f),d=c!==p?br(t,u,l,p):parseFloat(l),h=parseFloat(f),e._pt=new at(e._pt,o,u,d,h-d,gs),e._pt.u=p||0,e._props.push(u));yo(o,i)};ot("padding,margin,Width,Radius",function(a,e){var r="Top",t="Right",i="Bottom",n="Left",s=(e<3?[r,t,i,n]:[r+n,r+t,i+t,i+n]).map(function(o){return e<2?a+o:"border"+o+a});Rn[e>1?"border"+a:a]=function(o,u,l,f,d){var h,c;if(arguments.length<4)return h=s.map(function(p){return tr(o,p,l)}),c=h.join(" "),c.split(h[0]).length===5?h[0]:c;h=(f+"").split(" "),c={},s.forEach(function(p,_){return c[p]=h[_]=h[_]||h[(_-1)/2|0]}),o.init(u,c,d)}});var za={name:"css",register:ys,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,t,i,n){var s=this._props,o=e.style,u=t.vars.startAt,l,f,d,h,c,p,_,m,b,x,w,v,S,k,T,P;Us||ys(),this.styles=this.styles||Oa(e),P=this.styles.props,this.tween=t;for(_ in r)if(_!=="autoRound"&&(f=r[_],!(gt[_]&&ma(_,r,t,i,e,n)))){if(c=typeof f,p=Rn[_],c==="function"&&(f=f.call(t,i,e,n),c=typeof f),c==="string"&&~f.indexOf("random(")&&(f=Gi(f)),p)p(this,e,_,f,t)&&(T=1);else if(_.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(_)+"").trim(),f+="",yr.lastIndex=0,yr.test(l)||(m=Ye(l),b=Ye(f)),b?m!==b&&(l=br(e,_,l,b)+b):m&&(f+=m),this.add(o,"setProperty",l,f,i,n,0,0,_),s.push(_),P.push(_,0,o[_]);else if(c!=="undefined"){if(u&&_ in u?(l=typeof u[_]=="function"?u[_].call(t,i,e,n):u[_],Oe(l)&&~l.indexOf("random(")&&(l=Gi(l)),Ye(l+"")||(l+=vt.units[_]||Ye(tr(e,_))||""),(l+"").charAt(1)==="="&&(l=tr(e,_))):l=tr(e,_),h=parseFloat(l),x=c==="string"&&f.charAt(1)==="="&&f.substr(0,2),x&&(f=f.substr(2)),d=parseFloat(f),_ in Ht&&(_==="autoAlpha"&&(h===1&&tr(e,"visibility")==="hidden"&&d&&(h=0),P.push("visibility",0,o.visibility),dr(this,o,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),_!=="scale"&&_!=="transform"&&(_=Ht[_],~_.indexOf(",")&&(_=_.split(",")[0]))),w=_ in ar,w){if(this.styles.save(_),v||(S=e._gsap,S.renderTransform&&!r.parseTransform||Zi(e,r.parseTransform),k=r.smoothOrigin!==!1&&S.smooth,v=this._pt=new at(this._pt,o,le,0,1,S.renderTransform,S,0,-1),v.dep=1),_==="scale")this._pt=new at(this._pt,S,"scaleY",S.scaleY,(x?fi(S.scaleY,x+d):d)-S.scaleY||0,gs),this._pt.u=0,s.push("scaleY",_),_+="X";else if(_==="transformOrigin"){P.push(Nt,0,o[Nt]),f=gl(f),S.svg?vs(e,f,0,k,0,this):(b=parseFloat(f.split(" ")[2])||0,b!==S.zOrigin&&dr(this,S,"zOrigin",S.zOrigin,b),dr(this,o,_,An(l),An(f)));continue}else if(_==="svgOrigin"){vs(e,f,1,k,0,this);continue}else if(_ in Ra){xl(this,S,_,h,x?fi(h,x+f):f);continue}else if(_==="smoothOrigin"){dr(this,S,"smooth",S.smooth,f);continue}else if(_==="force3D"){S[_]=f;continue}else if(_==="transform"){bl(this,f,e);continue}}else _ in o||(_=xi(_)||_);if(w||(d||d===0)&&(h||h===0)&&!rl.test(f)&&_ in o)m=(l+"").substr((h+"").length),d||(d=0),b=Ye(f)||(_ in vt.units?vt.units[_]:m),m!==b&&(h=br(e,_,l,b)),this._pt=new at(this._pt,w?S:o,_,h,(x?fi(h,x+d):d)-h,!w&&(b==="px"||_==="zIndex")&&r.autoRound!==!1?sl:gs),this._pt.u=b||0,m!==b&&b!=="%"&&(this._pt.b=l,this._pt.r=nl);else if(_ in o)pl.call(this,e,_,l,x?x+f:f);else if(_ in e)this.add(e,_,l||e[_],x?x+f:f,i,n);else if(_!=="parseTransform"){Fs(_,f);continue}w||(_ in o?P.push(_,0,o[_]):P.push(_,1,l||e[_])),s.push(_)}}T&&wa(this)},render:function(e,r){if(r.tween._time||!$s())for(var t=r._pt;t;)t.r(e,t.d),t=t._next;else r.styles.revert()},get:tr,aliases:Ht,getSetter:function(e,r,t){var i=Ht[r];return i&&i.indexOf(",")<0&&(r=i),r in ar&&r!==Nt&&(e._gsap.x||tr(e,"x"))?t&&fo===t?r==="scale"?ll:ul:(fo=t||{})&&(r==="scale"?fl:cl):e.style&&!Es(e.style[r])?ol:~r.indexOf("-")?al:Xs(e,r)},core:{_removeProperty:Ki,_getMatrix:Gs}};ut.utils.checkPrefix=xi;ut.core.getStyleSaver=Oa;(function(a,e,r,t){var i=ot(a+","+e+","+r,function(n){ar[n]=1});ot(e,function(n){vt.units[n]="deg",Ra[n]=1}),Ht[i[13]]=a+","+e,ot(t,function(n){var s=n.split(":");Ht[s[1]]=i[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");ot("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){vt.units[a]="px"});ut.registerPlugin(za);var Hs=ut.registerPlugin(za)||ut;Hs.core.Tween;function vo(a,e){for(var r=0;ru?(n=i,i=p,o=s,s=m):t?i+=p:i=n+(p-n)/(m-o)*(s-o)},d=function(){n=i=t?0:i,o=s=0},h=function(p){var _=o,m=n,b=Bi();return(p||p===0)&&p!==i&&f(p),s===o||b-o>l?0:(i+(t?m:-m))/((t?b:s)-_)*1e3};return{update:f,reset:d,getVelocity:h}},Pi=function(e,r){return r&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},xo=function(e){var r=Math.max.apply(Math,e),t=Math.min.apply(Math,e);return Math.abs(r)>=Math.abs(t)?r:t},Xa=function(){Ii=ze.core.globals().ScrollTrigger,Ii&&Ii.core&&wl()},Va=function(e){return ze=e||Na(),ze&&typeof document<"u"&&document.body&&(yt=window,pr=document,gr=pr.documentElement,_i=pr.body,Ia=[yt,pr,gr,_i],ze.utils.clamp,Ba=ze.core.context||function(){},Lr="onpointerenter"in _i?"pointer":"mouse",La=Te.isTouch=yt.matchMedia&&yt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in yt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,It=Te.eventTypes=("ontouchstart"in gr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in gr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Ya=0},500),Xa(),xs=1),xs};Je.op=Se;X.cache=0;var Te=function(){function a(r){this.init(r)}var e=a.prototype;return e.init=function(t){xs||Va(ze)||console.warn("Please gsap.registerPlugin(Observer)"),Ii||Xa();var i=t.tolerance,n=t.dragMinimum,s=t.type,o=t.target,u=t.lineHeight,l=t.debounce,f=t.preventDefault,d=t.onStop,h=t.onStopDelay,c=t.ignore,p=t.wheelSpeed,_=t.event,m=t.onDragStart,b=t.onDragEnd,x=t.onDrag,w=t.onPress,v=t.onRelease,S=t.onRight,k=t.onLeft,T=t.onUp,P=t.onDown,C=t.onChangeX,O=t.onChangeY,A=t.onChange,M=t.onToggleX,J=t.onToggleY,I=t.onHover,B=t.onHoverEnd,$=t.onMove,F=t.ignoreCheck,V=t.isNormalizer,j=t.onGestureStart,g=t.onGestureEnd,ie=t.onWheel,Ue=t.onEnable,Dt=t.onDisable,fe=t.onClick,Me=t.scrollSpeed,$e=t.capture,me=t.allowClicks,We=t.lockAxis,Le=t.onLockAxis;this.target=o=it(o)||gr,this.vars=t,c&&(c=ze.utils.toArray(c)),i=i||1e-9,n=n||0,p=p||1,Me=Me||1,s=s||"wheel,touch,pointer",l=l!==!1,u||(u=parseFloat(yt.getComputedStyle(_i).lineHeight)||22);var ur,et,Yt,Q,ye,tt,lt,y=this,ft=0,Zt=0,Sr=Tr(o,Je),ve=Tr(o,Se),Cr=Sr(),kr=ve(),Ti=~s.indexOf("touch")&&!~s.indexOf("pointer")&&It[0]==="pointerdown",De=Ni(o),de=o.ownerDocument||pr,Et=[0,0,0],Rt=[0,0,0],Pr=0,Jt=function(){return Pr=Bi()},Xt=function(R,Z){return(y.event=R)&&c&&~c.indexOf(R.target)||Z&&Ti&&R.pointerType!=="touch"||F&&F(R,Z)},rt=function(){y._vx.reset(),y._vy.reset(),et.pause(),d&&d(y)},Or=function(){var R=y.deltaX=xo(Et),Z=y.deltaY=xo(Rt),ce=Math.abs(R)>=i,D=Math.abs(Z)>=i;A&&(ce||D)&&A(y,R,Z,Et,Rt),ce&&(S&&y.deltaX>0&&S(y),k&&y.deltaX<0&&k(y),C&&C(y),M&&y.deltaX<0!=ft<0&&M(y),ft=y.deltaX,Et[0]=Et[1]=Et[2]=0),D&&(P&&y.deltaY>0&&P(y),T&&y.deltaY<0&&T(y),O&&O(y),J&&y.deltaY<0!=Zt<0&&J(y),Zt=y.deltaY,Rt[0]=Rt[1]=Rt[2]=0),(Q||Yt)&&($&&$(y),Yt&&(x(y),Yt=!1),Q=!1),tt&&!(tt=!1)&&Le&&Le(y),ye&&(ie(y),ye=!1),ur=0},Jr=function(R,Z,ce){Et[ce]+=R,Rt[ce]+=Z,y._vx.update(R),y._vy.update(Z),l?ur||(ur=requestAnimationFrame(Or)):Or()},jr=function(R,Z){We&&!lt&&(y.axis=lt=Math.abs(R)>Math.abs(Z)?"x":"y",tt=!0),lt!=="y"&&(Et[2]+=R,y._vx.update(R,!0)),lt!=="x"&&(Rt[2]+=Z,y._vy.update(Z,!0)),l?ur||(ur=requestAnimationFrame(Or)):Or()},Mr=function(R){if(!Xt(R,1)){R=Pi(R,f);var Z=R.clientX,ce=R.clientY,D=Z-y.x,H=ce-y.y,z=y.isDragging;y.x=Z,y.y=ce,(z||Math.abs(y.startX-Z)>=n||Math.abs(y.startY-ce)>=n)&&(x&&(Yt=!0),z||(y.isDragging=!0),jr(D,H),z||m&&m(y))}},lr=y.onPress=function(L){Xt(L,1)||L&&L.button||(y.axis=lt=null,et.pause(),y.isPressed=!0,L=Pi(L),ft=Zt=0,y.startX=y.x=L.clientX,y.startY=y.y=L.clientY,y._vx.reset(),y._vy.reset(),qe(V?o:de,It[1],Mr,f,!0),y.deltaX=y.deltaY=0,w&&w(y))},fr=y.onRelease=function(L){if(!Xt(L,1)){He(V?o:de,It[1],Mr,!0);var R=!isNaN(y.y-y.startY),Z=y.isDragging&&(Math.abs(y.x-y.startX)>3||Math.abs(y.y-y.startY)>3),ce=Pi(L);!Z&&R&&(y._vx.reset(),y._vy.reset(),f&&me&&ze.delayedCall(.08,function(){if(Bi()-Pr>300&&!L.defaultPrevented){if(L.target.click)L.target.click();else if(de.createEvent){var D=de.createEvent("MouseEvents");D.initMouseEvent("click",!0,!0,yt,1,ce.screenX,ce.screenY,ce.clientX,ce.clientY,!1,!1,!1,!1,0,null),L.target.dispatchEvent(D)}}})),y.isDragging=y.isGesturing=y.isPressed=!1,d&&!V&&et.restart(!0),b&&Z&&b(y),v&&v(y,Z)}},q=function(R){return R.touches&&R.touches.length>1&&(y.isGesturing=!0)&&j(R,y.isDragging)},Dr=function(){return(y.isGesturing=!1)||g(y)},At=function(R){if(!Xt(R)){var Z=Sr(),ce=ve();Jr((Z-Cr)*Me,(ce-kr)*Me,1),Cr=Z,kr=ce,d&&et.restart(!0)}},Ft=function(R){if(!Xt(R)){R=Pi(R,f),ie&&(ye=!0);var Z=(R.deltaMode===1?u:R.deltaMode===2?yt.innerHeight:1)*p;Jr(R.deltaX*Z,R.deltaY*Z,0),d&&!V&&et.restart(!0)}},zt=function(R){if(!Xt(R)){var Z=R.clientX,ce=R.clientY,D=Z-y.x,H=ce-y.y;y.x=Z,y.y=ce,Q=!0,(D||H)&&jr(D,H)}},Er=function(R){y.event=R,I(y)},ei=function(R){y.event=R,B(y)},jt=function(R){return Xt(R)||Pi(R,f)&&fe(y)};et=y._dc=ze.delayedCall(h||.25,rt).pause(),y.deltaX=y.deltaY=0,y._vx=ws(0,50,!0),y._vy=ws(0,50,!0),y.scrollX=Sr,y.scrollY=ve,y.isDragging=y.isGesturing=y.isPressed=!1,Ba(this),y.enable=function(L){return y.isEnabled||(qe(De?de:o,"scroll",Ts),s.indexOf("scroll")>=0&&qe(De?de:o,"scroll",At,f,$e),s.indexOf("wheel")>=0&&qe(o,"wheel",Ft,f,$e),(s.indexOf("touch")>=0&&La||s.indexOf("pointer")>=0)&&(qe(o,It[0],lr,f,$e),qe(de,It[2],fr),qe(de,It[3],fr),me&&qe(o,"click",Jt,!1,!0),fe&&qe(o,"click",jt),j&&qe(de,"gesturestart",q),g&&qe(de,"gestureend",Dr),I&&qe(o,Lr+"enter",Er),B&&qe(o,Lr+"leave",ei),$&&qe(o,Lr+"move",zt)),y.isEnabled=!0,L&&L.type&&lr(L),Ue&&Ue(y)),y},y.disable=function(){y.isEnabled&&(ui.filter(function(L){return L!==y&&Ni(L.target)}).length||He(De?de:o,"scroll",Ts),y.isPressed&&(y._vx.reset(),y._vy.reset(),He(V?o:de,It[1],Mr,!0)),He(De?de:o,"scroll",At,$e),He(o,"wheel",Ft,$e),He(o,It[0],lr,$e),He(de,It[2],fr),He(de,It[3],fr),He(o,"click",Jt,!0),He(o,"click",jt),He(de,"gesturestart",q),He(de,"gestureend",Dr),He(o,Lr+"enter",Er),He(o,Lr+"leave",ei),He(o,Lr+"move",zt),y.isEnabled=y.isPressed=y.isDragging=!1,Dt&&Dt(y))},y.kill=y.revert=function(){y.disable();var L=ui.indexOf(y);L>=0&&ui.splice(L,1),ir===y&&(ir=0)},ui.push(y),V&&Ni(o)&&(ir=y),y.enable(_)},Tl(a,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),a}();Te.version="3.12.2";Te.create=function(a){return new Te(a)};Te.register=Va;Te.getAll=function(){return ui.slice()};Te.getById=function(a){return ui.filter(function(e){return e.vars.id===a})[0]};Na()&&ze.registerPlugin(Te);/*! * ScrollTrigger 3.12.2 * https://greensock.com * * @license Copyright 2008-2023, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var E,ni,W,ae,Bt,ne,Ua,zn,Ln,li,vn,on,Ne,Xn,Ss,Ke,bo,To,si,$a,Jn,Wa,_t,Ga,Ha,qa,cr,Cs,qs,di,Ks,jn,an=1,Ze=Date.now,es=Ze(),Ot=0,Ei=0,wo=function(e,r,t){var i=pt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return t["_"+r+"Clamp"]=i,i?e.substr(6,e.length-7):e},So=function(e,r){return r&&(!pt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Sl=function a(){return Ei&&requestAnimationFrame(a)},Co=function(){return Xn=1},ko=function(){return Xn=0},Wt=function(e){return e},Ri=function(e){return Math.round(e*1e5)/1e5||0},Ka=function(){return typeof window<"u"},Qa=function(){return E||Ka()&&(E=window.gsap)&&E.registerPlugin&&E},qr=function(e){return!!~Ua.indexOf(e)},Za=function(e){return(e==="Height"?Ks:W["inner"+e])||Bt["client"+e]||ne["client"+e]},Ja=function(e){return vr(e,"getBoundingClientRect")||(qr(e)?function(){return Cn.width=W.innerWidth,Cn.height=Ks,Cn}:function(){return rr(e)})},Cl=function(e,r,t){var i=t.d,n=t.d2,s=t.a;return(s=vr(e,"getBoundingClientRect"))?function(){return s()[i]}:function(){return(r?Za(n):e["client"+n])||0}},kl=function(e,r){return!r||~Kt.indexOf(e)?Ja(e):function(){return Cn}},nr=function(e,r){var t=r.s,i=r.d2,n=r.d,s=r.a;return Math.max(0,(t="scroll"+i)&&(s=vr(e,t))?s()-Ja(e)()[n]:qr(e)?(Bt[t]||ne[t])-Za(i):e[t]-e["offset"+i])},un=function(e,r){for(var t=0;t0){for(i-=s,o=0;o=i)return t[o];return t[o-1]}else for(o=t.length,i+=s;o--;)if(t[o]<=i)return t[o];return t[0]}:function(i,n,s){s===void 0&&(s=.001);var o=r(i);return!n||Math.abs(o-i)t&&(i*=r/100),e=e.substr(0,t-1)),e=i+(e in In?In[e]*r:~e.indexOf("%")?parseFloat(e)*r/100:parseFloat(e)||0)}return e},hn=function(e,r,t,i,n,s,o,u){var l=n.startColor,f=n.endColor,d=n.fontSize,h=n.indent,c=n.fontWeight,p=ae.createElement("div"),_=qr(t)||vr(t,"pinType")==="fixed",m=e.indexOf("scroller")!==-1,b=_?ne:t,x=e.indexOf("start")!==-1,w=x?l:f,v="border-color:"+w+";font-size:"+d+";color:"+w+";font-weight:"+c+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return v+="position:"+((m||u)&&_?"fixed;":"absolute;"),(m||u||!_)&&(v+=(i===Se?Qs:Zs)+":"+(s+parseFloat(h))+"px;"),o&&(v+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),p._isStart=x,p.setAttribute("class","gsap-marker-"+e+(r?" marker-"+r:"")),p.style.cssText=v,p.innerText=r||r===0?e+"-"+r:e,b.children[0]?b.insertBefore(p,b.children[0]):b.appendChild(p),p._offset=p["offset"+i.op.d2],Tn(p,0,i,x),p},Tn=function(e,r,t,i){var n={display:"block"},s=t[i?"os2":"p2"],o=t[i?"p2":"os2"];e._isFlipped=i,n[t.a+"Percent"]=i?-100:0,n[t.a]=i?"1px":0,n["border"+s+bi]=1,n["border"+o+bi]=0,n[t.p]=r+"px",E.set(e,n)},N=[],Ps={},Ji,Mo=function(){return Ze()-Ot>34&&(Ji||(Ji=requestAnimationFrame(sr)))},ii=function(){(!_t||!_t.isPressed||_t.startX>ne.clientWidth)&&(X.cache++,_t?Ji||(Ji=requestAnimationFrame(sr)):sr(),Ot||Qr("scrollStart"),Ot=Ze())},rs=function(){qa=W.innerWidth,Ha=W.innerHeight},Ai=function(){X.cache++,!Ne&&!Wa&&!ae.fullscreenElement&&!ae.webkitFullscreenElement&&(!Ga||qa!==W.innerWidth||Math.abs(W.innerHeight-Ha)>W.innerHeight*.25)&&zn.restart(!0)},Kr={},Dl=[],ru=function a(){return ke(U,"scrollEnd",a)||Nr(!0)},Qr=function(e){return Kr[e]&&Kr[e].map(function(r){return r()})||Dl},dt=[],iu=function(e){for(var r=0;rn)&&i.setPositions(i.start,Math.max(i.start+1,n),!0)}),t.forEach(function(i){return i&&i.render&&i.render(-1)}),X.forEach(function(i){je(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),nu(qs,1),zn.pause(),Gr++,Qe=2,sr(2),N.forEach(function(i){return je(i.vars.onRefresh)&&i.vars.onRefresh(i)}),Qe=U.isRefreshing=!1,Qr("refresh")},Os=0,wn=1,$i,sr=function(e){if(!Qe||e===2){U.isUpdating=!0,$i&&$i.update(0);var r=N.length,t=Ze(),i=t-es>=50,n=r&&N[0].scroll();if(wn=Os>n?-1:1,Qe||(Os=n),i&&(Ot&&!Xn&&t-Ot>200&&(Ot=0,Qr("scrollEnd")),vn=es,es=t),wn<0){for(Ke=r;Ke-- >0;)N[Ke]&&N[Ke].update(0,i);wn=1}else for(Ke=0;Ke20),t-=t-k}if(p&&(u[p]=e||-.001,e<0&&(e=0)),s){var P=e+t,C=s._isStart;m="scroll"+i.d2,Tn(s,P,i,C&&P>20||!C&&(d?Math.max(ne[m],Bt[m]):s.parentNode[m])<=P+1),d&&(l=rr(o),d&&(s.style[i.op.p]=l[i.op.p]-i.op.m-s._offset+Ae))}return c&&x&&(m=rr(x),c.seek(h),b=rr(x),c._caScrollDist=m[i.p]-b[i.p],e=e/c._caScrollDist*h),c&&c.seek(_),c?e:Math.round(e)},zl=/(webkit|moz|length|cssText|inset)/i,Ro=function(e,r,t,i){if(e.parentNode!==r){var n=e.style,s,o;if(r===ne){e._stOrig=n.cssText,o=St(e);for(s in o)!+s&&!zl.test(s)&&o[s]&&typeof n[s]=="string"&&s!=="0"&&(n[s]=o[s]);n.top=t,n.left=i}else n.cssText=e._stOrig;E.core.getCache(e).uncache=1,r.appendChild(e)}},ou=function(e,r,t){var i=r,n=i;return function(s){var o=Math.round(e());return o!==i&&o!==n&&Math.abs(o-i)>3&&Math.abs(o-n)>3&&(s=o,t&&t()),n=i,i=s,s}},dn=function(e,r,t){var i={};i[r.p]="+="+t,E.set(e,i)},Ao=function(e,r){var t=Tr(e,r),i="_scroll"+r.p2,n=function s(o,u,l,f,d){var h=s.tween,c=u.onComplete,p={};l=l||t();var _=ou(t,l,function(){h.kill(),s.tween=0});return d=f&&d||0,f=f||o-l,h&&h.kill(),u[i]=o,u.modifiers=p,p[i]=function(){return _(l+f*h.ratio+d*h.ratio*h.ratio)},u.onUpdate=function(){X.cache++,sr()},u.onComplete=function(){s.tween=0,c&&c.call(h)},h=s.tween=E.to(e,u),h};return e[i]=t,t.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},Pe(e,"wheel",t.wheelHandler),U.isTouch&&Pe(e,"touchmove",t.wheelHandler),n},U=function(){function a(r,t){ni||a.register(E)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Cs(this),this.init(r,t)}var e=a.prototype;return e.init=function(t,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Ei){this.update=this.refresh=this.kill=Wt;return}t=Po(pt(t)||xn(t)||t.nodeType?{trigger:t}:t,cn);var n=t,s=n.onUpdate,o=n.toggleClass,u=n.id,l=n.onToggle,f=n.onRefresh,d=n.scrub,h=n.trigger,c=n.pin,p=n.pinSpacing,_=n.invalidateOnRefresh,m=n.anticipatePin,b=n.onScrubComplete,x=n.onSnapComplete,w=n.once,v=n.snap,S=n.pinReparent,k=n.pinSpacer,T=n.containerAnimation,P=n.fastScrollEnd,C=n.preventOverlaps,O=t.horizontal||t.containerAnimation&&t.horizontal!==!1?Je:Se,A=!d&&d!==0,M=it(t.scroller||W),J=E.core.getCache(M),I=qr(M),B=("pinType"in t?t.pinType:vr(M,"pinType")||I&&"fixed")==="fixed",$=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],F=A&&t.toggleActions.split(" "),V="markers"in t?t.markers:cn.markers,j=I?0:parseFloat(St(M)["border"+O.p2+bi])||0,g=this,ie=t.onRefreshInit&&function(){return t.onRefreshInit(g)},Ue=Cl(M,I,O),Dt=kl(M,I),fe=0,Me=0,$e=0,me=Tr(M,O),We,Le,ur,et,Yt,Q,ye,tt,lt,y,ft,Zt,Sr,ve,Cr,kr,Ti,De,de,Et,Rt,Pr,Jt,Xt,rt,Or,Jr,jr,Mr,lr,fr,q,Dr,At,Ft,zt,Er,ei,jt;if(g._startClamp=g._endClamp=!1,g._dir=O,m*=45,g.scroller=M,g.scroll=T?T.time.bind(T):me,et=me(),g.vars=t,i=i||t.animation,"refreshPriority"in t&&($a=1,t.refreshPriority===-9999&&($i=g)),J.tweenScroll=J.tweenScroll||{top:Ao(M,Se),left:Ao(M,Je)},g.tweenTo=We=J.tweenScroll[O.p],g.scrubDuration=function(D){Dr=xn(D)&&D,Dr?q?q.duration(D):q=E.to(i,{ease:"expo",totalProgress:"+=0",duration:Dr,paused:!0,onComplete:function(){return b&&b(g)}}):(q&&q.progress(1).kill(),q=0)},i&&(i.vars.lazy=!1,i._initted&&!g.isReverted||i.vars.immediateRender!==!1&&t.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),g.animation=i.pause(),i.scrollTrigger=g,g.scrubDuration(d),lr=0,u||(u=i.vars.id)),v&&((!Ir(v)||v.push)&&(v={snapTo:v}),"scrollBehavior"in ne.style&&E.set(I?[ne,Bt]:M,{scrollBehavior:"auto"}),X.forEach(function(D){return je(D)&&D.target===(I?ae.scrollingElement||Bt:M)&&(D.smooth=!1)}),ur=je(v.snapTo)?v.snapTo:v.snapTo==="labels"?Ol(i):v.snapTo==="labelsDirectional"?Ml(i):v.directional!==!1?function(D,H){return js(v.snapTo)(D,Ze()-Me<500?0:H.direction)}:E.utils.snap(v.snapTo),At=v.duration||{min:.1,max:2},At=Ir(At)?li(At.min,At.max):li(At,At),Ft=E.delayedCall(v.delay||Dr/2||.1,function(){var D=me(),H=Ze()-Me<500,z=We.tween;if((H||Math.abs(g.getVelocity())<10)&&!z&&!Xn&&fe!==D){var Y=(D-Q)/ve,Ce=i&&!A?i.totalProgress():Y,K=H?0:(Ce-fr)/(Ze()-vn)*1e3||0,pe=E.utils.clamp(-Y,1-Y,ri(K/2)*K/.185),Ge=Y+(v.inertia===!1?0:pe),Ee=li(0,1,ur(Ge,g)),se=Math.round(Q+Ee*ve),ee=v,Lt=ee.onStart,oe=ee.onInterrupt,ct=ee.onComplete;if(D<=ye&&D>=Q&&se!==D){if(z&&!z._initted&&z.data<=ri(se-D))return;v.inertia===!1&&(pe=Ee-Y),We(se,{duration:At(ri(Math.max(ri(Ge-Ce),ri(Ee-Ce))*.185/K/.05||0)),ease:v.ease||"power3",data:ri(se-D),onInterrupt:function(){return Ft.restart(!0)&&oe&&oe(g)},onComplete:function(){g.update(),fe=me(),lr=fr=i&&!A?i.totalProgress():g.progress,x&&x(g),ct&&ct(g)}},D,pe*ve,se-D-pe*ve),Lt&&Lt(g,We.tween)}}else g.isActive&&fe!==D&&Ft.restart(!0)}).pause()),u&&(Ps[u]=g),h=g.trigger=it(h||c!==!0&&c),jt=h&&h._gsap&&h._gsap.stRevert,jt&&(jt=jt(g)),c=c===!0?h:it(c),pt(o)&&(o={targets:h,className:o}),c&&(p===!1||p===wt||(p=!p&&c.parentNode&&c.parentNode.style&&St(c.parentNode).display==="flex"?!1:xe),g.pin=c,Le=E.core.getCache(c),Le.spacer?Cr=Le.pinState:(k&&(k=it(k),k&&!k.nodeType&&(k=k.current||k.nativeElement),Le.spacerIsNative=!!k,k&&(Le.spacerState=_n(k))),Le.spacer=De=k||ae.createElement("div"),De.classList.add("pin-spacer"),u&&De.classList.add("pin-spacer-"+u),Le.pinState=Cr=_n(c)),t.force3D!==!1&&E.set(c,{force3D:!0}),g.spacer=De=Le.spacer,Mr=St(c),Xt=Mr[p+O.os2],Et=E.getProperty(c),Rt=E.quickSetter(c,O.a,Ae),is(c,De,Mr),Ti=_n(c)),V){Zt=Ir(V)?Po(V,Oo):Oo,y=hn("scroller-start",u,M,O,Zt,0),ft=hn("scroller-end",u,M,O,Zt,0,y),de=y["offset"+O.op.d2];var L=it(vr(M,"content")||M);tt=this.markerStart=hn("start",u,L,O,Zt,de,0,T),lt=this.markerEnd=hn("end",u,L,O,Zt,de,0,T),T&&(ei=E.quickSetter([tt,lt],O.a,Ae)),!B&&!(Kt.length&&vr(M,"fixedMarkers")===!0)&&(Pl(I?ne:M),E.set([y,ft],{force3D:!0}),Or=E.quickSetter(y,O.a,Ae),jr=E.quickSetter(ft,O.a,Ae))}if(T){var R=T.vars.onUpdate,Z=T.vars.onUpdateParams;T.eventCallback("onUpdate",function(){g.update(0,0,1),R&&R.apply(T,Z||[])})}if(g.previous=function(){return N[N.indexOf(g)-1]},g.next=function(){return N[N.indexOf(g)+1]},g.revert=function(D,H){if(!H)return g.kill(!0);var z=D!==!1||!g.enabled,Y=Ne;z!==g.isReverted&&(z&&(zt=Math.max(me(),g.scroll.rec||0),$e=g.progress,Er=i&&i.progress()),tt&&[tt,lt,y,ft].forEach(function(Ce){return Ce.style.display=z?"none":"block"}),z&&(Ne=g,g.update(z)),c&&(!S||!g.isActive)&&(z?Rl(c,De,Cr):is(c,De,St(c),rt)),z||g.update(z),Ne=Y,g.isReverted=z)},g.refresh=function(D,H,z,Y){if(!((Ne||!g.enabled)&&!H)){if(c&&D&&Ot){Pe(a,"scrollEnd",ru);return}!Qe&&ie&&ie(g),Ne=g,We.tween&&!z&&(We.tween.kill(),We.tween=0),q&&q.pause(),_&&i&&i.revert({kill:!1}).invalidate(),g.isReverted||g.revert(!0,!0),g._subPinOffset=!1;var Ce=Ue(),K=Dt(),pe=T?T.duration():nr(M,O),Ge=ve<=.01,Ee=0,se=Y||0,ee=Ir(z)?z.end:t.end,Lt=t.endTrigger||h,oe=Ir(z)?z.start:t.start||(t.start===0||!h?0:c?"0 0":"0 100%"),ct=g.pinnedContainer=t.pinnedContainer&&it(t.pinnedContainer,g),Vt=h&&Math.max(0,N.indexOf(g))||0,ht=Vt,Re,Ie,Rr,en,Be,we,Ut,Vn,to,wi,$t,Si,tn;for(V&&Ir(z)&&(Si=E.getProperty(y,O.p),tn=E.getProperty(ft,O.p));ht--;)we=N[ht],we.end||we.refresh(0,1)||(Ne=g),Ut=we.pin,Ut&&(Ut===h||Ut===c||Ut===ct)&&!we.isReverted&&(wi||(wi=[]),wi.unshift(we),we.revert(!0,!0)),we!==N[ht]&&(Vt--,ht--);for(je(oe)&&(oe=oe(g)),oe=wo(oe,"start",g),Q=Eo(oe,h,Ce,O,me(),tt,y,g,K,j,B,pe,T,g._startClamp&&"_startClamp")||(c?-.001:0),je(ee)&&(ee=ee(g)),pt(ee)&&!ee.indexOf("+=")&&(~ee.indexOf(" ")?ee=(pt(oe)?oe.split(" ")[0]:"")+ee:(Ee=bn(ee.substr(2),Ce),ee=pt(oe)?oe:(T?E.utils.mapRange(0,T.duration(),T.scrollTrigger.start,T.scrollTrigger.end,Q):Q)+Ee,Lt=h)),ee=wo(ee,"end",g),ye=Math.max(Q,Eo(ee||(Lt?"100% 0":pe),Lt,Ce,O,me()+Ee,lt,ft,g,K,j,B,pe,T,g._endClamp&&"_endClamp"))||-.001,Ee=0,ht=Vt;ht--;)we=N[ht],Ut=we.pin,Ut&&we.start-we._pinPush<=Q&&!T&&we.end>0&&(Re=we.end-(g._startClamp?Math.max(0,we.start):we.start),(Ut===h&&we.start-we._pinPush1&&($t=(I?ae.scrollingElement||Bt:M).style,$t={style:$t,value:$t["overflow"+O.a.toUpperCase()]},I&&St(ne)["overflow"+O.a.toUpperCase()]!=="scroll"&&($t.style["overflow"+O.a.toUpperCase()]="scroll")),is(c,De,Re),Ti=_n(c),Ie=rr(c,!0),Vn=B&&Tr(M,en?Je:Se)(),p&&(rt=[p+O.os2,ve+se+Ae],rt.t=De,ht=p===xe?ks(c,O)+ve+se:0,ht&&rt.push(O.d,ht+Ae),pi(rt),ct&&N.forEach(function(Ci){Ci.pin===ct&&Ci.vars.pinSpacing!==!1&&(Ci._subPinOffset=!0)}),B&&me(zt)),B&&(Be={top:Ie.top+(en?Rr-Q:Vn)+Ae,left:Ie.left+(en?Vn:Rr-Q)+Ae,boxSizing:"border-box",position:"fixed"},Be[$r]=Be["max"+bi]=Math.ceil(Ie.width)+Ae,Be[Wr]=Be["max"+Js]=Math.ceil(Ie.height)+Ae,Be[wt]=Be[wt+Vi]=Be[wt+Yi]=Be[wt+Ui]=Be[wt+Xi]="0",Be[xe]=Re[xe],Be[xe+Vi]=Re[xe+Vi],Be[xe+Yi]=Re[xe+Yi],Be[xe+Ui]=Re[xe+Ui],Be[xe+Xi]=Re[xe+Xi],kr=Fl(Cr,Be,S),Qe&&me(0)),i?(to=i._initted,Jn(1),i.render(i.duration(),!0,!0),Jt=Et(O.a)-Pr+ve+se,Jr=Math.abs(ve-Jt)>1,B&&Jr&&kr.splice(kr.length-2,2),i.render(0,!0,!0),to||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),Jn(0)):Jt=ve,$t&&($t.value?$t.style["overflow"+O.a.toUpperCase()]=$t.value:$t.style.removeProperty("overflow-"+O.a));else if(h&&me()&&!T)for(Ie=h.parentNode;Ie&&Ie!==ne;)Ie._pinOffset&&(Q-=Ie._pinOffset,ye-=Ie._pinOffset),Ie=Ie.parentNode;wi&&wi.forEach(function(Ci){return Ci.revert(!1,!0)}),g.start=Q,g.end=ye,et=Yt=Qe?zt:me(),!T&&!Qe&&(et0?N.slice(0,H).reverse():N.slice(H+1);return(pt(D)?z.filter(function(Y){return Y.vars.preventOverlaps===D}):z).filter(function(Y){return g.direction>0?Y.end<=Q:Y.start>=ye})},g.update=function(D,H,z){if(!(T&&!z&&!D)){var Y=Qe===!0?zt:g.scroll(),Ce=D?0:(Y-Q)/ve,K=Ce<0?0:Ce>1?1:Ce||0,pe=g.progress,Ge,Ee,se,ee,Lt,oe,ct,Vt;if(H&&(Yt=et,et=T?me():Y,v&&(fr=lr,lr=i&&!A?i.totalProgress():K)),m&&!K&&c&&!Ne&&!an&&Ot&&Qpe?1:-1,g.progress=K,Lt&&!Ne&&(se=K&&!pe?0:K===1?1:pe===1?2:3,A&&(ee=!oe&&F[se+1]!=="none"&&F[se+1]||F[se],Vt=i&&(ee==="complete"||ee==="reset"||ee in i))),C&&(oe||Vt)&&(Vt||d||!i)&&(je(C)?C(g):g.getTrailing(C).forEach(function(Rr){return Rr.endAnimation()})),A||(q&&!Ne&&!an?(q._dp._time-q._start!==q._time&&q.render(q._dp._time-q._start),q.resetTo?q.resetTo("totalProgress",K,i._tTime/i._tDur):(q.vars.totalProgress=K,q.invalidate().restart())):i&&i.totalProgress(K,!!(Ne&&(Me||D)))),c){if(D&&p&&(De.style[p+O.os2]=Xt),!B)Rt(Ri(Pr+Jt*K));else if(Lt){if(ct=!D&&K>pe&&ye+1>Y&&Y+1>=nr(M,O),S)if(!D&&(Ge||ct)){var ht=rr(c,!0),Re=Y-Q;Ro(c,ne,ht.top+(O===Se?Re:0)+Ae,ht.left+(O===Se?0:Re)+Ae)}else Ro(c,De);pi(Ge||ct?kr:Ti),Jr&&K<1&&Ge||Rt(Pr+(K===1&&!ct?Jt:0))}}v&&!We.tween&&!Ne&&!an&&Ft.restart(!0),o&&(oe||w&&K&&(K<1||!jn))&&Ln(o.targets).forEach(function(Rr){return Rr.classList[Ge||w?"add":"remove"](o.className)}),s&&!A&&!D&&s(g),Lt&&!Ne?(A&&(Vt&&(ee==="complete"?i.pause().totalProgress(1):ee==="reset"?i.restart(!0).pause():ee==="restart"?i.restart(!0):i[ee]()),s&&s(g)),(oe||!jn)&&(l&&oe&&ts(g,l),$[se]&&ts(g,$[se]),w&&(K===1?g.kill(!1,1):$[se]=0),oe||(se=K===1?1:3,$[se]&&ts(g,$[se]))),P&&!Ge&&Math.abs(g.getVelocity())>(xn(P)?P:2500)&&(Oi(g.callbackAnimation),q?q.progress(1):Oi(i,ee==="reverse"?1:!K,1))):A&&s&&!Ne&&s(g)}if(jr){var Ie=T?Y/T.duration()*(T._caScrollDist||0):Y;Or(Ie+(y._isFlipped?1:0)),jr(Ie)}ei&&ei(-Y/T.duration()*(T._caScrollDist||0))}},g.enable=function(D,H){g.enabled||(g.enabled=!0,Pe(M,"resize",Ai),I||Pe(M,"scroll",ii),ie&&Pe(a,"refreshInit",ie),D!==!1&&(g.progress=$e=0,et=Yt=fe=me()),H!==!1&&g.refresh())},g.getTween=function(D){return D&&We?We.tween:q},g.setPositions=function(D,H,z,Y){if(T){var Ce=T.scrollTrigger,K=T.duration(),pe=Ce.end-Ce.start;D=Ce.start+pe*D/K,H=Ce.start+pe*H/K}g.refresh(!1,!1,{start:So(D,z&&!!g._startClamp),end:So(H,z&&!!g._endClamp)},Y),g.update()},g.adjustPinSpacing=function(D){if(rt&&D){var H=rt.indexOf(O.d)+1;rt[H]=parseFloat(rt[H])+D+Ae,rt[1]=parseFloat(rt[1])+D+Ae,pi(rt)}},g.disable=function(D,H){if(g.enabled&&(D!==!1&&g.revert(!0,!0),g.enabled=g.isActive=!1,H||q&&q.pause(),zt=0,Le&&(Le.uncache=1),ie&&ke(a,"refreshInit",ie),Ft&&(Ft.pause(),We.tween&&We.tween.kill()&&(We.tween=0)),!I)){for(var z=N.length;z--;)if(N[z].scroller===M&&N[z]!==g)return;ke(M,"resize",Ai),I||ke(M,"scroll",ii)}},g.kill=function(D,H){g.disable(D,H),q&&!H&&q.kill(),u&&delete Ps[u];var z=N.indexOf(g);z>=0&&N.splice(z,1),z===Ke&&wn>0&&Ke--,z=0,N.forEach(function(Y){return Y.scroller===g.scroller&&(z=1)}),z||Qe||(g.scroll.rec=0),i&&(i.scrollTrigger=null,D&&i.revert({kill:!1}),H||i.kill()),tt&&[tt,lt,y,ft].forEach(function(Y){return Y.parentNode&&Y.parentNode.removeChild(Y)}),$i===g&&($i=0),c&&(Le&&(Le.uncache=1),z=0,N.forEach(function(Y){return Y.pin===c&&z++}),z||(Le.spacer=0)),t.onKill&&t.onKill(g)},N.push(g),g.enable(!1,!1),jt&&jt(g),i&&i.add&&!ve){var ce=g.update;g.update=function(){g.update=ce,Q||ye||g.refresh()},E.delayedCall(.01,g.update),ve=.01,Q=ye=0}else g.refresh();c&&El()},a.register=function(t){return ni||(E=t||Qa(),Ka()&&window.document&&a.enable(),ni=Ei),ni},a.defaults=function(t){if(t)for(var i in t)cn[i]=t[i];return cn},a.disable=function(t,i){Ei=0,N.forEach(function(s){return s[i?"kill":"disable"](t)}),ke(W,"wheel",ii),ke(ae,"scroll",ii),clearInterval(on),ke(ae,"touchcancel",Wt),ke(ne,"touchstart",Wt),ln(ke,ae,"pointerdown,touchstart,mousedown",Co),ln(ke,ae,"pointerup,touchend,mouseup",ko),zn.kill(),un(ke);for(var n=0;n0&&s.left+o0&&s.top+o=0&&dt.splice(r,5),dt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),E.core.getCache(e),Cs())}}):dt};U.revert=function(a,e){return eo(!a,e)};U.create=function(a,e){return new U(a,e)};U.refresh=function(a){return a?Ai():(ni||U.register())&&Nr(!0)};U.update=function(a){return++X.cache&&sr(a===!0?2:0)};U.clearScrollMemory=nu;U.maxScroll=function(a,e){return nr(a,e?Je:Se)};U.getScrollFunc=function(a,e){return Tr(it(a),e?Je:Se)};U.getById=function(a){return Ps[a]};U.getAll=function(){return N.filter(function(a){return a.vars.id!=="ScrollSmoother"})};U.isScrolling=function(){return!!Ot};U.snapDirectional=js;U.addEventListener=function(a,e){var r=Kr[a]||(Kr[a]=[]);~r.indexOf(e)||r.push(e)};U.removeEventListener=function(a,e){var r=Kr[a],t=r&&r.indexOf(e);t>=0&&r.splice(t,1)};U.batch=function(a,e){var r=[],t={},i=e.interval||.016,n=e.batchMax||1e9,s=function(l,f){var d=[],h=[],c=E.delayedCall(i,function(){f(d,h),d=[],h=[]}).pause();return function(p){d.length||c.restart(!0),d.push(p.trigger),h.push(p),n<=d.length&&c.progress(1)}},o;for(o in e)t[o]=o.substr(0,2)==="on"&&je(e[o])&&o!=="onRefreshInit"?s(o,e[o]):e[o];return je(n)&&(n=n(),Pe(U,"refresh",function(){return n=e.batchMax()})),Ln(a).forEach(function(u){var l={};for(o in t)l[o]=t[o];l.trigger=u,r.push(U.create(l))}),r};var Fo=function(e,r,t,i){return r>i?e(i):r<0&&e(0),t>i?(i-r)/(t-r):t<0?r/(r-t):1},ns=function a(e,r){r===!0?e.style.removeProperty("touch-action"):e.style.touchAction=r===!0?"auto":r?"pan-"+r+(Te.isTouch?" pinch-zoom":""):"none",e===Bt&&a(ne,r)},pn={auto:1,scroll:1},Ll=function(e){var r=e.event,t=e.target,i=e.axis,n=(r.changedTouches?r.changedTouches[0]:r).target,s=n._gsap||E.core.getCache(n),o=Ze(),u;if(!s._isScrollT||o-s._isScrollT>2e3){for(;n&&n!==ne&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(pn[(u=St(n)).overflowY]||pn[u.overflowX]));)n=n.parentNode;s._isScroll=n&&n!==t&&!qr(n)&&(pn[(u=St(n)).overflowY]||pn[u.overflowX]),s._isScrollT=o}(s._isScroll||i==="x")&&(r.stopPropagation(),r._gsapAllow=!0)},au=function(e,r,t,i){return Te.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:r,onWheel:i=i&&Ll,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return t&&Pe(ae,Te.eventTypes[0],Lo,!1,!0)},onDisable:function(){return ke(ae,Te.eventTypes[0],Lo,!0)}})},Il=/(input|label|select|textarea)/i,zo,Lo=function(e){var r=Il.test(e.target.tagName);(r||zo)&&(e._gsapAllow=!0,zo=r)},Bl=function(e){Ir(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 r=e,t=r.normalizeScrollX,i=r.momentum,n=r.allowNestedScroll,s=r.onRelease,o,u,l=it(e.target)||Bt,f=E.core.globals().ScrollSmoother,d=f&&f.get(),h=cr&&(e.content&&it(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),c=Tr(l,Se),p=Tr(l,Je),_=1,m=(Te.isTouch&&W.visualViewport?W.visualViewport.scale*W.visualViewport.width:W.outerWidth)/W.innerWidth,b=0,x=je(i)?function(){return i(o)}:function(){return i||2.8},w,v,S=au(l,e.type,!0,n),k=function(){return v=!1},T=Wt,P=Wt,C=function(){u=nr(l,Se),P=li(cr?1:0,u),t&&(T=li(0,nr(l,Je))),w=Gr},O=function(){h._gsap.y=Ri(parseFloat(h._gsap.y)+c.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)",c.offset=c.cacheID=0},A=function(){if(v){requestAnimationFrame(k);var V=Ri(o.deltaY/2),j=P(c.v-V);if(h&&j!==c.v+c.offset){c.offset=j-c.v;var g=Ri((parseFloat(h&&h._gsap.y)||0)-c.offset);h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+g+", 0, 1)",h._gsap.y=g+"px",c.cacheID=X.cache,sr()}return!0}c.offset&&O(),v=!0},M,J,I,B,$=function(){C(),M.isActive()&&M.vars.scrollY>u&&(c()>u?M.progress(1)&&c(u):M.resetTo("scrollY",u))};return h&&E.set(h,{y:"+=0"}),e.ignoreCheck=function(F){return cr&&F.type==="touchmove"&&A()||_>1.05&&F.type!=="touchstart"||o.isGesturing||F.touches&&F.touches.length>1},e.onPress=function(){v=!1;var F=_;_=Ri((W.visualViewport&&W.visualViewport.scale||1)/m),M.pause(),F!==_&&ns(l,_>1.01?!0:t?!1:"x"),J=p(),I=c(),C(),w=Gr},e.onRelease=e.onGestureStart=function(F,V){if(c.offset&&O(),!V)B.restart(!0);else{X.cache++;var j=x(),g,ie;t&&(g=p(),ie=g+j*.05*-F.velocityX/.227,j*=Fo(p,g,ie,nr(l,Je)),M.vars.scrollX=T(ie)),g=c(),ie=g+j*.05*-F.velocityY/.227,j*=Fo(c,g,ie,nr(l,Se)),M.vars.scrollY=P(ie),M.invalidate().duration(j).play(.01),(cr&&M.vars.scrollY>=u||g>=u-1)&&E.to({},{onUpdate:$,duration:j})}s&&s(F)},e.onWheel=function(){M._ts&&M.pause(),Ze()-b>1e3&&(w=0,b=Ze())},e.onChange=function(F,V,j,g,ie){if(Gr!==w&&C(),V&&t&&p(T(g[2]===V?J+(F.startX-F.x):p()+V-g[1])),j){c.offset&&O();var Ue=ie[2]===j,Dt=Ue?I+F.startY-F.y:c()+j-ie[1],fe=P(Dt);Ue&&Dt!==fe&&(I+=fe-Dt),c(fe)}(j||V)&&sr()},e.onEnable=function(){ns(l,t?!1:"x"),U.addEventListener("refresh",$),Pe(W,"resize",$),c.smooth&&(c.target.style.scrollBehavior="auto",c.smooth=p.smooth=!1),S.enable()},e.onDisable=function(){ns(l,!0),ke(W,"resize",$),U.removeEventListener("refresh",$),S.kill()},e.lockAxis=e.lockAxis!==!1,o=new Te(e),o.iOS=cr,cr&&!c()&&c(1),cr&&E.ticker.add(Wt),B=o._dc,M=E.to(o,{ease:"power4",paused:!0,scrollX:t?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:ou(c,c(),function(){return M.pause()})},onUpdate:sr,onComplete:B.vars.onComplete}),o};U.sort=function(a){return N.sort(a||function(e,r){return(e.vars.refreshPriority||0)*-1e6+e.start-(r.start+(r.vars.refreshPriority||0)*-1e6)})};U.observe=function(a){return new Te(a)};U.normalizeScroll=function(a){if(typeof a>"u")return _t;if(a===!0&&_t)return _t.enable();if(a===!1)return _t&&_t.kill();var e=a instanceof Te?a:Bl(a);return _t&&_t.target===e.target&&_t.kill(),qr(e.target)&&(_t=e),e};U.core={_getVelocityProp:ws,_inputObserver:au,_scrollers:X,_proxies:Kt,bridge:{ss:function(){Ot||Qr("scrollStart"),Ot=Ze()},ref:function(){return Ne}}};Qa()&&E.registerPlugin(U);Hs.registerPlugin(U);const Nl=document.querySelectorAll(".js-parallax");Nl.forEach(a=>{Hs.fromTo(a.querySelector("img"),{y:0},{y:-60,ease:"none",scrollTrigger:{trigger:a,start:"top bottom",end:"bottom top",scrub:1}})});export{Hs as g};