diff --git a/client/dist/about.bundle.js b/client/dist/about.bundle.js new file mode 100644 index 0000000..6142fe9 --- /dev/null +++ b/client/dist/about.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see about.bundle.js.LICENSE.txt */ +(()=>{var t={65:function(t,e,r){var n,i;!function(){"use strict";n=function(){var t=function(){},e="undefined",r=typeof window!==e&&typeof window.navigator!==e&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"],i={},o=null;function s(t,e){var r=t[e];if("function"==typeof r.bind)return r.bind(t);try{return Function.prototype.bind.call(r,t)}catch(e){return function(){return Function.prototype.apply.apply(r,[t,arguments])}}}function a(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function u(){for(var r=this.getLevel(),i=0;i=0&&e<=f.levels.SILENT)return e;throw new TypeError("log.setLevel() called with invalid level: "+t)}"string"==typeof t?h+=":"+t:"symbol"==typeof t&&(h=void 0),f.name=t,f.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},f.methodFactory=r||c,f.getLevel=function(){return null!=l?l:null!=a?a:s},f.setLevel=function(t,r){return l=d(t),!1!==r&&function(t){var r=(n[t]||"silent").toUpperCase();if(typeof window!==e&&h){try{return void(window.localStorage[h]=r)}catch(t){}try{window.document.cookie=encodeURIComponent(h)+"="+r+";"}catch(t){}}}(l),u.call(f)},f.setDefaultLevel=function(t){a=d(t),p()||f.setLevel(t,!1)},f.resetLevel=function(){l=null,function(){if(typeof window!==e&&h){try{window.localStorage.removeItem(h)}catch(t){}try{window.document.cookie=encodeURIComponent(h)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(t){}}}(),u.call(f)},f.enableAll=function(t){f.setLevel(f.levels.TRACE,t)},f.disableAll=function(t){f.setLevel(f.levels.SILENT,t)},f.rebuild=function(){if(o!==f&&(s=d(o.getLevel())),u.call(f),o===f)for(var t in i)i[t].rebuild()},s=d(o?o.getLevel():"WARN");var g=p();null!=g&&(l=d(g)),u.call(f)}(o=new f).getLogger=function(t){if("symbol"!=typeof t&&"string"!=typeof t||""===t)throw new TypeError("You must supply a name when creating a logger.");var e=i[t];return e||(e=i[t]=new f(t,o.methodFactory)),e};var h=typeof window!==e?window.log:void 0;return o.noConflict=function(){return typeof window!==e&&window.log===o&&(window.log=h),o},o.getLoggers=function(){return i},o.default=o,o},void 0===(i=n.call(e,r,e,t))||(t.exports=i)}()}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,r),o.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";function t(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var n,i,o,s,a,u,l,c,f,h,p,d,g,_,v,m,y,w={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},x={duration:.5,overwrite:!1,delay:0},b=1e8,T=1e-8,k=2*Math.PI,M=k/4,C=0,O=Math.sqrt,A=Math.cos,E=Math.sin,S=function(t){return"string"==typeof t},P=function(t){return"function"==typeof t},D=function(t){return"number"==typeof t},R=function(t){return void 0===t},z=function(t){return"object"==typeof t},F=function(t){return!1!==t},I=function(){return"undefined"!=typeof window},L=function(t){return P(t)||S(t)},B="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Y=Array.isArray,N=/(?:-?\.?\d|\.)+/gi,X=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,U=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,q=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,W=/[+-]=-?[.\d]+/,V=/[^,'"\[\]\s]+/gi,H=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,j={},G={},K=function(t){return(G=kt(t,j))&&kr},Q=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Z=function(t,e){return!e&&console.warn(t)},$=function(t,e){return t&&(j[t]=e)&&G&&(G[t]=e)||j},J=function(){return 0},tt={suppressEvents:!0,isStart:!0,kill:!1},et={suppressEvents:!0,kill:!1},rt={suppressEvents:!0},nt={},it=[],ot={},st={},at={},ut=30,lt=[],ct="",ft=function(t){var e,r,n=t[0];if(z(n)||P(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(r=lt.length;r--&&!lt[r].targetTest(n););e=lt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Be(t[r],e)))||t.splice(r,1);return t},ht=function(t){return t._gsap||ft(ee(t))[0]._gsap},pt=function(t,e,r){return(r=t[e])&&P(r)?t[e]():R(r)&&t.getAttribute&&t.getAttribute(e)||r},dt=function(t,e){return(t=t.split(",")).forEach(e)||t},gt=function(t){return Math.round(1e5*t)/1e5||0},_t=function(t){return Math.round(1e7*t)/1e7||0},vt=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},mt=function(t,e){for(var r=e.length,n=0;t.indexOf(e[n])<0&&++no;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=s,e.parent=e._dp=t,e},Et=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=e._prev,o=e._next;i?i._next=o:t[r]===e&&(t[r]=o),o?o._prev=i:t[n]===e&&(t[n]=i),e._next=e._prev=e.parent=null},St=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Pt=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},Dt=function(t,e,r,n){return t._startAt&&(i?t._startAt.revert(et):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},Rt=function t(e){return!e||e._ts&&t(e.parent)},zt=function(t){return t._repeat?Ft(t._tTime,t=t.duration()+t._rDelay)*t:0},Ft=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},It=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Lt=function(t){return t._end=_t(t._start+(t._tDur/Math.abs(t._ts||t._rts||T)||0))},Bt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=_t(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Lt(t),r._dirty||Pt(r,t)),t},Yt=function(t,e){var r;if((e._time||e._initted&&!e._dur)&&(r=It(t.rawTime(),e),(!e._dur||Zt(0,e.totalDuration(),r)-e._tTime>T)&&e.render(r,!0)),Pt(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}},Nt=function(t,e,r,n){return e.parent&&St(e),e._start=_t((D(r)?r:r||t!==s?Gt(t,r,e):t._time)+e._delay),e._end=_t(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),At(t,e,"_first","_last",t._sort?"_start":0),Wt(e)||(t._recent=e),n||Yt(t,e),t._ts<0&&Bt(t,t._tTime),t},Xt=function(t,e){return(j.ScrollTrigger||Q("scrollTrigger",e))&&j.ScrollTrigger.create(e,t)},Ut=function(t,e,r,n,o){return He(t,e,o),t._initted?!r&&t._pt&&!i&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==Me.frame?(it.push(t),t._lazy=[o,n],1):void 0:1},qt=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},Wt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Vt=function(t,e,r,n){var i=t._repeat,o=_t(e)||0,s=t._tTime/t._tDur;return s&&!n&&(t._time*=o/t._dur),t._dur=o,t._tDur=i?i<0?1e10:_t(o*(i+1)+t._rDelay*i):o,s>0&&!n&&Bt(t,t._tTime=t._tDur*s),t.parent&&Lt(t),r||Pt(t.parent,t),t},Ht=function(t){return t instanceof Ne?Pt(t):Vt(t,t._dur)},jt={_start:0,endTime:J,totalDuration:J},Gt=function t(e,r,n){var i,o,s,a=e.labels,u=e._recent||jt,l=e.duration()>=b?u.endTime(!1):e._dur;return S(r)&&(isNaN(r)||r in a)?(o=r.charAt(0),s="%"===r.substr(-1),i=r.indexOf("="),"<"===o||">"===o?(i>=0&&(r=r.replace(/=/,"")),("<"===o?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(s?(i<0?u:n).totalDuration()/100:1)):i<0?(r in a||(a[r]=l),a[r]):(o=parseFloat(r.charAt(i-1)+r.substr(i+1)),s&&n&&(o=o/100*(Y(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+o:l+o)):null==r?l:+r},Kt=function(t,e,r){var n,i,o=D(e[1]),s=(o?2:1)+(t<2?0:1),a=e[s];if(o&&(a.duration=e[1]),a.parent=r,t){for(n=a,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=F(i.vars.inherit)&&i.parent;a.immediateRender=F(n.immediateRender),t<2?a.runBackwards=1:a.startAt=e[s-1]}return new Ze(e[0],a,e[s+1])},Qt=function(t,e){return t||0===t?e(t):e},Zt=function(t,e,r){return re?e:r},$t=function(t,e){return S(t)&&(e=H.exec(t))?e[1]:""},Jt=[].slice,te=function(t,e){return t&&z(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&z(t[0]))&&!t.nodeType&&t!==a},ee=function(t,e,r){return o&&!e&&o.selector?o.selector(t):!S(t)||r||!u&&Ce()?Y(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var n;return S(t)&&!e||te(t,1)?(n=r).push.apply(n,ee(t)):r.push(t)}))||r}(t,r):te(t)?Jt.call(t,0):t?[t]:[]:Jt.call((e||l).querySelectorAll(t),0)},re=function(t){return t=ee(t)[0]||Z("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return ee(e,r.querySelectorAll?r:r===t?Z("Invalid scope")||l.createElement("div"):t)}},ne=function(t){return t.sort((function(){return.5-Math.random()}))},ie=function(t){if(P(t))return t;var e=z(t)?t:{each:t},r=Re(e.ease),n=e.from||0,i=parseFloat(e.base)||0,o={},s=n>0&&n<1,a=isNaN(n)||s,u=e.axis,l=n,c=n;return S(n)?l=c={center:.5,edges:.5,end:1}[n]||0:!s&&a&&(l=n[0],c=n[1]),function(t,s,f){var h,p,d,g,_,v,m,y,w,x=(f||e).length,T=o[x];if(!T){if(!(w="auto"===e.grid?0:(e.grid||[1,b])[1])){for(m=-b;m<(m=f[w++].getBoundingClientRect().left)&&wm&&(m=_),_x?x-1:u?"y"===u?x/w:w:Math.max(w,x/w))||0)*("edges"===n?-1:1),T.b=x<0?i-x:i,T.u=$t(e.amount||e.each)||0,r=r&&x<0?Pe(r):r}return x=(T[t]-T.min)/T.max||0,_t(T.b+(r?r(x):x)*T.v)+T.u}},oe=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=_t(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(D(r)?0:$t(r))}},se=function(t,e){var r,n,i=Y(t);return!i&&z(t)&&(r=i=t.radius||b,t.values?(t=ee(t.values),(n=!D(t[0]))&&(r*=r)):t=oe(t.increment)),Qt(e,i?P(t)?function(e){return n=t(e),Math.abs(n-e)<=r?n:e}:function(e){for(var i,o,s=parseFloat(n?e.x:e),a=parseFloat(n?e.y:0),u=b,l=0,c=t.length;c--;)(i=n?(i=t[c].x-s)*i+(o=t[c].y-a)*o:Math.abs(t[c]-s))(i=Math.abs(i))&&(o=n,a=i);return o},he=function(t,e,r){var n,i,s,a=t.vars,u=a[e],l=o,c=t._ctx;if(u)return n=a[e+"Params"],i=a.callbackScope||t,r&&it.length&&yt(),c&&(o=c),s=n?u.apply(i,n):u.call(i),o=l,s},pe=function(t){return St(t),t.scrollTrigger&&t.scrollTrigger.kill(!!i),t.progress()<1&&he(t,"onInterrupt"),t},de=[],ge=function(t){if(I()&&t){var e=(t=!t.name&&t.default||t).name,r=P(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:J,render:sr,add:We,kill:ur,modifier:ar,rawVars:0},o={targetTest:0,get:0,getSetter:rr,aliases:{},register:0};if(Ce(),t!==n){if(st[e])return;Tt(n,Tt(Ct(t,i),o)),kt(n.prototype,kt(i,Ct(t,o))),st[n.prop=e]=n,t.targetTest&&(lt.push(n),nt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}$(e,n),t.register&&t.register(kr,n,fr)}else t&&de.push(t)},_e=255,ve={aqua:[0,_e,_e],lime:[0,_e,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_e],navy:[0,0,128],white:[_e,_e,_e],olive:[128,128,0],yellow:[_e,_e,0],orange:[_e,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_e,0,0],pink:[_e,192,203],cyan:[0,_e,_e],transparent:[_e,_e,_e,0]},me=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)*_e+.5|0},ye=function(t,e,r){var n,i,o,s,a,u,l,c,f,h,p=t?D(t)?[t>>16,t>>8&_e,t&_e]:0:ve.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),ve[t])p=ve[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),i=t.charAt(2),o=t.charAt(3),t="#"+n+n+i+i+o+o+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&_e,p&_e,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&_e,t&_e]}else if("hsl"===t.substr(0,3))if(p=h=t.match(N),e){if(~t.indexOf("="))return p=t.match(X),r&&p.length<4&&(p[3]=1),p}else s=+p[0]%360/360,a=+p[1]/100,n=2*(u=+p[2]/100)-(i=u<=.5?u*(a+1):u+a-u*a),p.length>3&&(p[3]*=1),p[0]=me(s+1/3,n,i),p[1]=me(s,n,i),p[2]=me(s-1/3,n,i);else p=t.match(N)||ve.transparent;p=p.map(Number)}return e&&!h&&(n=p[0]/_e,i=p[1]/_e,o=p[2]/_e,u=((l=Math.max(n,i,o))+(c=Math.min(n,i,o)))/2,l===c?s=a=0:(f=l-c,a=u>.5?f/(2-l-c):f/(l+c),s=l===n?(i-o)/f+(if&&(d+=y-h),((u=(c=(g+=y)-d)-v)>0||w)&&(p=++n.frame,i=c-1e3*n.time,n.time=c/=1e3,v+=u+(u>=_?4:_-u),l=1),w||(t=e(r)),l)for(o=0;o=e&&o--},_listeners:m}}(),Ce=function(){return!p&&Me.wake()},Oe={},Ae=/^[\d.\-M][\d.\-,\s]/,Ee=/["']/g,Se=function(t){for(var e,r,n,i={},o=t.substr(1,t.length-3).split(":"),s=o[0],a=1,u=o.length;a1&&s.config?s.config.apply(null,~t.indexOf("{")?[Se(o[1])]:(e=t,r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r),e.substring(r,~i&&i=1?r:1,o=(n||(e?.3:.45))/(r<1?r:1),s=o/k*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*E((t-s)*o)+1},u="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Fe(a);return o=k/o,u.config=function(r,n){return t(e,r,n)},u},Le=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)}:Fe(n);return i.config=function(r){return t(e,r)},i};dt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;ze(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(2*(1-t),r)/2}))})),Oe.Linear.easeNone=Oe.none=Oe.Linear.easeIn,ze("Elastic",Ie("in"),Ie("out"),Ie()),d=7.5625,v=2*(_=1/(g=2.75)),m=2.5*_,ze("Bounce",(function(t){return 1-y(1-t)}),y=function(t){return t<_?d*t*t:t0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Vt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Ce(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Bt(this,t),!r._dp||r.parent||Yt(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)&&Nt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===T||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),wt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+zt(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.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+zt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Ft(this._tTime,r)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?It(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(Zt(-Math.abs(this._delay),this._tDur,e),!0),Lt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(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):(Ce(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==T&&(this._tTime-=T)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Nt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(F(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&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?It(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=rt);var e=i;return i=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),i=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(e._ts||1),e=e._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1:this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Ht(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Ht(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(Gt(this,t),F(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,F(e))},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;return new Promise((function(r){var n=P(t)?t:bt,i=function(){var t=e.then;e.then=null,P(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),r(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){pe(this)},t}();Tt(Ye.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 Ne=function(r){function n(e,n){var i;return void 0===e&&(e={}),(i=r.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=F(e.sortChildren),s&&Nt(e.parent||s,t(i),n),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&Xt(t(i),e.scrollTrigger),i}e(n,r);var o=n.prototype;return o.to=function(t,e,r){return Kt(0,arguments,this),this},o.from=function(t,e,r){return Kt(1,arguments,this),this},o.fromTo=function(t,e,r,n){return Kt(2,arguments,this),this},o.set=function(t,e,r){return e.duration=0,e.parent=this,Ot(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Ze(t,e,Gt(this,r),1),this},o.call=function(t,e,r){return Nt(this,Ze.delayedCall(0,t,e),r)},o.staggerTo=function(t,e,r,n,i,o,s){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=o,r.onCompleteParams=s,r.parent=this,new Ze(t,r,Gt(this,i)),this},o.staggerFrom=function(t,e,r,n,i,o,s){return r.runBackwards=1,Ot(r).immediateRender=F(r.immediateRender),this.staggerTo(t,e,r,n,i,o,s)},o.staggerFromTo=function(t,e,r,n,i,o,s,a){return n.startAt=r,Ot(n).immediateRender=F(n.immediateRender),this.staggerTo(t,e,n,i,o,s,a)},o.render=function(t,e,r){var n,o,a,u,l,c,f,h,p,d,g,_,v=this._time,m=this._dirty?this.totalDuration():this._tDur,y=this._dur,w=t<=0?0:_t(t),x=this._zTime<0!=t<0&&(this._initted||!y);if(this!==s&&w>m&&t>=0&&(w=m),w!==this._tTime||r||x){if(v!==this._time&&y&&(w+=this._time-v,t+=this._time-v),n=w,p=this._start,c=!(h=this._ts),x&&(y||(v=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(g=this._yoyo,l=y+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*l+t,e,r);if(n=_t(w%l),w===m?(u=this._repeat,n=y):((u=~~(w/l))&&u===w/l&&(n=y,u--),n>y&&(n=y)),d=Ft(this._tTime,l),!v&&this._tTime&&d!==u&&this._tTime-d*l-this._dur<=0&&(d=u),g&&1&u&&(n=y-n,_=1),u!==d&&!this._lock){var b=g&&1&d,k=b===(g&&1&u);if(ue)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._start=v&&t>=0)for(o=this._first;o;){if(a=o._next,(o._act||n>=o._start)&&o._ts&&f!==o){if(o.parent!==this)return this.render(t,e,r);if(o.render(o._ts>0?(n-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(n-o._start)*o._ts,e,r),n!==this._time||!this._ts&&!c){f=0,a&&(w+=this._zTime=-1e-8);break}}o=a}else{o=this._last;for(var M=t<0?t:n;o;){if(a=o._prev,(o._act||M<=o._end)&&o._ts&&f!==o){if(o.parent!==this)return this.render(t,e,r);if(o.render(o._ts>0?(M-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(M-o._start)*o._ts,e,r||i&&(o._initted||o._startAt)),n!==this._time||!this._ts&&!c){f=0,a&&(w+=this._zTime=M?-1e-8:T);break}}o=a}}if(f&&!e&&(this.pause(),f.render(n>=v?0:-1e-8)._zTime=n>=v?1:-1,this._ts))return this._start=p,Lt(this),this.render(t,e,r);this._onUpdate&&!e&&he(this,"onUpdate",!0),(w===m&&this._tTime>=this.totalDuration()||!w&&v)&&(p!==this._start&&Math.abs(h)===Math.abs(this._ts)||this._lock||((t||!y)&&(w===m&&this._ts>0||!w&&this._ts<0)&&St(this,1),e||t<0&&!v||!w&&!v&&m||(he(this,w===m&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(w0)&&this._prom())))}return this},o.add=function(t,e){var r=this;if(D(e)||(e=Gt(this,e,t)),!(t instanceof Ye)){if(Y(t))return t.forEach((function(t){return r.add(t,e)})),this;if(S(t))return this.addLabel(t,e);if(!P(t))return this;t=Ze.delayedCall(0,t)}return this!==t?Nt(this,t,e):this},o.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=-b);for(var i=[],o=this._first;o;)o._start>=n&&(o instanceof Ze?e&&i.push(o):(r&&i.push(o),t&&i.push.apply(i,o.getChildren(!0,e,r)))),o=o._next;return i},o.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},o.remove=function(t){return S(t)?this.removeLabel(t):P(t)?this.killTweensOf(t):(Et(this,t),t===this._recent&&(this._recent=this._last),Pt(this))},o.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=_t(Me.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),r.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},o.addLabel=function(t,e){return this.labels[t]=Gt(this,e),this},o.removeLabel=function(t){return delete this.labels[t],this},o.addPause=function(t,e,r){var n=Ze.delayedCall(0,e||J,r);return n.data="isPause",this._hasPause=1,Nt(this,n,Gt(this,t))},o.removePause=function(t){var e=this._first;for(t=Gt(this,t);e;)e._start===t&&"isPause"===e.data&&St(e),e=e._next},o.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)Xe!==n[i]&&n[i].kill(t,e);return this},o.getTweensOf=function(t,e){for(var r,n=[],i=ee(t),o=this._first,s=D(e);o;)o instanceof Ze?mt(o._targets,i)&&(s?(!Xe||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&n.push(o):(r=o.getTweensOf(i,e)).length&&n.push.apply(n,r),o=o._next;return n},o.tweenTo=function(t,e){e=e||{};var r,n=this,i=Gt(n,t),o=e,s=o.startAt,a=o.onStart,u=o.onStartParams,l=o.immediateRender,c=Ze.to(n,Tt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(s&&"time"in s?s.time:n._time))/n.timeScale())||T,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(s&&"time"in s?s.time:n._time))/n.timeScale());c._dur!==t&&Vt(c,t,0,1).render(c._time,!0,!0),r=1}a&&a.apply(c,u||[])}},e));return l?c.render(0):c},o.tweenFromTo=function(t,e,r){return this.tweenTo(e,Tt({startAt:{time:Gt(this,t)}},r))},o.recent=function(){return this._recent},o.nextLabel=function(t){return void 0===t&&(t=this._time),fe(this,Gt(this,t))},o.previousLabel=function(t){return void 0===t&&(t=this._time),fe(this,Gt(this,t),1)},o.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+T)},o.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var n,i=this._first,o=this.labels;i;)i._start>=r&&(i._start+=t,i._end+=t),i=i._next;if(e)for(n in o)o[n]>=r&&(o[n]+=t);return Pt(this)},o.invalidate=function(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return r.prototype.invalidate.call(this,t)},o.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={}),Pt(this)},o.totalDuration=function(t){var e,r,n,i=0,o=this,a=o._last,u=b;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-t:t));if(o._dirty){for(n=o.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(r=a._start)>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,Nt(o,a,r-a._delay,1)._lock=0):u=r,r<0&&a._ts&&(i-=r,(!n&&!o._dp||n&&n.smoothChildTiming)&&(o._start+=r/o._ts,o._time-=r,o._tTime-=r),o.shiftChildren(-r,!1,-Infinity),u=0),a._end>i&&a._ts&&(i=a._end),a=e;Vt(o,o===s&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},n.updateRoot=function(t){if(s._ts&&(wt(s,It(t,s)),f=Me.frame),Me.frame>=ut){ut+=w.autoSleep||120;var e=s._first;if((!e||!e._ts)&&w.autoSleep&&Me._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Me.sleep()}}},n}(Ye);Tt(Ne.prototype,{_lock:0,_hasPause:0,_forcing:0});var Xe,Ue,qe=function(t,e,r,n,i,o,s){var a,u,l,c,f,h,p,d,g=new fr(this._pt,t,e,0,1,or,null,i),_=0,v=0;for(g.b=r,g.e=n,r+="",(p=~(n+="").indexOf("random("))&&(n=le(n)),o&&(o(d=[r,n],t,e),r=d[0],n=d[1]),u=r.match(q)||[];a=q.exec(n);)c=a[0],f=n.substring(_,a.index),l?l=(l+1)%5:"rgba("===f.substr(-5)&&(l=1),c!==u[v++]&&(h=parseFloat(u[v-1])||0,g._pt={_next:g._pt,p:f||1===v?f:",",s:h,c:"="===c.charAt(1)?vt(h,c)-h:parseFloat(c)-h,m:l&&l<4?Math.round:0},_=q.lastIndex);return g.c=_")})),l.duration();else{for(p in f={},k)"ease"===p||"easeEach"===p||je(p,k[p],f,k.easeEach);for(p in f)for(S=f[p].sort((function(t,e){return t.t-e.t})),I=0,c=0;cd-T&&!_?d:tg&&(n=g)),(l=this._yoyo&&1&s)&&(h=this._yEase,n=g-n),u=Ft(this._tTime,a),n===p&&!r&&this._initted)return this._tTime=v,this;s!==u&&(f&&this._yEase&&De(f,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=r=1,this.render(_t(a*s),!0).invalidate()._lock=0))}if(!this._initted){if(Ut(this,_?t:n,r,e,v))return this._tTime=0,this;if(p!==this._time)return this;if(g!==this._dur)return this.render(t,e,r)}if(this._tTime=v,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(h||this._ease)(n/g),this._from&&(this.ratio=c=1-c),n&&!p&&!e&&!s&&(he(this,"onStart"),this._tTime!==v))return this;for(o=this._pt;o;)o.r(c,o.d),o=o._next;f&&f.render(t<0?t:!n&&l?-1e-8:f._dur*f._ease(n/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Dt(this,t,0,r),he(this,"onUpdate")),this._repeat&&s!==u&&this.vars.onRepeat&&!e&&this.parent&&he(this,"onRepeat"),v!==this._tDur&&v||this._tTime!==v||(_&&!this._onUpdate&&Dt(this,t,0,!0),(t||!g)&&(v===this._tDur&&this._ts>0||!v&&this._ts<0)&&St(this,1),e||_&&!p||!(v||p||l)||(he(this,v===d?"onComplete":"onReverseComplete",!0),this._prom&&!(v0)&&this._prom()))}}else!function(t,e,r,n){var o,s,a,u=t.ratio,l=e<0||!e&&(!t._start&&qt(t)&&(t._initted||!Wt(t))||(t._ts<0||t._dp._ts<0)&&!Wt(t))?0:1,c=t._rDelay,f=0;if(c&&t._repeat&&(f=Zt(0,t._tDur,e),s=Ft(f,c),t._yoyo&&1&s&&(l=1-l),s!==Ft(t._tTime,c)&&(u=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==u||i||n||t._zTime===T||!e&&t._zTime){if(!t._initted&&Ut(t,e,n,r,f))return;for(a=t._zTime,t._zTime=e||(r?T:0),r||(r=e&&!a),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=f,o=t._pt;o;)o.r(l,o.d),o=o._next;e<0&&Dt(t,e,0,!0),t._onUpdate&&!r&&he(t,"onUpdate"),f&&t._repeat&&!r&&t.parent&&he(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&St(t,1),r||i||(he(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},a.targets=function(){return this._targets},a.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),r.prototype.invalidate.call(this,t)},a.resetTo=function(t,e,r,n){p||Me.wake(),this._ts||this.play();var i=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||He(this,i),function(t,e,r,n,i,o,s){var a,u,l,c,f=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!f)for(f=t._ptCache[e]=[],l=t._ptLookup,c=t._targets.length;c--;){if((a=l[c][e])&&a.d&&a.d._pt)for(a=a.d._pt;a&&a.p!==e&&a.fp!==e;)a=a._next;if(!a)return Ue=1,t.vars[e]="+=0",He(t,s),Ue=0,1;f.push(a)}for(c=f.length;c--;)(a=(u=f[c])._pt||u).s=!n&&0!==n||i?a.s+(n||0)+o*a.c:n,a.c=r-a.s,u.e&&(u.e=gt(r)+$t(u.e)),u.b&&(u.b=a.s+$t(u.b))}(this,t,e,r,n,this._ease(i/this._dur),i)?this.resetTo(t,e,r,n):(Bt(this,0),this.parent||At(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},a.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?pe(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Xe&&!0!==Xe.vars.overwrite)._first||pe(this),this.parent&&r!==this.timeline.totalDuration()&&Vt(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,o,s,a,u,l,c=this._targets,f=t?ee(t):c,h=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0}(c,f))return"all"===e&&(this._pt=0),pe(this);for(n=this._op=this._op||[],"all"!==e&&(S(e)&&(a={},dt(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var r,n,i,o,s=t[0]?ht(t[0]).harness:0,a=s&&s.aliases;if(!a)return e;for(n in r=kt({},e),a)if(n in r)for(i=(o=a[n].split(",")).length;i--;)r[o[i]]=r[n];return r}(c,e)),l=c.length;l--;)if(~f.indexOf(c[l]))for(a in i=h[l],"all"===e?(n[l]=e,s=i,o={}):(o=n[l]=n[l]||{},s=e),s)(u=i&&i[a])&&("kill"in u.d&&!0!==u.d.kill(a)||Et(this,u,"_pt"),delete i[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&p&&pe(this),this},o.to=function(t,e){return new o(t,e,arguments[2])},o.from=function(t,e){return Kt(1,arguments)},o.delayedCall=function(t,e,r,n){return new o(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:n})},o.fromTo=function(t,e,r){return Kt(2,arguments)},o.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new o(t,e)},o.killTweensOf=function(t,e,r){return s.killTweensOf(t,e,r)},o}(Ye);Tt(Ze.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),dt("staggerTo,staggerFrom,staggerFromTo",(function(t){Ze[t]=function(){var e=new Ne,r=Jt.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var $e=function(t,e,r){return t[e]=r},Je=function(t,e,r){return t[e](r)},tr=function(t,e,r,n){return t[e](n.fp,r)},er=function(t,e,r){return t.setAttribute(e,r)},rr=function(t,e){return P(t[e])?Je:R(t[e])&&t.setAttribute?er:$e},nr=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},ir=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},or=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(1e4*(r.s+r.c*t))/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},sr=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ar=function(t,e,r,n){for(var i,o=this._pt;o;)i=o._next,o.p===n&&o.modifier(t,e,r),o=i},ur=function(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?Et(this,n,"_pt"):n.dep||(e=1),n=r;return!e},lr=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},cr=function(t){for(var e,r,n,i,o=t._pt;o;){for(e=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:i)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:i=o,o=e}t._pt=n},fr=function(){function t(t,e,r,n,i,o,s,a,u){this.t=e,this.s=n,this.c=i,this.p=r,this.r=o||nr,this.d=s||this,this.set=a||$e,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=lr,this.m=t,this.mt=r,this.tween=e},t}();dt(ct+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return nt[t]=1})),j.TweenMax=j.TweenLite=Ze,j.TimelineLite=j.TimelineMax=Ne,s=new Ne({sortChildren:!1,defaults:x,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),w.stringFilter=ke;var hr=[],pr={},dr=[],gr=0,_r=0,vr=function(t){return(pr[t]||dr).map((function(t){return t()}))},mr=function(){var t=Date.now(),e=[];t-gr>2&&(vr("matchMediaInit"),hr.forEach((function(t){var r,n,i,o,s=t.queries,u=t.conditions;for(n in s)(r=a.matchMedia(s[n]).matches)&&(i=1),r!==u[n]&&(u[n]=r,o=1);o&&(t.revert(),i&&e.push(t))})),vr("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t)})),gr=t,vr("matchMedia"))},yr=function(){function t(t,e){this.selector=e&&re(e),this.data=[],this._r=[],this.isReverted=!1,this.id=_r++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){P(t)&&(r=e,e=t,t=P);var n=this,i=function(){var t,i=o,s=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=re(r)),o=n,t=e.apply(n,arguments),P(t)&&n._r.push(t),o=i,n.selector=s,n.isReverted=!1,t};return n.last=i,t===P?i(n):t?n[t]=i:i},e.ignore=function(t){var e=o;o=null,t(this),o=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof Ze&&!(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){var n=this.getTweens();this.data.forEach((function(t){"isFlip"===t.data&&(t.revert(),t.getChildren(!0,!0,!1).forEach((function(t){return n.splice(n.indexOf(t),1)})))})),n.map((function(t){return{g:t.globalTime(0),t}})).sort((function(t,e){return e.g-t.g||-1})).forEach((function(e){return e.t.revert(t)})),this.data.forEach((function(e){return e instanceof Ne?"nested"!==e.data&&e.kill():!(e instanceof Ze)&&e.revert&&e.revert(t)})),this._r.forEach((function(e){return e(t,r)})),this.isReverted=!0}else this.data.forEach((function(t){return t.kill&&t.kill()}));if(this.clear(),e)for(var i=hr.length;i--;)hr[i].id===this.id&&hr.splice(i,1)},e.revert=function(t){this.kill(t||{})},t}(),wr=function(){function t(t){this.contexts=[],this.scope=t}var e=t.prototype;return e.add=function(t,e,r){z(t)||(t={matches:t});var n,i,s,u=new yr(0,r||this.scope),l=u.conditions={};for(i in o&&!u.selector&&(u.selector=o.selector),this.contexts.push(u),e=u.add("onMatch",e),u.queries=t,t)"all"===i?s=1:(n=a.matchMedia(t[i]))&&(hr.indexOf(u)<0&&hr.push(u),(l[i]=n.matches)&&(s=1),n.addListener?n.addListener(mr):n.addEventListener("change",mr));return s&&e(u),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),xr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var n=t.map((function(t){return kr.quickSetter(t,e,r)})),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var o=st[e],s=ht(t),a=s.harness&&(s.harness.aliases||{})[e]||e,u=o?function(e){var n=new o;h._pt=0,n.init(t,r?e+r:e,h,0,[t]),n.render(1,n),h._pt&&sr(1,h)}:s.set(t,a);return o?u:function(e){return u(t,a,r?e+r:e,s,1)}},quickTo:function(t,e,r){var n,i=kr.to(t,kt(((n={})[e]="+=0.1",n.paused=!0,n),r||{})),o=function(t,r,n){return i.resetTo(e,t,r,n)};return o.tween=i,o},isTweening:function(t){return s.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Re(t.ease,x.ease)),Mt(x,t||{})},config:function(t){return Mt(w,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,i=t.defaults,o=t.extendTimeline;(n||"").split(",").forEach((function(t){return t&&!st[t]&&!j[t]&&Z(e+" effect requires "+t+" plugin.")})),at[e]=function(t,e,n){return r(ee(t),Tt(e||{},i),n)},o&&(Ne.prototype[e]=function(t,r,n){return this.add(at[e](t,z(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){Oe[t]=Re(e)},parseEase:function(t,e){return arguments.length?Re(t,e):Oe},getById:function(t){return s.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new Ne(t);for(i.smoothChildTiming=F(t.smoothChildTiming),s.remove(i),i._dp=0,i._time=i._tTime=s._time,r=s._first;r;)n=r._next,!e&&!r._dur&&r instanceof Ze&&r.vars.onComplete===r._targets[0]||Nt(i,r,r._start-r._delay),r=n;return Nt(s,i,0),i},context:function(t,e){return t?new yr(t,e):o},matchMedia:function(t){return new wr(t)},matchMediaRefresh:function(){return hr.forEach((function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()}))||mr()},addEventListener:function(t,e){var r=pr[t]||(pr[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=pr[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function t(e,r,n){var i=r-e;return Y(e)?ue(e,t(0,e.length),r):Qt(n,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,r,n){var i=r-e,o=2*i;return Y(e)?ue(e,t(0,e.length-1),r):Qt(n,(function(t){return e+((t=(o+(t-e)%o)%o||0)>i?o-t:t)}))},distribute:ie,random:ae,snap:se,normalize:function(t,e,r){return ce(t,e,0,1,r)},getUnit:$t,clamp:function(t,e,r){return Qt(r,(function(r){return Zt(t,e,r)}))},splitColor:ye,toArray:ee,selector:re,mapRange:ce,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(tn,r,"")),e=Jr}(o||r)&&this.props.push(e,r,o[e])},rn=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},nn=function(){var t,e,r=this.props,n=this.target,i=n.style,o=n._gsap;for(t=0;t=0?un[i]:"")+t},cn=function(){"undefined"!=typeof window&&window.document&&(Mr=window,Cr=Mr.document,Or=Cr.documentElement,Er=sn("div")||{style:{}},sn("div"),Jr=ln(Jr),tn=Jr+"Origin",Er.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Dr=!!ln("perspective"),Pr=kr.core.reverting,Ar=1)},fn=function t(e){var r,n=sn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(Or.appendChild(n),n.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(r=this._gsapBBox());return i&&(o?i.insertBefore(this,o):i.appendChild(this)),Or.removeChild(n),this.style.cssText=s,r},hn=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},pn=function(t){var e;try{e=t.getBBox()}catch(r){e=fn.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===fn||(e=fn.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+hn(t,["x","cx","x1"])||0,y:+hn(t,["y","cy","y1"])||0,width:0,height:0}},dn=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!pn(t))},gn=function(t,e){if(e){var r=t.style;e in Rr&&e!==tn&&(e=Jr),r.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),r.removeProperty(e.replace(Lr,"-$1").toLowerCase())):r.removeAttribute(e)}},_n=function(t,e,r,n,i,o){var s=new fr(t._pt,e,r,0,1,o?Hr:Vr);return t._pt=s,s.b=n,s.e=i,t._props.push(r),s},vn={deg:1,rad:1,turn:1},mn={grid:1,flex:1},yn=function t(e,r,n,i){var o,s,a,u,l=parseFloat(n)||0,c=(n+"").trim().substr((l+"").length)||"px",f=Er.style,h=Br.test(r),p="svg"===e.tagName.toLowerCase(),d=(p?"client":"offset")+(h?"Width":"Height"),g=100,_="px"===i,v="%"===i;return i===c||!l||vn[i]||vn[c]?l:("px"!==c&&!_&&(l=t(e,r,n,"px")),u=e.getCTM&&dn(e),!v&&"%"!==c||!Rr[r]&&!~r.indexOf("adius")?(f[h?"width":"height"]=g+(_?c:i),s=~r.indexOf("adius")||"em"===i&&e.appendChild&&!p?e:e.parentNode,u&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==Cr&&s.appendChild||(s=Cr.body),(a=s._gsap)&&v&&a.width&&h&&a.time===Me.time&&!a.uncache?gt(l/a.width*g):((v||"%"===c)&&!mn[an(s,"display")]&&(f.position=an(e,"position")),s===e&&(f.position="static"),s.appendChild(Er),o=Er[d],s.removeChild(Er),f.position="absolute",h&&v&&((a=ht(s)).time=Me.time,a.width=s[d]),gt(_?o*l/g:o&&l?g/o*l:0))):(o=u?e.getBBox()[h?"width":"height"]:e[d],gt(v?l/o*g:l/100*o)))},wn=function(t,e,r,n){var i;return Ar||cn(),e in Nr&&"transform"!==e&&~(e=Nr[e]).indexOf(",")&&(e=e.split(",")[0]),Rr[e]&&"transform"!==e?(i=Pn(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Dn(an(t,tn))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=kn[e]&&kn[e](t,e,r)||an(t,e)||pt(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?yn(t,e,i,r)+r:i},xn=function(t,e,r,n){if(!r||"none"===r){var i=ln(e,t,1),o=i&&an(t,i,1);o&&o!==r?(e=i,r=o):"borderColor"===e&&(r=an(t,"borderTopColor"))}var s,a,u,l,c,f,h,p,d,g,_,v=new fr(this._pt,t.style,e,0,1,or),m=0,y=0;if(v.b=r,v.e=n,r+="","auto"==(n+="")&&(t.style[e]=n,n=an(t,e)||n,t.style[e]=r),ke(s=[r,n]),n=s[1],u=(r=s[0]).match(U)||[],(n.match(U)||[]).length){for(;a=U.exec(n);)h=a[0],d=n.substring(m,a.index),c?c=(c+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(c=1),h!==(f=u[y++]||"")&&(l=parseFloat(f)||0,_=f.substr((l+"").length),"="===h.charAt(1)&&(h=vt(l,h)+_),p=parseFloat(h),g=h.substr((p+"").length),m=U.lastIndex-g.length,g||(g=g||w.units[e]||_,m===n.length&&(n+=g,v.e+=g)),_!==g&&(l=yn(t,e,f,g)||0),v._pt={_next:v._pt,p:d||1===y?d:",",s:l,c:p-l,m:c&&c<4||"zIndex"===e?Math.round:0});v.c=m-1;)r=a[i],Rr[r]&&(n=1,r="transformOrigin"===r?tn:Jr),gn(o,r);n&&(gn(o,Jr),u&&(u.svg&&o.removeAttribute("transform"),Pn(o,1),u.uncache=1,rn(s)))}},kn={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var o=t._pt=new fr(t._pt,e,r,0,0,Tn);return o.u=n,o.pr=-10,o.tween=i,t._props.push(r),1}}},Mn=[1,0,0,1,0,0],Cn={},On=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},An=function(t){var e=an(t,Jr);return On(e)?Mn:e.substr(7).match(X).map(gt)},En=function(t,e){var r,n,i,o,s=t._gsap||ht(t),a=t.style,u=An(t);return s.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(",")?Mn:u:(u!==Mn||t.offsetParent||t===Or||s.svg||(i=a.display,a.display="block",(r=t.parentNode)&&t.offsetParent||(o=1,n=t.nextElementSibling,Or.appendChild(t)),u=An(t),i?a.display=i:gn(t,"display"),o&&(n?r.insertBefore(t,n):r?r.appendChild(t):Or.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},Sn=function(t,e,r,n,i,o){var s,a,u,l=t._gsap,c=i||En(t,!0),f=l.xOrigin||0,h=l.yOrigin||0,p=l.xOffset||0,d=l.yOffset||0,g=c[0],_=c[1],v=c[2],m=c[3],y=c[4],w=c[5],x=e.split(" "),b=parseFloat(x[0])||0,T=parseFloat(x[1])||0;r?c!==Mn&&(a=g*m-_*v)&&(u=b*(-_/a)+T*(g/a)-(g*w-_*y)/a,b=b*(m/a)+T*(-v/a)+(v*w-m*y)/a,T=u):(b=(s=pn(t)).x+(~x[0].indexOf("%")?b/100*s.width:b),T=s.y+(~(x[1]||x[0]).indexOf("%")?T/100*s.height:T)),n||!1!==n&&l.smooth?(y=b-f,w=T-h,l.xOffset=p+(y*g+w*v)-y,l.yOffset=d+(y*_+w*m)-w):l.xOffset=l.yOffset=0,l.xOrigin=b,l.yOrigin=T,l.smooth=!!n,l.origin=e,l.originIsAbsolute=!!r,t.style[tn]="0px 0px",o&&(_n(o,l,"xOrigin",f,b),_n(o,l,"yOrigin",h,T),_n(o,l,"xOffset",p,l.xOffset),_n(o,l,"yOffset",d,l.yOffset)),t.setAttribute("data-svg-origin",b+" "+T)},Pn=function(t,e){var r=t._gsap||new Be(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,o,s,a,u,l,c,f,h,p,d,g,_,v,m,y,x,b,T,k,M,C,O,A,E,S,P,D,R,z,F,I=t.style,L=r.scaleX<0,B="px",Y="deg",N=getComputedStyle(t),X=an(t,tn)||"0";return n=i=o=u=l=c=f=h=p=0,s=a=1,r.svg=!(!t.getCTM||!dn(t)),N.translate&&("none"===N.translate&&"none"===N.scale&&"none"===N.rotate||(I[Jr]=("none"!==N.translate?"translate3d("+(N.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==N.rotate?"rotate("+N.rotate+") ":"")+("none"!==N.scale?"scale("+N.scale.split(" ").join(",")+") ":"")+("none"!==N[Jr]?N[Jr]:"")),I.scale=I.rotate=I.translate="none"),_=En(t,r.svg),r.svg&&(r.uncache?(A=t.getBBox(),X=r.xOrigin-A.x+"px "+(r.yOrigin-A.y)+"px",O=""):O=!e&&t.getAttribute("data-svg-origin"),Sn(t,O||X,!!O||r.originIsAbsolute,!1!==r.smooth,_)),d=r.xOrigin||0,g=r.yOrigin||0,_!==Mn&&(x=_[0],b=_[1],T=_[2],k=_[3],n=M=_[4],i=C=_[5],6===_.length?(s=Math.sqrt(x*x+b*b),a=Math.sqrt(k*k+T*T),u=x||b?Ir(b,x)*zr:0,(f=T||k?Ir(T,k)*zr+u:0)&&(a*=Math.abs(Math.cos(f*Fr))),r.svg&&(n-=d-(d*x+g*T),i-=g-(d*b+g*k))):(F=_[6],R=_[7],S=_[8],P=_[9],D=_[10],z=_[11],n=_[12],i=_[13],o=_[14],l=(v=Ir(F,D))*zr,v&&(O=M*(m=Math.cos(-v))+S*(y=Math.sin(-v)),A=C*m+P*y,E=F*m+D*y,S=M*-y+S*m,P=C*-y+P*m,D=F*-y+D*m,z=R*-y+z*m,M=O,C=A,F=E),c=(v=Ir(-T,D))*zr,v&&(m=Math.cos(-v),z=k*(y=Math.sin(-v))+z*m,x=O=x*m-S*y,b=A=b*m-P*y,T=E=T*m-D*y),u=(v=Ir(b,x))*zr,v&&(O=x*(m=Math.cos(v))+b*(y=Math.sin(v)),A=M*m+C*y,b=b*m-x*y,C=C*m-M*y,x=O,M=A),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,c=180-c),s=gt(Math.sqrt(x*x+b*b+T*T)),a=gt(Math.sqrt(C*C+F*F)),v=Ir(M,C),f=Math.abs(v)>2e-4?v*zr:0,p=z?1/(z<0?-z:z):0),r.svg&&(O=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!On(an(t,Jr)),O&&t.setAttribute("transform",O))),Math.abs(f)>90&&Math.abs(f)<270&&(L?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-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)+B,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)+B,r.z=o+B,r.scaleX=gt(s),r.scaleY=gt(a),r.rotation=gt(u)+Y,r.rotationX=gt(l)+Y,r.rotationY=gt(c)+Y,r.skewX=f+Y,r.skewY=h+Y,r.transformPerspective=p+B,(r.zOrigin=parseFloat(X.split(" ")[2])||0)&&(I[tn]=Dn(X)),r.xOffset=r.yOffset=0,r.force3D=w.force3D,r.renderTransform=r.svg?Yn:Dr?Bn:zn,r.uncache=0,r},Dn=function(t){return(t=t.split(" "))[0]+" "+t[1]},Rn=function(t,e,r){var n=$t(e);return gt(parseFloat(e)+parseFloat(yn(t,"x",r+"px",n)))+n},zn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Bn(t,e)},Fn="0deg",In="0px",Ln=") ",Bn=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,a=r.z,u=r.rotation,l=r.rotationY,c=r.rotationX,f=r.skewX,h=r.skewY,p=r.scaleX,d=r.scaleY,g=r.transformPerspective,_=r.force3D,v=r.target,m=r.zOrigin,y="",w="auto"===_&&t&&1!==t||!0===_;if(m&&(c!==Fn||l!==Fn)){var x,b=parseFloat(l)*Fr,T=Math.sin(b),k=Math.cos(b);b=parseFloat(c)*Fr,x=Math.cos(b),o=Rn(v,o,T*x*-m),s=Rn(v,s,-Math.sin(b)*-m),a=Rn(v,a,k*x*-m+m)}g!==In&&(y+="perspective("+g+Ln),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(w||o!==In||s!==In||a!==In)&&(y+=a!==In||w?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+Ln),u!==Fn&&(y+="rotate("+u+Ln),l!==Fn&&(y+="rotateY("+l+Ln),c!==Fn&&(y+="rotateX("+c+Ln),f===Fn&&h===Fn||(y+="skew("+f+", "+h+Ln),1===p&&1===d||(y+="scale("+p+", "+d+Ln),v.style[Jr]=y||"translate(0, 0)"},Yn=function(t,e){var r,n,i,o,s,a=e||this,u=a.xPercent,l=a.yPercent,c=a.x,f=a.y,h=a.rotation,p=a.skewX,d=a.skewY,g=a.scaleX,_=a.scaleY,v=a.target,m=a.xOrigin,y=a.yOrigin,w=a.xOffset,x=a.yOffset,b=a.forceCSS,T=parseFloat(c),k=parseFloat(f);h=parseFloat(h),p=parseFloat(p),(d=parseFloat(d))&&(p+=d=parseFloat(d),h+=d),h||p?(h*=Fr,p*=Fr,r=Math.cos(h)*g,n=Math.sin(h)*g,i=Math.sin(h-p)*-_,o=Math.cos(h-p)*_,p&&(d*=Fr,s=Math.tan(p-d),i*=s=Math.sqrt(1+s*s),o*=s,d&&(s=Math.tan(d),r*=s=Math.sqrt(1+s*s),n*=s)),r=gt(r),n=gt(n),i=gt(i),o=gt(o)):(r=g,o=_,n=i=0),(T&&!~(c+"").indexOf("px")||k&&!~(f+"").indexOf("px"))&&(T=yn(v,"x",c,"px"),k=yn(v,"y",f,"px")),(m||y||w||x)&&(T=gt(T+m-(m*r+y*i)+w),k=gt(k+y-(m*n+y*o)+x)),(u||l)&&(s=v.getBBox(),T=gt(T+u/100*s.width),k=gt(k+l/100*s.height)),s="matrix("+r+","+n+","+i+","+o+","+T+","+k+")",v.setAttribute("transform",s),b&&(v.style[Jr]=s)},Nn=function(t,e,r,n,i){var o,s,a=360,u=S(i),l=parseFloat(i)*(u&&~i.indexOf("rad")?zr:1)-n,c=n+l+"deg";return u&&("short"===(o=i.split("_")[1])&&(l%=a)!=l%180&&(l+=l<0?a:-360),"cw"===o&&l<0?l=(l+36e9)%a-~~(l/a)*a:"ccw"===o&&l>0&&(l=(l-36e9)%a-~~(l/a)*a)),t._pt=s=new fr(t._pt,e,r,n,l,Ur),s.e=c,s.u="deg",t._props.push(r),s},Xn=function(t,e){for(var r in e)t[r]=e[r];return t},Un=function(t,e,r){var n,i,o,s,a,u,l,c=Xn({},r._gsap),f=r.style;for(i in c.svg?(o=r.getAttribute("transform"),r.setAttribute("transform",""),f[Jr]=e,n=Pn(r,1),gn(r,Jr),r.setAttribute("transform",o)):(o=getComputedStyle(r)[Jr],f[Jr]=e,n=Pn(r,1),f[Jr]=o),Rr)(o=c[i])!==(s=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=$t(o)!==(l=$t(s))?yn(r,i,o,l):parseFloat(o),u=parseFloat(s),t._pt=new fr(t._pt,n,i,a,u-a,Xr),t._pt.u=l||0,t._props.push(i));Xn(n,c)};dt("padding,margin,Width,Radius",(function(t,e){var r="Top",n="Right",i="Bottom",o="Left",s=(e<3?[r,n,i,o]:[r+o,r+n,i+n,i+o]).map((function(r){return e<2?t+r:"border"+r+t}));kn[e>1?"border"+t:t]=function(t,e,r,n,i){var o,a;if(arguments.length<4)return o=s.map((function(e){return wn(t,e,r)})),5===(a=o.join(" ")).split(o[0]).length?o[0]:a;o=(n+"").split(" "),a={},s.forEach((function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]})),t.init(e,a,i)}}));var qn,Wn,Vn={name:"css",register:cn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var o,s,a,u,l,c,f,h,p,d,g,_,v,m,y,x,b,T,k,M,C=this._props,O=t.style,A=r.vars.startAt;for(f in Ar||cn(),this.styles=this.styles||on(t),x=this.styles.props,this.tween=r,e)if("autoRound"!==f&&(s=e[f],!st[f]||!Ve(f,e,r,n,t,i)))if(l=typeof s,c=kn[f],"function"===l&&(l=typeof(s=s.call(r,n,t,i))),"string"===l&&~s.indexOf("random(")&&(s=le(s)),c)c(this,t,f,s,r)&&(y=1);else if("--"===f.substr(0,2))o=(getComputedStyle(t).getPropertyValue(f)+"").trim(),s+="",be.lastIndex=0,be.test(o)||(h=$t(o),p=$t(s)),p?h!==p&&(o=yn(t,f,o,p)+p):h&&(s+=h),this.add(O,"setProperty",o,s,n,i,0,0,f),C.push(f),x.push(f,0,O[f]);else if("undefined"!==l){if(A&&f in A?(o="function"==typeof A[f]?A[f].call(r,n,t,i):A[f],S(o)&&~o.indexOf("random(")&&(o=le(o)),$t(o+"")||(o+=w.units[f]||$t(wn(t,f))||""),"="===(o+"").charAt(1)&&(o=wn(t,f))):o=wn(t,f),u=parseFloat(o),(d="string"===l&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),a=parseFloat(s),f in Nr&&("autoAlpha"===f&&(1===u&&"hidden"===wn(t,"visibility")&&a&&(u=0),x.push("visibility",0,O.visibility),_n(this,O,"visibility",u?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==f&&"transform"!==f&&~(f=Nr[f]).indexOf(",")&&(f=f.split(",")[0])),g=f in Rr)if(this.styles.save(f),_||((v=t._gsap).renderTransform&&!e.parseTransform||Pn(t,e.parseTransform),m=!1!==e.smoothOrigin&&v.smooth,(_=this._pt=new fr(this._pt,O,Jr,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===f)this._pt=new fr(this._pt,v,"scaleY",v.scaleY,(d?vt(v.scaleY,d+a):a)-v.scaleY||0,Xr),this._pt.u=0,C.push("scaleY",f),f+="X";else{if("transformOrigin"===f){x.push(tn,0,O[tn]),T=void 0,k=void 0,M=void 0,k=(T=(b=s).split(" "))[0],M=T[1]||"50%","top"!==k&&"bottom"!==k&&"left"!==M&&"right"!==M||(b=k,k=M,M=b),T[0]=bn[k]||k,T[1]=bn[M]||M,s=T.join(" "),v.svg?Sn(t,s,0,m,0,this):((p=parseFloat(s.split(" ")[2])||0)!==v.zOrigin&&_n(this,v,"zOrigin",v.zOrigin,p),_n(this,O,f,Dn(o),Dn(s)));continue}if("svgOrigin"===f){Sn(t,s,1,m,0,this);continue}if(f in Cn){Nn(this,v,f,u,d?vt(u,d+s):s);continue}if("smoothOrigin"===f){_n(this,v,"smooth",v.smooth,s);continue}if("force3D"===f){v[f]=s;continue}if("transform"===f){Un(this,s,t);continue}}else f in O||(f=ln(f)||f);if(g||(a||0===a)&&(u||0===u)&&!Yr.test(s)&&f in O)a||(a=0),(h=(o+"").substr((u+"").length))!==(p=$t(s)||(f in w.units?w.units[f]:h))&&(u=yn(t,f,o,p)),this._pt=new fr(this._pt,g?v:O,f,u,(d?vt(u,d+a):a)-u,g||"px"!==p&&"zIndex"!==f||!1===e.autoRound?Xr:Wr),this._pt.u=p||0,h!==p&&"%"!==p&&(this._pt.b=o,this._pt.r=qr);else if(f in O)xn.call(this,t,f,o,d?d+s:s);else if(f in t)this.add(t,f,o||t[f],d?d+s:s,n,i);else if("parseTransform"!==f){Q(f,s);continue}g||(f in O?x.push(f,0,O[f]):x.push(f,1,o||t[f])),C.push(f)}y&&cr(this)},render:function(t,e){if(e.tween._time||!Pr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:wn,aliases:Nr,getSetter:function(t,e,r){var n=Nr[e];return n&&n.indexOf(",")<0&&(e=n),e in Rr&&e!==tn&&(t._gsap.x||wn(t,"x"))?r&&Sr===r?"scale"===e?Qr:Kr:(Sr=r||{})&&("scale"===e?Zr:$r):t.style&&!R(t.style[e])?jr:~e.indexOf("-")?Gr:rr(t,e)},core:{_removeProperty:gn,_getMatrix:En}};kr.utils.checkPrefix=ln,kr.core.getStyleSaver=on,Wn=dt("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(qn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Rr[t]=1})),dt(qn,(function(t){w.units[t]="deg",Cn[t]=1})),Nr[Wn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+qn,dt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");Nr[e[1]]=Wn[e[0]]})),dt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){w.units[t]="px"})),kr.registerPlugin(Vn);var Hn=kr.registerPlugin(Vn)||kr;function jn(t,e){for(var r=0;ra?(i=n,n=t,s=o,o=u):r?n+=t:n=i+(t-i)/(u-s)*(o-s)};return{update:l,reset:function(){i=n=r?0:n,s=o=0},getVelocity:function(t){var e=s,a=i,c=hi();return(t||0===t)&&t!==n&&l(t),o===s||c-s>u?0:(n+(r?a:-a))/((r?c:o)-e)*1e3}}},Oi=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},Ai=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Ei=function(){var t,e,r,n;(ri=Gn.core.globals().ScrollTrigger)&&ri.core&&(t=ri.core,e=t.bridge||{},r=t._scrollers,n=t._proxies,r.push.apply(r,ci),n.push.apply(n,fi),ci=r,fi=n,pi=function(t,r){return e[t](r)})},Si=function(t){return(Gn=t||ai())&&"undefined"!=typeof document&&document.body&&(Qn=window,Zn=document,$n=Zn.documentElement,Jn=Zn.body,ni=[Qn,Zn,$n,Jn],Gn.utils.clamp,si=Gn.core.context||function(){},ei="onpointerenter"in Jn?"pointer":"mouse",ti=Pi.isTouch=Qn.matchMedia&&Qn.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Qn||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,oi=Pi.eventTypes=("ontouchstart"in $n?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in $n?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return ui=0}),500),Ei(),Kn=1),Kn};bi.op=Ti,ci.cache=0;var Pi=function(){function t(t){this.init(t)}var e,r;return t.prototype.init=function(t){Kn||Si(Gn)||console.warn("Please gsap.registerPlugin(Observer)"),ri||Ei();var e=t.tolerance,r=t.dragMinimum,n=t.type,i=t.target,o=t.lineHeight,s=t.debounce,a=t.preventDefault,u=t.onStop,l=t.onStopDelay,c=t.ignore,f=t.wheelSpeed,h=t.event,p=t.onDragStart,d=t.onDragEnd,g=t.onDrag,_=t.onPress,v=t.onRelease,m=t.onRight,y=t.onLeft,w=t.onUp,x=t.onDown,b=t.onChangeX,T=t.onChangeY,k=t.onChange,M=t.onToggleX,C=t.onToggleY,O=t.onHover,A=t.onHoverEnd,E=t.onMove,S=t.ignoreCheck,P=t.isNormalizer,D=t.onGestureStart,R=t.onGestureEnd,z=t.onWheel,F=t.onEnable,I=t.onDisable,L=t.onClick,B=t.scrollSpeed,Y=t.capture,N=t.allowClicks,X=t.lockAxis,U=t.onLockAxis;this.target=i=ki(i)||$n,this.vars=t,c&&(c=Gn.utils.toArray(c)),e=e||1e-9,r=r||0,f=f||1,B=B||1,n=n||"wheel,touch,pointer",s=!1!==s,o||(o=parseFloat(Qn.getComputedStyle(Jn).lineHeight)||22);var q,W,V,H,j,G,K,Q=this,Z=0,$=0,J=Mi(i,bi),tt=Mi(i,Ti),et=J(),rt=tt(),nt=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===oi[0],it=gi(i),ot=i.ownerDocument||Zn,st=[0,0,0],at=[0,0,0],ut=0,lt=function(){return ut=hi()},ct=function(t,e){return(Q.event=t)&&c&&~c.indexOf(t.target)||e&&nt&&"touch"!==t.pointerType||S&&S(t,e)},ft=function(){var t=Q.deltaX=Ai(st),r=Q.deltaY=Ai(at),n=Math.abs(t)>=e,i=Math.abs(r)>=e;k&&(n||i)&&k(Q,t,r,st,at),n&&(m&&Q.deltaX>0&&m(Q),y&&Q.deltaX<0&&y(Q),b&&b(Q),M&&Q.deltaX<0!=Z<0&&M(Q),Z=Q.deltaX,st[0]=st[1]=st[2]=0),i&&(x&&Q.deltaY>0&&x(Q),w&&Q.deltaY<0&&w(Q),T&&T(Q),C&&Q.deltaY<0!=$<0&&C(Q),$=Q.deltaY,at[0]=at[1]=at[2]=0),(H||V)&&(E&&E(Q),V&&(g(Q),V=!1),H=!1),G&&!(G=!1)&&U&&U(Q),j&&(z(Q),j=!1),q=0},ht=function(t,e,r){st[r]+=t,at[r]+=e,Q._vx.update(t),Q._vy.update(e),s?q||(q=requestAnimationFrame(ft)):ft()},pt=function(t,e){X&&!K&&(Q.axis=K=Math.abs(t)>Math.abs(e)?"x":"y",G=!0),"y"!==K&&(st[2]+=t,Q._vx.update(t,!0)),"x"!==K&&(at[2]+=e,Q._vy.update(e,!0)),s?q||(q=requestAnimationFrame(ft)):ft()},dt=function(t){if(!ct(t,1)){var e=(t=Oi(t,a)).clientX,n=t.clientY,i=e-Q.x,o=n-Q.y,s=Q.isDragging;Q.x=e,Q.y=n,(s||Math.abs(Q.startX-e)>=r||Math.abs(Q.startY-n)>=r)&&(g&&(V=!0),s||(Q.isDragging=!0),pt(i,o),s||p&&p(Q))}},gt=Q.onPress=function(t){ct(t,1)||t&&t.button||(Q.axis=K=null,W.pause(),Q.isPressed=!0,t=Oi(t),Z=$=0,Q.startX=Q.x=t.clientX,Q.startY=Q.y=t.clientY,Q._vx.reset(),Q._vy.reset(),_i(P?i:ot,oi[1],dt,a,!0),Q.deltaX=Q.deltaY=0,_&&_(Q))},_t=Q.onRelease=function(t){if(!ct(t,1)){vi(P?i:ot,oi[1],dt,!0);var e=!isNaN(Q.y-Q.startY),r=Q.isDragging&&(Math.abs(Q.x-Q.startX)>3||Math.abs(Q.y-Q.startY)>3),n=Oi(t);!r&&e&&(Q._vx.reset(),Q._vy.reset(),a&&N&&Gn.delayedCall(.08,(function(){if(hi()-ut>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ot.createEvent){var e=ot.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,Qn,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}))),Q.isDragging=Q.isGesturing=Q.isPressed=!1,u&&!P&&W.restart(!0),d&&r&&d(Q),v&&v(Q,r)}},vt=function(t){return t.touches&&t.touches.length>1&&(Q.isGesturing=!0)&&D(t,Q.isDragging)},mt=function(){return(Q.isGesturing=!1)||R(Q)},yt=function(t){if(!ct(t)){var e=J(),r=tt();ht((e-et)*B,(r-rt)*B,1),et=e,rt=r,u&&W.restart(!0)}},wt=function(t){if(!ct(t)){t=Oi(t,a),z&&(j=!0);var e=(1===t.deltaMode?o:2===t.deltaMode?Qn.innerHeight:1)*f;ht(t.deltaX*e,t.deltaY*e,0),u&&!P&&W.restart(!0)}},xt=function(t){if(!ct(t)){var e=t.clientX,r=t.clientY,n=e-Q.x,i=r-Q.y;Q.x=e,Q.y=r,H=!0,(n||i)&&pt(n,i)}},bt=function(t){Q.event=t,O(Q)},Tt=function(t){Q.event=t,A(Q)},kt=function(t){return ct(t)||Oi(t,a)&&L(Q)};W=Q._dc=Gn.delayedCall(l||.25,(function(){Q._vx.reset(),Q._vy.reset(),W.pause(),u&&u(Q)})).pause(),Q.deltaX=Q.deltaY=0,Q._vx=Ci(0,50,!0),Q._vy=Ci(0,50,!0),Q.scrollX=J,Q.scrollY=tt,Q.isDragging=Q.isGesturing=Q.isPressed=!1,si(this),Q.enable=function(t){return Q.isEnabled||(_i(it?ot:i,"scroll",wi),n.indexOf("scroll")>=0&&_i(it?ot:i,"scroll",yt,a,Y),n.indexOf("wheel")>=0&&_i(i,"wheel",wt,a,Y),(n.indexOf("touch")>=0&&ti||n.indexOf("pointer")>=0)&&(_i(i,oi[0],gt,a,Y),_i(ot,oi[2],_t),_i(ot,oi[3],_t),N&&_i(i,"click",lt,!1,!0),L&&_i(i,"click",kt),D&&_i(ot,"gesturestart",vt),R&&_i(ot,"gestureend",mt),O&&_i(i,ei+"enter",bt),A&&_i(i,ei+"leave",Tt),E&&_i(i,ei+"move",xt)),Q.isEnabled=!0,t&&t.type&>(t),F&&F(Q)),Q},Q.disable=function(){Q.isEnabled&&(li.filter((function(t){return t!==Q&&gi(t.target)})).length||vi(it?ot:i,"scroll",wi),Q.isPressed&&(Q._vx.reset(),Q._vy.reset(),vi(P?i:ot,oi[1],dt,!0)),vi(it?ot:i,"scroll",yt,Y),vi(i,"wheel",wt,Y),vi(i,oi[0],gt,Y),vi(ot,oi[2],_t),vi(ot,oi[3],_t),vi(i,"click",lt,!0),vi(i,"click",kt),vi(ot,"gesturestart",vt),vi(ot,"gestureend",mt),vi(i,ei+"enter",bt),vi(i,ei+"leave",Tt),vi(i,ei+"move",xt),Q.isEnabled=Q.isPressed=Q.isDragging=!1,I&&I(Q))},Q.kill=Q.revert=function(){Q.disable();var t=li.indexOf(Q);t>=0&&li.splice(t,1),ii===Q&&(ii=0)},li.push(Q),P&&gi(i)&&(ii=Q),Q.enable(h)},e=t,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&jn(e.prototype,r),t}();Pi.version="3.12.1",Pi.create=function(t){return new Pi(t)},Pi.register=Si,Pi.getAll=function(){return li.slice()},Pi.getById=function(t){return li.filter((function(e){return e.vars.id===t}))[0]},ai()&&Gn.registerPlugin(Pi);var Di,Ri,zi,Fi,Ii,Li,Bi,Yi,Ni,Xi,Ui,qi,Wi,Vi,Hi,ji,Gi,Ki,Qi,Zi,$i,Ji,to,eo,ro,no,io,oo,so,ao,uo,lo,co,fo,ho=1,po=Date.now,go=po(),_o=0,vo=0,mo=function(t,e,r){var n=Po(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},yo=function(t,e){return!e||Po(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},wo=function t(){return vo&&requestAnimationFrame(t)},xo=function(){return Vi=1},bo=function(){return Vi=0},To=function(t){return t},ko=function(t){return Math.round(1e5*t)/1e5||0},Mo=function(){return"undefined"!=typeof window},Co=function(){return Di||Mo()&&(Di=window.gsap)&&Di.registerPlugin&&Di},Oo=function(t){return!!~Bi.indexOf(t)},Ao=function(t){return di(t,"getBoundingClientRect")||(Oo(t)?function(){return Ys.width=zi.innerWidth,Ys.height=zi.innerHeight,Ys}:function(){return ts(t)})},Eo=function(t,e){var r=e.s,n=e.d2,i=e.d,o=e.a;return Math.max(0,(r="scroll"+n)&&(o=di(t,r))?o()-Ao(t)()[i]:Oo(t)?(Ii[r]||Li[r])-(zi["inner"+n]||Ii["client"+n]||Li["client"+n]):t[r]-t["offset"+n])},So=function(t,e){for(var r=0;r0){for(t-=i,o=0;o=t)return r[o];return r[o-1]}for(o=r.length,t+=i;o--;)if(r[o]<=t)return r[o];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var o=e(r);return!n||Math.abs(o-r)r&&(n*=e/100),t=t.substr(0,r-1)),t=n+(t in cs?cs[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},hs=function(t,e,r,n,i,o,s,a){var u=i.startColor,l=i.endColor,c=i.fontSize,f=i.indent,h=i.fontWeight,p=Fi.createElement("div"),d=Oo(r)||"fixed"===di(r,"pinType"),g=-1!==t.indexOf("scroller"),_=d?Li:r,v=-1!==t.indexOf("start"),m=v?u:l,y="border-color:"+m+";font-size:"+c+";color:"+m+";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:"+((g||a)&&d?"fixed;":"absolute;"),(g||a||!d)&&(y+=(n===Ti?Yo:No)+":"+(o+parseFloat(f))+"px;"),s&&(y+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),p._isStart=v,p.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),p.style.cssText=y,p.innerText=e||0===e?t+"-"+e:t,_.children[0]?_.insertBefore(p,_.children[0]):_.appendChild(p),p._offset=p["offset"+n.op.d2],ps(p,0,n,v),p},ps=function(t,e,r,n){var i={display:"block"},o=r[n?"os2":"p2"],s=r[n?"p2":"os2"];t._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+Ko]=1,i["border"+s+Ko]=0,i[r.p]=e+"px",Di.set(t,i)},ds=[],gs={},_s=function(){return po()-_o>34&&(uo||(uo=requestAnimationFrame(Ds)))},vs=function(){(!to||!to.isPressed||to.startX>Li.clientWidth)&&(ci.cache++,to?uo||(uo=requestAnimationFrame(Ds)):Ds(),_o||Ts("scrollStart"),_o=po())},ms=function(){no=zi.innerWidth,ro=zi.innerHeight},ys=function(){ci.cache++,!Wi&&!Ji&&!Fi.fullscreenElement&&!Fi.webkitFullscreenElement&&(!eo||no!==zi.innerWidth||Math.abs(zi.innerHeight-ro)>.25*zi.innerHeight)&&Yi.restart(!0)},ws={},xs=[],bs=function t(){return ss(Hs,"scrollEnd",t)||Es(!0)},Ts=function(t){return ws[t]&&ws[t].map((function(t){return t()}))||xs},ks=[],Ms=function(t){for(var e=0;ee)&&t.setPositions(t.start,Math.max(t.start+1,e),!0)})),r.forEach((function(t){return t&&t.render&&t.render(-1)})),ci.forEach((function(t){Do(t)&&(t.smooth&&requestAnimationFrame((function(){return t.target.style.scrollBehavior="smooth"})),t.rec&&t(t.rec))})),Os(so,1),Yi.pause(),As++,lo=2,Ds(2),ds.forEach((function(t){return Do(t.vars.onRefresh)&&t.vars.onRefresh(t)})),lo=Hs.isRefreshing=!1,Ts("refresh")}else os(Hs,"scrollEnd",bs)},Ss=0,Ps=1,Ds=function(t){if(!lo||2===t){Hs.isUpdating=!0,fo&&fo.update(0);var e=ds.length,r=po(),n=r-go>=50,i=e&&ds[0].scroll();if(Ps=Ss>i?-1:1,lo||(Ss=i),n&&(_o&&!Vi&&r-_o>200&&(_o=0,Ts("scrollEnd")),Ui=go,go=r),Ps<0){for(ji=e;ji-- >0;)ds[ji]&&ds[ji].update(0,n);Ps=1}else for(ji=0;ji20),r-=r-w}if(p&&(a[p]=t||-.001,t<0&&(t=0)),o){var T=t+r,k=o._isStart;d="scroll"+n.d2,ps(o,T,n,k&&T>20||!k&&(c?Math.max(Li[d],Ii[d]):o.parentNode[d])<=T+1),c&&(u=ts(s),c&&(o.style[n.op.p]=u[n.op.p]-n.op.m-o._offset+Zo))}return h&&_&&(d=ts(_),h.seek(f),g=ts(_),h._caScrollDist=d[n.p]-g[n.p],t=t/h._caScrollDist*f),h&&h.seek(v),h?t:Math.round(t)},Xs=/(webkit|moz|length|cssText|inset)/i,Us=function(t,e,r,n){if(t.parentNode!==e){var i,o,s=t.style;if(e===Li){for(i in t._stOrig=s.cssText,o=$o(t))+i||Xs.test(i)||!o[i]||"string"!=typeof s[i]||"0"===i||(s[i]=o[i]);s.top=r,s.left=n}else s.cssText=t._stOrig;Di.core.getCache(t).uncache=1,e.appendChild(t)}},qs=function(t,e,r){var n=e,i=n;return function(e){var o=Math.round(t());return o!==n&&o!==i&&Math.abs(o-n)>3&&Math.abs(o-i)>3&&(e=o,r&&r()),i=n,n=e,e}},Ws=function(t,e,r){var n={};n[e.p]="+="+r,Di.set(t,n)},Vs=function(t,e){var r=Mi(t,e),n="_scroll"+e.p2,i=function e(i,o,s,a,u){var l=e.tween,c=o.onComplete,f={};s=s||r();var h=qs(r,s,(function(){l.kill(),e.tween=0}));return u=a&&u||0,a=a||i-s,l&&l.kill(),o[n]=i,o.modifiers=f,f[n]=function(){return h(s+a*l.ratio+u*l.ratio*l.ratio)},o.onUpdate=function(){ci.cache++,Ds()},o.onComplete=function(){e.tween=0,c&&c.call(l)},l=e.tween=Di.to(t,o)};return t[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},os(t,"wheel",r.wheelHandler),Hs.isTouch&&os(t,"touchmove",r.wheelHandler),i},Hs=function(){function t(e,r){Ri||t.register(Di)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),oo(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),vo){var n,i,o,s,a,u,l,c,f,h,p,d,g,_,v,m,y,w,x,b,T,k,M,C,O,A,E,S,P,D,R,z,F,I,L,B,Y,N,X,U,q,W,V=e=Jo(Po(e)||Ro(e)||e.nodeType?{trigger:e}:e,ls),H=V.onUpdate,j=V.toggleClass,G=V.id,K=V.onToggle,Q=V.onRefresh,Z=V.scrub,$=V.trigger,J=V.pin,tt=V.pinSpacing,et=V.invalidateOnRefresh,rt=V.anticipatePin,nt=V.onScrubComplete,it=V.onSnapComplete,ot=V.once,st=V.snap,at=V.pinReparent,ut=V.pinSpacer,lt=V.containerAnimation,ct=V.fastScrollEnd,ft=V.preventOverlaps,ht=e.horizontal||e.containerAnimation&&!1!==e.horizontal?bi:Ti,pt=!Z&&0!==Z,dt=ki(e.scroller||zi),gt=Di.core.getCache(dt),_t=Oo(dt),vt="fixed"===("pinType"in e?e.pinType:di(dt,"pinType")||_t&&"fixed"),mt=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],yt=pt&&e.toggleActions.split(" "),wt="markers"in e?e.markers:ls.markers,xt=_t?0:parseFloat($o(dt)["border"+ht.p2+Ko])||0,bt=this,Tt=e.onRefreshInit&&function(){return e.onRefreshInit(bt)},kt=function(t,e,r){var n=r.d,i=r.d2,o=r.a;return(o=di(t,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(e?zi["inner"+i]:t["client"+i])||0}}(dt,_t,ht),Mt=function(t,e){return!e||~fi.indexOf(t)?Ao(t):function(){return Ys}}(dt,_t),Ct=0,Ot=0,At=0,Et=Mi(dt,ht);if(bt._startClamp=bt._endClamp=!1,bt._dir=ht,rt*=45,bt.scroller=dt,bt.scroll=lt?lt.time.bind(lt):Et,s=Et(),bt.vars=e,r=r||e.animation,"refreshPriority"in e&&(Zi=1,-9999===e.refreshPriority&&(fo=bt)),gt.tweenScroll=gt.tweenScroll||{top:Vs(dt,Ti),left:Vs(dt,bi)},bt.tweenTo=n=gt.tweenScroll[ht.p],bt.scrubDuration=function(t){(F=Ro(t)&&t)?z?z.duration(t):z=Di.to(r,{ease:"expo",totalProgress:"+=0",duration:F,paused:!0,onComplete:function(){return nt&&nt(bt)}}):(z&&z.progress(1).kill(),z=0)},r&&(r.vars.lazy=!1,r._initted&&!bt.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),bt.animation=r.pause(),r.scrollTrigger=bt,bt.scrubDuration(Z),D=0,G||(G=r.vars.id)),st&&(zo(st)&&!st.push||(st={snapTo:st}),"scrollBehavior"in Li.style&&Di.set(_t?[Li,Ii]:dt,{scrollBehavior:"auto"}),ci.forEach((function(t){return Do(t)&&t.target===(_t?Fi.scrollingElement||Ii:dt)&&(t.smooth=!1)})),o=Do(st.snapTo)?st.snapTo:"labels"===st.snapTo?function(t){return function(e){return Di.utils.snap(rs(t),e)}}(r):"labelsDirectional"===st.snapTo?(U=r,function(t,e){return ns(rs(U))(t,e.direction)}):!1!==st.directional?function(t,e){return ns(st.snapTo)(t,po()-Ot<500?0:e.direction)}:Di.utils.snap(st.snapTo),I=st.duration||{min:.1,max:2},I=zo(I)?Xi(I.min,I.max):Xi(I,I),L=Di.delayedCall(st.delay||F/2||.1,(function(){var t=Et(),e=po()-Ot<500,i=n.tween;if(!(e||Math.abs(bt.getVelocity())<10)||i||Vi||Ct===t)bt.isActive&&Ct!==t&&L.restart(!0);else{var s=(t-u)/_,a=r&&!pt?r.totalProgress():s,c=e?0:(a-R)/(po()-Ui)*1e3||0,f=Di.utils.clamp(-s,1-s,Lo(c/2)*c/.185),h=s+(!1===st.inertia?0:f),p=Xi(0,1,o(h,bt)),d=Math.round(u+p*_),g=st,v=g.onStart,m=g.onInterrupt,y=g.onComplete;if(t<=l&&t>=u&&d!==t){if(i&&!i._initted&&i.data<=Lo(d-t))return;!1===st.inertia&&(f=p-s),n(d,{duration:I(Lo(.185*Math.max(Lo(h-a),Lo(p-a))/c/.05||0)),ease:st.ease||"power3",data:Lo(d-t),onInterrupt:function(){return L.restart(!0)&&m&&m(bt)},onComplete:function(){bt.update(),Ct=Et(),D=R=r&&!pt?r.totalProgress():bt.progress,it&&it(bt),y&&y(bt)}},t,f*_,d-t-f*_),v&&v(bt,n.tween)}}})).pause()),G&&(gs[G]=bt),(X=($=bt.trigger=ki($||!0!==J&&J))&&$._gsap&&$._gsap.stRevert)&&(X=X(bt)),J=!0===J?$:ki(J),Po(j)&&(j={targets:$,className:j}),J&&(!1===tt||tt===Go||(tt=!(!tt&&J.parentNode&&J.parentNode.style&&"flex"===$o(J.parentNode).display)&&jo),bt.pin=J,(i=Di.core.getCache(J)).spacer?v=i.pinState:(ut&&((ut=ki(ut))&&!ut.nodeType&&(ut=ut.current||ut.nativeElement),i.spacerIsNative=!!ut,ut&&(i.spacerState=Bs(ut))),i.spacer=w=ut||Fi.createElement("div"),w.classList.add("pin-spacer"),G&&w.classList.add("pin-spacer-"+G),i.pinState=v=Bs(J)),!1!==e.force3D&&Di.set(J,{force3D:!0}),bt.spacer=w=i.spacer,P=$o(J),C=P[tt+ht.os2],b=Di.getProperty(J),T=Di.quickSetter(J,ht.a,Zo),Fs(J,w,P),y=Bs(J)),wt){d=zo(wt)?Jo(wt,us):us,h=hs("scroller-start",G,dt,ht,d,0),p=hs("scroller-end",G,dt,ht,d,0,h),x=h["offset"+ht.op.d2];var St=ki(di(dt,"content")||dt);c=this.markerStart=hs("start",G,St,ht,d,x,0,lt),f=this.markerEnd=hs("end",G,St,ht,d,x,0,lt),lt&&(N=Di.quickSetter([c,f],ht.a,Zo)),vt||fi.length&&!0===di(dt,"fixedMarkers")||(W=$o(q=_t?Li:dt).position,q.style.position="absolute"===W||"fixed"===W?W:"relative",Di.set([h,p],{force3D:!0}),A=Di.quickSetter(h,ht.a,Zo),S=Di.quickSetter(p,ht.a,Zo))}if(lt){var Pt=lt.vars.onUpdate,Dt=lt.vars.onUpdateParams;lt.eventCallback("onUpdate",(function(){bt.update(0,0,1),Pt&&Pt.apply(lt,Dt||[])}))}if(bt.previous=function(){return ds[ds.indexOf(bt)-1]},bt.next=function(){return ds[ds.indexOf(bt)+1]},bt.revert=function(t,e){if(!e)return bt.kill(!0);var n=!1!==t||!bt.enabled,i=Wi;n!==bt.isReverted&&(n&&(B=Math.max(Et(),bt.scroll.rec||0),At=bt.progress,Y=r&&r.progress()),c&&[c,f,h,p].forEach((function(t){return t.style.display=n?"none":"block"})),n&&(Wi=bt,bt.update(n)),!J||at&&bt.isActive||(n?function(t,e,r){Ls(r);var n=t._gsap;if(n.spacerIsNative)Ls(n.spacerState);else if(t._gsap.swappedIn){var i=e.parentNode;i&&(i.insertBefore(t,e),i.removeChild(e))}t._gsap.swappedIn=!1}(J,w,v):Fs(J,w,$o(J),O)),n||bt.update(n),Wi=i,bt.isReverted=n)},bt.refresh=function(i,o,d,x){if(!Wi&&bt.enabled||o)if(J&&i&&_o)os(t,"scrollEnd",bs);else{!lo&&Tt&&Tt(bt),Wi=bt,n.tween&&(n.tween.kill(),n.tween=0),z&&z.pause(),et&&r&&r.revert({kill:!1}).invalidate(),bt.isReverted||bt.revert(!0,!0),bt._subPinOffset=!1;var T,C,A,S,P,D,R,F,I,N,X,U,q,W=kt(),V=Mt(),H=lt?lt.duration():Eo(dt,ht),j=_<=.01,G=0,K=x||0,Z=zo(d)?d.end:e.end,rt=e.endTrigger||$,nt=zo(d)?d.start:e.start||(0!==e.start&&$?J?"0 0":"0 100%":0),it=bt.pinnedContainer=e.pinnedContainer&&ki(e.pinnedContainer,bt),ot=$&&Math.max(0,ds.indexOf(bt))||0,st=ot;for(wt&&zo(d)&&(U=Di.getProperty(h,ht.p),q=Di.getProperty(p,ht.p));st--;)(D=ds[st]).end||D.refresh(0,1)||(Wi=bt),!(R=D.pin)||R!==$&&R!==J&&R!==it||D.isReverted||(N||(N=[]),N.unshift(D),D.revert(!0,!0)),D!==ds[st]&&(ot--,st--);for(Do(nt)&&(nt=nt(bt)),nt=mo(nt,"start",bt),u=Ns(nt,$,W,ht,Et(),c,h,bt,V,xt,vt,H,lt,bt._startClamp&&"_startClamp")||(J?-.001:0),Do(Z)&&(Z=Z(bt)),Po(Z)&&!Z.indexOf("+=")&&(~Z.indexOf(" ")?Z=(Po(nt)?nt.split(" ")[0]:"")+Z:(G=fs(Z.substr(2),W),Z=Po(nt)?nt:(lt?Di.utils.mapRange(0,lt.duration(),lt.scrollTrigger.start,lt.scrollTrigger.end,u):u)+G,rt=$)),Z=mo(Z,"end",bt),l=Math.max(u,Ns(Z||(rt?"100% 0":H),rt,W,ht,Et()+G,f,p,bt,V,xt,vt,H,lt,bt._endClamp&&"_endClamp"))||-.001,G=0,st=ot;st--;)(R=(D=ds[st]).pin)&&D.start-D._pinPush<=u&&!lt&&D.end>0&&(T=D.end-(bt._startClamp?Math.max(0,D.start):D.start),(R===$&&D.start-D._pinPush1&&(X={style:X=(_t?Fi.scrollingElement||Ii:dt).style,value:X["overflow"+ht.a.toUpperCase()]},_t&&"scroll"!==$o(Li)["overflow"+ht.a.toUpperCase()]&&(X.style["overflow"+ht.a.toUpperCase()]="scroll")),Fs(J,w,T),y=Bs(J),C=ts(J,!0),F=vt&&Mi(dt,S?bi:Ti)(),tt&&((O=[tt+ht.os2,_+K+Zo]).t=w,(st=tt===jo?es(J,ht)+_+K:0)&&O.push(ht.d,st+Zo),Ls(O),it&&ds.forEach((function(t){t.pin===it&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)})),vt&&Et(B)),vt&&((P={top:C.top+(S?A-u:F)+Zo,left:C.left+(S?F:A-u)+Zo,boxSizing:"border-box",position:"fixed"})[Xo]=P["max"+Ko]=Math.ceil(C.width)+Zo,P[Uo]=P["max"+Qo]=Math.ceil(C.height)+Zo,P[Go]=P[Go+Vo]=P[Go+qo]=P[Go+Ho]=P[Go+Wo]="0",P[jo]=T[jo],P[jo+Vo]=T[jo+Vo],P[jo+qo]=T[jo+qo],P[jo+Ho]=T[jo+Ho],P[jo+Wo]=T[jo+Wo],m=function(t,e,r){for(var n,i=[],o=t.length,s=r?8:0;s1,vt&&E&&m.splice(m.length-2,2),r.render(0,!0,!0),I||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),$i(0)):M=_,X&&(X.value?X.style["overflow"+ht.a.toUpperCase()]=X.value:X.style.removeProperty("overflow-"+ht.a));else if($&&Et()&&!lt)for(C=$.parentNode;C&&C!==Li;)C._pinOffset&&(u-=C._pinOffset,l-=C._pinOffset),C=C.parentNode;N&&N.forEach((function(t){return t.revert(!1,!0)})),bt.start=u,bt.end=l,s=a=lo?B:Et(),lt||lo||(s0?ds.slice(0,e).reverse():ds.slice(e+1);return(Po(t)?r.filter((function(e){return e.vars.preventOverlaps===t})):r).filter((function(t){return bt.direction>0?t.end<=u:t.start>=l}))},bt.update=function(t,e,i){if(!lt||i||t){var o,c,f,p,d,g,v,x=!0===lo?B:bt.scroll(),b=t?0:(x-u)/_,O=b<0?0:b>1?1:b||0,P=bt.progress;if(e&&(a=s,s=lt?Et():x,st&&(R=D,D=r&&!pt?r.totalProgress():O)),rt&&!O&&J&&!Wi&&!ho&&_o&&uP?1:-1,bt.progress=O,p&&!Wi&&(c=O&&!P?0:1===O?1:1===P?2:3,pt&&(f=!d&&"none"!==yt[c+1]&&yt[c+1]||yt[c],v=r&&("complete"===f||"reset"===f||f in r))),ft&&(d||v)&&(v||Z||!r)&&(Do(ft)?ft(bt):bt.getTrailing(ft).forEach((function(t){return t.endAnimation()}))),pt||(!z||Wi||ho?r&&r.totalProgress(O,!(!Wi||!Ot&&!t)):(z._dp._time-z._start!==z._time&&z.render(z._dp._time-z._start),z.resetTo?z.resetTo("totalProgress",O,r._tTime/r._tDur):(z.vars.totalProgress=O,z.invalidate().restart()))),J)if(t&&tt&&(w.style[tt+ht.os2]=C),vt){if(p){if(g=!t&&O>P&&l+1>x&&x+1>=Eo(dt,ht),at)if(t||!o&&!g)Us(J,w);else{var F=ts(J,!0),I=x-u;Us(J,Li,F.top+(ht===Ti?I:0)+Zo,F.left+(ht===Ti?0:I)+Zo)}Ls(o||g?m:y),E&&O<1&&o||T(k+(1!==O||g?0:M))}}else T(ko(k+M*O));st&&!n.tween&&!Wi&&!ho&&L.restart(!0),j&&(d||ot&&O&&(O<1||!ao))&&Ni(j.targets).forEach((function(t){return t.classList[o||ot?"add":"remove"](j.className)})),H&&!pt&&!t&&H(bt),p&&!Wi?(pt&&(v&&("complete"===f?r.pause().totalProgress(1):"reset"===f?r.restart(!0).pause():"restart"===f?r.restart(!0):r[f]()),H&&H(bt)),!d&&ao||(K&&d&&Io(bt,K),mt[c]&&Io(bt,mt[c]),ot&&(1===O?bt.kill(!1,1):mt[c]=0),d||mt[c=1===O?1:3]&&Io(bt,mt[c])),ct&&!o&&Math.abs(bt.getVelocity())>(Ro(ct)?ct:2500)&&(Fo(bt.callbackAnimation),z?z.progress(1):Fo(r,"reverse"===f?1:!O,1))):pt&&H&&!Wi&&H(bt)}if(S){var Y=lt?x/lt.duration()*(lt._caScrollDist||0):x;A(Y+(h._isFlipped?1:0)),S(Y)}N&&N(-x/lt.duration()*(lt._caScrollDist||0))}},bt.enable=function(e,r){bt.enabled||(bt.enabled=!0,os(dt,"resize",ys),os(_t?Fi:dt,"scroll",vs),Tt&&os(t,"refreshInit",Tt),!1!==e&&(bt.progress=At=0,s=a=Ct=Et()),!1!==r&&bt.refresh())},bt.getTween=function(t){return t&&n?n.tween:z},bt.setPositions=function(t,e,r,n){if(lt){var i=lt.scrollTrigger,o=lt.duration(),s=i.end-i.start;t=i.start+s*t/o,e=i.start+s*e/o}bt.refresh(!1,!1,{start:yo(t,r&&!!bt._startClamp),end:yo(e,r&&!!bt._endClamp)},n),bt.update()},bt.adjustPinSpacing=function(t){if(O&&t){var e=O.indexOf(ht.d)+1;O[e]=parseFloat(O[e])+t+Zo,O[1]=parseFloat(O[1])+t+Zo,Ls(O)}},bt.disable=function(e,r){if(bt.enabled&&(!1!==e&&bt.revert(!0,!0),bt.enabled=bt.isActive=!1,r||z&&z.pause(),B=0,i&&(i.uncache=1),Tt&&ss(t,"refreshInit",Tt),L&&(L.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!_t)){for(var o=ds.length;o--;)if(ds[o].scroller===dt&&ds[o]!==bt)return;ss(dt,"resize",ys),ss(dt,"scroll",vs)}},bt.kill=function(t,n){bt.disable(t,n),z&&!n&&z.kill(),G&&delete gs[G];var o=ds.indexOf(bt);o>=0&&ds.splice(o,1),o===ji&&Ps>0&&ji--,o=0,ds.forEach((function(t){return t.scroller===bt.scroller&&(o=1)})),o||lo||(bt.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),n||r.kill()),c&&[c,f,h,p].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),fo===bt&&(fo=0),J&&(i&&(i.uncache=1),o=0,ds.forEach((function(t){return t.pin===J&&o++})),o||(i.spacer=0)),e.onKill&&e.onKill(bt)},ds.push(bt),bt.enable(!1,!1),X&&X(bt),r&&r.add&&!_){var Rt=bt.update;bt.update=function(){bt.update=Rt,u||l||bt.refresh()},Di.delayedCall(.01,bt.update),_=.01,u=l=0}else bt.refresh();J&&function(){if(co!==As){var t=co=As;requestAnimationFrame((function(){return t===As&&Es(!0)}))}}()}else this.update=this.refresh=this.kill=To},t.register=function(e){return Ri||(Di=e||Co(),Mo()&&window.document&&t.enable(),Ri=vo),Ri},t.defaults=function(t){if(t)for(var e in t)ls[e]=t[e];return ls},t.disable=function(t,e){vo=0,ds.forEach((function(r){return r[e?"kill":"disable"](t)})),ss(zi,"wheel",vs),ss(Fi,"scroll",vs),clearInterval(qi),ss(Fi,"touchcancel",To),ss(Li,"touchstart",To),is(ss,Fi,"pointerdown,touchstart,mousedown",xo),is(ss,Fi,"pointerup,touchend,mouseup",bo),Yi.kill(),So(ss);for(var r=0;r0&&n.left+i0&&n.top+i=0&&ks.splice(e,5),ks.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Di.core.getCache(t),oo())}})):ks},Hs.revert=function(t,e){return Cs(!t,e)},Hs.create=function(t,e){return new Hs(t,e)},Hs.refresh=function(t){return t?ys():(Ri||Hs.register())&&Es(!0)},Hs.update=function(t){return++ci.cache&&Ds(!0===t?2:0)},Hs.clearScrollMemory=Os,Hs.maxScroll=function(t,e){return Eo(t,e?bi:Ti)},Hs.getScrollFunc=function(t,e){return Mi(ki(t),e?bi:Ti)},Hs.getById=function(t){return gs[t]},Hs.getAll=function(){return ds.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},Hs.isScrolling=function(){return!!_o},Hs.snapDirectional=ns,Hs.addEventListener=function(t,e){var r=ws[t]||(ws[t]=[]);~r.indexOf(e)||r.push(e)},Hs.removeEventListener=function(t,e){var r=ws[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},Hs.batch=function(t,e){var r,n=[],i={},o=e.interval||.016,s=e.batchMax||1e9,a=function(t,e){var r=[],n=[],i=Di.delayedCall(o,(function(){e(r,n),r=[],n=[]})).pause();return function(t){r.length||i.restart(!0),r.push(t.trigger),n.push(t),s<=r.length&&i.progress(1)}};for(r in e)i[r]="on"===r.substr(0,2)&&Do(e[r])&&"onRefreshInit"!==r?a(0,e[r]):e[r];return Do(s)&&(s=s(),os(Hs,"refresh",(function(){return s=e.batchMax()}))),Ni(t).forEach((function(t){var e={};for(r in i)e[r]=i[r];e.trigger=t,n.push(Hs.create(e))})),n};var js,Gs=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},Ks=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(Pi.isTouch?" pinch-zoom":""):"none",e===Ii&&t(Li,r)},Qs={auto:1,scroll:1},Zs=function(t){var e,r=t.event,n=t.target,i=t.axis,o=(r.changedTouches?r.changedTouches[0]:r).target,s=o._gsap||Di.core.getCache(o),a=po();if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==Li&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!Qs[(e=$o(o)).overflowY]&&!Qs[e.overflowX]);)o=o.parentNode;s._isScroll=o&&o!==n&&!Oo(o)&&(Qs[(e=$o(o)).overflowY]||Qs[e.overflowX]),s._isScrollT=a}(s._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},$s=function(t,e,r,n){return Pi.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&Zs,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&os(Fi,Pi.eventTypes[0],ta,!1,!0)},onDisable:function(){return ss(Fi,Pi.eventTypes[0],ta,!0)}})},Js=/(input|label|select|textarea)/i,ta=function(t){var e=Js.test(t.target.tagName);(e||js)&&(t._gsapAllow=!0,js=e)};Hs.sort=function(t){return ds.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},Hs.observe=function(t){return new Pi(t)},Hs.normalizeScroll=function(t){if(void 0===t)return to;if(!0===t&&to)return to.enable();if(!1===t)return to&&to.kill();var e=t instanceof Pi?t:function(t){zo(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,o,s,a,u,l=t,c=l.normalizeScrollX,f=l.momentum,h=l.allowNestedScroll,p=l.onRelease,d=ki(t.target)||Ii,g=Di.core.globals().ScrollSmoother,_=g&&g.get(),v=io&&(t.content&&ki(t.content)||_&&!1!==t.content&&!_.smooth()&&_.content()),m=Mi(d,Ti),y=Mi(d,bi),w=1,x=(Pi.isTouch&&zi.visualViewport?zi.visualViewport.scale*zi.visualViewport.width:zi.outerWidth)/zi.innerWidth,b=0,T=Do(f)?function(){return f(e)}:function(){return f||2.8},k=$s(d,t.type,!0,h),M=function(){return i=!1},C=To,O=To,A=function(){r=Eo(d,Ti),O=Xi(io?1:0,r),c&&(C=Xi(0,Eo(d,bi))),n=As},E=function(){v._gsap.y=ko(parseFloat(v._gsap.y)+m.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",m.offset=m.cacheID=0},S=function(){A(),o.isActive()&&o.vars.scrollY>r&&(m()>r?o.progress(1)&&m(r):o.resetTo("scrollY",r))};return v&&Di.set(v,{y:"+=0"}),t.ignoreCheck=function(t){return io&&"touchmove"===t.type&&function(){if(i){requestAnimationFrame(M);var t=ko(e.deltaY/2),r=O(m.v-t);if(v&&r!==m.v+m.offset){m.offset=r-m.v;var n=ko((parseFloat(v&&v._gsap.y)||0)-m.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",v._gsap.y=n+"px",m.cacheID=ci.cache,Ds()}return!0}m.offset&&E(),i=!0}()||w>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){i=!1;var t=w;w=ko((zi.visualViewport&&zi.visualViewport.scale||1)/x),o.pause(),t!==w&&Ks(d,w>1.01||!c&&"x"),s=y(),a=m(),A(),n=As},t.onRelease=t.onGestureStart=function(t,e){if(m.offset&&E(),e){ci.cache++;var n,i,s=T();c&&(i=(n=y())+.05*s*-t.velocityX/.227,s*=Gs(y,n,i,Eo(d,bi)),o.vars.scrollX=C(i)),i=(n=m())+.05*s*-t.velocityY/.227,s*=Gs(m,n,i,Eo(d,Ti)),o.vars.scrollY=O(i),o.invalidate().duration(s).play(.01),(io&&o.vars.scrollY>=r||n>=r-1)&&Di.to({},{onUpdate:S,duration:s})}else u.restart(!0);p&&p(t)},t.onWheel=function(){o._ts&&o.pause(),po()-b>1e3&&(n=0,b=po())},t.onChange=function(t,e,r,i,o){if(As!==n&&A(),e&&c&&y(C(i[2]===e?s+(t.startX-t.x):y()+e-i[1])),r){m.offset&&E();var u=o[2]===r,l=u?a+t.startY-t.y:m()+r-o[1],f=O(l);u&&l!==f&&(a+=f-l),m(f)}(r||e)&&Ds()},t.onEnable=function(){Ks(d,!c&&"x"),Hs.addEventListener("refresh",S),os(zi,"resize",S),m.smooth&&(m.target.style.scrollBehavior="auto",m.smooth=y.smooth=!1),k.enable()},t.onDisable=function(){Ks(d,!0),ss(zi,"resize",S),Hs.removeEventListener("refresh",S),k.kill()},t.lockAxis=!1!==t.lockAxis,(e=new Pi(t)).iOS=io,io&&!m()&&m(1),io&&Di.ticker.add(To),u=e._dc,o=Di.to(e,{ease:"power4",paused:!0,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:qs(m,m(),(function(){return o.pause()}))},onUpdate:Ds,onComplete:u.vars.onComplete}),e}(t);return to&&to.target===e.target&&to.kill(),Oo(e.target)&&(to=e),e},Hs.core={_getVelocityProp:Ci,_inputObserver:$s,_scrollers:ci,_proxies:fi,bridge:{ss:function(){_o||Ts("scrollStart"),_o=po()},ref:function(){return Wi}}},Co()&&Di.registerPlugin(Hs);var ea=r(65),ra=r.n(ea),na="localhost"!==window.location.hostname;ra().setLevel(na?"warn":"debug");const ia=function(){for(var t=arguments.length,e=new Array(t),r=0;r li",{autoAlpha:0,y:20},{autoAlpha:1,duration:.2,y:0,ease:"power2.out",stagger:.1},"-=0.1"),t.fromTo("#langid",{autoAlpha:0,y:20},{autoAlpha:1,duration:.2,y:0,ease:"power2.out"},"-=0.1"),t.fromTo("#open-mobile-nav",{autoAlpha:0,y:20},{duration:.2,ease:"power2.out",y:0,autoAlpha:1},"-=0.1"),ia("After navigation animation")}else ia("hasAnimated is true. Exit function.");var e,r})(),Hn.timeline().add(sa(".about-h1"),0).add((t=".about-img",ia("Before expand image reveal animation"),Hn.fromTo(t,{autoAlpha:0,scale:.8},{autoAlpha:1,scale:1,duration:1,ease:"power2.out"}),void ia("After expand image reveal animation")),0).add(sa("#stats-wrapper"),0).add(sa(".stats__location"),0).add(aa("#gallery-wrapper"),0).add(aa("#about-wrapper"),0).add(aa("#skills-wrapper"),0).add(aa("#footer-wrapper"),0)}))})()})(); \ No newline at end of file diff --git a/client/dist/app.bundle.js b/client/dist/app.bundle.js new file mode 100644 index 0000000..89efabc --- /dev/null +++ b/client/dist/app.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see app.bundle.js.LICENSE.txt */ +(()=>{var t={65:function(t,e,r){var n,i;!function(){"use strict";n=function(){var t=function(){},e="undefined",r=typeof window!==e&&typeof window.navigator!==e&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"],i={},s=null;function o(t,e){var r=t[e];if("function"==typeof r.bind)return r.bind(t);try{return Function.prototype.bind.call(r,t)}catch(e){return function(){return Function.prototype.apply.apply(r,[t,arguments])}}}function a(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function u(){for(var r=this.getLevel(),i=0;i=0&&e<=f.levels.SILENT)return e;throw new TypeError("log.setLevel() called with invalid level: "+t)}"string"==typeof t?h+=":"+t:"symbol"==typeof t&&(h=void 0),f.name=t,f.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},f.methodFactory=r||c,f.getLevel=function(){return null!=l?l:null!=a?a:o},f.setLevel=function(t,r){return l=d(t),!1!==r&&function(t){var r=(n[t]||"silent").toUpperCase();if(typeof window!==e&&h){try{return void(window.localStorage[h]=r)}catch(t){}try{window.document.cookie=encodeURIComponent(h)+"="+r+";"}catch(t){}}}(l),u.call(f)},f.setDefaultLevel=function(t){a=d(t),p()||f.setLevel(t,!1)},f.resetLevel=function(){l=null,function(){if(typeof window!==e&&h){try{window.localStorage.removeItem(h)}catch(t){}try{window.document.cookie=encodeURIComponent(h)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(t){}}}(),u.call(f)},f.enableAll=function(t){f.setLevel(f.levels.TRACE,t)},f.disableAll=function(t){f.setLevel(f.levels.SILENT,t)},f.rebuild=function(){if(s!==f&&(o=d(s.getLevel())),u.call(f),s===f)for(var t in i)i[t].rebuild()},o=d(s?s.getLevel():"WARN");var g=p();null!=g&&(l=d(g)),u.call(f)}(s=new f).getLogger=function(t){if("symbol"!=typeof t&&"string"!=typeof t||""===t)throw new TypeError("You must supply a name when creating a logger.");var e=i[t];return e||(e=i[t]=new f(t,s.methodFactory)),e};var h=typeof window!==e?window.log:void 0;return s.noConflict=function(){return typeof window!==e&&window.log===s&&(window.log=h),s},s.getLoggers=function(){return i},s.default=s,s},void 0===(i=n.call(e,r,e,t))||(t.exports=i)}()}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var s=e[n]={exports:{}};return t[n].call(s.exports,s,s.exports,r),s.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t=document.querySelector(".open-nav-js"),e=document.querySelector(".close-nav-js"),n=document.querySelector(".mobile-nav-container-js");function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}document.querySelector(".body-js");var o,a,u,l,c,f,h,p,d,g,_,m,v,y,x,b,w,T={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},k={duration:.5,overwrite:!1,delay:0},M=1e8,C=1e-8,S=2*Math.PI,O=S/4,E=0,A=Math.sqrt,P=Math.cos,D=Math.sin,R=function(t){return"string"==typeof t},L=function(t){return"function"==typeof t},z=function(t){return"number"==typeof t},F=function(t){return void 0===t},I=function(t){return"object"==typeof t},B=function(t){return!1!==t},Y=function(){return"undefined"!=typeof window},N=function(t){return L(t)||R(t)},X="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},q=Array.isArray,U=/(?:-?\.?\d|\.)+/gi,W=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,V=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,H=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,j=/[+-]=-?[.\d]+/,G=/[^,'"\[\]\s]+/gi,Q=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Z={},$={},K=function(t){return($=St(t,Z))&&Sr},J=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},tt=function(t,e){return!e&&console.warn(t)},et=function(t,e){return t&&(Z[t]=e)&&$&&($[t]=e)||Z},rt=function(){return 0},nt={suppressEvents:!0,isStart:!0,kill:!1},it={suppressEvents:!0,kill:!1},st={suppressEvents:!0},ot={},at=[],ut={},lt={},ct={},ft=30,ht=[],pt="",dt=function(t){var e,r,n=t[0];if(I(n)||L(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(r=ht.length;r--&&!ht[r].targetTest(n););e=ht[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Xe(t[r],e)))||t.splice(r,1);return t},gt=function(t){return t._gsap||dt(ie(t))[0]._gsap},_t=function(t,e,r){return(r=t[e])&&L(r)?t[e]():F(r)&&t.getAttribute&&t.getAttribute(e)||r},mt=function(t,e){return(t=t.split(",")).forEach(e)||t},vt=function(t){return Math.round(1e5*t)/1e5||0},yt=function(t){return Math.round(1e7*t)/1e7||0},xt=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},bt=function(t,e){for(var r=e.length,n=0;t.indexOf(e[n])<0&&++ns;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=o,e.parent=e._dp=t,e},Dt=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},Rt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Lt=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},zt=function(t,e,r,n){return t._startAt&&(a?t._startAt.revert(it):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},Ft=function t(e){return!e||e._ts&&t(e.parent)},It=function(t){return t._repeat?Bt(t._tTime,t=t.duration()+t._rDelay)*t:0},Bt=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},Yt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Nt=function(t){return t._end=yt(t._start+(t._tDur/Math.abs(t._ts||t._rts||C)||0))},Xt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=yt(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Nt(t),r._dirty||Lt(r,t)),t},qt=function(t,e){var r;if((e._time||e._initted&&!e._dur)&&(r=Yt(t.rawTime(),e),(!e._dur||te(0,e.totalDuration(),r)-e._tTime>C)&&e.render(r,!0)),Lt(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}},Ut=function(t,e,r,n){return e.parent&&Rt(e),e._start=yt((z(r)?r:r||t!==l?$t(t,r,e):t._time)+e._delay),e._end=yt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Pt(t,e,"_first","_last",t._sort?"_start":0),jt(e)||(t._recent=e),n||qt(t,e),t._ts<0&&Xt(t,t._tTime),t},Wt=function(t,e){return(Z.ScrollTrigger||J("scrollTrigger",e))&&Z.ScrollTrigger.create(e,t)},Vt=function(t,e,r,n,i){return Qe(t,e,i),t._initted?!r&&t._pt&&!a&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&d!==Oe.frame?(at.push(t),t._lazy=[i,n],1):void 0:1},Ht=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},jt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Gt=function(t,e,r,n){var i=t._repeat,s=yt(e)||0,o=t._tTime/t._tDur;return o&&!n&&(t._time*=s/t._dur),t._dur=s,t._tDur=i?i<0?1e10:yt(s*(i+1)+t._rDelay*i):s,o>0&&!n&&Xt(t,t._tTime=t._tDur*o),t.parent&&Nt(t),r||Lt(t.parent,t),t},Qt=function(t){return t instanceof Ue?Lt(t):Gt(t,t._dur)},Zt={_start:0,endTime:rt,totalDuration:rt},$t=function t(e,r,n){var i,s,o,a=e.labels,u=e._recent||Zt,l=e.duration()>=M?u.endTime(!1):e._dur;return R(r)&&(isNaN(r)||r in a)?(s=r.charAt(0),o="%"===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)*(o?(i<0?u:n).totalDuration()/100:1)):i<0?(r in a||(a[r]=l),a[r]):(s=parseFloat(r.charAt(i-1)+r.substr(i+1)),o&&n&&(s=s/100*(q(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+s:l+s)):null==r?l:+r},Kt=function(t,e,r){var n,i,s=z(e[1]),o=(s?2:1)+(t<2?0:1),a=e[o];if(s&&(a.duration=e[1]),a.parent=r,t){for(n=a,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=B(i.vars.inherit)&&i.parent;a.immediateRender=B(n.immediateRender),t<2?a.runBackwards=1:a.startAt=e[o-1]}return new tr(e[0],a,e[o+1])},Jt=function(t,e){return t||0===t?e(t):e},te=function(t,e,r){return re?e:r},ee=function(t,e){return R(t)&&(e=Q.exec(t))?e[1]:""},re=[].slice,ne=function(t,e){return t&&I(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&I(t[0]))&&!t.nodeType&&t!==c},ie=function(t,e,r){return u&&!e&&u.selector?u.selector(t):!R(t)||r||!f&&Ee()?q(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var n;return R(t)&&!e||ne(t,1)?(n=r).push.apply(n,ie(t)):r.push(t)}))||r}(t,r):ne(t)?re.call(t,0):t?[t]:[]:re.call((e||h).querySelectorAll(t),0)},se=function(t){return t=ie(t)[0]||tt("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return ie(e,r.querySelectorAll?r:r===t?tt("Invalid scope")||h.createElement("div"):t)}},oe=function(t){return t.sort((function(){return.5-Math.random()}))},ae=function(t){if(L(t))return t;var e=I(t)?t:{each:t},r=Fe(e.ease),n=e.from||0,i=parseFloat(e.base)||0,s={},o=n>0&&n<1,a=isNaN(n)||o,u=e.axis,l=n,c=n;return R(n)?l=c={center:.5,edges:.5,end:1}[n]||0:!o&&a&&(l=n[0],c=n[1]),function(t,o,f){var h,p,d,g,_,m,v,y,x,b=(f||e).length,w=s[b];if(!w){if(!(x="auto"===e.grid?0:(e.grid||[1,M])[1])){for(v=-M;v<(v=f[x++].getBoundingClientRect().left)&&xv&&(v=_),_b?b-1:u?"y"===u?b/x:x:Math.max(x,b/x))||0)*("edges"===n?-1:1),w.b=b<0?i-b:i,w.u=ee(e.amount||e.each)||0,r=r&&b<0?Le(r):r}return b=(w[t]-w.min)/w.max||0,yt(w.b+(r?r(b):b)*w.v)+w.u}},ue=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=yt(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(z(r)?0:ee(r))}},le=function(t,e){var r,n,i=q(t);return!i&&I(t)&&(r=i=t.radius||M,t.values?(t=ie(t.values),(n=!z(t[0]))&&(r*=r)):t=ue(t.increment)),Jt(e,i?L(t)?function(e){return n=t(e),Math.abs(n-e)<=r?n:e}:function(e){for(var i,s,o=parseFloat(n?e.x:e),a=parseFloat(n?e.y:0),u=M,l=0,c=t.length;c--;)(i=n?(i=t[c].x-o)*i+(s=t[c].y-a)*s:Math.abs(t[c]-o))(i=Math.abs(i))&&(s=n,a=i);return s},ge=function(t,e,r){var n,i,s,o=t.vars,a=o[e],l=u,c=t._ctx;if(a)return n=o[e+"Params"],i=o.callbackScope||t,r&&at.length&&wt(),c&&(u=c),s=n?a.apply(i,n):a.call(i),u=l,s},_e=function(t){return Rt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!a),t.progress()<1&&ge(t,"onInterrupt"),t},me=[],ve=function(t){if(Y()&&t){var e=(t=!t.name&&t.default||t).name,r=L(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:rt,render:lr,add:je,kill:fr,modifier:cr,rawVars:0},s={targetTest:0,get:0,getSetter:sr,aliases:{},register:0};if(Ee(),t!==n){if(lt[e])return;Ct(n,Ct(Et(t,i),s)),St(n.prototype,St(i,Et(t,s))),lt[n.prop=e]=n,t.targetTest&&(ht.push(n),ot[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}et(e,n),t.register&&t.register(Sr,n,dr)}else t&&me.push(t)},ye=255,xe={aqua:[0,ye,ye],lime:[0,ye,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ye],navy:[0,0,128],white:[ye,ye,ye],olive:[128,128,0],yellow:[ye,ye,0],orange:[ye,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ye,0,0],pink:[ye,192,203],cyan:[0,ye,ye],transparent:[ye,ye,ye,0]},be=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)*ye+.5|0},we=function(t,e,r){var n,i,s,o,a,u,l,c,f,h,p=t?z(t)?[t>>16,t>>8&ye,t&ye]:0:xe.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),xe[t])p=xe[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),i=t.charAt(2),s=t.charAt(3),t="#"+n+n+i+i+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&ye,p&ye,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&ye,t&ye]}else if("hsl"===t.substr(0,3))if(p=h=t.match(U),e){if(~t.indexOf("="))return p=t.match(W),r&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,a=+p[1]/100,n=2*(u=+p[2]/100)-(i=u<=.5?u*(a+1):u+a-u*a),p.length>3&&(p[3]*=1),p[0]=be(o+1/3,n,i),p[1]=be(o,n,i),p[2]=be(o-1/3,n,i);else p=t.match(U)||xe.transparent;p=p.map(Number)}return e&&!h&&(n=p[0]/ye,i=p[1]/ye,s=p[2]/ye,u=((l=Math.max(n,i,s))+(c=Math.min(n,i,s)))/2,l===c?o=a=0:(f=l-c,a=u>.5?f/(2-l-c):f/(l+c),o=l===n?(i-s)/f+(ia&&(l+=y-u),((f=(p=(d+=y)-l)-m)>0||x)&&(_=++n.frame,i=p-1e3*n.time,n.time=p/=1e3,m+=f+(f>=g?4:g-f),h=1),x||(t=e(r)),h)for(s=0;s=e&&s--},_listeners:v}}(),Ee=function(){return!_&&Oe.wake()},Ae={},Pe=/^[\d.\-M][\d.\-,\s]/,De=/["']/g,Re=function(t){for(var e,r,n,i={},s=t.substr(1,t.length-3).split(":"),o=s[0],a=1,u=s.length;a1&&o.config?o.config.apply(null,~t.indexOf("{")?[Re(s[1])]:(e=t,r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r),e.substring(r,~i&&i=1?r:1,s=(n||(e?.3:.45))/(r<1?r:1),o=s/S*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*D((t-o)*s)+1},u="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Be(a);return s=S/s,u.config=function(r,n){return t(e,r,n)},u},Ne=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)}:Be(n);return i.config=function(r){return t(e,r)},i};mt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;Ie(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(2*(1-t),r)/2}))})),Ae.Linear.easeNone=Ae.none=Ae.Linear.easeIn,Ie("Elastic",Ye("in"),Ye("out"),Ye()),m=7.5625,x=2*(y=1/(v=2.75)),b=2.5*y,Ie("Bounce",(function(t){return 1-w(1-t)}),w=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,Gt(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(Xt(this,t),!r._dp||r.parent||qt(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)&&Ut(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===C||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Tt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+It(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.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+It(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Bt(this._tTime,r)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?Yt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(te(-Math.abs(this._delay),this._tDur,e),!0),Nt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(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()&&Math.abs(this._zTime)!==C&&(this._tTime-=C)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Ut(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(B(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&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Yt(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=st);var e=a;return a=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),a=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(e._ts||1),e=e._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1:this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Qt(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Qt(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($t(this,t),B(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,B(e))},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;return new Promise((function(r){var n=L(t)?t:Mt,i=function(){var t=e.then;e.then=null,L(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),r(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){_e(this)},t}();Ct(qe.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 Ue=function(t){function e(e,r){var n;return void 0===e&&(e={}),(n=t.call(this,e)||this).labels={},n.smoothChildTiming=!!e.smoothChildTiming,n.autoRemoveChildren=!!e.autoRemoveChildren,n._sort=B(e.sortChildren),l&&Ut(e.parent||l,i(n),r),e.reversed&&n.reverse(),e.paused&&n.paused(!0),e.scrollTrigger&&Wt(i(n),e.scrollTrigger),n}s(e,t);var r=e.prototype;return r.to=function(t,e,r){return Kt(0,arguments,this),this},r.from=function(t,e,r){return Kt(1,arguments,this),this},r.fromTo=function(t,e,r,n){return Kt(2,arguments,this),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,At(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new tr(t,e,$t(this,r),1),this},r.call=function(t,e,r){return Ut(this,tr.delayedCall(0,t,e),r)},r.staggerTo=function(t,e,r,n,i,s,o){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=s,r.onCompleteParams=o,r.parent=this,new tr(t,r,$t(this,i)),this},r.staggerFrom=function(t,e,r,n,i,s,o){return r.runBackwards=1,At(r).immediateRender=B(r.immediateRender),this.staggerTo(t,e,r,n,i,s,o)},r.staggerFromTo=function(t,e,r,n,i,s,o,a){return n.startAt=r,At(n).immediateRender=B(n.immediateRender),this.staggerTo(t,e,n,i,s,o,a)},r.render=function(t,e,r){var n,i,s,o,u,c,f,h,p,d,g,_,m=this._time,v=this._dirty?this.totalDuration():this._tDur,y=this._dur,x=t<=0?0:yt(t),b=this._zTime<0!=t<0&&(this._initted||!y);if(this!==l&&x>v&&t>=0&&(x=v),x!==this._tTime||r||b){if(m!==this._time&&y&&(x+=this._time-m,t+=this._time-m),n=x,p=this._start,c=!(h=this._ts),b&&(y||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(g=this._yoyo,u=y+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*u+t,e,r);if(n=yt(x%u),x===v?(o=this._repeat,n=y):((o=~~(x/u))&&o===x/u&&(n=y,o--),n>y&&(n=y)),d=Bt(this._tTime,u),!m&&this._tTime&&d!==o&&this._tTime-d*u-this._dur<=0&&(d=o),g&&1&o&&(n=y-n,_=1),o!==d&&!this._lock){var w=g&&1&d,T=w===(g&&1&o);if(oe)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._start=m&&t>=0)for(i=this._first;i;){if(s=i._next,(i._act||n>=i._start)&&i._ts&&f!==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&&!c){f=0,s&&(x+=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&&f!==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||a&&(i._initted||i._startAt)),n!==this._time||!this._ts&&!c){f=0,s&&(x+=this._zTime=k?-1e-8:C);break}}i=s}}if(f&&!e&&(this.pause(),f.render(n>=m?0:-1e-8)._zTime=n>=m?1:-1,this._ts))return this._start=p,Nt(this),this.render(t,e,r);this._onUpdate&&!e&&ge(this,"onUpdate",!0),(x===v&&this._tTime>=this.totalDuration()||!x&&m)&&(p!==this._start&&Math.abs(h)===Math.abs(this._ts)||this._lock||((t||!y)&&(x===v&&this._ts>0||!x&&this._ts<0)&&Rt(this,1),e||t<0&&!m||!x&&!m&&v||(ge(this,x===v&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(x0)&&this._prom())))}return this},r.add=function(t,e){var r=this;if(z(e)||(e=$t(this,e,t)),!(t instanceof qe)){if(q(t))return t.forEach((function(t){return r.add(t,e)})),this;if(R(t))return this.addLabel(t,e);if(!L(t))return this;t=tr.delayedCall(0,t)}return this!==t?Ut(this,t,e):this},r.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=-M);for(var i=[],s=this._first;s;)s._start>=n&&(s instanceof tr?e&&i.push(s):(r&&i.push(s),t&&i.push.apply(i,s.getChildren(!0,e,r)))),s=s._next;return i},r.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},r.remove=function(t){return R(t)?this.removeLabel(t):L(t)?this.killTweensOf(t):(Dt(this,t),t===this._recent&&(this._recent=this._last),Lt(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=yt(Oe.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},r.addLabel=function(t,e){return this.labels[t]=$t(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,r){var n=tr.delayedCall(0,e||rt,r);return n.data="isPause",this._hasPause=1,Ut(this,n,$t(this,t))},r.removePause=function(t){var e=this._first;for(t=$t(this,t);e;)e._start===t&&"isPause"===e.data&&Rt(e),e=e._next},r.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)We!==n[i]&&n[i].kill(t,e);return this},r.getTweensOf=function(t,e){for(var r,n=[],i=ie(t),s=this._first,o=z(e);s;)s instanceof tr?bt(s._targets,i)&&(o?(!We||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},r.tweenTo=function(t,e){e=e||{};var r,n=this,i=$t(n,t),s=e,o=s.startAt,a=s.onStart,u=s.onStartParams,l=s.immediateRender,c=tr.to(n,Ct({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(o&&"time"in o?o.time:n._time))/n.timeScale())||C,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(o&&"time"in o?o.time:n._time))/n.timeScale());c._dur!==t&&Gt(c,t,0,1).render(c._time,!0,!0),r=1}a&&a.apply(c,u||[])}},e));return l?c.render(0):c},r.tweenFromTo=function(t,e,r){return this.tweenTo(e,Ct({startAt:{time:$t(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),de(this,$t(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),de(this,$t(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+C)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var n,i=this._first,s=this.labels;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 Lt(this)},r.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)},r.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={}),Lt(this)},r.totalDuration=function(t){var e,r,n,i=0,s=this,o=s._last,a=M;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(n=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(r=o._start)>a&&s._sort&&o._ts&&!s._lock?(s._lock=1,Ut(s,o,r-o._delay,1)._lock=0):a=r,r<0&&o._ts&&(i-=r,(!n&&!s._dp||n&&n.smoothChildTiming)&&(s._start+=r/s._ts,s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-Infinity),a=0),o._end>i&&o._ts&&(i=o._end),o=e;Gt(s,s===l&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(l._ts&&(Tt(l,Yt(t,l)),d=Oe.frame),Oe.frame>=ft){ft+=T.autoSleep||120;var e=l._first;if((!e||!e._ts)&&T.autoSleep&&Oe._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Oe.sleep()}}},e}(qe);Ct(Ue.prototype,{_lock:0,_hasPause:0,_forcing:0});var We,Ve,He=function(t,e,r,n,i,s,o){var a,u,l,c,f,h,p,d,g=new dr(this._pt,t,e,0,1,ur,null,i),_=0,m=0;for(g.b=r,g.e=n,r+="",(p=~(n+="").indexOf("random("))&&(n=he(n)),s&&(s(d=[r,n],t,e),r=d[0],n=d[1]),u=r.match(H)||[];a=H.exec(n);)c=a[0],f=n.substring(_,a.index),l?l=(l+1)%5:"rgba("===f.substr(-5)&&(l=1),c!==u[m++]&&(h=parseFloat(u[m-1])||0,g._pt={_next:g._pt,p:f||1===m?f:",",s:h,c:"="===c.charAt(1)?xt(h,c)-h:parseFloat(c)-h,m:l&&l<4?Math.round:0},_=H.lastIndex);return g.c=_")})),u.duration();else{for(p in f={},k)"ease"===p||"easeEach"===p||Ze(p,k[p],f,k.easeEach);for(p in f)for(A=f[p].sort((function(t,e){return t.t-e.t})),R=0,c=0;cd-C&&!_?d:tg&&(n=g)),(l=this._yoyo&&1&s)&&(h=this._yEase,n=g-n),u=Bt(this._tTime,o),n===p&&!r&&this._initted)return this._tTime=m,this;s!==u&&(f&&this._yEase&&ze(f,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=r=1,this.render(yt(o*s),!0).invalidate()._lock=0))}if(!this._initted){if(Vt(this,_?t:n,r,e,m))return this._tTime=0,this;if(p!==this._time)return this;if(g!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(h||this._ease)(n/g),this._from&&(this.ratio=c=1-c),n&&!p&&!e&&!s&&(ge(this,"onStart"),this._tTime!==m))return this;for(i=this._pt;i;)i.r(c,i.d),i=i._next;f&&f.render(t<0?t:!n&&l?-1e-8:f._dur*f._ease(n/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&zt(this,t,0,r),ge(this,"onUpdate")),this._repeat&&s!==u&&this.vars.onRepeat&&!e&&this.parent&&ge(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&zt(this,t,0,!0),(t||!g)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&Rt(this,1),e||_&&!p||!(m||p||l)||(ge(this,m===d?"onComplete":"onReverseComplete",!0),this._prom&&!(m0)&&this._prom()))}}else!function(t,e,r,n){var i,s,o,u=t.ratio,l=e<0||!e&&(!t._start&&Ht(t)&&(t._initted||!jt(t))||(t._ts<0||t._dp._ts<0)&&!jt(t))?0:1,c=t._rDelay,f=0;if(c&&t._repeat&&(f=te(0,t._tDur,e),s=Bt(f,c),t._yoyo&&1&s&&(l=1-l),s!==Bt(t._tTime,c)&&(u=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==u||a||n||t._zTime===C||!e&&t._zTime){if(!t._initted&&Vt(t,e,n,r,f))return;for(o=t._zTime,t._zTime=e||(r?C:0),r||(r=e&&!o),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=f,i=t._pt;i;)i.r(l,i.d),i=i._next;e<0&&zt(t,e,0,!0),t._onUpdate&&!r&&ge(t,"onUpdate"),f&&t._repeat&&!r&&t.parent&&ge(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Rt(t,1),r||a||(ge(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},r.targets=function(){return this._targets},r.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)},r.resetTo=function(t,e,r,n){_||Oe.wake(),this._ts||this.play();var i=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Qe(this,i),function(t,e,r,n,i,s,o){var a,u,l,c,f=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!f)for(f=t._ptCache[e]=[],l=t._ptLookup,c=t._targets.length;c--;){if((a=l[c][e])&&a.d&&a.d._pt)for(a=a.d._pt;a&&a.p!==e&&a.fp!==e;)a=a._next;if(!a)return Ve=1,t.vars[e]="+=0",Qe(t,o),Ve=0,1;f.push(a)}for(c=f.length;c--;)(a=(u=f[c])._pt||u).s=!n&&0!==n||i?a.s+(n||0)+s*a.c:n,a.c=r-a.s,u.e&&(u.e=vt(r)+ee(u.e)),u.b&&(u.b=a.s+ee(u.b))}(this,t,e,r,n,this._ease(i/this._dur),i)?this.resetTo(t,e,r,n):(Xt(this,0),this.parent||Pt(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?_e(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,We&&!0!==We.vars.overwrite)._first||_e(this),this.parent&&r!==this.timeline.totalDuration()&&Gt(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,s,o,a,u,l,c=this._targets,f=t?ie(t):c,h=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0}(c,f))return"all"===e&&(this._pt=0),_e(this);for(n=this._op=this._op||[],"all"!==e&&(R(e)&&(a={},mt(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var r,n,i,s,o=t[0]?gt(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(n in r=St({},e),a)if(n in r)for(i=(s=a[n].split(",")).length;i--;)r[s[i]]=r[n];return r}(c,e)),l=c.length;l--;)if(~f.indexOf(c[l]))for(a in i=h[l],"all"===e?(n[l]=e,o=i,s={}):(s=n[l]=n[l]||{},o=e),o)(u=i&&i[a])&&("kill"in u.d&&!0!==u.d.kill(a)||Dt(this,u,"_pt"),delete i[a]),"all"!==s&&(s[a]=1);return this._initted&&!this._pt&&p&&_e(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return Kt(1,arguments)},e.delayedCall=function(t,r,n,i){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:i})},e.fromTo=function(t,e,r){return Kt(2,arguments)},e.set=function(t,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new e(t,r)},e.killTweensOf=function(t,e,r){return l.killTweensOf(t,e,r)},e}(qe);Ct(tr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),mt("staggerTo,staggerFrom,staggerFromTo",(function(t){tr[t]=function(){var e=new Ue,r=re.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var er=function(t,e,r){return t[e]=r},rr=function(t,e,r){return t[e](r)},nr=function(t,e,r,n){return t[e](n.fp,r)},ir=function(t,e,r){return t.setAttribute(e,r)},sr=function(t,e){return L(t[e])?rr:F(t[e])&&t.setAttribute?ir:er},or=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},ar=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ur=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(1e4*(r.s+r.c*t))/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},lr=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},cr=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},fr=function(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?Dt(this,n,"_pt"):n.dep||(e=1),n=r;return!e},hr=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},pr=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},dr=function(){function t(t,e,r,n,i,s,o,a,u){this.t=e,this.s=n,this.c=i,this.p=r,this.r=s||or,this.d=o||this,this.set=a||er,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=hr,this.m=t,this.mt=r,this.tween=e},t}();mt(pt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return ot[t]=1})),Z.TweenMax=Z.TweenLite=tr,Z.TimelineLite=Z.TimelineMax=Ue,l=new Ue({sortChildren:!1,defaults:k,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),T.stringFilter=Se;var gr=[],_r={},mr=[],vr=0,yr=0,xr=function(t){return(_r[t]||mr).map((function(t){return t()}))},br=function(){var t=Date.now(),e=[];t-vr>2&&(xr("matchMediaInit"),gr.forEach((function(t){var r,n,i,s,o=t.queries,a=t.conditions;for(n in o)(r=c.matchMedia(o[n]).matches)&&(i=1),r!==a[n]&&(a[n]=r,s=1);s&&(t.revert(),i&&e.push(t))})),xr("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t)})),vr=t,xr("matchMedia"))},wr=function(){function t(t,e){this.selector=e&&se(e),this.data=[],this._r=[],this.isReverted=!1,this.id=yr++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){L(t)&&(r=e,e=t,t=L);var n=this,i=function(){var t,i=u,s=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=se(r)),u=n,t=e.apply(n,arguments),L(t)&&n._r.push(t),u=i,n.selector=s,n.isReverted=!1,t};return n.last=i,t===L?i(n):t?n[t]=i:i},e.ignore=function(t){var e=u;u=null,t(this),u=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof tr&&!(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){var n=this.getTweens();this.data.forEach((function(t){"isFlip"===t.data&&(t.revert(),t.getChildren(!0,!0,!1).forEach((function(t){return n.splice(n.indexOf(t),1)})))})),n.map((function(t){return{g:t.globalTime(0),t}})).sort((function(t,e){return e.g-t.g||-1})).forEach((function(e){return e.t.revert(t)})),this.data.forEach((function(e){return e instanceof Ue?"nested"!==e.data&&e.kill():!(e instanceof tr)&&e.revert&&e.revert(t)})),this._r.forEach((function(e){return e(t,r)})),this.isReverted=!0}else this.data.forEach((function(t){return t.kill&&t.kill()}));if(this.clear(),e)for(var i=gr.length;i--;)gr[i].id===this.id&&gr.splice(i,1)},e.revert=function(t){this.kill(t||{})},t}(),Tr=function(){function t(t){this.contexts=[],this.scope=t}var e=t.prototype;return e.add=function(t,e,r){I(t)||(t={matches:t});var n,i,s,o=new wr(0,r||this.scope),a=o.conditions={};for(i in u&&!o.selector&&(o.selector=u.selector),this.contexts.push(o),e=o.add("onMatch",e),o.queries=t,t)"all"===i?s=1:(n=c.matchMedia(t[i]))&&(gr.indexOf(o)<0&&gr.push(o),(a[i]=n.matches)&&(s=1),n.addListener?n.addListener(br):n.addEventListener("change",br));return s&&e(o),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),kr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var n=t.map((function(t){return Sr.quickSetter(t,e,r)})),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var s=lt[e],o=gt(t),a=o.harness&&(o.harness.aliases||{})[e]||e,u=s?function(e){var n=new s;g._pt=0,n.init(t,r?e+r:e,g,0,[t]),n.render(1,n),g._pt&&lr(1,g)}:o.set(t,a);return s?u:function(e){return u(t,a,r?e+r:e,o,1)}},quickTo:function(t,e,r){var n,i=Sr.to(t,St(((n={})[e]="+=0.1",n.paused=!0,n),r||{})),s=function(t,r,n){return i.resetTo(e,t,r,n)};return s.tween=i,s},isTweening:function(t){return l.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Fe(t.ease,k.ease)),Ot(k,t||{})},config:function(t){return Ot(T,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&&!lt[t]&&!Z[t]&&tt(e+" effect requires "+t+" plugin.")})),ct[e]=function(t,e,n){return r(ie(t),Ct(e||{},i),n)},s&&(Ue.prototype[e]=function(t,r,n){return this.add(ct[e](t,I(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){Ae[t]=Fe(e)},parseEase:function(t,e){return arguments.length?Fe(t,e):Ae},getById:function(t){return l.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new Ue(t);for(i.smoothChildTiming=B(t.smoothChildTiming),l.remove(i),i._dp=0,i._time=i._tTime=l._time,r=l._first;r;)n=r._next,!e&&!r._dur&&r instanceof tr&&r.vars.onComplete===r._targets[0]||Ut(i,r,r._start-r._delay),r=n;return Ut(l,i,0),i},context:function(t,e){return t?new wr(t,e):u},matchMedia:function(t){return new Tr(t)},matchMediaRefresh:function(){return gr.forEach((function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()}))||br()},addEventListener:function(t,e){var r=_r[t]||(_r[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=_r[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function t(e,r,n){var i=r-e;return q(e)?fe(e,t(0,e.length),r):Jt(n,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,r,n){var i=r-e,s=2*i;return q(e)?fe(e,t(0,e.length-1),r):Jt(n,(function(t){return e+((t=(s+(t-e)%s)%s||0)>i?s-t:t)}))},distribute:ae,random:ce,snap:le,normalize:function(t,e,r){return pe(t,e,0,1,r)},getUnit:ee,clamp:function(t,e,r){return Jt(r,(function(r){return te(t,e,r)}))},splitColor:we,toArray:ie,selector:se,mapRange:pe,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(nn,r,"")),e=rn}(s||r)&&this.props.push(e,r,s[e])},on=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},an=function(){var t,e,r=this.props,n=this.target,i=n.style,s=n._gsap;for(t=0;t=0?fn[i]:"")+t},pn=function(){"undefined"!=typeof window&&window.document&&(Or=window,Er=Or.document,Ar=Er.documentElement,Dr=ln("div")||{style:{}},ln("div"),rn=hn(rn),nn=rn+"Origin",Dr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",zr=!!hn("perspective"),Lr=Sr.core.reverting,Pr=1)},dn=function t(e){var r,n=ln("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(Ar.appendChild(n),n.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(r=this._gsapBBox());return i&&(s?i.insertBefore(this,s):i.appendChild(this)),Ar.removeChild(n),this.style.cssText=o,r},gn=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},_n=function(t){var e;try{e=t.getBBox()}catch(r){e=dn.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===dn||(e=dn.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+gn(t,["x","cx","x1"])||0,y:+gn(t,["y","cy","y1"])||0,width:0,height:0}},mn=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!_n(t))},vn=function(t,e){if(e){var r=t.style;e in Fr&&e!==nn&&(e=rn),r.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),r.removeProperty(e.replace(Nr,"-$1").toLowerCase())):r.removeAttribute(e)}},yn=function(t,e,r,n,i,s){var o=new dr(t._pt,e,r,0,1,s?Qr:Gr);return t._pt=o,o.b=n,o.e=i,t._props.push(r),o},xn={deg:1,rad:1,turn:1},bn={grid:1,flex:1},wn=function t(e,r,n,i){var s,o,a,u,l=parseFloat(n)||0,c=(n+"").trim().substr((l+"").length)||"px",f=Dr.style,h=Xr.test(r),p="svg"===e.tagName.toLowerCase(),d=(p?"client":"offset")+(h?"Width":"Height"),g=100,_="px"===i,m="%"===i;return i===c||!l||xn[i]||xn[c]?l:("px"!==c&&!_&&(l=t(e,r,n,"px")),u=e.getCTM&&mn(e),!m&&"%"!==c||!Fr[r]&&!~r.indexOf("adius")?(f[h?"width":"height"]=g+(_?c:i),o=~r.indexOf("adius")||"em"===i&&e.appendChild&&!p?e:e.parentNode,u&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==Er&&o.appendChild||(o=Er.body),(a=o._gsap)&&m&&a.width&&h&&a.time===Oe.time&&!a.uncache?vt(l/a.width*g):((m||"%"===c)&&!bn[cn(o,"display")]&&(f.position=cn(e,"position")),o===e&&(f.position="static"),o.appendChild(Dr),s=Dr[d],o.removeChild(Dr),f.position="absolute",h&&m&&((a=gt(o)).time=Oe.time,a.width=o[d]),vt(_?s*l/g:s&&l?g/s*l:0))):(s=u?e.getBBox()[h?"width":"height"]:e[d],vt(m?l/s*g:l/100*s)))},Tn=function(t,e,r,n){var i;return Pr||pn(),e in Ur&&"transform"!==e&&~(e=Ur[e]).indexOf(",")&&(e=e.split(",")[0]),Fr[e]&&"transform"!==e?(i=Ln(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:zn(cn(t,nn))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=Sn[e]&&Sn[e](t,e,r)||cn(t,e)||_t(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?wn(t,e,i,r)+r:i},kn=function(t,e,r,n){if(!r||"none"===r){var i=hn(e,t,1),s=i&&cn(t,i,1);s&&s!==r?(e=i,r=s):"borderColor"===e&&(r=cn(t,"borderTopColor"))}var o,a,u,l,c,f,h,p,d,g,_,m=new dr(this._pt,t.style,e,0,1,ur),v=0,y=0;if(m.b=r,m.e=n,r+="","auto"==(n+="")&&(t.style[e]=n,n=cn(t,e)||n,t.style[e]=r),Se(o=[r,n]),n=o[1],u=(r=o[0]).match(V)||[],(n.match(V)||[]).length){for(;a=V.exec(n);)h=a[0],d=n.substring(v,a.index),c?c=(c+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(c=1),h!==(f=u[y++]||"")&&(l=parseFloat(f)||0,_=f.substr((l+"").length),"="===h.charAt(1)&&(h=xt(l,h)+_),p=parseFloat(h),g=h.substr((p+"").length),v=V.lastIndex-g.length,g||(g=g||T.units[e]||_,v===n.length&&(n+=g,m.e+=g)),_!==g&&(l=wn(t,e,f,g)||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;)r=a[i],Fr[r]&&(n=1,r="transformOrigin"===r?nn:rn),vn(s,r);n&&(vn(s,rn),u&&(u.svg&&s.removeAttribute("transform"),Ln(s,1),u.uncache=1,on(o)))}},Sn={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var s=t._pt=new dr(t._pt,e,r,0,0,Cn);return s.u=n,s.pr=-10,s.tween=i,t._props.push(r),1}}},On=[1,0,0,1,0,0],En={},An=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Pn=function(t){var e=cn(t,rn);return An(e)?On:e.substr(7).match(W).map(vt)},Dn=function(t,e){var r,n,i,s,o=t._gsap||gt(t),a=t.style,u=Pn(t);return o.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(",")?On:u:(u!==On||t.offsetParent||t===Ar||o.svg||(i=a.display,a.display="block",(r=t.parentNode)&&t.offsetParent||(s=1,n=t.nextElementSibling,Ar.appendChild(t)),u=Pn(t),i?a.display=i:vn(t,"display"),s&&(n?r.insertBefore(t,n):r?r.appendChild(t):Ar.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},Rn=function(t,e,r,n,i,s){var o,a,u,l=t._gsap,c=i||Dn(t,!0),f=l.xOrigin||0,h=l.yOrigin||0,p=l.xOffset||0,d=l.yOffset||0,g=c[0],_=c[1],m=c[2],v=c[3],y=c[4],x=c[5],b=e.split(" "),w=parseFloat(b[0])||0,T=parseFloat(b[1])||0;r?c!==On&&(a=g*v-_*m)&&(u=w*(-_/a)+T*(g/a)-(g*x-_*y)/a,w=w*(v/a)+T*(-m/a)+(m*x-v*y)/a,T=u):(w=(o=_n(t)).x+(~b[0].indexOf("%")?w/100*o.width:w),T=o.y+(~(b[1]||b[0]).indexOf("%")?T/100*o.height:T)),n||!1!==n&&l.smooth?(y=w-f,x=T-h,l.xOffset=p+(y*g+x*m)-y,l.yOffset=d+(y*_+x*v)-x):l.xOffset=l.yOffset=0,l.xOrigin=w,l.yOrigin=T,l.smooth=!!n,l.origin=e,l.originIsAbsolute=!!r,t.style[nn]="0px 0px",s&&(yn(s,l,"xOrigin",f,w),yn(s,l,"yOrigin",h,T),yn(s,l,"xOffset",p,l.xOffset),yn(s,l,"yOffset",d,l.yOffset)),t.setAttribute("data-svg-origin",w+" "+T)},Ln=function(t,e){var r=t._gsap||new Xe(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,s,o,a,u,l,c,f,h,p,d,g,_,m,v,y,x,b,w,k,M,C,S,O,E,A,P,D,R,L,z,F=t.style,I=r.scaleX<0,B="px",Y="deg",N=getComputedStyle(t),X=cn(t,nn)||"0";return n=i=s=u=l=c=f=h=p=0,o=a=1,r.svg=!(!t.getCTM||!mn(t)),N.translate&&("none"===N.translate&&"none"===N.scale&&"none"===N.rotate||(F[rn]=("none"!==N.translate?"translate3d("+(N.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==N.rotate?"rotate("+N.rotate+") ":"")+("none"!==N.scale?"scale("+N.scale.split(" ").join(",")+") ":"")+("none"!==N[rn]?N[rn]:"")),F.scale=F.rotate=F.translate="none"),_=Dn(t,r.svg),r.svg&&(r.uncache?(O=t.getBBox(),X=r.xOrigin-O.x+"px "+(r.yOrigin-O.y)+"px",S=""):S=!e&&t.getAttribute("data-svg-origin"),Rn(t,S||X,!!S||r.originIsAbsolute,!1!==r.smooth,_)),d=r.xOrigin||0,g=r.yOrigin||0,_!==On&&(x=_[0],b=_[1],w=_[2],k=_[3],n=M=_[4],i=C=_[5],6===_.length?(o=Math.sqrt(x*x+b*b),a=Math.sqrt(k*k+w*w),u=x||b?Yr(b,x)*Ir:0,(f=w||k?Yr(w,k)*Ir+u:0)&&(a*=Math.abs(Math.cos(f*Br))),r.svg&&(n-=d-(d*x+g*w),i-=g-(d*b+g*k))):(z=_[6],R=_[7],A=_[8],P=_[9],D=_[10],L=_[11],n=_[12],i=_[13],s=_[14],l=(m=Yr(z,D))*Ir,m&&(S=M*(v=Math.cos(-m))+A*(y=Math.sin(-m)),O=C*v+P*y,E=z*v+D*y,A=M*-y+A*v,P=C*-y+P*v,D=z*-y+D*v,L=R*-y+L*v,M=S,C=O,z=E),c=(m=Yr(-w,D))*Ir,m&&(v=Math.cos(-m),L=k*(y=Math.sin(-m))+L*v,x=S=x*v-A*y,b=O=b*v-P*y,w=E=w*v-D*y),u=(m=Yr(b,x))*Ir,m&&(S=x*(v=Math.cos(m))+b*(y=Math.sin(m)),O=M*v+C*y,b=b*v-x*y,C=C*v-M*y,x=S,M=O),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,c=180-c),o=vt(Math.sqrt(x*x+b*b+w*w)),a=vt(Math.sqrt(C*C+z*z)),m=Yr(M,C),f=Math.abs(m)>2e-4?m*Ir:0,p=L?1/(L<0?-L:L):0),r.svg&&(S=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!An(cn(t,rn)),S&&t.setAttribute("transform",S))),Math.abs(f)>90&&Math.abs(f)<270&&(I?(o*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-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)+B,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)+B,r.z=s+B,r.scaleX=vt(o),r.scaleY=vt(a),r.rotation=vt(u)+Y,r.rotationX=vt(l)+Y,r.rotationY=vt(c)+Y,r.skewX=f+Y,r.skewY=h+Y,r.transformPerspective=p+B,(r.zOrigin=parseFloat(X.split(" ")[2])||0)&&(F[nn]=zn(X)),r.xOffset=r.yOffset=0,r.force3D=T.force3D,r.renderTransform=r.svg?qn:zr?Xn:In,r.uncache=0,r},zn=function(t){return(t=t.split(" "))[0]+" "+t[1]},Fn=function(t,e,r){var n=ee(e);return vt(parseFloat(e)+parseFloat(wn(t,"x",r+"px",n)))+n},In=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Xn(t,e)},Bn="0deg",Yn="0px",Nn=") ",Xn=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,s=r.x,o=r.y,a=r.z,u=r.rotation,l=r.rotationY,c=r.rotationX,f=r.skewX,h=r.skewY,p=r.scaleX,d=r.scaleY,g=r.transformPerspective,_=r.force3D,m=r.target,v=r.zOrigin,y="",x="auto"===_&&t&&1!==t||!0===_;if(v&&(c!==Bn||l!==Bn)){var b,w=parseFloat(l)*Br,T=Math.sin(w),k=Math.cos(w);w=parseFloat(c)*Br,b=Math.cos(w),s=Fn(m,s,T*b*-v),o=Fn(m,o,-Math.sin(w)*-v),a=Fn(m,a,k*b*-v+v)}g!==Yn&&(y+="perspective("+g+Nn),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(x||s!==Yn||o!==Yn||a!==Yn)&&(y+=a!==Yn||x?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+Nn),u!==Bn&&(y+="rotate("+u+Nn),l!==Bn&&(y+="rotateY("+l+Nn),c!==Bn&&(y+="rotateX("+c+Nn),f===Bn&&h===Bn||(y+="skew("+f+", "+h+Nn),1===p&&1===d||(y+="scale("+p+", "+d+Nn),m.style[rn]=y||"translate(0, 0)"},qn=function(t,e){var r,n,i,s,o,a=e||this,u=a.xPercent,l=a.yPercent,c=a.x,f=a.y,h=a.rotation,p=a.skewX,d=a.skewY,g=a.scaleX,_=a.scaleY,m=a.target,v=a.xOrigin,y=a.yOrigin,x=a.xOffset,b=a.yOffset,w=a.forceCSS,T=parseFloat(c),k=parseFloat(f);h=parseFloat(h),p=parseFloat(p),(d=parseFloat(d))&&(p+=d=parseFloat(d),h+=d),h||p?(h*=Br,p*=Br,r=Math.cos(h)*g,n=Math.sin(h)*g,i=Math.sin(h-p)*-_,s=Math.cos(h-p)*_,p&&(d*=Br,o=Math.tan(p-d),i*=o=Math.sqrt(1+o*o),s*=o,d&&(o=Math.tan(d),r*=o=Math.sqrt(1+o*o),n*=o)),r=vt(r),n=vt(n),i=vt(i),s=vt(s)):(r=g,s=_,n=i=0),(T&&!~(c+"").indexOf("px")||k&&!~(f+"").indexOf("px"))&&(T=wn(m,"x",c,"px"),k=wn(m,"y",f,"px")),(v||y||x||b)&&(T=vt(T+v-(v*r+y*i)+x),k=vt(k+y-(v*n+y*s)+b)),(u||l)&&(o=m.getBBox(),T=vt(T+u/100*o.width),k=vt(k+l/100*o.height)),o="matrix("+r+","+n+","+i+","+s+","+T+","+k+")",m.setAttribute("transform",o),w&&(m.style[rn]=o)},Un=function(t,e,r,n,i){var s,o,a=360,u=R(i),l=parseFloat(i)*(u&&~i.indexOf("rad")?Ir:1)-n,c=n+l+"deg";return u&&("short"===(s=i.split("_")[1])&&(l%=a)!=l%180&&(l+=l<0?a:-360),"cw"===s&&l<0?l=(l+36e9)%a-~~(l/a)*a:"ccw"===s&&l>0&&(l=(l-36e9)%a-~~(l/a)*a)),t._pt=o=new dr(t._pt,e,r,n,l,Vr),o.e=c,o.u="deg",t._props.push(r),o},Wn=function(t,e){for(var r in e)t[r]=e[r];return t},Vn=function(t,e,r){var n,i,s,o,a,u,l,c=Wn({},r._gsap),f=r.style;for(i in c.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),f[rn]=e,n=Ln(r,1),vn(r,rn),r.setAttribute("transform",s)):(s=getComputedStyle(r)[rn],f[rn]=e,n=Ln(r,1),f[rn]=s),Fr)(s=c[i])!==(o=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=ee(s)!==(l=ee(o))?wn(r,i,s,l):parseFloat(s),u=parseFloat(o),t._pt=new dr(t._pt,n,i,a,u-a,Wr),t._pt.u=l||0,t._props.push(i));Wn(n,c)};mt("padding,margin,Width,Radius",(function(t,e){var r="Top",n="Right",i="Bottom",s="Left",o=(e<3?[r,n,i,s]:[r+s,r+n,i+n,i+s]).map((function(r){return e<2?t+r:"border"+r+t}));Sn[e>1?"border"+t:t]=function(t,e,r,n,i){var s,a;if(arguments.length<4)return s=o.map((function(e){return Tn(t,e,r)})),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(n+"").split(" "),a={},o.forEach((function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]})),t.init(e,a,i)}}));var Hn,jn,Gn={name:"css",register:pn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var s,o,a,u,l,c,f,h,p,d,g,_,m,v,y,x,b,w,k,M,C=this._props,S=t.style,O=r.vars.startAt;for(f in Pr||pn(),this.styles=this.styles||un(t),x=this.styles.props,this.tween=r,e)if("autoRound"!==f&&(o=e[f],!lt[f]||!Ge(f,e,r,n,t,i)))if(l=typeof o,c=Sn[f],"function"===l&&(l=typeof(o=o.call(r,n,t,i))),"string"===l&&~o.indexOf("random(")&&(o=he(o)),c)c(this,t,f,o,r)&&(y=1);else if("--"===f.substr(0,2))s=(getComputedStyle(t).getPropertyValue(f)+"").trim(),o+="",Me.lastIndex=0,Me.test(s)||(h=ee(s),p=ee(o)),p?h!==p&&(s=wn(t,f,s,p)+p):h&&(o+=h),this.add(S,"setProperty",s,o,n,i,0,0,f),C.push(f),x.push(f,0,S[f]);else if("undefined"!==l){if(O&&f in O?(s="function"==typeof O[f]?O[f].call(r,n,t,i):O[f],R(s)&&~s.indexOf("random(")&&(s=he(s)),ee(s+"")||(s+=T.units[f]||ee(Tn(t,f))||""),"="===(s+"").charAt(1)&&(s=Tn(t,f))):s=Tn(t,f),u=parseFloat(s),(d="string"===l&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),f in Ur&&("autoAlpha"===f&&(1===u&&"hidden"===Tn(t,"visibility")&&a&&(u=0),x.push("visibility",0,S.visibility),yn(this,S,"visibility",u?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==f&&"transform"!==f&&~(f=Ur[f]).indexOf(",")&&(f=f.split(",")[0])),g=f in Fr)if(this.styles.save(f),_||((m=t._gsap).renderTransform&&!e.parseTransform||Ln(t,e.parseTransform),v=!1!==e.smoothOrigin&&m.smooth,(_=this._pt=new dr(this._pt,S,rn,0,1,m.renderTransform,m,0,-1)).dep=1),"scale"===f)this._pt=new dr(this._pt,m,"scaleY",m.scaleY,(d?xt(m.scaleY,d+a):a)-m.scaleY||0,Wr),this._pt.u=0,C.push("scaleY",f),f+="X";else{if("transformOrigin"===f){x.push(nn,0,S[nn]),w=void 0,k=void 0,M=void 0,k=(w=(b=o).split(" "))[0],M=w[1]||"50%","top"!==k&&"bottom"!==k&&"left"!==M&&"right"!==M||(b=k,k=M,M=b),w[0]=Mn[k]||k,w[1]=Mn[M]||M,o=w.join(" "),m.svg?Rn(t,o,0,v,0,this):((p=parseFloat(o.split(" ")[2])||0)!==m.zOrigin&&yn(this,m,"zOrigin",m.zOrigin,p),yn(this,S,f,zn(s),zn(o)));continue}if("svgOrigin"===f){Rn(t,o,1,v,0,this);continue}if(f in En){Un(this,m,f,u,d?xt(u,d+o):o);continue}if("smoothOrigin"===f){yn(this,m,"smooth",m.smooth,o);continue}if("force3D"===f){m[f]=o;continue}if("transform"===f){Vn(this,o,t);continue}}else f in S||(f=hn(f)||f);if(g||(a||0===a)&&(u||0===u)&&!qr.test(o)&&f in S)a||(a=0),(h=(s+"").substr((u+"").length))!==(p=ee(o)||(f in T.units?T.units[f]:h))&&(u=wn(t,f,s,p)),this._pt=new dr(this._pt,g?m:S,f,u,(d?xt(u,d+a):a)-u,g||"px"!==p&&"zIndex"!==f||!1===e.autoRound?Wr:jr),this._pt.u=p||0,h!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=Hr);else if(f in S)kn.call(this,t,f,s,d?d+o:o);else if(f in t)this.add(t,f,s||t[f],d?d+o:o,n,i);else if("parseTransform"!==f){J(f,o);continue}g||(f in S?x.push(f,0,S[f]):x.push(f,1,s||t[f])),C.push(f)}y&&pr(this)},render:function(t,e){if(e.tween._time||!Lr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Tn,aliases:Ur,getSetter:function(t,e,r){var n=Ur[e];return n&&n.indexOf(",")<0&&(e=n),e in Fr&&e!==nn&&(t._gsap.x||Tn(t,"x"))?r&&Rr===r?"scale"===e?Jr:Kr:(Rr=r||{})&&("scale"===e?tn:en):t.style&&!F(t.style[e])?Zr:~e.indexOf("-")?$r:sr(t,e)},core:{_removeProperty:vn,_getMatrix:Dn}};Sr.utils.checkPrefix=hn,Sr.core.getStyleSaver=un,jn=mt("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(Hn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Fr[t]=1})),mt(Hn,(function(t){T.units[t]="deg",En[t]=1})),Ur[jn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Hn,mt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");Ur[e[1]]=jn[e[0]]})),mt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){T.units[t]="px"})),Sr.registerPlugin(Gn);var Qn=Sr.registerPlugin(Gn)||Sr;function Zn(t,e){for(var r=0;ra?(i=n,n=t,o=s,s=u):r?n+=t:n=i+(t-i)/(u-o)*(s-o)};return{update:l,reset:function(){i=n=r?0:n,o=s=0},getVelocity:function(t){var e=o,a=i,c=gi();return(t||0===t)&&t!==n&&l(t),s===o||c-o>u?0:(n+(r?a:-a))/((r?c:s)-e)*1e3}}},Ai=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},Pi=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Di=function(){var t,e,r,n;(si=$n.core.globals().ScrollTrigger)&&si.core&&(t=si.core,e=t.bridge||{},r=t._scrollers,n=t._proxies,r.push.apply(r,pi),n.push.apply(n,di),pi=r,di=n,_i=function(t,r){return e[t](r)})},Ri=function(t){return($n=t||ci())&&"undefined"!=typeof document&&document.body&&(Jn=window,ti=document,ei=ti.documentElement,ri=ti.body,oi=[Jn,ti,ei,ri],$n.utils.clamp,li=$n.core.context||function(){},ii="onpointerenter"in ri?"pointer":"mouse",ni=Li.isTouch=Jn.matchMedia&&Jn.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Jn||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,ui=Li.eventTypes=("ontouchstart"in ei?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in ei?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return fi=0}),500),Di(),Kn=1),Kn};Mi.op=Ci,pi.cache=0;var Li=function(){function t(t){this.init(t)}var e,r;return t.prototype.init=function(t){Kn||Ri($n)||console.warn("Please gsap.registerPlugin(Observer)"),si||Di();var e=t.tolerance,r=t.dragMinimum,n=t.type,i=t.target,s=t.lineHeight,o=t.debounce,a=t.preventDefault,u=t.onStop,l=t.onStopDelay,c=t.ignore,f=t.wheelSpeed,h=t.event,p=t.onDragStart,d=t.onDragEnd,g=t.onDrag,_=t.onPress,m=t.onRelease,v=t.onRight,y=t.onLeft,x=t.onUp,b=t.onDown,w=t.onChangeX,T=t.onChangeY,k=t.onChange,M=t.onToggleX,C=t.onToggleY,S=t.onHover,O=t.onHoverEnd,E=t.onMove,A=t.ignoreCheck,P=t.isNormalizer,D=t.onGestureStart,R=t.onGestureEnd,L=t.onWheel,z=t.onEnable,F=t.onDisable,I=t.onClick,B=t.scrollSpeed,Y=t.capture,N=t.allowClicks,X=t.lockAxis,q=t.onLockAxis;this.target=i=Si(i)||ei,this.vars=t,c&&(c=$n.utils.toArray(c)),e=e||1e-9,r=r||0,f=f||1,B=B||1,n=n||"wheel,touch,pointer",o=!1!==o,s||(s=parseFloat(Jn.getComputedStyle(ri).lineHeight)||22);var U,W,V,H,j,G,Q,Z=this,$=0,K=0,J=Oi(i,Mi),tt=Oi(i,Ci),et=J(),rt=tt(),nt=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===ui[0],it=vi(i),st=i.ownerDocument||ti,ot=[0,0,0],at=[0,0,0],ut=0,lt=function(){return ut=gi()},ct=function(t,e){return(Z.event=t)&&c&&~c.indexOf(t.target)||e&&nt&&"touch"!==t.pointerType||A&&A(t,e)},ft=function(){var t=Z.deltaX=Pi(ot),r=Z.deltaY=Pi(at),n=Math.abs(t)>=e,i=Math.abs(r)>=e;k&&(n||i)&&k(Z,t,r,ot,at),n&&(v&&Z.deltaX>0&&v(Z),y&&Z.deltaX<0&&y(Z),w&&w(Z),M&&Z.deltaX<0!=$<0&&M(Z),$=Z.deltaX,ot[0]=ot[1]=ot[2]=0),i&&(b&&Z.deltaY>0&&b(Z),x&&Z.deltaY<0&&x(Z),T&&T(Z),C&&Z.deltaY<0!=K<0&&C(Z),K=Z.deltaY,at[0]=at[1]=at[2]=0),(H||V)&&(E&&E(Z),V&&(g(Z),V=!1),H=!1),G&&!(G=!1)&&q&&q(Z),j&&(L(Z),j=!1),U=0},ht=function(t,e,r){ot[r]+=t,at[r]+=e,Z._vx.update(t),Z._vy.update(e),o?U||(U=requestAnimationFrame(ft)):ft()},pt=function(t,e){X&&!Q&&(Z.axis=Q=Math.abs(t)>Math.abs(e)?"x":"y",G=!0),"y"!==Q&&(ot[2]+=t,Z._vx.update(t,!0)),"x"!==Q&&(at[2]+=e,Z._vy.update(e,!0)),o?U||(U=requestAnimationFrame(ft)):ft()},dt=function(t){if(!ct(t,1)){var e=(t=Ai(t,a)).clientX,n=t.clientY,i=e-Z.x,s=n-Z.y,o=Z.isDragging;Z.x=e,Z.y=n,(o||Math.abs(Z.startX-e)>=r||Math.abs(Z.startY-n)>=r)&&(g&&(V=!0),o||(Z.isDragging=!0),pt(i,s),o||p&&p(Z))}},gt=Z.onPress=function(t){ct(t,1)||t&&t.button||(Z.axis=Q=null,W.pause(),Z.isPressed=!0,t=Ai(t),$=K=0,Z.startX=Z.x=t.clientX,Z.startY=Z.y=t.clientY,Z._vx.reset(),Z._vy.reset(),yi(P?i:st,ui[1],dt,a,!0),Z.deltaX=Z.deltaY=0,_&&_(Z))},_t=Z.onRelease=function(t){if(!ct(t,1)){xi(P?i:st,ui[1],dt,!0);var e=!isNaN(Z.y-Z.startY),r=Z.isDragging&&(Math.abs(Z.x-Z.startX)>3||Math.abs(Z.y-Z.startY)>3),n=Ai(t);!r&&e&&(Z._vx.reset(),Z._vy.reset(),a&&N&&$n.delayedCall(.08,(function(){if(gi()-ut>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(st.createEvent){var e=st.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,Jn,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}))),Z.isDragging=Z.isGesturing=Z.isPressed=!1,u&&!P&&W.restart(!0),d&&r&&d(Z),m&&m(Z,r)}},mt=function(t){return t.touches&&t.touches.length>1&&(Z.isGesturing=!0)&&D(t,Z.isDragging)},vt=function(){return(Z.isGesturing=!1)||R(Z)},yt=function(t){if(!ct(t)){var e=J(),r=tt();ht((e-et)*B,(r-rt)*B,1),et=e,rt=r,u&&W.restart(!0)}},xt=function(t){if(!ct(t)){t=Ai(t,a),L&&(j=!0);var e=(1===t.deltaMode?s:2===t.deltaMode?Jn.innerHeight:1)*f;ht(t.deltaX*e,t.deltaY*e,0),u&&!P&&W.restart(!0)}},bt=function(t){if(!ct(t)){var e=t.clientX,r=t.clientY,n=e-Z.x,i=r-Z.y;Z.x=e,Z.y=r,H=!0,(n||i)&&pt(n,i)}},wt=function(t){Z.event=t,S(Z)},Tt=function(t){Z.event=t,O(Z)},kt=function(t){return ct(t)||Ai(t,a)&&I(Z)};W=Z._dc=$n.delayedCall(l||.25,(function(){Z._vx.reset(),Z._vy.reset(),W.pause(),u&&u(Z)})).pause(),Z.deltaX=Z.deltaY=0,Z._vx=Ei(0,50,!0),Z._vy=Ei(0,50,!0),Z.scrollX=J,Z.scrollY=tt,Z.isDragging=Z.isGesturing=Z.isPressed=!1,li(this),Z.enable=function(t){return Z.isEnabled||(yi(it?st:i,"scroll",Ti),n.indexOf("scroll")>=0&&yi(it?st:i,"scroll",yt,a,Y),n.indexOf("wheel")>=0&&yi(i,"wheel",xt,a,Y),(n.indexOf("touch")>=0&&ni||n.indexOf("pointer")>=0)&&(yi(i,ui[0],gt,a,Y),yi(st,ui[2],_t),yi(st,ui[3],_t),N&&yi(i,"click",lt,!1,!0),I&&yi(i,"click",kt),D&&yi(st,"gesturestart",mt),R&&yi(st,"gestureend",vt),S&&yi(i,ii+"enter",wt),O&&yi(i,ii+"leave",Tt),E&&yi(i,ii+"move",bt)),Z.isEnabled=!0,t&&t.type&>(t),z&&z(Z)),Z},Z.disable=function(){Z.isEnabled&&(hi.filter((function(t){return t!==Z&&vi(t.target)})).length||xi(it?st:i,"scroll",Ti),Z.isPressed&&(Z._vx.reset(),Z._vy.reset(),xi(P?i:st,ui[1],dt,!0)),xi(it?st:i,"scroll",yt,Y),xi(i,"wheel",xt,Y),xi(i,ui[0],gt,Y),xi(st,ui[2],_t),xi(st,ui[3],_t),xi(i,"click",lt,!0),xi(i,"click",kt),xi(st,"gesturestart",mt),xi(st,"gestureend",vt),xi(i,ii+"enter",wt),xi(i,ii+"leave",Tt),xi(i,ii+"move",bt),Z.isEnabled=Z.isPressed=Z.isDragging=!1,F&&F(Z))},Z.kill=Z.revert=function(){Z.disable();var t=hi.indexOf(Z);t>=0&&hi.splice(t,1),ai===Z&&(ai=0)},hi.push(Z),P&&vi(i)&&(ai=Z),Z.enable(h)},e=t,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&Zn(e.prototype,r),t}();Li.version="3.12.1",Li.create=function(t){return new Li(t)},Li.register=Ri,Li.getAll=function(){return hi.slice()},Li.getById=function(t){return hi.filter((function(e){return e.vars.id===t}))[0]},ci()&&$n.registerPlugin(Li);var zi,Fi,Ii,Bi,Yi,Ni,Xi,qi,Ui,Wi,Vi,Hi,ji,Gi,Qi,Zi,$i,Ki,Ji,ts,es,rs,ns,is,ss,os,as,us,ls,cs,fs,hs,ps,ds,gs=1,_s=Date.now,ms=_s(),vs=0,ys=0,xs=function(t,e,r){var n=Rs(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},bs=function(t,e){return!e||Rs(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},ws=function t(){return ys&&requestAnimationFrame(t)},Ts=function(){return Gi=1},ks=function(){return Gi=0},Ms=function(t){return t},Cs=function(t){return Math.round(1e5*t)/1e5||0},Ss=function(){return"undefined"!=typeof window},Os=function(){return zi||Ss()&&(zi=window.gsap)&&zi.registerPlugin&&zi},Es=function(t){return!!~Xi.indexOf(t)},As=function(t){return mi(t,"getBoundingClientRect")||(Es(t)?function(){return qo.width=Ii.innerWidth,qo.height=Ii.innerHeight,qo}:function(){return ro(t)})},Ps=function(t,e){var r=e.s,n=e.d2,i=e.d,s=e.a;return Math.max(0,(r="scroll"+n)&&(s=mi(t,r))?s()-As(t)()[i]:Es(t)?(Yi[r]||Ni[r])-(Ii["inner"+n]||Yi["client"+n]||Ni["client"+n]):t[r]-t["offset"+n])},Ds=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 ho?ho[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},go=function(t,e,r,n,i,s,o,a){var u=i.startColor,l=i.endColor,c=i.fontSize,f=i.indent,h=i.fontWeight,p=Bi.createElement("div"),d=Es(r)||"fixed"===mi(r,"pinType"),g=-1!==t.indexOf("scroller"),_=d?Ni: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:"+((g||a)&&d?"fixed;":"absolute;"),(g||a||!d)&&(y+=(n===Ci?Xs:qs)+":"+(s+parseFloat(f))+"px;"),o&&(y+="box-sizing:border-box;text-align:left;width:"+o.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,_.children[0]?_.insertBefore(p,_.children[0]):_.appendChild(p),p._offset=p["offset"+n.op.d2],_o(p,0,n,m),p},_o=function(t,e,r,n){var i={display:"block"},s=r[n?"os2":"p2"],o=r[n?"p2":"os2"];t._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+s+$s]=1,i["border"+o+$s]=0,i[r.p]=e+"px",zi.set(t,i)},mo=[],vo={},yo=function(){return _s()-vs>34&&(fs||(fs=requestAnimationFrame(zo)))},xo=function(){(!ns||!ns.isPressed||ns.startX>Ni.clientWidth)&&(pi.cache++,ns?fs||(fs=requestAnimationFrame(zo)):zo(),vs||Co("scrollStart"),vs=_s())},bo=function(){os=Ii.innerWidth,ss=Ii.innerHeight},wo=function(){pi.cache++,!ji&&!rs&&!Bi.fullscreenElement&&!Bi.webkitFullscreenElement&&(!is||os!==Ii.innerWidth||Math.abs(Ii.innerHeight-ss)>.25*Ii.innerHeight)&&qi.restart(!0)},To={},ko=[],Mo=function t(){return uo(Qo,"scrollEnd",t)||Do(!0)},Co=function(t){return To[t]&&To[t].map((function(t){return t()}))||ko},So=[],Oo=function(t){for(var e=0;ee)&&t.setPositions(t.start,Math.max(t.start+1,e),!0)})),r.forEach((function(t){return t&&t.render&&t.render(-1)})),pi.forEach((function(t){Ls(t)&&(t.smooth&&requestAnimationFrame((function(){return t.target.style.scrollBehavior="smooth"})),t.rec&&t(t.rec))})),Ao(ls,1),qi.pause(),Po++,hs=2,zo(2),mo.forEach((function(t){return Ls(t.vars.onRefresh)&&t.vars.onRefresh(t)})),hs=Qo.isRefreshing=!1,Co("refresh")}else ao(Qo,"scrollEnd",Mo)},Ro=0,Lo=1,zo=function(t){if(!hs||2===t){Qo.isUpdating=!0,ds&&ds.update(0);var e=mo.length,r=_s(),n=r-ms>=50,i=e&&mo[0].scroll();if(Lo=Ro>i?-1:1,hs||(Ro=i),n&&(vs&&!Gi&&r-vs>200&&(vs=0,Co("scrollEnd")),Vi=ms,ms=r),Lo<0){for(Zi=e;Zi-- >0;)mo[Zi]&&mo[Zi].update(0,n);Lo=1}else for(Zi=0;Zi20),r-=r-x}if(p&&(a[p]=t||-.001,t<0&&(t=0)),s){var T=t+r,k=s._isStart;d="scroll"+n.d2,_o(s,T,n,k&&T>20||!k&&(c?Math.max(Ni[d],Yi[d]):s.parentNode[d])<=T+1),c&&(u=ro(o),c&&(s.style[n.op.p]=u[n.op.p]-n.op.m-s._offset+Js))}return h&&_&&(d=ro(_),h.seek(f),g=ro(_),h._caScrollDist=d[n.p]-g[n.p],t=t/h._caScrollDist*f),h&&h.seek(m),h?t:Math.round(t)},Wo=/(webkit|moz|length|cssText|inset)/i,Vo=function(t,e,r,n){if(t.parentNode!==e){var i,s,o=t.style;if(e===Ni){for(i in t._stOrig=o.cssText,s=to(t))+i||Wo.test(i)||!s[i]||"string"!=typeof o[i]||"0"===i||(o[i]=s[i]);o.top=r,o.left=n}else o.cssText=t._stOrig;zi.core.getCache(t).uncache=1,e.appendChild(t)}},Ho=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=e,e}},jo=function(t,e,r){var n={};n[e.p]="+="+r,zi.set(t,n)},Go=function(t,e){var r=Oi(t,e),n="_scroll"+e.p2,i=function e(i,s,o,a,u){var l=e.tween,c=s.onComplete,f={};o=o||r();var h=Ho(r,o,(function(){l.kill(),e.tween=0}));return u=a&&u||0,a=a||i-o,l&&l.kill(),s[n]=i,s.modifiers=f,f[n]=function(){return h(o+a*l.ratio+u*l.ratio*l.ratio)},s.onUpdate=function(){pi.cache++,zo()},s.onComplete=function(){e.tween=0,c&&c.call(l)},l=e.tween=zi.to(t,s)};return t[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},ao(t,"wheel",r.wheelHandler),Qo.isTouch&&ao(t,"touchmove",r.wheelHandler),i},Qo=function(){function t(e,r){Fi||t.register(zi)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),us(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),ys){var n,i,s,o,a,u,l,c,f,h,p,d,g,_,m,v,y,x,b,w,T,k,M,C,S,O,E,A,P,D,R,L,z,F,I,B,Y,N,X,q,U,W,V=e=eo(Rs(e)||zs(e)||e.nodeType?{trigger:e}:e,fo),H=V.onUpdate,j=V.toggleClass,G=V.id,Q=V.onToggle,Z=V.onRefresh,$=V.scrub,K=V.trigger,J=V.pin,tt=V.pinSpacing,et=V.invalidateOnRefresh,rt=V.anticipatePin,nt=V.onScrubComplete,it=V.onSnapComplete,st=V.once,ot=V.snap,at=V.pinReparent,ut=V.pinSpacer,lt=V.containerAnimation,ct=V.fastScrollEnd,ft=V.preventOverlaps,ht=e.horizontal||e.containerAnimation&&!1!==e.horizontal?Mi:Ci,pt=!$&&0!==$,dt=Si(e.scroller||Ii),gt=zi.core.getCache(dt),_t=Es(dt),mt="fixed"===("pinType"in e?e.pinType:mi(dt,"pinType")||_t&&"fixed"),vt=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],yt=pt&&e.toggleActions.split(" "),xt="markers"in e?e.markers:fo.markers,bt=_t?0:parseFloat(to(dt)["border"+ht.p2+$s])||0,wt=this,Tt=e.onRefreshInit&&function(){return e.onRefreshInit(wt)},kt=function(t,e,r){var n=r.d,i=r.d2,s=r.a;return(s=mi(t,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(e?Ii["inner"+i]:t["client"+i])||0}}(dt,_t,ht),Mt=function(t,e){return!e||~di.indexOf(t)?As(t):function(){return qo}}(dt,_t),Ct=0,St=0,Ot=0,Et=Oi(dt,ht);if(wt._startClamp=wt._endClamp=!1,wt._dir=ht,rt*=45,wt.scroller=dt,wt.scroll=lt?lt.time.bind(lt):Et,o=Et(),wt.vars=e,r=r||e.animation,"refreshPriority"in e&&(ts=1,-9999===e.refreshPriority&&(ds=wt)),gt.tweenScroll=gt.tweenScroll||{top:Go(dt,Ci),left:Go(dt,Mi)},wt.tweenTo=n=gt.tweenScroll[ht.p],wt.scrubDuration=function(t){(z=zs(t)&&t)?L?L.duration(t):L=zi.to(r,{ease:"expo",totalProgress:"+=0",duration:z,paused:!0,onComplete:function(){return nt&&nt(wt)}}):(L&&L.progress(1).kill(),L=0)},r&&(r.vars.lazy=!1,r._initted&&!wt.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),wt.animation=r.pause(),r.scrollTrigger=wt,wt.scrubDuration($),D=0,G||(G=r.vars.id)),ot&&(Fs(ot)&&!ot.push||(ot={snapTo:ot}),"scrollBehavior"in Ni.style&&zi.set(_t?[Ni,Yi]:dt,{scrollBehavior:"auto"}),pi.forEach((function(t){return Ls(t)&&t.target===(_t?Bi.scrollingElement||Yi:dt)&&(t.smooth=!1)})),s=Ls(ot.snapTo)?ot.snapTo:"labels"===ot.snapTo?function(t){return function(e){return zi.utils.snap(io(t),e)}}(r):"labelsDirectional"===ot.snapTo?(q=r,function(t,e){return so(io(q))(t,e.direction)}):!1!==ot.directional?function(t,e){return so(ot.snapTo)(t,_s()-St<500?0:e.direction)}:zi.utils.snap(ot.snapTo),F=ot.duration||{min:.1,max:2},F=Fs(F)?Wi(F.min,F.max):Wi(F,F),I=zi.delayedCall(ot.delay||z/2||.1,(function(){var t=Et(),e=_s()-St<500,i=n.tween;if(!(e||Math.abs(wt.getVelocity())<10)||i||Gi||Ct===t)wt.isActive&&Ct!==t&&I.restart(!0);else{var o=(t-u)/_,a=r&&!pt?r.totalProgress():o,c=e?0:(a-R)/(_s()-Vi)*1e3||0,f=zi.utils.clamp(-o,1-o,Ys(c/2)*c/.185),h=o+(!1===ot.inertia?0:f),p=Wi(0,1,s(h,wt)),d=Math.round(u+p*_),g=ot,m=g.onStart,v=g.onInterrupt,y=g.onComplete;if(t<=l&&t>=u&&d!==t){if(i&&!i._initted&&i.data<=Ys(d-t))return;!1===ot.inertia&&(f=p-o),n(d,{duration:F(Ys(.185*Math.max(Ys(h-a),Ys(p-a))/c/.05||0)),ease:ot.ease||"power3",data:Ys(d-t),onInterrupt:function(){return I.restart(!0)&&v&&v(wt)},onComplete:function(){wt.update(),Ct=Et(),D=R=r&&!pt?r.totalProgress():wt.progress,it&&it(wt),y&&y(wt)}},t,f*_,d-t-f*_),m&&m(wt,n.tween)}}})).pause()),G&&(vo[G]=wt),(X=(K=wt.trigger=Si(K||!0!==J&&J))&&K._gsap&&K._gsap.stRevert)&&(X=X(wt)),J=!0===J?K:Si(J),Rs(j)&&(j={targets:K,className:j}),J&&(!1===tt||tt===Zs||(tt=!(!tt&&J.parentNode&&J.parentNode.style&&"flex"===to(J.parentNode).display)&&Qs),wt.pin=J,(i=zi.core.getCache(J)).spacer?m=i.pinState:(ut&&((ut=Si(ut))&&!ut.nodeType&&(ut=ut.current||ut.nativeElement),i.spacerIsNative=!!ut,ut&&(i.spacerState=Xo(ut))),i.spacer=x=ut||Bi.createElement("div"),x.classList.add("pin-spacer"),G&&x.classList.add("pin-spacer-"+G),i.pinState=m=Xo(J)),!1!==e.force3D&&zi.set(J,{force3D:!0}),wt.spacer=x=i.spacer,P=to(J),C=P[tt+ht.os2],w=zi.getProperty(J),T=zi.quickSetter(J,ht.a,Js),Bo(J,x,P),y=Xo(J)),xt){d=Fs(xt)?eo(xt,co):co,h=go("scroller-start",G,dt,ht,d,0),p=go("scroller-end",G,dt,ht,d,0,h),b=h["offset"+ht.op.d2];var At=Si(mi(dt,"content")||dt);c=this.markerStart=go("start",G,At,ht,d,b,0,lt),f=this.markerEnd=go("end",G,At,ht,d,b,0,lt),lt&&(N=zi.quickSetter([c,f],ht.a,Js)),mt||di.length&&!0===mi(dt,"fixedMarkers")||(W=to(U=_t?Ni:dt).position,U.style.position="absolute"===W||"fixed"===W?W:"relative",zi.set([h,p],{force3D:!0}),O=zi.quickSetter(h,ht.a,Js),A=zi.quickSetter(p,ht.a,Js))}if(lt){var Pt=lt.vars.onUpdate,Dt=lt.vars.onUpdateParams;lt.eventCallback("onUpdate",(function(){wt.update(0,0,1),Pt&&Pt.apply(lt,Dt||[])}))}if(wt.previous=function(){return mo[mo.indexOf(wt)-1]},wt.next=function(){return mo[mo.indexOf(wt)+1]},wt.revert=function(t,e){if(!e)return wt.kill(!0);var n=!1!==t||!wt.enabled,i=ji;n!==wt.isReverted&&(n&&(B=Math.max(Et(),wt.scroll.rec||0),Ot=wt.progress,Y=r&&r.progress()),c&&[c,f,h,p].forEach((function(t){return t.style.display=n?"none":"block"})),n&&(ji=wt,wt.update(n)),!J||at&&wt.isActive||(n?function(t,e,r){No(r);var n=t._gsap;if(n.spacerIsNative)No(n.spacerState);else if(t._gsap.swappedIn){var i=e.parentNode;i&&(i.insertBefore(t,e),i.removeChild(e))}t._gsap.swappedIn=!1}(J,x,m):Bo(J,x,to(J),S)),n||wt.update(n),ji=i,wt.isReverted=n)},wt.refresh=function(i,s,d,b){if(!ji&&wt.enabled||s)if(J&&i&&vs)ao(t,"scrollEnd",Mo);else{!hs&&Tt&&Tt(wt),ji=wt,n.tween&&(n.tween.kill(),n.tween=0),L&&L.pause(),et&&r&&r.revert({kill:!1}).invalidate(),wt.isReverted||wt.revert(!0,!0),wt._subPinOffset=!1;var T,C,O,A,P,D,R,z,F,N,X,q,U,W=kt(),V=Mt(),H=lt?lt.duration():Ps(dt,ht),j=_<=.01,G=0,Q=b||0,$=Fs(d)?d.end:e.end,rt=e.endTrigger||K,nt=Fs(d)?d.start:e.start||(0!==e.start&&K?J?"0 0":"0 100%":0),it=wt.pinnedContainer=e.pinnedContainer&&Si(e.pinnedContainer,wt),st=K&&Math.max(0,mo.indexOf(wt))||0,ot=st;for(xt&&Fs(d)&&(q=zi.getProperty(h,ht.p),U=zi.getProperty(p,ht.p));ot--;)(D=mo[ot]).end||D.refresh(0,1)||(ji=wt),!(R=D.pin)||R!==K&&R!==J&&R!==it||D.isReverted||(N||(N=[]),N.unshift(D),D.revert(!0,!0)),D!==mo[ot]&&(st--,ot--);for(Ls(nt)&&(nt=nt(wt)),nt=xs(nt,"start",wt),u=Uo(nt,K,W,ht,Et(),c,h,wt,V,bt,mt,H,lt,wt._startClamp&&"_startClamp")||(J?-.001:0),Ls($)&&($=$(wt)),Rs($)&&!$.indexOf("+=")&&(~$.indexOf(" ")?$=(Rs(nt)?nt.split(" ")[0]:"")+$:(G=po($.substr(2),W),$=Rs(nt)?nt:(lt?zi.utils.mapRange(0,lt.duration(),lt.scrollTrigger.start,lt.scrollTrigger.end,u):u)+G,rt=K)),$=xs($,"end",wt),l=Math.max(u,Uo($||(rt?"100% 0":H),rt,W,ht,Et()+G,f,p,wt,V,bt,mt,H,lt,wt._endClamp&&"_endClamp"))||-.001,G=0,ot=st;ot--;)(R=(D=mo[ot]).pin)&&D.start-D._pinPush<=u&&!lt&&D.end>0&&(T=D.end-(wt._startClamp?Math.max(0,D.start):D.start),(R===K&&D.start-D._pinPush1&&(X={style:X=(_t?Bi.scrollingElement||Yi:dt).style,value:X["overflow"+ht.a.toUpperCase()]},_t&&"scroll"!==to(Ni)["overflow"+ht.a.toUpperCase()]&&(X.style["overflow"+ht.a.toUpperCase()]="scroll")),Bo(J,x,T),y=Xo(J),C=ro(J,!0),z=mt&&Oi(dt,A?Mi:Ci)(),tt&&((S=[tt+ht.os2,_+Q+Js]).t=x,(ot=tt===Qs?no(J,ht)+_+Q:0)&&S.push(ht.d,ot+Js),No(S),it&&mo.forEach((function(t){t.pin===it&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)})),mt&&Et(B)),mt&&((P={top:C.top+(A?O-u:z)+Js,left:C.left+(A?z:O-u)+Js,boxSizing:"border-box",position:"fixed"})[Us]=P["max"+$s]=Math.ceil(C.width)+Js,P[Ws]=P["max"+Ks]=Math.ceil(C.height)+Js,P[Zs]=P[Zs+js]=P[Zs+Vs]=P[Zs+Gs]=P[Zs+Hs]="0",P[Qs]=T[Qs],P[Qs+js]=T[Qs+js],P[Qs+Vs]=T[Qs+Vs],P[Qs+Gs]=T[Qs+Gs],P[Qs+Hs]=T[Qs+Hs],v=function(t,e,r){for(var n,i=[],s=t.length,o=r?8:0;o1,mt&&E&&v.splice(v.length-2,2),r.render(0,!0,!0),F||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),es(0)):M=_,X&&(X.value?X.style["overflow"+ht.a.toUpperCase()]=X.value:X.style.removeProperty("overflow-"+ht.a));else if(K&&Et()&&!lt)for(C=K.parentNode;C&&C!==Ni;)C._pinOffset&&(u-=C._pinOffset,l-=C._pinOffset),C=C.parentNode;N&&N.forEach((function(t){return t.revert(!1,!0)})),wt.start=u,wt.end=l,o=a=hs?B:Et(),lt||hs||(o0?mo.slice(0,e).reverse():mo.slice(e+1);return(Rs(t)?r.filter((function(e){return e.vars.preventOverlaps===t})):r).filter((function(t){return wt.direction>0?t.end<=u:t.start>=l}))},wt.update=function(t,e,i){if(!lt||i||t){var s,c,f,p,d,g,m,b=!0===hs?B:wt.scroll(),w=t?0:(b-u)/_,S=w<0?0:w>1?1:w||0,P=wt.progress;if(e&&(a=o,o=lt?Et():b,ot&&(R=D,D=r&&!pt?r.totalProgress():S)),rt&&!S&&J&&!ji&&!gs&&vs&&uP?1:-1,wt.progress=S,p&&!ji&&(c=S&&!P?0:1===S?1:1===P?2:3,pt&&(f=!d&&"none"!==yt[c+1]&&yt[c+1]||yt[c],m=r&&("complete"===f||"reset"===f||f in r))),ft&&(d||m)&&(m||$||!r)&&(Ls(ft)?ft(wt):wt.getTrailing(ft).forEach((function(t){return t.endAnimation()}))),pt||(!L||ji||gs?r&&r.totalProgress(S,!(!ji||!St&&!t)):(L._dp._time-L._start!==L._time&&L.render(L._dp._time-L._start),L.resetTo?L.resetTo("totalProgress",S,r._tTime/r._tDur):(L.vars.totalProgress=S,L.invalidate().restart()))),J)if(t&&tt&&(x.style[tt+ht.os2]=C),mt){if(p){if(g=!t&&S>P&&l+1>b&&b+1>=Ps(dt,ht),at)if(t||!s&&!g)Vo(J,x);else{var z=ro(J,!0),F=b-u;Vo(J,Ni,z.top+(ht===Ci?F:0)+Js,z.left+(ht===Ci?0:F)+Js)}No(s||g?v:y),E&&S<1&&s||T(k+(1!==S||g?0:M))}}else T(Cs(k+M*S));ot&&!n.tween&&!ji&&!gs&&I.restart(!0),j&&(d||st&&S&&(S<1||!cs))&&Ui(j.targets).forEach((function(t){return t.classList[s||st?"add":"remove"](j.className)})),H&&!pt&&!t&&H(wt),p&&!ji?(pt&&(m&&("complete"===f?r.pause().totalProgress(1):"reset"===f?r.restart(!0).pause():"restart"===f?r.restart(!0):r[f]()),H&&H(wt)),!d&&cs||(Q&&d&&Bs(wt,Q),vt[c]&&Bs(wt,vt[c]),st&&(1===S?wt.kill(!1,1):vt[c]=0),d||vt[c=1===S?1:3]&&Bs(wt,vt[c])),ct&&!s&&Math.abs(wt.getVelocity())>(zs(ct)?ct:2500)&&(Is(wt.callbackAnimation),L?L.progress(1):Is(r,"reverse"===f?1:!S,1))):pt&&H&&!ji&&H(wt)}if(A){var Y=lt?b/lt.duration()*(lt._caScrollDist||0):b;O(Y+(h._isFlipped?1:0)),A(Y)}N&&N(-b/lt.duration()*(lt._caScrollDist||0))}},wt.enable=function(e,r){wt.enabled||(wt.enabled=!0,ao(dt,"resize",wo),ao(_t?Bi:dt,"scroll",xo),Tt&&ao(t,"refreshInit",Tt),!1!==e&&(wt.progress=Ot=0,o=a=Ct=Et()),!1!==r&&wt.refresh())},wt.getTween=function(t){return t&&n?n.tween:L},wt.setPositions=function(t,e,r,n){if(lt){var i=lt.scrollTrigger,s=lt.duration(),o=i.end-i.start;t=i.start+o*t/s,e=i.start+o*e/s}wt.refresh(!1,!1,{start:bs(t,r&&!!wt._startClamp),end:bs(e,r&&!!wt._endClamp)},n),wt.update()},wt.adjustPinSpacing=function(t){if(S&&t){var e=S.indexOf(ht.d)+1;S[e]=parseFloat(S[e])+t+Js,S[1]=parseFloat(S[1])+t+Js,No(S)}},wt.disable=function(e,r){if(wt.enabled&&(!1!==e&&wt.revert(!0,!0),wt.enabled=wt.isActive=!1,r||L&&L.pause(),B=0,i&&(i.uncache=1),Tt&&uo(t,"refreshInit",Tt),I&&(I.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!_t)){for(var s=mo.length;s--;)if(mo[s].scroller===dt&&mo[s]!==wt)return;uo(dt,"resize",wo),uo(dt,"scroll",xo)}},wt.kill=function(t,n){wt.disable(t,n),L&&!n&&L.kill(),G&&delete vo[G];var s=mo.indexOf(wt);s>=0&&mo.splice(s,1),s===Zi&&Lo>0&&Zi--,s=0,mo.forEach((function(t){return t.scroller===wt.scroller&&(s=1)})),s||hs||(wt.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),n||r.kill()),c&&[c,f,h,p].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),ds===wt&&(ds=0),J&&(i&&(i.uncache=1),s=0,mo.forEach((function(t){return t.pin===J&&s++})),s||(i.spacer=0)),e.onKill&&e.onKill(wt)},mo.push(wt),wt.enable(!1,!1),X&&X(wt),r&&r.add&&!_){var Rt=wt.update;wt.update=function(){wt.update=Rt,u||l||wt.refresh()},zi.delayedCall(.01,wt.update),_=.01,u=l=0}else wt.refresh();J&&function(){if(ps!==Po){var t=ps=Po;requestAnimationFrame((function(){return t===Po&&Do(!0)}))}}()}else this.update=this.refresh=this.kill=Ms},t.register=function(e){return Fi||(zi=e||Os(),Ss()&&window.document&&t.enable(),Fi=ys),Fi},t.defaults=function(t){if(t)for(var e in t)fo[e]=t[e];return fo},t.disable=function(t,e){ys=0,mo.forEach((function(r){return r[e?"kill":"disable"](t)})),uo(Ii,"wheel",xo),uo(Bi,"scroll",xo),clearInterval(Hi),uo(Bi,"touchcancel",Ms),uo(Ni,"touchstart",Ms),oo(uo,Bi,"pointerdown,touchstart,mousedown",Ts),oo(uo,Bi,"pointerup,touchend,mouseup",ks),qi.kill(),Ds(uo);for(var r=0;r0&&n.left+i0&&n.top+i=0&&So.splice(e,5),So.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),zi.core.getCache(t),us())}})):So},Qo.revert=function(t,e){return Eo(!t,e)},Qo.create=function(t,e){return new Qo(t,e)},Qo.refresh=function(t){return t?wo():(Fi||Qo.register())&&Do(!0)},Qo.update=function(t){return++pi.cache&&zo(!0===t?2:0)},Qo.clearScrollMemory=Ao,Qo.maxScroll=function(t,e){return Ps(t,e?Mi:Ci)},Qo.getScrollFunc=function(t,e){return Oi(Si(t),e?Mi:Ci)},Qo.getById=function(t){return vo[t]},Qo.getAll=function(){return mo.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},Qo.isScrolling=function(){return!!vs},Qo.snapDirectional=so,Qo.addEventListener=function(t,e){var r=To[t]||(To[t]=[]);~r.indexOf(e)||r.push(e)},Qo.removeEventListener=function(t,e){var r=To[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},Qo.batch=function(t,e){var r,n=[],i={},s=e.interval||.016,o=e.batchMax||1e9,a=function(t,e){var r=[],n=[],i=zi.delayedCall(s,(function(){e(r,n),r=[],n=[]})).pause();return function(t){r.length||i.restart(!0),r.push(t.trigger),n.push(t),o<=r.length&&i.progress(1)}};for(r in e)i[r]="on"===r.substr(0,2)&&Ls(e[r])&&"onRefreshInit"!==r?a(0,e[r]):e[r];return Ls(o)&&(o=o(),ao(Qo,"refresh",(function(){return o=e.batchMax()}))),Ui(t).forEach((function(t){var e={};for(r in i)e[r]=i[r];e.trigger=t,n.push(Qo.create(e))})),n};var Zo,$o=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},Ko=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(Li.isTouch?" pinch-zoom":""):"none",e===Yi&&t(Ni,r)},Jo={auto:1,scroll:1},ta=function(t){var e,r=t.event,n=t.target,i=t.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,o=s._gsap||zi.core.getCache(s),a=_s();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==Ni&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!Jo[(e=to(s)).overflowY]&&!Jo[e.overflowX]);)s=s.parentNode;o._isScroll=s&&s!==n&&!Es(s)&&(Jo[(e=to(s)).overflowY]||Jo[e.overflowX]),o._isScrollT=a}(o._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},ea=function(t,e,r,n){return Li.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&ta,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&ao(Bi,Li.eventTypes[0],na,!1,!0)},onDisable:function(){return uo(Bi,Li.eventTypes[0],na,!0)}})},ra=/(input|label|select|textarea)/i,na=function(t){var e=ra.test(t.target.tagName);(e||Zo)&&(t._gsapAllow=!0,Zo=e)};Qo.sort=function(t){return mo.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},Qo.observe=function(t){return new Li(t)},Qo.normalizeScroll=function(t){if(void 0===t)return ns;if(!0===t&&ns)return ns.enable();if(!1===t)return ns&&ns.kill();var e=t instanceof Li?t:function(t){Fs(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,o,a,u,l=t,c=l.normalizeScrollX,f=l.momentum,h=l.allowNestedScroll,p=l.onRelease,d=Si(t.target)||Yi,g=zi.core.globals().ScrollSmoother,_=g&&g.get(),m=as&&(t.content&&Si(t.content)||_&&!1!==t.content&&!_.smooth()&&_.content()),v=Oi(d,Ci),y=Oi(d,Mi),x=1,b=(Li.isTouch&&Ii.visualViewport?Ii.visualViewport.scale*Ii.visualViewport.width:Ii.outerWidth)/Ii.innerWidth,w=0,T=Ls(f)?function(){return f(e)}:function(){return f||2.8},k=ea(d,t.type,!0,h),M=function(){return i=!1},C=Ms,S=Ms,O=function(){r=Ps(d,Ci),S=Wi(as?1:0,r),c&&(C=Wi(0,Ps(d,Mi))),n=Po},E=function(){m._gsap.y=Cs(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(){O(),s.isActive()&&s.vars.scrollY>r&&(v()>r?s.progress(1)&&v(r):s.resetTo("scrollY",r))};return m&&zi.set(m,{y:"+=0"}),t.ignoreCheck=function(t){return as&&"touchmove"===t.type&&function(){if(i){requestAnimationFrame(M);var t=Cs(e.deltaY/2),r=S(v.v-t);if(m&&r!==v.v+v.offset){v.offset=r-v.v;var n=Cs((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=pi.cache,zo()}return!0}v.offset&&E(),i=!0}()||x>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){i=!1;var t=x;x=Cs((Ii.visualViewport&&Ii.visualViewport.scale||1)/b),s.pause(),t!==x&&Ko(d,x>1.01||!c&&"x"),o=y(),a=v(),O(),n=Po},t.onRelease=t.onGestureStart=function(t,e){if(v.offset&&E(),e){pi.cache++;var n,i,o=T();c&&(i=(n=y())+.05*o*-t.velocityX/.227,o*=$o(y,n,i,Ps(d,Mi)),s.vars.scrollX=C(i)),i=(n=v())+.05*o*-t.velocityY/.227,o*=$o(v,n,i,Ps(d,Ci)),s.vars.scrollY=S(i),s.invalidate().duration(o).play(.01),(as&&s.vars.scrollY>=r||n>=r-1)&&zi.to({},{onUpdate:A,duration:o})}else u.restart(!0);p&&p(t)},t.onWheel=function(){s._ts&&s.pause(),_s()-w>1e3&&(n=0,w=_s())},t.onChange=function(t,e,r,i,s){if(Po!==n&&O(),e&&c&&y(C(i[2]===e?o+(t.startX-t.x):y()+e-i[1])),r){v.offset&&E();var u=s[2]===r,l=u?a+t.startY-t.y:v()+r-s[1],f=S(l);u&&l!==f&&(a+=f-l),v(f)}(r||e)&&zo()},t.onEnable=function(){Ko(d,!c&&"x"),Qo.addEventListener("refresh",A),ao(Ii,"resize",A),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),k.enable()},t.onDisable=function(){Ko(d,!0),uo(Ii,"resize",A),Qo.removeEventListener("refresh",A),k.kill()},t.lockAxis=!1!==t.lockAxis,(e=new Li(t)).iOS=as,as&&!v()&&v(1),as&&zi.ticker.add(Ms),u=e._dc,s=zi.to(e,{ease:"power4",paused:!0,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Ho(v,v(),(function(){return s.pause()}))},onUpdate:zo,onComplete:u.vars.onComplete}),e}(t);return ns&&ns.target===e.target&&ns.kill(),Es(e.target)&&(ns=e),e},Qo.core={_getVelocityProp:Ei,_inputObserver:ea,_scrollers:pi,_proxies:di,bridge:{ss:function(){vs||Co("scrollStart"),vs=_s()},ref:function(){return ji}}},Os()&&zi.registerPlugin(Qo);var ia=r(65),sa=r.n(ia),oa="localhost"!==window.location.hostname;sa().setLevel(oa?"warn":"debug"),document.addEventListener("DOMContentLoaded",(function(){var r=document.querySelector(".theme-toggle");r.addEventListener("change",(function(){var t,e=r.checked;localStorage.setItem("theme",e),"false"===(t=localStorage.getItem("theme"))?document.body.classList.replace("dark-theme","light-theme"):null===t?console.log("theme is null"):document.body.classList.replace("light-theme","dark-theme")})),t.addEventListener("click",(function(){t.style.visibility="hidden",e.style.visibility="visible",n.classList.add("slide-in-left"),n.classList.remove("slide-out-left")})),e.addEventListener("click",(function(){t.style.visibility="visible",e.style.visibility="hidden",n.classList.add("slide-out-left"),n.classList.remove("slide-in-left")})),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=document.querySelector(t);if(!e)return console.warn("No element found with the selector: ".concat(t));e.addEventListener("mouseenter",(function(){Qn.to(e,{scale:1.5,duration:.5,ease:"bounce.out"})})),e.addEventListener("mouseleave",(function(){Qn.to(e,{scale:1,x:0,duration:.3,ease:"power2.out"})}))}("#toggle-input");var i=document.querySelector(".lang"),s=document.querySelector(".lang-wrapper"),o=document.querySelector(".lang-container__icon"),a=document.querySelector("#current-lang"),u=document.querySelector("#alt-lang"),l=document.querySelector(".lang-modal__icon");i.addEventListener("mouseenter",(function(t){s.classList.remove("u-hidden"),s.classList.remove("animate-out"),s.classList.add("animate-in"),o.classList.remove("return-counter"),o.classList.add("rotate-counter")})),i.addEventListener("mouseleave",(function(t){s.classList.add("u-hidden"),s.classList.remove("animate-in"),s.classList.add("animate-out"),o.classList.remove("rotate-counter"),o.classList.add("return-counter")}));var c=window.location.search;localStorage.setItem("lang",c);var f=localStorage.getItem("lang");null==f||("?lng=fr"===f?(a.textContent="Français",a.href="?lng=fr",u.innerHTML='flag of Canda Anglais',u.href="?lng=en",console.log("lang icon: ",l),l.src="/assets/canada-icon.png"):"?lng=en"===f&&(a.textContent="English",a.href="?lng=en",u.innerHTML='flag of Canda French',u.href="?lng=fr",l.src="/assets/france-icon.png"))}))})()})(); \ No newline at end of file diff --git a/client/dist/contact.bundle.js b/client/dist/contact.bundle.js new file mode 100644 index 0000000..3442de3 --- /dev/null +++ b/client/dist/contact.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see contact.bundle.js.LICENSE.txt */ +(()=>{var t={65:function(t,e,r){var n,i;!function(){"use strict";n=function(){var t=function(){},e="undefined",r=typeof window!==e&&typeof window.navigator!==e&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"],i={},o=null;function s(t,e){var r=t[e];if("function"==typeof r.bind)return r.bind(t);try{return Function.prototype.bind.call(r,t)}catch(e){return function(){return Function.prototype.apply.apply(r,[t,arguments])}}}function a(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function u(){for(var r=this.getLevel(),i=0;i=0&&e<=f.levels.SILENT)return e;throw new TypeError("log.setLevel() called with invalid level: "+t)}"string"==typeof t?h+=":"+t:"symbol"==typeof t&&(h=void 0),f.name=t,f.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},f.methodFactory=r||c,f.getLevel=function(){return null!=l?l:null!=a?a:s},f.setLevel=function(t,r){return l=d(t),!1!==r&&function(t){var r=(n[t]||"silent").toUpperCase();if(typeof window!==e&&h){try{return void(window.localStorage[h]=r)}catch(t){}try{window.document.cookie=encodeURIComponent(h)+"="+r+";"}catch(t){}}}(l),u.call(f)},f.setDefaultLevel=function(t){a=d(t),p()||f.setLevel(t,!1)},f.resetLevel=function(){l=null,function(){if(typeof window!==e&&h){try{window.localStorage.removeItem(h)}catch(t){}try{window.document.cookie=encodeURIComponent(h)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(t){}}}(),u.call(f)},f.enableAll=function(t){f.setLevel(f.levels.TRACE,t)},f.disableAll=function(t){f.setLevel(f.levels.SILENT,t)},f.rebuild=function(){if(o!==f&&(s=d(o.getLevel())),u.call(f),o===f)for(var t in i)i[t].rebuild()},s=d(o?o.getLevel():"WARN");var g=p();null!=g&&(l=d(g)),u.call(f)}(o=new f).getLogger=function(t){if("symbol"!=typeof t&&"string"!=typeof t||""===t)throw new TypeError("You must supply a name when creating a logger.");var e=i[t];return e||(e=i[t]=new f(t,o.methodFactory)),e};var h=typeof window!==e?window.log:void 0;return o.noConflict=function(){return typeof window!==e&&window.log===o&&(window.log=h),o},o.getLoggers=function(){return i},o.default=o,o},void 0===(i=n.call(e,r,e,t))||(t.exports=i)}()}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,r),o.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";function t(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var n,i,o,s,a,u,l,c,f,h,p,d,g,_,m,v,y,x={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},w={duration:.5,overwrite:!1,delay:0},b=1e8,T=1e-8,k=2*Math.PI,M=k/4,C=0,O=Math.sqrt,A=Math.cos,E=Math.sin,S=function(t){return"string"==typeof t},P=function(t){return"function"==typeof t},D=function(t){return"number"==typeof t},R=function(t){return void 0===t},z=function(t){return"object"==typeof t},F=function(t){return!1!==t},I=function(){return"undefined"!=typeof window},L=function(t){return P(t)||S(t)},B="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Y=Array.isArray,N=/(?:-?\.?\d|\.)+/gi,X=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,U=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,q=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,W=/[+-]=-?[.\d]+/,V=/[^,'"\[\]\s]+/gi,H=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,j={},G={},K=function(t){return(G=kt(t,j))&&kr},Q=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Z=function(t,e){return!e&&console.warn(t)},$=function(t,e){return t&&(j[t]=e)&&G&&(G[t]=e)||j},J=function(){return 0},tt={suppressEvents:!0,isStart:!0,kill:!1},et={suppressEvents:!0,kill:!1},rt={suppressEvents:!0},nt={},it=[],ot={},st={},at={},ut=30,lt=[],ct="",ft=function(t){var e,r,n=t[0];if(z(n)||P(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(r=lt.length;r--&&!lt[r].targetTest(n););e=lt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Be(t[r],e)))||t.splice(r,1);return t},ht=function(t){return t._gsap||ft(ee(t))[0]._gsap},pt=function(t,e,r){return(r=t[e])&&P(r)?t[e]():R(r)&&t.getAttribute&&t.getAttribute(e)||r},dt=function(t,e){return(t=t.split(",")).forEach(e)||t},gt=function(t){return Math.round(1e5*t)/1e5||0},_t=function(t){return Math.round(1e7*t)/1e7||0},mt=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},vt=function(t,e){for(var r=e.length,n=0;t.indexOf(e[n])<0&&++no;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=s,e.parent=e._dp=t,e},Et=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=e._prev,o=e._next;i?i._next=o:t[r]===e&&(t[r]=o),o?o._prev=i:t[n]===e&&(t[n]=i),e._next=e._prev=e.parent=null},St=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Pt=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},Dt=function(t,e,r,n){return t._startAt&&(i?t._startAt.revert(et):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},Rt=function t(e){return!e||e._ts&&t(e.parent)},zt=function(t){return t._repeat?Ft(t._tTime,t=t.duration()+t._rDelay)*t:0},Ft=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},It=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Lt=function(t){return t._end=_t(t._start+(t._tDur/Math.abs(t._ts||t._rts||T)||0))},Bt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=_t(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Lt(t),r._dirty||Pt(r,t)),t},Yt=function(t,e){var r;if((e._time||e._initted&&!e._dur)&&(r=It(t.rawTime(),e),(!e._dur||Zt(0,e.totalDuration(),r)-e._tTime>T)&&e.render(r,!0)),Pt(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}},Nt=function(t,e,r,n){return e.parent&&St(e),e._start=_t((D(r)?r:r||t!==s?Gt(t,r,e):t._time)+e._delay),e._end=_t(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),At(t,e,"_first","_last",t._sort?"_start":0),Wt(e)||(t._recent=e),n||Yt(t,e),t._ts<0&&Bt(t,t._tTime),t},Xt=function(t,e){return(j.ScrollTrigger||Q("scrollTrigger",e))&&j.ScrollTrigger.create(e,t)},Ut=function(t,e,r,n,o){return He(t,e,o),t._initted?!r&&t._pt&&!i&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==Me.frame?(it.push(t),t._lazy=[o,n],1):void 0:1},qt=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},Wt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Vt=function(t,e,r,n){var i=t._repeat,o=_t(e)||0,s=t._tTime/t._tDur;return s&&!n&&(t._time*=o/t._dur),t._dur=o,t._tDur=i?i<0?1e10:_t(o*(i+1)+t._rDelay*i):o,s>0&&!n&&Bt(t,t._tTime=t._tDur*s),t.parent&&Lt(t),r||Pt(t.parent,t),t},Ht=function(t){return t instanceof Ne?Pt(t):Vt(t,t._dur)},jt={_start:0,endTime:J,totalDuration:J},Gt=function t(e,r,n){var i,o,s,a=e.labels,u=e._recent||jt,l=e.duration()>=b?u.endTime(!1):e._dur;return S(r)&&(isNaN(r)||r in a)?(o=r.charAt(0),s="%"===r.substr(-1),i=r.indexOf("="),"<"===o||">"===o?(i>=0&&(r=r.replace(/=/,"")),("<"===o?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(s?(i<0?u:n).totalDuration()/100:1)):i<0?(r in a||(a[r]=l),a[r]):(o=parseFloat(r.charAt(i-1)+r.substr(i+1)),s&&n&&(o=o/100*(Y(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+o:l+o)):null==r?l:+r},Kt=function(t,e,r){var n,i,o=D(e[1]),s=(o?2:1)+(t<2?0:1),a=e[s];if(o&&(a.duration=e[1]),a.parent=r,t){for(n=a,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=F(i.vars.inherit)&&i.parent;a.immediateRender=F(n.immediateRender),t<2?a.runBackwards=1:a.startAt=e[s-1]}return new Ze(e[0],a,e[s+1])},Qt=function(t,e){return t||0===t?e(t):e},Zt=function(t,e,r){return re?e:r},$t=function(t,e){return S(t)&&(e=H.exec(t))?e[1]:""},Jt=[].slice,te=function(t,e){return t&&z(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&z(t[0]))&&!t.nodeType&&t!==a},ee=function(t,e,r){return o&&!e&&o.selector?o.selector(t):!S(t)||r||!u&&Ce()?Y(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var n;return S(t)&&!e||te(t,1)?(n=r).push.apply(n,ee(t)):r.push(t)}))||r}(t,r):te(t)?Jt.call(t,0):t?[t]:[]:Jt.call((e||l).querySelectorAll(t),0)},re=function(t){return t=ee(t)[0]||Z("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return ee(e,r.querySelectorAll?r:r===t?Z("Invalid scope")||l.createElement("div"):t)}},ne=function(t){return t.sort((function(){return.5-Math.random()}))},ie=function(t){if(P(t))return t;var e=z(t)?t:{each:t},r=Re(e.ease),n=e.from||0,i=parseFloat(e.base)||0,o={},s=n>0&&n<1,a=isNaN(n)||s,u=e.axis,l=n,c=n;return S(n)?l=c={center:.5,edges:.5,end:1}[n]||0:!s&&a&&(l=n[0],c=n[1]),function(t,s,f){var h,p,d,g,_,m,v,y,x,w=(f||e).length,T=o[w];if(!T){if(!(x="auto"===e.grid?0:(e.grid||[1,b])[1])){for(v=-b;v<(v=f[x++].getBoundingClientRect().left)&&xv&&(v=_),_w?w-1:u?"y"===u?w/x:x:Math.max(x,w/x))||0)*("edges"===n?-1:1),T.b=w<0?i-w:i,T.u=$t(e.amount||e.each)||0,r=r&&w<0?Pe(r):r}return w=(T[t]-T.min)/T.max||0,_t(T.b+(r?r(w):w)*T.v)+T.u}},oe=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=_t(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(D(r)?0:$t(r))}},se=function(t,e){var r,n,i=Y(t);return!i&&z(t)&&(r=i=t.radius||b,t.values?(t=ee(t.values),(n=!D(t[0]))&&(r*=r)):t=oe(t.increment)),Qt(e,i?P(t)?function(e){return n=t(e),Math.abs(n-e)<=r?n:e}:function(e){for(var i,o,s=parseFloat(n?e.x:e),a=parseFloat(n?e.y:0),u=b,l=0,c=t.length;c--;)(i=n?(i=t[c].x-s)*i+(o=t[c].y-a)*o:Math.abs(t[c]-s))(i=Math.abs(i))&&(o=n,a=i);return o},he=function(t,e,r){var n,i,s,a=t.vars,u=a[e],l=o,c=t._ctx;if(u)return n=a[e+"Params"],i=a.callbackScope||t,r&&it.length&&yt(),c&&(o=c),s=n?u.apply(i,n):u.call(i),o=l,s},pe=function(t){return St(t),t.scrollTrigger&&t.scrollTrigger.kill(!!i),t.progress()<1&&he(t,"onInterrupt"),t},de=[],ge=function(t){if(I()&&t){var e=(t=!t.name&&t.default||t).name,r=P(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:J,render:sr,add:We,kill:ur,modifier:ar,rawVars:0},o={targetTest:0,get:0,getSetter:rr,aliases:{},register:0};if(Ce(),t!==n){if(st[e])return;Tt(n,Tt(Ct(t,i),o)),kt(n.prototype,kt(i,Ct(t,o))),st[n.prop=e]=n,t.targetTest&&(lt.push(n),nt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}$(e,n),t.register&&t.register(kr,n,fr)}else t&&de.push(t)},_e=255,me={aqua:[0,_e,_e],lime:[0,_e,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_e],navy:[0,0,128],white:[_e,_e,_e],olive:[128,128,0],yellow:[_e,_e,0],orange:[_e,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_e,0,0],pink:[_e,192,203],cyan:[0,_e,_e],transparent:[_e,_e,_e,0]},ve=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)*_e+.5|0},ye=function(t,e,r){var n,i,o,s,a,u,l,c,f,h,p=t?D(t)?[t>>16,t>>8&_e,t&_e]:0:me.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),me[t])p=me[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),i=t.charAt(2),o=t.charAt(3),t="#"+n+n+i+i+o+o+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&_e,p&_e,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&_e,t&_e]}else if("hsl"===t.substr(0,3))if(p=h=t.match(N),e){if(~t.indexOf("="))return p=t.match(X),r&&p.length<4&&(p[3]=1),p}else s=+p[0]%360/360,a=+p[1]/100,n=2*(u=+p[2]/100)-(i=u<=.5?u*(a+1):u+a-u*a),p.length>3&&(p[3]*=1),p[0]=ve(s+1/3,n,i),p[1]=ve(s,n,i),p[2]=ve(s-1/3,n,i);else p=t.match(N)||me.transparent;p=p.map(Number)}return e&&!h&&(n=p[0]/_e,i=p[1]/_e,o=p[2]/_e,u=((l=Math.max(n,i,o))+(c=Math.min(n,i,o)))/2,l===c?s=a=0:(f=l-c,a=u>.5?f/(2-l-c):f/(l+c),s=l===n?(i-o)/f+(if&&(d+=y-h),((u=(c=(g+=y)-d)-m)>0||x)&&(p=++n.frame,i=c-1e3*n.time,n.time=c/=1e3,m+=u+(u>=_?4:_-u),l=1),x||(t=e(r)),l)for(o=0;o=e&&o--},_listeners:v}}(),Ce=function(){return!p&&Me.wake()},Oe={},Ae=/^[\d.\-M][\d.\-,\s]/,Ee=/["']/g,Se=function(t){for(var e,r,n,i={},o=t.substr(1,t.length-3).split(":"),s=o[0],a=1,u=o.length;a1&&s.config?s.config.apply(null,~t.indexOf("{")?[Se(o[1])]:(e=t,r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r),e.substring(r,~i&&i=1?r:1,o=(n||(e?.3:.45))/(r<1?r:1),s=o/k*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*E((t-s)*o)+1},u="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Fe(a);return o=k/o,u.config=function(r,n){return t(e,r,n)},u},Le=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)}:Fe(n);return i.config=function(r){return t(e,r)},i};dt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;ze(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(2*(1-t),r)/2}))})),Oe.Linear.easeNone=Oe.none=Oe.Linear.easeIn,ze("Elastic",Ie("in"),Ie("out"),Ie()),d=7.5625,m=2*(_=1/(g=2.75)),v=2.5*_,ze("Bounce",(function(t){return 1-y(1-t)}),y=function(t){return t<_?d*t*t:t0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Vt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Ce(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Bt(this,t),!r._dp||r.parent||Yt(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)&&Nt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===T||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),xt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+zt(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.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+zt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Ft(this._tTime,r)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?It(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(Zt(-Math.abs(this._delay),this._tDur,e),!0),Lt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(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):(Ce(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==T&&(this._tTime-=T)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Nt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(F(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&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?It(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=rt);var e=i;return i=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),i=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(e._ts||1),e=e._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1:this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Ht(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Ht(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(Gt(this,t),F(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,F(e))},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;return new Promise((function(r){var n=P(t)?t:bt,i=function(){var t=e.then;e.then=null,P(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),r(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){pe(this)},t}();Tt(Ye.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 Ne=function(r){function n(e,n){var i;return void 0===e&&(e={}),(i=r.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=F(e.sortChildren),s&&Nt(e.parent||s,t(i),n),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&Xt(t(i),e.scrollTrigger),i}e(n,r);var o=n.prototype;return o.to=function(t,e,r){return Kt(0,arguments,this),this},o.from=function(t,e,r){return Kt(1,arguments,this),this},o.fromTo=function(t,e,r,n){return Kt(2,arguments,this),this},o.set=function(t,e,r){return e.duration=0,e.parent=this,Ot(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Ze(t,e,Gt(this,r),1),this},o.call=function(t,e,r){return Nt(this,Ze.delayedCall(0,t,e),r)},o.staggerTo=function(t,e,r,n,i,o,s){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=o,r.onCompleteParams=s,r.parent=this,new Ze(t,r,Gt(this,i)),this},o.staggerFrom=function(t,e,r,n,i,o,s){return r.runBackwards=1,Ot(r).immediateRender=F(r.immediateRender),this.staggerTo(t,e,r,n,i,o,s)},o.staggerFromTo=function(t,e,r,n,i,o,s,a){return n.startAt=r,Ot(n).immediateRender=F(n.immediateRender),this.staggerTo(t,e,n,i,o,s,a)},o.render=function(t,e,r){var n,o,a,u,l,c,f,h,p,d,g,_,m=this._time,v=this._dirty?this.totalDuration():this._tDur,y=this._dur,x=t<=0?0:_t(t),w=this._zTime<0!=t<0&&(this._initted||!y);if(this!==s&&x>v&&t>=0&&(x=v),x!==this._tTime||r||w){if(m!==this._time&&y&&(x+=this._time-m,t+=this._time-m),n=x,p=this._start,c=!(h=this._ts),w&&(y||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(g=this._yoyo,l=y+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*l+t,e,r);if(n=_t(x%l),x===v?(u=this._repeat,n=y):((u=~~(x/l))&&u===x/l&&(n=y,u--),n>y&&(n=y)),d=Ft(this._tTime,l),!m&&this._tTime&&d!==u&&this._tTime-d*l-this._dur<=0&&(d=u),g&&1&u&&(n=y-n,_=1),u!==d&&!this._lock){var b=g&&1&d,k=b===(g&&1&u);if(ue)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._start=m&&t>=0)for(o=this._first;o;){if(a=o._next,(o._act||n>=o._start)&&o._ts&&f!==o){if(o.parent!==this)return this.render(t,e,r);if(o.render(o._ts>0?(n-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(n-o._start)*o._ts,e,r),n!==this._time||!this._ts&&!c){f=0,a&&(x+=this._zTime=-1e-8);break}}o=a}else{o=this._last;for(var M=t<0?t:n;o;){if(a=o._prev,(o._act||M<=o._end)&&o._ts&&f!==o){if(o.parent!==this)return this.render(t,e,r);if(o.render(o._ts>0?(M-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(M-o._start)*o._ts,e,r||i&&(o._initted||o._startAt)),n!==this._time||!this._ts&&!c){f=0,a&&(x+=this._zTime=M?-1e-8:T);break}}o=a}}if(f&&!e&&(this.pause(),f.render(n>=m?0:-1e-8)._zTime=n>=m?1:-1,this._ts))return this._start=p,Lt(this),this.render(t,e,r);this._onUpdate&&!e&&he(this,"onUpdate",!0),(x===v&&this._tTime>=this.totalDuration()||!x&&m)&&(p!==this._start&&Math.abs(h)===Math.abs(this._ts)||this._lock||((t||!y)&&(x===v&&this._ts>0||!x&&this._ts<0)&&St(this,1),e||t<0&&!m||!x&&!m&&v||(he(this,x===v&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(x0)&&this._prom())))}return this},o.add=function(t,e){var r=this;if(D(e)||(e=Gt(this,e,t)),!(t instanceof Ye)){if(Y(t))return t.forEach((function(t){return r.add(t,e)})),this;if(S(t))return this.addLabel(t,e);if(!P(t))return this;t=Ze.delayedCall(0,t)}return this!==t?Nt(this,t,e):this},o.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=-b);for(var i=[],o=this._first;o;)o._start>=n&&(o instanceof Ze?e&&i.push(o):(r&&i.push(o),t&&i.push.apply(i,o.getChildren(!0,e,r)))),o=o._next;return i},o.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},o.remove=function(t){return S(t)?this.removeLabel(t):P(t)?this.killTweensOf(t):(Et(this,t),t===this._recent&&(this._recent=this._last),Pt(this))},o.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=_t(Me.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),r.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},o.addLabel=function(t,e){return this.labels[t]=Gt(this,e),this},o.removeLabel=function(t){return delete this.labels[t],this},o.addPause=function(t,e,r){var n=Ze.delayedCall(0,e||J,r);return n.data="isPause",this._hasPause=1,Nt(this,n,Gt(this,t))},o.removePause=function(t){var e=this._first;for(t=Gt(this,t);e;)e._start===t&&"isPause"===e.data&&St(e),e=e._next},o.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)Xe!==n[i]&&n[i].kill(t,e);return this},o.getTweensOf=function(t,e){for(var r,n=[],i=ee(t),o=this._first,s=D(e);o;)o instanceof Ze?vt(o._targets,i)&&(s?(!Xe||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&n.push(o):(r=o.getTweensOf(i,e)).length&&n.push.apply(n,r),o=o._next;return n},o.tweenTo=function(t,e){e=e||{};var r,n=this,i=Gt(n,t),o=e,s=o.startAt,a=o.onStart,u=o.onStartParams,l=o.immediateRender,c=Ze.to(n,Tt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(s&&"time"in s?s.time:n._time))/n.timeScale())||T,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(s&&"time"in s?s.time:n._time))/n.timeScale());c._dur!==t&&Vt(c,t,0,1).render(c._time,!0,!0),r=1}a&&a.apply(c,u||[])}},e));return l?c.render(0):c},o.tweenFromTo=function(t,e,r){return this.tweenTo(e,Tt({startAt:{time:Gt(this,t)}},r))},o.recent=function(){return this._recent},o.nextLabel=function(t){return void 0===t&&(t=this._time),fe(this,Gt(this,t))},o.previousLabel=function(t){return void 0===t&&(t=this._time),fe(this,Gt(this,t),1)},o.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+T)},o.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var n,i=this._first,o=this.labels;i;)i._start>=r&&(i._start+=t,i._end+=t),i=i._next;if(e)for(n in o)o[n]>=r&&(o[n]+=t);return Pt(this)},o.invalidate=function(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return r.prototype.invalidate.call(this,t)},o.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={}),Pt(this)},o.totalDuration=function(t){var e,r,n,i=0,o=this,a=o._last,u=b;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-t:t));if(o._dirty){for(n=o.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(r=a._start)>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,Nt(o,a,r-a._delay,1)._lock=0):u=r,r<0&&a._ts&&(i-=r,(!n&&!o._dp||n&&n.smoothChildTiming)&&(o._start+=r/o._ts,o._time-=r,o._tTime-=r),o.shiftChildren(-r,!1,-Infinity),u=0),a._end>i&&a._ts&&(i=a._end),a=e;Vt(o,o===s&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},n.updateRoot=function(t){if(s._ts&&(xt(s,It(t,s)),f=Me.frame),Me.frame>=ut){ut+=x.autoSleep||120;var e=s._first;if((!e||!e._ts)&&x.autoSleep&&Me._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Me.sleep()}}},n}(Ye);Tt(Ne.prototype,{_lock:0,_hasPause:0,_forcing:0});var Xe,Ue,qe=function(t,e,r,n,i,o,s){var a,u,l,c,f,h,p,d,g=new fr(this._pt,t,e,0,1,or,null,i),_=0,m=0;for(g.b=r,g.e=n,r+="",(p=~(n+="").indexOf("random("))&&(n=le(n)),o&&(o(d=[r,n],t,e),r=d[0],n=d[1]),u=r.match(q)||[];a=q.exec(n);)c=a[0],f=n.substring(_,a.index),l?l=(l+1)%5:"rgba("===f.substr(-5)&&(l=1),c!==u[m++]&&(h=parseFloat(u[m-1])||0,g._pt={_next:g._pt,p:f||1===m?f:",",s:h,c:"="===c.charAt(1)?mt(h,c)-h:parseFloat(c)-h,m:l&&l<4?Math.round:0},_=q.lastIndex);return g.c=_")})),l.duration();else{for(p in f={},k)"ease"===p||"easeEach"===p||je(p,k[p],f,k.easeEach);for(p in f)for(S=f[p].sort((function(t,e){return t.t-e.t})),I=0,c=0;cd-T&&!_?d:tg&&(n=g)),(l=this._yoyo&&1&s)&&(h=this._yEase,n=g-n),u=Ft(this._tTime,a),n===p&&!r&&this._initted)return this._tTime=m,this;s!==u&&(f&&this._yEase&&De(f,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=r=1,this.render(_t(a*s),!0).invalidate()._lock=0))}if(!this._initted){if(Ut(this,_?t:n,r,e,m))return this._tTime=0,this;if(p!==this._time)return this;if(g!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(h||this._ease)(n/g),this._from&&(this.ratio=c=1-c),n&&!p&&!e&&!s&&(he(this,"onStart"),this._tTime!==m))return this;for(o=this._pt;o;)o.r(c,o.d),o=o._next;f&&f.render(t<0?t:!n&&l?-1e-8:f._dur*f._ease(n/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Dt(this,t,0,r),he(this,"onUpdate")),this._repeat&&s!==u&&this.vars.onRepeat&&!e&&this.parent&&he(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Dt(this,t,0,!0),(t||!g)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&St(this,1),e||_&&!p||!(m||p||l)||(he(this,m===d?"onComplete":"onReverseComplete",!0),this._prom&&!(m0)&&this._prom()))}}else!function(t,e,r,n){var o,s,a,u=t.ratio,l=e<0||!e&&(!t._start&&qt(t)&&(t._initted||!Wt(t))||(t._ts<0||t._dp._ts<0)&&!Wt(t))?0:1,c=t._rDelay,f=0;if(c&&t._repeat&&(f=Zt(0,t._tDur,e),s=Ft(f,c),t._yoyo&&1&s&&(l=1-l),s!==Ft(t._tTime,c)&&(u=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==u||i||n||t._zTime===T||!e&&t._zTime){if(!t._initted&&Ut(t,e,n,r,f))return;for(a=t._zTime,t._zTime=e||(r?T:0),r||(r=e&&!a),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=f,o=t._pt;o;)o.r(l,o.d),o=o._next;e<0&&Dt(t,e,0,!0),t._onUpdate&&!r&&he(t,"onUpdate"),f&&t._repeat&&!r&&t.parent&&he(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&St(t,1),r||i||(he(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},a.targets=function(){return this._targets},a.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),r.prototype.invalidate.call(this,t)},a.resetTo=function(t,e,r,n){p||Me.wake(),this._ts||this.play();var i=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||He(this,i),function(t,e,r,n,i,o,s){var a,u,l,c,f=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!f)for(f=t._ptCache[e]=[],l=t._ptLookup,c=t._targets.length;c--;){if((a=l[c][e])&&a.d&&a.d._pt)for(a=a.d._pt;a&&a.p!==e&&a.fp!==e;)a=a._next;if(!a)return Ue=1,t.vars[e]="+=0",He(t,s),Ue=0,1;f.push(a)}for(c=f.length;c--;)(a=(u=f[c])._pt||u).s=!n&&0!==n||i?a.s+(n||0)+o*a.c:n,a.c=r-a.s,u.e&&(u.e=gt(r)+$t(u.e)),u.b&&(u.b=a.s+$t(u.b))}(this,t,e,r,n,this._ease(i/this._dur),i)?this.resetTo(t,e,r,n):(Bt(this,0),this.parent||At(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},a.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?pe(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Xe&&!0!==Xe.vars.overwrite)._first||pe(this),this.parent&&r!==this.timeline.totalDuration()&&Vt(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,o,s,a,u,l,c=this._targets,f=t?ee(t):c,h=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0}(c,f))return"all"===e&&(this._pt=0),pe(this);for(n=this._op=this._op||[],"all"!==e&&(S(e)&&(a={},dt(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var r,n,i,o,s=t[0]?ht(t[0]).harness:0,a=s&&s.aliases;if(!a)return e;for(n in r=kt({},e),a)if(n in r)for(i=(o=a[n].split(",")).length;i--;)r[o[i]]=r[n];return r}(c,e)),l=c.length;l--;)if(~f.indexOf(c[l]))for(a in i=h[l],"all"===e?(n[l]=e,s=i,o={}):(o=n[l]=n[l]||{},s=e),s)(u=i&&i[a])&&("kill"in u.d&&!0!==u.d.kill(a)||Et(this,u,"_pt"),delete i[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&p&&pe(this),this},o.to=function(t,e){return new o(t,e,arguments[2])},o.from=function(t,e){return Kt(1,arguments)},o.delayedCall=function(t,e,r,n){return new o(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:n})},o.fromTo=function(t,e,r){return Kt(2,arguments)},o.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new o(t,e)},o.killTweensOf=function(t,e,r){return s.killTweensOf(t,e,r)},o}(Ye);Tt(Ze.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),dt("staggerTo,staggerFrom,staggerFromTo",(function(t){Ze[t]=function(){var e=new Ne,r=Jt.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var $e=function(t,e,r){return t[e]=r},Je=function(t,e,r){return t[e](r)},tr=function(t,e,r,n){return t[e](n.fp,r)},er=function(t,e,r){return t.setAttribute(e,r)},rr=function(t,e){return P(t[e])?Je:R(t[e])&&t.setAttribute?er:$e},nr=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},ir=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},or=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(1e4*(r.s+r.c*t))/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},sr=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ar=function(t,e,r,n){for(var i,o=this._pt;o;)i=o._next,o.p===n&&o.modifier(t,e,r),o=i},ur=function(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?Et(this,n,"_pt"):n.dep||(e=1),n=r;return!e},lr=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},cr=function(t){for(var e,r,n,i,o=t._pt;o;){for(e=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:i)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:i=o,o=e}t._pt=n},fr=function(){function t(t,e,r,n,i,o,s,a,u){this.t=e,this.s=n,this.c=i,this.p=r,this.r=o||nr,this.d=s||this,this.set=a||$e,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=lr,this.m=t,this.mt=r,this.tween=e},t}();dt(ct+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return nt[t]=1})),j.TweenMax=j.TweenLite=Ze,j.TimelineLite=j.TimelineMax=Ne,s=new Ne({sortChildren:!1,defaults:w,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),x.stringFilter=ke;var hr=[],pr={},dr=[],gr=0,_r=0,mr=function(t){return(pr[t]||dr).map((function(t){return t()}))},vr=function(){var t=Date.now(),e=[];t-gr>2&&(mr("matchMediaInit"),hr.forEach((function(t){var r,n,i,o,s=t.queries,u=t.conditions;for(n in s)(r=a.matchMedia(s[n]).matches)&&(i=1),r!==u[n]&&(u[n]=r,o=1);o&&(t.revert(),i&&e.push(t))})),mr("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t)})),gr=t,mr("matchMedia"))},yr=function(){function t(t,e){this.selector=e&&re(e),this.data=[],this._r=[],this.isReverted=!1,this.id=_r++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){P(t)&&(r=e,e=t,t=P);var n=this,i=function(){var t,i=o,s=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=re(r)),o=n,t=e.apply(n,arguments),P(t)&&n._r.push(t),o=i,n.selector=s,n.isReverted=!1,t};return n.last=i,t===P?i(n):t?n[t]=i:i},e.ignore=function(t){var e=o;o=null,t(this),o=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof Ze&&!(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){var n=this.getTweens();this.data.forEach((function(t){"isFlip"===t.data&&(t.revert(),t.getChildren(!0,!0,!1).forEach((function(t){return n.splice(n.indexOf(t),1)})))})),n.map((function(t){return{g:t.globalTime(0),t}})).sort((function(t,e){return e.g-t.g||-1})).forEach((function(e){return e.t.revert(t)})),this.data.forEach((function(e){return e instanceof Ne?"nested"!==e.data&&e.kill():!(e instanceof Ze)&&e.revert&&e.revert(t)})),this._r.forEach((function(e){return e(t,r)})),this.isReverted=!0}else this.data.forEach((function(t){return t.kill&&t.kill()}));if(this.clear(),e)for(var i=hr.length;i--;)hr[i].id===this.id&&hr.splice(i,1)},e.revert=function(t){this.kill(t||{})},t}(),xr=function(){function t(t){this.contexts=[],this.scope=t}var e=t.prototype;return e.add=function(t,e,r){z(t)||(t={matches:t});var n,i,s,u=new yr(0,r||this.scope),l=u.conditions={};for(i in o&&!u.selector&&(u.selector=o.selector),this.contexts.push(u),e=u.add("onMatch",e),u.queries=t,t)"all"===i?s=1:(n=a.matchMedia(t[i]))&&(hr.indexOf(u)<0&&hr.push(u),(l[i]=n.matches)&&(s=1),n.addListener?n.addListener(vr):n.addEventListener("change",vr));return s&&e(u),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),wr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var n=t.map((function(t){return kr.quickSetter(t,e,r)})),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var o=st[e],s=ht(t),a=s.harness&&(s.harness.aliases||{})[e]||e,u=o?function(e){var n=new o;h._pt=0,n.init(t,r?e+r:e,h,0,[t]),n.render(1,n),h._pt&&sr(1,h)}:s.set(t,a);return o?u:function(e){return u(t,a,r?e+r:e,s,1)}},quickTo:function(t,e,r){var n,i=kr.to(t,kt(((n={})[e]="+=0.1",n.paused=!0,n),r||{})),o=function(t,r,n){return i.resetTo(e,t,r,n)};return o.tween=i,o},isTweening:function(t){return s.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Re(t.ease,w.ease)),Mt(w,t||{})},config:function(t){return Mt(x,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,i=t.defaults,o=t.extendTimeline;(n||"").split(",").forEach((function(t){return t&&!st[t]&&!j[t]&&Z(e+" effect requires "+t+" plugin.")})),at[e]=function(t,e,n){return r(ee(t),Tt(e||{},i),n)},o&&(Ne.prototype[e]=function(t,r,n){return this.add(at[e](t,z(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){Oe[t]=Re(e)},parseEase:function(t,e){return arguments.length?Re(t,e):Oe},getById:function(t){return s.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new Ne(t);for(i.smoothChildTiming=F(t.smoothChildTiming),s.remove(i),i._dp=0,i._time=i._tTime=s._time,r=s._first;r;)n=r._next,!e&&!r._dur&&r instanceof Ze&&r.vars.onComplete===r._targets[0]||Nt(i,r,r._start-r._delay),r=n;return Nt(s,i,0),i},context:function(t,e){return t?new yr(t,e):o},matchMedia:function(t){return new xr(t)},matchMediaRefresh:function(){return hr.forEach((function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()}))||vr()},addEventListener:function(t,e){var r=pr[t]||(pr[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=pr[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function t(e,r,n){var i=r-e;return Y(e)?ue(e,t(0,e.length),r):Qt(n,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,r,n){var i=r-e,o=2*i;return Y(e)?ue(e,t(0,e.length-1),r):Qt(n,(function(t){return e+((t=(o+(t-e)%o)%o||0)>i?o-t:t)}))},distribute:ie,random:ae,snap:se,normalize:function(t,e,r){return ce(t,e,0,1,r)},getUnit:$t,clamp:function(t,e,r){return Qt(r,(function(r){return Zt(t,e,r)}))},splitColor:ye,toArray:ee,selector:re,mapRange:ce,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(tn,r,"")),e=Jr}(o||r)&&this.props.push(e,r,o[e])},rn=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},nn=function(){var t,e,r=this.props,n=this.target,i=n.style,o=n._gsap;for(t=0;t=0?un[i]:"")+t},cn=function(){"undefined"!=typeof window&&window.document&&(Mr=window,Cr=Mr.document,Or=Cr.documentElement,Er=sn("div")||{style:{}},sn("div"),Jr=ln(Jr),tn=Jr+"Origin",Er.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Dr=!!ln("perspective"),Pr=kr.core.reverting,Ar=1)},fn=function t(e){var r,n=sn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(Or.appendChild(n),n.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(r=this._gsapBBox());return i&&(o?i.insertBefore(this,o):i.appendChild(this)),Or.removeChild(n),this.style.cssText=s,r},hn=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},pn=function(t){var e;try{e=t.getBBox()}catch(r){e=fn.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===fn||(e=fn.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+hn(t,["x","cx","x1"])||0,y:+hn(t,["y","cy","y1"])||0,width:0,height:0}},dn=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!pn(t))},gn=function(t,e){if(e){var r=t.style;e in Rr&&e!==tn&&(e=Jr),r.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),r.removeProperty(e.replace(Lr,"-$1").toLowerCase())):r.removeAttribute(e)}},_n=function(t,e,r,n,i,o){var s=new fr(t._pt,e,r,0,1,o?Hr:Vr);return t._pt=s,s.b=n,s.e=i,t._props.push(r),s},mn={deg:1,rad:1,turn:1},vn={grid:1,flex:1},yn=function t(e,r,n,i){var o,s,a,u,l=parseFloat(n)||0,c=(n+"").trim().substr((l+"").length)||"px",f=Er.style,h=Br.test(r),p="svg"===e.tagName.toLowerCase(),d=(p?"client":"offset")+(h?"Width":"Height"),g=100,_="px"===i,m="%"===i;return i===c||!l||mn[i]||mn[c]?l:("px"!==c&&!_&&(l=t(e,r,n,"px")),u=e.getCTM&&dn(e),!m&&"%"!==c||!Rr[r]&&!~r.indexOf("adius")?(f[h?"width":"height"]=g+(_?c:i),s=~r.indexOf("adius")||"em"===i&&e.appendChild&&!p?e:e.parentNode,u&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==Cr&&s.appendChild||(s=Cr.body),(a=s._gsap)&&m&&a.width&&h&&a.time===Me.time&&!a.uncache?gt(l/a.width*g):((m||"%"===c)&&!vn[an(s,"display")]&&(f.position=an(e,"position")),s===e&&(f.position="static"),s.appendChild(Er),o=Er[d],s.removeChild(Er),f.position="absolute",h&&m&&((a=ht(s)).time=Me.time,a.width=s[d]),gt(_?o*l/g:o&&l?g/o*l:0))):(o=u?e.getBBox()[h?"width":"height"]:e[d],gt(m?l/o*g:l/100*o)))},xn=function(t,e,r,n){var i;return Ar||cn(),e in Nr&&"transform"!==e&&~(e=Nr[e]).indexOf(",")&&(e=e.split(",")[0]),Rr[e]&&"transform"!==e?(i=Pn(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Dn(an(t,tn))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=kn[e]&&kn[e](t,e,r)||an(t,e)||pt(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?yn(t,e,i,r)+r:i},wn=function(t,e,r,n){if(!r||"none"===r){var i=ln(e,t,1),o=i&&an(t,i,1);o&&o!==r?(e=i,r=o):"borderColor"===e&&(r=an(t,"borderTopColor"))}var s,a,u,l,c,f,h,p,d,g,_,m=new fr(this._pt,t.style,e,0,1,or),v=0,y=0;if(m.b=r,m.e=n,r+="","auto"==(n+="")&&(t.style[e]=n,n=an(t,e)||n,t.style[e]=r),ke(s=[r,n]),n=s[1],u=(r=s[0]).match(U)||[],(n.match(U)||[]).length){for(;a=U.exec(n);)h=a[0],d=n.substring(v,a.index),c?c=(c+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(c=1),h!==(f=u[y++]||"")&&(l=parseFloat(f)||0,_=f.substr((l+"").length),"="===h.charAt(1)&&(h=mt(l,h)+_),p=parseFloat(h),g=h.substr((p+"").length),v=U.lastIndex-g.length,g||(g=g||x.units[e]||_,v===n.length&&(n+=g,m.e+=g)),_!==g&&(l=yn(t,e,f,g)||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;)r=a[i],Rr[r]&&(n=1,r="transformOrigin"===r?tn:Jr),gn(o,r);n&&(gn(o,Jr),u&&(u.svg&&o.removeAttribute("transform"),Pn(o,1),u.uncache=1,rn(s)))}},kn={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var o=t._pt=new fr(t._pt,e,r,0,0,Tn);return o.u=n,o.pr=-10,o.tween=i,t._props.push(r),1}}},Mn=[1,0,0,1,0,0],Cn={},On=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},An=function(t){var e=an(t,Jr);return On(e)?Mn:e.substr(7).match(X).map(gt)},En=function(t,e){var r,n,i,o,s=t._gsap||ht(t),a=t.style,u=An(t);return s.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(",")?Mn:u:(u!==Mn||t.offsetParent||t===Or||s.svg||(i=a.display,a.display="block",(r=t.parentNode)&&t.offsetParent||(o=1,n=t.nextElementSibling,Or.appendChild(t)),u=An(t),i?a.display=i:gn(t,"display"),o&&(n?r.insertBefore(t,n):r?r.appendChild(t):Or.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},Sn=function(t,e,r,n,i,o){var s,a,u,l=t._gsap,c=i||En(t,!0),f=l.xOrigin||0,h=l.yOrigin||0,p=l.xOffset||0,d=l.yOffset||0,g=c[0],_=c[1],m=c[2],v=c[3],y=c[4],x=c[5],w=e.split(" "),b=parseFloat(w[0])||0,T=parseFloat(w[1])||0;r?c!==Mn&&(a=g*v-_*m)&&(u=b*(-_/a)+T*(g/a)-(g*x-_*y)/a,b=b*(v/a)+T*(-m/a)+(m*x-v*y)/a,T=u):(b=(s=pn(t)).x+(~w[0].indexOf("%")?b/100*s.width:b),T=s.y+(~(w[1]||w[0]).indexOf("%")?T/100*s.height:T)),n||!1!==n&&l.smooth?(y=b-f,x=T-h,l.xOffset=p+(y*g+x*m)-y,l.yOffset=d+(y*_+x*v)-x):l.xOffset=l.yOffset=0,l.xOrigin=b,l.yOrigin=T,l.smooth=!!n,l.origin=e,l.originIsAbsolute=!!r,t.style[tn]="0px 0px",o&&(_n(o,l,"xOrigin",f,b),_n(o,l,"yOrigin",h,T),_n(o,l,"xOffset",p,l.xOffset),_n(o,l,"yOffset",d,l.yOffset)),t.setAttribute("data-svg-origin",b+" "+T)},Pn=function(t,e){var r=t._gsap||new Be(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,o,s,a,u,l,c,f,h,p,d,g,_,m,v,y,w,b,T,k,M,C,O,A,E,S,P,D,R,z,F,I=t.style,L=r.scaleX<0,B="px",Y="deg",N=getComputedStyle(t),X=an(t,tn)||"0";return n=i=o=u=l=c=f=h=p=0,s=a=1,r.svg=!(!t.getCTM||!dn(t)),N.translate&&("none"===N.translate&&"none"===N.scale&&"none"===N.rotate||(I[Jr]=("none"!==N.translate?"translate3d("+(N.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==N.rotate?"rotate("+N.rotate+") ":"")+("none"!==N.scale?"scale("+N.scale.split(" ").join(",")+") ":"")+("none"!==N[Jr]?N[Jr]:"")),I.scale=I.rotate=I.translate="none"),_=En(t,r.svg),r.svg&&(r.uncache?(A=t.getBBox(),X=r.xOrigin-A.x+"px "+(r.yOrigin-A.y)+"px",O=""):O=!e&&t.getAttribute("data-svg-origin"),Sn(t,O||X,!!O||r.originIsAbsolute,!1!==r.smooth,_)),d=r.xOrigin||0,g=r.yOrigin||0,_!==Mn&&(w=_[0],b=_[1],T=_[2],k=_[3],n=M=_[4],i=C=_[5],6===_.length?(s=Math.sqrt(w*w+b*b),a=Math.sqrt(k*k+T*T),u=w||b?Ir(b,w)*zr:0,(f=T||k?Ir(T,k)*zr+u:0)&&(a*=Math.abs(Math.cos(f*Fr))),r.svg&&(n-=d-(d*w+g*T),i-=g-(d*b+g*k))):(F=_[6],R=_[7],S=_[8],P=_[9],D=_[10],z=_[11],n=_[12],i=_[13],o=_[14],l=(m=Ir(F,D))*zr,m&&(O=M*(v=Math.cos(-m))+S*(y=Math.sin(-m)),A=C*v+P*y,E=F*v+D*y,S=M*-y+S*v,P=C*-y+P*v,D=F*-y+D*v,z=R*-y+z*v,M=O,C=A,F=E),c=(m=Ir(-T,D))*zr,m&&(v=Math.cos(-m),z=k*(y=Math.sin(-m))+z*v,w=O=w*v-S*y,b=A=b*v-P*y,T=E=T*v-D*y),u=(m=Ir(b,w))*zr,m&&(O=w*(v=Math.cos(m))+b*(y=Math.sin(m)),A=M*v+C*y,b=b*v-w*y,C=C*v-M*y,w=O,M=A),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,c=180-c),s=gt(Math.sqrt(w*w+b*b+T*T)),a=gt(Math.sqrt(C*C+F*F)),m=Ir(M,C),f=Math.abs(m)>2e-4?m*zr:0,p=z?1/(z<0?-z:z):0),r.svg&&(O=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!On(an(t,Jr)),O&&t.setAttribute("transform",O))),Math.abs(f)>90&&Math.abs(f)<270&&(L?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-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)+B,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)+B,r.z=o+B,r.scaleX=gt(s),r.scaleY=gt(a),r.rotation=gt(u)+Y,r.rotationX=gt(l)+Y,r.rotationY=gt(c)+Y,r.skewX=f+Y,r.skewY=h+Y,r.transformPerspective=p+B,(r.zOrigin=parseFloat(X.split(" ")[2])||0)&&(I[tn]=Dn(X)),r.xOffset=r.yOffset=0,r.force3D=x.force3D,r.renderTransform=r.svg?Yn:Dr?Bn:zn,r.uncache=0,r},Dn=function(t){return(t=t.split(" "))[0]+" "+t[1]},Rn=function(t,e,r){var n=$t(e);return gt(parseFloat(e)+parseFloat(yn(t,"x",r+"px",n)))+n},zn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Bn(t,e)},Fn="0deg",In="0px",Ln=") ",Bn=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,a=r.z,u=r.rotation,l=r.rotationY,c=r.rotationX,f=r.skewX,h=r.skewY,p=r.scaleX,d=r.scaleY,g=r.transformPerspective,_=r.force3D,m=r.target,v=r.zOrigin,y="",x="auto"===_&&t&&1!==t||!0===_;if(v&&(c!==Fn||l!==Fn)){var w,b=parseFloat(l)*Fr,T=Math.sin(b),k=Math.cos(b);b=parseFloat(c)*Fr,w=Math.cos(b),o=Rn(m,o,T*w*-v),s=Rn(m,s,-Math.sin(b)*-v),a=Rn(m,a,k*w*-v+v)}g!==In&&(y+="perspective("+g+Ln),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(x||o!==In||s!==In||a!==In)&&(y+=a!==In||x?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+Ln),u!==Fn&&(y+="rotate("+u+Ln),l!==Fn&&(y+="rotateY("+l+Ln),c!==Fn&&(y+="rotateX("+c+Ln),f===Fn&&h===Fn||(y+="skew("+f+", "+h+Ln),1===p&&1===d||(y+="scale("+p+", "+d+Ln),m.style[Jr]=y||"translate(0, 0)"},Yn=function(t,e){var r,n,i,o,s,a=e||this,u=a.xPercent,l=a.yPercent,c=a.x,f=a.y,h=a.rotation,p=a.skewX,d=a.skewY,g=a.scaleX,_=a.scaleY,m=a.target,v=a.xOrigin,y=a.yOrigin,x=a.xOffset,w=a.yOffset,b=a.forceCSS,T=parseFloat(c),k=parseFloat(f);h=parseFloat(h),p=parseFloat(p),(d=parseFloat(d))&&(p+=d=parseFloat(d),h+=d),h||p?(h*=Fr,p*=Fr,r=Math.cos(h)*g,n=Math.sin(h)*g,i=Math.sin(h-p)*-_,o=Math.cos(h-p)*_,p&&(d*=Fr,s=Math.tan(p-d),i*=s=Math.sqrt(1+s*s),o*=s,d&&(s=Math.tan(d),r*=s=Math.sqrt(1+s*s),n*=s)),r=gt(r),n=gt(n),i=gt(i),o=gt(o)):(r=g,o=_,n=i=0),(T&&!~(c+"").indexOf("px")||k&&!~(f+"").indexOf("px"))&&(T=yn(m,"x",c,"px"),k=yn(m,"y",f,"px")),(v||y||x||w)&&(T=gt(T+v-(v*r+y*i)+x),k=gt(k+y-(v*n+y*o)+w)),(u||l)&&(s=m.getBBox(),T=gt(T+u/100*s.width),k=gt(k+l/100*s.height)),s="matrix("+r+","+n+","+i+","+o+","+T+","+k+")",m.setAttribute("transform",s),b&&(m.style[Jr]=s)},Nn=function(t,e,r,n,i){var o,s,a=360,u=S(i),l=parseFloat(i)*(u&&~i.indexOf("rad")?zr:1)-n,c=n+l+"deg";return u&&("short"===(o=i.split("_")[1])&&(l%=a)!=l%180&&(l+=l<0?a:-360),"cw"===o&&l<0?l=(l+36e9)%a-~~(l/a)*a:"ccw"===o&&l>0&&(l=(l-36e9)%a-~~(l/a)*a)),t._pt=s=new fr(t._pt,e,r,n,l,Ur),s.e=c,s.u="deg",t._props.push(r),s},Xn=function(t,e){for(var r in e)t[r]=e[r];return t},Un=function(t,e,r){var n,i,o,s,a,u,l,c=Xn({},r._gsap),f=r.style;for(i in c.svg?(o=r.getAttribute("transform"),r.setAttribute("transform",""),f[Jr]=e,n=Pn(r,1),gn(r,Jr),r.setAttribute("transform",o)):(o=getComputedStyle(r)[Jr],f[Jr]=e,n=Pn(r,1),f[Jr]=o),Rr)(o=c[i])!==(s=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=$t(o)!==(l=$t(s))?yn(r,i,o,l):parseFloat(o),u=parseFloat(s),t._pt=new fr(t._pt,n,i,a,u-a,Xr),t._pt.u=l||0,t._props.push(i));Xn(n,c)};dt("padding,margin,Width,Radius",(function(t,e){var r="Top",n="Right",i="Bottom",o="Left",s=(e<3?[r,n,i,o]:[r+o,r+n,i+n,i+o]).map((function(r){return e<2?t+r:"border"+r+t}));kn[e>1?"border"+t:t]=function(t,e,r,n,i){var o,a;if(arguments.length<4)return o=s.map((function(e){return xn(t,e,r)})),5===(a=o.join(" ")).split(o[0]).length?o[0]:a;o=(n+"").split(" "),a={},s.forEach((function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]})),t.init(e,a,i)}}));var qn,Wn,Vn={name:"css",register:cn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var o,s,a,u,l,c,f,h,p,d,g,_,m,v,y,w,b,T,k,M,C=this._props,O=t.style,A=r.vars.startAt;for(f in Ar||cn(),this.styles=this.styles||on(t),w=this.styles.props,this.tween=r,e)if("autoRound"!==f&&(s=e[f],!st[f]||!Ve(f,e,r,n,t,i)))if(l=typeof s,c=kn[f],"function"===l&&(l=typeof(s=s.call(r,n,t,i))),"string"===l&&~s.indexOf("random(")&&(s=le(s)),c)c(this,t,f,s,r)&&(y=1);else if("--"===f.substr(0,2))o=(getComputedStyle(t).getPropertyValue(f)+"").trim(),s+="",be.lastIndex=0,be.test(o)||(h=$t(o),p=$t(s)),p?h!==p&&(o=yn(t,f,o,p)+p):h&&(s+=h),this.add(O,"setProperty",o,s,n,i,0,0,f),C.push(f),w.push(f,0,O[f]);else if("undefined"!==l){if(A&&f in A?(o="function"==typeof A[f]?A[f].call(r,n,t,i):A[f],S(o)&&~o.indexOf("random(")&&(o=le(o)),$t(o+"")||(o+=x.units[f]||$t(xn(t,f))||""),"="===(o+"").charAt(1)&&(o=xn(t,f))):o=xn(t,f),u=parseFloat(o),(d="string"===l&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),a=parseFloat(s),f in Nr&&("autoAlpha"===f&&(1===u&&"hidden"===xn(t,"visibility")&&a&&(u=0),w.push("visibility",0,O.visibility),_n(this,O,"visibility",u?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==f&&"transform"!==f&&~(f=Nr[f]).indexOf(",")&&(f=f.split(",")[0])),g=f in Rr)if(this.styles.save(f),_||((m=t._gsap).renderTransform&&!e.parseTransform||Pn(t,e.parseTransform),v=!1!==e.smoothOrigin&&m.smooth,(_=this._pt=new fr(this._pt,O,Jr,0,1,m.renderTransform,m,0,-1)).dep=1),"scale"===f)this._pt=new fr(this._pt,m,"scaleY",m.scaleY,(d?mt(m.scaleY,d+a):a)-m.scaleY||0,Xr),this._pt.u=0,C.push("scaleY",f),f+="X";else{if("transformOrigin"===f){w.push(tn,0,O[tn]),T=void 0,k=void 0,M=void 0,k=(T=(b=s).split(" "))[0],M=T[1]||"50%","top"!==k&&"bottom"!==k&&"left"!==M&&"right"!==M||(b=k,k=M,M=b),T[0]=bn[k]||k,T[1]=bn[M]||M,s=T.join(" "),m.svg?Sn(t,s,0,v,0,this):((p=parseFloat(s.split(" ")[2])||0)!==m.zOrigin&&_n(this,m,"zOrigin",m.zOrigin,p),_n(this,O,f,Dn(o),Dn(s)));continue}if("svgOrigin"===f){Sn(t,s,1,v,0,this);continue}if(f in Cn){Nn(this,m,f,u,d?mt(u,d+s):s);continue}if("smoothOrigin"===f){_n(this,m,"smooth",m.smooth,s);continue}if("force3D"===f){m[f]=s;continue}if("transform"===f){Un(this,s,t);continue}}else f in O||(f=ln(f)||f);if(g||(a||0===a)&&(u||0===u)&&!Yr.test(s)&&f in O)a||(a=0),(h=(o+"").substr((u+"").length))!==(p=$t(s)||(f in x.units?x.units[f]:h))&&(u=yn(t,f,o,p)),this._pt=new fr(this._pt,g?m:O,f,u,(d?mt(u,d+a):a)-u,g||"px"!==p&&"zIndex"!==f||!1===e.autoRound?Xr:Wr),this._pt.u=p||0,h!==p&&"%"!==p&&(this._pt.b=o,this._pt.r=qr);else if(f in O)wn.call(this,t,f,o,d?d+s:s);else if(f in t)this.add(t,f,o||t[f],d?d+s:s,n,i);else if("parseTransform"!==f){Q(f,s);continue}g||(f in O?w.push(f,0,O[f]):w.push(f,1,o||t[f])),C.push(f)}y&&cr(this)},render:function(t,e){if(e.tween._time||!Pr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:xn,aliases:Nr,getSetter:function(t,e,r){var n=Nr[e];return n&&n.indexOf(",")<0&&(e=n),e in Rr&&e!==tn&&(t._gsap.x||xn(t,"x"))?r&&Sr===r?"scale"===e?Qr:Kr:(Sr=r||{})&&("scale"===e?Zr:$r):t.style&&!R(t.style[e])?jr:~e.indexOf("-")?Gr:rr(t,e)},core:{_removeProperty:gn,_getMatrix:En}};kr.utils.checkPrefix=ln,kr.core.getStyleSaver=on,Wn=dt("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(qn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Rr[t]=1})),dt(qn,(function(t){x.units[t]="deg",Cn[t]=1})),Nr[Wn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+qn,dt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");Nr[e[1]]=Wn[e[0]]})),dt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){x.units[t]="px"})),kr.registerPlugin(Vn);var Hn=kr.registerPlugin(Vn)||kr;function jn(t,e){for(var r=0;ra?(i=n,n=t,s=o,o=u):r?n+=t:n=i+(t-i)/(u-s)*(o-s)};return{update:l,reset:function(){i=n=r?0:n,s=o=0},getVelocity:function(t){var e=s,a=i,c=hi();return(t||0===t)&&t!==n&&l(t),o===s||c-s>u?0:(n+(r?a:-a))/((r?c:o)-e)*1e3}}},Oi=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},Ai=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Ei=function(){var t,e,r,n;(ri=Gn.core.globals().ScrollTrigger)&&ri.core&&(t=ri.core,e=t.bridge||{},r=t._scrollers,n=t._proxies,r.push.apply(r,ci),n.push.apply(n,fi),ci=r,fi=n,pi=function(t,r){return e[t](r)})},Si=function(t){return(Gn=t||ai())&&"undefined"!=typeof document&&document.body&&(Qn=window,Zn=document,$n=Zn.documentElement,Jn=Zn.body,ni=[Qn,Zn,$n,Jn],Gn.utils.clamp,si=Gn.core.context||function(){},ei="onpointerenter"in Jn?"pointer":"mouse",ti=Pi.isTouch=Qn.matchMedia&&Qn.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Qn||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,oi=Pi.eventTypes=("ontouchstart"in $n?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in $n?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return ui=0}),500),Ei(),Kn=1),Kn};bi.op=Ti,ci.cache=0;var Pi=function(){function t(t){this.init(t)}var e,r;return t.prototype.init=function(t){Kn||Si(Gn)||console.warn("Please gsap.registerPlugin(Observer)"),ri||Ei();var e=t.tolerance,r=t.dragMinimum,n=t.type,i=t.target,o=t.lineHeight,s=t.debounce,a=t.preventDefault,u=t.onStop,l=t.onStopDelay,c=t.ignore,f=t.wheelSpeed,h=t.event,p=t.onDragStart,d=t.onDragEnd,g=t.onDrag,_=t.onPress,m=t.onRelease,v=t.onRight,y=t.onLeft,x=t.onUp,w=t.onDown,b=t.onChangeX,T=t.onChangeY,k=t.onChange,M=t.onToggleX,C=t.onToggleY,O=t.onHover,A=t.onHoverEnd,E=t.onMove,S=t.ignoreCheck,P=t.isNormalizer,D=t.onGestureStart,R=t.onGestureEnd,z=t.onWheel,F=t.onEnable,I=t.onDisable,L=t.onClick,B=t.scrollSpeed,Y=t.capture,N=t.allowClicks,X=t.lockAxis,U=t.onLockAxis;this.target=i=ki(i)||$n,this.vars=t,c&&(c=Gn.utils.toArray(c)),e=e||1e-9,r=r||0,f=f||1,B=B||1,n=n||"wheel,touch,pointer",s=!1!==s,o||(o=parseFloat(Qn.getComputedStyle(Jn).lineHeight)||22);var q,W,V,H,j,G,K,Q=this,Z=0,$=0,J=Mi(i,bi),tt=Mi(i,Ti),et=J(),rt=tt(),nt=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===oi[0],it=gi(i),ot=i.ownerDocument||Zn,st=[0,0,0],at=[0,0,0],ut=0,lt=function(){return ut=hi()},ct=function(t,e){return(Q.event=t)&&c&&~c.indexOf(t.target)||e&&nt&&"touch"!==t.pointerType||S&&S(t,e)},ft=function(){var t=Q.deltaX=Ai(st),r=Q.deltaY=Ai(at),n=Math.abs(t)>=e,i=Math.abs(r)>=e;k&&(n||i)&&k(Q,t,r,st,at),n&&(v&&Q.deltaX>0&&v(Q),y&&Q.deltaX<0&&y(Q),b&&b(Q),M&&Q.deltaX<0!=Z<0&&M(Q),Z=Q.deltaX,st[0]=st[1]=st[2]=0),i&&(w&&Q.deltaY>0&&w(Q),x&&Q.deltaY<0&&x(Q),T&&T(Q),C&&Q.deltaY<0!=$<0&&C(Q),$=Q.deltaY,at[0]=at[1]=at[2]=0),(H||V)&&(E&&E(Q),V&&(g(Q),V=!1),H=!1),G&&!(G=!1)&&U&&U(Q),j&&(z(Q),j=!1),q=0},ht=function(t,e,r){st[r]+=t,at[r]+=e,Q._vx.update(t),Q._vy.update(e),s?q||(q=requestAnimationFrame(ft)):ft()},pt=function(t,e){X&&!K&&(Q.axis=K=Math.abs(t)>Math.abs(e)?"x":"y",G=!0),"y"!==K&&(st[2]+=t,Q._vx.update(t,!0)),"x"!==K&&(at[2]+=e,Q._vy.update(e,!0)),s?q||(q=requestAnimationFrame(ft)):ft()},dt=function(t){if(!ct(t,1)){var e=(t=Oi(t,a)).clientX,n=t.clientY,i=e-Q.x,o=n-Q.y,s=Q.isDragging;Q.x=e,Q.y=n,(s||Math.abs(Q.startX-e)>=r||Math.abs(Q.startY-n)>=r)&&(g&&(V=!0),s||(Q.isDragging=!0),pt(i,o),s||p&&p(Q))}},gt=Q.onPress=function(t){ct(t,1)||t&&t.button||(Q.axis=K=null,W.pause(),Q.isPressed=!0,t=Oi(t),Z=$=0,Q.startX=Q.x=t.clientX,Q.startY=Q.y=t.clientY,Q._vx.reset(),Q._vy.reset(),_i(P?i:ot,oi[1],dt,a,!0),Q.deltaX=Q.deltaY=0,_&&_(Q))},_t=Q.onRelease=function(t){if(!ct(t,1)){mi(P?i:ot,oi[1],dt,!0);var e=!isNaN(Q.y-Q.startY),r=Q.isDragging&&(Math.abs(Q.x-Q.startX)>3||Math.abs(Q.y-Q.startY)>3),n=Oi(t);!r&&e&&(Q._vx.reset(),Q._vy.reset(),a&&N&&Gn.delayedCall(.08,(function(){if(hi()-ut>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ot.createEvent){var e=ot.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,Qn,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}))),Q.isDragging=Q.isGesturing=Q.isPressed=!1,u&&!P&&W.restart(!0),d&&r&&d(Q),m&&m(Q,r)}},mt=function(t){return t.touches&&t.touches.length>1&&(Q.isGesturing=!0)&&D(t,Q.isDragging)},vt=function(){return(Q.isGesturing=!1)||R(Q)},yt=function(t){if(!ct(t)){var e=J(),r=tt();ht((e-et)*B,(r-rt)*B,1),et=e,rt=r,u&&W.restart(!0)}},xt=function(t){if(!ct(t)){t=Oi(t,a),z&&(j=!0);var e=(1===t.deltaMode?o:2===t.deltaMode?Qn.innerHeight:1)*f;ht(t.deltaX*e,t.deltaY*e,0),u&&!P&&W.restart(!0)}},wt=function(t){if(!ct(t)){var e=t.clientX,r=t.clientY,n=e-Q.x,i=r-Q.y;Q.x=e,Q.y=r,H=!0,(n||i)&&pt(n,i)}},bt=function(t){Q.event=t,O(Q)},Tt=function(t){Q.event=t,A(Q)},kt=function(t){return ct(t)||Oi(t,a)&&L(Q)};W=Q._dc=Gn.delayedCall(l||.25,(function(){Q._vx.reset(),Q._vy.reset(),W.pause(),u&&u(Q)})).pause(),Q.deltaX=Q.deltaY=0,Q._vx=Ci(0,50,!0),Q._vy=Ci(0,50,!0),Q.scrollX=J,Q.scrollY=tt,Q.isDragging=Q.isGesturing=Q.isPressed=!1,si(this),Q.enable=function(t){return Q.isEnabled||(_i(it?ot:i,"scroll",xi),n.indexOf("scroll")>=0&&_i(it?ot:i,"scroll",yt,a,Y),n.indexOf("wheel")>=0&&_i(i,"wheel",xt,a,Y),(n.indexOf("touch")>=0&&ti||n.indexOf("pointer")>=0)&&(_i(i,oi[0],gt,a,Y),_i(ot,oi[2],_t),_i(ot,oi[3],_t),N&&_i(i,"click",lt,!1,!0),L&&_i(i,"click",kt),D&&_i(ot,"gesturestart",mt),R&&_i(ot,"gestureend",vt),O&&_i(i,ei+"enter",bt),A&&_i(i,ei+"leave",Tt),E&&_i(i,ei+"move",wt)),Q.isEnabled=!0,t&&t.type&>(t),F&&F(Q)),Q},Q.disable=function(){Q.isEnabled&&(li.filter((function(t){return t!==Q&&gi(t.target)})).length||mi(it?ot:i,"scroll",xi),Q.isPressed&&(Q._vx.reset(),Q._vy.reset(),mi(P?i:ot,oi[1],dt,!0)),mi(it?ot:i,"scroll",yt,Y),mi(i,"wheel",xt,Y),mi(i,oi[0],gt,Y),mi(ot,oi[2],_t),mi(ot,oi[3],_t),mi(i,"click",lt,!0),mi(i,"click",kt),mi(ot,"gesturestart",mt),mi(ot,"gestureend",vt),mi(i,ei+"enter",bt),mi(i,ei+"leave",Tt),mi(i,ei+"move",wt),Q.isEnabled=Q.isPressed=Q.isDragging=!1,I&&I(Q))},Q.kill=Q.revert=function(){Q.disable();var t=li.indexOf(Q);t>=0&&li.splice(t,1),ii===Q&&(ii=0)},li.push(Q),P&&gi(i)&&(ii=Q),Q.enable(h)},e=t,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&jn(e.prototype,r),t}();Pi.version="3.12.1",Pi.create=function(t){return new Pi(t)},Pi.register=Si,Pi.getAll=function(){return li.slice()},Pi.getById=function(t){return li.filter((function(e){return e.vars.id===t}))[0]},ai()&&Gn.registerPlugin(Pi);var Di,Ri,zi,Fi,Ii,Li,Bi,Yi,Ni,Xi,Ui,qi,Wi,Vi,Hi,ji,Gi,Ki,Qi,Zi,$i,Ji,to,eo,ro,no,io,oo,so,ao,uo,lo,co,fo,ho=1,po=Date.now,go=po(),_o=0,mo=0,vo=function(t,e,r){var n=Po(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},yo=function(t,e){return!e||Po(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},xo=function t(){return mo&&requestAnimationFrame(t)},wo=function(){return Vi=1},bo=function(){return Vi=0},To=function(t){return t},ko=function(t){return Math.round(1e5*t)/1e5||0},Mo=function(){return"undefined"!=typeof window},Co=function(){return Di||Mo()&&(Di=window.gsap)&&Di.registerPlugin&&Di},Oo=function(t){return!!~Bi.indexOf(t)},Ao=function(t){return di(t,"getBoundingClientRect")||(Oo(t)?function(){return Ys.width=zi.innerWidth,Ys.height=zi.innerHeight,Ys}:function(){return ts(t)})},Eo=function(t,e){var r=e.s,n=e.d2,i=e.d,o=e.a;return Math.max(0,(r="scroll"+n)&&(o=di(t,r))?o()-Ao(t)()[i]:Oo(t)?(Ii[r]||Li[r])-(zi["inner"+n]||Ii["client"+n]||Li["client"+n]):t[r]-t["offset"+n])},So=function(t,e){for(var r=0;r0){for(t-=i,o=0;o=t)return r[o];return r[o-1]}for(o=r.length,t+=i;o--;)if(r[o]<=t)return r[o];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var o=e(r);return!n||Math.abs(o-r)r&&(n*=e/100),t=t.substr(0,r-1)),t=n+(t in cs?cs[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},hs=function(t,e,r,n,i,o,s,a){var u=i.startColor,l=i.endColor,c=i.fontSize,f=i.indent,h=i.fontWeight,p=Fi.createElement("div"),d=Oo(r)||"fixed"===di(r,"pinType"),g=-1!==t.indexOf("scroller"),_=d?Li: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:"+((g||a)&&d?"fixed;":"absolute;"),(g||a||!d)&&(y+=(n===Ti?Yo:No)+":"+(o+parseFloat(f))+"px;"),s&&(y+="box-sizing:border-box;text-align:left;width:"+s.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,_.children[0]?_.insertBefore(p,_.children[0]):_.appendChild(p),p._offset=p["offset"+n.op.d2],ps(p,0,n,m),p},ps=function(t,e,r,n){var i={display:"block"},o=r[n?"os2":"p2"],s=r[n?"p2":"os2"];t._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+Ko]=1,i["border"+s+Ko]=0,i[r.p]=e+"px",Di.set(t,i)},ds=[],gs={},_s=function(){return po()-_o>34&&(uo||(uo=requestAnimationFrame(Ds)))},ms=function(){(!to||!to.isPressed||to.startX>Li.clientWidth)&&(ci.cache++,to?uo||(uo=requestAnimationFrame(Ds)):Ds(),_o||Ts("scrollStart"),_o=po())},vs=function(){no=zi.innerWidth,ro=zi.innerHeight},ys=function(){ci.cache++,!Wi&&!Ji&&!Fi.fullscreenElement&&!Fi.webkitFullscreenElement&&(!eo||no!==zi.innerWidth||Math.abs(zi.innerHeight-ro)>.25*zi.innerHeight)&&Yi.restart(!0)},xs={},ws=[],bs=function t(){return ss(Hs,"scrollEnd",t)||Es(!0)},Ts=function(t){return xs[t]&&xs[t].map((function(t){return t()}))||ws},ks=[],Ms=function(t){for(var e=0;ee)&&t.setPositions(t.start,Math.max(t.start+1,e),!0)})),r.forEach((function(t){return t&&t.render&&t.render(-1)})),ci.forEach((function(t){Do(t)&&(t.smooth&&requestAnimationFrame((function(){return t.target.style.scrollBehavior="smooth"})),t.rec&&t(t.rec))})),Os(so,1),Yi.pause(),As++,lo=2,Ds(2),ds.forEach((function(t){return Do(t.vars.onRefresh)&&t.vars.onRefresh(t)})),lo=Hs.isRefreshing=!1,Ts("refresh")}else os(Hs,"scrollEnd",bs)},Ss=0,Ps=1,Ds=function(t){if(!lo||2===t){Hs.isUpdating=!0,fo&&fo.update(0);var e=ds.length,r=po(),n=r-go>=50,i=e&&ds[0].scroll();if(Ps=Ss>i?-1:1,lo||(Ss=i),n&&(_o&&!Vi&&r-_o>200&&(_o=0,Ts("scrollEnd")),Ui=go,go=r),Ps<0){for(ji=e;ji-- >0;)ds[ji]&&ds[ji].update(0,n);Ps=1}else for(ji=0;ji20),r-=r-x}if(p&&(a[p]=t||-.001,t<0&&(t=0)),o){var T=t+r,k=o._isStart;d="scroll"+n.d2,ps(o,T,n,k&&T>20||!k&&(c?Math.max(Li[d],Ii[d]):o.parentNode[d])<=T+1),c&&(u=ts(s),c&&(o.style[n.op.p]=u[n.op.p]-n.op.m-o._offset+Zo))}return h&&_&&(d=ts(_),h.seek(f),g=ts(_),h._caScrollDist=d[n.p]-g[n.p],t=t/h._caScrollDist*f),h&&h.seek(m),h?t:Math.round(t)},Xs=/(webkit|moz|length|cssText|inset)/i,Us=function(t,e,r,n){if(t.parentNode!==e){var i,o,s=t.style;if(e===Li){for(i in t._stOrig=s.cssText,o=$o(t))+i||Xs.test(i)||!o[i]||"string"!=typeof s[i]||"0"===i||(s[i]=o[i]);s.top=r,s.left=n}else s.cssText=t._stOrig;Di.core.getCache(t).uncache=1,e.appendChild(t)}},qs=function(t,e,r){var n=e,i=n;return function(e){var o=Math.round(t());return o!==n&&o!==i&&Math.abs(o-n)>3&&Math.abs(o-i)>3&&(e=o,r&&r()),i=n,n=e,e}},Ws=function(t,e,r){var n={};n[e.p]="+="+r,Di.set(t,n)},Vs=function(t,e){var r=Mi(t,e),n="_scroll"+e.p2,i=function e(i,o,s,a,u){var l=e.tween,c=o.onComplete,f={};s=s||r();var h=qs(r,s,(function(){l.kill(),e.tween=0}));return u=a&&u||0,a=a||i-s,l&&l.kill(),o[n]=i,o.modifiers=f,f[n]=function(){return h(s+a*l.ratio+u*l.ratio*l.ratio)},o.onUpdate=function(){ci.cache++,Ds()},o.onComplete=function(){e.tween=0,c&&c.call(l)},l=e.tween=Di.to(t,o)};return t[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},os(t,"wheel",r.wheelHandler),Hs.isTouch&&os(t,"touchmove",r.wheelHandler),i},Hs=function(){function t(e,r){Ri||t.register(Di)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),oo(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),mo){var n,i,o,s,a,u,l,c,f,h,p,d,g,_,m,v,y,x,w,b,T,k,M,C,O,A,E,S,P,D,R,z,F,I,L,B,Y,N,X,U,q,W,V=e=Jo(Po(e)||Ro(e)||e.nodeType?{trigger:e}:e,ls),H=V.onUpdate,j=V.toggleClass,G=V.id,K=V.onToggle,Q=V.onRefresh,Z=V.scrub,$=V.trigger,J=V.pin,tt=V.pinSpacing,et=V.invalidateOnRefresh,rt=V.anticipatePin,nt=V.onScrubComplete,it=V.onSnapComplete,ot=V.once,st=V.snap,at=V.pinReparent,ut=V.pinSpacer,lt=V.containerAnimation,ct=V.fastScrollEnd,ft=V.preventOverlaps,ht=e.horizontal||e.containerAnimation&&!1!==e.horizontal?bi:Ti,pt=!Z&&0!==Z,dt=ki(e.scroller||zi),gt=Di.core.getCache(dt),_t=Oo(dt),mt="fixed"===("pinType"in e?e.pinType:di(dt,"pinType")||_t&&"fixed"),vt=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],yt=pt&&e.toggleActions.split(" "),xt="markers"in e?e.markers:ls.markers,wt=_t?0:parseFloat($o(dt)["border"+ht.p2+Ko])||0,bt=this,Tt=e.onRefreshInit&&function(){return e.onRefreshInit(bt)},kt=function(t,e,r){var n=r.d,i=r.d2,o=r.a;return(o=di(t,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(e?zi["inner"+i]:t["client"+i])||0}}(dt,_t,ht),Mt=function(t,e){return!e||~fi.indexOf(t)?Ao(t):function(){return Ys}}(dt,_t),Ct=0,Ot=0,At=0,Et=Mi(dt,ht);if(bt._startClamp=bt._endClamp=!1,bt._dir=ht,rt*=45,bt.scroller=dt,bt.scroll=lt?lt.time.bind(lt):Et,s=Et(),bt.vars=e,r=r||e.animation,"refreshPriority"in e&&(Zi=1,-9999===e.refreshPriority&&(fo=bt)),gt.tweenScroll=gt.tweenScroll||{top:Vs(dt,Ti),left:Vs(dt,bi)},bt.tweenTo=n=gt.tweenScroll[ht.p],bt.scrubDuration=function(t){(F=Ro(t)&&t)?z?z.duration(t):z=Di.to(r,{ease:"expo",totalProgress:"+=0",duration:F,paused:!0,onComplete:function(){return nt&&nt(bt)}}):(z&&z.progress(1).kill(),z=0)},r&&(r.vars.lazy=!1,r._initted&&!bt.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),bt.animation=r.pause(),r.scrollTrigger=bt,bt.scrubDuration(Z),D=0,G||(G=r.vars.id)),st&&(zo(st)&&!st.push||(st={snapTo:st}),"scrollBehavior"in Li.style&&Di.set(_t?[Li,Ii]:dt,{scrollBehavior:"auto"}),ci.forEach((function(t){return Do(t)&&t.target===(_t?Fi.scrollingElement||Ii:dt)&&(t.smooth=!1)})),o=Do(st.snapTo)?st.snapTo:"labels"===st.snapTo?function(t){return function(e){return Di.utils.snap(rs(t),e)}}(r):"labelsDirectional"===st.snapTo?(U=r,function(t,e){return ns(rs(U))(t,e.direction)}):!1!==st.directional?function(t,e){return ns(st.snapTo)(t,po()-Ot<500?0:e.direction)}:Di.utils.snap(st.snapTo),I=st.duration||{min:.1,max:2},I=zo(I)?Xi(I.min,I.max):Xi(I,I),L=Di.delayedCall(st.delay||F/2||.1,(function(){var t=Et(),e=po()-Ot<500,i=n.tween;if(!(e||Math.abs(bt.getVelocity())<10)||i||Vi||Ct===t)bt.isActive&&Ct!==t&&L.restart(!0);else{var s=(t-u)/_,a=r&&!pt?r.totalProgress():s,c=e?0:(a-R)/(po()-Ui)*1e3||0,f=Di.utils.clamp(-s,1-s,Lo(c/2)*c/.185),h=s+(!1===st.inertia?0:f),p=Xi(0,1,o(h,bt)),d=Math.round(u+p*_),g=st,m=g.onStart,v=g.onInterrupt,y=g.onComplete;if(t<=l&&t>=u&&d!==t){if(i&&!i._initted&&i.data<=Lo(d-t))return;!1===st.inertia&&(f=p-s),n(d,{duration:I(Lo(.185*Math.max(Lo(h-a),Lo(p-a))/c/.05||0)),ease:st.ease||"power3",data:Lo(d-t),onInterrupt:function(){return L.restart(!0)&&v&&v(bt)},onComplete:function(){bt.update(),Ct=Et(),D=R=r&&!pt?r.totalProgress():bt.progress,it&&it(bt),y&&y(bt)}},t,f*_,d-t-f*_),m&&m(bt,n.tween)}}})).pause()),G&&(gs[G]=bt),(X=($=bt.trigger=ki($||!0!==J&&J))&&$._gsap&&$._gsap.stRevert)&&(X=X(bt)),J=!0===J?$:ki(J),Po(j)&&(j={targets:$,className:j}),J&&(!1===tt||tt===Go||(tt=!(!tt&&J.parentNode&&J.parentNode.style&&"flex"===$o(J.parentNode).display)&&jo),bt.pin=J,(i=Di.core.getCache(J)).spacer?m=i.pinState:(ut&&((ut=ki(ut))&&!ut.nodeType&&(ut=ut.current||ut.nativeElement),i.spacerIsNative=!!ut,ut&&(i.spacerState=Bs(ut))),i.spacer=x=ut||Fi.createElement("div"),x.classList.add("pin-spacer"),G&&x.classList.add("pin-spacer-"+G),i.pinState=m=Bs(J)),!1!==e.force3D&&Di.set(J,{force3D:!0}),bt.spacer=x=i.spacer,P=$o(J),C=P[tt+ht.os2],b=Di.getProperty(J),T=Di.quickSetter(J,ht.a,Zo),Fs(J,x,P),y=Bs(J)),xt){d=zo(xt)?Jo(xt,us):us,h=hs("scroller-start",G,dt,ht,d,0),p=hs("scroller-end",G,dt,ht,d,0,h),w=h["offset"+ht.op.d2];var St=ki(di(dt,"content")||dt);c=this.markerStart=hs("start",G,St,ht,d,w,0,lt),f=this.markerEnd=hs("end",G,St,ht,d,w,0,lt),lt&&(N=Di.quickSetter([c,f],ht.a,Zo)),mt||fi.length&&!0===di(dt,"fixedMarkers")||(W=$o(q=_t?Li:dt).position,q.style.position="absolute"===W||"fixed"===W?W:"relative",Di.set([h,p],{force3D:!0}),A=Di.quickSetter(h,ht.a,Zo),S=Di.quickSetter(p,ht.a,Zo))}if(lt){var Pt=lt.vars.onUpdate,Dt=lt.vars.onUpdateParams;lt.eventCallback("onUpdate",(function(){bt.update(0,0,1),Pt&&Pt.apply(lt,Dt||[])}))}if(bt.previous=function(){return ds[ds.indexOf(bt)-1]},bt.next=function(){return ds[ds.indexOf(bt)+1]},bt.revert=function(t,e){if(!e)return bt.kill(!0);var n=!1!==t||!bt.enabled,i=Wi;n!==bt.isReverted&&(n&&(B=Math.max(Et(),bt.scroll.rec||0),At=bt.progress,Y=r&&r.progress()),c&&[c,f,h,p].forEach((function(t){return t.style.display=n?"none":"block"})),n&&(Wi=bt,bt.update(n)),!J||at&&bt.isActive||(n?function(t,e,r){Ls(r);var n=t._gsap;if(n.spacerIsNative)Ls(n.spacerState);else if(t._gsap.swappedIn){var i=e.parentNode;i&&(i.insertBefore(t,e),i.removeChild(e))}t._gsap.swappedIn=!1}(J,x,m):Fs(J,x,$o(J),O)),n||bt.update(n),Wi=i,bt.isReverted=n)},bt.refresh=function(i,o,d,w){if(!Wi&&bt.enabled||o)if(J&&i&&_o)os(t,"scrollEnd",bs);else{!lo&&Tt&&Tt(bt),Wi=bt,n.tween&&(n.tween.kill(),n.tween=0),z&&z.pause(),et&&r&&r.revert({kill:!1}).invalidate(),bt.isReverted||bt.revert(!0,!0),bt._subPinOffset=!1;var T,C,A,S,P,D,R,F,I,N,X,U,q,W=kt(),V=Mt(),H=lt?lt.duration():Eo(dt,ht),j=_<=.01,G=0,K=w||0,Z=zo(d)?d.end:e.end,rt=e.endTrigger||$,nt=zo(d)?d.start:e.start||(0!==e.start&&$?J?"0 0":"0 100%":0),it=bt.pinnedContainer=e.pinnedContainer&&ki(e.pinnedContainer,bt),ot=$&&Math.max(0,ds.indexOf(bt))||0,st=ot;for(xt&&zo(d)&&(U=Di.getProperty(h,ht.p),q=Di.getProperty(p,ht.p));st--;)(D=ds[st]).end||D.refresh(0,1)||(Wi=bt),!(R=D.pin)||R!==$&&R!==J&&R!==it||D.isReverted||(N||(N=[]),N.unshift(D),D.revert(!0,!0)),D!==ds[st]&&(ot--,st--);for(Do(nt)&&(nt=nt(bt)),nt=vo(nt,"start",bt),u=Ns(nt,$,W,ht,Et(),c,h,bt,V,wt,mt,H,lt,bt._startClamp&&"_startClamp")||(J?-.001:0),Do(Z)&&(Z=Z(bt)),Po(Z)&&!Z.indexOf("+=")&&(~Z.indexOf(" ")?Z=(Po(nt)?nt.split(" ")[0]:"")+Z:(G=fs(Z.substr(2),W),Z=Po(nt)?nt:(lt?Di.utils.mapRange(0,lt.duration(),lt.scrollTrigger.start,lt.scrollTrigger.end,u):u)+G,rt=$)),Z=vo(Z,"end",bt),l=Math.max(u,Ns(Z||(rt?"100% 0":H),rt,W,ht,Et()+G,f,p,bt,V,wt,mt,H,lt,bt._endClamp&&"_endClamp"))||-.001,G=0,st=ot;st--;)(R=(D=ds[st]).pin)&&D.start-D._pinPush<=u&&!lt&&D.end>0&&(T=D.end-(bt._startClamp?Math.max(0,D.start):D.start),(R===$&&D.start-D._pinPush1&&(X={style:X=(_t?Fi.scrollingElement||Ii:dt).style,value:X["overflow"+ht.a.toUpperCase()]},_t&&"scroll"!==$o(Li)["overflow"+ht.a.toUpperCase()]&&(X.style["overflow"+ht.a.toUpperCase()]="scroll")),Fs(J,x,T),y=Bs(J),C=ts(J,!0),F=mt&&Mi(dt,S?bi:Ti)(),tt&&((O=[tt+ht.os2,_+K+Zo]).t=x,(st=tt===jo?es(J,ht)+_+K:0)&&O.push(ht.d,st+Zo),Ls(O),it&&ds.forEach((function(t){t.pin===it&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)})),mt&&Et(B)),mt&&((P={top:C.top+(S?A-u:F)+Zo,left:C.left+(S?F:A-u)+Zo,boxSizing:"border-box",position:"fixed"})[Xo]=P["max"+Ko]=Math.ceil(C.width)+Zo,P[Uo]=P["max"+Qo]=Math.ceil(C.height)+Zo,P[Go]=P[Go+Vo]=P[Go+qo]=P[Go+Ho]=P[Go+Wo]="0",P[jo]=T[jo],P[jo+Vo]=T[jo+Vo],P[jo+qo]=T[jo+qo],P[jo+Ho]=T[jo+Ho],P[jo+Wo]=T[jo+Wo],v=function(t,e,r){for(var n,i=[],o=t.length,s=r?8:0;s1,mt&&E&&v.splice(v.length-2,2),r.render(0,!0,!0),I||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),$i(0)):M=_,X&&(X.value?X.style["overflow"+ht.a.toUpperCase()]=X.value:X.style.removeProperty("overflow-"+ht.a));else if($&&Et()&&!lt)for(C=$.parentNode;C&&C!==Li;)C._pinOffset&&(u-=C._pinOffset,l-=C._pinOffset),C=C.parentNode;N&&N.forEach((function(t){return t.revert(!1,!0)})),bt.start=u,bt.end=l,s=a=lo?B:Et(),lt||lo||(s0?ds.slice(0,e).reverse():ds.slice(e+1);return(Po(t)?r.filter((function(e){return e.vars.preventOverlaps===t})):r).filter((function(t){return bt.direction>0?t.end<=u:t.start>=l}))},bt.update=function(t,e,i){if(!lt||i||t){var o,c,f,p,d,g,m,w=!0===lo?B:bt.scroll(),b=t?0:(w-u)/_,O=b<0?0:b>1?1:b||0,P=bt.progress;if(e&&(a=s,s=lt?Et():w,st&&(R=D,D=r&&!pt?r.totalProgress():O)),rt&&!O&&J&&!Wi&&!ho&&_o&&uP?1:-1,bt.progress=O,p&&!Wi&&(c=O&&!P?0:1===O?1:1===P?2:3,pt&&(f=!d&&"none"!==yt[c+1]&&yt[c+1]||yt[c],m=r&&("complete"===f||"reset"===f||f in r))),ft&&(d||m)&&(m||Z||!r)&&(Do(ft)?ft(bt):bt.getTrailing(ft).forEach((function(t){return t.endAnimation()}))),pt||(!z||Wi||ho?r&&r.totalProgress(O,!(!Wi||!Ot&&!t)):(z._dp._time-z._start!==z._time&&z.render(z._dp._time-z._start),z.resetTo?z.resetTo("totalProgress",O,r._tTime/r._tDur):(z.vars.totalProgress=O,z.invalidate().restart()))),J)if(t&&tt&&(x.style[tt+ht.os2]=C),mt){if(p){if(g=!t&&O>P&&l+1>w&&w+1>=Eo(dt,ht),at)if(t||!o&&!g)Us(J,x);else{var F=ts(J,!0),I=w-u;Us(J,Li,F.top+(ht===Ti?I:0)+Zo,F.left+(ht===Ti?0:I)+Zo)}Ls(o||g?v:y),E&&O<1&&o||T(k+(1!==O||g?0:M))}}else T(ko(k+M*O));st&&!n.tween&&!Wi&&!ho&&L.restart(!0),j&&(d||ot&&O&&(O<1||!ao))&&Ni(j.targets).forEach((function(t){return t.classList[o||ot?"add":"remove"](j.className)})),H&&!pt&&!t&&H(bt),p&&!Wi?(pt&&(m&&("complete"===f?r.pause().totalProgress(1):"reset"===f?r.restart(!0).pause():"restart"===f?r.restart(!0):r[f]()),H&&H(bt)),!d&&ao||(K&&d&&Io(bt,K),vt[c]&&Io(bt,vt[c]),ot&&(1===O?bt.kill(!1,1):vt[c]=0),d||vt[c=1===O?1:3]&&Io(bt,vt[c])),ct&&!o&&Math.abs(bt.getVelocity())>(Ro(ct)?ct:2500)&&(Fo(bt.callbackAnimation),z?z.progress(1):Fo(r,"reverse"===f?1:!O,1))):pt&&H&&!Wi&&H(bt)}if(S){var Y=lt?w/lt.duration()*(lt._caScrollDist||0):w;A(Y+(h._isFlipped?1:0)),S(Y)}N&&N(-w/lt.duration()*(lt._caScrollDist||0))}},bt.enable=function(e,r){bt.enabled||(bt.enabled=!0,os(dt,"resize",ys),os(_t?Fi:dt,"scroll",ms),Tt&&os(t,"refreshInit",Tt),!1!==e&&(bt.progress=At=0,s=a=Ct=Et()),!1!==r&&bt.refresh())},bt.getTween=function(t){return t&&n?n.tween:z},bt.setPositions=function(t,e,r,n){if(lt){var i=lt.scrollTrigger,o=lt.duration(),s=i.end-i.start;t=i.start+s*t/o,e=i.start+s*e/o}bt.refresh(!1,!1,{start:yo(t,r&&!!bt._startClamp),end:yo(e,r&&!!bt._endClamp)},n),bt.update()},bt.adjustPinSpacing=function(t){if(O&&t){var e=O.indexOf(ht.d)+1;O[e]=parseFloat(O[e])+t+Zo,O[1]=parseFloat(O[1])+t+Zo,Ls(O)}},bt.disable=function(e,r){if(bt.enabled&&(!1!==e&&bt.revert(!0,!0),bt.enabled=bt.isActive=!1,r||z&&z.pause(),B=0,i&&(i.uncache=1),Tt&&ss(t,"refreshInit",Tt),L&&(L.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!_t)){for(var o=ds.length;o--;)if(ds[o].scroller===dt&&ds[o]!==bt)return;ss(dt,"resize",ys),ss(dt,"scroll",ms)}},bt.kill=function(t,n){bt.disable(t,n),z&&!n&&z.kill(),G&&delete gs[G];var o=ds.indexOf(bt);o>=0&&ds.splice(o,1),o===ji&&Ps>0&&ji--,o=0,ds.forEach((function(t){return t.scroller===bt.scroller&&(o=1)})),o||lo||(bt.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),n||r.kill()),c&&[c,f,h,p].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),fo===bt&&(fo=0),J&&(i&&(i.uncache=1),o=0,ds.forEach((function(t){return t.pin===J&&o++})),o||(i.spacer=0)),e.onKill&&e.onKill(bt)},ds.push(bt),bt.enable(!1,!1),X&&X(bt),r&&r.add&&!_){var Rt=bt.update;bt.update=function(){bt.update=Rt,u||l||bt.refresh()},Di.delayedCall(.01,bt.update),_=.01,u=l=0}else bt.refresh();J&&function(){if(co!==As){var t=co=As;requestAnimationFrame((function(){return t===As&&Es(!0)}))}}()}else this.update=this.refresh=this.kill=To},t.register=function(e){return Ri||(Di=e||Co(),Mo()&&window.document&&t.enable(),Ri=mo),Ri},t.defaults=function(t){if(t)for(var e in t)ls[e]=t[e];return ls},t.disable=function(t,e){mo=0,ds.forEach((function(r){return r[e?"kill":"disable"](t)})),ss(zi,"wheel",ms),ss(Fi,"scroll",ms),clearInterval(qi),ss(Fi,"touchcancel",To),ss(Li,"touchstart",To),is(ss,Fi,"pointerdown,touchstart,mousedown",wo),is(ss,Fi,"pointerup,touchend,mouseup",bo),Yi.kill(),So(ss);for(var r=0;r0&&n.left+i0&&n.top+i=0&&ks.splice(e,5),ks.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Di.core.getCache(t),oo())}})):ks},Hs.revert=function(t,e){return Cs(!t,e)},Hs.create=function(t,e){return new Hs(t,e)},Hs.refresh=function(t){return t?ys():(Ri||Hs.register())&&Es(!0)},Hs.update=function(t){return++ci.cache&&Ds(!0===t?2:0)},Hs.clearScrollMemory=Os,Hs.maxScroll=function(t,e){return Eo(t,e?bi:Ti)},Hs.getScrollFunc=function(t,e){return Mi(ki(t),e?bi:Ti)},Hs.getById=function(t){return gs[t]},Hs.getAll=function(){return ds.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},Hs.isScrolling=function(){return!!_o},Hs.snapDirectional=ns,Hs.addEventListener=function(t,e){var r=xs[t]||(xs[t]=[]);~r.indexOf(e)||r.push(e)},Hs.removeEventListener=function(t,e){var r=xs[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},Hs.batch=function(t,e){var r,n=[],i={},o=e.interval||.016,s=e.batchMax||1e9,a=function(t,e){var r=[],n=[],i=Di.delayedCall(o,(function(){e(r,n),r=[],n=[]})).pause();return function(t){r.length||i.restart(!0),r.push(t.trigger),n.push(t),s<=r.length&&i.progress(1)}};for(r in e)i[r]="on"===r.substr(0,2)&&Do(e[r])&&"onRefreshInit"!==r?a(0,e[r]):e[r];return Do(s)&&(s=s(),os(Hs,"refresh",(function(){return s=e.batchMax()}))),Ni(t).forEach((function(t){var e={};for(r in i)e[r]=i[r];e.trigger=t,n.push(Hs.create(e))})),n};var js,Gs=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},Ks=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(Pi.isTouch?" pinch-zoom":""):"none",e===Ii&&t(Li,r)},Qs={auto:1,scroll:1},Zs=function(t){var e,r=t.event,n=t.target,i=t.axis,o=(r.changedTouches?r.changedTouches[0]:r).target,s=o._gsap||Di.core.getCache(o),a=po();if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==Li&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!Qs[(e=$o(o)).overflowY]&&!Qs[e.overflowX]);)o=o.parentNode;s._isScroll=o&&o!==n&&!Oo(o)&&(Qs[(e=$o(o)).overflowY]||Qs[e.overflowX]),s._isScrollT=a}(s._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},$s=function(t,e,r,n){return Pi.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&Zs,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&os(Fi,Pi.eventTypes[0],ta,!1,!0)},onDisable:function(){return ss(Fi,Pi.eventTypes[0],ta,!0)}})},Js=/(input|label|select|textarea)/i,ta=function(t){var e=Js.test(t.target.tagName);(e||js)&&(t._gsapAllow=!0,js=e)};Hs.sort=function(t){return ds.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},Hs.observe=function(t){return new Pi(t)},Hs.normalizeScroll=function(t){if(void 0===t)return to;if(!0===t&&to)return to.enable();if(!1===t)return to&&to.kill();var e=t instanceof Pi?t:function(t){zo(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,o,s,a,u,l=t,c=l.normalizeScrollX,f=l.momentum,h=l.allowNestedScroll,p=l.onRelease,d=ki(t.target)||Ii,g=Di.core.globals().ScrollSmoother,_=g&&g.get(),m=io&&(t.content&&ki(t.content)||_&&!1!==t.content&&!_.smooth()&&_.content()),v=Mi(d,Ti),y=Mi(d,bi),x=1,w=(Pi.isTouch&&zi.visualViewport?zi.visualViewport.scale*zi.visualViewport.width:zi.outerWidth)/zi.innerWidth,b=0,T=Do(f)?function(){return f(e)}:function(){return f||2.8},k=$s(d,t.type,!0,h),M=function(){return i=!1},C=To,O=To,A=function(){r=Eo(d,Ti),O=Xi(io?1:0,r),c&&(C=Xi(0,Eo(d,bi))),n=As},E=function(){m._gsap.y=ko(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},S=function(){A(),o.isActive()&&o.vars.scrollY>r&&(v()>r?o.progress(1)&&v(r):o.resetTo("scrollY",r))};return m&&Di.set(m,{y:"+=0"}),t.ignoreCheck=function(t){return io&&"touchmove"===t.type&&function(){if(i){requestAnimationFrame(M);var t=ko(e.deltaY/2),r=O(v.v-t);if(m&&r!==v.v+v.offset){v.offset=r-v.v;var n=ko((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=ci.cache,Ds()}return!0}v.offset&&E(),i=!0}()||x>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){i=!1;var t=x;x=ko((zi.visualViewport&&zi.visualViewport.scale||1)/w),o.pause(),t!==x&&Ks(d,x>1.01||!c&&"x"),s=y(),a=v(),A(),n=As},t.onRelease=t.onGestureStart=function(t,e){if(v.offset&&E(),e){ci.cache++;var n,i,s=T();c&&(i=(n=y())+.05*s*-t.velocityX/.227,s*=Gs(y,n,i,Eo(d,bi)),o.vars.scrollX=C(i)),i=(n=v())+.05*s*-t.velocityY/.227,s*=Gs(v,n,i,Eo(d,Ti)),o.vars.scrollY=O(i),o.invalidate().duration(s).play(.01),(io&&o.vars.scrollY>=r||n>=r-1)&&Di.to({},{onUpdate:S,duration:s})}else u.restart(!0);p&&p(t)},t.onWheel=function(){o._ts&&o.pause(),po()-b>1e3&&(n=0,b=po())},t.onChange=function(t,e,r,i,o){if(As!==n&&A(),e&&c&&y(C(i[2]===e?s+(t.startX-t.x):y()+e-i[1])),r){v.offset&&E();var u=o[2]===r,l=u?a+t.startY-t.y:v()+r-o[1],f=O(l);u&&l!==f&&(a+=f-l),v(f)}(r||e)&&Ds()},t.onEnable=function(){Ks(d,!c&&"x"),Hs.addEventListener("refresh",S),os(zi,"resize",S),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),k.enable()},t.onDisable=function(){Ks(d,!0),ss(zi,"resize",S),Hs.removeEventListener("refresh",S),k.kill()},t.lockAxis=!1!==t.lockAxis,(e=new Pi(t)).iOS=io,io&&!v()&&v(1),io&&Di.ticker.add(To),u=e._dc,o=Di.to(e,{ease:"power4",paused:!0,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:qs(v,v(),(function(){return o.pause()}))},onUpdate:Ds,onComplete:u.vars.onComplete}),e}(t);return to&&to.target===e.target&&to.kill(),Oo(e.target)&&(to=e),e},Hs.core={_getVelocityProp:Ci,_inputObserver:$s,_scrollers:ci,_proxies:fi,bridge:{ss:function(){_o||Ts("scrollStart"),_o=po()},ref:function(){return Wi}}},Co()&&Di.registerPlugin(Hs);var ea=r(65),ra=r.n(ea),na="localhost"!==window.location.hostname;ra().setLevel(na?"warn":"debug");const ia=function(){for(var t=arguments.length,e=new Array(t),r=0;r li",{autoAlpha:0,y:20},{autoAlpha:1,duration:.2,y:0,ease:"power2.out",stagger:.1},"-=0.1"),t.fromTo("#langid",{autoAlpha:0,y:20},{autoAlpha:1,duration:.2,y:0,ease:"power2.out"},"-=0.1"),t.fromTo("#open-mobile-nav",{autoAlpha:0,y:20},{duration:.2,ease:"power2.out",y:0,autoAlpha:1},"-=0.1"),ia("After navigation animation")}else ia("hasAnimated is true. Exit function.");var e,r})(),Hn.timeline().add(sa("#main-heading"),0).add(sa("#main-text"),0).add(sa("#main-content"),0).add(aa(".icons__wrapper"),0).add(aa("#main-cr"),0).add((t=".main-img",ia("Before expand image reveal animation"),Hn.fromTo(t,{autoAlpha:0,scale:.8},{autoAlpha:1,scale:1,duration:1,ease:"power2.out"}),void ia("After expand image reveal animation")),0)}))})()})(); \ No newline at end of file diff --git a/client/dist/css/main.css b/client/dist/css/main.css new file mode 100644 index 0000000..f70abac --- /dev/null +++ b/client/dist/css/main.css @@ -0,0 +1 @@ +@import"https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap";@import"https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap";.dark-theme{--text-color: 255, 255, 255;--mobile-color: #000000;--background-color: #000000;--mobile-background-color: white;--language-color: #000000}.light-theme{--text-color: 0, 0, 0;--mobile-color: #ffffff;--background-color: white;--mobile-background-color: #000000;--language-color: #ffffff}html{scroll-behavior:smooth}:root{font-size:100%}*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}body{background:var(--background-color);color:rgba(var(--text-color), 1);font-family:"Lato",sans-serif;min-width:365px;overflow-x:hidden;padding:2.5rem 0 0}ul{list-style:none}img{max-width:100%;height:auto}.internationalization{font-size:.75rem}@media screen and (min-width: 768px){.internationalization{font-size:15px}}.header{margin-bottom:120px}.main{margin-bottom:120px}a{cursor:pointer;text-decoration:none}span{display:inline-block}a:active{color:rgba(var(--text-color), 1)}#projects>span{margin-right:-5px}input[type=checkbox]{height:0;width:0;visibility:hidden}label{cursor:pointer;text-indent:-9999px;width:40px;height:20px;background:rgb(var(--text-color));display:block;border-radius:100px;position:relative}label:after{content:"";position:absolute;top:5px;left:5px;width:10px;height:10px;background:var(--background-color);border-radius:90px;transition:left .3s,width .3s,height .3s}input:checked+label{background:rgb(var(--text-color))}input:checked+label:after{left:calc(100% - 5px);transform:translateX(-100%)}label:active:after{width:40px}#logo-canvas{height:70px;width:70px}.loading-animation{background-color:var(--background-color);height:100vh;width:100vw;position:absolute;overflow-y:hidden;z-index:4}#load{position:absolute;width:600px;height:36px;left:50%;top:40%;margin-left:-300px;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}#load div{position:absolute;width:20px;height:36px;opacity:0;font-family:Helvetica,Arial,sans-serif;font-size:24px;animation:move 2s linear infinite;-o-animation:move 2s linear infinite;-moz-animation:move 2s linear infinite;-webkit-animation:move 2s linear infinite;transform:rotate(180deg);-o-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg)}#load div:nth-child(2){animation-delay:.2s;-o-animation-delay:.2s;-moz-animation-delay:.2s;-webkit-animation-delay:.2s}#load div:nth-child(3){animation-delay:.4s;-o-animation-delay:.4s;-webkit-animation-delay:.4s;-webkit-animation-delay:.4s}#load div:nth-child(4){animation-delay:.6s;-o-animation-delay:.6s;-moz-animation-delay:.6s;-webkit-animation-delay:.6s}#load div:nth-child(5){animation-delay:.8s;-o-animation-delay:.8s;-moz-animation-delay:.8s;-webkit-animation-delay:.8s}#load div:nth-child(6){animation-delay:1s;-o-animation-delay:1s;-moz-animation-delay:1s;-webkit-animation-delay:1s}#load div:nth-child(7){animation-delay:1.2s;-o-animation-delay:1.2s;-moz-animation-delay:1.2s;-webkit-animation-delay:1.2s}@keyframes move{0%{left:0;opacity:0}35%{left:41%;-moz-transform:rotate(0deg);-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg);opacity:1}65%{left:59%;-moz-transform:rotate(0deg);-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg);opacity:1}100%{left:100%;-moz-transform:rotate(-180deg);-webkit-transform:rotate(-180deg);-o-transform:rotate(-180deg);transform:rotate(-180deg);opacity:0}}@-moz-keyframes move{0%{left:0;opacity:0}35%{left:41%;-moz-transform:rotate(0deg);transform:rotate(0deg);opacity:1}65%{left:59%;-moz-transform:rotate(0deg);transform:rotate(0deg);opacity:1}100%{left:100%;-moz-transform:rotate(-180deg);transform:rotate(-180deg);opacity:0}}@-webkit-keyframes move{0%{left:0;opacity:0}35%{left:41%;-webkit-transform:rotate(0deg);transform:rotate(0deg);opacity:1}65%{left:59%;-webkit-transform:rotate(0deg);transform:rotate(0deg);opacity:1}100%{left:100%;-webkit-transform:rotate(-180deg);transform:rotate(-180deg);opacity:0}}@-o-keyframes move{0%{left:0;opacity:0}35%{left:41%;-o-transform:rotate(0deg);transform:rotate(0deg);opacity:1}65%{left:59%;-o-transform:rotate(0deg);transform:rotate(0deg);opacity:1}100%{left:100%;-o-transform:rotate(-180deg);transform:rotate(-180deg);opacity:0}}.hamburger{position:relative;height:30px;width:30px;transition:transform .4s ease-in-out}.hamburger div{width:100%;height:3px;background:#fff}.hamburger div:before,.hamburger div:after{content:"";display:block;width:30px;height:3px;position:absolute;background:#fff}.hamburger div:before{top:-12px;transition:width .4s cubic-bezier(0.895, 0.03, 0.685, 0.22)}.hamburger div:after{top:12px;transition:transform .4s ease-in-out}.hamburger.open{transform:rotate(45deg);transition-delay:.2s}.hamburger.open div:before{width:0}.hamburger.open div:after{transform:rotate(-450deg) translateX(12px)}@keyframes slide-in-right{0%{right:-100px}100%{right:0}}@keyframes slide-out-right{0%{right:0}100%{right:-1000px}}@keyframes slide-in-left{0%{left:-1500px}100%{left:0}}@keyframes slide-out-left{0%{left:0}100%{left:-1500px}}.slide-in-right{animation-name:slide-in-right;animation-duration:.1s;animation-timing-function:ease-in;animation-fill-mode:forwards}.slide-out-right{animation-name:slide-out-right;animation-duration:.1s;animation-iteration-count:1;animation-timing-function:ease-in;animation-fill-mode:forwards}.slide-in-left{animation-name:slide-in-left;animation-duration:.2s;animation-timing-function:linear;animation-fill-mode:forwards}.slide-out-left{animation-name:slide-out-left;animation-duration:.2s;animation-timing-function:linear;animation-fill-mode:forwards}@keyframes slideIn{from{opacity:0;transform:translateY(100px) translateX(-50%)}to{opacity:1;transform:translateY(0) translateX(-50%)}}@keyframes slideOut{from{opacity:1;transform:translateY(0) translateX(-50%)}to{opacity:0;transform:translateY(100px) translateX(-50%)}}.animate-in{animation:slideIn .5s ease forwards}.animate-out{animation:slideOut .5s ease forwards}@keyframes rotateCounter{from{transform:rotate(0deg)}to{transform:rotate(-180deg)}}@keyframes returnCounter{from{transform:rotate(-180deg)}to{transform:rotate(0deg)}}.rotate-counter{animation:rotateCounter .5s ease forwards}.return-counter{animation:returnCounter .5s ease forwards}.skills{background:var(--mobile-background-color);color:var(--mobile-color);padding-top:clamp(32px,6vw,160px);padding-bottom:40px;padding-left:16px}.skills__heading{font-family:"Lato",sans-serif;font-size:28px;font-style:normal;line-height:2.75rem;letter-spacing:-0.5px;margin-bottom:clamp(32px,6vw,160px)}.skills__wrapper{margin-bottom:clamp(32px,5vw,160px)}@media screen and (min-width: 768px){.skills__wrapper{display:flex;gap:15%}}.skills__title{margin-bottom:clamp(16px,2vw,32px)}@media screen and (min-width: 768px){.skills__title{width:30%}}.skills__item{margin-bottom:4px;opacity:.7}@media screen and (min-width: 768px){.skills__item{margin-top:clamp(8px,1vw,24px)}}.btn-container{display:flex;align-items:center;gap:10px;justify-content:center}.btn{background-image:none;background-color:rgba(0,0,0,0);border:1px solid rgba(var(--text-color), 1);color:rgba(var(--text-color), 1);font-size:12px;height:48px;position:relative;line-height:16px;width:151px;transition:font-size .5s ease-in-out,border .5s ease-in-out,height .5s ease-in-out,width .5s ease-in-out,color .5s ease-in-out,background-color .5s ease-in-out,line-height .5s ease-in-out}.btn-sm{background-image:none;background-color:rgba(0,0,0,0);border:1px solid rgba(var(--text-color), 1);color:rgba(var(--text-color), 1);font-size:8px;height:24px;position:relative;line-height:8px;width:60px;opacity:0;transition:background-color .5s ease-in-out,border .5s ease-in-out,color .5s ease-in-out}.btn-sm--link{text-align:center;display:inline-block;line-height:24px;text-decoration:none}.btn-sm:hover{background-color:rgba(var(--text-color), 1);border:1px solid var(--background-color);color:var(--background-color);cursor:pointer}.btn:hover{background-color:rgba(var(--text-color), 1);border:1px solid var(--background-color);color:var(--background-color);font-size:16px;height:58px;line-height:58px;width:161px}.btn--link{text-align:center;display:inline-block;line-height:48px;text-decoration:none}#contact-section{margin:0 auto 64px;max-width:567px}.contact{margin-bottom:40px}.contact__heading{font-size:28px;margin:0 auto;max-width:30.25rem}.contact__text{font-size:16px}.form{padding-bottom:60px}.form__container{margin-bottom:30px}.form__text{display:inline-block;margin-bottom:10px}.form__label{font-size:12px}.form__input{border:none;border-bottom:.5px solid rgba(255,255,255,.1);background:rgba(0,0,0,0);color:rgba(var(--text-color), 1);outline:rgba(0,0,0,0);padding:5px 5px 5px 2px;width:100%}.form__input:focus{border-bottom:.5px solid rgba(255,255,255,.5)}.form__input:focus::placeholder{color:rgba(0,0,0,0)}.icons{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.icons--row{flex-direction:row}.icons--left{justify-content:start}.icons__wrapper{height:1.5rem;width:1.5rem}.icons__wrapper--mobile{margin-bottom:24px}.icons__icon{fill:rgba(var(--text-color), 1);height:100%;width:100%;transition:.5s ease-in-out}.icons__icon:hover{opacity:.5}.icons__icon-1:hover{height:125%;width:125%;fill:#e5e37e}.icons__icon-2:hover{height:125%;width:125%;fill:#ea4f20}.icons__icon-3:hover{height:125%;width:125%;fill:#dda091}.nav-container{display:flex;gap:40px;align-items:center}.nav-container--secondary{justify-content:space-between;align-items:center;margin-bottom:40px}.nav{display:none}@media screen and (min-width: 768px){.nav{display:flex;justify-content:space-between;align-items:center;width:400px}}.nav__item{list-style:none;padding:2px;position:relative}.nav__link{position:relative;color:rgba(var(--text-color), 1);font-size:1.125rem;padding:.125rem;text-decoration:none;transition:color .2s ease-in-out,opacity .2s ease-in-out}.nav__link:hover{color:rgba(var(--text-color), 0.6)}.nav__link-1::after{content:"";position:absolute;left:0;bottom:-4px;width:0;height:2px;background-color:#e5e37e;transition:width .2s ease}.nav__link-1:hover::after{width:100%;cursor:pointer}.nav__link-3::after{content:"";position:absolute;left:0;bottom:-4px;width:0;height:2px;background-color:#dda091;transition:width .2s ease}.nav__link-3:hover::after{pointer-events:none;width:100%}.nav__link-4::after{content:"";position:absolute;left:0;bottom:-4px;width:0;height:2px;background-color:#ea4f20;transition:width .2s ease}.nav__link-4:hover::after{width:100%;cursor:pointer}.nav__link-active::after{width:100%}.toggle-wrapper{display:flex;align-items:center}.portfolio-title{font-size:15vw;font-weight:500;line-height:1.1;margin-bottom:92px}@media screen and (max-width: 320px){.portfolio-title{font-size:49px}}@media screen and (min-width: 1146px){.portfolio-title{font-size:173px}}.portfolio-title div{margin-bottom:-4px}.section-3{text-align:right}.section-5{margin-left:6vw}@media screen and (max-width: 320px){.section-5{margin-left:1.2rem}}@media screen and (min-width: 1146px){.section-5{margin-left:4.3012rem}}.char{font-family:"Playfair Display",serif;font-weight:500;margin-right:-3.8vw}@media screen and (max-width: 320px){.char{margin-right:-0.76rem}}@media screen and (min-width: 1146px){.char{margin-right:-2.65rem}}.stats{display:flex;flex-direction:row;flex-wrap:wrap;column-gap:20%;row-gap:32px}@media screen and (min-width: 506px){.stats{justify-content:space-between;gap:0}}.stats__stat{letter-spacing:-1px;font-size:clamp(16px,2vw,25px)}.stats__data{font-size:clamp(16px,9vw,125px)}.mobile-nav-container{background-color:var(--mobile-background-color);display:flex;flex-direction:column;align-items:left;justify-content:space-between;padding:40px 0;position:fixed;text-align:left;width:100%;z-index:4;top:0;left:-10000px;overflow:hidden;height:100vh}@media screen and (min-width: 768px){.mobile-nav-container{display:none}}.mobile-nav-container__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.mobile-nav{display:flex;flex-direction:column;gap:30px}.mobile-nav__item{list-style:none}.mobile-nav__item:not(:last-child){margin-bottom:15px}.mobile-nav__link{position:relative;color:var(--mobile-color);text-decoration:none;font-size:36px;font-weight:500;padding:2px}.mobile-nav__link::after{content:"";position:absolute;left:0;bottom:-4px;width:0;height:2px;background-color:var(--mobile-color);transition:width .2s ease}.mobile-nav__link:hover::after{width:100%;cursor:pointer}.mobile-nav__link:hover{opacity:.6;cursor:pointer}.mobile-nav__link-1:hover{border-bottom-color:rgba(var(--text-color), 1);color:#dda091}.mobile-nav__link-2:hover{border-bottom-color:rgba(var(--text-color), 1);color:#e5e37e}.mobile-nav__link-3:hover{border-bottom-color:rgba(var(--text-color), 1);color:#ea4f20}.mobile-nav__link-4:hover{border-bottom-color:rgba(var(--text-color), 1);color:#dda091}.mobile-nav-btn{background:rgba(0,0,0,0);border:none;width:24px;padding:0;transition:opacity ease-in-out}@media screen and (min-width: 768px){.mobile-nav-btn{display:none}}.mobile-nav-btn:hover{cursor:pointer;opacity:.5}.mobile-nav-btn__icon{fill:var(--mobile-color)}.mobile-nav-btn img{width:100%}.mobile-nav-btn:hover{cursor:pointer}.mobile-nav-footer__heading{color:var(--mobile-color)}.mobile-nav-footer__link{color:var(--mobile-color)}.mobile-nav-footer__icon{height:40px;width:40px;fill:var(--mobile-color);transition:opacity .5s ease-in-out}.mobile-nav-footer__icon:hover{cursor:pointer;opacity:.5}.mobile-nav-footer__cr{margin-top:48px;color:var(--mobile-color)}.lang-container{display:flex;align-items:center;gap:7px}.lang-container__img{width:16px;height:16px}.lang-container__icon{height:12px;width:12px}.lang-container__link{font-size:.875rem}.lang-modal{background-color:var(--language-color);border-radius:4px;box-shadow:0 0 10px rgba(var(--text-color), 0.2);border:1px solid #fff;position:relative;height:95%;width:100%}.lang-modal__icon{height:30px;width:30px}.lang-modal__text{display:flex;justify-content:center;gap:7px;align-items:center;font-size:.875rem}.lang-wrapper{height:40px;width:120%;padding-top:4px;position:absolute;bottom:-40px;left:50%;transform:translateX(-50%)}.text{color:rgba(var(--text-color), 1);font-family:"Lato",sans-serif;font-size:16px;line-height:1.25}.text--responsive{font-size:clamp(16px,3vw,25px);max-width:300px}@media screen and (min-width: 768px){.text--responsive{max-width:600px}}.text--link{position:relative;color:var(--language-color);padding:.125rem;text-decoration:none;transition:color .2s ease-in-out,opacity .2s ease-in-out}.text--link-alt{position:relative;color:var(--mobile-background-color);padding:.125rem;text-decoration:none;transition:color .2s ease-in-out,opacity .2s ease-in-out}.text--link::after{content:"";position:absolute;left:0;bottom:-4px;width:0;height:2px;background-color:var(--language-color);transition:width .2s ease}.text--link-alt::after{content:"";position:absolute;left:0;bottom:-4px;width:0;height:2px;background-color:var(--mobile-background-color);transition:width .2s ease}.text--link:hover::after{width:100%;cursor:pointer}.text--link-alt:hover::after{width:100%;cursor:pointer}.text--light{opacity:.7}.text--light{opacity:.7}.text--bold{font-weight:700}.text--italic{font-style:italic}.label{font-family:"Lato",sans-serif;font-size:12px;line-height:.75}.h1{color:rgba(var(--text-color), 1);font-family:"Lato",sans-serif;font-size:32px;font-style:normal;font-weight:7500;line-height:1.1;max-width:600px;letter-spacing:-1.5px}.h1--responsive{font-size:clamp(32px,5vw,4rem)}.h2{color:rgba(var(--text-color), 1);font-family:"Lato",sans-serif;font-size:28px;font-style:normal;line-height:1.4;letter-spacing:-0.5px}.h2--responsive{font-size:clamp(28px,4vw,50px)}.h3{color:rgba(var(--text-color), 1);font-family:"Lato",sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:2.75rem}.h3--responsive{font-size:clamp(16px,3vw,40px)}.color-light{color:rgba(var(--text-color), 1)}.color-dark{color:var(--background-color)}.color-salmon{color:#dda091}.color-mustard{color:#e5e37e}.color-orange{color:#ea4f20}.container{display:block;margin:0 auto;width:87.2%;max-width:1000px}.container--sm{width:70%;max-width:257px}.container--md{width:66.0550458716%}.container--lg{width:90%}.container--projects{width:90%}.projects-grid{display:grid;row-gap:88px;margin:0 auto;max-width:1000px;padding-bottom:88px}@media screen and (min-width: 992px){.projects-grid{grid-template-columns:1fr 1fr;column-gap:120px;row-gap:160px}}.projects-grid__wrapper{padding:0 16px}@media screen and (min-width: 992px){.projects-grid__wrapper{padding:8px 0 0 0;display:flex;flex-direction:column;gap:8px}}.projects-grid__item{min-width:400px;min-height:400px}.projects-grid__item1{order:4}@media screen and (min-width: 992px){.projects-grid__item1{grid-column:1/3;margin-left:120px}}.projects-grid__item2{order:2}@media screen and (min-width: 992px){.projects-grid__item2{margin-top:160px}}.projects-grid__item3{order:3}.projects-grid__item4{order:5}.projects-grid__item5{order:6}@media screen and (min-width: 992px){.projects-grid__item5{margin-top:160px}}.projects-grid__item6{order:7}@media screen and (min-width: 992px){.projects-grid__item6{grid-column:1/3;margin-right:160px}}@media screen and (min-width: 992px){.projects-grid__item7{order:1;grid-column:1/3;margin-left:120px}}.projects-grid__tags{display:flex;align-items:center;gap:16px}.projects-grid img{margin-bottom:8px}.contact-layout{display:flex;gap:32px}@media screen and (min-width: 768px){.contact-layout{margin-top:120px}}@media screen and (min-width: 576px){.contact-layout__item1{width:50%}}.contact-layout__item2{display:none}@media screen and (min-width: 576px){.contact-layout__item2{display:block;width:50%}}@media screen and (min-width: 768px){.contact-footer{position:absolute;bottom:20px}}.about-h1{top:35px;position:relative;z-index:2}@media screen and (min-width: 992px){.about-h1{top:150px}}.about-img{margin-top:-60px;margin-left:auto;margin-right:20px;width:60%;min-height:800px}.about-img img{min-height:800px}.about-text{max-width:800px}.why__heading{margin-bottom:clamp(88px,3vw,160px)}.why__content{margin-bottom:160px}.why__subscript{font-weight:700;margin-bottom:clamp(8px,2vw,24px)}.why__title{line-height:1.1;width:70%;max-width:600px;margin-bottom:24px}.why__text{max-width:800px}@keyframes slide{from{transform:translateX(0)}to{transform:translateX(-100%)}}.logos{overflow:hidden;padding:60px 0;background:rgba(0,0,0,0);white-space:nowrap;position:relative}.logos:before,.logos:after{position:absolute;top:0;width:250px;height:250px;content:"";z-index:2}.logos-slide{display:inline-block;animation:20s slide infinite alternate}.logos-slide img{height:250px;margin:0 40px}@media screen and (min-width: 768px){.logos-slide img{height:400px}}.footer{padding:88px 0 88px 0}@media screen and (min-width: 768px){.footer__container{display:flex;justify-content:space-between}}.footer-container{background:var(--mobile-background-color);color:rgb(var(--text-color))}.footer-nav{display:flex;flex-wrap:wrap;row-gap:16px}@media screen and (min-width: 768px){.footer-nav{flex-wrap:nowrap;row-gap:0;width:400px;justify-content:center;align-items:center}}.footer-nav li{width:50%}@media screen and (min-width: 768px){.footer-nav li{width:100%;flex-direction:row}}.footer__text{color:var(--mobile-color)}.footer__icon{fill:var(--mobile-color)}.footer__icon:hover{opacity:.5}.u-hidden{display:none;transform:translateY(100px)}.u-text-center{text-align:center}.u-text-left{text-align:left}.u-text-right{text-align:right}.u-text-justify{text-align:justify}.mb-0{margin-bottom:4px}.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:32px}.mb-5{margin-bottom:40px}.mb-6{margin-bottom:48px}.mb-7{margin-bottom:88px}.mb-8{margin-bottom:120px}.mb-9{margin-bottom:160px}.op-75{opacity:75%}.op-50{opacity:50%}.overlay{border-radius:8px;display:flex;flex-direction:column;justify-content:center;align-items:center;position:absolute;background-color:rgba(0,0,0,.6);height:0px;opacity:0;width:100%}.u-text-100{font-weight:100}.u-text-200{font-weight:200}.u-text-300{font-weight:300}.u-text-400{font-weight:400}.u-text-500{font-weight:500}.u-text-600{font-weight:600}.u-text-700{font-weight:700}.u-text-800{font-weight:800}.u-text-900{font-weight:900}.hidden{opacity:0;visibility:hidden}.hidden-nav{opacity:0;visibility:hidden}.invisible{display:none}.bullet{width:2px;height:2px;background-color:#000;display:inline-block;border-radius:50%}/*# sourceMappingURL=main.css.map */ diff --git a/client/dist/css/main.css.map b/client/dist/css/main.css.map new file mode 100644 index 0000000..a915cc3 --- /dev/null +++ b/client/dist/css/main.css.map @@ -0,0 +1 @@ +{"version":3,"sourceRoot":"","sources":["../../sass/_variables.scss","../../sass/_base.scss","../../sass/animations/_loading.scss","../../sass/animations/_hamburger.scss","../../sass/animations/_mobile-navigation.scss","../../sass/animations/_keyframes.scss","../../sass/blocks/components/_skills.scss","../../sass/blocks/components/_button.scss","../../sass/blocks/components/_form.scss","../../sass/blocks/components/_icons.scss","../../sass/blocks/components/_nav.scss","../../sass/blocks/components/_portfolio-title.scss","../../sass/blocks/components/_stats.scss","../../sass/blocks/components/_mobile-nav.scss","../../sass/blocks/components/_language.scss","../../sass/blocks/components/_typography.scss","../../sass/blocks/layouts/_container.scss","../../sass/blocks/layouts/_grid.scss","../../sass/blocks/layouts/_contact.scss","../../sass/blocks/layouts/_about.scss","../../sass/blocks/layouts/_footer.scss","../../sass/_utilities.scss"],"names":[],"mappings":"AAAQ,0IACA,gHAER,YACE,4BACA,wBACA,4BACA,iCACA,0BAGF,aACE,sBACA,wBACA,0BACA,mCACA,0BCdF,KACE,uBAGF,MACE,eAGF,qBAGE,sBACA,SACA,UAGF,KACE,mCACA,iCACA,YDFY,kBCGZ,gBACA,kBACA,mBAGF,GACE,gBAGF,IACE,eACA,YAGF,sBACE,iBAEA,qCAHF,sBAII,UDNK,MCUT,QACE,cDPO,MCUT,MACE,cDXO,MCcT,EACE,eACA,qBAOF,KACE,qBAGF,SACE,iCAGF,eACE,kBAIF,qBACE,SACA,QACA,kBAGF,MACE,eACA,oBACA,WACA,YACA,kCACA,cACA,oBACA,kBAGF,YACE,WACA,kBACA,QACA,SACA,WACA,YACA,mCACA,mBACA,yCAGF,oBACE,kCAGF,0BACE,sBACA,4BAGF,mBACE,WAGF,aACE,YACA,WCpHF,mBACC,yCACC,aACA,YACD,kBACA,kBACA,UAGD,MACE,kBACA,YACA,YACA,SACA,QACA,mBACA,iBACA,yBACA,sBACA,qBACA,iBACA,eAGF,UACE,kBACA,WACA,YACA,UACA,uCACD,eACC,kCACA,qCACA,uCACA,0CACA,yBACA,4BACA,8BACA,iCAGF,uBACE,oBACA,uBACA,yBACA,4BAEF,uBACE,oBACA,uBACA,4BACA,4BAEF,uBACE,oBACA,uBACA,yBACA,4BAEF,uBACE,oBACA,uBACA,yBACA,4BAEF,uBACE,mBACA,sBACA,wBACA,2BAEF,uBACE,qBACA,wBACA,0BACA,6BAGF,gBACE,GACE,OACA,UAEH,IACC,SACA,4BACA,+BACA,0BACA,uBACA,UAED,IACC,SACA,4BACA,+BACA,0BACA,uBACA,UAED,KACC,UACA,+BACA,kCACA,6BACA,0BACA,WAIF,qBACC,GACC,OACA,UAED,IACC,SACA,4BACA,uBACA,UAED,IACC,SACA,4BACA,uBACA,UAED,KACC,UACA,+BACA,0BACA,WAIF,wBACC,GACC,OACA,UAED,IACC,SACA,+BACA,uBACA,UAED,IACC,SACA,+BACA,uBACA,UAED,KACC,UACA,kCACA,0BACA,WAIF,mBACC,GACC,OACA,UAED,IACC,SACA,0BACA,uBACA,UAED,IACC,SACA,0BACA,uBACA,UAED,KACC,UACA,6BACA,0BACA,WCpLF,WACE,kBACA,YACA,WACA,qCAGF,eACE,WACA,WACA,gBAGA,2CAEE,WACA,cACA,WACA,WACA,kBACA,gBAGF,sBACE,UACA,4DAGF,qBACE,IA/BK,KAgCL,qCAKJ,gBACE,wBACA,qBAGE,2BACE,QAEF,0BACE,2CCtCN,0BACE,GACE,aAGF,KACE,SAMJ,2BACE,GACE,QAGF,KACE,eAIJ,yBACE,GACE,aAGF,KACE,QAIJ,0BACE,GACE,OAGF,KACE,cAOJ,gBACE,8BACA,uBACA,kCACA,6BAGF,iBACE,+BACA,uBACA,4BACA,kCACA,6BAGF,eACE,6BACA,uBACA,iCACA,6BAGF,gBACE,8BACA,uBACA,iCACA,6BC/EF,mBACE,KACE,UACA,6CAEF,GACE,UACA,0CAIJ,oBACE,KACE,UACA,yCAEF,GACE,UACA,8CAIJ,YACE,oCAGF,aACE,qCAGF,yBACE,KACE,uBAEF,GACE,2BAIJ,yBACE,KACE,0BAEF,GACE,wBAIJ,gBACE,0CAGF,gBACE,0CCnDF,QACE,0CACA,0BACA,kCACA,eNuCI,KMtCJ,aNmCI,KMjCJ,iBACE,YNSU,kBMRV,UN6DG,KM5DH,kBACA,oBACA,sBACA,oCAGF,iBACE,oCAEA,qCAHF,iBAII,aACA,SAQJ,eACE,mCAEA,qCAHF,eAII,WAKJ,cACE,cNDE,IMEF,WAEA,qCAJF,cAKI,gCCxCN,eACE,aACA,mBACA,SACA,uBAGF,KACE,sBACA,+BACA,4CACA,iCACA,eACA,YACA,kBACA,iBACA,YACA,4LAIF,QACE,sBACA,+BACA,4CACA,iCACA,cACA,YACA,kBACA,gBACA,WACA,UACA,yFAGF,cACE,kBACA,qBACA,iBACA,qBAGF,cACE,4CACA,yCACA,8BACA,eAGF,WACE,4CACA,yCACA,8BACA,eACA,YACA,iBACA,YAGF,WACE,kBACA,qBACA,iBACA,qBC9DF,iBACE,mBACA,gBAGF,SACE,cRiCI,KQ9BN,kBACE,URwDK,KQvDL,cACA,mBAGF,eACE,URiDK,KQ1CP,MACE,oBAMF,iBACE,cRFO,KQKT,YACE,qBACA,cRTO,KQYT,aACE,eAGF,aACE,YACA,8CACA,yBACA,iCACA,sBACA,wBACA,WAGF,mBACE,8CAGF,gCACE,oBC3DF,OACE,aACA,sBACA,mBACA,uBACA,SAGF,YACE,mBAGF,aACE,sBAGF,gBACE,cACA,aAGF,wBACE,cTgBI,KSRN,aACE,gCACA,YACA,WACA,2BAGF,mBACE,WAKF,qBACE,YACA,WACA,KT9BM,QSiCR,qBACE,YACA,WACA,KTlCO,QSqCT,qBACE,YACA,WACA,KTzCO,QUpBT,eACE,aACA,SACA,mBAGF,0BACE,8BACA,mBACA,cVkCI,KU/BN,KACE,aAEA,qCAHF,KAII,aACA,8BACA,mBACA,aAIJ,WACE,gBACA,YACA,kBAGF,WACE,kBACA,iCACA,mBACA,gBACA,qBACA,yDAGF,iBACE,mCAGF,oBACE,WACA,kBACA,OACA,YACA,QACA,WACA,iBV9BM,QU+BN,0BAGF,0BACE,WACA,eAIF,oBACE,WACA,kBACA,OACA,YACA,QACA,WACA,iBV9CO,QU+CP,0BAGF,0BACE,oBACA,WAGF,oBACE,WACA,kBACA,OACA,YACA,QACA,WACA,iBV7DO,QU8DP,0BAGF,0BACE,WACA,eAIF,yBACE,WAGF,gBACE,aACA,mBClGF,iBACE,eACA,gBACA,gBACA,mBAGA,qCAPF,iBAQI,gBAGF,sCAXF,iBAYI,iBAIJ,qBACE,mBAGF,WACE,iBAGF,WACE,gBAEA,qCAHF,WAII,oBAGF,sCAPF,WAQI,uBAIJ,MACE,YXnBc,yBWoBd,gBACA,oBAEA,qCALF,MAMI,uBAGF,sCATF,MAUI,uBC9CJ,OACE,aACA,mBACA,eACA,eACA,aAIA,qCATF,OAUI,8BACA,OAIF,aACE,oBACA,+BAIJ,aACE,gCCrBF,sBACE,gDACA,aACA,sBACA,iBACA,8BACA,eACA,eACA,gBACA,WACA,UACA,MACA,cACA,gBACA,aAEA,qCAhBF,sBAiBI,cAGF,8BACE,aACA,8BACA,mBACA,cbOK,KaHT,YACE,aACA,sBACA,IbCO,KaET,kBACE,gBAGF,mCACE,cbRO,KaWT,kBACE,kBACA,0BACA,qBACA,UbiBO,KahBP,gBACA,YAGF,yBACE,WACA,kBACA,OACA,YACA,QACA,WACA,qCACA,0BAGF,+BACE,WACA,eAGF,wBACE,WACA,eAGF,0BACE,+CACA,MbvDO,QayDT,0BACE,+CACA,Mb5DM,Qa8DR,0BACE,+CACA,Mb9DO,QagET,0BACE,+CACA,MbnEO,QasET,gBACE,yBACA,YACA,WACA,UACA,+BAEA,qCAPF,gBAQI,cAIJ,sBACE,eACA,WAGF,sBACE,yBAIF,oBACE,WAGF,sBACE,eAMA,4BACE,0BAGF,yBACE,0BAGF,yBACE,YACA,WACA,yBACA,mCAGF,+BACE,eACA,WAGF,uBACE,WbpGE,KaqGF,0BC/IJ,gBACE,aACA,mBACA,QAEA,qBACE,WACA,YAIF,sBACE,YACA,WAGF,sBACE,kBAIJ,YACE,uCACA,kBACA,iDACA,sBAEA,kBACA,WACA,WAEA,kBACE,YACA,WAGF,kBACE,aACA,uBACA,QACA,mBACA,kBAIJ,cACE,YACA,WACA,gBACA,kBACA,aACA,SACA,2BCrDF,MACE,iCACA,YfcY,kBebZ,UfiEK,KehEL,iBAGF,kBACE,+BACA,gBAEA,qCAJF,kBAKI,iBAKJ,YACE,kBACA,4BACA,gBACA,qBACA,yDAGF,gBACE,kBACA,qCACA,gBACA,qBACA,yDAKF,mBACE,WACA,kBACA,OACA,YACA,QACA,WACA,uCACA,0BAGF,uBACE,WACA,kBACA,OACA,YACA,QACA,WACA,gDACA,0BAGF,yBACE,WACA,eAGF,6BACE,WACA,eAGF,aACE,WAGF,aACE,WAGF,YACE,gBAGF,cACE,kBAGF,OACE,YfpEY,kBeqEZ,UflBK,KemBL,gBAIF,IACE,iCACA,Yf5EY,kBe6EZ,UfvBK,KewBL,kBACA,iBACA,gBACA,gBACA,sBAGF,gBACE,+BAGF,IACE,iCACA,Yf3FY,kBe4FZ,UfvCK,KewCL,kBACA,gBACA,sBAGF,gBACE,+BAGF,IACE,iCACA,YfxGY,kBeyGZ,UfrDK,KesDL,kBACA,gBACA,oBAGF,gBACE,+BAKF,aACE,iCAGF,YACE,8BAGF,cACE,Mf3HO,Qe8HT,eACE,MfhIM,QemIR,cACE,MflIO,QgBvBT,WACE,cACA,cACA,YACA,iBAGF,eACE,UACA,gBAGF,eACE,qBAGF,eACE,UAGF,qBACE,UChBF,eACE,aACA,QjBwCI,KiBvCJ,cACA,iBACA,ejBqCI,KiBnCJ,qCAPF,eAQI,8BACA,WjBkCE,MiBjCF,QjBkCE,OiBhCJ,wBACE,eAEA,qCAHF,wBAII,kBACA,aACA,sBACA,IjBiBA,KiBbJ,qBACE,gBACA,iBAIF,sBACE,QACA,qCAFF,sBAGI,gBACA,YjBUA,OiBNJ,sBACE,QACA,qCAFF,sBAGI,WjBIA,6BiBCF,QAKF,sBACE,QAKF,sBACE,QACA,qCAFF,sBAGI,WjBfA,OiBmBJ,sBACE,QACA,qCAFF,sBAGI,gBACA,ajBvBA,OiB4BF,qCADF,sBAEI,QACA,gBACA,YjBhCA,OiBoCJ,qBACE,aACA,mBACA,IjB7CE,KiBiDN,mBACE,cjBnDI,IkBvCN,gBACE,aACA,IlBwCI,KkBtCJ,qCAJF,gBAKI,WlByCE,OkBrCF,qCADF,uBAEI,WAIJ,uBACE,aAEA,qCAHF,uBAII,cACA,WAMJ,qCADF,gBAEI,kBACA,aC3BJ,UACE,SACA,kBACA,UAEA,qCALF,UAMI,WAIJ,WACE,iBACA,iBACA,kBACA,UACA,iBAGF,eACE,iBAGF,YACE,gBAMA,cACE,oCAGF,cACE,cnBaE,MmBVJ,gBACE,gBACA,kCAIF,YACE,gBACA,UACA,gBACA,cnBNE,KmBSJ,WACE,gBAOJ,iBACE,KACE,wBAEF,GACE,6BAIJ,OACE,gBACA,eACA,yBACA,mBACA,kBAGF,2BAEE,kBACA,MACA,YACA,aACA,WACA,UAkBF,aACE,qBACA,uCAGF,iBACE,aACC,cAED,qCAJF,iBAKI,cC9GJ,QACE,sBAGE,qCADF,mBAEI,aACA,+BAKN,kBACE,0CACA,6BAIF,YACE,aACA,eACA,QpBoBI,KoBlBJ,qCALF,YAMI,iBACA,UACA,YACA,uBACA,oBAIF,eACE,UAEA,qCAHF,eAII,WACA,oBAMN,cACE,0BAGF,cACE,yBAGF,oBACE,WClDF,UACE,aACA,4BAKF,eACE,kBAGF,aACE,gBAGF,cACE,iBAGF,gBACE,mBAKF,MACE,crBWI,IqBTN,MACE,crBSI,IqBPN,MACE,crBOI,KqBLN,MACE,crBKI,KqBHN,MACE,crBGI,KqBDN,MACE,crBCI,KqBCN,MACE,crBDI,KqBGN,MACE,crBHI,KqBKN,MACE,crBLI,MqBON,MACE,crBPI,MqBUN,OACE,YAGF,OACE,YAGF,SACE,kBACA,aACA,sBACA,uBACA,mBACA,kBACA,gCACA,WACA,UACA,WAKF,YACE,gBAEF,YACE,gBAEF,YACE,gBAEF,YACE,gBAEF,YACE,gBAEF,YACE,gBAEF,YACE,gBAEF,YACE,gBAEF,YACE,gBAGF,QACE,UACA,kBAGF,YACE,UACA,kBAGF,WACE,aAGF,QACE,UACA,WACA,sBACA,qBACA","file":"main.css"} \ No newline at end of file diff --git a/client/dist/homepage.bundle.js b/client/dist/homepage.bundle.js new file mode 100644 index 0000000..cbafef9 --- /dev/null +++ b/client/dist/homepage.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see homepage.bundle.js.LICENSE.txt */ +(()=>{var t={65:function(t,e,r){var n,i;!function(){"use strict";n=function(){var t=function(){},e="undefined",r=typeof window!==e&&typeof window.navigator!==e&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"],i={},o=null;function s(t,e){var r=t[e];if("function"==typeof r.bind)return r.bind(t);try{return Function.prototype.bind.call(r,t)}catch(e){return function(){return Function.prototype.apply.apply(r,[t,arguments])}}}function a(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function u(){for(var r=this.getLevel(),i=0;i=0&&e<=f.levels.SILENT)return e;throw new TypeError("log.setLevel() called with invalid level: "+t)}"string"==typeof t?h+=":"+t:"symbol"==typeof t&&(h=void 0),f.name=t,f.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},f.methodFactory=r||c,f.getLevel=function(){return null!=l?l:null!=a?a:s},f.setLevel=function(t,r){return l=d(t),!1!==r&&function(t){var r=(n[t]||"silent").toUpperCase();if(typeof window!==e&&h){try{return void(window.localStorage[h]=r)}catch(t){}try{window.document.cookie=encodeURIComponent(h)+"="+r+";"}catch(t){}}}(l),u.call(f)},f.setDefaultLevel=function(t){a=d(t),p()||f.setLevel(t,!1)},f.resetLevel=function(){l=null,function(){if(typeof window!==e&&h){try{window.localStorage.removeItem(h)}catch(t){}try{window.document.cookie=encodeURIComponent(h)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(t){}}}(),u.call(f)},f.enableAll=function(t){f.setLevel(f.levels.TRACE,t)},f.disableAll=function(t){f.setLevel(f.levels.SILENT,t)},f.rebuild=function(){if(o!==f&&(s=d(o.getLevel())),u.call(f),o===f)for(var t in i)i[t].rebuild()},s=d(o?o.getLevel():"WARN");var g=p();null!=g&&(l=d(g)),u.call(f)}(o=new f).getLogger=function(t){if("symbol"!=typeof t&&"string"!=typeof t||""===t)throw new TypeError("You must supply a name when creating a logger.");var e=i[t];return e||(e=i[t]=new f(t,o.methodFactory)),e};var h=typeof window!==e?window.log:void 0;return o.noConflict=function(){return typeof window!==e&&window.log===o&&(window.log=h),o},o.getLoggers=function(){return i},o.default=o,o},void 0===(i=n.call(e,r,e,t))||(t.exports=i)}()}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,r),o.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";function t(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var n,i,o,s,a,u,l,c,f,h,p,d,g,_,v,m,y,x={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},w={duration:.5,overwrite:!1,delay:0},b=1e8,T=1e-8,k=2*Math.PI,M=k/4,C=0,O=Math.sqrt,A=Math.cos,E=Math.sin,S=function(t){return"string"==typeof t},P=function(t){return"function"==typeof t},D=function(t){return"number"==typeof t},R=function(t){return void 0===t},z=function(t){return"object"==typeof t},F=function(t){return!1!==t},L=function(){return"undefined"!=typeof window},I=function(t){return P(t)||S(t)},B="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Y=Array.isArray,N=/(?:-?\.?\d|\.)+/gi,X=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,U=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,q=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,W=/[+-]=-?[.\d]+/,V=/[^,'"\[\]\s]+/gi,H=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,j={},G={},K=function(t){return(G=kt(t,j))&&kr},Q=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Z=function(t,e){return!e&&console.warn(t)},$=function(t,e){return t&&(j[t]=e)&&G&&(G[t]=e)||j},J=function(){return 0},tt={suppressEvents:!0,isStart:!0,kill:!1},et={suppressEvents:!0,kill:!1},rt={suppressEvents:!0},nt={},it=[],ot={},st={},at={},ut=30,lt=[],ct="",ft=function(t){var e,r,n=t[0];if(z(n)||P(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(r=lt.length;r--&&!lt[r].targetTest(n););e=lt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Be(t[r],e)))||t.splice(r,1);return t},ht=function(t){return t._gsap||ft(ee(t))[0]._gsap},pt=function(t,e,r){return(r=t[e])&&P(r)?t[e]():R(r)&&t.getAttribute&&t.getAttribute(e)||r},dt=function(t,e){return(t=t.split(",")).forEach(e)||t},gt=function(t){return Math.round(1e5*t)/1e5||0},_t=function(t){return Math.round(1e7*t)/1e7||0},vt=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},mt=function(t,e){for(var r=e.length,n=0;t.indexOf(e[n])<0&&++no;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=s,e.parent=e._dp=t,e},Et=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=e._prev,o=e._next;i?i._next=o:t[r]===e&&(t[r]=o),o?o._prev=i:t[n]===e&&(t[n]=i),e._next=e._prev=e.parent=null},St=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Pt=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},Dt=function(t,e,r,n){return t._startAt&&(i?t._startAt.revert(et):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},Rt=function t(e){return!e||e._ts&&t(e.parent)},zt=function(t){return t._repeat?Ft(t._tTime,t=t.duration()+t._rDelay)*t:0},Ft=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},Lt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},It=function(t){return t._end=_t(t._start+(t._tDur/Math.abs(t._ts||t._rts||T)||0))},Bt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=_t(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),It(t),r._dirty||Pt(r,t)),t},Yt=function(t,e){var r;if((e._time||e._initted&&!e._dur)&&(r=Lt(t.rawTime(),e),(!e._dur||Zt(0,e.totalDuration(),r)-e._tTime>T)&&e.render(r,!0)),Pt(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}},Nt=function(t,e,r,n){return e.parent&&St(e),e._start=_t((D(r)?r:r||t!==s?Gt(t,r,e):t._time)+e._delay),e._end=_t(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),At(t,e,"_first","_last",t._sort?"_start":0),Wt(e)||(t._recent=e),n||Yt(t,e),t._ts<0&&Bt(t,t._tTime),t},Xt=function(t,e){return(j.ScrollTrigger||Q("scrollTrigger",e))&&j.ScrollTrigger.create(e,t)},Ut=function(t,e,r,n,o){return He(t,e,o),t._initted?!r&&t._pt&&!i&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==Me.frame?(it.push(t),t._lazy=[o,n],1):void 0:1},qt=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},Wt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Vt=function(t,e,r,n){var i=t._repeat,o=_t(e)||0,s=t._tTime/t._tDur;return s&&!n&&(t._time*=o/t._dur),t._dur=o,t._tDur=i?i<0?1e10:_t(o*(i+1)+t._rDelay*i):o,s>0&&!n&&Bt(t,t._tTime=t._tDur*s),t.parent&&It(t),r||Pt(t.parent,t),t},Ht=function(t){return t instanceof Ne?Pt(t):Vt(t,t._dur)},jt={_start:0,endTime:J,totalDuration:J},Gt=function t(e,r,n){var i,o,s,a=e.labels,u=e._recent||jt,l=e.duration()>=b?u.endTime(!1):e._dur;return S(r)&&(isNaN(r)||r in a)?(o=r.charAt(0),s="%"===r.substr(-1),i=r.indexOf("="),"<"===o||">"===o?(i>=0&&(r=r.replace(/=/,"")),("<"===o?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(s?(i<0?u:n).totalDuration()/100:1)):i<0?(r in a||(a[r]=l),a[r]):(o=parseFloat(r.charAt(i-1)+r.substr(i+1)),s&&n&&(o=o/100*(Y(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+o:l+o)):null==r?l:+r},Kt=function(t,e,r){var n,i,o=D(e[1]),s=(o?2:1)+(t<2?0:1),a=e[s];if(o&&(a.duration=e[1]),a.parent=r,t){for(n=a,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=F(i.vars.inherit)&&i.parent;a.immediateRender=F(n.immediateRender),t<2?a.runBackwards=1:a.startAt=e[s-1]}return new Ze(e[0],a,e[s+1])},Qt=function(t,e){return t||0===t?e(t):e},Zt=function(t,e,r){return re?e:r},$t=function(t,e){return S(t)&&(e=H.exec(t))?e[1]:""},Jt=[].slice,te=function(t,e){return t&&z(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&z(t[0]))&&!t.nodeType&&t!==a},ee=function(t,e,r){return o&&!e&&o.selector?o.selector(t):!S(t)||r||!u&&Ce()?Y(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var n;return S(t)&&!e||te(t,1)?(n=r).push.apply(n,ee(t)):r.push(t)}))||r}(t,r):te(t)?Jt.call(t,0):t?[t]:[]:Jt.call((e||l).querySelectorAll(t),0)},re=function(t){return t=ee(t)[0]||Z("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return ee(e,r.querySelectorAll?r:r===t?Z("Invalid scope")||l.createElement("div"):t)}},ne=function(t){return t.sort((function(){return.5-Math.random()}))},ie=function(t){if(P(t))return t;var e=z(t)?t:{each:t},r=Re(e.ease),n=e.from||0,i=parseFloat(e.base)||0,o={},s=n>0&&n<1,a=isNaN(n)||s,u=e.axis,l=n,c=n;return S(n)?l=c={center:.5,edges:.5,end:1}[n]||0:!s&&a&&(l=n[0],c=n[1]),function(t,s,f){var h,p,d,g,_,v,m,y,x,w=(f||e).length,T=o[w];if(!T){if(!(x="auto"===e.grid?0:(e.grid||[1,b])[1])){for(m=-b;m<(m=f[x++].getBoundingClientRect().left)&&xm&&(m=_),_w?w-1:u?"y"===u?w/x:x:Math.max(x,w/x))||0)*("edges"===n?-1:1),T.b=w<0?i-w:i,T.u=$t(e.amount||e.each)||0,r=r&&w<0?Pe(r):r}return w=(T[t]-T.min)/T.max||0,_t(T.b+(r?r(w):w)*T.v)+T.u}},oe=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=_t(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(D(r)?0:$t(r))}},se=function(t,e){var r,n,i=Y(t);return!i&&z(t)&&(r=i=t.radius||b,t.values?(t=ee(t.values),(n=!D(t[0]))&&(r*=r)):t=oe(t.increment)),Qt(e,i?P(t)?function(e){return n=t(e),Math.abs(n-e)<=r?n:e}:function(e){for(var i,o,s=parseFloat(n?e.x:e),a=parseFloat(n?e.y:0),u=b,l=0,c=t.length;c--;)(i=n?(i=t[c].x-s)*i+(o=t[c].y-a)*o:Math.abs(t[c]-s))(i=Math.abs(i))&&(o=n,a=i);return o},he=function(t,e,r){var n,i,s,a=t.vars,u=a[e],l=o,c=t._ctx;if(u)return n=a[e+"Params"],i=a.callbackScope||t,r&&it.length&&yt(),c&&(o=c),s=n?u.apply(i,n):u.call(i),o=l,s},pe=function(t){return St(t),t.scrollTrigger&&t.scrollTrigger.kill(!!i),t.progress()<1&&he(t,"onInterrupt"),t},de=[],ge=function(t){if(L()&&t){var e=(t=!t.name&&t.default||t).name,r=P(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:J,render:sr,add:We,kill:ur,modifier:ar,rawVars:0},o={targetTest:0,get:0,getSetter:rr,aliases:{},register:0};if(Ce(),t!==n){if(st[e])return;Tt(n,Tt(Ct(t,i),o)),kt(n.prototype,kt(i,Ct(t,o))),st[n.prop=e]=n,t.targetTest&&(lt.push(n),nt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}$(e,n),t.register&&t.register(kr,n,fr)}else t&&de.push(t)},_e=255,ve={aqua:[0,_e,_e],lime:[0,_e,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_e],navy:[0,0,128],white:[_e,_e,_e],olive:[128,128,0],yellow:[_e,_e,0],orange:[_e,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_e,0,0],pink:[_e,192,203],cyan:[0,_e,_e],transparent:[_e,_e,_e,0]},me=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)*_e+.5|0},ye=function(t,e,r){var n,i,o,s,a,u,l,c,f,h,p=t?D(t)?[t>>16,t>>8&_e,t&_e]:0:ve.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),ve[t])p=ve[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),i=t.charAt(2),o=t.charAt(3),t="#"+n+n+i+i+o+o+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&_e,p&_e,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&_e,t&_e]}else if("hsl"===t.substr(0,3))if(p=h=t.match(N),e){if(~t.indexOf("="))return p=t.match(X),r&&p.length<4&&(p[3]=1),p}else s=+p[0]%360/360,a=+p[1]/100,n=2*(u=+p[2]/100)-(i=u<=.5?u*(a+1):u+a-u*a),p.length>3&&(p[3]*=1),p[0]=me(s+1/3,n,i),p[1]=me(s,n,i),p[2]=me(s-1/3,n,i);else p=t.match(N)||ve.transparent;p=p.map(Number)}return e&&!h&&(n=p[0]/_e,i=p[1]/_e,o=p[2]/_e,u=((l=Math.max(n,i,o))+(c=Math.min(n,i,o)))/2,l===c?s=a=0:(f=l-c,a=u>.5?f/(2-l-c):f/(l+c),s=l===n?(i-o)/f+(if&&(d+=y-h),((u=(c=(g+=y)-d)-v)>0||x)&&(p=++n.frame,i=c-1e3*n.time,n.time=c/=1e3,v+=u+(u>=_?4:_-u),l=1),x||(t=e(r)),l)for(o=0;o=e&&o--},_listeners:m}}(),Ce=function(){return!p&&Me.wake()},Oe={},Ae=/^[\d.\-M][\d.\-,\s]/,Ee=/["']/g,Se=function(t){for(var e,r,n,i={},o=t.substr(1,t.length-3).split(":"),s=o[0],a=1,u=o.length;a1&&s.config?s.config.apply(null,~t.indexOf("{")?[Se(o[1])]:(e=t,r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r),e.substring(r,~i&&i=1?r:1,o=(n||(e?.3:.45))/(r<1?r:1),s=o/k*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*E((t-s)*o)+1},u="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Fe(a);return o=k/o,u.config=function(r,n){return t(e,r,n)},u},Ie=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)}:Fe(n);return i.config=function(r){return t(e,r)},i};dt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;ze(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(2*(1-t),r)/2}))})),Oe.Linear.easeNone=Oe.none=Oe.Linear.easeIn,ze("Elastic",Le("in"),Le("out"),Le()),d=7.5625,v=2*(_=1/(g=2.75)),m=2.5*_,ze("Bounce",(function(t){return 1-y(1-t)}),y=function(t){return t<_?d*t*t:t0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Vt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Ce(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Bt(this,t),!r._dp||r.parent||Yt(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)&&Nt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===T||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),xt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+zt(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.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+zt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Ft(this._tTime,r)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?Lt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(Zt(-Math.abs(this._delay),this._tDur,e),!0),It(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(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):(Ce(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==T&&(this._tTime-=T)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Nt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(F(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&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Lt(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=rt);var e=i;return i=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),i=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(e._ts||1),e=e._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1:this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Ht(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Ht(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(Gt(this,t),F(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,F(e))},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;return new Promise((function(r){var n=P(t)?t:bt,i=function(){var t=e.then;e.then=null,P(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),r(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){pe(this)},t}();Tt(Ye.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 Ne=function(r){function n(e,n){var i;return void 0===e&&(e={}),(i=r.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=F(e.sortChildren),s&&Nt(e.parent||s,t(i),n),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&Xt(t(i),e.scrollTrigger),i}e(n,r);var o=n.prototype;return o.to=function(t,e,r){return Kt(0,arguments,this),this},o.from=function(t,e,r){return Kt(1,arguments,this),this},o.fromTo=function(t,e,r,n){return Kt(2,arguments,this),this},o.set=function(t,e,r){return e.duration=0,e.parent=this,Ot(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Ze(t,e,Gt(this,r),1),this},o.call=function(t,e,r){return Nt(this,Ze.delayedCall(0,t,e),r)},o.staggerTo=function(t,e,r,n,i,o,s){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=o,r.onCompleteParams=s,r.parent=this,new Ze(t,r,Gt(this,i)),this},o.staggerFrom=function(t,e,r,n,i,o,s){return r.runBackwards=1,Ot(r).immediateRender=F(r.immediateRender),this.staggerTo(t,e,r,n,i,o,s)},o.staggerFromTo=function(t,e,r,n,i,o,s,a){return n.startAt=r,Ot(n).immediateRender=F(n.immediateRender),this.staggerTo(t,e,n,i,o,s,a)},o.render=function(t,e,r){var n,o,a,u,l,c,f,h,p,d,g,_,v=this._time,m=this._dirty?this.totalDuration():this._tDur,y=this._dur,x=t<=0?0:_t(t),w=this._zTime<0!=t<0&&(this._initted||!y);if(this!==s&&x>m&&t>=0&&(x=m),x!==this._tTime||r||w){if(v!==this._time&&y&&(x+=this._time-v,t+=this._time-v),n=x,p=this._start,c=!(h=this._ts),w&&(y||(v=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(g=this._yoyo,l=y+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*l+t,e,r);if(n=_t(x%l),x===m?(u=this._repeat,n=y):((u=~~(x/l))&&u===x/l&&(n=y,u--),n>y&&(n=y)),d=Ft(this._tTime,l),!v&&this._tTime&&d!==u&&this._tTime-d*l-this._dur<=0&&(d=u),g&&1&u&&(n=y-n,_=1),u!==d&&!this._lock){var b=g&&1&d,k=b===(g&&1&u);if(ue)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._start=v&&t>=0)for(o=this._first;o;){if(a=o._next,(o._act||n>=o._start)&&o._ts&&f!==o){if(o.parent!==this)return this.render(t,e,r);if(o.render(o._ts>0?(n-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(n-o._start)*o._ts,e,r),n!==this._time||!this._ts&&!c){f=0,a&&(x+=this._zTime=-1e-8);break}}o=a}else{o=this._last;for(var M=t<0?t:n;o;){if(a=o._prev,(o._act||M<=o._end)&&o._ts&&f!==o){if(o.parent!==this)return this.render(t,e,r);if(o.render(o._ts>0?(M-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(M-o._start)*o._ts,e,r||i&&(o._initted||o._startAt)),n!==this._time||!this._ts&&!c){f=0,a&&(x+=this._zTime=M?-1e-8:T);break}}o=a}}if(f&&!e&&(this.pause(),f.render(n>=v?0:-1e-8)._zTime=n>=v?1:-1,this._ts))return this._start=p,It(this),this.render(t,e,r);this._onUpdate&&!e&&he(this,"onUpdate",!0),(x===m&&this._tTime>=this.totalDuration()||!x&&v)&&(p!==this._start&&Math.abs(h)===Math.abs(this._ts)||this._lock||((t||!y)&&(x===m&&this._ts>0||!x&&this._ts<0)&&St(this,1),e||t<0&&!v||!x&&!v&&m||(he(this,x===m&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(x0)&&this._prom())))}return this},o.add=function(t,e){var r=this;if(D(e)||(e=Gt(this,e,t)),!(t instanceof Ye)){if(Y(t))return t.forEach((function(t){return r.add(t,e)})),this;if(S(t))return this.addLabel(t,e);if(!P(t))return this;t=Ze.delayedCall(0,t)}return this!==t?Nt(this,t,e):this},o.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=-b);for(var i=[],o=this._first;o;)o._start>=n&&(o instanceof Ze?e&&i.push(o):(r&&i.push(o),t&&i.push.apply(i,o.getChildren(!0,e,r)))),o=o._next;return i},o.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},o.remove=function(t){return S(t)?this.removeLabel(t):P(t)?this.killTweensOf(t):(Et(this,t),t===this._recent&&(this._recent=this._last),Pt(this))},o.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=_t(Me.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),r.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},o.addLabel=function(t,e){return this.labels[t]=Gt(this,e),this},o.removeLabel=function(t){return delete this.labels[t],this},o.addPause=function(t,e,r){var n=Ze.delayedCall(0,e||J,r);return n.data="isPause",this._hasPause=1,Nt(this,n,Gt(this,t))},o.removePause=function(t){var e=this._first;for(t=Gt(this,t);e;)e._start===t&&"isPause"===e.data&&St(e),e=e._next},o.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)Xe!==n[i]&&n[i].kill(t,e);return this},o.getTweensOf=function(t,e){for(var r,n=[],i=ee(t),o=this._first,s=D(e);o;)o instanceof Ze?mt(o._targets,i)&&(s?(!Xe||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&n.push(o):(r=o.getTweensOf(i,e)).length&&n.push.apply(n,r),o=o._next;return n},o.tweenTo=function(t,e){e=e||{};var r,n=this,i=Gt(n,t),o=e,s=o.startAt,a=o.onStart,u=o.onStartParams,l=o.immediateRender,c=Ze.to(n,Tt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(s&&"time"in s?s.time:n._time))/n.timeScale())||T,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(s&&"time"in s?s.time:n._time))/n.timeScale());c._dur!==t&&Vt(c,t,0,1).render(c._time,!0,!0),r=1}a&&a.apply(c,u||[])}},e));return l?c.render(0):c},o.tweenFromTo=function(t,e,r){return this.tweenTo(e,Tt({startAt:{time:Gt(this,t)}},r))},o.recent=function(){return this._recent},o.nextLabel=function(t){return void 0===t&&(t=this._time),fe(this,Gt(this,t))},o.previousLabel=function(t){return void 0===t&&(t=this._time),fe(this,Gt(this,t),1)},o.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+T)},o.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var n,i=this._first,o=this.labels;i;)i._start>=r&&(i._start+=t,i._end+=t),i=i._next;if(e)for(n in o)o[n]>=r&&(o[n]+=t);return Pt(this)},o.invalidate=function(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return r.prototype.invalidate.call(this,t)},o.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={}),Pt(this)},o.totalDuration=function(t){var e,r,n,i=0,o=this,a=o._last,u=b;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-t:t));if(o._dirty){for(n=o.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(r=a._start)>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,Nt(o,a,r-a._delay,1)._lock=0):u=r,r<0&&a._ts&&(i-=r,(!n&&!o._dp||n&&n.smoothChildTiming)&&(o._start+=r/o._ts,o._time-=r,o._tTime-=r),o.shiftChildren(-r,!1,-Infinity),u=0),a._end>i&&a._ts&&(i=a._end),a=e;Vt(o,o===s&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},n.updateRoot=function(t){if(s._ts&&(xt(s,Lt(t,s)),f=Me.frame),Me.frame>=ut){ut+=x.autoSleep||120;var e=s._first;if((!e||!e._ts)&&x.autoSleep&&Me._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Me.sleep()}}},n}(Ye);Tt(Ne.prototype,{_lock:0,_hasPause:0,_forcing:0});var Xe,Ue,qe=function(t,e,r,n,i,o,s){var a,u,l,c,f,h,p,d,g=new fr(this._pt,t,e,0,1,or,null,i),_=0,v=0;for(g.b=r,g.e=n,r+="",(p=~(n+="").indexOf("random("))&&(n=le(n)),o&&(o(d=[r,n],t,e),r=d[0],n=d[1]),u=r.match(q)||[];a=q.exec(n);)c=a[0],f=n.substring(_,a.index),l?l=(l+1)%5:"rgba("===f.substr(-5)&&(l=1),c!==u[v++]&&(h=parseFloat(u[v-1])||0,g._pt={_next:g._pt,p:f||1===v?f:",",s:h,c:"="===c.charAt(1)?vt(h,c)-h:parseFloat(c)-h,m:l&&l<4?Math.round:0},_=q.lastIndex);return g.c=_")})),l.duration();else{for(p in f={},k)"ease"===p||"easeEach"===p||je(p,k[p],f,k.easeEach);for(p in f)for(S=f[p].sort((function(t,e){return t.t-e.t})),L=0,c=0;cd-T&&!_?d:tg&&(n=g)),(l=this._yoyo&&1&s)&&(h=this._yEase,n=g-n),u=Ft(this._tTime,a),n===p&&!r&&this._initted)return this._tTime=v,this;s!==u&&(f&&this._yEase&&De(f,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=r=1,this.render(_t(a*s),!0).invalidate()._lock=0))}if(!this._initted){if(Ut(this,_?t:n,r,e,v))return this._tTime=0,this;if(p!==this._time)return this;if(g!==this._dur)return this.render(t,e,r)}if(this._tTime=v,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(h||this._ease)(n/g),this._from&&(this.ratio=c=1-c),n&&!p&&!e&&!s&&(he(this,"onStart"),this._tTime!==v))return this;for(o=this._pt;o;)o.r(c,o.d),o=o._next;f&&f.render(t<0?t:!n&&l?-1e-8:f._dur*f._ease(n/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Dt(this,t,0,r),he(this,"onUpdate")),this._repeat&&s!==u&&this.vars.onRepeat&&!e&&this.parent&&he(this,"onRepeat"),v!==this._tDur&&v||this._tTime!==v||(_&&!this._onUpdate&&Dt(this,t,0,!0),(t||!g)&&(v===this._tDur&&this._ts>0||!v&&this._ts<0)&&St(this,1),e||_&&!p||!(v||p||l)||(he(this,v===d?"onComplete":"onReverseComplete",!0),this._prom&&!(v0)&&this._prom()))}}else!function(t,e,r,n){var o,s,a,u=t.ratio,l=e<0||!e&&(!t._start&&qt(t)&&(t._initted||!Wt(t))||(t._ts<0||t._dp._ts<0)&&!Wt(t))?0:1,c=t._rDelay,f=0;if(c&&t._repeat&&(f=Zt(0,t._tDur,e),s=Ft(f,c),t._yoyo&&1&s&&(l=1-l),s!==Ft(t._tTime,c)&&(u=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==u||i||n||t._zTime===T||!e&&t._zTime){if(!t._initted&&Ut(t,e,n,r,f))return;for(a=t._zTime,t._zTime=e||(r?T:0),r||(r=e&&!a),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=f,o=t._pt;o;)o.r(l,o.d),o=o._next;e<0&&Dt(t,e,0,!0),t._onUpdate&&!r&&he(t,"onUpdate"),f&&t._repeat&&!r&&t.parent&&he(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&St(t,1),r||i||(he(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},a.targets=function(){return this._targets},a.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),r.prototype.invalidate.call(this,t)},a.resetTo=function(t,e,r,n){p||Me.wake(),this._ts||this.play();var i=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||He(this,i),function(t,e,r,n,i,o,s){var a,u,l,c,f=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!f)for(f=t._ptCache[e]=[],l=t._ptLookup,c=t._targets.length;c--;){if((a=l[c][e])&&a.d&&a.d._pt)for(a=a.d._pt;a&&a.p!==e&&a.fp!==e;)a=a._next;if(!a)return Ue=1,t.vars[e]="+=0",He(t,s),Ue=0,1;f.push(a)}for(c=f.length;c--;)(a=(u=f[c])._pt||u).s=!n&&0!==n||i?a.s+(n||0)+o*a.c:n,a.c=r-a.s,u.e&&(u.e=gt(r)+$t(u.e)),u.b&&(u.b=a.s+$t(u.b))}(this,t,e,r,n,this._ease(i/this._dur),i)?this.resetTo(t,e,r,n):(Bt(this,0),this.parent||At(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},a.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?pe(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Xe&&!0!==Xe.vars.overwrite)._first||pe(this),this.parent&&r!==this.timeline.totalDuration()&&Vt(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,o,s,a,u,l,c=this._targets,f=t?ee(t):c,h=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0}(c,f))return"all"===e&&(this._pt=0),pe(this);for(n=this._op=this._op||[],"all"!==e&&(S(e)&&(a={},dt(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var r,n,i,o,s=t[0]?ht(t[0]).harness:0,a=s&&s.aliases;if(!a)return e;for(n in r=kt({},e),a)if(n in r)for(i=(o=a[n].split(",")).length;i--;)r[o[i]]=r[n];return r}(c,e)),l=c.length;l--;)if(~f.indexOf(c[l]))for(a in i=h[l],"all"===e?(n[l]=e,s=i,o={}):(o=n[l]=n[l]||{},s=e),s)(u=i&&i[a])&&("kill"in u.d&&!0!==u.d.kill(a)||Et(this,u,"_pt"),delete i[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&p&&pe(this),this},o.to=function(t,e){return new o(t,e,arguments[2])},o.from=function(t,e){return Kt(1,arguments)},o.delayedCall=function(t,e,r,n){return new o(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:n})},o.fromTo=function(t,e,r){return Kt(2,arguments)},o.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new o(t,e)},o.killTweensOf=function(t,e,r){return s.killTweensOf(t,e,r)},o}(Ye);Tt(Ze.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),dt("staggerTo,staggerFrom,staggerFromTo",(function(t){Ze[t]=function(){var e=new Ne,r=Jt.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var $e=function(t,e,r){return t[e]=r},Je=function(t,e,r){return t[e](r)},tr=function(t,e,r,n){return t[e](n.fp,r)},er=function(t,e,r){return t.setAttribute(e,r)},rr=function(t,e){return P(t[e])?Je:R(t[e])&&t.setAttribute?er:$e},nr=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},ir=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},or=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(1e4*(r.s+r.c*t))/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},sr=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ar=function(t,e,r,n){for(var i,o=this._pt;o;)i=o._next,o.p===n&&o.modifier(t,e,r),o=i},ur=function(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?Et(this,n,"_pt"):n.dep||(e=1),n=r;return!e},lr=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},cr=function(t){for(var e,r,n,i,o=t._pt;o;){for(e=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:i)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:i=o,o=e}t._pt=n},fr=function(){function t(t,e,r,n,i,o,s,a,u){this.t=e,this.s=n,this.c=i,this.p=r,this.r=o||nr,this.d=s||this,this.set=a||$e,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=lr,this.m=t,this.mt=r,this.tween=e},t}();dt(ct+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return nt[t]=1})),j.TweenMax=j.TweenLite=Ze,j.TimelineLite=j.TimelineMax=Ne,s=new Ne({sortChildren:!1,defaults:w,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),x.stringFilter=ke;var hr=[],pr={},dr=[],gr=0,_r=0,vr=function(t){return(pr[t]||dr).map((function(t){return t()}))},mr=function(){var t=Date.now(),e=[];t-gr>2&&(vr("matchMediaInit"),hr.forEach((function(t){var r,n,i,o,s=t.queries,u=t.conditions;for(n in s)(r=a.matchMedia(s[n]).matches)&&(i=1),r!==u[n]&&(u[n]=r,o=1);o&&(t.revert(),i&&e.push(t))})),vr("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t)})),gr=t,vr("matchMedia"))},yr=function(){function t(t,e){this.selector=e&&re(e),this.data=[],this._r=[],this.isReverted=!1,this.id=_r++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){P(t)&&(r=e,e=t,t=P);var n=this,i=function(){var t,i=o,s=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=re(r)),o=n,t=e.apply(n,arguments),P(t)&&n._r.push(t),o=i,n.selector=s,n.isReverted=!1,t};return n.last=i,t===P?i(n):t?n[t]=i:i},e.ignore=function(t){var e=o;o=null,t(this),o=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof Ze&&!(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){var n=this.getTweens();this.data.forEach((function(t){"isFlip"===t.data&&(t.revert(),t.getChildren(!0,!0,!1).forEach((function(t){return n.splice(n.indexOf(t),1)})))})),n.map((function(t){return{g:t.globalTime(0),t}})).sort((function(t,e){return e.g-t.g||-1})).forEach((function(e){return e.t.revert(t)})),this.data.forEach((function(e){return e instanceof Ne?"nested"!==e.data&&e.kill():!(e instanceof Ze)&&e.revert&&e.revert(t)})),this._r.forEach((function(e){return e(t,r)})),this.isReverted=!0}else this.data.forEach((function(t){return t.kill&&t.kill()}));if(this.clear(),e)for(var i=hr.length;i--;)hr[i].id===this.id&&hr.splice(i,1)},e.revert=function(t){this.kill(t||{})},t}(),xr=function(){function t(t){this.contexts=[],this.scope=t}var e=t.prototype;return e.add=function(t,e,r){z(t)||(t={matches:t});var n,i,s,u=new yr(0,r||this.scope),l=u.conditions={};for(i in o&&!u.selector&&(u.selector=o.selector),this.contexts.push(u),e=u.add("onMatch",e),u.queries=t,t)"all"===i?s=1:(n=a.matchMedia(t[i]))&&(hr.indexOf(u)<0&&hr.push(u),(l[i]=n.matches)&&(s=1),n.addListener?n.addListener(mr):n.addEventListener("change",mr));return s&&e(u),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),wr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var n=t.map((function(t){return kr.quickSetter(t,e,r)})),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var o=st[e],s=ht(t),a=s.harness&&(s.harness.aliases||{})[e]||e,u=o?function(e){var n=new o;h._pt=0,n.init(t,r?e+r:e,h,0,[t]),n.render(1,n),h._pt&&sr(1,h)}:s.set(t,a);return o?u:function(e){return u(t,a,r?e+r:e,s,1)}},quickTo:function(t,e,r){var n,i=kr.to(t,kt(((n={})[e]="+=0.1",n.paused=!0,n),r||{})),o=function(t,r,n){return i.resetTo(e,t,r,n)};return o.tween=i,o},isTweening:function(t){return s.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Re(t.ease,w.ease)),Mt(w,t||{})},config:function(t){return Mt(x,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,i=t.defaults,o=t.extendTimeline;(n||"").split(",").forEach((function(t){return t&&!st[t]&&!j[t]&&Z(e+" effect requires "+t+" plugin.")})),at[e]=function(t,e,n){return r(ee(t),Tt(e||{},i),n)},o&&(Ne.prototype[e]=function(t,r,n){return this.add(at[e](t,z(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){Oe[t]=Re(e)},parseEase:function(t,e){return arguments.length?Re(t,e):Oe},getById:function(t){return s.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new Ne(t);for(i.smoothChildTiming=F(t.smoothChildTiming),s.remove(i),i._dp=0,i._time=i._tTime=s._time,r=s._first;r;)n=r._next,!e&&!r._dur&&r instanceof Ze&&r.vars.onComplete===r._targets[0]||Nt(i,r,r._start-r._delay),r=n;return Nt(s,i,0),i},context:function(t,e){return t?new yr(t,e):o},matchMedia:function(t){return new xr(t)},matchMediaRefresh:function(){return hr.forEach((function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()}))||mr()},addEventListener:function(t,e){var r=pr[t]||(pr[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=pr[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function t(e,r,n){var i=r-e;return Y(e)?ue(e,t(0,e.length),r):Qt(n,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,r,n){var i=r-e,o=2*i;return Y(e)?ue(e,t(0,e.length-1),r):Qt(n,(function(t){return e+((t=(o+(t-e)%o)%o||0)>i?o-t:t)}))},distribute:ie,random:ae,snap:se,normalize:function(t,e,r){return ce(t,e,0,1,r)},getUnit:$t,clamp:function(t,e,r){return Qt(r,(function(r){return Zt(t,e,r)}))},splitColor:ye,toArray:ee,selector:re,mapRange:ce,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(tn,r,"")),e=Jr}(o||r)&&this.props.push(e,r,o[e])},rn=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},nn=function(){var t,e,r=this.props,n=this.target,i=n.style,o=n._gsap;for(t=0;t=0?un[i]:"")+t},cn=function(){"undefined"!=typeof window&&window.document&&(Mr=window,Cr=Mr.document,Or=Cr.documentElement,Er=sn("div")||{style:{}},sn("div"),Jr=ln(Jr),tn=Jr+"Origin",Er.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Dr=!!ln("perspective"),Pr=kr.core.reverting,Ar=1)},fn=function t(e){var r,n=sn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(Or.appendChild(n),n.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(r=this._gsapBBox());return i&&(o?i.insertBefore(this,o):i.appendChild(this)),Or.removeChild(n),this.style.cssText=s,r},hn=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},pn=function(t){var e;try{e=t.getBBox()}catch(r){e=fn.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===fn||(e=fn.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+hn(t,["x","cx","x1"])||0,y:+hn(t,["y","cy","y1"])||0,width:0,height:0}},dn=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!pn(t))},gn=function(t,e){if(e){var r=t.style;e in Rr&&e!==tn&&(e=Jr),r.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),r.removeProperty(e.replace(Ir,"-$1").toLowerCase())):r.removeAttribute(e)}},_n=function(t,e,r,n,i,o){var s=new fr(t._pt,e,r,0,1,o?Hr:Vr);return t._pt=s,s.b=n,s.e=i,t._props.push(r),s},vn={deg:1,rad:1,turn:1},mn={grid:1,flex:1},yn=function t(e,r,n,i){var o,s,a,u,l=parseFloat(n)||0,c=(n+"").trim().substr((l+"").length)||"px",f=Er.style,h=Br.test(r),p="svg"===e.tagName.toLowerCase(),d=(p?"client":"offset")+(h?"Width":"Height"),g=100,_="px"===i,v="%"===i;return i===c||!l||vn[i]||vn[c]?l:("px"!==c&&!_&&(l=t(e,r,n,"px")),u=e.getCTM&&dn(e),!v&&"%"!==c||!Rr[r]&&!~r.indexOf("adius")?(f[h?"width":"height"]=g+(_?c:i),s=~r.indexOf("adius")||"em"===i&&e.appendChild&&!p?e:e.parentNode,u&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==Cr&&s.appendChild||(s=Cr.body),(a=s._gsap)&&v&&a.width&&h&&a.time===Me.time&&!a.uncache?gt(l/a.width*g):((v||"%"===c)&&!mn[an(s,"display")]&&(f.position=an(e,"position")),s===e&&(f.position="static"),s.appendChild(Er),o=Er[d],s.removeChild(Er),f.position="absolute",h&&v&&((a=ht(s)).time=Me.time,a.width=s[d]),gt(_?o*l/g:o&&l?g/o*l:0))):(o=u?e.getBBox()[h?"width":"height"]:e[d],gt(v?l/o*g:l/100*o)))},xn=function(t,e,r,n){var i;return Ar||cn(),e in Nr&&"transform"!==e&&~(e=Nr[e]).indexOf(",")&&(e=e.split(",")[0]),Rr[e]&&"transform"!==e?(i=Pn(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Dn(an(t,tn))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=kn[e]&&kn[e](t,e,r)||an(t,e)||pt(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?yn(t,e,i,r)+r:i},wn=function(t,e,r,n){if(!r||"none"===r){var i=ln(e,t,1),o=i&&an(t,i,1);o&&o!==r?(e=i,r=o):"borderColor"===e&&(r=an(t,"borderTopColor"))}var s,a,u,l,c,f,h,p,d,g,_,v=new fr(this._pt,t.style,e,0,1,or),m=0,y=0;if(v.b=r,v.e=n,r+="","auto"==(n+="")&&(t.style[e]=n,n=an(t,e)||n,t.style[e]=r),ke(s=[r,n]),n=s[1],u=(r=s[0]).match(U)||[],(n.match(U)||[]).length){for(;a=U.exec(n);)h=a[0],d=n.substring(m,a.index),c?c=(c+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(c=1),h!==(f=u[y++]||"")&&(l=parseFloat(f)||0,_=f.substr((l+"").length),"="===h.charAt(1)&&(h=vt(l,h)+_),p=parseFloat(h),g=h.substr((p+"").length),m=U.lastIndex-g.length,g||(g=g||x.units[e]||_,m===n.length&&(n+=g,v.e+=g)),_!==g&&(l=yn(t,e,f,g)||0),v._pt={_next:v._pt,p:d||1===y?d:",",s:l,c:p-l,m:c&&c<4||"zIndex"===e?Math.round:0});v.c=m-1;)r=a[i],Rr[r]&&(n=1,r="transformOrigin"===r?tn:Jr),gn(o,r);n&&(gn(o,Jr),u&&(u.svg&&o.removeAttribute("transform"),Pn(o,1),u.uncache=1,rn(s)))}},kn={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var o=t._pt=new fr(t._pt,e,r,0,0,Tn);return o.u=n,o.pr=-10,o.tween=i,t._props.push(r),1}}},Mn=[1,0,0,1,0,0],Cn={},On=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},An=function(t){var e=an(t,Jr);return On(e)?Mn:e.substr(7).match(X).map(gt)},En=function(t,e){var r,n,i,o,s=t._gsap||ht(t),a=t.style,u=An(t);return s.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(",")?Mn:u:(u!==Mn||t.offsetParent||t===Or||s.svg||(i=a.display,a.display="block",(r=t.parentNode)&&t.offsetParent||(o=1,n=t.nextElementSibling,Or.appendChild(t)),u=An(t),i?a.display=i:gn(t,"display"),o&&(n?r.insertBefore(t,n):r?r.appendChild(t):Or.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},Sn=function(t,e,r,n,i,o){var s,a,u,l=t._gsap,c=i||En(t,!0),f=l.xOrigin||0,h=l.yOrigin||0,p=l.xOffset||0,d=l.yOffset||0,g=c[0],_=c[1],v=c[2],m=c[3],y=c[4],x=c[5],w=e.split(" "),b=parseFloat(w[0])||0,T=parseFloat(w[1])||0;r?c!==Mn&&(a=g*m-_*v)&&(u=b*(-_/a)+T*(g/a)-(g*x-_*y)/a,b=b*(m/a)+T*(-v/a)+(v*x-m*y)/a,T=u):(b=(s=pn(t)).x+(~w[0].indexOf("%")?b/100*s.width:b),T=s.y+(~(w[1]||w[0]).indexOf("%")?T/100*s.height:T)),n||!1!==n&&l.smooth?(y=b-f,x=T-h,l.xOffset=p+(y*g+x*v)-y,l.yOffset=d+(y*_+x*m)-x):l.xOffset=l.yOffset=0,l.xOrigin=b,l.yOrigin=T,l.smooth=!!n,l.origin=e,l.originIsAbsolute=!!r,t.style[tn]="0px 0px",o&&(_n(o,l,"xOrigin",f,b),_n(o,l,"yOrigin",h,T),_n(o,l,"xOffset",p,l.xOffset),_n(o,l,"yOffset",d,l.yOffset)),t.setAttribute("data-svg-origin",b+" "+T)},Pn=function(t,e){var r=t._gsap||new Be(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,o,s,a,u,l,c,f,h,p,d,g,_,v,m,y,w,b,T,k,M,C,O,A,E,S,P,D,R,z,F,L=t.style,I=r.scaleX<0,B="px",Y="deg",N=getComputedStyle(t),X=an(t,tn)||"0";return n=i=o=u=l=c=f=h=p=0,s=a=1,r.svg=!(!t.getCTM||!dn(t)),N.translate&&("none"===N.translate&&"none"===N.scale&&"none"===N.rotate||(L[Jr]=("none"!==N.translate?"translate3d("+(N.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==N.rotate?"rotate("+N.rotate+") ":"")+("none"!==N.scale?"scale("+N.scale.split(" ").join(",")+") ":"")+("none"!==N[Jr]?N[Jr]:"")),L.scale=L.rotate=L.translate="none"),_=En(t,r.svg),r.svg&&(r.uncache?(A=t.getBBox(),X=r.xOrigin-A.x+"px "+(r.yOrigin-A.y)+"px",O=""):O=!e&&t.getAttribute("data-svg-origin"),Sn(t,O||X,!!O||r.originIsAbsolute,!1!==r.smooth,_)),d=r.xOrigin||0,g=r.yOrigin||0,_!==Mn&&(w=_[0],b=_[1],T=_[2],k=_[3],n=M=_[4],i=C=_[5],6===_.length?(s=Math.sqrt(w*w+b*b),a=Math.sqrt(k*k+T*T),u=w||b?Lr(b,w)*zr:0,(f=T||k?Lr(T,k)*zr+u:0)&&(a*=Math.abs(Math.cos(f*Fr))),r.svg&&(n-=d-(d*w+g*T),i-=g-(d*b+g*k))):(F=_[6],R=_[7],S=_[8],P=_[9],D=_[10],z=_[11],n=_[12],i=_[13],o=_[14],l=(v=Lr(F,D))*zr,v&&(O=M*(m=Math.cos(-v))+S*(y=Math.sin(-v)),A=C*m+P*y,E=F*m+D*y,S=M*-y+S*m,P=C*-y+P*m,D=F*-y+D*m,z=R*-y+z*m,M=O,C=A,F=E),c=(v=Lr(-T,D))*zr,v&&(m=Math.cos(-v),z=k*(y=Math.sin(-v))+z*m,w=O=w*m-S*y,b=A=b*m-P*y,T=E=T*m-D*y),u=(v=Lr(b,w))*zr,v&&(O=w*(m=Math.cos(v))+b*(y=Math.sin(v)),A=M*m+C*y,b=b*m-w*y,C=C*m-M*y,w=O,M=A),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,c=180-c),s=gt(Math.sqrt(w*w+b*b+T*T)),a=gt(Math.sqrt(C*C+F*F)),v=Lr(M,C),f=Math.abs(v)>2e-4?v*zr:0,p=z?1/(z<0?-z:z):0),r.svg&&(O=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!On(an(t,Jr)),O&&t.setAttribute("transform",O))),Math.abs(f)>90&&Math.abs(f)<270&&(I?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-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)+B,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)+B,r.z=o+B,r.scaleX=gt(s),r.scaleY=gt(a),r.rotation=gt(u)+Y,r.rotationX=gt(l)+Y,r.rotationY=gt(c)+Y,r.skewX=f+Y,r.skewY=h+Y,r.transformPerspective=p+B,(r.zOrigin=parseFloat(X.split(" ")[2])||0)&&(L[tn]=Dn(X)),r.xOffset=r.yOffset=0,r.force3D=x.force3D,r.renderTransform=r.svg?Yn:Dr?Bn:zn,r.uncache=0,r},Dn=function(t){return(t=t.split(" "))[0]+" "+t[1]},Rn=function(t,e,r){var n=$t(e);return gt(parseFloat(e)+parseFloat(yn(t,"x",r+"px",n)))+n},zn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Bn(t,e)},Fn="0deg",Ln="0px",In=") ",Bn=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,a=r.z,u=r.rotation,l=r.rotationY,c=r.rotationX,f=r.skewX,h=r.skewY,p=r.scaleX,d=r.scaleY,g=r.transformPerspective,_=r.force3D,v=r.target,m=r.zOrigin,y="",x="auto"===_&&t&&1!==t||!0===_;if(m&&(c!==Fn||l!==Fn)){var w,b=parseFloat(l)*Fr,T=Math.sin(b),k=Math.cos(b);b=parseFloat(c)*Fr,w=Math.cos(b),o=Rn(v,o,T*w*-m),s=Rn(v,s,-Math.sin(b)*-m),a=Rn(v,a,k*w*-m+m)}g!==Ln&&(y+="perspective("+g+In),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(x||o!==Ln||s!==Ln||a!==Ln)&&(y+=a!==Ln||x?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+In),u!==Fn&&(y+="rotate("+u+In),l!==Fn&&(y+="rotateY("+l+In),c!==Fn&&(y+="rotateX("+c+In),f===Fn&&h===Fn||(y+="skew("+f+", "+h+In),1===p&&1===d||(y+="scale("+p+", "+d+In),v.style[Jr]=y||"translate(0, 0)"},Yn=function(t,e){var r,n,i,o,s,a=e||this,u=a.xPercent,l=a.yPercent,c=a.x,f=a.y,h=a.rotation,p=a.skewX,d=a.skewY,g=a.scaleX,_=a.scaleY,v=a.target,m=a.xOrigin,y=a.yOrigin,x=a.xOffset,w=a.yOffset,b=a.forceCSS,T=parseFloat(c),k=parseFloat(f);h=parseFloat(h),p=parseFloat(p),(d=parseFloat(d))&&(p+=d=parseFloat(d),h+=d),h||p?(h*=Fr,p*=Fr,r=Math.cos(h)*g,n=Math.sin(h)*g,i=Math.sin(h-p)*-_,o=Math.cos(h-p)*_,p&&(d*=Fr,s=Math.tan(p-d),i*=s=Math.sqrt(1+s*s),o*=s,d&&(s=Math.tan(d),r*=s=Math.sqrt(1+s*s),n*=s)),r=gt(r),n=gt(n),i=gt(i),o=gt(o)):(r=g,o=_,n=i=0),(T&&!~(c+"").indexOf("px")||k&&!~(f+"").indexOf("px"))&&(T=yn(v,"x",c,"px"),k=yn(v,"y",f,"px")),(m||y||x||w)&&(T=gt(T+m-(m*r+y*i)+x),k=gt(k+y-(m*n+y*o)+w)),(u||l)&&(s=v.getBBox(),T=gt(T+u/100*s.width),k=gt(k+l/100*s.height)),s="matrix("+r+","+n+","+i+","+o+","+T+","+k+")",v.setAttribute("transform",s),b&&(v.style[Jr]=s)},Nn=function(t,e,r,n,i){var o,s,a=360,u=S(i),l=parseFloat(i)*(u&&~i.indexOf("rad")?zr:1)-n,c=n+l+"deg";return u&&("short"===(o=i.split("_")[1])&&(l%=a)!=l%180&&(l+=l<0?a:-360),"cw"===o&&l<0?l=(l+36e9)%a-~~(l/a)*a:"ccw"===o&&l>0&&(l=(l-36e9)%a-~~(l/a)*a)),t._pt=s=new fr(t._pt,e,r,n,l,Ur),s.e=c,s.u="deg",t._props.push(r),s},Xn=function(t,e){for(var r in e)t[r]=e[r];return t},Un=function(t,e,r){var n,i,o,s,a,u,l,c=Xn({},r._gsap),f=r.style;for(i in c.svg?(o=r.getAttribute("transform"),r.setAttribute("transform",""),f[Jr]=e,n=Pn(r,1),gn(r,Jr),r.setAttribute("transform",o)):(o=getComputedStyle(r)[Jr],f[Jr]=e,n=Pn(r,1),f[Jr]=o),Rr)(o=c[i])!==(s=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=$t(o)!==(l=$t(s))?yn(r,i,o,l):parseFloat(o),u=parseFloat(s),t._pt=new fr(t._pt,n,i,a,u-a,Xr),t._pt.u=l||0,t._props.push(i));Xn(n,c)};dt("padding,margin,Width,Radius",(function(t,e){var r="Top",n="Right",i="Bottom",o="Left",s=(e<3?[r,n,i,o]:[r+o,r+n,i+n,i+o]).map((function(r){return e<2?t+r:"border"+r+t}));kn[e>1?"border"+t:t]=function(t,e,r,n,i){var o,a;if(arguments.length<4)return o=s.map((function(e){return xn(t,e,r)})),5===(a=o.join(" ")).split(o[0]).length?o[0]:a;o=(n+"").split(" "),a={},s.forEach((function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]})),t.init(e,a,i)}}));var qn,Wn,Vn={name:"css",register:cn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var o,s,a,u,l,c,f,h,p,d,g,_,v,m,y,w,b,T,k,M,C=this._props,O=t.style,A=r.vars.startAt;for(f in Ar||cn(),this.styles=this.styles||on(t),w=this.styles.props,this.tween=r,e)if("autoRound"!==f&&(s=e[f],!st[f]||!Ve(f,e,r,n,t,i)))if(l=typeof s,c=kn[f],"function"===l&&(l=typeof(s=s.call(r,n,t,i))),"string"===l&&~s.indexOf("random(")&&(s=le(s)),c)c(this,t,f,s,r)&&(y=1);else if("--"===f.substr(0,2))o=(getComputedStyle(t).getPropertyValue(f)+"").trim(),s+="",be.lastIndex=0,be.test(o)||(h=$t(o),p=$t(s)),p?h!==p&&(o=yn(t,f,o,p)+p):h&&(s+=h),this.add(O,"setProperty",o,s,n,i,0,0,f),C.push(f),w.push(f,0,O[f]);else if("undefined"!==l){if(A&&f in A?(o="function"==typeof A[f]?A[f].call(r,n,t,i):A[f],S(o)&&~o.indexOf("random(")&&(o=le(o)),$t(o+"")||(o+=x.units[f]||$t(xn(t,f))||""),"="===(o+"").charAt(1)&&(o=xn(t,f))):o=xn(t,f),u=parseFloat(o),(d="string"===l&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),a=parseFloat(s),f in Nr&&("autoAlpha"===f&&(1===u&&"hidden"===xn(t,"visibility")&&a&&(u=0),w.push("visibility",0,O.visibility),_n(this,O,"visibility",u?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==f&&"transform"!==f&&~(f=Nr[f]).indexOf(",")&&(f=f.split(",")[0])),g=f in Rr)if(this.styles.save(f),_||((v=t._gsap).renderTransform&&!e.parseTransform||Pn(t,e.parseTransform),m=!1!==e.smoothOrigin&&v.smooth,(_=this._pt=new fr(this._pt,O,Jr,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===f)this._pt=new fr(this._pt,v,"scaleY",v.scaleY,(d?vt(v.scaleY,d+a):a)-v.scaleY||0,Xr),this._pt.u=0,C.push("scaleY",f),f+="X";else{if("transformOrigin"===f){w.push(tn,0,O[tn]),T=void 0,k=void 0,M=void 0,k=(T=(b=s).split(" "))[0],M=T[1]||"50%","top"!==k&&"bottom"!==k&&"left"!==M&&"right"!==M||(b=k,k=M,M=b),T[0]=bn[k]||k,T[1]=bn[M]||M,s=T.join(" "),v.svg?Sn(t,s,0,m,0,this):((p=parseFloat(s.split(" ")[2])||0)!==v.zOrigin&&_n(this,v,"zOrigin",v.zOrigin,p),_n(this,O,f,Dn(o),Dn(s)));continue}if("svgOrigin"===f){Sn(t,s,1,m,0,this);continue}if(f in Cn){Nn(this,v,f,u,d?vt(u,d+s):s);continue}if("smoothOrigin"===f){_n(this,v,"smooth",v.smooth,s);continue}if("force3D"===f){v[f]=s;continue}if("transform"===f){Un(this,s,t);continue}}else f in O||(f=ln(f)||f);if(g||(a||0===a)&&(u||0===u)&&!Yr.test(s)&&f in O)a||(a=0),(h=(o+"").substr((u+"").length))!==(p=$t(s)||(f in x.units?x.units[f]:h))&&(u=yn(t,f,o,p)),this._pt=new fr(this._pt,g?v:O,f,u,(d?vt(u,d+a):a)-u,g||"px"!==p&&"zIndex"!==f||!1===e.autoRound?Xr:Wr),this._pt.u=p||0,h!==p&&"%"!==p&&(this._pt.b=o,this._pt.r=qr);else if(f in O)wn.call(this,t,f,o,d?d+s:s);else if(f in t)this.add(t,f,o||t[f],d?d+s:s,n,i);else if("parseTransform"!==f){Q(f,s);continue}g||(f in O?w.push(f,0,O[f]):w.push(f,1,o||t[f])),C.push(f)}y&&cr(this)},render:function(t,e){if(e.tween._time||!Pr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:xn,aliases:Nr,getSetter:function(t,e,r){var n=Nr[e];return n&&n.indexOf(",")<0&&(e=n),e in Rr&&e!==tn&&(t._gsap.x||xn(t,"x"))?r&&Sr===r?"scale"===e?Qr:Kr:(Sr=r||{})&&("scale"===e?Zr:$r):t.style&&!R(t.style[e])?jr:~e.indexOf("-")?Gr:rr(t,e)},core:{_removeProperty:gn,_getMatrix:En}};kr.utils.checkPrefix=ln,kr.core.getStyleSaver=on,Wn=dt("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(qn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Rr[t]=1})),dt(qn,(function(t){x.units[t]="deg",Cn[t]=1})),Nr[Wn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+qn,dt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");Nr[e[1]]=Wn[e[0]]})),dt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){x.units[t]="px"})),kr.registerPlugin(Vn);var Hn=kr.registerPlugin(Vn)||kr;function jn(t,e){for(var r=0;ra?(i=n,n=t,s=o,o=u):r?n+=t:n=i+(t-i)/(u-s)*(o-s)};return{update:l,reset:function(){i=n=r?0:n,s=o=0},getVelocity:function(t){var e=s,a=i,c=hi();return(t||0===t)&&t!==n&&l(t),o===s||c-s>u?0:(n+(r?a:-a))/((r?c:o)-e)*1e3}}},Oi=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},Ai=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Ei=function(){var t,e,r,n;(ri=Gn.core.globals().ScrollTrigger)&&ri.core&&(t=ri.core,e=t.bridge||{},r=t._scrollers,n=t._proxies,r.push.apply(r,ci),n.push.apply(n,fi),ci=r,fi=n,pi=function(t,r){return e[t](r)})},Si=function(t){return(Gn=t||ai())&&"undefined"!=typeof document&&document.body&&(Qn=window,Zn=document,$n=Zn.documentElement,Jn=Zn.body,ni=[Qn,Zn,$n,Jn],Gn.utils.clamp,si=Gn.core.context||function(){},ei="onpointerenter"in Jn?"pointer":"mouse",ti=Pi.isTouch=Qn.matchMedia&&Qn.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Qn||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,oi=Pi.eventTypes=("ontouchstart"in $n?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in $n?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return ui=0}),500),Ei(),Kn=1),Kn};bi.op=Ti,ci.cache=0;var Pi=function(){function t(t){this.init(t)}var e,r;return t.prototype.init=function(t){Kn||Si(Gn)||console.warn("Please gsap.registerPlugin(Observer)"),ri||Ei();var e=t.tolerance,r=t.dragMinimum,n=t.type,i=t.target,o=t.lineHeight,s=t.debounce,a=t.preventDefault,u=t.onStop,l=t.onStopDelay,c=t.ignore,f=t.wheelSpeed,h=t.event,p=t.onDragStart,d=t.onDragEnd,g=t.onDrag,_=t.onPress,v=t.onRelease,m=t.onRight,y=t.onLeft,x=t.onUp,w=t.onDown,b=t.onChangeX,T=t.onChangeY,k=t.onChange,M=t.onToggleX,C=t.onToggleY,O=t.onHover,A=t.onHoverEnd,E=t.onMove,S=t.ignoreCheck,P=t.isNormalizer,D=t.onGestureStart,R=t.onGestureEnd,z=t.onWheel,F=t.onEnable,L=t.onDisable,I=t.onClick,B=t.scrollSpeed,Y=t.capture,N=t.allowClicks,X=t.lockAxis,U=t.onLockAxis;this.target=i=ki(i)||$n,this.vars=t,c&&(c=Gn.utils.toArray(c)),e=e||1e-9,r=r||0,f=f||1,B=B||1,n=n||"wheel,touch,pointer",s=!1!==s,o||(o=parseFloat(Qn.getComputedStyle(Jn).lineHeight)||22);var q,W,V,H,j,G,K,Q=this,Z=0,$=0,J=Mi(i,bi),tt=Mi(i,Ti),et=J(),rt=tt(),nt=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===oi[0],it=gi(i),ot=i.ownerDocument||Zn,st=[0,0,0],at=[0,0,0],ut=0,lt=function(){return ut=hi()},ct=function(t,e){return(Q.event=t)&&c&&~c.indexOf(t.target)||e&&nt&&"touch"!==t.pointerType||S&&S(t,e)},ft=function(){var t=Q.deltaX=Ai(st),r=Q.deltaY=Ai(at),n=Math.abs(t)>=e,i=Math.abs(r)>=e;k&&(n||i)&&k(Q,t,r,st,at),n&&(m&&Q.deltaX>0&&m(Q),y&&Q.deltaX<0&&y(Q),b&&b(Q),M&&Q.deltaX<0!=Z<0&&M(Q),Z=Q.deltaX,st[0]=st[1]=st[2]=0),i&&(w&&Q.deltaY>0&&w(Q),x&&Q.deltaY<0&&x(Q),T&&T(Q),C&&Q.deltaY<0!=$<0&&C(Q),$=Q.deltaY,at[0]=at[1]=at[2]=0),(H||V)&&(E&&E(Q),V&&(g(Q),V=!1),H=!1),G&&!(G=!1)&&U&&U(Q),j&&(z(Q),j=!1),q=0},ht=function(t,e,r){st[r]+=t,at[r]+=e,Q._vx.update(t),Q._vy.update(e),s?q||(q=requestAnimationFrame(ft)):ft()},pt=function(t,e){X&&!K&&(Q.axis=K=Math.abs(t)>Math.abs(e)?"x":"y",G=!0),"y"!==K&&(st[2]+=t,Q._vx.update(t,!0)),"x"!==K&&(at[2]+=e,Q._vy.update(e,!0)),s?q||(q=requestAnimationFrame(ft)):ft()},dt=function(t){if(!ct(t,1)){var e=(t=Oi(t,a)).clientX,n=t.clientY,i=e-Q.x,o=n-Q.y,s=Q.isDragging;Q.x=e,Q.y=n,(s||Math.abs(Q.startX-e)>=r||Math.abs(Q.startY-n)>=r)&&(g&&(V=!0),s||(Q.isDragging=!0),pt(i,o),s||p&&p(Q))}},gt=Q.onPress=function(t){ct(t,1)||t&&t.button||(Q.axis=K=null,W.pause(),Q.isPressed=!0,t=Oi(t),Z=$=0,Q.startX=Q.x=t.clientX,Q.startY=Q.y=t.clientY,Q._vx.reset(),Q._vy.reset(),_i(P?i:ot,oi[1],dt,a,!0),Q.deltaX=Q.deltaY=0,_&&_(Q))},_t=Q.onRelease=function(t){if(!ct(t,1)){vi(P?i:ot,oi[1],dt,!0);var e=!isNaN(Q.y-Q.startY),r=Q.isDragging&&(Math.abs(Q.x-Q.startX)>3||Math.abs(Q.y-Q.startY)>3),n=Oi(t);!r&&e&&(Q._vx.reset(),Q._vy.reset(),a&&N&&Gn.delayedCall(.08,(function(){if(hi()-ut>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ot.createEvent){var e=ot.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,Qn,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}))),Q.isDragging=Q.isGesturing=Q.isPressed=!1,u&&!P&&W.restart(!0),d&&r&&d(Q),v&&v(Q,r)}},vt=function(t){return t.touches&&t.touches.length>1&&(Q.isGesturing=!0)&&D(t,Q.isDragging)},mt=function(){return(Q.isGesturing=!1)||R(Q)},yt=function(t){if(!ct(t)){var e=J(),r=tt();ht((e-et)*B,(r-rt)*B,1),et=e,rt=r,u&&W.restart(!0)}},xt=function(t){if(!ct(t)){t=Oi(t,a),z&&(j=!0);var e=(1===t.deltaMode?o:2===t.deltaMode?Qn.innerHeight:1)*f;ht(t.deltaX*e,t.deltaY*e,0),u&&!P&&W.restart(!0)}},wt=function(t){if(!ct(t)){var e=t.clientX,r=t.clientY,n=e-Q.x,i=r-Q.y;Q.x=e,Q.y=r,H=!0,(n||i)&&pt(n,i)}},bt=function(t){Q.event=t,O(Q)},Tt=function(t){Q.event=t,A(Q)},kt=function(t){return ct(t)||Oi(t,a)&&I(Q)};W=Q._dc=Gn.delayedCall(l||.25,(function(){Q._vx.reset(),Q._vy.reset(),W.pause(),u&&u(Q)})).pause(),Q.deltaX=Q.deltaY=0,Q._vx=Ci(0,50,!0),Q._vy=Ci(0,50,!0),Q.scrollX=J,Q.scrollY=tt,Q.isDragging=Q.isGesturing=Q.isPressed=!1,si(this),Q.enable=function(t){return Q.isEnabled||(_i(it?ot:i,"scroll",xi),n.indexOf("scroll")>=0&&_i(it?ot:i,"scroll",yt,a,Y),n.indexOf("wheel")>=0&&_i(i,"wheel",xt,a,Y),(n.indexOf("touch")>=0&&ti||n.indexOf("pointer")>=0)&&(_i(i,oi[0],gt,a,Y),_i(ot,oi[2],_t),_i(ot,oi[3],_t),N&&_i(i,"click",lt,!1,!0),I&&_i(i,"click",kt),D&&_i(ot,"gesturestart",vt),R&&_i(ot,"gestureend",mt),O&&_i(i,ei+"enter",bt),A&&_i(i,ei+"leave",Tt),E&&_i(i,ei+"move",wt)),Q.isEnabled=!0,t&&t.type&>(t),F&&F(Q)),Q},Q.disable=function(){Q.isEnabled&&(li.filter((function(t){return t!==Q&&gi(t.target)})).length||vi(it?ot:i,"scroll",xi),Q.isPressed&&(Q._vx.reset(),Q._vy.reset(),vi(P?i:ot,oi[1],dt,!0)),vi(it?ot:i,"scroll",yt,Y),vi(i,"wheel",xt,Y),vi(i,oi[0],gt,Y),vi(ot,oi[2],_t),vi(ot,oi[3],_t),vi(i,"click",lt,!0),vi(i,"click",kt),vi(ot,"gesturestart",vt),vi(ot,"gestureend",mt),vi(i,ei+"enter",bt),vi(i,ei+"leave",Tt),vi(i,ei+"move",wt),Q.isEnabled=Q.isPressed=Q.isDragging=!1,L&&L(Q))},Q.kill=Q.revert=function(){Q.disable();var t=li.indexOf(Q);t>=0&&li.splice(t,1),ii===Q&&(ii=0)},li.push(Q),P&&gi(i)&&(ii=Q),Q.enable(h)},e=t,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&jn(e.prototype,r),t}();Pi.version="3.12.1",Pi.create=function(t){return new Pi(t)},Pi.register=Si,Pi.getAll=function(){return li.slice()},Pi.getById=function(t){return li.filter((function(e){return e.vars.id===t}))[0]},ai()&&Gn.registerPlugin(Pi);var Di,Ri,zi,Fi,Li,Ii,Bi,Yi,Ni,Xi,Ui,qi,Wi,Vi,Hi,ji,Gi,Ki,Qi,Zi,$i,Ji,to,eo,ro,no,io,oo,so,ao,uo,lo,co,fo,ho=1,po=Date.now,go=po(),_o=0,vo=0,mo=function(t,e,r){var n=Po(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},yo=function(t,e){return!e||Po(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},xo=function t(){return vo&&requestAnimationFrame(t)},wo=function(){return Vi=1},bo=function(){return Vi=0},To=function(t){return t},ko=function(t){return Math.round(1e5*t)/1e5||0},Mo=function(){return"undefined"!=typeof window},Co=function(){return Di||Mo()&&(Di=window.gsap)&&Di.registerPlugin&&Di},Oo=function(t){return!!~Bi.indexOf(t)},Ao=function(t){return di(t,"getBoundingClientRect")||(Oo(t)?function(){return Ys.width=zi.innerWidth,Ys.height=zi.innerHeight,Ys}:function(){return ts(t)})},Eo=function(t,e){var r=e.s,n=e.d2,i=e.d,o=e.a;return Math.max(0,(r="scroll"+n)&&(o=di(t,r))?o()-Ao(t)()[i]:Oo(t)?(Li[r]||Ii[r])-(zi["inner"+n]||Li["client"+n]||Ii["client"+n]):t[r]-t["offset"+n])},So=function(t,e){for(var r=0;r0){for(t-=i,o=0;o=t)return r[o];return r[o-1]}for(o=r.length,t+=i;o--;)if(r[o]<=t)return r[o];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var o=e(r);return!n||Math.abs(o-r)r&&(n*=e/100),t=t.substr(0,r-1)),t=n+(t in cs?cs[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},hs=function(t,e,r,n,i,o,s,a){var u=i.startColor,l=i.endColor,c=i.fontSize,f=i.indent,h=i.fontWeight,p=Fi.createElement("div"),d=Oo(r)||"fixed"===di(r,"pinType"),g=-1!==t.indexOf("scroller"),_=d?Ii:r,v=-1!==t.indexOf("start"),m=v?u:l,y="border-color:"+m+";font-size:"+c+";color:"+m+";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:"+((g||a)&&d?"fixed;":"absolute;"),(g||a||!d)&&(y+=(n===Ti?Yo:No)+":"+(o+parseFloat(f))+"px;"),s&&(y+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),p._isStart=v,p.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),p.style.cssText=y,p.innerText=e||0===e?t+"-"+e:t,_.children[0]?_.insertBefore(p,_.children[0]):_.appendChild(p),p._offset=p["offset"+n.op.d2],ps(p,0,n,v),p},ps=function(t,e,r,n){var i={display:"block"},o=r[n?"os2":"p2"],s=r[n?"p2":"os2"];t._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+Ko]=1,i["border"+s+Ko]=0,i[r.p]=e+"px",Di.set(t,i)},ds=[],gs={},_s=function(){return po()-_o>34&&(uo||(uo=requestAnimationFrame(Ds)))},vs=function(){(!to||!to.isPressed||to.startX>Ii.clientWidth)&&(ci.cache++,to?uo||(uo=requestAnimationFrame(Ds)):Ds(),_o||Ts("scrollStart"),_o=po())},ms=function(){no=zi.innerWidth,ro=zi.innerHeight},ys=function(){ci.cache++,!Wi&&!Ji&&!Fi.fullscreenElement&&!Fi.webkitFullscreenElement&&(!eo||no!==zi.innerWidth||Math.abs(zi.innerHeight-ro)>.25*zi.innerHeight)&&Yi.restart(!0)},xs={},ws=[],bs=function t(){return ss(Hs,"scrollEnd",t)||Es(!0)},Ts=function(t){return xs[t]&&xs[t].map((function(t){return t()}))||ws},ks=[],Ms=function(t){for(var e=0;ee)&&t.setPositions(t.start,Math.max(t.start+1,e),!0)})),r.forEach((function(t){return t&&t.render&&t.render(-1)})),ci.forEach((function(t){Do(t)&&(t.smooth&&requestAnimationFrame((function(){return t.target.style.scrollBehavior="smooth"})),t.rec&&t(t.rec))})),Os(so,1),Yi.pause(),As++,lo=2,Ds(2),ds.forEach((function(t){return Do(t.vars.onRefresh)&&t.vars.onRefresh(t)})),lo=Hs.isRefreshing=!1,Ts("refresh")}else os(Hs,"scrollEnd",bs)},Ss=0,Ps=1,Ds=function(t){if(!lo||2===t){Hs.isUpdating=!0,fo&&fo.update(0);var e=ds.length,r=po(),n=r-go>=50,i=e&&ds[0].scroll();if(Ps=Ss>i?-1:1,lo||(Ss=i),n&&(_o&&!Vi&&r-_o>200&&(_o=0,Ts("scrollEnd")),Ui=go,go=r),Ps<0){for(ji=e;ji-- >0;)ds[ji]&&ds[ji].update(0,n);Ps=1}else for(ji=0;ji20),r-=r-x}if(p&&(a[p]=t||-.001,t<0&&(t=0)),o){var T=t+r,k=o._isStart;d="scroll"+n.d2,ps(o,T,n,k&&T>20||!k&&(c?Math.max(Ii[d],Li[d]):o.parentNode[d])<=T+1),c&&(u=ts(s),c&&(o.style[n.op.p]=u[n.op.p]-n.op.m-o._offset+Zo))}return h&&_&&(d=ts(_),h.seek(f),g=ts(_),h._caScrollDist=d[n.p]-g[n.p],t=t/h._caScrollDist*f),h&&h.seek(v),h?t:Math.round(t)},Xs=/(webkit|moz|length|cssText|inset)/i,Us=function(t,e,r,n){if(t.parentNode!==e){var i,o,s=t.style;if(e===Ii){for(i in t._stOrig=s.cssText,o=$o(t))+i||Xs.test(i)||!o[i]||"string"!=typeof s[i]||"0"===i||(s[i]=o[i]);s.top=r,s.left=n}else s.cssText=t._stOrig;Di.core.getCache(t).uncache=1,e.appendChild(t)}},qs=function(t,e,r){var n=e,i=n;return function(e){var o=Math.round(t());return o!==n&&o!==i&&Math.abs(o-n)>3&&Math.abs(o-i)>3&&(e=o,r&&r()),i=n,n=e,e}},Ws=function(t,e,r){var n={};n[e.p]="+="+r,Di.set(t,n)},Vs=function(t,e){var r=Mi(t,e),n="_scroll"+e.p2,i=function e(i,o,s,a,u){var l=e.tween,c=o.onComplete,f={};s=s||r();var h=qs(r,s,(function(){l.kill(),e.tween=0}));return u=a&&u||0,a=a||i-s,l&&l.kill(),o[n]=i,o.modifiers=f,f[n]=function(){return h(s+a*l.ratio+u*l.ratio*l.ratio)},o.onUpdate=function(){ci.cache++,Ds()},o.onComplete=function(){e.tween=0,c&&c.call(l)},l=e.tween=Di.to(t,o)};return t[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},os(t,"wheel",r.wheelHandler),Hs.isTouch&&os(t,"touchmove",r.wheelHandler),i},Hs=function(){function t(e,r){Ri||t.register(Di)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),oo(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),vo){var n,i,o,s,a,u,l,c,f,h,p,d,g,_,v,m,y,x,w,b,T,k,M,C,O,A,E,S,P,D,R,z,F,L,I,B,Y,N,X,U,q,W,V=e=Jo(Po(e)||Ro(e)||e.nodeType?{trigger:e}:e,ls),H=V.onUpdate,j=V.toggleClass,G=V.id,K=V.onToggle,Q=V.onRefresh,Z=V.scrub,$=V.trigger,J=V.pin,tt=V.pinSpacing,et=V.invalidateOnRefresh,rt=V.anticipatePin,nt=V.onScrubComplete,it=V.onSnapComplete,ot=V.once,st=V.snap,at=V.pinReparent,ut=V.pinSpacer,lt=V.containerAnimation,ct=V.fastScrollEnd,ft=V.preventOverlaps,ht=e.horizontal||e.containerAnimation&&!1!==e.horizontal?bi:Ti,pt=!Z&&0!==Z,dt=ki(e.scroller||zi),gt=Di.core.getCache(dt),_t=Oo(dt),vt="fixed"===("pinType"in e?e.pinType:di(dt,"pinType")||_t&&"fixed"),mt=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],yt=pt&&e.toggleActions.split(" "),xt="markers"in e?e.markers:ls.markers,wt=_t?0:parseFloat($o(dt)["border"+ht.p2+Ko])||0,bt=this,Tt=e.onRefreshInit&&function(){return e.onRefreshInit(bt)},kt=function(t,e,r){var n=r.d,i=r.d2,o=r.a;return(o=di(t,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(e?zi["inner"+i]:t["client"+i])||0}}(dt,_t,ht),Mt=function(t,e){return!e||~fi.indexOf(t)?Ao(t):function(){return Ys}}(dt,_t),Ct=0,Ot=0,At=0,Et=Mi(dt,ht);if(bt._startClamp=bt._endClamp=!1,bt._dir=ht,rt*=45,bt.scroller=dt,bt.scroll=lt?lt.time.bind(lt):Et,s=Et(),bt.vars=e,r=r||e.animation,"refreshPriority"in e&&(Zi=1,-9999===e.refreshPriority&&(fo=bt)),gt.tweenScroll=gt.tweenScroll||{top:Vs(dt,Ti),left:Vs(dt,bi)},bt.tweenTo=n=gt.tweenScroll[ht.p],bt.scrubDuration=function(t){(F=Ro(t)&&t)?z?z.duration(t):z=Di.to(r,{ease:"expo",totalProgress:"+=0",duration:F,paused:!0,onComplete:function(){return nt&&nt(bt)}}):(z&&z.progress(1).kill(),z=0)},r&&(r.vars.lazy=!1,r._initted&&!bt.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),bt.animation=r.pause(),r.scrollTrigger=bt,bt.scrubDuration(Z),D=0,G||(G=r.vars.id)),st&&(zo(st)&&!st.push||(st={snapTo:st}),"scrollBehavior"in Ii.style&&Di.set(_t?[Ii,Li]:dt,{scrollBehavior:"auto"}),ci.forEach((function(t){return Do(t)&&t.target===(_t?Fi.scrollingElement||Li:dt)&&(t.smooth=!1)})),o=Do(st.snapTo)?st.snapTo:"labels"===st.snapTo?function(t){return function(e){return Di.utils.snap(rs(t),e)}}(r):"labelsDirectional"===st.snapTo?(U=r,function(t,e){return ns(rs(U))(t,e.direction)}):!1!==st.directional?function(t,e){return ns(st.snapTo)(t,po()-Ot<500?0:e.direction)}:Di.utils.snap(st.snapTo),L=st.duration||{min:.1,max:2},L=zo(L)?Xi(L.min,L.max):Xi(L,L),I=Di.delayedCall(st.delay||F/2||.1,(function(){var t=Et(),e=po()-Ot<500,i=n.tween;if(!(e||Math.abs(bt.getVelocity())<10)||i||Vi||Ct===t)bt.isActive&&Ct!==t&&I.restart(!0);else{var s=(t-u)/_,a=r&&!pt?r.totalProgress():s,c=e?0:(a-R)/(po()-Ui)*1e3||0,f=Di.utils.clamp(-s,1-s,Io(c/2)*c/.185),h=s+(!1===st.inertia?0:f),p=Xi(0,1,o(h,bt)),d=Math.round(u+p*_),g=st,v=g.onStart,m=g.onInterrupt,y=g.onComplete;if(t<=l&&t>=u&&d!==t){if(i&&!i._initted&&i.data<=Io(d-t))return;!1===st.inertia&&(f=p-s),n(d,{duration:L(Io(.185*Math.max(Io(h-a),Io(p-a))/c/.05||0)),ease:st.ease||"power3",data:Io(d-t),onInterrupt:function(){return I.restart(!0)&&m&&m(bt)},onComplete:function(){bt.update(),Ct=Et(),D=R=r&&!pt?r.totalProgress():bt.progress,it&&it(bt),y&&y(bt)}},t,f*_,d-t-f*_),v&&v(bt,n.tween)}}})).pause()),G&&(gs[G]=bt),(X=($=bt.trigger=ki($||!0!==J&&J))&&$._gsap&&$._gsap.stRevert)&&(X=X(bt)),J=!0===J?$:ki(J),Po(j)&&(j={targets:$,className:j}),J&&(!1===tt||tt===Go||(tt=!(!tt&&J.parentNode&&J.parentNode.style&&"flex"===$o(J.parentNode).display)&&jo),bt.pin=J,(i=Di.core.getCache(J)).spacer?v=i.pinState:(ut&&((ut=ki(ut))&&!ut.nodeType&&(ut=ut.current||ut.nativeElement),i.spacerIsNative=!!ut,ut&&(i.spacerState=Bs(ut))),i.spacer=x=ut||Fi.createElement("div"),x.classList.add("pin-spacer"),G&&x.classList.add("pin-spacer-"+G),i.pinState=v=Bs(J)),!1!==e.force3D&&Di.set(J,{force3D:!0}),bt.spacer=x=i.spacer,P=$o(J),C=P[tt+ht.os2],b=Di.getProperty(J),T=Di.quickSetter(J,ht.a,Zo),Fs(J,x,P),y=Bs(J)),xt){d=zo(xt)?Jo(xt,us):us,h=hs("scroller-start",G,dt,ht,d,0),p=hs("scroller-end",G,dt,ht,d,0,h),w=h["offset"+ht.op.d2];var St=ki(di(dt,"content")||dt);c=this.markerStart=hs("start",G,St,ht,d,w,0,lt),f=this.markerEnd=hs("end",G,St,ht,d,w,0,lt),lt&&(N=Di.quickSetter([c,f],ht.a,Zo)),vt||fi.length&&!0===di(dt,"fixedMarkers")||(W=$o(q=_t?Ii:dt).position,q.style.position="absolute"===W||"fixed"===W?W:"relative",Di.set([h,p],{force3D:!0}),A=Di.quickSetter(h,ht.a,Zo),S=Di.quickSetter(p,ht.a,Zo))}if(lt){var Pt=lt.vars.onUpdate,Dt=lt.vars.onUpdateParams;lt.eventCallback("onUpdate",(function(){bt.update(0,0,1),Pt&&Pt.apply(lt,Dt||[])}))}if(bt.previous=function(){return ds[ds.indexOf(bt)-1]},bt.next=function(){return ds[ds.indexOf(bt)+1]},bt.revert=function(t,e){if(!e)return bt.kill(!0);var n=!1!==t||!bt.enabled,i=Wi;n!==bt.isReverted&&(n&&(B=Math.max(Et(),bt.scroll.rec||0),At=bt.progress,Y=r&&r.progress()),c&&[c,f,h,p].forEach((function(t){return t.style.display=n?"none":"block"})),n&&(Wi=bt,bt.update(n)),!J||at&&bt.isActive||(n?function(t,e,r){Is(r);var n=t._gsap;if(n.spacerIsNative)Is(n.spacerState);else if(t._gsap.swappedIn){var i=e.parentNode;i&&(i.insertBefore(t,e),i.removeChild(e))}t._gsap.swappedIn=!1}(J,x,v):Fs(J,x,$o(J),O)),n||bt.update(n),Wi=i,bt.isReverted=n)},bt.refresh=function(i,o,d,w){if(!Wi&&bt.enabled||o)if(J&&i&&_o)os(t,"scrollEnd",bs);else{!lo&&Tt&&Tt(bt),Wi=bt,n.tween&&(n.tween.kill(),n.tween=0),z&&z.pause(),et&&r&&r.revert({kill:!1}).invalidate(),bt.isReverted||bt.revert(!0,!0),bt._subPinOffset=!1;var T,C,A,S,P,D,R,F,L,N,X,U,q,W=kt(),V=Mt(),H=lt?lt.duration():Eo(dt,ht),j=_<=.01,G=0,K=w||0,Z=zo(d)?d.end:e.end,rt=e.endTrigger||$,nt=zo(d)?d.start:e.start||(0!==e.start&&$?J?"0 0":"0 100%":0),it=bt.pinnedContainer=e.pinnedContainer&&ki(e.pinnedContainer,bt),ot=$&&Math.max(0,ds.indexOf(bt))||0,st=ot;for(xt&&zo(d)&&(U=Di.getProperty(h,ht.p),q=Di.getProperty(p,ht.p));st--;)(D=ds[st]).end||D.refresh(0,1)||(Wi=bt),!(R=D.pin)||R!==$&&R!==J&&R!==it||D.isReverted||(N||(N=[]),N.unshift(D),D.revert(!0,!0)),D!==ds[st]&&(ot--,st--);for(Do(nt)&&(nt=nt(bt)),nt=mo(nt,"start",bt),u=Ns(nt,$,W,ht,Et(),c,h,bt,V,wt,vt,H,lt,bt._startClamp&&"_startClamp")||(J?-.001:0),Do(Z)&&(Z=Z(bt)),Po(Z)&&!Z.indexOf("+=")&&(~Z.indexOf(" ")?Z=(Po(nt)?nt.split(" ")[0]:"")+Z:(G=fs(Z.substr(2),W),Z=Po(nt)?nt:(lt?Di.utils.mapRange(0,lt.duration(),lt.scrollTrigger.start,lt.scrollTrigger.end,u):u)+G,rt=$)),Z=mo(Z,"end",bt),l=Math.max(u,Ns(Z||(rt?"100% 0":H),rt,W,ht,Et()+G,f,p,bt,V,wt,vt,H,lt,bt._endClamp&&"_endClamp"))||-.001,G=0,st=ot;st--;)(R=(D=ds[st]).pin)&&D.start-D._pinPush<=u&&!lt&&D.end>0&&(T=D.end-(bt._startClamp?Math.max(0,D.start):D.start),(R===$&&D.start-D._pinPush1&&(X={style:X=(_t?Fi.scrollingElement||Li:dt).style,value:X["overflow"+ht.a.toUpperCase()]},_t&&"scroll"!==$o(Ii)["overflow"+ht.a.toUpperCase()]&&(X.style["overflow"+ht.a.toUpperCase()]="scroll")),Fs(J,x,T),y=Bs(J),C=ts(J,!0),F=vt&&Mi(dt,S?bi:Ti)(),tt&&((O=[tt+ht.os2,_+K+Zo]).t=x,(st=tt===jo?es(J,ht)+_+K:0)&&O.push(ht.d,st+Zo),Is(O),it&&ds.forEach((function(t){t.pin===it&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)})),vt&&Et(B)),vt&&((P={top:C.top+(S?A-u:F)+Zo,left:C.left+(S?F:A-u)+Zo,boxSizing:"border-box",position:"fixed"})[Xo]=P["max"+Ko]=Math.ceil(C.width)+Zo,P[Uo]=P["max"+Qo]=Math.ceil(C.height)+Zo,P[Go]=P[Go+Vo]=P[Go+qo]=P[Go+Ho]=P[Go+Wo]="0",P[jo]=T[jo],P[jo+Vo]=T[jo+Vo],P[jo+qo]=T[jo+qo],P[jo+Ho]=T[jo+Ho],P[jo+Wo]=T[jo+Wo],m=function(t,e,r){for(var n,i=[],o=t.length,s=r?8:0;s1,vt&&E&&m.splice(m.length-2,2),r.render(0,!0,!0),L||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),$i(0)):M=_,X&&(X.value?X.style["overflow"+ht.a.toUpperCase()]=X.value:X.style.removeProperty("overflow-"+ht.a));else if($&&Et()&&!lt)for(C=$.parentNode;C&&C!==Ii;)C._pinOffset&&(u-=C._pinOffset,l-=C._pinOffset),C=C.parentNode;N&&N.forEach((function(t){return t.revert(!1,!0)})),bt.start=u,bt.end=l,s=a=lo?B:Et(),lt||lo||(s0?ds.slice(0,e).reverse():ds.slice(e+1);return(Po(t)?r.filter((function(e){return e.vars.preventOverlaps===t})):r).filter((function(t){return bt.direction>0?t.end<=u:t.start>=l}))},bt.update=function(t,e,i){if(!lt||i||t){var o,c,f,p,d,g,v,w=!0===lo?B:bt.scroll(),b=t?0:(w-u)/_,O=b<0?0:b>1?1:b||0,P=bt.progress;if(e&&(a=s,s=lt?Et():w,st&&(R=D,D=r&&!pt?r.totalProgress():O)),rt&&!O&&J&&!Wi&&!ho&&_o&&uP?1:-1,bt.progress=O,p&&!Wi&&(c=O&&!P?0:1===O?1:1===P?2:3,pt&&(f=!d&&"none"!==yt[c+1]&&yt[c+1]||yt[c],v=r&&("complete"===f||"reset"===f||f in r))),ft&&(d||v)&&(v||Z||!r)&&(Do(ft)?ft(bt):bt.getTrailing(ft).forEach((function(t){return t.endAnimation()}))),pt||(!z||Wi||ho?r&&r.totalProgress(O,!(!Wi||!Ot&&!t)):(z._dp._time-z._start!==z._time&&z.render(z._dp._time-z._start),z.resetTo?z.resetTo("totalProgress",O,r._tTime/r._tDur):(z.vars.totalProgress=O,z.invalidate().restart()))),J)if(t&&tt&&(x.style[tt+ht.os2]=C),vt){if(p){if(g=!t&&O>P&&l+1>w&&w+1>=Eo(dt,ht),at)if(t||!o&&!g)Us(J,x);else{var F=ts(J,!0),L=w-u;Us(J,Ii,F.top+(ht===Ti?L:0)+Zo,F.left+(ht===Ti?0:L)+Zo)}Is(o||g?m:y),E&&O<1&&o||T(k+(1!==O||g?0:M))}}else T(ko(k+M*O));st&&!n.tween&&!Wi&&!ho&&I.restart(!0),j&&(d||ot&&O&&(O<1||!ao))&&Ni(j.targets).forEach((function(t){return t.classList[o||ot?"add":"remove"](j.className)})),H&&!pt&&!t&&H(bt),p&&!Wi?(pt&&(v&&("complete"===f?r.pause().totalProgress(1):"reset"===f?r.restart(!0).pause():"restart"===f?r.restart(!0):r[f]()),H&&H(bt)),!d&&ao||(K&&d&&Lo(bt,K),mt[c]&&Lo(bt,mt[c]),ot&&(1===O?bt.kill(!1,1):mt[c]=0),d||mt[c=1===O?1:3]&&Lo(bt,mt[c])),ct&&!o&&Math.abs(bt.getVelocity())>(Ro(ct)?ct:2500)&&(Fo(bt.callbackAnimation),z?z.progress(1):Fo(r,"reverse"===f?1:!O,1))):pt&&H&&!Wi&&H(bt)}if(S){var Y=lt?w/lt.duration()*(lt._caScrollDist||0):w;A(Y+(h._isFlipped?1:0)),S(Y)}N&&N(-w/lt.duration()*(lt._caScrollDist||0))}},bt.enable=function(e,r){bt.enabled||(bt.enabled=!0,os(dt,"resize",ys),os(_t?Fi:dt,"scroll",vs),Tt&&os(t,"refreshInit",Tt),!1!==e&&(bt.progress=At=0,s=a=Ct=Et()),!1!==r&&bt.refresh())},bt.getTween=function(t){return t&&n?n.tween:z},bt.setPositions=function(t,e,r,n){if(lt){var i=lt.scrollTrigger,o=lt.duration(),s=i.end-i.start;t=i.start+s*t/o,e=i.start+s*e/o}bt.refresh(!1,!1,{start:yo(t,r&&!!bt._startClamp),end:yo(e,r&&!!bt._endClamp)},n),bt.update()},bt.adjustPinSpacing=function(t){if(O&&t){var e=O.indexOf(ht.d)+1;O[e]=parseFloat(O[e])+t+Zo,O[1]=parseFloat(O[1])+t+Zo,Is(O)}},bt.disable=function(e,r){if(bt.enabled&&(!1!==e&&bt.revert(!0,!0),bt.enabled=bt.isActive=!1,r||z&&z.pause(),B=0,i&&(i.uncache=1),Tt&&ss(t,"refreshInit",Tt),I&&(I.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!_t)){for(var o=ds.length;o--;)if(ds[o].scroller===dt&&ds[o]!==bt)return;ss(dt,"resize",ys),ss(dt,"scroll",vs)}},bt.kill=function(t,n){bt.disable(t,n),z&&!n&&z.kill(),G&&delete gs[G];var o=ds.indexOf(bt);o>=0&&ds.splice(o,1),o===ji&&Ps>0&&ji--,o=0,ds.forEach((function(t){return t.scroller===bt.scroller&&(o=1)})),o||lo||(bt.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),n||r.kill()),c&&[c,f,h,p].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),fo===bt&&(fo=0),J&&(i&&(i.uncache=1),o=0,ds.forEach((function(t){return t.pin===J&&o++})),o||(i.spacer=0)),e.onKill&&e.onKill(bt)},ds.push(bt),bt.enable(!1,!1),X&&X(bt),r&&r.add&&!_){var Rt=bt.update;bt.update=function(){bt.update=Rt,u||l||bt.refresh()},Di.delayedCall(.01,bt.update),_=.01,u=l=0}else bt.refresh();J&&function(){if(co!==As){var t=co=As;requestAnimationFrame((function(){return t===As&&Es(!0)}))}}()}else this.update=this.refresh=this.kill=To},t.register=function(e){return Ri||(Di=e||Co(),Mo()&&window.document&&t.enable(),Ri=vo),Ri},t.defaults=function(t){if(t)for(var e in t)ls[e]=t[e];return ls},t.disable=function(t,e){vo=0,ds.forEach((function(r){return r[e?"kill":"disable"](t)})),ss(zi,"wheel",vs),ss(Fi,"scroll",vs),clearInterval(qi),ss(Fi,"touchcancel",To),ss(Ii,"touchstart",To),is(ss,Fi,"pointerdown,touchstart,mousedown",wo),is(ss,Fi,"pointerup,touchend,mouseup",bo),Yi.kill(),So(ss);for(var r=0;r0&&n.left+i0&&n.top+i=0&&ks.splice(e,5),ks.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Di.core.getCache(t),oo())}})):ks},Hs.revert=function(t,e){return Cs(!t,e)},Hs.create=function(t,e){return new Hs(t,e)},Hs.refresh=function(t){return t?ys():(Ri||Hs.register())&&Es(!0)},Hs.update=function(t){return++ci.cache&&Ds(!0===t?2:0)},Hs.clearScrollMemory=Os,Hs.maxScroll=function(t,e){return Eo(t,e?bi:Ti)},Hs.getScrollFunc=function(t,e){return Mi(ki(t),e?bi:Ti)},Hs.getById=function(t){return gs[t]},Hs.getAll=function(){return ds.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},Hs.isScrolling=function(){return!!_o},Hs.snapDirectional=ns,Hs.addEventListener=function(t,e){var r=xs[t]||(xs[t]=[]);~r.indexOf(e)||r.push(e)},Hs.removeEventListener=function(t,e){var r=xs[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},Hs.batch=function(t,e){var r,n=[],i={},o=e.interval||.016,s=e.batchMax||1e9,a=function(t,e){var r=[],n=[],i=Di.delayedCall(o,(function(){e(r,n),r=[],n=[]})).pause();return function(t){r.length||i.restart(!0),r.push(t.trigger),n.push(t),s<=r.length&&i.progress(1)}};for(r in e)i[r]="on"===r.substr(0,2)&&Do(e[r])&&"onRefreshInit"!==r?a(0,e[r]):e[r];return Do(s)&&(s=s(),os(Hs,"refresh",(function(){return s=e.batchMax()}))),Ni(t).forEach((function(t){var e={};for(r in i)e[r]=i[r];e.trigger=t,n.push(Hs.create(e))})),n};var js,Gs=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},Ks=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(Pi.isTouch?" pinch-zoom":""):"none",e===Li&&t(Ii,r)},Qs={auto:1,scroll:1},Zs=function(t){var e,r=t.event,n=t.target,i=t.axis,o=(r.changedTouches?r.changedTouches[0]:r).target,s=o._gsap||Di.core.getCache(o),a=po();if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==Ii&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!Qs[(e=$o(o)).overflowY]&&!Qs[e.overflowX]);)o=o.parentNode;s._isScroll=o&&o!==n&&!Oo(o)&&(Qs[(e=$o(o)).overflowY]||Qs[e.overflowX]),s._isScrollT=a}(s._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},$s=function(t,e,r,n){return Pi.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&Zs,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&os(Fi,Pi.eventTypes[0],ta,!1,!0)},onDisable:function(){return ss(Fi,Pi.eventTypes[0],ta,!0)}})},Js=/(input|label|select|textarea)/i,ta=function(t){var e=Js.test(t.target.tagName);(e||js)&&(t._gsapAllow=!0,js=e)};Hs.sort=function(t){return ds.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},Hs.observe=function(t){return new Pi(t)},Hs.normalizeScroll=function(t){if(void 0===t)return to;if(!0===t&&to)return to.enable();if(!1===t)return to&&to.kill();var e=t instanceof Pi?t:function(t){zo(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,o,s,a,u,l=t,c=l.normalizeScrollX,f=l.momentum,h=l.allowNestedScroll,p=l.onRelease,d=ki(t.target)||Li,g=Di.core.globals().ScrollSmoother,_=g&&g.get(),v=io&&(t.content&&ki(t.content)||_&&!1!==t.content&&!_.smooth()&&_.content()),m=Mi(d,Ti),y=Mi(d,bi),x=1,w=(Pi.isTouch&&zi.visualViewport?zi.visualViewport.scale*zi.visualViewport.width:zi.outerWidth)/zi.innerWidth,b=0,T=Do(f)?function(){return f(e)}:function(){return f||2.8},k=$s(d,t.type,!0,h),M=function(){return i=!1},C=To,O=To,A=function(){r=Eo(d,Ti),O=Xi(io?1:0,r),c&&(C=Xi(0,Eo(d,bi))),n=As},E=function(){v._gsap.y=ko(parseFloat(v._gsap.y)+m.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",m.offset=m.cacheID=0},S=function(){A(),o.isActive()&&o.vars.scrollY>r&&(m()>r?o.progress(1)&&m(r):o.resetTo("scrollY",r))};return v&&Di.set(v,{y:"+=0"}),t.ignoreCheck=function(t){return io&&"touchmove"===t.type&&function(){if(i){requestAnimationFrame(M);var t=ko(e.deltaY/2),r=O(m.v-t);if(v&&r!==m.v+m.offset){m.offset=r-m.v;var n=ko((parseFloat(v&&v._gsap.y)||0)-m.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",v._gsap.y=n+"px",m.cacheID=ci.cache,Ds()}return!0}m.offset&&E(),i=!0}()||x>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){i=!1;var t=x;x=ko((zi.visualViewport&&zi.visualViewport.scale||1)/w),o.pause(),t!==x&&Ks(d,x>1.01||!c&&"x"),s=y(),a=m(),A(),n=As},t.onRelease=t.onGestureStart=function(t,e){if(m.offset&&E(),e){ci.cache++;var n,i,s=T();c&&(i=(n=y())+.05*s*-t.velocityX/.227,s*=Gs(y,n,i,Eo(d,bi)),o.vars.scrollX=C(i)),i=(n=m())+.05*s*-t.velocityY/.227,s*=Gs(m,n,i,Eo(d,Ti)),o.vars.scrollY=O(i),o.invalidate().duration(s).play(.01),(io&&o.vars.scrollY>=r||n>=r-1)&&Di.to({},{onUpdate:S,duration:s})}else u.restart(!0);p&&p(t)},t.onWheel=function(){o._ts&&o.pause(),po()-b>1e3&&(n=0,b=po())},t.onChange=function(t,e,r,i,o){if(As!==n&&A(),e&&c&&y(C(i[2]===e?s+(t.startX-t.x):y()+e-i[1])),r){m.offset&&E();var u=o[2]===r,l=u?a+t.startY-t.y:m()+r-o[1],f=O(l);u&&l!==f&&(a+=f-l),m(f)}(r||e)&&Ds()},t.onEnable=function(){Ks(d,!c&&"x"),Hs.addEventListener("refresh",S),os(zi,"resize",S),m.smooth&&(m.target.style.scrollBehavior="auto",m.smooth=y.smooth=!1),k.enable()},t.onDisable=function(){Ks(d,!0),ss(zi,"resize",S),Hs.removeEventListener("refresh",S),k.kill()},t.lockAxis=!1!==t.lockAxis,(e=new Pi(t)).iOS=io,io&&!m()&&m(1),io&&Di.ticker.add(To),u=e._dc,o=Di.to(e,{ease:"power4",paused:!0,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:qs(m,m(),(function(){return o.pause()}))},onUpdate:Ds,onComplete:u.vars.onComplete}),e}(t);return to&&to.target===e.target&&to.kill(),Oo(e.target)&&(to=e),e},Hs.core={_getVelocityProp:Ci,_inputObserver:$s,_scrollers:ci,_proxies:fi,bridge:{ss:function(){_o||Ts("scrollStart"),_o=po()},ref:function(){return Wi}}},Co()&&Di.registerPlugin(Hs);var ea=r(65),ra=r.n(ea),na="localhost"!==window.location.hostname;ra().setLevel(na?"warn":"debug");const ia=function(){for(var t=arguments.length,e=new Array(t),r=0;r span",{autoAlpha:0},{autoAlpha:1,duration:.7,stagger:.1}),t.fromTo(".section-2 > span",{autoAlpha:0},{autoAlpha:1,duration:.7,stagger:.1}),t.fromTo(".section-3 > span",{autoAlpha:0},{autoAlpha:1,duration:.7,stagger:.1}),t.fromTo(".section-4 > span",{autoAlpha:0},{autoAlpha:1,duration:.7,stagger:.1}),t.fromTo(".section-5 > span",{autoAlpha:0},{autoAlpha:1,duration:.7,stagger:.1}),t.fromTo("#toggle-input",{autoAlpha:0,y:20},{autoAlpha:1,duration:.2,y:0,ease:"power2.out"}),t.fromTo("#mainnav > li",{autoAlpha:0,y:20},{autoAlpha:1,duration:.2,y:0,ease:"power2.out",stagger:.1},"-=0.1"),t.fromTo("#langid",{autoAlpha:0,y:20},{autoAlpha:1,duration:.2,y:0,ease:"power2.out"},"-=0.1")}()}))})()})(); \ No newline at end of file diff --git a/client/dist/projects.bundle.js b/client/dist/projects.bundle.js new file mode 100644 index 0000000..81152b4 --- /dev/null +++ b/client/dist/projects.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see projects.bundle.js.LICENSE.txt */ +(()=>{var t={65:function(t,e,r){var n,i;!function(){"use strict";n=function(){var t=function(){},e="undefined",r=typeof window!==e&&typeof window.navigator!==e&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"],i={},o=null;function s(t,e){var r=t[e];if("function"==typeof r.bind)return r.bind(t);try{return Function.prototype.bind.call(r,t)}catch(e){return function(){return Function.prototype.apply.apply(r,[t,arguments])}}}function a(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function u(){for(var r=this.getLevel(),i=0;i=0&&e<=f.levels.SILENT)return e;throw new TypeError("log.setLevel() called with invalid level: "+t)}"string"==typeof t?h+=":"+t:"symbol"==typeof t&&(h=void 0),f.name=t,f.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},f.methodFactory=r||c,f.getLevel=function(){return null!=l?l:null!=a?a:s},f.setLevel=function(t,r){return l=d(t),!1!==r&&function(t){var r=(n[t]||"silent").toUpperCase();if(typeof window!==e&&h){try{return void(window.localStorage[h]=r)}catch(t){}try{window.document.cookie=encodeURIComponent(h)+"="+r+";"}catch(t){}}}(l),u.call(f)},f.setDefaultLevel=function(t){a=d(t),p()||f.setLevel(t,!1)},f.resetLevel=function(){l=null,function(){if(typeof window!==e&&h){try{window.localStorage.removeItem(h)}catch(t){}try{window.document.cookie=encodeURIComponent(h)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(t){}}}(),u.call(f)},f.enableAll=function(t){f.setLevel(f.levels.TRACE,t)},f.disableAll=function(t){f.setLevel(f.levels.SILENT,t)},f.rebuild=function(){if(o!==f&&(s=d(o.getLevel())),u.call(f),o===f)for(var t in i)i[t].rebuild()},s=d(o?o.getLevel():"WARN");var g=p();null!=g&&(l=d(g)),u.call(f)}(o=new f).getLogger=function(t){if("symbol"!=typeof t&&"string"!=typeof t||""===t)throw new TypeError("You must supply a name when creating a logger.");var e=i[t];return e||(e=i[t]=new f(t,o.methodFactory)),e};var h=typeof window!==e?window.log:void 0;return o.noConflict=function(){return typeof window!==e&&window.log===o&&(window.log=h),o},o.getLoggers=function(){return i},o.default=o,o},void 0===(i=n.call(e,r,e,t))||(t.exports=i)}()}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,r),o.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";function t(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var n,i,o,s,a,u,l,c,f,h,p,d,g,_,m,v,y,w={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},x={duration:.5,overwrite:!1,delay:0},b=1e8,T=1e-8,k=2*Math.PI,M=k/4,A=0,C=Math.sqrt,O=Math.cos,E=Math.sin,S=function(t){return"string"==typeof t},P=function(t){return"function"==typeof t},D=function(t){return"number"==typeof t},R=function(t){return void 0===t},z=function(t){return"object"==typeof t},F=function(t){return!1!==t},I=function(){return"undefined"!=typeof window},L=function(t){return P(t)||S(t)},B="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Y=Array.isArray,N=/(?:-?\.?\d|\.)+/gi,X=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,U=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,j=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,q=/[+-]=-?[.\d]+/,W=/[^,'"\[\]\s]+/gi,V=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,H={},G={},K=function(t){return(G=kt(t,H))&&kr},Q=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Z=function(t,e){return!e&&console.warn(t)},$=function(t,e){return t&&(H[t]=e)&&G&&(G[t]=e)||H},J=function(){return 0},tt={suppressEvents:!0,isStart:!0,kill:!1},et={suppressEvents:!0,kill:!1},rt={suppressEvents:!0},nt={},it=[],ot={},st={},at={},ut=30,lt=[],ct="",ft=function(t){var e,r,n=t[0];if(z(n)||P(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(r=lt.length;r--&&!lt[r].targetTest(n););e=lt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Be(t[r],e)))||t.splice(r,1);return t},ht=function(t){return t._gsap||ft(ee(t))[0]._gsap},pt=function(t,e,r){return(r=t[e])&&P(r)?t[e]():R(r)&&t.getAttribute&&t.getAttribute(e)||r},dt=function(t,e){return(t=t.split(",")).forEach(e)||t},gt=function(t){return Math.round(1e5*t)/1e5||0},_t=function(t){return Math.round(1e7*t)/1e7||0},mt=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},vt=function(t,e){for(var r=e.length,n=0;t.indexOf(e[n])<0&&++no;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=s,e.parent=e._dp=t,e},Et=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=e._prev,o=e._next;i?i._next=o:t[r]===e&&(t[r]=o),o?o._prev=i:t[n]===e&&(t[n]=i),e._next=e._prev=e.parent=null},St=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Pt=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},Dt=function(t,e,r,n){return t._startAt&&(i?t._startAt.revert(et):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},Rt=function t(e){return!e||e._ts&&t(e.parent)},zt=function(t){return t._repeat?Ft(t._tTime,t=t.duration()+t._rDelay)*t:0},Ft=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},It=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Lt=function(t){return t._end=_t(t._start+(t._tDur/Math.abs(t._ts||t._rts||T)||0))},Bt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=_t(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Lt(t),r._dirty||Pt(r,t)),t},Yt=function(t,e){var r;if((e._time||e._initted&&!e._dur)&&(r=It(t.rawTime(),e),(!e._dur||Zt(0,e.totalDuration(),r)-e._tTime>T)&&e.render(r,!0)),Pt(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}},Nt=function(t,e,r,n){return e.parent&&St(e),e._start=_t((D(r)?r:r||t!==s?Gt(t,r,e):t._time)+e._delay),e._end=_t(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ot(t,e,"_first","_last",t._sort?"_start":0),qt(e)||(t._recent=e),n||Yt(t,e),t._ts<0&&Bt(t,t._tTime),t},Xt=function(t,e){return(H.ScrollTrigger||Q("scrollTrigger",e))&&H.ScrollTrigger.create(e,t)},Ut=function(t,e,r,n,o){return Ve(t,e,o),t._initted?!r&&t._pt&&!i&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==Me.frame?(it.push(t),t._lazy=[o,n],1):void 0:1},jt=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},qt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Wt=function(t,e,r,n){var i=t._repeat,o=_t(e)||0,s=t._tTime/t._tDur;return s&&!n&&(t._time*=o/t._dur),t._dur=o,t._tDur=i?i<0?1e10:_t(o*(i+1)+t._rDelay*i):o,s>0&&!n&&Bt(t,t._tTime=t._tDur*s),t.parent&&Lt(t),r||Pt(t.parent,t),t},Vt=function(t){return t instanceof Ne?Pt(t):Wt(t,t._dur)},Ht={_start:0,endTime:J,totalDuration:J},Gt=function t(e,r,n){var i,o,s,a=e.labels,u=e._recent||Ht,l=e.duration()>=b?u.endTime(!1):e._dur;return S(r)&&(isNaN(r)||r in a)?(o=r.charAt(0),s="%"===r.substr(-1),i=r.indexOf("="),"<"===o||">"===o?(i>=0&&(r=r.replace(/=/,"")),("<"===o?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(s?(i<0?u:n).totalDuration()/100:1)):i<0?(r in a||(a[r]=l),a[r]):(o=parseFloat(r.charAt(i-1)+r.substr(i+1)),s&&n&&(o=o/100*(Y(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+o:l+o)):null==r?l:+r},Kt=function(t,e,r){var n,i,o=D(e[1]),s=(o?2:1)+(t<2?0:1),a=e[s];if(o&&(a.duration=e[1]),a.parent=r,t){for(n=a,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=F(i.vars.inherit)&&i.parent;a.immediateRender=F(n.immediateRender),t<2?a.runBackwards=1:a.startAt=e[s-1]}return new Ze(e[0],a,e[s+1])},Qt=function(t,e){return t||0===t?e(t):e},Zt=function(t,e,r){return re?e:r},$t=function(t,e){return S(t)&&(e=V.exec(t))?e[1]:""},Jt=[].slice,te=function(t,e){return t&&z(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&z(t[0]))&&!t.nodeType&&t!==a},ee=function(t,e,r){return o&&!e&&o.selector?o.selector(t):!S(t)||r||!u&&Ae()?Y(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var n;return S(t)&&!e||te(t,1)?(n=r).push.apply(n,ee(t)):r.push(t)}))||r}(t,r):te(t)?Jt.call(t,0):t?[t]:[]:Jt.call((e||l).querySelectorAll(t),0)},re=function(t){return t=ee(t)[0]||Z("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return ee(e,r.querySelectorAll?r:r===t?Z("Invalid scope")||l.createElement("div"):t)}},ne=function(t){return t.sort((function(){return.5-Math.random()}))},ie=function(t){if(P(t))return t;var e=z(t)?t:{each:t},r=Re(e.ease),n=e.from||0,i=parseFloat(e.base)||0,o={},s=n>0&&n<1,a=isNaN(n)||s,u=e.axis,l=n,c=n;return S(n)?l=c={center:.5,edges:.5,end:1}[n]||0:!s&&a&&(l=n[0],c=n[1]),function(t,s,f){var h,p,d,g,_,m,v,y,w,x=(f||e).length,T=o[x];if(!T){if(!(w="auto"===e.grid?0:(e.grid||[1,b])[1])){for(v=-b;v<(v=f[w++].getBoundingClientRect().left)&&wv&&(v=_),_x?x-1:u?"y"===u?x/w:w:Math.max(w,x/w))||0)*("edges"===n?-1:1),T.b=x<0?i-x:i,T.u=$t(e.amount||e.each)||0,r=r&&x<0?Pe(r):r}return x=(T[t]-T.min)/T.max||0,_t(T.b+(r?r(x):x)*T.v)+T.u}},oe=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=_t(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(D(r)?0:$t(r))}},se=function(t,e){var r,n,i=Y(t);return!i&&z(t)&&(r=i=t.radius||b,t.values?(t=ee(t.values),(n=!D(t[0]))&&(r*=r)):t=oe(t.increment)),Qt(e,i?P(t)?function(e){return n=t(e),Math.abs(n-e)<=r?n:e}:function(e){for(var i,o,s=parseFloat(n?e.x:e),a=parseFloat(n?e.y:0),u=b,l=0,c=t.length;c--;)(i=n?(i=t[c].x-s)*i+(o=t[c].y-a)*o:Math.abs(t[c]-s))(i=Math.abs(i))&&(o=n,a=i);return o},he=function(t,e,r){var n,i,s,a=t.vars,u=a[e],l=o,c=t._ctx;if(u)return n=a[e+"Params"],i=a.callbackScope||t,r&&it.length&&yt(),c&&(o=c),s=n?u.apply(i,n):u.call(i),o=l,s},pe=function(t){return St(t),t.scrollTrigger&&t.scrollTrigger.kill(!!i),t.progress()<1&&he(t,"onInterrupt"),t},de=[],ge=function(t){if(I()&&t){var e=(t=!t.name&&t.default||t).name,r=P(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:J,render:sr,add:qe,kill:ur,modifier:ar,rawVars:0},o={targetTest:0,get:0,getSetter:rr,aliases:{},register:0};if(Ae(),t!==n){if(st[e])return;Tt(n,Tt(At(t,i),o)),kt(n.prototype,kt(i,At(t,o))),st[n.prop=e]=n,t.targetTest&&(lt.push(n),nt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}$(e,n),t.register&&t.register(kr,n,fr)}else t&&de.push(t)},_e=255,me={aqua:[0,_e,_e],lime:[0,_e,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_e],navy:[0,0,128],white:[_e,_e,_e],olive:[128,128,0],yellow:[_e,_e,0],orange:[_e,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_e,0,0],pink:[_e,192,203],cyan:[0,_e,_e],transparent:[_e,_e,_e,0]},ve=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)*_e+.5|0},ye=function(t,e,r){var n,i,o,s,a,u,l,c,f,h,p=t?D(t)?[t>>16,t>>8&_e,t&_e]:0:me.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),me[t])p=me[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),i=t.charAt(2),o=t.charAt(3),t="#"+n+n+i+i+o+o+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&_e,p&_e,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&_e,t&_e]}else if("hsl"===t.substr(0,3))if(p=h=t.match(N),e){if(~t.indexOf("="))return p=t.match(X),r&&p.length<4&&(p[3]=1),p}else s=+p[0]%360/360,a=+p[1]/100,n=2*(u=+p[2]/100)-(i=u<=.5?u*(a+1):u+a-u*a),p.length>3&&(p[3]*=1),p[0]=ve(s+1/3,n,i),p[1]=ve(s,n,i),p[2]=ve(s-1/3,n,i);else p=t.match(N)||me.transparent;p=p.map(Number)}return e&&!h&&(n=p[0]/_e,i=p[1]/_e,o=p[2]/_e,u=((l=Math.max(n,i,o))+(c=Math.min(n,i,o)))/2,l===c?s=a=0:(f=l-c,a=u>.5?f/(2-l-c):f/(l+c),s=l===n?(i-o)/f+(if&&(d+=y-h),((u=(c=(g+=y)-d)-m)>0||w)&&(p=++n.frame,i=c-1e3*n.time,n.time=c/=1e3,m+=u+(u>=_?4:_-u),l=1),w||(t=e(r)),l)for(o=0;o=e&&o--},_listeners:v}}(),Ae=function(){return!p&&Me.wake()},Ce={},Oe=/^[\d.\-M][\d.\-,\s]/,Ee=/["']/g,Se=function(t){for(var e,r,n,i={},o=t.substr(1,t.length-3).split(":"),s=o[0],a=1,u=o.length;a1&&s.config?s.config.apply(null,~t.indexOf("{")?[Se(o[1])]:(e=t,r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r),e.substring(r,~i&&i=1?r:1,o=(n||(e?.3:.45))/(r<1?r:1),s=o/k*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*E((t-s)*o)+1},u="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Fe(a);return o=k/o,u.config=function(r,n){return t(e,r,n)},u},Le=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)}:Fe(n);return i.config=function(r){return t(e,r)},i};dt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;ze(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(2*(1-t),r)/2}))})),Ce.Linear.easeNone=Ce.none=Ce.Linear.easeIn,ze("Elastic",Ie("in"),Ie("out"),Ie()),d=7.5625,m=2*(_=1/(g=2.75)),v=2.5*_,ze("Bounce",(function(t){return 1-y(1-t)}),y=function(t){return t<_?d*t*t:t0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Wt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Ae(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Bt(this,t),!r._dp||r.parent||Yt(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)&&Nt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===T||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),wt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+zt(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.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+zt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Ft(this._tTime,r)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?It(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(Zt(-Math.abs(this._delay),this._tDur,e),!0),Lt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(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):(Ae(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==T&&(this._tTime-=T)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Nt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(F(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&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?It(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=rt);var e=i;return i=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),i=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(e._ts||1),e=e._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1:this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Vt(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Vt(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(Gt(this,t),F(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,F(e))},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;return new Promise((function(r){var n=P(t)?t:bt,i=function(){var t=e.then;e.then=null,P(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),r(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){pe(this)},t}();Tt(Ye.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 Ne=function(r){function n(e,n){var i;return void 0===e&&(e={}),(i=r.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=F(e.sortChildren),s&&Nt(e.parent||s,t(i),n),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&Xt(t(i),e.scrollTrigger),i}e(n,r);var o=n.prototype;return o.to=function(t,e,r){return Kt(0,arguments,this),this},o.from=function(t,e,r){return Kt(1,arguments,this),this},o.fromTo=function(t,e,r,n){return Kt(2,arguments,this),this},o.set=function(t,e,r){return e.duration=0,e.parent=this,Ct(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Ze(t,e,Gt(this,r),1),this},o.call=function(t,e,r){return Nt(this,Ze.delayedCall(0,t,e),r)},o.staggerTo=function(t,e,r,n,i,o,s){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=o,r.onCompleteParams=s,r.parent=this,new Ze(t,r,Gt(this,i)),this},o.staggerFrom=function(t,e,r,n,i,o,s){return r.runBackwards=1,Ct(r).immediateRender=F(r.immediateRender),this.staggerTo(t,e,r,n,i,o,s)},o.staggerFromTo=function(t,e,r,n,i,o,s,a){return n.startAt=r,Ct(n).immediateRender=F(n.immediateRender),this.staggerTo(t,e,n,i,o,s,a)},o.render=function(t,e,r){var n,o,a,u,l,c,f,h,p,d,g,_,m=this._time,v=this._dirty?this.totalDuration():this._tDur,y=this._dur,w=t<=0?0:_t(t),x=this._zTime<0!=t<0&&(this._initted||!y);if(this!==s&&w>v&&t>=0&&(w=v),w!==this._tTime||r||x){if(m!==this._time&&y&&(w+=this._time-m,t+=this._time-m),n=w,p=this._start,c=!(h=this._ts),x&&(y||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(g=this._yoyo,l=y+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*l+t,e,r);if(n=_t(w%l),w===v?(u=this._repeat,n=y):((u=~~(w/l))&&u===w/l&&(n=y,u--),n>y&&(n=y)),d=Ft(this._tTime,l),!m&&this._tTime&&d!==u&&this._tTime-d*l-this._dur<=0&&(d=u),g&&1&u&&(n=y-n,_=1),u!==d&&!this._lock){var b=g&&1&d,k=b===(g&&1&u);if(ue)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._start=m&&t>=0)for(o=this._first;o;){if(a=o._next,(o._act||n>=o._start)&&o._ts&&f!==o){if(o.parent!==this)return this.render(t,e,r);if(o.render(o._ts>0?(n-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(n-o._start)*o._ts,e,r),n!==this._time||!this._ts&&!c){f=0,a&&(w+=this._zTime=-1e-8);break}}o=a}else{o=this._last;for(var M=t<0?t:n;o;){if(a=o._prev,(o._act||M<=o._end)&&o._ts&&f!==o){if(o.parent!==this)return this.render(t,e,r);if(o.render(o._ts>0?(M-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(M-o._start)*o._ts,e,r||i&&(o._initted||o._startAt)),n!==this._time||!this._ts&&!c){f=0,a&&(w+=this._zTime=M?-1e-8:T);break}}o=a}}if(f&&!e&&(this.pause(),f.render(n>=m?0:-1e-8)._zTime=n>=m?1:-1,this._ts))return this._start=p,Lt(this),this.render(t,e,r);this._onUpdate&&!e&&he(this,"onUpdate",!0),(w===v&&this._tTime>=this.totalDuration()||!w&&m)&&(p!==this._start&&Math.abs(h)===Math.abs(this._ts)||this._lock||((t||!y)&&(w===v&&this._ts>0||!w&&this._ts<0)&&St(this,1),e||t<0&&!m||!w&&!m&&v||(he(this,w===v&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(w0)&&this._prom())))}return this},o.add=function(t,e){var r=this;if(D(e)||(e=Gt(this,e,t)),!(t instanceof Ye)){if(Y(t))return t.forEach((function(t){return r.add(t,e)})),this;if(S(t))return this.addLabel(t,e);if(!P(t))return this;t=Ze.delayedCall(0,t)}return this!==t?Nt(this,t,e):this},o.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=-b);for(var i=[],o=this._first;o;)o._start>=n&&(o instanceof Ze?e&&i.push(o):(r&&i.push(o),t&&i.push.apply(i,o.getChildren(!0,e,r)))),o=o._next;return i},o.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},o.remove=function(t){return S(t)?this.removeLabel(t):P(t)?this.killTweensOf(t):(Et(this,t),t===this._recent&&(this._recent=this._last),Pt(this))},o.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=_t(Me.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),r.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},o.addLabel=function(t,e){return this.labels[t]=Gt(this,e),this},o.removeLabel=function(t){return delete this.labels[t],this},o.addPause=function(t,e,r){var n=Ze.delayedCall(0,e||J,r);return n.data="isPause",this._hasPause=1,Nt(this,n,Gt(this,t))},o.removePause=function(t){var e=this._first;for(t=Gt(this,t);e;)e._start===t&&"isPause"===e.data&&St(e),e=e._next},o.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)Xe!==n[i]&&n[i].kill(t,e);return this},o.getTweensOf=function(t,e){for(var r,n=[],i=ee(t),o=this._first,s=D(e);o;)o instanceof Ze?vt(o._targets,i)&&(s?(!Xe||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&n.push(o):(r=o.getTweensOf(i,e)).length&&n.push.apply(n,r),o=o._next;return n},o.tweenTo=function(t,e){e=e||{};var r,n=this,i=Gt(n,t),o=e,s=o.startAt,a=o.onStart,u=o.onStartParams,l=o.immediateRender,c=Ze.to(n,Tt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(s&&"time"in s?s.time:n._time))/n.timeScale())||T,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(s&&"time"in s?s.time:n._time))/n.timeScale());c._dur!==t&&Wt(c,t,0,1).render(c._time,!0,!0),r=1}a&&a.apply(c,u||[])}},e));return l?c.render(0):c},o.tweenFromTo=function(t,e,r){return this.tweenTo(e,Tt({startAt:{time:Gt(this,t)}},r))},o.recent=function(){return this._recent},o.nextLabel=function(t){return void 0===t&&(t=this._time),fe(this,Gt(this,t))},o.previousLabel=function(t){return void 0===t&&(t=this._time),fe(this,Gt(this,t),1)},o.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+T)},o.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var n,i=this._first,o=this.labels;i;)i._start>=r&&(i._start+=t,i._end+=t),i=i._next;if(e)for(n in o)o[n]>=r&&(o[n]+=t);return Pt(this)},o.invalidate=function(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return r.prototype.invalidate.call(this,t)},o.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={}),Pt(this)},o.totalDuration=function(t){var e,r,n,i=0,o=this,a=o._last,u=b;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-t:t));if(o._dirty){for(n=o.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(r=a._start)>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,Nt(o,a,r-a._delay,1)._lock=0):u=r,r<0&&a._ts&&(i-=r,(!n&&!o._dp||n&&n.smoothChildTiming)&&(o._start+=r/o._ts,o._time-=r,o._tTime-=r),o.shiftChildren(-r,!1,-Infinity),u=0),a._end>i&&a._ts&&(i=a._end),a=e;Wt(o,o===s&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},n.updateRoot=function(t){if(s._ts&&(wt(s,It(t,s)),f=Me.frame),Me.frame>=ut){ut+=w.autoSleep||120;var e=s._first;if((!e||!e._ts)&&w.autoSleep&&Me._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Me.sleep()}}},n}(Ye);Tt(Ne.prototype,{_lock:0,_hasPause:0,_forcing:0});var Xe,Ue,je=function(t,e,r,n,i,o,s){var a,u,l,c,f,h,p,d,g=new fr(this._pt,t,e,0,1,or,null,i),_=0,m=0;for(g.b=r,g.e=n,r+="",(p=~(n+="").indexOf("random("))&&(n=le(n)),o&&(o(d=[r,n],t,e),r=d[0],n=d[1]),u=r.match(j)||[];a=j.exec(n);)c=a[0],f=n.substring(_,a.index),l?l=(l+1)%5:"rgba("===f.substr(-5)&&(l=1),c!==u[m++]&&(h=parseFloat(u[m-1])||0,g._pt={_next:g._pt,p:f||1===m?f:",",s:h,c:"="===c.charAt(1)?mt(h,c)-h:parseFloat(c)-h,m:l&&l<4?Math.round:0},_=j.lastIndex);return g.c=_")})),l.duration();else{for(p in f={},k)"ease"===p||"easeEach"===p||He(p,k[p],f,k.easeEach);for(p in f)for(S=f[p].sort((function(t,e){return t.t-e.t})),I=0,c=0;cd-T&&!_?d:tg&&(n=g)),(l=this._yoyo&&1&s)&&(h=this._yEase,n=g-n),u=Ft(this._tTime,a),n===p&&!r&&this._initted)return this._tTime=m,this;s!==u&&(f&&this._yEase&&De(f,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=r=1,this.render(_t(a*s),!0).invalidate()._lock=0))}if(!this._initted){if(Ut(this,_?t:n,r,e,m))return this._tTime=0,this;if(p!==this._time)return this;if(g!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(h||this._ease)(n/g),this._from&&(this.ratio=c=1-c),n&&!p&&!e&&!s&&(he(this,"onStart"),this._tTime!==m))return this;for(o=this._pt;o;)o.r(c,o.d),o=o._next;f&&f.render(t<0?t:!n&&l?-1e-8:f._dur*f._ease(n/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Dt(this,t,0,r),he(this,"onUpdate")),this._repeat&&s!==u&&this.vars.onRepeat&&!e&&this.parent&&he(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Dt(this,t,0,!0),(t||!g)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&St(this,1),e||_&&!p||!(m||p||l)||(he(this,m===d?"onComplete":"onReverseComplete",!0),this._prom&&!(m0)&&this._prom()))}}else!function(t,e,r,n){var o,s,a,u=t.ratio,l=e<0||!e&&(!t._start&&jt(t)&&(t._initted||!qt(t))||(t._ts<0||t._dp._ts<0)&&!qt(t))?0:1,c=t._rDelay,f=0;if(c&&t._repeat&&(f=Zt(0,t._tDur,e),s=Ft(f,c),t._yoyo&&1&s&&(l=1-l),s!==Ft(t._tTime,c)&&(u=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==u||i||n||t._zTime===T||!e&&t._zTime){if(!t._initted&&Ut(t,e,n,r,f))return;for(a=t._zTime,t._zTime=e||(r?T:0),r||(r=e&&!a),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=f,o=t._pt;o;)o.r(l,o.d),o=o._next;e<0&&Dt(t,e,0,!0),t._onUpdate&&!r&&he(t,"onUpdate"),f&&t._repeat&&!r&&t.parent&&he(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&St(t,1),r||i||(he(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},a.targets=function(){return this._targets},a.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),r.prototype.invalidate.call(this,t)},a.resetTo=function(t,e,r,n){p||Me.wake(),this._ts||this.play();var i=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Ve(this,i),function(t,e,r,n,i,o,s){var a,u,l,c,f=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!f)for(f=t._ptCache[e]=[],l=t._ptLookup,c=t._targets.length;c--;){if((a=l[c][e])&&a.d&&a.d._pt)for(a=a.d._pt;a&&a.p!==e&&a.fp!==e;)a=a._next;if(!a)return Ue=1,t.vars[e]="+=0",Ve(t,s),Ue=0,1;f.push(a)}for(c=f.length;c--;)(a=(u=f[c])._pt||u).s=!n&&0!==n||i?a.s+(n||0)+o*a.c:n,a.c=r-a.s,u.e&&(u.e=gt(r)+$t(u.e)),u.b&&(u.b=a.s+$t(u.b))}(this,t,e,r,n,this._ease(i/this._dur),i)?this.resetTo(t,e,r,n):(Bt(this,0),this.parent||Ot(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},a.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?pe(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Xe&&!0!==Xe.vars.overwrite)._first||pe(this),this.parent&&r!==this.timeline.totalDuration()&&Wt(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,o,s,a,u,l,c=this._targets,f=t?ee(t):c,h=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0}(c,f))return"all"===e&&(this._pt=0),pe(this);for(n=this._op=this._op||[],"all"!==e&&(S(e)&&(a={},dt(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var r,n,i,o,s=t[0]?ht(t[0]).harness:0,a=s&&s.aliases;if(!a)return e;for(n in r=kt({},e),a)if(n in r)for(i=(o=a[n].split(",")).length;i--;)r[o[i]]=r[n];return r}(c,e)),l=c.length;l--;)if(~f.indexOf(c[l]))for(a in i=h[l],"all"===e?(n[l]=e,s=i,o={}):(o=n[l]=n[l]||{},s=e),s)(u=i&&i[a])&&("kill"in u.d&&!0!==u.d.kill(a)||Et(this,u,"_pt"),delete i[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&p&&pe(this),this},o.to=function(t,e){return new o(t,e,arguments[2])},o.from=function(t,e){return Kt(1,arguments)},o.delayedCall=function(t,e,r,n){return new o(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:n})},o.fromTo=function(t,e,r){return Kt(2,arguments)},o.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new o(t,e)},o.killTweensOf=function(t,e,r){return s.killTweensOf(t,e,r)},o}(Ye);Tt(Ze.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),dt("staggerTo,staggerFrom,staggerFromTo",(function(t){Ze[t]=function(){var e=new Ne,r=Jt.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var $e=function(t,e,r){return t[e]=r},Je=function(t,e,r){return t[e](r)},tr=function(t,e,r,n){return t[e](n.fp,r)},er=function(t,e,r){return t.setAttribute(e,r)},rr=function(t,e){return P(t[e])?Je:R(t[e])&&t.setAttribute?er:$e},nr=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},ir=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},or=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(1e4*(r.s+r.c*t))/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},sr=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ar=function(t,e,r,n){for(var i,o=this._pt;o;)i=o._next,o.p===n&&o.modifier(t,e,r),o=i},ur=function(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?Et(this,n,"_pt"):n.dep||(e=1),n=r;return!e},lr=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},cr=function(t){for(var e,r,n,i,o=t._pt;o;){for(e=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:i)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:i=o,o=e}t._pt=n},fr=function(){function t(t,e,r,n,i,o,s,a,u){this.t=e,this.s=n,this.c=i,this.p=r,this.r=o||nr,this.d=s||this,this.set=a||$e,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=lr,this.m=t,this.mt=r,this.tween=e},t}();dt(ct+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return nt[t]=1})),H.TweenMax=H.TweenLite=Ze,H.TimelineLite=H.TimelineMax=Ne,s=new Ne({sortChildren:!1,defaults:x,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),w.stringFilter=ke;var hr=[],pr={},dr=[],gr=0,_r=0,mr=function(t){return(pr[t]||dr).map((function(t){return t()}))},vr=function(){var t=Date.now(),e=[];t-gr>2&&(mr("matchMediaInit"),hr.forEach((function(t){var r,n,i,o,s=t.queries,u=t.conditions;for(n in s)(r=a.matchMedia(s[n]).matches)&&(i=1),r!==u[n]&&(u[n]=r,o=1);o&&(t.revert(),i&&e.push(t))})),mr("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t)})),gr=t,mr("matchMedia"))},yr=function(){function t(t,e){this.selector=e&&re(e),this.data=[],this._r=[],this.isReverted=!1,this.id=_r++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){P(t)&&(r=e,e=t,t=P);var n=this,i=function(){var t,i=o,s=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=re(r)),o=n,t=e.apply(n,arguments),P(t)&&n._r.push(t),o=i,n.selector=s,n.isReverted=!1,t};return n.last=i,t===P?i(n):t?n[t]=i:i},e.ignore=function(t){var e=o;o=null,t(this),o=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof Ze&&!(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){var n=this.getTweens();this.data.forEach((function(t){"isFlip"===t.data&&(t.revert(),t.getChildren(!0,!0,!1).forEach((function(t){return n.splice(n.indexOf(t),1)})))})),n.map((function(t){return{g:t.globalTime(0),t}})).sort((function(t,e){return e.g-t.g||-1})).forEach((function(e){return e.t.revert(t)})),this.data.forEach((function(e){return e instanceof Ne?"nested"!==e.data&&e.kill():!(e instanceof Ze)&&e.revert&&e.revert(t)})),this._r.forEach((function(e){return e(t,r)})),this.isReverted=!0}else this.data.forEach((function(t){return t.kill&&t.kill()}));if(this.clear(),e)for(var i=hr.length;i--;)hr[i].id===this.id&&hr.splice(i,1)},e.revert=function(t){this.kill(t||{})},t}(),wr=function(){function t(t){this.contexts=[],this.scope=t}var e=t.prototype;return e.add=function(t,e,r){z(t)||(t={matches:t});var n,i,s,u=new yr(0,r||this.scope),l=u.conditions={};for(i in o&&!u.selector&&(u.selector=o.selector),this.contexts.push(u),e=u.add("onMatch",e),u.queries=t,t)"all"===i?s=1:(n=a.matchMedia(t[i]))&&(hr.indexOf(u)<0&&hr.push(u),(l[i]=n.matches)&&(s=1),n.addListener?n.addListener(vr):n.addEventListener("change",vr));return s&&e(u),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),xr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var n=t.map((function(t){return kr.quickSetter(t,e,r)})),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var o=st[e],s=ht(t),a=s.harness&&(s.harness.aliases||{})[e]||e,u=o?function(e){var n=new o;h._pt=0,n.init(t,r?e+r:e,h,0,[t]),n.render(1,n),h._pt&&sr(1,h)}:s.set(t,a);return o?u:function(e){return u(t,a,r?e+r:e,s,1)}},quickTo:function(t,e,r){var n,i=kr.to(t,kt(((n={})[e]="+=0.1",n.paused=!0,n),r||{})),o=function(t,r,n){return i.resetTo(e,t,r,n)};return o.tween=i,o},isTweening:function(t){return s.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Re(t.ease,x.ease)),Mt(x,t||{})},config:function(t){return Mt(w,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,i=t.defaults,o=t.extendTimeline;(n||"").split(",").forEach((function(t){return t&&!st[t]&&!H[t]&&Z(e+" effect requires "+t+" plugin.")})),at[e]=function(t,e,n){return r(ee(t),Tt(e||{},i),n)},o&&(Ne.prototype[e]=function(t,r,n){return this.add(at[e](t,z(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){Ce[t]=Re(e)},parseEase:function(t,e){return arguments.length?Re(t,e):Ce},getById:function(t){return s.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new Ne(t);for(i.smoothChildTiming=F(t.smoothChildTiming),s.remove(i),i._dp=0,i._time=i._tTime=s._time,r=s._first;r;)n=r._next,!e&&!r._dur&&r instanceof Ze&&r.vars.onComplete===r._targets[0]||Nt(i,r,r._start-r._delay),r=n;return Nt(s,i,0),i},context:function(t,e){return t?new yr(t,e):o},matchMedia:function(t){return new wr(t)},matchMediaRefresh:function(){return hr.forEach((function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()}))||vr()},addEventListener:function(t,e){var r=pr[t]||(pr[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=pr[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function t(e,r,n){var i=r-e;return Y(e)?ue(e,t(0,e.length),r):Qt(n,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,r,n){var i=r-e,o=2*i;return Y(e)?ue(e,t(0,e.length-1),r):Qt(n,(function(t){return e+((t=(o+(t-e)%o)%o||0)>i?o-t:t)}))},distribute:ie,random:ae,snap:se,normalize:function(t,e,r){return ce(t,e,0,1,r)},getUnit:$t,clamp:function(t,e,r){return Qt(r,(function(r){return Zt(t,e,r)}))},splitColor:ye,toArray:ee,selector:re,mapRange:ce,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(tn,r,"")),e=Jr}(o||r)&&this.props.push(e,r,o[e])},rn=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},nn=function(){var t,e,r=this.props,n=this.target,i=n.style,o=n._gsap;for(t=0;t=0?un[i]:"")+t},cn=function(){"undefined"!=typeof window&&window.document&&(Mr=window,Ar=Mr.document,Cr=Ar.documentElement,Er=sn("div")||{style:{}},sn("div"),Jr=ln(Jr),tn=Jr+"Origin",Er.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Dr=!!ln("perspective"),Pr=kr.core.reverting,Or=1)},fn=function t(e){var r,n=sn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(Cr.appendChild(n),n.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(r=this._gsapBBox());return i&&(o?i.insertBefore(this,o):i.appendChild(this)),Cr.removeChild(n),this.style.cssText=s,r},hn=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},pn=function(t){var e;try{e=t.getBBox()}catch(r){e=fn.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===fn||(e=fn.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+hn(t,["x","cx","x1"])||0,y:+hn(t,["y","cy","y1"])||0,width:0,height:0}},dn=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!pn(t))},gn=function(t,e){if(e){var r=t.style;e in Rr&&e!==tn&&(e=Jr),r.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),r.removeProperty(e.replace(Lr,"-$1").toLowerCase())):r.removeAttribute(e)}},_n=function(t,e,r,n,i,o){var s=new fr(t._pt,e,r,0,1,o?Vr:Wr);return t._pt=s,s.b=n,s.e=i,t._props.push(r),s},mn={deg:1,rad:1,turn:1},vn={grid:1,flex:1},yn=function t(e,r,n,i){var o,s,a,u,l=parseFloat(n)||0,c=(n+"").trim().substr((l+"").length)||"px",f=Er.style,h=Br.test(r),p="svg"===e.tagName.toLowerCase(),d=(p?"client":"offset")+(h?"Width":"Height"),g=100,_="px"===i,m="%"===i;return i===c||!l||mn[i]||mn[c]?l:("px"!==c&&!_&&(l=t(e,r,n,"px")),u=e.getCTM&&dn(e),!m&&"%"!==c||!Rr[r]&&!~r.indexOf("adius")?(f[h?"width":"height"]=g+(_?c:i),s=~r.indexOf("adius")||"em"===i&&e.appendChild&&!p?e:e.parentNode,u&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==Ar&&s.appendChild||(s=Ar.body),(a=s._gsap)&&m&&a.width&&h&&a.time===Me.time&&!a.uncache?gt(l/a.width*g):((m||"%"===c)&&!vn[an(s,"display")]&&(f.position=an(e,"position")),s===e&&(f.position="static"),s.appendChild(Er),o=Er[d],s.removeChild(Er),f.position="absolute",h&&m&&((a=ht(s)).time=Me.time,a.width=s[d]),gt(_?o*l/g:o&&l?g/o*l:0))):(o=u?e.getBBox()[h?"width":"height"]:e[d],gt(m?l/o*g:l/100*o)))},wn=function(t,e,r,n){var i;return Or||cn(),e in Nr&&"transform"!==e&&~(e=Nr[e]).indexOf(",")&&(e=e.split(",")[0]),Rr[e]&&"transform"!==e?(i=Pn(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Dn(an(t,tn))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=kn[e]&&kn[e](t,e,r)||an(t,e)||pt(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?yn(t,e,i,r)+r:i},xn=function(t,e,r,n){if(!r||"none"===r){var i=ln(e,t,1),o=i&&an(t,i,1);o&&o!==r?(e=i,r=o):"borderColor"===e&&(r=an(t,"borderTopColor"))}var s,a,u,l,c,f,h,p,d,g,_,m=new fr(this._pt,t.style,e,0,1,or),v=0,y=0;if(m.b=r,m.e=n,r+="","auto"==(n+="")&&(t.style[e]=n,n=an(t,e)||n,t.style[e]=r),ke(s=[r,n]),n=s[1],u=(r=s[0]).match(U)||[],(n.match(U)||[]).length){for(;a=U.exec(n);)h=a[0],d=n.substring(v,a.index),c?c=(c+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(c=1),h!==(f=u[y++]||"")&&(l=parseFloat(f)||0,_=f.substr((l+"").length),"="===h.charAt(1)&&(h=mt(l,h)+_),p=parseFloat(h),g=h.substr((p+"").length),v=U.lastIndex-g.length,g||(g=g||w.units[e]||_,v===n.length&&(n+=g,m.e+=g)),_!==g&&(l=yn(t,e,f,g)||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;)r=a[i],Rr[r]&&(n=1,r="transformOrigin"===r?tn:Jr),gn(o,r);n&&(gn(o,Jr),u&&(u.svg&&o.removeAttribute("transform"),Pn(o,1),u.uncache=1,rn(s)))}},kn={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var o=t._pt=new fr(t._pt,e,r,0,0,Tn);return o.u=n,o.pr=-10,o.tween=i,t._props.push(r),1}}},Mn=[1,0,0,1,0,0],An={},Cn=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},On=function(t){var e=an(t,Jr);return Cn(e)?Mn:e.substr(7).match(X).map(gt)},En=function(t,e){var r,n,i,o,s=t._gsap||ht(t),a=t.style,u=On(t);return s.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(",")?Mn:u:(u!==Mn||t.offsetParent||t===Cr||s.svg||(i=a.display,a.display="block",(r=t.parentNode)&&t.offsetParent||(o=1,n=t.nextElementSibling,Cr.appendChild(t)),u=On(t),i?a.display=i:gn(t,"display"),o&&(n?r.insertBefore(t,n):r?r.appendChild(t):Cr.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},Sn=function(t,e,r,n,i,o){var s,a,u,l=t._gsap,c=i||En(t,!0),f=l.xOrigin||0,h=l.yOrigin||0,p=l.xOffset||0,d=l.yOffset||0,g=c[0],_=c[1],m=c[2],v=c[3],y=c[4],w=c[5],x=e.split(" "),b=parseFloat(x[0])||0,T=parseFloat(x[1])||0;r?c!==Mn&&(a=g*v-_*m)&&(u=b*(-_/a)+T*(g/a)-(g*w-_*y)/a,b=b*(v/a)+T*(-m/a)+(m*w-v*y)/a,T=u):(b=(s=pn(t)).x+(~x[0].indexOf("%")?b/100*s.width:b),T=s.y+(~(x[1]||x[0]).indexOf("%")?T/100*s.height:T)),n||!1!==n&&l.smooth?(y=b-f,w=T-h,l.xOffset=p+(y*g+w*m)-y,l.yOffset=d+(y*_+w*v)-w):l.xOffset=l.yOffset=0,l.xOrigin=b,l.yOrigin=T,l.smooth=!!n,l.origin=e,l.originIsAbsolute=!!r,t.style[tn]="0px 0px",o&&(_n(o,l,"xOrigin",f,b),_n(o,l,"yOrigin",h,T),_n(o,l,"xOffset",p,l.xOffset),_n(o,l,"yOffset",d,l.yOffset)),t.setAttribute("data-svg-origin",b+" "+T)},Pn=function(t,e){var r=t._gsap||new Be(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,o,s,a,u,l,c,f,h,p,d,g,_,m,v,y,x,b,T,k,M,A,C,O,E,S,P,D,R,z,F,I=t.style,L=r.scaleX<0,B="px",Y="deg",N=getComputedStyle(t),X=an(t,tn)||"0";return n=i=o=u=l=c=f=h=p=0,s=a=1,r.svg=!(!t.getCTM||!dn(t)),N.translate&&("none"===N.translate&&"none"===N.scale&&"none"===N.rotate||(I[Jr]=("none"!==N.translate?"translate3d("+(N.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==N.rotate?"rotate("+N.rotate+") ":"")+("none"!==N.scale?"scale("+N.scale.split(" ").join(",")+") ":"")+("none"!==N[Jr]?N[Jr]:"")),I.scale=I.rotate=I.translate="none"),_=En(t,r.svg),r.svg&&(r.uncache?(O=t.getBBox(),X=r.xOrigin-O.x+"px "+(r.yOrigin-O.y)+"px",C=""):C=!e&&t.getAttribute("data-svg-origin"),Sn(t,C||X,!!C||r.originIsAbsolute,!1!==r.smooth,_)),d=r.xOrigin||0,g=r.yOrigin||0,_!==Mn&&(x=_[0],b=_[1],T=_[2],k=_[3],n=M=_[4],i=A=_[5],6===_.length?(s=Math.sqrt(x*x+b*b),a=Math.sqrt(k*k+T*T),u=x||b?Ir(b,x)*zr:0,(f=T||k?Ir(T,k)*zr+u:0)&&(a*=Math.abs(Math.cos(f*Fr))),r.svg&&(n-=d-(d*x+g*T),i-=g-(d*b+g*k))):(F=_[6],R=_[7],S=_[8],P=_[9],D=_[10],z=_[11],n=_[12],i=_[13],o=_[14],l=(m=Ir(F,D))*zr,m&&(C=M*(v=Math.cos(-m))+S*(y=Math.sin(-m)),O=A*v+P*y,E=F*v+D*y,S=M*-y+S*v,P=A*-y+P*v,D=F*-y+D*v,z=R*-y+z*v,M=C,A=O,F=E),c=(m=Ir(-T,D))*zr,m&&(v=Math.cos(-m),z=k*(y=Math.sin(-m))+z*v,x=C=x*v-S*y,b=O=b*v-P*y,T=E=T*v-D*y),u=(m=Ir(b,x))*zr,m&&(C=x*(v=Math.cos(m))+b*(y=Math.sin(m)),O=M*v+A*y,b=b*v-x*y,A=A*v-M*y,x=C,M=O),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,c=180-c),s=gt(Math.sqrt(x*x+b*b+T*T)),a=gt(Math.sqrt(A*A+F*F)),m=Ir(M,A),f=Math.abs(m)>2e-4?m*zr:0,p=z?1/(z<0?-z:z):0),r.svg&&(C=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Cn(an(t,Jr)),C&&t.setAttribute("transform",C))),Math.abs(f)>90&&Math.abs(f)<270&&(L?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-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)+B,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)+B,r.z=o+B,r.scaleX=gt(s),r.scaleY=gt(a),r.rotation=gt(u)+Y,r.rotationX=gt(l)+Y,r.rotationY=gt(c)+Y,r.skewX=f+Y,r.skewY=h+Y,r.transformPerspective=p+B,(r.zOrigin=parseFloat(X.split(" ")[2])||0)&&(I[tn]=Dn(X)),r.xOffset=r.yOffset=0,r.force3D=w.force3D,r.renderTransform=r.svg?Yn:Dr?Bn:zn,r.uncache=0,r},Dn=function(t){return(t=t.split(" "))[0]+" "+t[1]},Rn=function(t,e,r){var n=$t(e);return gt(parseFloat(e)+parseFloat(yn(t,"x",r+"px",n)))+n},zn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Bn(t,e)},Fn="0deg",In="0px",Ln=") ",Bn=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,a=r.z,u=r.rotation,l=r.rotationY,c=r.rotationX,f=r.skewX,h=r.skewY,p=r.scaleX,d=r.scaleY,g=r.transformPerspective,_=r.force3D,m=r.target,v=r.zOrigin,y="",w="auto"===_&&t&&1!==t||!0===_;if(v&&(c!==Fn||l!==Fn)){var x,b=parseFloat(l)*Fr,T=Math.sin(b),k=Math.cos(b);b=parseFloat(c)*Fr,x=Math.cos(b),o=Rn(m,o,T*x*-v),s=Rn(m,s,-Math.sin(b)*-v),a=Rn(m,a,k*x*-v+v)}g!==In&&(y+="perspective("+g+Ln),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(w||o!==In||s!==In||a!==In)&&(y+=a!==In||w?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+Ln),u!==Fn&&(y+="rotate("+u+Ln),l!==Fn&&(y+="rotateY("+l+Ln),c!==Fn&&(y+="rotateX("+c+Ln),f===Fn&&h===Fn||(y+="skew("+f+", "+h+Ln),1===p&&1===d||(y+="scale("+p+", "+d+Ln),m.style[Jr]=y||"translate(0, 0)"},Yn=function(t,e){var r,n,i,o,s,a=e||this,u=a.xPercent,l=a.yPercent,c=a.x,f=a.y,h=a.rotation,p=a.skewX,d=a.skewY,g=a.scaleX,_=a.scaleY,m=a.target,v=a.xOrigin,y=a.yOrigin,w=a.xOffset,x=a.yOffset,b=a.forceCSS,T=parseFloat(c),k=parseFloat(f);h=parseFloat(h),p=parseFloat(p),(d=parseFloat(d))&&(p+=d=parseFloat(d),h+=d),h||p?(h*=Fr,p*=Fr,r=Math.cos(h)*g,n=Math.sin(h)*g,i=Math.sin(h-p)*-_,o=Math.cos(h-p)*_,p&&(d*=Fr,s=Math.tan(p-d),i*=s=Math.sqrt(1+s*s),o*=s,d&&(s=Math.tan(d),r*=s=Math.sqrt(1+s*s),n*=s)),r=gt(r),n=gt(n),i=gt(i),o=gt(o)):(r=g,o=_,n=i=0),(T&&!~(c+"").indexOf("px")||k&&!~(f+"").indexOf("px"))&&(T=yn(m,"x",c,"px"),k=yn(m,"y",f,"px")),(v||y||w||x)&&(T=gt(T+v-(v*r+y*i)+w),k=gt(k+y-(v*n+y*o)+x)),(u||l)&&(s=m.getBBox(),T=gt(T+u/100*s.width),k=gt(k+l/100*s.height)),s="matrix("+r+","+n+","+i+","+o+","+T+","+k+")",m.setAttribute("transform",s),b&&(m.style[Jr]=s)},Nn=function(t,e,r,n,i){var o,s,a=360,u=S(i),l=parseFloat(i)*(u&&~i.indexOf("rad")?zr:1)-n,c=n+l+"deg";return u&&("short"===(o=i.split("_")[1])&&(l%=a)!=l%180&&(l+=l<0?a:-360),"cw"===o&&l<0?l=(l+36e9)%a-~~(l/a)*a:"ccw"===o&&l>0&&(l=(l-36e9)%a-~~(l/a)*a)),t._pt=s=new fr(t._pt,e,r,n,l,Ur),s.e=c,s.u="deg",t._props.push(r),s},Xn=function(t,e){for(var r in e)t[r]=e[r];return t},Un=function(t,e,r){var n,i,o,s,a,u,l,c=Xn({},r._gsap),f=r.style;for(i in c.svg?(o=r.getAttribute("transform"),r.setAttribute("transform",""),f[Jr]=e,n=Pn(r,1),gn(r,Jr),r.setAttribute("transform",o)):(o=getComputedStyle(r)[Jr],f[Jr]=e,n=Pn(r,1),f[Jr]=o),Rr)(o=c[i])!==(s=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=$t(o)!==(l=$t(s))?yn(r,i,o,l):parseFloat(o),u=parseFloat(s),t._pt=new fr(t._pt,n,i,a,u-a,Xr),t._pt.u=l||0,t._props.push(i));Xn(n,c)};dt("padding,margin,Width,Radius",(function(t,e){var r="Top",n="Right",i="Bottom",o="Left",s=(e<3?[r,n,i,o]:[r+o,r+n,i+n,i+o]).map((function(r){return e<2?t+r:"border"+r+t}));kn[e>1?"border"+t:t]=function(t,e,r,n,i){var o,a;if(arguments.length<4)return o=s.map((function(e){return wn(t,e,r)})),5===(a=o.join(" ")).split(o[0]).length?o[0]:a;o=(n+"").split(" "),a={},s.forEach((function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]})),t.init(e,a,i)}}));var jn,qn,Wn={name:"css",register:cn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var o,s,a,u,l,c,f,h,p,d,g,_,m,v,y,x,b,T,k,M,A=this._props,C=t.style,O=r.vars.startAt;for(f in Or||cn(),this.styles=this.styles||on(t),x=this.styles.props,this.tween=r,e)if("autoRound"!==f&&(s=e[f],!st[f]||!We(f,e,r,n,t,i)))if(l=typeof s,c=kn[f],"function"===l&&(l=typeof(s=s.call(r,n,t,i))),"string"===l&&~s.indexOf("random(")&&(s=le(s)),c)c(this,t,f,s,r)&&(y=1);else if("--"===f.substr(0,2))o=(getComputedStyle(t).getPropertyValue(f)+"").trim(),s+="",be.lastIndex=0,be.test(o)||(h=$t(o),p=$t(s)),p?h!==p&&(o=yn(t,f,o,p)+p):h&&(s+=h),this.add(C,"setProperty",o,s,n,i,0,0,f),A.push(f),x.push(f,0,C[f]);else if("undefined"!==l){if(O&&f in O?(o="function"==typeof O[f]?O[f].call(r,n,t,i):O[f],S(o)&&~o.indexOf("random(")&&(o=le(o)),$t(o+"")||(o+=w.units[f]||$t(wn(t,f))||""),"="===(o+"").charAt(1)&&(o=wn(t,f))):o=wn(t,f),u=parseFloat(o),(d="string"===l&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),a=parseFloat(s),f in Nr&&("autoAlpha"===f&&(1===u&&"hidden"===wn(t,"visibility")&&a&&(u=0),x.push("visibility",0,C.visibility),_n(this,C,"visibility",u?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==f&&"transform"!==f&&~(f=Nr[f]).indexOf(",")&&(f=f.split(",")[0])),g=f in Rr)if(this.styles.save(f),_||((m=t._gsap).renderTransform&&!e.parseTransform||Pn(t,e.parseTransform),v=!1!==e.smoothOrigin&&m.smooth,(_=this._pt=new fr(this._pt,C,Jr,0,1,m.renderTransform,m,0,-1)).dep=1),"scale"===f)this._pt=new fr(this._pt,m,"scaleY",m.scaleY,(d?mt(m.scaleY,d+a):a)-m.scaleY||0,Xr),this._pt.u=0,A.push("scaleY",f),f+="X";else{if("transformOrigin"===f){x.push(tn,0,C[tn]),T=void 0,k=void 0,M=void 0,k=(T=(b=s).split(" "))[0],M=T[1]||"50%","top"!==k&&"bottom"!==k&&"left"!==M&&"right"!==M||(b=k,k=M,M=b),T[0]=bn[k]||k,T[1]=bn[M]||M,s=T.join(" "),m.svg?Sn(t,s,0,v,0,this):((p=parseFloat(s.split(" ")[2])||0)!==m.zOrigin&&_n(this,m,"zOrigin",m.zOrigin,p),_n(this,C,f,Dn(o),Dn(s)));continue}if("svgOrigin"===f){Sn(t,s,1,v,0,this);continue}if(f in An){Nn(this,m,f,u,d?mt(u,d+s):s);continue}if("smoothOrigin"===f){_n(this,m,"smooth",m.smooth,s);continue}if("force3D"===f){m[f]=s;continue}if("transform"===f){Un(this,s,t);continue}}else f in C||(f=ln(f)||f);if(g||(a||0===a)&&(u||0===u)&&!Yr.test(s)&&f in C)a||(a=0),(h=(o+"").substr((u+"").length))!==(p=$t(s)||(f in w.units?w.units[f]:h))&&(u=yn(t,f,o,p)),this._pt=new fr(this._pt,g?m:C,f,u,(d?mt(u,d+a):a)-u,g||"px"!==p&&"zIndex"!==f||!1===e.autoRound?Xr:qr),this._pt.u=p||0,h!==p&&"%"!==p&&(this._pt.b=o,this._pt.r=jr);else if(f in C)xn.call(this,t,f,o,d?d+s:s);else if(f in t)this.add(t,f,o||t[f],d?d+s:s,n,i);else if("parseTransform"!==f){Q(f,s);continue}g||(f in C?x.push(f,0,C[f]):x.push(f,1,o||t[f])),A.push(f)}y&&cr(this)},render:function(t,e){if(e.tween._time||!Pr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:wn,aliases:Nr,getSetter:function(t,e,r){var n=Nr[e];return n&&n.indexOf(",")<0&&(e=n),e in Rr&&e!==tn&&(t._gsap.x||wn(t,"x"))?r&&Sr===r?"scale"===e?Qr:Kr:(Sr=r||{})&&("scale"===e?Zr:$r):t.style&&!R(t.style[e])?Hr:~e.indexOf("-")?Gr:rr(t,e)},core:{_removeProperty:gn,_getMatrix:En}};kr.utils.checkPrefix=ln,kr.core.getStyleSaver=on,qn=dt("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(jn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Rr[t]=1})),dt(jn,(function(t){w.units[t]="deg",An[t]=1})),Nr[qn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+jn,dt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");Nr[e[1]]=qn[e[0]]})),dt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){w.units[t]="px"})),kr.registerPlugin(Wn);var Vn=kr.registerPlugin(Wn)||kr;function Hn(t,e){for(var r=0;ra?(i=n,n=t,s=o,o=u):r?n+=t:n=i+(t-i)/(u-s)*(o-s)};return{update:l,reset:function(){i=n=r?0:n,s=o=0},getVelocity:function(t){var e=s,a=i,c=hi();return(t||0===t)&&t!==n&&l(t),o===s||c-s>u?0:(n+(r?a:-a))/((r?c:o)-e)*1e3}}},Ci=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},Oi=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Ei=function(){var t,e,r,n;(ri=Gn.core.globals().ScrollTrigger)&&ri.core&&(t=ri.core,e=t.bridge||{},r=t._scrollers,n=t._proxies,r.push.apply(r,ci),n.push.apply(n,fi),ci=r,fi=n,pi=function(t,r){return e[t](r)})},Si=function(t){return(Gn=t||ai())&&"undefined"!=typeof document&&document.body&&(Qn=window,Zn=document,$n=Zn.documentElement,Jn=Zn.body,ni=[Qn,Zn,$n,Jn],Gn.utils.clamp,si=Gn.core.context||function(){},ei="onpointerenter"in Jn?"pointer":"mouse",ti=Pi.isTouch=Qn.matchMedia&&Qn.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Qn||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,oi=Pi.eventTypes=("ontouchstart"in $n?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in $n?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return ui=0}),500),Ei(),Kn=1),Kn};bi.op=Ti,ci.cache=0;var Pi=function(){function t(t){this.init(t)}var e,r;return t.prototype.init=function(t){Kn||Si(Gn)||console.warn("Please gsap.registerPlugin(Observer)"),ri||Ei();var e=t.tolerance,r=t.dragMinimum,n=t.type,i=t.target,o=t.lineHeight,s=t.debounce,a=t.preventDefault,u=t.onStop,l=t.onStopDelay,c=t.ignore,f=t.wheelSpeed,h=t.event,p=t.onDragStart,d=t.onDragEnd,g=t.onDrag,_=t.onPress,m=t.onRelease,v=t.onRight,y=t.onLeft,w=t.onUp,x=t.onDown,b=t.onChangeX,T=t.onChangeY,k=t.onChange,M=t.onToggleX,A=t.onToggleY,C=t.onHover,O=t.onHoverEnd,E=t.onMove,S=t.ignoreCheck,P=t.isNormalizer,D=t.onGestureStart,R=t.onGestureEnd,z=t.onWheel,F=t.onEnable,I=t.onDisable,L=t.onClick,B=t.scrollSpeed,Y=t.capture,N=t.allowClicks,X=t.lockAxis,U=t.onLockAxis;this.target=i=ki(i)||$n,this.vars=t,c&&(c=Gn.utils.toArray(c)),e=e||1e-9,r=r||0,f=f||1,B=B||1,n=n||"wheel,touch,pointer",s=!1!==s,o||(o=parseFloat(Qn.getComputedStyle(Jn).lineHeight)||22);var j,q,W,V,H,G,K,Q=this,Z=0,$=0,J=Mi(i,bi),tt=Mi(i,Ti),et=J(),rt=tt(),nt=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===oi[0],it=gi(i),ot=i.ownerDocument||Zn,st=[0,0,0],at=[0,0,0],ut=0,lt=function(){return ut=hi()},ct=function(t,e){return(Q.event=t)&&c&&~c.indexOf(t.target)||e&&nt&&"touch"!==t.pointerType||S&&S(t,e)},ft=function(){var t=Q.deltaX=Oi(st),r=Q.deltaY=Oi(at),n=Math.abs(t)>=e,i=Math.abs(r)>=e;k&&(n||i)&&k(Q,t,r,st,at),n&&(v&&Q.deltaX>0&&v(Q),y&&Q.deltaX<0&&y(Q),b&&b(Q),M&&Q.deltaX<0!=Z<0&&M(Q),Z=Q.deltaX,st[0]=st[1]=st[2]=0),i&&(x&&Q.deltaY>0&&x(Q),w&&Q.deltaY<0&&w(Q),T&&T(Q),A&&Q.deltaY<0!=$<0&&A(Q),$=Q.deltaY,at[0]=at[1]=at[2]=0),(V||W)&&(E&&E(Q),W&&(g(Q),W=!1),V=!1),G&&!(G=!1)&&U&&U(Q),H&&(z(Q),H=!1),j=0},ht=function(t,e,r){st[r]+=t,at[r]+=e,Q._vx.update(t),Q._vy.update(e),s?j||(j=requestAnimationFrame(ft)):ft()},pt=function(t,e){X&&!K&&(Q.axis=K=Math.abs(t)>Math.abs(e)?"x":"y",G=!0),"y"!==K&&(st[2]+=t,Q._vx.update(t,!0)),"x"!==K&&(at[2]+=e,Q._vy.update(e,!0)),s?j||(j=requestAnimationFrame(ft)):ft()},dt=function(t){if(!ct(t,1)){var e=(t=Ci(t,a)).clientX,n=t.clientY,i=e-Q.x,o=n-Q.y,s=Q.isDragging;Q.x=e,Q.y=n,(s||Math.abs(Q.startX-e)>=r||Math.abs(Q.startY-n)>=r)&&(g&&(W=!0),s||(Q.isDragging=!0),pt(i,o),s||p&&p(Q))}},gt=Q.onPress=function(t){ct(t,1)||t&&t.button||(Q.axis=K=null,q.pause(),Q.isPressed=!0,t=Ci(t),Z=$=0,Q.startX=Q.x=t.clientX,Q.startY=Q.y=t.clientY,Q._vx.reset(),Q._vy.reset(),_i(P?i:ot,oi[1],dt,a,!0),Q.deltaX=Q.deltaY=0,_&&_(Q))},_t=Q.onRelease=function(t){if(!ct(t,1)){mi(P?i:ot,oi[1],dt,!0);var e=!isNaN(Q.y-Q.startY),r=Q.isDragging&&(Math.abs(Q.x-Q.startX)>3||Math.abs(Q.y-Q.startY)>3),n=Ci(t);!r&&e&&(Q._vx.reset(),Q._vy.reset(),a&&N&&Gn.delayedCall(.08,(function(){if(hi()-ut>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ot.createEvent){var e=ot.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,Qn,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}))),Q.isDragging=Q.isGesturing=Q.isPressed=!1,u&&!P&&q.restart(!0),d&&r&&d(Q),m&&m(Q,r)}},mt=function(t){return t.touches&&t.touches.length>1&&(Q.isGesturing=!0)&&D(t,Q.isDragging)},vt=function(){return(Q.isGesturing=!1)||R(Q)},yt=function(t){if(!ct(t)){var e=J(),r=tt();ht((e-et)*B,(r-rt)*B,1),et=e,rt=r,u&&q.restart(!0)}},wt=function(t){if(!ct(t)){t=Ci(t,a),z&&(H=!0);var e=(1===t.deltaMode?o:2===t.deltaMode?Qn.innerHeight:1)*f;ht(t.deltaX*e,t.deltaY*e,0),u&&!P&&q.restart(!0)}},xt=function(t){if(!ct(t)){var e=t.clientX,r=t.clientY,n=e-Q.x,i=r-Q.y;Q.x=e,Q.y=r,V=!0,(n||i)&&pt(n,i)}},bt=function(t){Q.event=t,C(Q)},Tt=function(t){Q.event=t,O(Q)},kt=function(t){return ct(t)||Ci(t,a)&&L(Q)};q=Q._dc=Gn.delayedCall(l||.25,(function(){Q._vx.reset(),Q._vy.reset(),q.pause(),u&&u(Q)})).pause(),Q.deltaX=Q.deltaY=0,Q._vx=Ai(0,50,!0),Q._vy=Ai(0,50,!0),Q.scrollX=J,Q.scrollY=tt,Q.isDragging=Q.isGesturing=Q.isPressed=!1,si(this),Q.enable=function(t){return Q.isEnabled||(_i(it?ot:i,"scroll",wi),n.indexOf("scroll")>=0&&_i(it?ot:i,"scroll",yt,a,Y),n.indexOf("wheel")>=0&&_i(i,"wheel",wt,a,Y),(n.indexOf("touch")>=0&&ti||n.indexOf("pointer")>=0)&&(_i(i,oi[0],gt,a,Y),_i(ot,oi[2],_t),_i(ot,oi[3],_t),N&&_i(i,"click",lt,!1,!0),L&&_i(i,"click",kt),D&&_i(ot,"gesturestart",mt),R&&_i(ot,"gestureend",vt),C&&_i(i,ei+"enter",bt),O&&_i(i,ei+"leave",Tt),E&&_i(i,ei+"move",xt)),Q.isEnabled=!0,t&&t.type&>(t),F&&F(Q)),Q},Q.disable=function(){Q.isEnabled&&(li.filter((function(t){return t!==Q&&gi(t.target)})).length||mi(it?ot:i,"scroll",wi),Q.isPressed&&(Q._vx.reset(),Q._vy.reset(),mi(P?i:ot,oi[1],dt,!0)),mi(it?ot:i,"scroll",yt,Y),mi(i,"wheel",wt,Y),mi(i,oi[0],gt,Y),mi(ot,oi[2],_t),mi(ot,oi[3],_t),mi(i,"click",lt,!0),mi(i,"click",kt),mi(ot,"gesturestart",mt),mi(ot,"gestureend",vt),mi(i,ei+"enter",bt),mi(i,ei+"leave",Tt),mi(i,ei+"move",xt),Q.isEnabled=Q.isPressed=Q.isDragging=!1,I&&I(Q))},Q.kill=Q.revert=function(){Q.disable();var t=li.indexOf(Q);t>=0&&li.splice(t,1),ii===Q&&(ii=0)},li.push(Q),P&&gi(i)&&(ii=Q),Q.enable(h)},e=t,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&Hn(e.prototype,r),t}();Pi.version="3.12.1",Pi.create=function(t){return new Pi(t)},Pi.register=Si,Pi.getAll=function(){return li.slice()},Pi.getById=function(t){return li.filter((function(e){return e.vars.id===t}))[0]},ai()&&Gn.registerPlugin(Pi);var Di,Ri,zi,Fi,Ii,Li,Bi,Yi,Ni,Xi,Ui,ji,qi,Wi,Vi,Hi,Gi,Ki,Qi,Zi,$i,Ji,to,eo,ro,no,io,oo,so,ao,uo,lo,co,fo,ho=1,po=Date.now,go=po(),_o=0,mo=0,vo=function(t,e,r){var n=Po(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},yo=function(t,e){return!e||Po(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},wo=function t(){return mo&&requestAnimationFrame(t)},xo=function(){return Wi=1},bo=function(){return Wi=0},To=function(t){return t},ko=function(t){return Math.round(1e5*t)/1e5||0},Mo=function(){return"undefined"!=typeof window},Ao=function(){return Di||Mo()&&(Di=window.gsap)&&Di.registerPlugin&&Di},Co=function(t){return!!~Bi.indexOf(t)},Oo=function(t){return di(t,"getBoundingClientRect")||(Co(t)?function(){return Ys.width=zi.innerWidth,Ys.height=zi.innerHeight,Ys}:function(){return ts(t)})},Eo=function(t,e){var r=e.s,n=e.d2,i=e.d,o=e.a;return Math.max(0,(r="scroll"+n)&&(o=di(t,r))?o()-Oo(t)()[i]:Co(t)?(Ii[r]||Li[r])-(zi["inner"+n]||Ii["client"+n]||Li["client"+n]):t[r]-t["offset"+n])},So=function(t,e){for(var r=0;r0){for(t-=i,o=0;o=t)return r[o];return r[o-1]}for(o=r.length,t+=i;o--;)if(r[o]<=t)return r[o];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var o=e(r);return!n||Math.abs(o-r)r&&(n*=e/100),t=t.substr(0,r-1)),t=n+(t in cs?cs[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},hs=function(t,e,r,n,i,o,s,a){var u=i.startColor,l=i.endColor,c=i.fontSize,f=i.indent,h=i.fontWeight,p=Fi.createElement("div"),d=Co(r)||"fixed"===di(r,"pinType"),g=-1!==t.indexOf("scroller"),_=d?Li: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:"+((g||a)&&d?"fixed;":"absolute;"),(g||a||!d)&&(y+=(n===Ti?Yo:No)+":"+(o+parseFloat(f))+"px;"),s&&(y+="box-sizing:border-box;text-align:left;width:"+s.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,_.children[0]?_.insertBefore(p,_.children[0]):_.appendChild(p),p._offset=p["offset"+n.op.d2],ps(p,0,n,m),p},ps=function(t,e,r,n){var i={display:"block"},o=r[n?"os2":"p2"],s=r[n?"p2":"os2"];t._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+Ko]=1,i["border"+s+Ko]=0,i[r.p]=e+"px",Di.set(t,i)},ds=[],gs={},_s=function(){return po()-_o>34&&(uo||(uo=requestAnimationFrame(Ds)))},ms=function(){(!to||!to.isPressed||to.startX>Li.clientWidth)&&(ci.cache++,to?uo||(uo=requestAnimationFrame(Ds)):Ds(),_o||Ts("scrollStart"),_o=po())},vs=function(){no=zi.innerWidth,ro=zi.innerHeight},ys=function(){ci.cache++,!qi&&!Ji&&!Fi.fullscreenElement&&!Fi.webkitFullscreenElement&&(!eo||no!==zi.innerWidth||Math.abs(zi.innerHeight-ro)>.25*zi.innerHeight)&&Yi.restart(!0)},ws={},xs=[],bs=function t(){return ss(Vs,"scrollEnd",t)||Es(!0)},Ts=function(t){return ws[t]&&ws[t].map((function(t){return t()}))||xs},ks=[],Ms=function(t){for(var e=0;ee)&&t.setPositions(t.start,Math.max(t.start+1,e),!0)})),r.forEach((function(t){return t&&t.render&&t.render(-1)})),ci.forEach((function(t){Do(t)&&(t.smooth&&requestAnimationFrame((function(){return t.target.style.scrollBehavior="smooth"})),t.rec&&t(t.rec))})),Cs(so,1),Yi.pause(),Os++,lo=2,Ds(2),ds.forEach((function(t){return Do(t.vars.onRefresh)&&t.vars.onRefresh(t)})),lo=Vs.isRefreshing=!1,Ts("refresh")}else os(Vs,"scrollEnd",bs)},Ss=0,Ps=1,Ds=function(t){if(!lo||2===t){Vs.isUpdating=!0,fo&&fo.update(0);var e=ds.length,r=po(),n=r-go>=50,i=e&&ds[0].scroll();if(Ps=Ss>i?-1:1,lo||(Ss=i),n&&(_o&&!Wi&&r-_o>200&&(_o=0,Ts("scrollEnd")),Ui=go,go=r),Ps<0){for(Hi=e;Hi-- >0;)ds[Hi]&&ds[Hi].update(0,n);Ps=1}else for(Hi=0;Hi20),r-=r-w}if(p&&(a[p]=t||-.001,t<0&&(t=0)),o){var T=t+r,k=o._isStart;d="scroll"+n.d2,ps(o,T,n,k&&T>20||!k&&(c?Math.max(Li[d],Ii[d]):o.parentNode[d])<=T+1),c&&(u=ts(s),c&&(o.style[n.op.p]=u[n.op.p]-n.op.m-o._offset+Zo))}return h&&_&&(d=ts(_),h.seek(f),g=ts(_),h._caScrollDist=d[n.p]-g[n.p],t=t/h._caScrollDist*f),h&&h.seek(m),h?t:Math.round(t)},Xs=/(webkit|moz|length|cssText|inset)/i,Us=function(t,e,r,n){if(t.parentNode!==e){var i,o,s=t.style;if(e===Li){for(i in t._stOrig=s.cssText,o=$o(t))+i||Xs.test(i)||!o[i]||"string"!=typeof s[i]||"0"===i||(s[i]=o[i]);s.top=r,s.left=n}else s.cssText=t._stOrig;Di.core.getCache(t).uncache=1,e.appendChild(t)}},js=function(t,e,r){var n=e,i=n;return function(e){var o=Math.round(t());return o!==n&&o!==i&&Math.abs(o-n)>3&&Math.abs(o-i)>3&&(e=o,r&&r()),i=n,n=e,e}},qs=function(t,e,r){var n={};n[e.p]="+="+r,Di.set(t,n)},Ws=function(t,e){var r=Mi(t,e),n="_scroll"+e.p2,i=function e(i,o,s,a,u){var l=e.tween,c=o.onComplete,f={};s=s||r();var h=js(r,s,(function(){l.kill(),e.tween=0}));return u=a&&u||0,a=a||i-s,l&&l.kill(),o[n]=i,o.modifiers=f,f[n]=function(){return h(s+a*l.ratio+u*l.ratio*l.ratio)},o.onUpdate=function(){ci.cache++,Ds()},o.onComplete=function(){e.tween=0,c&&c.call(l)},l=e.tween=Di.to(t,o)};return t[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},os(t,"wheel",r.wheelHandler),Vs.isTouch&&os(t,"touchmove",r.wheelHandler),i},Vs=function(){function t(e,r){Ri||t.register(Di)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),oo(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),mo){var n,i,o,s,a,u,l,c,f,h,p,d,g,_,m,v,y,w,x,b,T,k,M,A,C,O,E,S,P,D,R,z,F,I,L,B,Y,N,X,U,j,q,W=e=Jo(Po(e)||Ro(e)||e.nodeType?{trigger:e}:e,ls),V=W.onUpdate,H=W.toggleClass,G=W.id,K=W.onToggle,Q=W.onRefresh,Z=W.scrub,$=W.trigger,J=W.pin,tt=W.pinSpacing,et=W.invalidateOnRefresh,rt=W.anticipatePin,nt=W.onScrubComplete,it=W.onSnapComplete,ot=W.once,st=W.snap,at=W.pinReparent,ut=W.pinSpacer,lt=W.containerAnimation,ct=W.fastScrollEnd,ft=W.preventOverlaps,ht=e.horizontal||e.containerAnimation&&!1!==e.horizontal?bi:Ti,pt=!Z&&0!==Z,dt=ki(e.scroller||zi),gt=Di.core.getCache(dt),_t=Co(dt),mt="fixed"===("pinType"in e?e.pinType:di(dt,"pinType")||_t&&"fixed"),vt=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],yt=pt&&e.toggleActions.split(" "),wt="markers"in e?e.markers:ls.markers,xt=_t?0:parseFloat($o(dt)["border"+ht.p2+Ko])||0,bt=this,Tt=e.onRefreshInit&&function(){return e.onRefreshInit(bt)},kt=function(t,e,r){var n=r.d,i=r.d2,o=r.a;return(o=di(t,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(e?zi["inner"+i]:t["client"+i])||0}}(dt,_t,ht),Mt=function(t,e){return!e||~fi.indexOf(t)?Oo(t):function(){return Ys}}(dt,_t),At=0,Ct=0,Ot=0,Et=Mi(dt,ht);if(bt._startClamp=bt._endClamp=!1,bt._dir=ht,rt*=45,bt.scroller=dt,bt.scroll=lt?lt.time.bind(lt):Et,s=Et(),bt.vars=e,r=r||e.animation,"refreshPriority"in e&&(Zi=1,-9999===e.refreshPriority&&(fo=bt)),gt.tweenScroll=gt.tweenScroll||{top:Ws(dt,Ti),left:Ws(dt,bi)},bt.tweenTo=n=gt.tweenScroll[ht.p],bt.scrubDuration=function(t){(F=Ro(t)&&t)?z?z.duration(t):z=Di.to(r,{ease:"expo",totalProgress:"+=0",duration:F,paused:!0,onComplete:function(){return nt&&nt(bt)}}):(z&&z.progress(1).kill(),z=0)},r&&(r.vars.lazy=!1,r._initted&&!bt.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),bt.animation=r.pause(),r.scrollTrigger=bt,bt.scrubDuration(Z),D=0,G||(G=r.vars.id)),st&&(zo(st)&&!st.push||(st={snapTo:st}),"scrollBehavior"in Li.style&&Di.set(_t?[Li,Ii]:dt,{scrollBehavior:"auto"}),ci.forEach((function(t){return Do(t)&&t.target===(_t?Fi.scrollingElement||Ii:dt)&&(t.smooth=!1)})),o=Do(st.snapTo)?st.snapTo:"labels"===st.snapTo?function(t){return function(e){return Di.utils.snap(rs(t),e)}}(r):"labelsDirectional"===st.snapTo?(U=r,function(t,e){return ns(rs(U))(t,e.direction)}):!1!==st.directional?function(t,e){return ns(st.snapTo)(t,po()-Ct<500?0:e.direction)}:Di.utils.snap(st.snapTo),I=st.duration||{min:.1,max:2},I=zo(I)?Xi(I.min,I.max):Xi(I,I),L=Di.delayedCall(st.delay||F/2||.1,(function(){var t=Et(),e=po()-Ct<500,i=n.tween;if(!(e||Math.abs(bt.getVelocity())<10)||i||Wi||At===t)bt.isActive&&At!==t&&L.restart(!0);else{var s=(t-u)/_,a=r&&!pt?r.totalProgress():s,c=e?0:(a-R)/(po()-Ui)*1e3||0,f=Di.utils.clamp(-s,1-s,Lo(c/2)*c/.185),h=s+(!1===st.inertia?0:f),p=Xi(0,1,o(h,bt)),d=Math.round(u+p*_),g=st,m=g.onStart,v=g.onInterrupt,y=g.onComplete;if(t<=l&&t>=u&&d!==t){if(i&&!i._initted&&i.data<=Lo(d-t))return;!1===st.inertia&&(f=p-s),n(d,{duration:I(Lo(.185*Math.max(Lo(h-a),Lo(p-a))/c/.05||0)),ease:st.ease||"power3",data:Lo(d-t),onInterrupt:function(){return L.restart(!0)&&v&&v(bt)},onComplete:function(){bt.update(),At=Et(),D=R=r&&!pt?r.totalProgress():bt.progress,it&&it(bt),y&&y(bt)}},t,f*_,d-t-f*_),m&&m(bt,n.tween)}}})).pause()),G&&(gs[G]=bt),(X=($=bt.trigger=ki($||!0!==J&&J))&&$._gsap&&$._gsap.stRevert)&&(X=X(bt)),J=!0===J?$:ki(J),Po(H)&&(H={targets:$,className:H}),J&&(!1===tt||tt===Go||(tt=!(!tt&&J.parentNode&&J.parentNode.style&&"flex"===$o(J.parentNode).display)&&Ho),bt.pin=J,(i=Di.core.getCache(J)).spacer?m=i.pinState:(ut&&((ut=ki(ut))&&!ut.nodeType&&(ut=ut.current||ut.nativeElement),i.spacerIsNative=!!ut,ut&&(i.spacerState=Bs(ut))),i.spacer=w=ut||Fi.createElement("div"),w.classList.add("pin-spacer"),G&&w.classList.add("pin-spacer-"+G),i.pinState=m=Bs(J)),!1!==e.force3D&&Di.set(J,{force3D:!0}),bt.spacer=w=i.spacer,P=$o(J),A=P[tt+ht.os2],b=Di.getProperty(J),T=Di.quickSetter(J,ht.a,Zo),Fs(J,w,P),y=Bs(J)),wt){d=zo(wt)?Jo(wt,us):us,h=hs("scroller-start",G,dt,ht,d,0),p=hs("scroller-end",G,dt,ht,d,0,h),x=h["offset"+ht.op.d2];var St=ki(di(dt,"content")||dt);c=this.markerStart=hs("start",G,St,ht,d,x,0,lt),f=this.markerEnd=hs("end",G,St,ht,d,x,0,lt),lt&&(N=Di.quickSetter([c,f],ht.a,Zo)),mt||fi.length&&!0===di(dt,"fixedMarkers")||(q=$o(j=_t?Li:dt).position,j.style.position="absolute"===q||"fixed"===q?q:"relative",Di.set([h,p],{force3D:!0}),O=Di.quickSetter(h,ht.a,Zo),S=Di.quickSetter(p,ht.a,Zo))}if(lt){var Pt=lt.vars.onUpdate,Dt=lt.vars.onUpdateParams;lt.eventCallback("onUpdate",(function(){bt.update(0,0,1),Pt&&Pt.apply(lt,Dt||[])}))}if(bt.previous=function(){return ds[ds.indexOf(bt)-1]},bt.next=function(){return ds[ds.indexOf(bt)+1]},bt.revert=function(t,e){if(!e)return bt.kill(!0);var n=!1!==t||!bt.enabled,i=qi;n!==bt.isReverted&&(n&&(B=Math.max(Et(),bt.scroll.rec||0),Ot=bt.progress,Y=r&&r.progress()),c&&[c,f,h,p].forEach((function(t){return t.style.display=n?"none":"block"})),n&&(qi=bt,bt.update(n)),!J||at&&bt.isActive||(n?function(t,e,r){Ls(r);var n=t._gsap;if(n.spacerIsNative)Ls(n.spacerState);else if(t._gsap.swappedIn){var i=e.parentNode;i&&(i.insertBefore(t,e),i.removeChild(e))}t._gsap.swappedIn=!1}(J,w,m):Fs(J,w,$o(J),C)),n||bt.update(n),qi=i,bt.isReverted=n)},bt.refresh=function(i,o,d,x){if(!qi&&bt.enabled||o)if(J&&i&&_o)os(t,"scrollEnd",bs);else{!lo&&Tt&&Tt(bt),qi=bt,n.tween&&(n.tween.kill(),n.tween=0),z&&z.pause(),et&&r&&r.revert({kill:!1}).invalidate(),bt.isReverted||bt.revert(!0,!0),bt._subPinOffset=!1;var T,A,O,S,P,D,R,F,I,N,X,U,j,q=kt(),W=Mt(),V=lt?lt.duration():Eo(dt,ht),H=_<=.01,G=0,K=x||0,Z=zo(d)?d.end:e.end,rt=e.endTrigger||$,nt=zo(d)?d.start:e.start||(0!==e.start&&$?J?"0 0":"0 100%":0),it=bt.pinnedContainer=e.pinnedContainer&&ki(e.pinnedContainer,bt),ot=$&&Math.max(0,ds.indexOf(bt))||0,st=ot;for(wt&&zo(d)&&(U=Di.getProperty(h,ht.p),j=Di.getProperty(p,ht.p));st--;)(D=ds[st]).end||D.refresh(0,1)||(qi=bt),!(R=D.pin)||R!==$&&R!==J&&R!==it||D.isReverted||(N||(N=[]),N.unshift(D),D.revert(!0,!0)),D!==ds[st]&&(ot--,st--);for(Do(nt)&&(nt=nt(bt)),nt=vo(nt,"start",bt),u=Ns(nt,$,q,ht,Et(),c,h,bt,W,xt,mt,V,lt,bt._startClamp&&"_startClamp")||(J?-.001:0),Do(Z)&&(Z=Z(bt)),Po(Z)&&!Z.indexOf("+=")&&(~Z.indexOf(" ")?Z=(Po(nt)?nt.split(" ")[0]:"")+Z:(G=fs(Z.substr(2),q),Z=Po(nt)?nt:(lt?Di.utils.mapRange(0,lt.duration(),lt.scrollTrigger.start,lt.scrollTrigger.end,u):u)+G,rt=$)),Z=vo(Z,"end",bt),l=Math.max(u,Ns(Z||(rt?"100% 0":V),rt,q,ht,Et()+G,f,p,bt,W,xt,mt,V,lt,bt._endClamp&&"_endClamp"))||-.001,G=0,st=ot;st--;)(R=(D=ds[st]).pin)&&D.start-D._pinPush<=u&&!lt&&D.end>0&&(T=D.end-(bt._startClamp?Math.max(0,D.start):D.start),(R===$&&D.start-D._pinPush1&&(X={style:X=(_t?Fi.scrollingElement||Ii:dt).style,value:X["overflow"+ht.a.toUpperCase()]},_t&&"scroll"!==$o(Li)["overflow"+ht.a.toUpperCase()]&&(X.style["overflow"+ht.a.toUpperCase()]="scroll")),Fs(J,w,T),y=Bs(J),A=ts(J,!0),F=mt&&Mi(dt,S?bi:Ti)(),tt&&((C=[tt+ht.os2,_+K+Zo]).t=w,(st=tt===Ho?es(J,ht)+_+K:0)&&C.push(ht.d,st+Zo),Ls(C),it&&ds.forEach((function(t){t.pin===it&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)})),mt&&Et(B)),mt&&((P={top:A.top+(S?O-u:F)+Zo,left:A.left+(S?F:O-u)+Zo,boxSizing:"border-box",position:"fixed"})[Xo]=P["max"+Ko]=Math.ceil(A.width)+Zo,P[Uo]=P["max"+Qo]=Math.ceil(A.height)+Zo,P[Go]=P[Go+Wo]=P[Go+jo]=P[Go+Vo]=P[Go+qo]="0",P[Ho]=T[Ho],P[Ho+Wo]=T[Ho+Wo],P[Ho+jo]=T[Ho+jo],P[Ho+Vo]=T[Ho+Vo],P[Ho+qo]=T[Ho+qo],v=function(t,e,r){for(var n,i=[],o=t.length,s=r?8:0;s1,mt&&E&&v.splice(v.length-2,2),r.render(0,!0,!0),I||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),$i(0)):M=_,X&&(X.value?X.style["overflow"+ht.a.toUpperCase()]=X.value:X.style.removeProperty("overflow-"+ht.a));else if($&&Et()&&!lt)for(A=$.parentNode;A&&A!==Li;)A._pinOffset&&(u-=A._pinOffset,l-=A._pinOffset),A=A.parentNode;N&&N.forEach((function(t){return t.revert(!1,!0)})),bt.start=u,bt.end=l,s=a=lo?B:Et(),lt||lo||(s0?ds.slice(0,e).reverse():ds.slice(e+1);return(Po(t)?r.filter((function(e){return e.vars.preventOverlaps===t})):r).filter((function(t){return bt.direction>0?t.end<=u:t.start>=l}))},bt.update=function(t,e,i){if(!lt||i||t){var o,c,f,p,d,g,m,x=!0===lo?B:bt.scroll(),b=t?0:(x-u)/_,C=b<0?0:b>1?1:b||0,P=bt.progress;if(e&&(a=s,s=lt?Et():x,st&&(R=D,D=r&&!pt?r.totalProgress():C)),rt&&!C&&J&&!qi&&!ho&&_o&&uP?1:-1,bt.progress=C,p&&!qi&&(c=C&&!P?0:1===C?1:1===P?2:3,pt&&(f=!d&&"none"!==yt[c+1]&&yt[c+1]||yt[c],m=r&&("complete"===f||"reset"===f||f in r))),ft&&(d||m)&&(m||Z||!r)&&(Do(ft)?ft(bt):bt.getTrailing(ft).forEach((function(t){return t.endAnimation()}))),pt||(!z||qi||ho?r&&r.totalProgress(C,!(!qi||!Ct&&!t)):(z._dp._time-z._start!==z._time&&z.render(z._dp._time-z._start),z.resetTo?z.resetTo("totalProgress",C,r._tTime/r._tDur):(z.vars.totalProgress=C,z.invalidate().restart()))),J)if(t&&tt&&(w.style[tt+ht.os2]=A),mt){if(p){if(g=!t&&C>P&&l+1>x&&x+1>=Eo(dt,ht),at)if(t||!o&&!g)Us(J,w);else{var F=ts(J,!0),I=x-u;Us(J,Li,F.top+(ht===Ti?I:0)+Zo,F.left+(ht===Ti?0:I)+Zo)}Ls(o||g?v:y),E&&C<1&&o||T(k+(1!==C||g?0:M))}}else T(ko(k+M*C));st&&!n.tween&&!qi&&!ho&&L.restart(!0),H&&(d||ot&&C&&(C<1||!ao))&&Ni(H.targets).forEach((function(t){return t.classList[o||ot?"add":"remove"](H.className)})),V&&!pt&&!t&&V(bt),p&&!qi?(pt&&(m&&("complete"===f?r.pause().totalProgress(1):"reset"===f?r.restart(!0).pause():"restart"===f?r.restart(!0):r[f]()),V&&V(bt)),!d&&ao||(K&&d&&Io(bt,K),vt[c]&&Io(bt,vt[c]),ot&&(1===C?bt.kill(!1,1):vt[c]=0),d||vt[c=1===C?1:3]&&Io(bt,vt[c])),ct&&!o&&Math.abs(bt.getVelocity())>(Ro(ct)?ct:2500)&&(Fo(bt.callbackAnimation),z?z.progress(1):Fo(r,"reverse"===f?1:!C,1))):pt&&V&&!qi&&V(bt)}if(S){var Y=lt?x/lt.duration()*(lt._caScrollDist||0):x;O(Y+(h._isFlipped?1:0)),S(Y)}N&&N(-x/lt.duration()*(lt._caScrollDist||0))}},bt.enable=function(e,r){bt.enabled||(bt.enabled=!0,os(dt,"resize",ys),os(_t?Fi:dt,"scroll",ms),Tt&&os(t,"refreshInit",Tt),!1!==e&&(bt.progress=Ot=0,s=a=At=Et()),!1!==r&&bt.refresh())},bt.getTween=function(t){return t&&n?n.tween:z},bt.setPositions=function(t,e,r,n){if(lt){var i=lt.scrollTrigger,o=lt.duration(),s=i.end-i.start;t=i.start+s*t/o,e=i.start+s*e/o}bt.refresh(!1,!1,{start:yo(t,r&&!!bt._startClamp),end:yo(e,r&&!!bt._endClamp)},n),bt.update()},bt.adjustPinSpacing=function(t){if(C&&t){var e=C.indexOf(ht.d)+1;C[e]=parseFloat(C[e])+t+Zo,C[1]=parseFloat(C[1])+t+Zo,Ls(C)}},bt.disable=function(e,r){if(bt.enabled&&(!1!==e&&bt.revert(!0,!0),bt.enabled=bt.isActive=!1,r||z&&z.pause(),B=0,i&&(i.uncache=1),Tt&&ss(t,"refreshInit",Tt),L&&(L.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!_t)){for(var o=ds.length;o--;)if(ds[o].scroller===dt&&ds[o]!==bt)return;ss(dt,"resize",ys),ss(dt,"scroll",ms)}},bt.kill=function(t,n){bt.disable(t,n),z&&!n&&z.kill(),G&&delete gs[G];var o=ds.indexOf(bt);o>=0&&ds.splice(o,1),o===Hi&&Ps>0&&Hi--,o=0,ds.forEach((function(t){return t.scroller===bt.scroller&&(o=1)})),o||lo||(bt.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),n||r.kill()),c&&[c,f,h,p].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),fo===bt&&(fo=0),J&&(i&&(i.uncache=1),o=0,ds.forEach((function(t){return t.pin===J&&o++})),o||(i.spacer=0)),e.onKill&&e.onKill(bt)},ds.push(bt),bt.enable(!1,!1),X&&X(bt),r&&r.add&&!_){var Rt=bt.update;bt.update=function(){bt.update=Rt,u||l||bt.refresh()},Di.delayedCall(.01,bt.update),_=.01,u=l=0}else bt.refresh();J&&function(){if(co!==Os){var t=co=Os;requestAnimationFrame((function(){return t===Os&&Es(!0)}))}}()}else this.update=this.refresh=this.kill=To},t.register=function(e){return Ri||(Di=e||Ao(),Mo()&&window.document&&t.enable(),Ri=mo),Ri},t.defaults=function(t){if(t)for(var e in t)ls[e]=t[e];return ls},t.disable=function(t,e){mo=0,ds.forEach((function(r){return r[e?"kill":"disable"](t)})),ss(zi,"wheel",ms),ss(Fi,"scroll",ms),clearInterval(ji),ss(Fi,"touchcancel",To),ss(Li,"touchstart",To),is(ss,Fi,"pointerdown,touchstart,mousedown",xo),is(ss,Fi,"pointerup,touchend,mouseup",bo),Yi.kill(),So(ss);for(var r=0;r0&&n.left+i0&&n.top+i=0&&ks.splice(e,5),ks.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Di.core.getCache(t),oo())}})):ks},Vs.revert=function(t,e){return As(!t,e)},Vs.create=function(t,e){return new Vs(t,e)},Vs.refresh=function(t){return t?ys():(Ri||Vs.register())&&Es(!0)},Vs.update=function(t){return++ci.cache&&Ds(!0===t?2:0)},Vs.clearScrollMemory=Cs,Vs.maxScroll=function(t,e){return Eo(t,e?bi:Ti)},Vs.getScrollFunc=function(t,e){return Mi(ki(t),e?bi:Ti)},Vs.getById=function(t){return gs[t]},Vs.getAll=function(){return ds.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},Vs.isScrolling=function(){return!!_o},Vs.snapDirectional=ns,Vs.addEventListener=function(t,e){var r=ws[t]||(ws[t]=[]);~r.indexOf(e)||r.push(e)},Vs.removeEventListener=function(t,e){var r=ws[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},Vs.batch=function(t,e){var r,n=[],i={},o=e.interval||.016,s=e.batchMax||1e9,a=function(t,e){var r=[],n=[],i=Di.delayedCall(o,(function(){e(r,n),r=[],n=[]})).pause();return function(t){r.length||i.restart(!0),r.push(t.trigger),n.push(t),s<=r.length&&i.progress(1)}};for(r in e)i[r]="on"===r.substr(0,2)&&Do(e[r])&&"onRefreshInit"!==r?a(0,e[r]):e[r];return Do(s)&&(s=s(),os(Vs,"refresh",(function(){return s=e.batchMax()}))),Ni(t).forEach((function(t){var e={};for(r in i)e[r]=i[r];e.trigger=t,n.push(Vs.create(e))})),n};var Hs,Gs=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},Ks=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(Pi.isTouch?" pinch-zoom":""):"none",e===Ii&&t(Li,r)},Qs={auto:1,scroll:1},Zs=function(t){var e,r=t.event,n=t.target,i=t.axis,o=(r.changedTouches?r.changedTouches[0]:r).target,s=o._gsap||Di.core.getCache(o),a=po();if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==Li&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!Qs[(e=$o(o)).overflowY]&&!Qs[e.overflowX]);)o=o.parentNode;s._isScroll=o&&o!==n&&!Co(o)&&(Qs[(e=$o(o)).overflowY]||Qs[e.overflowX]),s._isScrollT=a}(s._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},$s=function(t,e,r,n){return Pi.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&Zs,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&os(Fi,Pi.eventTypes[0],ta,!1,!0)},onDisable:function(){return ss(Fi,Pi.eventTypes[0],ta,!0)}})},Js=/(input|label|select|textarea)/i,ta=function(t){var e=Js.test(t.target.tagName);(e||Hs)&&(t._gsapAllow=!0,Hs=e)};Vs.sort=function(t){return ds.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},Vs.observe=function(t){return new Pi(t)},Vs.normalizeScroll=function(t){if(void 0===t)return to;if(!0===t&&to)return to.enable();if(!1===t)return to&&to.kill();var e=t instanceof Pi?t:function(t){zo(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,o,s,a,u,l=t,c=l.normalizeScrollX,f=l.momentum,h=l.allowNestedScroll,p=l.onRelease,d=ki(t.target)||Ii,g=Di.core.globals().ScrollSmoother,_=g&&g.get(),m=io&&(t.content&&ki(t.content)||_&&!1!==t.content&&!_.smooth()&&_.content()),v=Mi(d,Ti),y=Mi(d,bi),w=1,x=(Pi.isTouch&&zi.visualViewport?zi.visualViewport.scale*zi.visualViewport.width:zi.outerWidth)/zi.innerWidth,b=0,T=Do(f)?function(){return f(e)}:function(){return f||2.8},k=$s(d,t.type,!0,h),M=function(){return i=!1},A=To,C=To,O=function(){r=Eo(d,Ti),C=Xi(io?1:0,r),c&&(A=Xi(0,Eo(d,bi))),n=Os},E=function(){m._gsap.y=ko(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},S=function(){O(),o.isActive()&&o.vars.scrollY>r&&(v()>r?o.progress(1)&&v(r):o.resetTo("scrollY",r))};return m&&Di.set(m,{y:"+=0"}),t.ignoreCheck=function(t){return io&&"touchmove"===t.type&&function(){if(i){requestAnimationFrame(M);var t=ko(e.deltaY/2),r=C(v.v-t);if(m&&r!==v.v+v.offset){v.offset=r-v.v;var n=ko((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=ci.cache,Ds()}return!0}v.offset&&E(),i=!0}()||w>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){i=!1;var t=w;w=ko((zi.visualViewport&&zi.visualViewport.scale||1)/x),o.pause(),t!==w&&Ks(d,w>1.01||!c&&"x"),s=y(),a=v(),O(),n=Os},t.onRelease=t.onGestureStart=function(t,e){if(v.offset&&E(),e){ci.cache++;var n,i,s=T();c&&(i=(n=y())+.05*s*-t.velocityX/.227,s*=Gs(y,n,i,Eo(d,bi)),o.vars.scrollX=A(i)),i=(n=v())+.05*s*-t.velocityY/.227,s*=Gs(v,n,i,Eo(d,Ti)),o.vars.scrollY=C(i),o.invalidate().duration(s).play(.01),(io&&o.vars.scrollY>=r||n>=r-1)&&Di.to({},{onUpdate:S,duration:s})}else u.restart(!0);p&&p(t)},t.onWheel=function(){o._ts&&o.pause(),po()-b>1e3&&(n=0,b=po())},t.onChange=function(t,e,r,i,o){if(Os!==n&&O(),e&&c&&y(A(i[2]===e?s+(t.startX-t.x):y()+e-i[1])),r){v.offset&&E();var u=o[2]===r,l=u?a+t.startY-t.y:v()+r-o[1],f=C(l);u&&l!==f&&(a+=f-l),v(f)}(r||e)&&Ds()},t.onEnable=function(){Ks(d,!c&&"x"),Vs.addEventListener("refresh",S),os(zi,"resize",S),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),k.enable()},t.onDisable=function(){Ks(d,!0),ss(zi,"resize",S),Vs.removeEventListener("refresh",S),k.kill()},t.lockAxis=!1!==t.lockAxis,(e=new Pi(t)).iOS=io,io&&!v()&&v(1),io&&Di.ticker.add(To),u=e._dc,o=Di.to(e,{ease:"power4",paused:!0,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:js(v,v(),(function(){return o.pause()}))},onUpdate:Ds,onComplete:u.vars.onComplete}),e}(t);return to&&to.target===e.target&&to.kill(),Co(e.target)&&(to=e),e},Vs.core={_getVelocityProp:Ai,_inputObserver:$s,_scrollers:ci,_proxies:fi,bridge:{ss:function(){_o||Ts("scrollStart"),_o=po()},ref:function(){return qi}}},Ao()&&Di.registerPlugin(Vs);var ea=r(65),ra=r.n(ea),na="localhost"!==window.location.hostname;ra().setLevel(na?"warn":"debug");const ia=function(){for(var t=arguments.length,e=new Array(t),r=0;r li",{autoAlpha:0,y:20},{autoAlpha:1,duration:.2,y:0,ease:"power2.out",stagger:.1},"-=0.1"),t.fromTo("#langid",{autoAlpha:0,y:20},{autoAlpha:1,duration:.2,y:0,ease:"power2.out"},"-=0.1"),t.fromTo("#open-mobile-nav",{autoAlpha:0,y:20},{duration:.2,ease:"power2.out",y:0,autoAlpha:1},"-=0.1"),ia("After navigation animation")}else ia("hasAnimated is true. Exit function.");var e,r}(),0).add((t="#main-heading",e=Vn.timeline(),e.fromTo(t,{autoAlpha:0},{autoAlpha:1,duration:1,ease:"power2.out"}),void e.fromTo(t,{y:50},{duration:1,y:0,ease:"power2.out"},"-=1")),0).add(function(t){ia("Before expand image reveal animation"),Vn.fromTo(t,{autoAlpha:0,scale:.8},{autoAlpha:1,scale:1,duration:1,ease:"power2.out"}),ia("After expand image reveal animation")}(".projects-grid__img7"),0).add(aa(".projects-grid__wrapper7"),0),sa(".projects-grid__img2"),ua(".projects-grid__wrapper2"),sa(".projects-grid__img3"),ua(".projects-grid__wrapper3"),sa(".projects-grid__img1"),ua(".projects-grid__wrapper1"),sa(".projects-grid__img4"),ua(".projects-grid__wrapper4"),sa(".projects-grid__img5"),ua(".projects-grid__wrapper5"),sa(".projects-grid__img6"),ua(".projects-grid__wrapper6"),aa("#projects-footer")}))})()})(); \ No newline at end of file diff --git a/client/dist/setup.bundle.js b/client/dist/setup.bundle.js new file mode 100644 index 0000000..89596ca --- /dev/null +++ b/client/dist/setup.bundle.js @@ -0,0 +1 @@ +(()=>{var e={65:function(e,o,t){var n,r;!function(){"use strict";n=function(){var e=function(){},o="undefined",t=typeof window!==o&&typeof window.navigator!==o&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"],r={},l=null;function i(e,o){var t=e[o];if("function"==typeof t.bind)return t.bind(e);try{return Function.prototype.bind.call(t,e)}catch(o){return function(){return Function.prototype.apply.apply(t,[e,arguments])}}}function c(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(){for(var t=this.getLevel(),r=0;r=0&&o<=d.levels.SILENT)return o;throw new TypeError("log.setLevel() called with invalid level: "+e)}"string"==typeof e?f+=":"+e:"symbol"==typeof e&&(f=void 0),d.name=e,d.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},d.methodFactory=t||s,d.getLevel=function(){return null!=u?u:null!=c?c:i},d.setLevel=function(e,t){return u=v(e),!1!==t&&function(e){var t=(n[e]||"silent").toUpperCase();if(typeof window!==o&&f){try{return void(window.localStorage[f]=t)}catch(e){}try{window.document.cookie=encodeURIComponent(f)+"="+t+";"}catch(e){}}}(u),a.call(d)},d.setDefaultLevel=function(e){c=v(e),p()||d.setLevel(e,!1)},d.resetLevel=function(){u=null,function(){if(typeof window!==o&&f){try{window.localStorage.removeItem(f)}catch(e){}try{window.document.cookie=encodeURIComponent(f)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}(),a.call(d)},d.enableAll=function(e){d.setLevel(d.levels.TRACE,e)},d.disableAll=function(e){d.setLevel(d.levels.SILENT,e)},d.rebuild=function(){if(l!==d&&(i=v(l.getLevel())),a.call(d),l===d)for(var e in r)r[e].rebuild()},i=v(l?l.getLevel():"WARN");var y=p();null!=y&&(u=v(y)),a.call(d)}(l=new d).getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var o=r[e];return o||(o=r[e]=new d(e,l.methodFactory)),o};var f=typeof window!==o?window.log:void 0;return l.noConflict=function(){return typeof window!==o&&window.log===l&&(window.log=f),l},l.getLoggers=function(){return r},l.default=l,l},void 0===(r=n.call(o,t,o,e))||(e.exports=r)}()}},o={};function t(n){var r=o[n];if(void 0!==r)return r.exports;var l=o[n]={exports:{}};return e[n].call(l.exports,l,l.exports,t),l.exports}t.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return t.d(o,{a:o}),o},t.d=(e,o)=>{for(var n in o)t.o(o,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:o[n]})},t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{"use strict";var e=t(65),o=t.n(e),n="localhost"!==window.location.hostname;o().setLevel(n?"warn":"debug");const r=function(){for(var e=arguments.length,t=new Array(e),n=0;n{var e={65:function(e,o,t){var n,r;!function(){"use strict";n=function(){var e=function(){},o="undefined",t=typeof window!==o&&typeof window.navigator!==o&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"],r={},l=null;function i(e,o){var t=e[o];if("function"==typeof t.bind)return t.bind(e);try{return Function.prototype.bind.call(t,e)}catch(o){return function(){return Function.prototype.apply.apply(t,[e,arguments])}}}function c(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(){for(var t=this.getLevel(),r=0;r=0&&o<=d.levels.SILENT)return o;throw new TypeError("log.setLevel() called with invalid level: "+e)}"string"==typeof e?f+=":"+e:"symbol"==typeof e&&(f=void 0),d.name=e,d.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},d.methodFactory=t||u,d.getLevel=function(){return null!=s?s:null!=c?c:i},d.setLevel=function(e,t){return s=v(e),!1!==t&&function(e){var t=(n[e]||"silent").toUpperCase();if(typeof window!==o&&f){try{return void(window.localStorage[f]=t)}catch(e){}try{window.document.cookie=encodeURIComponent(f)+"="+t+";"}catch(e){}}}(s),a.call(d)},d.setDefaultLevel=function(e){c=v(e),p()||d.setLevel(e,!1)},d.resetLevel=function(){s=null,function(){if(typeof window!==o&&f){try{window.localStorage.removeItem(f)}catch(e){}try{window.document.cookie=encodeURIComponent(f)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}(),a.call(d)},d.enableAll=function(e){d.setLevel(d.levels.TRACE,e)},d.disableAll=function(e){d.setLevel(d.levels.SILENT,e)},d.rebuild=function(){if(l!==d&&(i=v(l.getLevel())),a.call(d),l===d)for(var e in r)r[e].rebuild()},i=v(l?l.getLevel():"WARN");var y=p();null!=y&&(s=v(y)),a.call(d)}(l=new d).getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var o=r[e];return o||(o=r[e]=new d(e,l.methodFactory)),o};var f=typeof window!==o?window.log:void 0;return l.noConflict=function(){return typeof window!==o&&window.log===l&&(window.log=f),l},l.getLoggers=function(){return r},l.default=l,l},void 0===(r=n.call(o,t,o,e))||(e.exports=r)}()}},o={};function t(n){var r=o[n];if(void 0!==r)return r.exports;var l=o[n]={exports:{}};return e[n].call(l.exports,l,l.exports,t),l.exports}t.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return t.d(o,{a:o}),o},t.d=(e,o)=>{for(var n in o)t.o(o,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:o[n]})},t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{"use strict";var e=t(65),o=t.n(e),n="localhost"!==window.location.hostname;o().setLevel(n?"warn":"debug");const r=function(){for(var e=arguments.length,t=new Array(e),n=0;n { expandImageRevealAnimationScroll(".projects-grid__img2"); revealAnimationScroll(".projects-grid__wrapper2"); - expandImageRevealAnimationScroll(".projects-grid__img3"); + expandImageRevealAnimationScroll(".projects-grid__img3"); revealAnimationScroll(".projects-grid__wrapper3"); expandImageRevealAnimationScroll(".projects-grid__img1"); revealAnimationScroll(".projects-grid__wrapper1"); diff --git a/server/views/pages/homepage.ejs b/server/views/pages/homepage.ejs index bfc7459..d7d5ffe 100644 --- a/server/views/pages/homepage.ejs +++ b/server/views/pages/homepage.ejs @@ -22,7 +22,7 @@ -
+