(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,89970,83495,t=>{"use strict";function e(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var n,i,s,a,o,u,l,c,f,h,p,d,_,g,m,v,y,x,b,T,w,k,M,O,C,E,S={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},A={duration:.5,overwrite:!1,delay:0},P=2*Math.PI,D=P/4,R=0,z=Math.sqrt,F=Math.cos,I=Math.sin,B=function(t){return"string"==typeof t},Y=function(t){return"function"==typeof t},L=function(t){return"number"==typeof t},N=function(t){return void 0===t},X=function(t){return"object"==typeof t},U=function(t){return!1!==t},q=function(){return"u">typeof window},H=function(t){return Y(t)||B(t)},W="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},V=Array.isArray,j=/random\([^)]+\)/g,G=/,\s*/g,Q=/(?:-?\.?\d|\.)+/gi,Z=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,$=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,K=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,J=/[+-]=-?[.\d]+/,tt=/[^,'"\[\]\s]+/gi,te=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,tr={},tn={},ti=function(t){return(tn=tz(t,tr))&&rM},ts=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ta=function(t,e){return!e&&console.warn(t)},to=function(t,e){return t&&(tr[t]=e)&&tn&&(tn[t]=e)||tr},tu=function(){return 0},tl={suppressEvents:!0,isStart:!0,kill:!1},tc={suppressEvents:!0,kill:!1},tf={suppressEvents:!0},th={},tp=[],td={},t_={},tg={},tm=30,tv=[],ty="",tx=function(t){var e,r,n=t[0];if(X(n)||Y(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(r=tv.length;r--&&!tv[r].targetTest(n););e=tv[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new eX(t[r],e)))||t.splice(r,1);return t},tb=function(t){return t._gsap||tx(ei(t))[0]._gsap},tT=function(t,e,r){return(r=t[e])&&Y(r)?t[e]():N(r)&&t.getAttribute&&t.getAttribute(e)||r},tw=function(t,e){return(t=t.split(",")).forEach(e)||t},tk=function(t){return Math.round(1e5*t)/1e5||0},tM=function(t){return Math.round(1e7*t)/1e7||0},tO=function(t,e){var r=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+n:"-"===r?t-n:"*"===r?t*n:t/n},tC=function(t,e){for(var r=e.length,n=0;0>t.indexOf(e[n])&&++ns;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=a,e.parent=e._dp=t,e},tN=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=e._prev,s=e._next;i?i._next=s:t[r]===e&&(t[r]=s),s?s._prev=i:t[n]===e&&(t[n]=i),e._next=e._prev=e.parent=null},tX=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},tU=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},tq=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},tH=function(t,e,r,n){return t._startAt&&(y?t._startAt.revert(tc):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},tW=function(t){return t._repeat?tV(t._tTime,t=t.duration()+t._rDelay)*t:0},tV=function(t,e){var r=Math.floor(t=tM(t/e));return t&&r===t?r-1:r},tj=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},tG=function(t){return t._end=tM(t._start+(t._tDur/Math.abs(t._ts||t._rts||1e-8)||0))},tQ=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=tM(r._time-(t._ts>0?e/t._ts:-(((t._dirty?t.totalDuration():t._tDur)-e)/t._ts))),tG(t),r._dirty||tU(r,t)),t},tZ=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start1e-8)&&e.render(r,!0)),tU(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},t$=function(t,e,r,n){return e.parent&&tX(e),e._start=tM((L(r)?r:r||t!==b?t4(t,r,e):t._time)+e._delay),e._end=tM(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),tL(t,e,"_first","_last",t._sort?"_start":0),t1(e)||(t._recent=e),n||tZ(t,e),t._ts<0&&tQ(t,t._tTime),t},tK=function(t,e){return(tr.ScrollTrigger||ts("scrollTrigger",e))&&tr.ScrollTrigger.create(e,t)},tJ=function(t,e,r,n,i){return(e0(t,e,i),t._initted)?!r&&t._pt&&!y&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&O!==eC.frame?(tp.push(t),t._lazy=[i,n],1):void 0:1},t0=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(0>r.rawTime()||t(r))},t1=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},t2=function(t,e,r,n){var i,s,a,o=t.ratio,u=e<0||!e&&(!t._start&&t0(t)&&!(!t._initted&&t1(t))||(t._ts<0||t._dp._ts<0)&&!t1(t))?0:1,l=t._rDelay,c=0;if(l&&t._repeat&&(s=tV(c=et(0,t._tDur,e),l),t._yoyo&&1&s&&(u=1-u),s!==tV(t._tTime,l)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||y||n||1e-8===t._zTime||!e&&t._zTime){if(!t._initted&&tJ(t,e,n,r,c))return;for(a=t._zTime,t._zTime=e||1e-8*!!r,r||(r=e&&!a),t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=c,i=t._pt;i;)i.r(u,i.d),i=i._next;e<0&&tH(t,e,r,!0),t._onUpdate&&!r&&e_(t,"onUpdate"),c&&t._repeat&&!r&&t.parent&&e_(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&tX(t,1),r||y||(e_(t,u?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},t5=function(t,e,r){var n;if(r>e)for(n=t._first;n&&n._start<=r;){if("isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=r;){if("isPause"===n.data&&n._start0&&!n&&tQ(t,t._tTime=t._tDur*a),t.parent&&tG(t),r||tU(t.parent,t),t},t8=function(t){return t instanceof eq?tU(t):t3(t,t._dur)},t6={_start:0,endTime:tu,totalDuration:tu},t4=function t(e,r,n){var i,s,a,o=e.labels,u=e._recent||t6,l=e.duration()>=1e8?u.endTime(!1):e._dur;return B(r)&&(isNaN(r)||r in o)?(s=r.charAt(0),a="%"===r.substr(-1),i=r.indexOf("="),"<"===s||">"===s)?(i>=0&&(r=r.replace(/=/,"")),("<"===s?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(a?(i<0?u:n).totalDuration()/100:1)):i<0?(r in o||(o[r]=l),o[r]):(s=parseFloat(r.charAt(i-1)+r.substr(i+1)),a&&n&&(s=s/100*(V(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+s:l+s):null==r?l:+r},t9=function(t,e,r){var n,i,s=L(e[1]),a=(s?2:1)+(t<2?0:1),o=e[a];if(s&&(o.duration=e[1]),o.parent=r,t){for(n=o,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=U(i.vars.inherit)&&i.parent;o.immediateRender=U(n.immediateRender),t<2?o.runBackwards=1:o.startAt=e[a-1]}return new e4(e[0],o,e[a+1])},t7=function(t,e){return t||0===t?e(t):e},et=function(t,e,r){return re?e:r},ee=function(t,e){return B(t)&&(e=te.exec(t))?e[1]:""},er=[].slice,en=function(t,e){return t&&X(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&X(t[0]))&&!t.nodeType&&t!==T},ei=function(t,e,r){var n;return x&&!e&&x.selector?x.selector(t):B(t)&&!r&&(w||!eE())?er.call((e||k).querySelectorAll(t),0):V(t)?(void 0===n&&(n=[]),t.forEach(function(t){var e;return B(t)&&!r||en(t,1)?(e=n).push.apply(e,ei(t)):n.push(t)})||n):en(t)?er.call(t,0):t?[t]:[]},es=function(t){return t=ei(t)[0]||ta("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return ei(e,r.querySelectorAll?r:r===t?ta("Invalid scope")||k.createElement("div"):t)}},ea=function(t){return t.sort(function(){return .5-Math.random()})},eo=function(t){if(Y(t))return t;var e=X(t)?t:{each:t},r=eI(e.ease),n=e.from||0,i=parseFloat(e.base)||0,s={},a=n>0&&n<1,o=isNaN(n)||a,u=e.axis,l=n,c=n;return B(n)?l=c=({center:.5,edges:.5,end:1})[n]||0:!a&&o&&(l=n[0],c=n[1]),function(t,a,f){var h,p,d,_,g,m,v,y,x,b=(f||e).length,T=s[b];if(!T){if(!(x="auto"===e.grid?0:(e.grid||[1,1e8])[1])){for(v=-1e8;v<(v=f[x++].getBoundingClientRect().left)&&xv&&(v=g),gb?b-1:u?"y"===u?b/x:x:Math.max(x,b/x))||0)*("edges"===n?-1:1),T.b=b<0?i-b:i,T.u=ee(e.amount||e.each)||0,r=r&&b<0?eF(r):r}return b=(T[t]-T.min)/T.max||0,tM(T.b+(r?r(b):b)*T.v)+T.u}},eu=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=tM(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(L(r)?0:ee(r))}},el=function(t,e){var r,n,i=V(t);return!i&&X(t)&&(r=i=t.radius||1e8,t.values?(n=!L((t=ei(t.values))[0]))&&(r*=r):t=eu(t.increment)),t7(e,i?Y(t)?function(e){return Math.abs((n=t(e))-e)<=r?n:e}:function(e){for(var i,s,a=parseFloat(n?e.x:e),o=parseFloat(n?e.y:0),u=1e8,l=0,c=t.length;c--;)(i=n?(i=t[c].x-a)*i+(s=t[c].y-o)*s:Math.abs(t[c]-a))(i=Math.abs(i))&&(s=n,o=i);return s},e_=function(t,e,r){var n,i,s,a=t.vars,o=a[e],u=x,l=t._ctx;if(o)return n=a[e+"Params"],i=a.callbackScope||t,r&&tp.length&&tE(),l&&(x=l),s=n?o.apply(i,n):o.call(i),x=u,s},eg=function(t){return tX(t),t.scrollTrigger&&t.scrollTrigger.kill(!!y),1>t.progress()&&e_(t,"onInterrupt"),t},em=[],ev=function(t){if(t)if(t=!t.name&&t.default||t,q()||t.headless){var e=t.name,r=Y(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:tu,render:ra,add:e$,kill:ru,modifier:ro,rawVars:0},s={targetTest:0,get:0,getSetter:rr,aliases:{},register:0};if(eE(),t!==n){if(t_[e])return;tR(n,tR(tI(t,i),s)),tz(n.prototype,tz(i,tI(t,s))),t_[n.prop=e]=n,t.targetTest&&(tv.push(n),th[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}to(e,n),t.register&&t.register(rM,n,rf)}else em.push(t)},ey={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ex=function(t,e,r){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*255+.5|0},eb=function(t,e,r){var n,i,s,a,o,u,l,c,f,h,p=t?L(t)?[t>>16,t>>8&255,255&t]:0:ey.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),ey[t])p=ey[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),t="#"+n+n+(i=t.charAt(2))+i+(s=t.charAt(3))+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&255,255&p,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t]}else if("hsl"===t.substr(0,3))if(p=h=t.match(Q),e){if(~t.indexOf("="))return p=t.match(Z),r&&p.length<4&&(p[3]=1),p}else a=p[0]%360/360,o=p[1]/100,i=(u=p[2]/100)<=.5?u*(o+1):u+o-u*o,n=2*u-i,p.length>3&&(p[3]*=1),p[0]=ex(a+1/3,n,i),p[1]=ex(a,n,i),p[2]=ex(a-1/3,n,i);else p=t.match(Q)||ey.transparent;p=p.map(Number)}return e&&!h&&(n=p[0]/255,u=((l=Math.max(n,i=p[1]/255,s=p[2]/255))+(c=Math.min(n,i,s)))/2,l===c?a=o=0:(f=l-c,o=u>.5?f/(2-l-c):f/(l+c),a=(l===n?(i-s)/f+6*(ic||y<0)&&(h+=y-f),p+=y,((r=(m=p-h)-_)>0||x)&&(v=++a.frame,o=m-1e3*a.time,a.time=m/=1e3,_+=r+(r>=d?4:d-r),s=1),x||(n=i(t)),s)for(u=0;utypeof requestAnimationFrame&&requestAnimationFrame,n&&a.sleep(),i=s||function(t){return setTimeout(t,_-1e3*a.time+1|0)},E=1,m(2))},sleep:function(){(s?cancelAnimationFrame:clearTimeout)(n),E=0,i=tu},lagSmoothing:function(t,e){f=Math.min(e||33,c=t||1/0)},fps:function(t){d=1e3/(t||240),_=1e3*a.time+d},add:function(t,e,r){var n=e?function(e,r,i,s){t(e,r,i,s),a.remove(n)}:t;return a.remove(t),g[r?"unshift":"push"](n),eE(),n},remove:function(t,e){~(e=g.indexOf(t))&&g.splice(e,1)&&u>=e&&u--},_listeners:g}),eE=function(){return!E&&eC.wake()},eS={},eA=/^[\d.\-M][\d.\-,\s]/,eP=/["']/g,eD=function(t){for(var e,r,n,i={},s=t.substr(1,t.length-3).split(":"),a=s[0],o=1,u=s.length;o1&&r.config?r.config.apply(null,~t.indexOf("{")?[eD(e[1])]:eR(t).split(",").map(tP)):eS._CE&&eA.test(t)?eS._CE("",t):r},eF=function(t){return function(e){return 1-t(1-e)}},eI=function(t,e){return t&&(Y(t)?t:eS[t]||ez(t))||e},eB=function(t,e,r,n){void 0===r&&(r=function(t){return 1-e(1-t)}),void 0===n&&(n=function(t){return t<.5?e(2*t)/2:1-e((1-t)*2)/2});var i,s={easeIn:e,easeOut:r,easeInOut:n};return tw(t,function(t){for(var e in eS[t]=tr[t]=s,eS[i=t.toLowerCase()]=r,s)eS[i+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=eS[t+"."+e]=s[e]}),s},eY=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t((e-.5)*2)/2}},eL=function t(e,r,n){var i=r>=1?r:1,s=(n||(e?.3:.45))/(r<1?r:1),a=s/P*(Math.asin(1/i)||0),o=function(t){return 1===t?1:i*Math.pow(2,-10*t)*I((t-a)*s)+1},u="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:eY(o);return s=P/s,u.config=function(r,n){return t(e,r,n)},u},eN=function t(e,r){void 0===r&&(r=1.70158);var n=function(t){return t?--t*t*((r+1)*t+r)+1:0},i="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:eY(n);return i.config=function(r){return t(e,r)},i};tw("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;eB(t+",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(2*t,r)/2:1-Math.pow((1-t)*2,r)/2})}),eS.Linear.easeNone=eS.none=eS.Linear.easeIn,eB("Elastic",eL("in"),eL("out"),eL()),eW=2*(eH=1/2.75),eV=2.5*eH,eB("Bounce",function(t){return 1-ej(1-t)},ej=function(t){return t0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,t3(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(eE(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(tQ(this,t),!r._dp||r.parent||tZ(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:-((r.totalDuration()-r._tTime)/r._ts))&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&t$(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&1e-8===Math.abs(this._zTime)||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),tA(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+tW(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(1&this.iteration())?1-t:t)+tW(this),e):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?tV(this._tTime,r)+1:1},e.timeScale=function(t,e){if(!arguments.length)return -1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?tj(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(et(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),tG(this),tq(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):(eE(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=tM(t);var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&t$(e,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(U(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&1>this.totalProgress())?this._tTime%(this._dur+this._rDelay):this._ts?tj(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=tf);var e=y;return y=t,tS(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),y=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,t8(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,t8(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(t4(this,t),U(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,U(e)),this._dur||(this._zTime=-1e-8),this},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),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?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!!(!e||this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t1?(e?(n[t]=e,r&&(n[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(t){var e=this,r=e._prom;return new Promise(function(n){var i=Y(t)?t:tD,s=function(){var t=e.then;e.then=null,r&&r(),Y(i)&&(i=i(e))&&(i.then||i===e)&&(e.then=t),n(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?s():e._prom=s})},e.kill=function(){eg(this)},t}();tR(eU.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:-1e-8,_prom:0,_ps:!1,_rts:1});var eq=function(t){function n(r,n){var i;return void 0===r&&(r={}),(i=t.call(this,r)||this).labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=U(r.sortChildren),b&&t$(r.parent||b,e(i),n),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&tK(e(i),r.scrollTrigger),i}r(n,t);var i=n.prototype;return i.to=function(t,e,r){return t9(0,arguments,this),this},i.from=function(t,e,r){return t9(1,arguments,this),this},i.fromTo=function(t,e,r,n){return t9(2,arguments,this),this},i.set=function(t,e,r){return e.duration=0,e.parent=this,tB(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new e4(t,e,t4(this,r),1),this},i.call=function(t,e,r){return t$(this,e4.delayedCall(0,t,e),r)},i.staggerTo=function(t,e,r,n,i,s,a){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=s,r.onCompleteParams=a,r.parent=this,new e4(t,r,t4(this,i)),this},i.staggerFrom=function(t,e,r,n,i,s,a){return r.runBackwards=1,tB(r).immediateRender=U(r.immediateRender),this.staggerTo(t,e,r,n,i,s,a)},i.staggerFromTo=function(t,e,r,n,i,s,a,o){return n.startAt=r,tB(n).immediateRender=U(n.immediateRender),this.staggerTo(t,e,n,i,s,a,o)},i.render=function(t,e,r){var n,i,s,a,o,u,l,c,f,h,p,d,_=this._time,g=this._dirty?this.totalDuration():this._tDur,m=this._dur,v=t<=0?0:tM(t),x=this._zTime<0!=t<0&&(this._initted||!m);if(this!==b&&v>g&&t>=0&&(v=g),v!==this._tTime||r||x){if(_!==this._time&&m&&(v+=this._time-_,t+=this._time-_),n=v,f=this._start,u=!(c=this._ts),x&&(m||(_=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,o=m+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(n=tM(v%o),v===g?(a=this._repeat,n=m):((a=~~(h=tM(v/o)))&&a===h&&(n=m,a--),n>m&&(n=m)),h=tV(this._tTime,o),!_&&this._tTime&&h!==a&&this._tTime-h*o-this._dur<=0&&(h=a),p&&1&a&&(n=m-n,d=1),a!==h&&!this._lock){var T=p&&1&h,w=T===(p&&1&a);if(a=_&&t>=0)for(i=this._first;i;){if(s=i._next,(i._act||n>=i._start)&&i._ts&&l!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(n-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(n-i._start)*i._ts,e,r),n!==this._time||!this._ts&&!u){l=0,s&&(v+=this._zTime=-1e-8);break}}i=s}else{i=this._last;for(var k=t<0?t:n;i;){if(s=i._prev,(i._act||k<=i._end)&&i._ts&&l!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(k-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(k-i._start)*i._ts,e,r||y&&tS(i)),n!==this._time||!this._ts&&!u){l=0,s&&(v+=this._zTime=k?-1e-8:1e-8);break}}i=s}}if(l&&!e&&(this.pause(),l.render(n>=_?0:-1e-8)._zTime=n>=_?1:-1,this._ts))return this._start=f,tG(this),this.render(t,e,r);this._onUpdate&&!e&&e_(this,"onUpdate",!0),(v===g&&this._tTime>=this.totalDuration()||!v&&_)&&(f===this._start||Math.abs(c)!==Math.abs(this._ts))&&!this._lock&&((t||!m)&&(v===g&&this._ts>0||!v&&this._ts<0)&&tX(this,1),e||t<0&&!_||!v&&!_&&g||(e_(this,v===g&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(v0)&&this._prom()))}return this},i.add=function(t,e){var r=this;if(L(e)||(e=t4(this,e,t)),!(t instanceof eU)){if(V(t))return t.forEach(function(t){return r.add(t,e)}),this;if(B(t))return this.addLabel(t,e);if(!Y(t))return this;t=e4.delayedCall(0,t)}return this!==t?t$(this,t,e):this},i.getChildren=function(t,e,r,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===n&&(n=-1e8);for(var i=[],s=this._first;s;)s._start>=n&&(s instanceof e4?e&&i.push(s):(r&&i.push(s),t&&i.push.apply(i,s.getChildren(!0,e,r)))),s=s._next;return i},i.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},i.remove=function(t){return B(t)?this.removeLabel(t):Y(t)?this.killTweensOf(t):(t.parent===this&&tN(this,t),t===this._recent&&(this._recent=this._last),tU(this))},i.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=tM(eC.time-(this._ts>0?e/this._ts:-((this.totalDuration()-e)/this._ts)))),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},i.addLabel=function(t,e){return this.labels[t]=t4(this,e),this},i.removeLabel=function(t){return delete this.labels[t],this},i.addPause=function(t,e,r){var n=e4.delayedCall(0,e||tu,r);return n.data="isPause",this._hasPause=1,t$(this,n,t4(this,t))},i.removePause=function(t){var e=this._first;for(t=t4(this,t);e;)e._start===t&&"isPause"===e.data&&tX(e),e=e._next},i.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)eG!==n[i]&&n[i].kill(t,e);return this},i.getTweensOf=function(t,e){for(var r,n=[],i=ei(t),s=this._first,a=L(e);s;)s instanceof e4?tC(s._targets,i)&&(a?(!eG||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&n.push(s):(r=s.getTweensOf(i,e)).length&&n.push.apply(n,r),s=s._next;return n},i.tweenTo=function(t,e){e=e||{};var r,n=this,i=t4(n,t),s=e,a=s.startAt,o=s.onStart,u=s.onStartParams,l=s.immediateRender,c=e4.to(n,tR({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(a&&"time"in a?a.time:n._time))/n.timeScale())||1e-8,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(a&&"time"in a?a.time:n._time))/n.timeScale());c._dur!==t&&t3(c,t,0,1).render(c._time,!0,!0),r=1}o&&o.apply(c,u||[])}},e));return l?c.render(0):c},i.tweenFromTo=function(t,e,r){return this.tweenTo(e,tR({startAt:{time:t4(this,t)}},r))},i.recent=function(){return this._recent},i.nextLabel=function(t){return void 0===t&&(t=this._time),ed(this,t4(this,t))},i.previousLabel=function(t){return void 0===t&&(t=this._time),ed(this,t4(this,t),1)},i.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+1e-8)},i.shiftChildren=function(t,e,r){void 0===r&&(r=0);var n,i=this._first,s=this.labels;for(t=tM(t);i;)i._start>=r&&(i._start+=t,i._end+=t),i=i._next;if(e)for(n in s)s[n]>=r&&(s[n]+=t);return tU(this)},i.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},i.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),tU(this)},i.totalDuration=function(t){var e,r,n,i=0,s=this._last,a=1e8;if(arguments.length)return this.timeScale((this._repeat<0?this.duration():this.totalDuration())/(this.reversed()?-t:t));if(this._dirty){for(n=this.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),(r=s._start)>a&&this._sort&&s._ts&&!this._lock?(this._lock=1,t$(this,s,r-s._delay,1)._lock=0):a=r,r<0&&s._ts&&(i-=r,(!n&&!this._dp||n&&n.smoothChildTiming)&&(this._start+=tM(r/this._ts),this._time-=r,this._tTime-=r),this.shiftChildren(-r,!1,-Infinity),a=0),s._end>i&&s._ts&&(i=s._end),s=e;t3(this,this===b&&this._time>i?this._time:i,1,1),this._dirty=0}return this._tDur},n.updateRoot=function(t){if(b._ts&&(tA(b,tj(t,b)),O=eC.frame),eC.frame>=tm){tm+=S.autoSleep||120;var e=b._first;if((!e||!e._ts)&&S.autoSleep&&eC._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||eC.sleep()}}},n}(eU);tR(eq.prototype,{_lock:0,_hasPause:0,_forcing:0});var eH,eW,eV,ej,eG,eQ,eZ=function(t,e,r,n,i,s,a){var o,u,l,c,f,h,p,d,_=new rf(this._pt,t,e,0,1,rs,null,i),g=0,m=0;for(_.b=r,_.e=n,r+="",n+="",(p=~n.indexOf("random("))&&(n=eh(n)),s&&(s(d=[r,n],t,e),r=d[0],n=d[1]),u=r.match(K)||[];o=K.exec(n);)c=o[0],f=n.substring(g,o.index),l?l=(l+1)%5:"rgba("===f.substr(-5)&&(l=1),c!==u[m++]&&(h=parseFloat(u[m-1])||0,_._pt={_next:_._pt,p:f||1===m?f:",",s:h,c:"="===c.charAt(1)?tO(h,c)-h:parseFloat(c)-h,m:l&&l<4?Math.round:0},g=K.lastIndex);return _.c=g")}),a.duration();else{for(c in u={},w)"ease"===c||"easeEach"===c||e5(c,w[c],u,w.easeEach);for(c in u)for(o=0,A=u[c].sort(function(t,e){return t.t-e.t}),R=0;oh-1e-8&&!d?h:t<1e-8?0:t;if(p){if(_!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==d||this._lazy){if(n=_,c=this.timeline,this._repeat){if(a=p+this._rDelay,this._repeat<-1&&d)return this.totalTime(100*a+t,e,r);if(n=tM(_%a),_===h?(s=this._repeat,n=p):(s=~~(o=tM(_/a)))&&s===o?(n=p,s--):n>p&&(n=p),(u=this._yoyo&&1&s)&&(n=p-n),o=tV(this._tTime,a),n===f&&!r&&this._initted&&s===o)return this._tTime=_,this;s!==o&&this.vars.repeatRefresh&&!u&&!this._lock&&n!==a&&this._initted&&(this._lock=r=1,this.render(tM(a*s),!0).invalidate()._lock=0)}if(!this._initted){if(tJ(this,d?t:n,r,e,_))return this._tTime=0,this;if(f!==this._time&&!(r&&this.vars.repeatRefresh&&s!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._rEase){var g=n0||!_&&this._ts<0)&&tX(this,1),!e&&!(d&&!f)&&(_||f||u)&&(e_(this,_===h?"onComplete":"onReverseComplete",!0),this._prom&&!(_0)&&this._prom()))}}else t2(this,t,e,r);return this},i.targets=function(){return this._targets},i.invalidate=function(e){return e&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},i.resetTo=function(t,e,r,n,i){E||eC.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return(this._initted||e0(this,s),e1(this,t,e,r,n,this._ease(s/this._dur),s,i))?this.resetTo(t,e,r,n,1):(tQ(this,0),this.parent||tL(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},i.kill=function(t,e){if(void 0===e&&(e="all"),!t&&(!e||"all"===e))return this._lazy=this._pt=0,this.parent?eg(this):this.scrollTrigger&&this.scrollTrigger.kill(!!y),this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,eG&&!0!==eG.vars.overwrite)._first||eg(this),this.parent&&r!==this.timeline.totalDuration()&&t3(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,s,a,o,u,l,c=this._targets,f=t?ei(t):c,h=this._ptLookup,p=this._pt;if((!e||"all"===e)&&tY(c,f))return"all"===e&&(this._pt=0),eg(this);for(n=this._op=this._op||[],"all"!==e&&(B(e)&&(o={},tw(e,function(t){return o[t]=1}),e=o),e=e2(c,e)),l=c.length;l--;)if(~f.indexOf(c[l]))for(o in i=h[l],"all"===e?(n[l]=e,a=i,s={}):(s=n[l]=n[l]||{},a=e),a)(u=i&&i[o])&&("kill"in u.d&&!0!==u.d.kill(o)||tN(this,u,"_pt"),delete i[o]),"all"!==s&&(s[o]=1);return this._initted&&!this._pt&&p&&eg(this),this},n.to=function(t,e){return new n(t,e,arguments[2])},n.from=function(t,e){return t9(1,arguments)},n.delayedCall=function(t,e,r,i){return new n(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},n.fromTo=function(t,e,r){return t9(2,arguments)},n.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new n(t,e)},n.killTweensOf=function(t,e,r){return b.killTweensOf(t,e,r)},n}(eU);tR(e4.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),tw("staggerTo,staggerFrom,staggerFromTo",function(t){e4[t]=function(){var e=new eq,r=er.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}});var e9=function(t,e,r){return t[e]=r},e7=function(t,e,r){return t[e](r)},rt=function(t,e,r,n){return t[e](n.fp,r)},re=function(t,e,r){return t.setAttribute(e,r)},rr=function(t,e){return Y(t[e])?e7:N(t[e])&&t.setAttribute?re:e9},rn=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},ri=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},rs=function(t,e){var r=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*t):Math.round((r.s+r.c*t)*1e4)/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},ra=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ro=function(t,e,r,n){for(var i,s=this._pt;s;)i=s._next,s.p===n&&s.modifier(t,e,r),s=i},ru=function(t){for(var e,r,n=this._pt;n;)r=n._next,(n.p!==t||n.op)&&n.op!==t?n.dep||(e=1):tN(this,n,"_pt"),n=r;return!e},rl=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},rc=function(t){for(var e,r,n,i,s=t._pt;s;){for(e=s._next,r=n;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:i)?s._prev._next=s:n=s,(s._next=r)?r._prev=s:i=s,s=e}t._pt=n},rf=function(){function t(t,e,r,n,i,s,a,o,u){this.t=e,this.s=n,this.c=i,this.p=r,this.r=s||rn,this.d=a||this,this.set=o||e9,this.pr=u||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=rl,this.m=t,this.mt=r,this.tween=e},t}();tw(ty+"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(t){return th[t]=1}),tr.TweenMax=tr.TweenLite=e4,tr.TimelineLite=tr.TimelineMax=eq,b=new eq({sortChildren:!1,defaults:A,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),S.stringFilter=eO;var rh=[],rp={},rd=[],r_=0,rg=0,rm=function(t){return(rp[t]||rd).map(function(t){return t()})},rv=function(){var t=Date.now(),e=[];t-r_>2&&(rm("matchMediaInit"),rh.forEach(function(t){var r,n,i,s,a=t.queries,o=t.conditions;for(n in a)(r=T.matchMedia(a[n]).matches)&&(i=1),r!==o[n]&&(o[n]=r,s=1);s&&(t.revert(),i&&e.push(t))}),rm("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),r_=t,rm("matchMedia"))},ry=function(){function t(t,e){this.selector=e&&es(e),this.data=[],this._r=[],this.isReverted=!1,this.id=rg++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){Y(t)&&(r=e,e=t,t=Y);var n=this,i=function(){var t,i=x,s=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=es(r)),x=n,t=e.apply(n,arguments),Y(t)&&n._r.push(t),x=i,n.selector=s,n.isReverted=!1,t};return n.last=i,t===Y?i(n,function(t){return n.add(null,t)}):t?n[t]=i:i},e.ignore=function(t){var e=x;x=null,t(this),x=e},e.getTweens=function(){var e=[];return this.data.forEach(function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof e4&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)}),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t){for(var n,i=r.getTweens(),s=r.data.length;s--;)"isFlip"===(n=r.data[s]).data&&(n.revert(),n.getChildren(!0,!0,!1).forEach(function(t){return i.splice(i.indexOf(t),1)}));for(i.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(e){return e.t.revert(t)}),s=r.data.length;s--;)(n=r.data[s])instanceof eq?"nested"!==n.data&&(n.scrollTrigger&&n.scrollTrigger.revert(),n.kill()):n instanceof e4||!n.revert||n.revert(t);r._r.forEach(function(e){return e(t,r)}),r.isReverted=!0}else this.data.forEach(function(t){return t.kill&&t.kill()});if(this.clear(),e)for(var a=rh.length;a--;)rh[a].id===this.id&&rh.splice(a,1)},e.revert=function(t){this.kill(t||{})},t}(),rx=function(){function t(t){this.contexts=[],this.scope=t,x&&x.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){X(t)||(t={matches:t});var n,i,s,a=new ry(0,r||this.scope),o=a.conditions={};for(i in x&&!a.selector&&(a.selector=x.selector),this.contexts.push(a),e=a.add("onMatch",e),a.queries=t,t)"all"===i?s=1:(n=T.matchMedia(t[i]))&&(0>rh.indexOf(a)&&rh.push(a),(o[i]=n.matches)&&(s=1),n.addListener?n.addListener(rv):n.addEventListener("change",rv));return s&&e(a,function(t){return a.add(null,t)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})},t}(),rb={registerPlugin:function(){for(var t=arguments.length,e=Array(t),r=0;r1){var n=t.map(function(t){return rM.quickSetter(t,e,r)}),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var s=t_[e],a=tb(t),o=a.harness&&(a.harness.aliases||{})[e]||e,u=s?function(e){var n=new s;C._pt=0,n.init(t,r?e+r:e,C,0,[t]),n.render(1,n),C._pt&&ra(1,C)}:a.set(t,o);return s?u:function(e){return u(t,o,r?e+r:e,a,1)}},quickTo:function(t,e,r){var n,i=rM.to(t,tR(((n={})[e]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),s=function(t,r,n){return i.resetTo(e,t,r,n)};return s.tween=i,s},isTweening:function(t){return b.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=eI(t.ease,A.ease)),tF(A,t||{})},config:function(t){return tF(S,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,i=t.defaults,s=t.extendTimeline;(n||"").split(",").forEach(function(t){return t&&!t_[t]&&!tr[t]&&ta(e+" effect requires "+t+" plugin.")}),tg[e]=function(t,e,n){return r(ei(t),tR(e||{},i),n)},s&&(eq.prototype[e]=function(t,r,n){return this.add(tg[e](t,X(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){eS[t]=eI(e)},parseEase:function(t,e){return arguments.length?eI(t,e):eS},getById:function(t){return b.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new eq(t);for(i.smoothChildTiming=U(t.smoothChildTiming),b.remove(i),i._dp=0,i._time=i._tTime=b._time,r=b._first;r;)n=r._next,(e||!(!r._dur&&r instanceof e4&&r.vars.onComplete===r._targets[0]))&&t$(i,r,r._start-r._delay),r=n;return t$(b,i,0),i},context:function(t,e){return t?new ry(t,e):x},matchMedia:function(t){return new rx(t)},matchMediaRefresh:function(){return rh.forEach(function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()})||rv()},addEventListener:function(t,e){var r=rp[t]||(rp[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=rp[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function t(e,r,n){var i=r-e;return V(e)?ef(e,t(0,e.length),r):t7(n,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function t(e,r,n){var i=r-e,s=2*i;return V(e)?ef(e,t(0,e.length-1),r):t7(n,function(t){return t=(s+(t-e)%s)%s||0,e+(t>i?s-t:t)})},distribute:eo,random:ec,snap:el,normalize:function(t,e,r){return ep(t,e,0,1,r)},getUnit:ee,clamp:function(t,e,r){return t7(r,function(r){return et(t,e,r)})},splitColor:eb,toArray:ei,selector:es,mapRange:ep,pipe:function(){for(var t=arguments.length,e=Array(t),r=0;r=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(r1,r,"")),e=r0}(s||r)&&this.props.push(e,r,s[e])},r5=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},r3=function(){var t,e,r=this.props,n=this.target,i=n.style,s=n._gsap;for(t=0;t=0?r9[i]:"")+t},nt=function(){"u">typeof window&&window.document&&(rC=(rO=window.document).documentElement,rS=r6("div")||{style:{}},r6("div"),r1=(r0=r7(r0))+"Origin",rS.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",rD=!!r7("perspective"),rP=rM.core.reverting,rE=1)},ne=function(t){var e,r=t.ownerSVGElement,n=r6("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=t.cloneNode(!0);i.style.display="block",n.appendChild(i),rC.appendChild(n);try{e=i.getBBox()}catch(t){}return n.removeChild(i),rC.removeChild(n),e},nr=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},nn=function(t){var e,r;try{e=t.getBBox()}catch(n){e=ne(t),r=1}return e&&(e.width||e.height)||r||(e=ne(t)),!e||e.width||e.x||e.y?e:{x:+nr(t,["x","cx","x1"])||0,y:+nr(t,["y","cy","y1"])||0,width:0,height:0}},ni=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&nn(t))},ns=function(t,e){if(e){var r,n=t.style;e in rR&&e!==r1&&(e=r0),n.removeProperty?(("ms"===(r=e.substr(0,2))||"webkit"===e.substr(0,6))&&(e="-"+e),n.removeProperty("--"===r?e:e.replace(rB,"-$1").toLowerCase())):n.removeAttribute(e)}},na=function(t,e,r,n,i,s){var a=new rf(t._pt,e,r,0,1,s?rj:rV);return t._pt=a,a.b=n,a.e=i,t._props.push(r),a},no={deg:1,rad:1,turn:1},nu={grid:1,flex:1},nl=function t(e,r,n,i){var s,a,o,u,l=parseFloat(n)||0,c=(n+"").trim().substr((l+"").length)||"px",f=rS.style,h=rY.test(r),p="svg"===e.tagName.toLowerCase(),d=(p?"client":"offset")+(h?"Width":"Height"),_="px"===i,g="%"===i;if(i===c||!l||no[i]||no[c])return l;if("px"===c||_||(l=t(e,r,n,"px")),u=e.getCTM&&ni(e),(g||"%"===c)&&(rR[r]||~r.indexOf("adius")))return s=u?e.getBBox()[h?"width":"height"]:e[d],tk(g?l/s*100:l/100*s);if(f[h?"width":"height"]=100+(_?c:i),a="rem"!==i&&~r.indexOf("adius")||"em"===i&&e.appendChild&&!p?e:e.parentNode,u&&(a=(e.ownerSVGElement||{}).parentNode),a&&a!==rO&&a.appendChild||(a=rO.body),(o=a._gsap)&&g&&o.width&&h&&o.time===eC.time&&!o.uncache)return tk(l/o.width*100);if(g&&("height"===r||"width"===r)){var m=e.style[r];e.style[r]=100+i,s=e[d],m?e.style[r]=m:ns(e,r)}else(g||"%"===c)&&!nu[r4(a,"display")]&&(f.position=r4(e,"position")),a===e&&(f.position="static"),a.appendChild(rS),s=rS[d],a.removeChild(rS),f.position="absolute";return h&&g&&((o=tb(a)).time=eC.time,o.width=a[d]),tk(_?s*l/100:s&&l?100/s*l:0)},nc=function(t,e,r,n){var i;return rE||nt(),e in rN&&"transform"!==e&&~(e=rN[e]).indexOf(",")&&(e=e.split(",")[0]),rR[e]&&"transform"!==e?(i=nT(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:nw(r4(t,r1))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=n_[e]&&n_[e](t,e,r)||r4(t,e)||tT(t,e)||+("opacity"===e)),r&&!~(i+"").trim().indexOf(" ")?nl(t,e,i,r)+r:i},nf=function(t,e,r,n){if(!r||"none"===r){var i=r7(e,t,1),s=i&&r4(t,i,1);s&&s!==r?(e=i,r=s):"borderColor"===e&&(r=r4(t,"borderTopColor"))}var a,o,u,l,c,f,h,p,d,_,g,m=new rf(this._pt,t.style,e,0,1,rs),v=0,y=0;if(m.b=r,m.e=n,r+="","var(--"===(n+="").substring(0,6)&&(n=r4(t,n.substring(4,n.indexOf(")")))),"auto"===n&&(f=t.style[e],t.style[e]=n,n=r4(t,e)||n,f?t.style[e]=f:ns(t,e)),eO(a=[r,n]),r=a[0],n=a[1],u=r.match($)||[],(n.match($)||[]).length){for(;o=$.exec(n);)h=o[0],d=n.substring(v,o.index),c?c=(c+1)%5:("rgba("===d.substr(-5)||"hsla("===d.substr(-5))&&(c=1),h!==(f=u[y++]||"")&&(l=parseFloat(f)||0,g=f.substr((l+"").length),"="===h.charAt(1)&&(h=tO(l,h)+g),p=parseFloat(h),_=h.substr((p+"").length),v=$.lastIndex-_.length,_||(_=_||S.units[e]||g,v===n.length&&(n+=_,m.e+=_)),g!==_&&(l=nl(t,e,f,_)||0),m._pt={_next:m._pt,p:d||1===y?d:",",s:l,c:p-l,m:c&&c<4||"zIndex"===e?Math.round:0});m.c=v-1;)rR[r=o[i]]&&(n=1,r="transformOrigin"===r?r1:r0),ns(s,r);n&&(ns(s,r0),u&&(u.svg&&s.removeAttribute("transform"),a.scale=a.rotate=a.translate="none",nT(s,1),u.uncache=1,r5(a)))}},n_={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var s=t._pt=new rf(t._pt,e,r,0,0,nd);return s.u=n,s.pr=-10,s.tween=i,t._props.push(r),1}}},ng=[1,0,0,1,0,0],nm={},nv=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},ny=function(t){var e=r4(t,r0);return nv(e)?ng:e.substr(7).match(Z).map(tk)},nx=function(t,e){var r,n,i,s,a=t._gsap||tb(t),o=t.style,u=ny(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?ng:u:(u!==ng||t.offsetParent||t===rC||a.svg||(i=o.display,o.display="block",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,n=t.nextElementSibling,rC.appendChild(t)),u=ny(t),i?o.display=i:ns(t,"display"),s&&(n?r.insertBefore(t,n):r?r.appendChild(t):rC.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},nb=function(t,e,r,n,i,s){var a,o,u,l,c=t._gsap,f=i||nx(t,!0),h=c.xOrigin||0,p=c.yOrigin||0,d=c.xOffset||0,_=c.yOffset||0,g=f[0],m=f[1],v=f[2],y=f[3],x=f[4],b=f[5],T=e.split(" "),w=parseFloat(T[0])||0,k=parseFloat(T[1])||0;r?f!==ng&&(o=g*y-m*v)&&(u=y/o*w+-v/o*k+(v*b-y*x)/o,l=-m/o*w+g/o*k-(g*b-m*x)/o,w=u,k=l):(w=(a=nn(t)).x+(~T[0].indexOf("%")?w/100*a.width:w),k=a.y+(~(T[1]||T[0]).indexOf("%")?k/100*a.height:k)),n||!1!==n&&c.smooth?(c.xOffset=d+((x=w-h)*g+(b=k-p)*v)-x,c.yOffset=_+(x*m+b*y)-b):c.xOffset=c.yOffset=0,c.xOrigin=w,c.yOrigin=k,c.smooth=!!n,c.origin=e,c.originIsAbsolute=!!r,t.style[r1]="0px 0px",s&&(na(s,c,"xOrigin",h,w),na(s,c,"yOrigin",p,k),na(s,c,"xOffset",d,c.xOffset),na(s,c,"yOffset",_,c.yOffset)),t.setAttribute("data-svg-origin",w+" "+k)},nT=function(t,e){var r=t._gsap||new eX(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,s,a,o,u,l,c,f,h,p,d,_,g,m,v,y,x,b,T,w,k,M,O,C,E,A,P,D,R,z,F,I=t.style,B=r.scaleX<0,Y=getComputedStyle(t),L=r4(t,r1)||"0";return n=i=s=u=l=c=f=h=p=0,a=o=1,r.svg=!!(t.getCTM&&ni(t)),Y.translate&&(("none"!==Y.translate||"none"!==Y.scale||"none"!==Y.rotate)&&(I[r0]=("none"!==Y.translate?"translate3d("+(Y.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==Y.rotate?"rotate("+Y.rotate+") ":"")+("none"!==Y.scale?"scale("+Y.scale.split(" ").join(",")+") ":"")+("none"!==Y[r0]?Y[r0]:"")),I.scale=I.rotate=I.translate="none"),g=nx(t,r.svg),r.svg&&(r.uncache?(C=t.getBBox(),L=r.xOrigin-C.x+"px "+(r.yOrigin-C.y)+"px",O=""):O=!e&&t.getAttribute("data-svg-origin"),nb(t,O||L,!!O||r.originIsAbsolute,!1!==r.smooth,g)),d=r.xOrigin||0,_=r.yOrigin||0,g!==ng&&(x=g[0],b=g[1],T=g[2],w=g[3],n=k=g[4],i=M=g[5],6===g.length?(a=Math.sqrt(x*x+b*b),o=Math.sqrt(w*w+T*T),u=x||b?rI(b,x)*rz:0,(f=T||w?rI(T,w)*rz+u:0)&&(o*=Math.abs(Math.cos(f*rF))),r.svg&&(n-=d-(d*x+_*T),i-=_-(d*b+_*w))):(F=g[6],R=g[7],A=g[8],P=g[9],D=g[10],z=g[11],n=g[12],i=g[13],s=g[14],l=(m=rI(F,D))*rz,m&&(O=k*(v=Math.cos(-m))+A*(y=Math.sin(-m)),C=M*v+P*y,E=F*v+D*y,A=-(k*y)+A*v,P=-(M*y)+P*v,D=-(F*y)+D*v,z=-(R*y)+z*v,k=O,M=C,F=E),c=(m=rI(-T,D))*rz,m&&(O=x*(v=Math.cos(-m))-A*(y=Math.sin(-m)),C=b*v-P*y,E=T*v-D*y,z=w*y+z*v,x=O,b=C,T=E),u=(m=rI(b,x))*rz,m&&(O=x*(v=Math.cos(m))+b*(y=Math.sin(m)),C=k*v+M*y,b=b*v-x*y,M=M*v-k*y,x=O,k=C),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,c=180-c),a=tk(Math.sqrt(x*x+b*b+T*T)),o=tk(Math.sqrt(M*M+F*F)),f=Math.abs(m=rI(k,M))>2e-4?m*rz:0,p=z?1/(z<0?-z:z):0),r.svg&&(O=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!nv(r4(t,r0)),O&&t.setAttribute("transform",O))),Math.abs(f)>90&&270>Math.abs(f)&&(B?(a*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=n-((r.xPercent=n&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+"px",r.y=i-((r.yPercent=i&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+"px",r.z=s+"px",r.scaleX=tk(a),r.scaleY=tk(o),r.rotation=tk(u)+"deg",r.rotationX=tk(l)+"deg",r.rotationY=tk(c)+"deg",r.skewX=f+"deg",r.skewY=h+"deg",r.transformPerspective=p+"px",(r.zOrigin=parseFloat(L.split(" ")[2])||!e&&r.zOrigin||0)&&(I[r1]=nw(L)),r.xOffset=r.yOffset=0,r.force3D=S.force3D,r.renderTransform=r.svg?nE:rD?nC:nM,r.uncache=0,r},nw=function(t){return(t=t.split(" "))[0]+" "+t[1]},nk=function(t,e,r){var n=ee(e);return tk(parseFloat(e)+parseFloat(nl(t,"x",r+"px",n)))+n},nM=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,nC(t,e)},nO="0deg",nC=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,s=r.x,a=r.y,o=r.z,u=r.rotation,l=r.rotationY,c=r.rotationX,f=r.skewX,h=r.skewY,p=r.scaleX,d=r.scaleY,_=r.transformPerspective,g=r.force3D,m=r.target,v=r.zOrigin,y="",x="auto"===g&&t&&1!==t||!0===g;if(v&&(c!==nO||l!==nO)){var b,T=parseFloat(l)*rF,w=Math.sin(T),k=Math.cos(T);s=nk(m,s,-(w*(b=Math.cos(T=parseFloat(c)*rF))*v)),a=nk(m,a,-(-Math.sin(T)*v)),o=nk(m,o,-(k*b*v)+v)}"0px"!==_&&(y+="perspective("+_+") "),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(x||"0px"!==s||"0px"!==a||"0px"!==o)&&(y+="0px"!==o||x?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+") "),u!==nO&&(y+="rotate("+u+") "),l!==nO&&(y+="rotateY("+l+") "),c!==nO&&(y+="rotateX("+c+") "),(f!==nO||h!==nO)&&(y+="skew("+f+", "+h+") "),(1!==p||1!==d)&&(y+="scale("+p+", "+d+") "),m.style[r0]=y||"translate(0, 0)"},nE=function(t,e){var r,n,i,s,a,o=e||this,u=o.xPercent,l=o.yPercent,c=o.x,f=o.y,h=o.rotation,p=o.skewX,d=o.skewY,_=o.scaleX,g=o.scaleY,m=o.target,v=o.xOrigin,y=o.yOrigin,x=o.xOffset,b=o.yOffset,T=o.forceCSS,w=parseFloat(c),k=parseFloat(f);h=parseFloat(h),p=parseFloat(p),(d=parseFloat(d))&&(p+=d=parseFloat(d),h+=d),h||p?(h*=rF,p*=rF,r=Math.cos(h)*_,n=Math.sin(h)*_,i=-(Math.sin(h-p)*g),s=Math.cos(h-p)*g,p&&(d*=rF,i*=a=Math.sqrt(1+(a=Math.tan(p-d))*a),s*=a,d&&(r*=a=Math.sqrt(1+(a=Math.tan(d))*a),n*=a)),r=tk(r),n=tk(n),i=tk(i),s=tk(s)):(r=_,s=g,n=i=0),(w&&!~(c+"").indexOf("px")||k&&!~(f+"").indexOf("px"))&&(w=nl(m,"x",c,"px"),k=nl(m,"y",f,"px")),(v||y||x||b)&&(w=tk(w+v-(v*r+y*i)+x),k=tk(k+y-(v*n+y*s)+b)),(u||l)&&(w=tk(w+u/100*(a=m.getBBox()).width),k=tk(k+l/100*a.height)),a="matrix("+r+","+n+","+i+","+s+","+w+","+k+")",m.setAttribute("transform",a),T&&(m.style[r0]=a)},nS=function(t,e,r,n,i){var s,a,o=B(i),u=parseFloat(i)*(o&&~i.indexOf("rad")?rz:1)-n,l=n+u+"deg";return o&&("short"===(s=i.split("_")[1])&&(u%=360)!=u%180&&(u+=u<0?360:-360),"cw"===s&&u<0?u=(u+36e9)%360-360*~~(u/360):"ccw"===s&&u>0&&(u=(u-36e9)%360-360*~~(u/360))),t._pt=a=new rf(t._pt,e,r,n,u,rU),a.e=l,a.u="deg",t._props.push(r),a},nA=function(t,e){for(var r in e)t[r]=e[r];return t},nP=function(t,e,r){var n,i,s,a,o,u,l,c=nA({},r._gsap),f=r.style;for(i in c.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),f[r0]=e,n=nT(r,1),ns(r,r0),r.setAttribute("transform",s)):(s=getComputedStyle(r)[r0],f[r0]=e,n=nT(r,1),f[r0]=s),rR)(s=c[i])!==(a=n[i])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)&&(o=ee(s)!==(l=ee(a))?nl(r,i,s,l):parseFloat(s),u=parseFloat(a),t._pt=new rf(t._pt,n,i,o,u-o,rX),t._pt.u=l||0,t._props.push(i));nA(n,c)};tw("padding,margin,Width,Radius",function(t,e){var r="Right",n="Bottom",i="Left",s=(e<3?["Top",r,n,i]:["Top"+i,"Top"+r,n+r,n+i]).map(function(r){return e<2?t+r:"border"+r+t});n_[e>1?"border"+t:t]=function(t,e,r,n,i){var a,o;if(arguments.length<4)return 5===(o=(a=s.map(function(e){return nc(t,e,r)})).join(" ")).split(a[0]).length?a[0]:o;a=(n+"").split(" "),o={},s.forEach(function(t,e){return o[t]=a[e]=a[e]||a[(e-1)/2|0]}),t.init(e,o,i)}});var nD={name:"css",register:nt,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var s,a,o,u,l,c,f,h,p,d,_,g,m,v,y,x,b,T=this._props,w=t.style,k=r.vars.startAt;for(f in rE||nt(),this.styles=this.styles||r8(t),x=this.styles.props,this.tween=r,e)if("autoRound"!==f&&(a=e[f],!(t_[f]&&eJ(f,e,r,n,t,i)))){if(l=typeof a,c=n_[f],"function"===l&&(l=typeof(a=a.call(r,n,t,i))),"string"===l&&~a.indexOf("random(")&&(a=eh(a)),c)c(this,t,f,a,r)&&(y=1);else if("--"===f.substr(0,2))s=(getComputedStyle(t).getPropertyValue(f)+"").trim(),a+="",ek.lastIndex=0,!ek.test(s)&&(h=ee(s),(p=ee(a))?h!==p&&(s=nl(t,f,s,p)+p):h&&(a+=h)),this.add(w,"setProperty",s,a,n,i,0,0,f),T.push(f),x.push(f,0,w[f]);else if("undefined"!==l){if(k&&f in k?(B(s="function"==typeof k[f]?k[f].call(r,n,t,i):k[f])&&~s.indexOf("random(")&&(s=eh(s)),ee(s+"")||"auto"===s||(s+=S.units[f]||ee(nc(t,f))||""),"="===(s+"").charAt(1)&&(s=nc(t,f))):s=nc(t,f),u=parseFloat(s),(d="string"===l&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),o=parseFloat(a),f in rN&&("autoAlpha"===f&&(1===u&&"hidden"===nc(t,"visibility")&&o&&(u=0),x.push("visibility",0,w.visibility),na(this,w,"visibility",u?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==f&&"transform"!==f&&~(f=rN[f]).indexOf(",")&&(f=f.split(",")[0])),_=f in rR){if(this.styles.save(f),b=a,"string"===l&&"var(--"===a.substring(0,6)){if("calc("===(a=r4(t,a.substring(4,a.indexOf(")")))).substring(0,5)){var M=t.style.perspective;t.style.perspective=a,a=r4(t,"perspective"),M?t.style.perspective=M:ns(t,"perspective")}o=parseFloat(a)}if(g||((m=t._gsap).renderTransform&&!e.parseTransform||nT(t,e.parseTransform),v=!1!==e.smoothOrigin&&m.smooth,(g=this._pt=new rf(this._pt,w,r0,0,1,m.renderTransform,m,0,-1)).dep=1),"scale"===f)this._pt=new rf(this._pt,m,"scaleY",m.scaleY,(d?tO(m.scaleY,d+o):o)-m.scaleY||0,rX),this._pt.u=0,T.push("scaleY",f),f+="X";else if("transformOrigin"===f){x.push(r1,0,w[r1]),a=np(a),m.svg?nb(t,a,0,v,0,this):((p=parseFloat(a.split(" ")[2])||0)!==m.zOrigin&&na(this,m,"zOrigin",m.zOrigin,p),na(this,w,f,nw(s),nw(a)));continue}else if("svgOrigin"===f){nb(t,a,1,v,0,this);continue}else if(f in nm){nS(this,m,f,u,d?tO(u,d+a):a);continue}else if("smoothOrigin"===f){na(this,m,"smooth",m.smooth,a);continue}else if("force3D"===f){m[f]=a;continue}else if("transform"===f){nP(this,a,t);continue}}else f in w||(f=r7(f)||f);if(_||(o||0===o)&&(u||0===u)&&!rL.test(a)&&f in w)h=(s+"").substr((u+"").length),o||(o=0),p=ee(a)||(f in S.units?S.units[f]:h),h!==p&&(u=nl(t,f,s,p)),this._pt=new rf(this._pt,_?m:w,f,u,(d?tO(u,d+o):o)-u,!_&&("px"===p||"zIndex"===f)&&!1!==e.autoRound?rW:rX),this._pt.u=p||0,_&&b!==a?(this._pt.b=s,this._pt.e=b,this._pt.r=rH):h!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=rq);else if(f in w)nf.call(this,t,f,s,d?d+a:a);else if(f in t)this.add(t,f,s||t[f],d?d+a:a,n,i);else if("parseTransform"!==f){ts(f,a);continue}_||(f in w?x.push(f,0,w[f]):"function"==typeof t[f]?x.push(f,2,t[f]()):x.push(f,1,s||t[f])),T.push(f)}}y&&rc(this)},render:function(t,e){if(e.tween._time||!rP())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:nc,aliases:rN,getSetter:function(t,e,r){var n=rN[e];return n&&0>n.indexOf(",")&&(e=n),e in rR&&e!==r1&&(t._gsap.x||nc(t,"x"))?r&&rA===r?"scale"===e?r$:rZ:(rA=r||{},"scale"===e?rK:rJ):t.style&&!N(t.style[e])?rG:~e.indexOf("-")?rQ:rr(t,e)},core:{_removeProperty:ns,_getMatrix:nx}};rM.utils.checkPrefix=r7,rM.core.getStyleSaver=r8,nF=tw("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(nz="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){rR[t]=1}),tw(nz,function(t){S.units[t]="deg",nm[t]=1}),rN[nF[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+nz,tw("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");rN[e[1]]=nF[e[0]]}),tw("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){S.units[t]="px"}),rM.registerPlugin(nD);var nR=rM.registerPlugin(nD)||rM;nR.core.Tween,t.s(["default",0,nR],89970);var nz,nF,nI,nB,nY,nL,nN,nX,nU,nq,nH,nW,nV,nj,nG,nQ=function(){return nI||"u">typeof window&&(nI=window.gsap)&&nI.registerPlugin&&nI},nZ=1,n$=[],nK=[],nJ=[],n0=Date.now,n1=function(t,e){return e},n2=function(){var t=nH.core,e=t.bridge||{},r=t._scrollers,n=t._proxies;r.push.apply(r,nK),n.push.apply(n,nJ),nK=r,nJ=n,n1=function(t,r){return e[t](r)}},n5=function(t,e){return~nJ.indexOf(t)&&nJ[nJ.indexOf(t)+1][e]},n3=function(t){return!!~nW.indexOf(t)},n8=function(t,e,r,n,i){return t.addEventListener(e,r,{passive:!1!==n,capture:!!i})},n6=function(t,e,r,n){return t.removeEventListener(e,r,!!n)},n4="scrollLeft",n9="scrollTop",n7=function(){return nV&&nV.isPressed||nK.cache++},it=function(t,e){var r=function r(n){if(n||0===n){nZ&&(nY.history.scrollRestoration="manual");var i=nV&&nV.isPressed;t(n=r.v=Math.round(n)||(nV&&nV.iOS?1:0)),r.cacheID=nK.cache,i&&n1("ss",n)}else(e||nK.cache!==r.cacheID||n1("ref"))&&(r.cacheID=nK.cache,r.v=t());return r.v+r.offset};return r.offset=0,t&&r},ie={s:n4,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:it(function(t){return arguments.length?nY.scrollTo(t,ir.sc()):nY.pageXOffset||nL[n4]||nN[n4]||nX[n4]||0})},ir={s:n9,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:ie,sc:it(function(t){return arguments.length?nY.scrollTo(ie.sc(),t):nY.pageYOffset||nL[n9]||nN[n9]||nX[n9]||0})},ii=function(t,e){return(e&&e._ctx&&e._ctx.selector||nI.utils.toArray)(t)[0]||("string"==typeof t&&!1!==nI.config().nullTargetWarn?console.warn("Element not found:",t):null)},is=function(t,e){for(var r=e.length;r--;)if(e[r]===t||e[r].contains(t))return!0;return!1},ia=function(t,e){var r=e.s,n=e.sc;n3(t)&&(t=nL.scrollingElement||nN);var i=nK.indexOf(t),s=n===ir.sc?1:2;~i||(i=nK.push(t)-1),nK[i+s]||n8(t,"scroll",n7);var a=nK[i+s],o=a||(nK[i+s]=it(n5(t,r),!0)||(n3(t)?n:it(function(e){return arguments.length?t[r]=e:t[r]})));return o.target=t,a||(o.smooth="smooth"===nI.getProperty(t,"scrollBehavior")),o},io=function(t,e,r){var n=t,i=t,s=n0(),a=s,o=e||50,u=Math.max(500,3*o),l=function(t,e){var u=n0();e||u-s>o?(i=n,n=t,a=s,s=u):r?n+=t:n=i+(t-i)/(u-a)*(s-a)};return{update:l,reset:function(){i=n=r?0:n,a=s=0},getVelocity:function(t){var e=a,o=i,c=n0();return(t||0===t)&&t!==n&&l(t),s===a||c-a>u?0:(n+(r?o:-o))/((r?c:s)-e)*1e3}}},iu=function(t,e){return e&&!t._gsapAllow&&!1!==t.cancelable&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},il=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},ic=function(){(nH=nI.core.globals().ScrollTrigger)&&nH.core&&n2()},ih=function(t){return nI=t||nQ(),!nB&&nI&&"u">typeof document&&document.body&&(nY=window,nN=(nL=document).documentElement,nX=nL.body,nW=[nY,nL,nN,nX],nI.utils.clamp,nG=nI.core.context||function(){},nq="onpointerenter"in nX?"pointer":"mouse",nU=ip.isTouch=nY.matchMedia&&nY.matchMedia("(hover: none), (pointer: coarse)").matches?1:2*("ontouchstart"in nY||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),nj=ip.eventTypes=("ontouchstart"in nN?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in nN)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return nZ=0},500),nB=1),nH||ic(),nB};ie.op=ir,nK.cache=0;var ip=function(){var t;function e(t){this.init(t)}return e.prototype.init=function(t){nB||ih(nI)||console.warn("Please gsap.registerPlugin(Observer)"),nH||ic();var e=t.tolerance,r=t.dragMinimum,n=t.type,i=t.target,s=t.lineHeight,a=t.debounce,o=t.preventDefault,u=t.onStop,l=t.onStopDelay,c=t.ignore,f=t.wheelSpeed,h=t.event,p=t.onDragStart,d=t.onDragEnd,_=t.onDrag,g=t.onPress,m=t.onRelease,v=t.onRight,y=t.onLeft,x=t.onUp,b=t.onDown,T=t.onChangeX,w=t.onChangeY,k=t.onChange,M=t.onToggleX,O=t.onToggleY,C=t.onHover,E=t.onHoverEnd,S=t.onMove,A=t.ignoreCheck,P=t.isNormalizer,D=t.onGestureStart,R=t.onGestureEnd,z=t.onWheel,F=t.onEnable,I=t.onDisable,B=t.onClick,Y=t.scrollSpeed,L=t.capture,N=t.allowClicks,X=t.lockAxis,U=t.onLockAxis;this.target=i=ii(i)||nN,this.vars=t,c&&(c=nI.utils.toArray(c)),e=e||1e-9,r=r||0,f=f||1,Y=Y||1,n=n||"wheel,touch,pointer",a=!1!==a,s||(s=parseFloat(nY.getComputedStyle(nX).lineHeight)||22);var q,H,W,V,j,G,Q,Z=this,$=0,K=0,J=t.passive||!o&&!1!==t.passive,tt=ia(i,ie),te=ia(i,ir),tr=tt(),tn=te(),ti=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===nj[0],ts=n3(i),ta=i.ownerDocument||nL,to=[0,0,0],tu=[0,0,0],tl=0,tc=function(){return tl=n0()},tf=function(t,e){return(Z.event=t)&&c&&is(t.target,c)||e&&ti&&"touch"!==t.pointerType||A&&A(t,e)},th=function(){var t=Z.deltaX=il(to),r=Z.deltaY=il(tu),n=Math.abs(t)>=e,i=Math.abs(r)>=e;k&&(n||i)&&k(Z,t,r,to,tu),n&&(v&&Z.deltaX>0&&v(Z),y&&Z.deltaX<0&&y(Z),T&&T(Z),M&&Z.deltaX<0!=$<0&&M(Z),$=Z.deltaX,to[0]=to[1]=to[2]=0),i&&(b&&Z.deltaY>0&&b(Z),x&&Z.deltaY<0&&x(Z),w&&w(Z),O&&Z.deltaY<0!=K<0&&O(Z),K=Z.deltaY,tu[0]=tu[1]=tu[2]=0),(V||W)&&(S&&S(Z),W&&(p&&1===W&&p(Z),_&&_(Z),W=0),V=!1),G&&(G=!1,1)&&U&&U(Z),j&&(z(Z),j=!1),q=0},tp=function(t,e,r){to[r]+=t,tu[r]+=e,Z._vx.update(t),Z._vy.update(e),a?q||(q=requestAnimationFrame(th)):th()},td=function(t,e){X&&!Q&&(Z.axis=Q=Math.abs(t)>Math.abs(e)?"x":"y",G=!0),"y"!==Q&&(to[2]+=t,Z._vx.update(t,!0)),"x"!==Q&&(tu[2]+=e,Z._vy.update(e,!0)),a?q||(q=requestAnimationFrame(th)):th()},t_=function(t){if(!tf(t,1)){var e=(t=iu(t,o)).clientX,n=t.clientY,i=e-Z.x,s=n-Z.y,a=Z.isDragging;Z.x=e,Z.y=n,(a||(i||s)&&(Math.abs(Z.startX-e)>=r||Math.abs(Z.startY-n)>=r))&&(W||(W=a?2:1),a||(Z.isDragging=!0),td(i,s))}},tg=Z.onPress=function(t){tf(t,1)||t&&t.button||(Z.axis=Q=null,H.pause(),Z.isPressed=!0,t=iu(t),$=K=0,Z.startX=Z.x=t.clientX,Z.startY=Z.y=t.clientY,Z._vx.reset(),Z._vy.reset(),n8(P?i:ta,nj[1],t_,J,!0),Z.deltaX=Z.deltaY=0,g&&g(Z))},tm=Z.onRelease=function(t){if(!tf(t,1)){n6(P?i:ta,nj[1],t_,!0);var e=!isNaN(Z.y-Z.startY),r=Z.isDragging,n=r&&(Math.abs(Z.x-Z.startX)>3||Math.abs(Z.y-Z.startY)>3),s=iu(t);!n&&e&&(Z._vx.reset(),Z._vy.reset(),o&&N&&nI.delayedCall(.08,function(){if(n0()-tl>300&&!t.defaultPrevented){if(t.target.click)t.target.click();else if(ta.createEvent){var e=ta.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,nY,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}})),Z.isDragging=Z.isGesturing=Z.isPressed=!1,u&&r&&!P&&H.restart(!0),W&&th(),d&&r&&d(Z),m&&m(Z,n)}},tv=function(t){return t.touches&&t.touches.length>1&&(Z.isGesturing=!0)&&D(t,Z.isDragging)},ty=function(){return Z.isGesturing=!1,R(Z)},tx=function(t){if(!tf(t)){var e=tt(),r=te();tp((e-tr)*Y,(r-tn)*Y,1),tr=e,tn=r,u&&H.restart(!0)}},tb=function(t){if(!tf(t)){t=iu(t,o),z&&(j=!0);var e=(1===t.deltaMode?s:2===t.deltaMode?nY.innerHeight:1)*f;tp(t.deltaX*e,t.deltaY*e,0),u&&!P&&H.restart(!0)}},tT=function(t){if(!tf(t)){var e=t.clientX,r=t.clientY,n=e-Z.x,i=r-Z.y;Z.x=e,Z.y=r,V=!0,u&&H.restart(!0),(n||i)&&td(n,i)}},tw=function(t){Z.event=t,C(Z)},tk=function(t){Z.event=t,E(Z)},tM=function(t){return tf(t)||iu(t,o)&&B(Z)};H=Z._dc=nI.delayedCall(l||.25,function(){Z._vx.reset(),Z._vy.reset(),H.pause(),u&&u(Z)}).pause(),Z.deltaX=Z.deltaY=0,Z._vx=io(0,50,!0),Z._vy=io(0,50,!0),Z.scrollX=tt,Z.scrollY=te,Z.isDragging=Z.isGesturing=Z.isPressed=!1,nG(this),Z.enable=function(t){return!Z.isEnabled&&(n8(ts?ta:i,"scroll",n7),n.indexOf("scroll")>=0&&n8(ts?ta:i,"scroll",tx,J,L),n.indexOf("wheel")>=0&&n8(i,"wheel",tb,J,L),(n.indexOf("touch")>=0&&nU||n.indexOf("pointer")>=0)&&(n8(i,nj[0],tg,J,L),n8(ta,nj[2],tm),n8(ta,nj[3],tm),N&&n8(i,"click",tc,!0,!0),B&&n8(i,"click",tM),D&&n8(ta,"gesturestart",tv),R&&n8(ta,"gestureend",ty),C&&n8(i,nq+"enter",tw),E&&n8(i,nq+"leave",tk),S&&n8(i,nq+"move",tT)),Z.isEnabled=!0,Z.isDragging=Z.isGesturing=Z.isPressed=V=W=!1,Z._vx.reset(),Z._vy.reset(),tr=tt(),tn=te(),t&&t.type&&tg(t),F&&F(Z)),Z},Z.disable=function(){Z.isEnabled&&(n$.filter(function(t){return t!==Z&&n3(t.target)}).length||n6(ts?ta:i,"scroll",n7),Z.isPressed&&(Z._vx.reset(),Z._vy.reset(),n6(P?i:ta,nj[1],t_,!0)),n6(ts?ta:i,"scroll",tx,L),n6(i,"wheel",tb,L),n6(i,nj[0],tg,L),n6(ta,nj[2],tm),n6(ta,nj[3],tm),n6(i,"click",tc,!0),n6(i,"click",tM),n6(ta,"gesturestart",tv),n6(ta,"gestureend",ty),n6(i,nq+"enter",tw),n6(i,nq+"leave",tk),n6(i,nq+"move",tT),Z.isEnabled=Z.isPressed=Z.isDragging=!1,I&&I(Z))},Z.kill=Z.revert=function(){Z.disable();var t=n$.indexOf(Z);t>=0&&n$.splice(t,1),nV===Z&&(nV=0)},n$.push(Z),P&&n3(i)&&(nV=Z),Z.enable(h)},t=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}],function(t,e){for(var r=0;r-1);return r["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},i3=function(t,e){return e&&(!so(t)||"clamp("!==t.substr(0,6))?"clamp("+t+")":t},i8=function(){return iC=1},i6=function(){return iC=0},i4=function(t){return t},i9=function(t){return Math.round(1e5*t)/1e5||0},i7=function(){return"u">typeof window},st=function(){return id||i7()&&(id=window.gsap)&&id.registerPlugin&&id},se=function(t){return!!~ix.indexOf(t)},sr=function(t){return("Height"===t?iH:ig["inner"+t])||iv["client"+t]||iy["client"+t]},sn=function(t){return n5(t,"getBoundingClientRect")||(se(t)?function(){return ac.width=ig.innerWidth,ac.height=iH,ac}:function(){return sS(t)})},si=function(t,e,r){var n=r.d,i=r.d2,s=r.a;return(s=n5(t,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(e?sr(i):t["client"+i])||0}},ss=function(t,e){var r=e.s,n=e.d2,i=e.d,s=e.a;return Math.max(0,(s=n5(t,r="scroll"+n))?s()-sn(t)()[i]:se(t)?(iv[r]||iy[r])-sr(n):t[r]-t["offset"+n])},sa=function(t,e){for(var r=0;r0){for(t-=i,s=0;s=t)return r[s];return r[s-1]}for(s=r.length,t+=i;s--;)if(r[s]<=t)return r[s];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var s=e(r);return!n||Math.abs(s-r)r&&(n*=e/100),t=t.substr(0,r-1)),t=n+(t in sL?sL[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},sX=function(t,e,r,n,i,s,a,o){var u=i.startColor,l=i.endColor,c=i.fontSize,f=i.indent,h=i.fontWeight,p=im.createElement("div"),d=se(r)||"fixed"===n5(r,"pinType"),_=-1!==t.indexOf("scroller"),g=d?iy:"IFRAME"===r.tagName?r.contentDocument.body:r,m=-1!==t.indexOf("start"),v=m?u:l,y="border-color:"+v+";font-size:"+c+";color:"+v+";font-weight:"+h+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((_||o)&&d?"fixed;":"absolute;"),(_||o||!d)&&(y+=(n===ir?s_:sg)+":"+(s+parseFloat(f))+"px;"),a&&(y+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),p._isStart=m,p.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),p.style.cssText=y,p.innerText=e||0===e?t+"-"+e:t,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p["offset"+n.op.d2],sU(p,0,n,m),p},sU=function(t,e,r,n){var i={display:"block"},s=r[n?"os2":"p2"],a=r[n?"p2":"os2"];t._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+s+sk]=1,i["border"+a+sk]=0,i[r.p]=e+"px",id.set(t,i)},sq=[],sH={},sW=function(){return iJ()-i1>34&&(iG||(iG=requestAnimationFrame(ae)))},sV=function(){iI&&iI.isPressed&&!(iI.startX>iy.clientWidth)||(nK.cache++,iI?iG||(iG=requestAnimationFrame(ae)):ae(),i1||sK("scrollStart"),i1=iJ())},sj=function(){iL=ig.innerWidth,iY=ig.innerHeight},sG=function(t){nK.cache++,(!0===t||!iO&&!iF&&!im.fullscreenElement&&!im.webkitFullscreenElement&&(!iB||iL!==ig.innerWidth||Math.abs(ig.innerHeight-iY)>.25*ig.innerHeight))&&ib.restart(!0)},sQ={},sZ=[],s$=function t(){return sF(am,"scrollEnd",t)||s9(!0)},sK=function(t){return sQ[t]&&sQ[t].map(function(t){return t()})||sZ},sJ=[],s0=function(t){for(var e=0;ee,n=t._startClamp&&t.start>=e;(r||n)&&t.setPositions(n?e-1:t.start,r?Math.max(n?e:t.start+1,e):t.end,!0)}),s4(!1),iV=0,r.forEach(function(t){return t&&t.render&&t.render(-1)}),nK.forEach(function(t){su(t)&&(t.smooth&&requestAnimationFrame(function(){return t.target.style.scrollBehavior="smooth"}),t.rec&&t(t.rec))}),s5(iU,1),ib.pause(),s3++,iQ=2,ae(2),sq.forEach(function(t){return su(t.vars.onRefresh)&&t.vars.onRefresh(t)}),iQ=am.isRefreshing=!1,sK("refresh")},s7=0,at=1,ae=function(t){if(2===t||!iQ&&!iW){am.isUpdating=!0,i$&&i$.update(0);var e=sq.length,r=iJ(),n=r-i0>=50,i=e&&sq[0].scroll();if(at=s7>i?-1:1,iQ||(s7=i),n&&(i1&&!iC&&r-i1>200&&(i1=0,sK("scrollEnd")),ik=i0,i0=r),at<0){for(iS=e;iS-- >0;)sq[iS]&&sq[iS].update(0,n);at=1}else for(iS=0;iS20),r-=r-x}if(p&&(o[p]=t||-.001,t<0&&(t=0)),s){var w=t+r,k=s._isStart;d="scroll"+n.d2,sU(s,w,n,k&&w>20||!k&&(c?Math.max(iy[d],iv[d]):s.parentNode[d])<=w+1),c&&(u=sS(a),c&&(s.style[n.op.p]=u[n.op.p]-n.op.m-s._offset+"px"))}return h&&g&&(d=sS(g),h.seek(f),_=sS(g),h._caScrollDist=d[n.p]-_[n.p],t=t/h._caScrollDist*f),h&&h.seek(m),h?t:Math.round(t)},ah=/(webkit|moz|length|cssText|inset)/i,ap=function(t,e,r,n){if(t.parentNode!==e){var i,s,a=t.style;if(e===iy){for(i in t._stOrig=a.cssText,s=sO(t))+i||ah.test(i)||!s[i]||"string"!=typeof a[i]||"0"===i||(a[i]=s[i]);a.top=r,a.left=n}else a.cssText=t._stOrig;id.core.getCache(t).uncache=1,e.appendChild(t)}},ad=function(t,e,r){var n=e,i=n;return function(e){var s=Math.round(t());return s!==n&&s!==i&&Math.abs(s-n)>3&&Math.abs(s-i)>3&&(e=s,r&&r()),i=n,n=Math.round(e)}},a_=function(t,e,r){var n={};n[e.p]="+="+r,id.set(t,n)},ag=function(t,e){var r=ia(t,e),n="_scroll"+e.p2,i=function e(i,s,a,o,u){var l=e.tween,c=s.onComplete,f={};a=a||r();var h=ad(r,a,function(){l.kill(),e.tween=0});return u=o&&u||0,o=o||i-a,l&&l.kill(),s[n]=i,s.inherit=!1,s.modifiers=f,f[n]=function(){return h(a+o*l.ratio+u*l.ratio*l.ratio)},s.onUpdate=function(){nK.cache++,e.tween&&ae()},s.onComplete=function(){e.tween=0,c&&c.call(l)},l=e.tween=id.to(t,s)};return t[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},sz(t,"wheel",r.wheelHandler),am.isTouch&&sz(t,"touchmove",r.wheelHandler),i},am=function(){function t(e,r){i_||t.register(id)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),iX(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!i2){this.update=this.refresh=this.kill=i4;return}var n,i,s,a,o,u,l,c,f,h,p,d,_,g,m,v,y,x,b,T,w,k,M,O,C,E,S,A,P,D,R,z,F,I,B,Y,L,N,X,U,q,H=e=sE(so(e)||sl(e)||e.nodeType?{trigger:e}:e,sY),W=H.onUpdate,V=H.toggleClass,j=H.id,G=H.onToggle,Q=H.onRefresh,Z=H.scrub,$=H.trigger,K=H.pin,J=H.pinSpacing,tt=H.invalidateOnRefresh,te=H.anticipatePin,tr=H.onScrubComplete,tn=H.onSnapComplete,ti=H.once,ts=H.snap,ta=H.pinReparent,to=H.pinSpacer,tu=H.containerAnimation,tl=H.fastScrollEnd,tc=H.preventOverlaps,tf=e.horizontal||e.containerAnimation&&!1!==e.horizontal?ie:ir,th=!Z&&0!==Z,tp=ii(e.scroller||ig),td=id.core.getCache(tp),t_=se(tp),tg=("pinType"in e?e.pinType:n5(tp,"pinType")||t_&&"fixed")==="fixed",tm=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],tv=th&&e.toggleActions.split(" "),ty="markers"in e?e.markers:sY.markers,tx=t_?0:parseFloat(sO(tp)["border"+tf.p2+sk])||0,tb=this,tT=e.onRefreshInit&&function(){return e.onRefreshInit(tb)},tw=si(tp,t_,tf),tk=!t_||~nJ.indexOf(tp)?sn(tp):function(){return ac},tM=0,tO=0,tC=0,tE=ia(tp,tf);if(tb._startClamp=tb._endClamp=!1,tb._dir=tf,te*=45,tb.scroller=tp,tb.scroll=tu?tu.time.bind(tu):tE,u=tE(),tb.vars=e,r=r||e.animation,"refreshPriority"in e&&(iR=1,-9999===e.refreshPriority&&(i$=tb)),td.tweenScroll=td.tweenScroll||{top:ag(tp,ir),left:ag(tp,ie)},tb.tweenTo=s=td.tweenScroll[tf.p],tb.scrubDuration=function(t){(B=sl(t)&&t)?I?I.duration(t):I=id.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:B,paused:!0,onComplete:function(){return tr&&tr(tb)}}):(I&&I.progress(1).kill(),I=0)},r&&(r.vars.lazy=!1,r._initted&&!tb.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),tb.animation=r.pause(),r.scrollTrigger=tb,tb.scrubDuration(Z),z=0,j||(j=r.vars.id)),ts&&((!sc(ts)||ts.push)&&(ts={snapTo:ts}),"scrollBehavior"in iy.style&&id.set(t_?[iy,iv]:tp,{scrollBehavior:"auto"}),nK.forEach(function(t){return su(t)&&t.target===(t_?im.scrollingElement||iv:tp)&&(t.smooth=!1)}),o=su(ts.snapTo)?ts.snapTo:"labels"===ts.snapTo?(n=r,function(t){return id.utils.snap(sP(n),t)}):"labelsDirectional"===ts.snapTo?(i=r,function(t,e){return sD(sP(i))(t,e.direction)}):!1!==ts.directional?function(t,e){return sD(ts.snapTo)(t,iJ()-tO<500?0:e.direction)}:id.utils.snap(ts.snapTo),Y=sc(Y=ts.duration||{min:.1,max:2})?iw(Y.min,Y.max):iw(Y,Y),L=id.delayedCall(ts.delay||B/2||.1,function(){var t=tE(),e=iJ()-tO<500,n=s.tween;if((e||10>Math.abs(tb.getVelocity()))&&!n&&!iC&&tM!==t){var i,a,u=(t-c)/v,l=r&&!th?r.totalProgress():u,h=e?0:(l-F)/(iJ()-ik)*1e3||0,p=id.utils.clamp(-u,1-u,sp(h/2)*h/.185),d=u+(!1===ts.inertia?0:p),_=ts,g=_.onStart,m=_.onInterrupt,y=_.onComplete;if(sl(i=o(d,tb))||(i=d),a=Math.max(0,Math.round(c+i*v)),t<=f&&t>=c&&a!==t){if(n&&!n._initted&&n.data<=sp(a-t))return;!1===ts.inertia&&(p=i-u),s(a,{duration:Y(sp(.185*Math.max(sp(d-l),sp(i-l))/h/.05||0)),ease:ts.ease||"power3",data:sp(a-t),onInterrupt:function(){return L.restart(!0)&&m&&sh(tb,m)},onComplete:function(){tb.update(),tM=tE(),r&&!th&&(I?I.resetTo("totalProgress",i,r._tTime/r._tDur):r.progress(i)),z=F=r&&!th?r.totalProgress():tb.progress,tn&&tn(tb),y&&sh(tb,y)}},t,p*v,a-t-p*v),g&&sh(tb,g,s.tween)}}else tb.isActive&&tM!==t&&L.restart(!0)}).pause()),j&&(sH[j]=tb),(q=($=tb.trigger=ii($||!0!==K&&K))&&$._gsap&&$._gsap.stRevert)&&(q=q(tb)),K=!0===K?$:ii(K),so(V)&&(V={targets:$,className:V}),K&&(!1===J||J===sw||(J=(!!J||!K.parentNode||!K.parentNode.style||"flex"!==sO(K.parentNode).display)&&sT),tb.pin=K,(a=id.core.getCache(K)).spacer?y=a.pinState:(to&&((to=ii(to))&&!to.nodeType&&(to=to.current||to.nativeElement),a.spacerIsNative=!!to,to&&(a.spacerState=au(to))),a.spacer=T=to||im.createElement("div"),T.classList.add("pin-spacer"),j&&T.classList.add("pin-spacer-"+j),a.pinState=y=au(K)),!1!==e.force3D&&id.set(K,{force3D:!0}),tb.spacer=T=a.spacer,E=(R=sO(K))[J+tf.os2],k=id.getProperty(K),M=id.quickSetter(K,tf.a,"px"),as(K,T,R),b=au(K)),ty){g=sc(ty)?sE(ty,sB):sB,d=sX("scroller-start",j,tp,tf,g,0),_=sX("scroller-end",j,tp,tf,g,0,d),w=d["offset"+tf.op.d2];var tS=ii(n5(tp,"content")||tp);h=this.markerStart=sX("start",j,tS,tf,g,w,0,tu),p=this.markerEnd=sX("end",j,tS,tf,g,w,0,tu),tu&&(U=id.quickSetter([h,p],tf.a,"px")),tg||nJ.length&&!0===n5(tp,"fixedMarkers")||(sC(t_?iy:tp),id.set([d,_],{force3D:!0}),A=id.quickSetter(d,tf.a,"px"),D=id.quickSetter(_,tf.a,"px"))}if(tu){var tA=tu.vars.onUpdate,tP=tu.vars.onUpdateParams;tu.eventCallback("onUpdate",function(){tb.update(0,0,1),tA&&tA.apply(tu,tP||[])})}if(tb.previous=function(){return sq[sq.indexOf(tb)-1]},tb.next=function(){return sq[sq.indexOf(tb)+1]},tb.revert=function(t,e){if(!e)return tb.kill(!0);var n=!1!==t||!tb.enabled,i=iO;n!==tb.isReverted&&(n&&(N=Math.max(tE(),tb.scroll.rec||0),tC=tb.progress,X=r&&r.progress()),h&&[h,p,d,_].forEach(function(t){return t.style.display=n?"none":"block"}),n&&(iO=tb,tb.update(n)),!K||ta&&tb.isActive||(n?ai(K,T,y):as(K,T,sO(K),S)),n||tb.update(n),iO=i,tb.isReverted=n)},tb.refresh=function(n,i,a,o){if(!iO&&tb.enabled||i){if(K&&n&&i1)return void sz(t,"scrollEnd",s$);!iQ&&tT&&tT(tb),iO=tb,s.tween&&!a&&(s.tween.kill(),s.tween=0),I&&I.pause(),tt&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren?r.getChildren(!0,!0,!1).forEach(function(t){return t.vars.immediateRender&&t.render(0,!0,!0)}):r.vars.immediateRender&&r.render(0,!0,!0)),tb.isReverted||tb.revert(!0,!0),tb._subPinOffset=!1;var g,w,M,E,A,D,R,z,F,B,Y,U,q,H=tw(),W=tk(),V=tu?tu.duration():ss(tp,tf),j=v<=.01||!v,G=0,Z=o||0,te=sc(a)?a.end:e.end,tr=e.endTrigger||$,tn=sc(a)?a.start:e.start||(0!==e.start&&$?K?"0 0":"0 100%":0),ti=tb.pinnedContainer=e.pinnedContainer&&ii(e.pinnedContainer,tb),ts=$&&Math.max(0,sq.indexOf(tb))||0,to=ts;for(ty&&sc(a)&&(U=id.getProperty(d,tf.p),q=id.getProperty(_,tf.p));to-- >0;)(D=sq[to]).end||D.refresh(0,1)||(iO=tb),(R=D.pin)&&(R===$||R===K||R===ti)&&!D.isReverted&&(B||(B=[]),B.unshift(D),D.revert(!0,!0)),D!==sq[to]&&(ts--,to--);for(su(tn)&&(tn=tn(tb)),c=af(tn=i5(tn,"start",tb),$,H,tf,tE(),h,d,tb,W,tx,tg,V,tu,tb._startClamp&&"_startClamp")||(K?-.001:0),su(te)&&(te=te(tb)),so(te)&&!te.indexOf("+=")&&(~te.indexOf(" ")?te=(so(tn)?tn.split(" ")[0]:"")+te:(G=sN(te.substr(2),H),te=so(tn)?tn:(tu?id.utils.mapRange(0,tu.duration(),tu.scrollTrigger.start,tu.scrollTrigger.end,c):c)+G,tr=$)),te=i5(te,"end",tb),f=Math.max(c,af(te||(tr?"100% 0":V),tr,H,tf,tE()+G,p,_,tb,W,tx,tg,V,tu,tb._endClamp&&"_endClamp"))||-.001,G=0,to=ts;to--;)(R=(D=sq[to]||{}).pin)&&D.start-D._pinPush<=c&&!tu&&D.end>0&&(g=D.end-(tb._startClamp?Math.max(0,D.start):D.start),(R===$&&D.start-D._pinPush=ss(tp,tf)))g=sO(K),E=tf===ir,M=tE(),O=parseFloat(k(tf.a))+Z,!V&&f>1&&(Y={style:Y=(t_?im.scrollingElement||iv:tp).style,value:Y["overflow"+tf.a.toUpperCase()]},t_&&"scroll"!==sO(iy)["overflow"+tf.a.toUpperCase()]&&(Y.style["overflow"+tf.a.toUpperCase()]="scroll")),as(K,T,g),b=au(K),w=sS(K,!0),z=tg&&ia(tp,E?ie:ir)(),J?((S=[J+tf.os2,v+Z+"px"]).t=T,(to=J===sT?sA(K,tf)+v+Z:0)&&(S.push(tf.d,to+"px"),"auto"!==T.style.flexBasis&&(T.style.flexBasis=to+"px")),ao(S),ti&&sq.forEach(function(t){t.pin===ti&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)}),tg&&tE(N)):(to=sA(K,tf))&&"auto"!==T.style.flexBasis&&(T.style.flexBasis=to+"px"),tg&&((A={top:w.top+(E?M-c:z)+"px",left:w.left+(E?z:M-c)+"px",boxSizing:"border-box",position:"fixed"})[sm]=A["max"+sk]=Math.ceil(w.width)+"px",A[sv]=A["max"+sM]=Math.ceil(w.height)+"px",A[sw]=A[sw+"Top"]=A[sw+sy]=A[sw+sb]=A[sw+sx]="0",A[sT]=g[sT],A[sT+"Top"]=g[sT+"Top"],A[sT+sy]=g[sT+sy],A[sT+sb]=g[sT+sb],A[sT+sx]=g[sT+sx],x=al(y,A,ta),iQ&&tE(0)),r?(F=r._initted,iz(1),r.render(r.duration(),!0,!0),C=k(tf.a)-O+v+Z,P=Math.abs(v-C)>1,tg&&P&&x.splice(x.length-2,2),r.render(0,!0,!0),F||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),iz(0)):C=v,Y&&(Y.value?Y.style["overflow"+tf.a.toUpperCase()]=Y.value:Y.style.removeProperty("overflow-"+tf.a));else if($&&tE()&&!tu)for(w=$.parentNode;w&&w!==iy;)w._pinOffset&&(c-=w._pinOffset,f-=w._pinOffset),w=w.parentNode;B&&B.forEach(function(t){return t.revert(!1,!0)}),tb.start=c,tb.end=f,u=l=iQ?N:tE(),tu||iQ||(u0?sq.slice(0,e).reverse():sq.slice(e+1);return(so(t)?r.filter(function(e){return e.vars.preventOverlaps===t}):r).filter(function(t){return tb.direction>0?t.end<=c:t.start>=f})},tb.update=function(t,e,n){if(!tu||n||t){var i,a,o,h,p,_,g,m=!0===iQ?N:tb.scroll(),y=t?0:(m-c)/v,w=y<0?0:y>1?1:y||0,k=tb.progress;if(e&&(l=u,u=tu?tE():m,ts&&(F=z,z=r&&!th?r.totalProgress():w)),te&&K&&!iO&&!iK&&i1&&(!w&&cm+(m-l)/(iJ()-ik)*te&&(w=.9999)),w!==k&&tb.enabled){if(h=(p=(i=tb.isActive=!!w&&w<1)!=(!!k&&k<1))||!!w!=!!k,tb.direction=w>k?1:-1,tb.progress=w,h&&!iO&&(a=w&&!k?0:1===w?1:1===k?2:3,th&&(o=!p&&"none"!==tv[a+1]&&tv[a+1]||tv[a],g=r&&("complete"===o||"reset"===o||o in r))),tc&&(p||g)&&(g||Z||!r)&&(su(tc)?tc(tb):tb.getTrailing(tc).forEach(function(t){return t.endAnimation()})),!th&&(!I||iO||iK?r&&r.totalProgress(w,!!(iO&&(tO||t))):(I._dp._time-I._start!==I._time&&I.render(I._dp._time-I._start),I.resetTo?I.resetTo("totalProgress",w,r._tTime/r._tDur):(I.vars.totalProgress=w,I.invalidate().restart()))),K)if(t&&J&&(T.style[J+tf.os2]=E),tg){if(h){if(_=!t&&w>k&&f+1>m&&m+1>=ss(tp,tf),ta)if(!t&&(i||_)){var S=sS(K,!0),R=m-c;ap(K,iy,S.top+(tf===ir?R:0)+"px",S.left+(tf===ir?0:R)+"px")}else ap(K,T);ao(i||_?x:b),P&&w<1&&i||M(O+(1!==w||_?0:C))}}else M(i9(O+C*w));!ts||s.tween||iO||iK||L.restart(!0),V&&(p||ti&&w&&(w<1||!ij))&&iT(V.targets).forEach(function(t){return t.classList[i||ti?"add":"remove"](V.className)}),!W||th||t||W(tb),h&&!iO?(th&&(g&&("complete"===o?r.pause().totalProgress(1):"reset"===o?r.restart(!0).pause():"restart"===o?r.restart(!0):r[o]()),W&&W(tb)),(p||!ij)&&(G&&p&&sh(tb,G),tm[a]&&sh(tb,tm[a]),ti&&(1===w?tb.kill(!1,1):tm[a]=0),!p&&tm[a=1===w?1:3]&&sh(tb,tm[a])),tl&&!i&&Math.abs(tb.getVelocity())>(sl(tl)?tl:2500)&&(sf(tb.callbackAnimation),I?I.progress(1):sf(r,"reverse"===o?1:!w,1))):th&&W&&!iO&&W(tb)}if(D){var B=tu?m/tu.duration()*(tu._caScrollDist||0):m;A(B+ +!!d._isFlipped),D(B)}U&&U(-m/tu.duration()*(tu._caScrollDist||0))}},tb.enable=function(e,r){tb.enabled||(tb.enabled=!0,sz(tp,"resize",sG),t_||sz(tp,"scroll",sV),tT&&sz(t,"refreshInit",tT),!1!==e&&(tb.progress=tC=0,u=l=tM=tE()),!1!==r&&tb.refresh())},tb.getTween=function(t){return t&&s?s.tween:I},tb.setPositions=function(t,e,r,n){if(tu){var i=tu.scrollTrigger,s=tu.duration(),a=i.end-i.start;t=i.start+a*t/s,e=i.start+a*e/s}tb.refresh(!1,!1,{start:i3(t,r&&!!tb._startClamp),end:i3(e,r&&!!tb._endClamp)},n),tb.update()},tb.adjustPinSpacing=function(t){if(S&&t){var e=S.indexOf(tf.d)+1;S[e]=parseFloat(S[e])+t+"px",S[1]=parseFloat(S[1])+t+"px",ao(S)}},tb.disable=function(e,r){if(!1!==e&&tb.revert(!0,!0),tb.enabled&&(tb.enabled=tb.isActive=!1,r||I&&I.pause(),N=0,a&&(a.uncache=1),tT&&sF(t,"refreshInit",tT),L&&(L.pause(),s.tween&&s.tween.kill()&&(s.tween=0)),!t_)){for(var n=sq.length;n--;)if(sq[n].scroller===tp&&sq[n]!==tb)return;sF(tp,"resize",sG),t_||sF(tp,"scroll",sV)}},tb.kill=function(t,n){tb.disable(t,n),I&&!n&&I.kill(),j&&delete sH[j];var i=sq.indexOf(tb);i>=0&&sq.splice(i,1),i===iS&&at>0&&iS--,i=0,sq.forEach(function(t){return t.scroller===tb.scroller&&(i=1)}),i||iQ||(tb.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),n||r.kill()),h&&[h,p,d,_].forEach(function(t){return t.parentNode&&t.parentNode.removeChild(t)}),i$===tb&&(i$=0),K&&(a&&(a.uncache=1),i=0,sq.forEach(function(t){return t.pin===K&&i++}),i||(a.spacer=0)),e.onKill&&e.onKill(tb)},sq.push(tb),tb.enable(!1,!1),q&&q(tb),r&&r.add&&!v){var tD=tb.update;tb.update=function(){tb.update=tD,nK.cache++,c||f||tb.refresh()},id.delayedCall(.01,tb.update),v=.01,c=f=0}else tb.refresh();K&&s8()},t.register=function(e){return i_||(id=e||st(),i7()&&window.document&&t.enable(),i_=i2),i_},t.defaults=function(t){if(t)for(var e in t)sY[e]=t[e];return sY},t.disable=function(t,e){i2=0,sq.forEach(function(r){return r[e?"kill":"disable"](t)}),sF(ig,"wheel",sV),sF(im,"scroll",sV),clearInterval(iM),sF(im,"touchcancel",i4),sF(iy,"touchstart",i4),sR(sF,im,"pointerdown,touchstart,mousedown",i8),sR(sF,im,"pointerup,touchend,mouseup",i6),ib.kill(),sa(sF);for(var r=0;r0&&n.left+i0&&n.top+i=0&&sJ.splice(e,5),sJ.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),id.core.getCache(t),iX())}}):sJ},am.revert=function(t,e){return s2(!t,e)},am.create=function(t,e){return new am(t,e)},am.refresh=function(t){return t?sG(!0):(i_||am.register())&&s9(!0)},am.update=function(t){return++nK.cache&&ae(2*(!0===t))},am.clearScrollMemory=s5,am.maxScroll=function(t,e){return ss(t,e?ie:ir)},am.getScrollFunc=function(t,e){return ia(ii(t),e?ie:ir)},am.getById=function(t){return sH[t]},am.getAll=function(){return sq.filter(function(t){return"ScrollSmoother"!==t.vars.id})},am.isScrolling=function(){return!!i1},am.snapDirectional=sD,am.addEventListener=function(t,e){var r=sQ[t]||(sQ[t]=[]);~r.indexOf(e)||r.push(e)},am.removeEventListener=function(t,e){var r=sQ[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},am.batch=function(t,e){var r,n=[],i={},s=e.interval||.016,a=e.batchMax||1e9,o=function(t,e){var r=[],n=[],i=id.delayedCall(s,function(){e(r,n),r=[],n=[]}).pause();return function(t){r.length||i.restart(!0),r.push(t.trigger),n.push(t),a<=r.length&&i.progress(1)}};for(r in e)i[r]="on"===r.substr(0,2)&&su(e[r])&&"onRefreshInit"!==r?o(r,e[r]):e[r];return su(a)&&(a=a(),sz(am,"refresh",function(){return a=e.batchMax()})),iT(t).forEach(function(t){var e={};for(r in i)e[r]=i[r];e.trigger=t,n.push(am.create(e))}),n};var av,ay=function(t,e,r,n){return e>n?t(n):e<0&&t(0),r>n?(n-e)/(r-e):r<0?e/(e-r):1},ax=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(ip.isTouch?" pinch-zoom":""):"none",e===iv&&t(iy,r)},ab={auto:1,scroll:1},aT=function(t){var e,r=t.event,n=t.target,i=t.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,a=s._gsap||id.core.getCache(s),o=iJ();if(!a._isScrollT||o-a._isScrollT>2e3){for(;s&&s!==iy&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(ab[(e=sO(s)).overflowY]||ab[e.overflowX]));)s=s.parentNode;a._isScroll=s&&s!==n&&!se(s)&&(ab[(e=sO(s)).overflowY]||ab[e.overflowX]),a._isScrollT=o}(a._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},aw=function(t,e,r,n){return ip.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&aT,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&sz(im,ip.eventTypes[0],aM,!1,!0)},onDisable:function(){return sF(im,ip.eventTypes[0],aM,!0)}})},ak=/(input|label|select|textarea)/i,aM=function(t){var e=ak.test(t.target.tagName);(e||av)&&(t._gsapAllow=!0,av=e)},aO=function(t){sc(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,r,n,i,s,a,o,u,l=t,c=l.normalizeScrollX,f=l.momentum,h=l.allowNestedScroll,p=l.onRelease,d=ii(t.target)||iv,_=id.core.globals().ScrollSmoother,g=_&&_.get(),m=iN&&(t.content&&ii(t.content)||g&&!1!==t.content&&!g.smooth()&&g.content()),v=ia(d,ir),y=ia(d,ie),x=1,b=(ip.isTouch&&ig.visualViewport?ig.visualViewport.scale*ig.visualViewport.width:ig.outerWidth)/ig.innerWidth,T=0,w=su(f)?function(){return f(e)}:function(){return f||2.8},k=aw(d,t.type,!0,h),M=function(){return i=!1},O=i4,C=i4,E=function(){r=ss(d,ir),C=iw(+!!iN,r),c&&(O=iw(0,ss(d,ie))),n=s3},S=function(){m._gsap.y=i9(parseFloat(m._gsap.y)+v.offset)+"px",m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(m._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},A=function(){if(i){requestAnimationFrame(M);var t=i9(e.deltaY/2),r=C(v.v-t);if(m&&r!==v.v+v.offset){v.offset=r-v.v;var n=i9((parseFloat(m&&m._gsap.y)||0)-v.offset);m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",m._gsap.y=n+"px",v.cacheID=nK.cache,ae()}return!0}v.offset&&S(),i=!0},P=function(){E(),s.isActive()&&s.vars.scrollY>r&&(v()>r?s.progress(1)&&v(r):s.resetTo("scrollY",r))};return m&&id.set(m,{y:"+=0"}),t.ignoreCheck=function(t){return iN&&"touchmove"===t.type&&A(t)||x>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){i=!1;var t=x;x=i9((ig.visualViewport&&ig.visualViewport.scale||1)/b),s.pause(),t!==x&&ax(d,x>1.01||!c&&"x"),a=y(),o=v(),E(),n=s3},t.onRelease=t.onGestureStart=function(t,e){if(v.offset&&S(),e){nK.cache++;var n,i,a=w();c&&(i=(n=y())+-(.05*a*t.velocityX)/.227,a*=ay(y,n,i,ss(d,ie)),s.vars.scrollX=O(i)),i=(n=v())+-(.05*a*t.velocityY)/.227,a*=ay(v,n,i,ss(d,ir)),s.vars.scrollY=C(i),s.invalidate().duration(a).play(.01),(iN&&s.vars.scrollY>=r||n>=r-1)&&id.to({},{onUpdate:P,duration:a})}else u.restart(!0);p&&p(t)},t.onWheel=function(){s._ts&&s.pause(),iJ()-T>1e3&&(n=0,T=iJ())},t.onChange=function(t,e,r,i,s){if(s3!==n&&E(),e&&c&&y(O(i[2]===e?a+(t.startX-t.x):y()+e-i[1])),r){v.offset&&S();var u=s[2]===r,l=u?o+t.startY-t.y:v()+r-s[1],f=C(l);u&&l!==f&&(o+=f-l),v(f)}(r||e)&&ae()},t.onEnable=function(){ax(d,!c&&"x"),am.addEventListener("refresh",P),sz(ig,"resize",P),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),k.enable()},t.onDisable=function(){ax(d,!0),sF(ig,"resize",P),am.removeEventListener("refresh",P),k.kill()},t.lockAxis=!1!==t.lockAxis,(e=new ip(t)).iOS=iN,iN&&!v()&&v(1),iN&&id.ticker.add(i4),u=e._dc,s=id.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:ad(v,v(),function(){return s.pause()})},onUpdate:ae,onComplete:u.vars.onComplete}),e};am.sort=function(t){if(su(t))return sq.sort(t);var e=ig.pageYOffset||0;return am.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+ig.innerHeight}),sq.sort(t||function(t,e){return -1e6*(t.vars.refreshPriority||0)+(t.vars.containerAnimation?1e6:t._sortY)-((e.vars.containerAnimation?1e6:e._sortY)+-1e6*(e.vars.refreshPriority||0))})},am.observe=function(t){return new ip(t)},am.normalizeScroll=function(t){if(void 0===t)return iI;if(!0===t&&iI)return iI.enable();if(!1===t){iI&&iI.kill(),iI=t;return}var e=t instanceof ip?t:aO(t);return iI&&iI.target===e.target&&iI.kill(),se(e.target)&&(iI=e),e},am.core={_getVelocityProp:io,_inputObserver:aw,_scrollers:nK,_proxies:nJ,bridge:{ss:function(){i1||sK("scrollStart"),i1=iJ()},ref:function(){return iO}}},st()&&id.registerPlugin(am),t.s(["ScrollTrigger",0,am],83495)}]);