((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})})(this,function(t){function r(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function Z(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N(t){return"string"==typeof t}function f(t){return"function"==typeof t}function $(t){return"number"==typeof t}function s(t){return void 0===t}function A(t){return"object"==typeof t}function R(t){return!1!==t}function o(){return"undefined"!=typeof window}function J(t){return f(t)||N(t)}function i(t){return($t=jt(t,a))&&_}function tt(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")}function et(t,e){return!e&&console.warn(t)}function m(t,e){return t&&(a[t]=e)&&$t&&($t[t]=e)||a}function g(){return 0}function rt(t){var e,r,i=t[0];if(A(i)||f(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=Ue.length;r--&&!Ue[r].targetTest(i););e=Ue[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new ir(t[r],e)))||t.splice(r,1);return t}function it(t){return t._gsap||rt(E(t))[0]._gsap}function v(t,e,r){return(r=t[e])&&f(r)?t[e]():s(r)&&t.getAttribute&&t.getAttribute(e)||r}function c(t,e){return(t=t.split(",")).forEach(e)||t}function F(t){return Math.round(1e5*t)/1e5||0}function C(t){return Math.round(1e7*t)/1e7||0}function nt(t,e){var r=e.charAt(0),e=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+e:"-"===r?t-e:"*"===r?t*e:t/e}function st(){var t,e,r=Be.length,i=Be.slice(0);for(Xe={},t=Be.length=0;ts;)a=a._prev;a?(e._next=a._next,a._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=a,e.parent=e._dp=t}function O(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function ut(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0}function M(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}function ht(t,e,r,i){t._startAt&&(L?t._startAt.revert(Fe):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function lt(t){return t._repeat?Vt(t._tTime,t=t.duration()+t._rDelay)*t:0}function ft(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function pt(t){t._end=C(t._start+(t._tDur/Math.abs(t._ts||t._rts||X)||0))}function ct(t,e){var r=t._dp;r&&r.smoothChildTiming&&t._ts&&(t._start=C(r._time-(0X)&&e.render(r,!0),M(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur(n=Math.abs(n))&&(s=i,o=n);return s}function Et(t){return ut(t),t.scrollTrigger&&t.scrollTrigger.kill(!!L),t.progress()<1&&I(t,"onInterrupt"),t}function St(t){if(t)if(t=!t.name&&t.default||t,o()||t.headless){var e=t.name,r=e&&!f(t)&&t.init?function(){this._props=[]}:t,i={init:g,render:Mr,add:dr,kill:Cr,modifier:Ar,rawVars:0},n={targetTest:0,get:0,getSetter:wr,aliases:{},register:0};if(He(),t!==r){if(j[e])return;z(r,z(at(t,i),n)),jt(r.prototype,jt(i,at(t,n))),j[r.prop=e]=r,t.targetTest&&(Ue.push(r),Ye[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}m(e,r),t.register&&t.register(_,r,K)}else We.push(t)}function Rt(t,e,r){return(6*(t+=t<0?1:1>16,t>>8&p,t&p]:0:Ke.black;if(!l){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Ke[t])l=Ke[t];else if("#"===t.charAt(0)){if(9===(t=t.length<6?"#"+(i=t.charAt(1))+i+(n=t.charAt(2))+n+(s=t.charAt(3))+s+(5===t.length?t.charAt(4)+t.charAt(4):""):t).length)return[(l=parseInt(t.substr(1,6),16))>>16,l>>8&p,l&p,parseInt(t.substr(7),16)/255];l=[(t=parseInt(t.substr(1),16))>>16,t>>8&p,t&p]}else if("hsl"===t.substr(0,3))if(l=h=t.match(Ae),e){if(~t.indexOf("="))return l=t.match(Ce),r&&l.length<4&&(l[3]=1),l}else a=+l[0]%360/360,o=l[1]/100,i=2*(u=l[2]/100)-(n=u<=.5?u*(o+1):u+o-u*o),3{for(var e,r,i,n={},s=t.substr(1,t.length-3).split(":"),a=s[0],o=1,u=s.length;o=B?o.endTime(!1):t._dur;return N(e)&&(isNaN(e)||e in a)?(n=e.charAt(0),s="%"===e.substr(-1),i=e.indexOf("="),"<"===n||">"===n?(0<=i&&(e=e.replace(/=/,"")),("<"===n?o._start:o.endTime(0<=o._repeat))+(parseFloat(e.substr(1))||0)*(s?(i<0?o:r).totalDuration()/100:1)):i<0?(e in a||(a[e]=u),a[e]):(n=parseFloat(e.charAt(i-1)+e.substr(i+1)),s&&r&&(n=n/100*(D(r)?r[0]:r).totalDuration()),1{var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in Ke)e+="|"+t+"\\b";return new RegExp(e+")","gi")})(),Ge=/hsl[a]?\(/,d=(ue=Date.now,he=500,le=33,fe=ue(),pe=fe,de=ce=1e3/240,se={time:0,frame:0,tick:function(){er(!0)},deltaRatio:function(t){return ae/(1e3/(t||60))},wake:function(){Jt&&(!Ht&&o()&&(l=Ht=window,Zt=l.document||{},a.gsap=_,(l.gsapVersions||(l.gsapVersions=[])).push(_.version),i($t||l.GreenSockGlobals||!l.gsap&&l||{}),We.forEach(St)),ne="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,re&&se.sleep(),ie=ne||function(t){return setTimeout(t,de-1e3*se.time+1|0)},ee=1,er(2))},sleep:function(){(ne?cancelAnimationFrame:clearTimeout)(re),ee=0,ie=g},lagSmoothing:function(t,e){he=t||1/0,le=Math.min(e||33,he)},fps:function(t){ce=1e3/(t||240),de=1e3*se.time+ce},add:function(n,t,e){var s=t?function(t,e,r,i){n(t,e,r,i),se.remove(s)}:n;return se.remove(n),_e[e?"unshift":"push"](s),He(),s},remove:function(t,e){~(e=_e.indexOf(t))&&_e.splice(e,1)&&e<=oe&&oe--},_listeners:_e=[]}),He=function(){return!ee&&d.wake()},S={},Ze=/^[\d.\-M][\d.\-,\s]/,$e=/["']/g,Je=function(e){return function(t){return 1-e(1-t)}},tr=function(t,e){return t&&(f(t)?t:S[t]||Bt(t))||e};function er(t){var e,r,i,n=ue()-pe,s=!0===t;if((he=e&&t{var i;if(ee)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start=y._start)&&y._ts&&u!==y){if(y.parent!==this)return this.render(t,e,r);if(y.render(0=this.totalDuration()||!m&&c)||l!==this._start&&Math.abs(h)===Math.abs(this._ts)||this._lock||(!t&&_||!(m===d&&0=i&&(s instanceof W?e&&n.push(s):(r&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,r)))),s=s._next;return n},e.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function(t){return N(t)?this.removeLabel(t):f(t)?this.killTweensOf(t):(t.parent===this&&O(this,t),t===this._recent&&(this._recent=this._last),M(this))},e.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=C(d.time-(0{for(var r=e.length,i=0;t.indexOf(e[i])<0&&++ie:!e||s.isActive())&&i.push(s):(r=s.getTweensOf(n,e)).length&&i.push.apply(i,r),s=s._next;return i},e.tweenTo=function(t,e){e=e||{};var r,i=this,n=h(i,t),s=e.startAt,a=e.onStart,o=e.onStartParams,t=e.immediateRender,u=W.to(i,z({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(s&&"time"in s?s.time:i._time))/i.timeScale())||X,onStart:function(){var t;i.pause(),r||(t=e.duration||Math.abs((n-(s&&"time"in s?s.time:i._time))/i.timeScale()),u._dur!==t&>(u,t,0,1).render(u._time,!0,!0),r=1),a&&a.apply(u,o||[])}},e));return t?u.render(0):u},e.tweenFromTo=function(t,e,r){return this.tweenTo(e,z({startAt:{time:h(this,t)}},r))},e.recent=function(){return this._recent},e.nextLabel=function(t){return void 0===t&&(t=this._time),Dt(this,h(this,t))},e.previousLabel=function(t){return void 0===t&&(t=this._time),Dt(this,h(this,t),1)},e.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+X)},e.shiftChildren=function(t,e,r){void 0===r&&(r=0);var i,n=this._first,s=this.labels;for(t=C(t);n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in s)s[i]>=r&&(s[i]+=t);return M(this)},e.invalidate=function(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return ar.prototype.invalidate.call(this,t)},e.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={}),M(this)},e.totalDuration=function(t){var e,r,i,n=0,s=this,a=s._last,o=B;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(i=s.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),o<(r=a._start)&&s._sort&&a._ts&&!s._lock?(s._lock=1,P(s,a,r-a._delay,1)._lock=0):o=r,r<0&&a._ts&&(n-=r,(!i&&!s._dp||i&&i.smoothChildTiming)&&(s._start+=C(r/s._ts),s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-1/0),o=0),a._end>n&&a._ts&&(n=a._end),a=e;gt(s,s===Y&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},or.updateRoot=function(t){if(Y._ts&&(y(Y,ft(t,Y)),te=d.frame),d.frame>=Ne){Ne+=q.autoSleep||120;var e=Y._first;if((!e||!e._ts)&&q.autoSleep&&d._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||d.sleep()}}};var ar,V=or;function or(t,e){var r;return(r=ar.call(this,t=void 0===t?{}:t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=R(t.sortChildren),Y&&P(t.parent||Y,Z(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&_t(Z(r),t.scrollTrigger),r}function ur(t,e,r,i,n,s){var a,o,u,h;if(j[t]&&!1!==(a=new j[t]).init(n,a.rawVars?e[t]:((t,e,r,i,n)=>{if(!A(t=f(t)?lr(t,n,e,r,i):t)||t.style&&t.nodeType||D(t)||ke(t))return N(t)?lr(t,n,e,r,i):t;var s,a={};for(s in t)a[s]=lr(t[s],n,e,r,i);return a})(e[t],i,n,s,r),r,i,s)&&(r._pt=o=new K(r._pt,n,t,0,1,a.render,a,0,a.priority),r!==jr))for(u=r._ptLookup[r._targets.indexOf(n)],h=a._props.length;h--;)u[a._props[h]]=o;return a}z(V.prototype,{_lock:0,_hasPause:0,_forcing:0});function hr(t,e,r){var i,n,s,a,o,u,h,l,f,p,c,d,_,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,x=m.lazy,T=m.onUpdate,w=m.runBackwards,b=m.yoyoEase,k=m.keyframes,O=m.autoRevert,M=t._dur,A=t._startAt,C=t._targets,P=t.parent,D=P&&"nested"===P.data?P.vars.targets:C,E="auto"===t._overwrite&&!Gt,S=t.timeline;if(t._ease=tr(g=!S||k&&g?g:"none",ge.ease),t._yEase=b?Je(tr(!0===b?g:b,ge.ease)):0,b&&t._yoyo&&!t._repeat&&(b=t._yEase,t._yEase=t._ease,t._ease=b),t._from=!S&&!!m.runBackwards,!S||k&&!m.stagger){if(d=(l=C[0]?it(C[0]).harness:0)&&m[l.prop],i=at(m,Ye),A&&(A._zTime<0&&A.progress(1),e<0&&w&&y&&!O?A.render(-1,!0):A.revert(w&&M?Fe:ze),A._lazy=0),v){if(ut(t._startAt=W.set(C,z({data:"isStart",overwrite:!1,parent:P,immediateRender:!0,lazy:!A&&R(x),startAt:null,delay:0,onUpdate:T&&function(){return I(t,"onUpdate")},stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(L||!y&&!O)&&t._startAt.revert(Fe),y&&M&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(w&&M&&!A)if(s=z({overwrite:!1,data:"isFromStart",lazy:(y=e?!1:y)&&!A&&R(x),immediateRender:y,stagger:0,parent:P},i),d&&(s[l.prop]=d),ut(t._startAt=W.set(C,s)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(L?t._startAt.revert(Fe):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return}else hr(t._startAt,X,X);for(t._pt=t._ptCache=0,x=M&&R(x)||x&&!M,n=0;n{var u,h,l,f,p=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!p)for(p=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((u=l[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return pr=1,t.vars[e]="+=0",hr(t,a),pr=0,!o||et(e+" not eligible for reset");p.push(u)}for(f=p.length;f--;)(u=(h=p[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+s*u.c:i,u.c=r-u.s,h.e&&(h.e=F(r)+U(h.e)),h.b&&(h.b=u.s+U(h.b))})(this,t,e,r,i,s,a,n)?this.resetTo(t,e,r,i,1):(ct(this,0),this.parent||k(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(t,e){if(void 0===e&&(e="all"),t||e&&"all"!==e)if(this.timeline)p=this.timeline.totalDuration(),this.timeline.killTweensOf(t,e,fr&&!0!==fr.vars.overwrite)._first||Et(this),this.parent&&p!==this.timeline.totalDuration()&>(this,this._dur*this.timeline._tDur/p,0,1);else{var r,i,n,s,a,o,u,h=this._targets,l=t?E(t):h,f=this._ptLookup,p=this._pt;if((!e||"all"===e)&&((t,e)=>{for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0})(h,l))return"all"===e&&(this._pt=0),Et(this);for(r=this._op=this._op||[],"all"!==e&&(N(e)&&(a={},c(e,function(t){return a[t]=1}),e=a),e=((t,e)=>{var r,i,n,s,a=(t=t[0]?it(t[0]).harness:0)&&t.aliases;if(!a)return e;for(i in r=jt({},e),a)if(i in r)for(n=(s=a[i].split(",")).length;n--;)r[s[n]]=r[i];return r})(h,e)),u=h.length;u--;)if(~l.indexOf(h[u]))for(a in i=f[u],"all"===e?(r[u]=e,s=i,n={}):(n=r[u]=r[u]||{},s=e),s)(o=i&&i[a])&&("kill"in o.d&&!0!==o.d.kill(a)||O(this,o,"_pt"),delete i[a]),"all"!==n&&(n[a]=1);this._initted&&!this._pt&&p&&Et(this)}else this._lazy=this._pt=0,this.parent?Et(this):this.scrollTrigger&&this.scrollTrigger.kill(!!L);return this},n.to=function(t,e,r){return new n(t,e,r)},n.from=function(t,e){return yt(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 yt(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 Y.killTweensOf(t,e,r)},n);function n(t,e,r,i){var n;"number"==typeof e&&(r.duration=e,e=r,r=null);var s,a,o,u,h,l,f,p,i=(n=cr.call(this,i?e:ot(e))||this).vars,c=i.duration,d=i.delay,_=i.immediateRender,m=i.stagger,g=i.overwrite,v=i.keyframes,y=i.defaults,x=i.scrollTrigger,T=i.yoyoEase,i=e.parent||Y,w=(D(t)||ke(t)?$(t[0]):"length"in e)?[t]:E(t);if(n._targets=w.length?rt(w):et("GSAP target "+t+" not found. https://gsap.com",!q.nullTargetWarn)||[],n._ptLookup=[],n._overwrite=g,v||m||J(c)||J(d)){if(e=n.vars,(s=n.timeline=new V({data:"nested",defaults:y||{},targets:i&&"nested"===i.data?i.vars.targets:w})).kill(),s.parent=s._dp=Z(n),s._start=0,m||J(c)||J(d)){if(u=w.length,f=m&&kt(m),A(m))for(h in m)~_r.indexOf(h)&&((p=p||{})[h]=m[h]);for(a=0;a")}),s.duration();else{for(h in o={},v)"ease"!==h&&"easeEach"!==h&&((t,r,e,i)=>{var n,s,a=r.ease||i||"power1.inOut";if(D(r))s=e[t]||(e[t]=[]),r.forEach(function(t,e){return s.push({t:e/(r.length-1)*100,v:t,e:a})});else for(n in r)s=e[n]||(e[n]=[]),"ease"!==n&&s.push({t:parseFloat(t),v:r[n],e:a})})(h,v[h],o,v.easeEach);for(h in o)for(b=o[h].sort(function(t,e){return t.t-e.t}),a=M=0;as.pr;)r=r._next;(s._prev=r?r._prev:n)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:n=s,s=e}t._pt=i},K=(Dr.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=vr,this.m=t,this.mt=r,this.tween=e},Dr);function Dr(t,e,r,i,n,s,a,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=s||br,this.d=a||this,this.set=o||yr,this.pr=u||0,(this._next=t)&&(t._prev=this)}function Er(t){(zr[t]||Fr).map(function(t){return t()})}function Sr(){var t=Date.now(),o=[];2{for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r})(s,i)),s)&&s.modifier&&s.modifier(o[i],a,u[n],i)}}}}c("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Ur[t]=W[t]}),d.add(V.updateRoot);var jr=Ur.to({},{duration:0}),_=Ur.registerPlugin({name:"attr",init:function(t,e,r,i,n){var s,a,o;for(s in this.tween=r,e)o=t.getAttribute(s)||"",(a=this.add(t,"setAttribute",(o||0)+"",e[s],i,n,0,0,s)).op=s,a.b=o,this._props.push(s)},render:function(t,e){for(var r=e._pt;r;)L?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",headless:1,init:function(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},qr("roundProps",Ot),qr("modifiers"),qr("snap",Mt))||Ur;function Vr(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Wr(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Kr(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Qr(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Gr(t,e){t=e.s+e.c*t;e.set(e.t,e.p,~~(t+(t<0?-.5:.5))+e.u,e)}function Hr(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Zr(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function $r(t,e,r){return t.style[e]=r}function Jr(t,e,r){return t.style.setProperty(e,r)}function ti(t,e,r){return t._gsap[e]=r}function ei(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function ri(t,e,r,i,n){t=t._gsap;t.scaleX=t.scaleY=r,t.renderTransform(n,t)}function ii(t,e,r,i,n){t=t._gsap;t[e]=r,t.renderTransform(n,t)}function ni(t,e){var r=this,i=this.target,n=i.style,s=i._gsap;if(t in Gi&&n){if(this.tfm=this.tfm||{},"transform"===t)return rn.transform.split(",").forEach(function(t){return ni.call(r,t,e)});if(~(t=rn[t]||t).indexOf(",")?t.split(",").forEach(function(t){return r.tfm[t]=un(i,t)}):this.tfm[t]=s.x?s[t]:un(i,t),t===H&&(this.tfm.zOrigin=s.zOrigin),0<=this.props.indexOf(G))return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(H,e,"")),t=G}(n||e)&&this.props.push(t,e,n[t])}function si(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))}function ai(){for(var t,e=this.props,r=this.target,i=r.style,n=r._gsap,s=0;s{"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})})(this,function(t){function e(){return"undefined"!=typeof window}function r(){return i||e()&&(i=window.gsap)&&i.registerPlugin&&i}function a(t){return"string"==typeof t}function o(t){return"function"==typeof t}function p(t,e){var e="x"===e?"Width":"Height",r="scroll"+e,i="client"+e;return t===c||t===n||t===d?Math.max(n[r],d[r])-(c["inner"+e]||n[i]||d[i]):t[r]-t["offset"+e]}function u(t,e){var r="scroll"+("x"===e?"Left":"Top");return t===c&&(null!=t.pageXOffset?r="page"+e.toUpperCase()+"Offset":t=null!=n[r]?n:d),function(){return t[r]}}function s(t,e){var r,i;return(t=_(t)[0])&&t.getBoundingClientRect?(t=t.getBoundingClientRect(),i=(r=!e||e===c||e===d)?{top:n.clientTop-(c.pageYOffset||n.scrollTop||d.scrollTop||0),left:n.clientLeft-(c.pageXOffset||n.scrollLeft||d.scrollLeft||0)}:e.getBoundingClientRect(),t={x:t.left-i.left,y:t.top-i.top},!r&&e&&(t.x+=u(e,"x")(),t.y+=u(e,"y")()),t):console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0}}function h(t,e,r,i,n){return isNaN(t)||"object"==typeof t?a(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+i-n:"max"===t?p(e,r)-n:Math.min(p(e,r),s(t,e)[r]-n):parseFloat(t)-n}function l(){i=r(),e()&&i&&document.body&&(c=window,d=document.body,n=document.documentElement,_=i.utils.toArray,i.config({autoKillThreshold:7}),m=i.config(),f=1)}var i,f,c,n,d,_,m,g={version:"3.6.1",name:"scrollTo",rawVars:1,register:function(t){i=t,l()},init:function(t,e,r,i,n){f||l();var s=this;s.isWin=t===c,s.target=t,s.tween=r,e=((t,e,r,i)=>{if("object"!=typeof(t=o(t)?t(e,r,i):t))return a(t)&&"max"!==t&&"="!==t.charAt(1)?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var n,s={};for(n in t)s[n]="onAutoKill"!==n&&o(t[n])?t[n](e,r,i):t[n];return s})(e,i,t,n),s.vars=e,s.autoKill=!!e.autoKill,s.getX=u(t,"x"),s.getY=u(t,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),null!=e.x?(s.add(s,"x",s.x,h(e.x,t,"x",s.x,e.offsetX||0),i,n),s._props.push("scrollTo_x")):s.skipX=1,null!=e.y?(s.add(s,"y",s.y,h(e.y,t,"y",s.y,e.offsetY||0),i,n),s._props.push("scrollTo_y")):s.skipY=1},render:function(t,e){for(var r,i,n,s=e._pt,a=e.target,o=e.tween,u=e.autoKill,h=e.xPrev,l=e.yPrev,f=e.isWin;s;)s.r(t,s.d),s=s._next;r=f||!e.skipX?e.getX():h,l=(i=f||!e.skipY?e.getY():l)-l,h=r-h,n=m.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),u&&(!e.skipX&&(n