@fynd-design-engineering/fynd-one-v2 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,10 +1,6 @@
1
- # CDN-Starter 🚀
1
+ # Fynd one CDN
2
2
 
3
- A modern, production-ready starter template for building custom JavaScript/TypeScript code for Webflow projects. Streamline your development workflow with TypeScript, automated builds, live reloading, and comprehensive testing.
4
-
5
- [![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC)
6
- [![Node.js](https://img.shields.io/badge/Node.js-18%2B-green.svg)](https://nodejs.org/)
7
- [![PNPM](https://img.shields.io/badge/PNPM-10%2B-orange.svg)](https://pnpm.io/)
3
+ All custom code used in fynd one project
8
4
 
9
5
  ## ✨ Features
10
6
 
@@ -0,0 +1,23 @@
1
+ "use strict";(()=>{function vt(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function Bi(o,t){o.prototype=Object.create(t.prototype),o.prototype.constructor=o,o.__proto__=t}var it={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Wt={duration:.5,overwrite:!1,delay:0},ii,W,R,lt=1e8,C=1/lt,Xe=Math.PI*2,qr=Xe/4,Yr=0,Vi=Math.sqrt,Xr=Math.cos,Wr=Math.sin,H=function(t){return typeof t=="string"},F=function(t){return typeof t=="function"},xt=function(t){return typeof t=="number"},Pe=function(t){return typeof t>"u"},mt=function(t){return typeof t=="object"},et=function(t){return t!==!1},ri=function(){return typeof window<"u"},ve=function(t){return F(t)||H(t)},Hi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Q=Array.isArray,We=/(?:-?\.?\d|\.)+/gi,ni=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Nt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ie=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,si=/[+-]=-?[.\d]+/,Ui=/[^,'"\[\]\s]+/gi,Gr=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,L,dt,Ge,ai,at={},we={},qi,Yi=function(t){return(we=Gt(t,at))&&$},Ce=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},le=function(t,e){return!e&&console.warn(t)},Xi=function(t,e){return t&&(at[t]=e)&&we&&(we[t]=e)||at},fe=function(){return 0},Qr={suppressEvents:!0,isStart:!0,kill:!1},Te={suppressEvents:!0,kill:!1},$r={suppressEvents:!0},oi={},St=[],Qe={},Wi,J={},Be={},Ai=30,xe=[],ui="",li=function(t){var e=t[0],i,r;if(mt(e)||F(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(r=xe.length;r--&&!xe[r].targetTest(e););i=xe[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new ci(t[r],i)))||t.splice(r,1);return t},Mt=function(t){return t._gsap||li(ft(t))[0]._gsap},fi=function(t,e,i){return(i=t[e])&&F(i)?t[e]():Pe(i)&&t.getAttribute&&t.getAttribute(e)||i},K=function(t,e){return(t=t.split(",")).forEach(e)||t},N=function(t){return Math.round(t*1e5)/1e5||0},V=function(t){return Math.round(t*1e7)/1e7||0},It=function(t,e){var i=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),i==="+"?t+r:i==="-"?t-r:i==="*"?t*r:t/r},Kr=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++r<i;);return r<i},ke=function(){var t=St.length,e=St.slice(0),i,r;for(Qe={},St.length=0,i=0;i<t;i++)r=e[i],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},hi=function(t){return!!(t._initted||t._startAt||t.add)},Gi=function(t,e,i,r){St.length&&!W&&ke(),t.render(e,i,r||!!(W&&e<0&&hi(t))),St.length&&!W&&ke()},Qi=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(Ui).length<2?e:H(t)?t.trim():t},$i=function(t){return t},ot=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},Zr=function(t){return function(e,i){for(var r in i)r in e||r==="duration"&&t||r==="ease"||(e[r]=i[r])}},Gt=function(t,e){for(var i in e)t[i]=e[i];return t},Ri=function o(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=mt(e[i])?o(t[i]||(t[i]={}),e[i]):e[i]);return t},Se=function(t,e){var i={},r;for(r in t)r in e||(i[r]=t[r]);return i},ae=function(t){var e=t.parent||L,i=t.keyframes?Zr(Q(t.keyframes)):ot;if(et(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},jr=function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0},Ki=function(t,e,i,r,n){i===void 0&&(i="_first"),r===void 0&&(r="_last");var s=t[r],a;if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t,e},Ee=function(t,e,i,r){i===void 0&&(i="_first"),r===void 0&&(r="_last");var n=e._prev,s=e._next;n?n._next=s:t[i]===e&&(t[i]=s),s?s._prev=n:t[r]===e&&(t[r]=n),e._next=e._prev=e.parent=null},Ot=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 i=t;i;)i._dirty=1,i=i.parent;return t},Jr=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},$e=function(t,e,i,r){return t._startAt&&(W?t._startAt.revert(Te):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},tn=function o(t){return!t||t._ts&&o(t.parent)},Li=function(t){return t._repeat?Qt(t._tTime,t=t.duration()+t._rDelay)*t:0},Qt=function(t,e){var i=Math.floor(t=V(t/e));return t&&i===t?i-1:i},Me=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},De=function(t){return t._end=V(t._start+(t._tDur/Math.abs(t._ts||t._rts||C)||0))},Ae=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=V(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),De(t),i._dirty||Lt(i,t)),t},Zi=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=Me(t.rawTime(),e),(!e._dur||ce(0,e.totalDuration(),i)-e._tTime>C)&&e.render(i,!0)),Lt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-C}},pt=function(t,e,i,r){return e.parent&&Ot(e),e._start=V((xt(i)?i:i||t!==L?ut(t,i,e):t._time)+e._delay),e._end=V(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ki(t,e,"_first","_last",t._sort?"_start":0),Ke(e)||(t._recent=e),r||Zi(t,e),t._ts<0&&Ae(t,t._tTime),t},ji=function(t,e){return(at.ScrollTrigger||Ce("scrollTrigger",e))&&at.ScrollTrigger.create(e,t)},Ji=function(t,e,i,r,n){if(mi(t,e,n),!t._initted)return 1;if(!i&&t._pt&&!W&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&Wi!==tt.frame)return St.push(t),t._lazy=[n,r],1},en=function o(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||o(e))},Ke=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},rn=function(t,e,i,r){var n=t.ratio,s=e<0||!e&&(!t._start&&en(t)&&!(!t._initted&&Ke(t))||(t._ts<0||t._dp._ts<0)&&!Ke(t))?0:1,a=t._rDelay,u=0,l,f,_;if(a&&t._repeat&&(u=ce(0,t._tDur,e),f=Qt(u,a),t._yoyo&&f&1&&(s=1-s),f!==Qt(t._tTime,a)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||W||r||t._zTime===C||!e&&t._zTime){if(!t._initted&&Ji(t,e,r,i,u))return;for(_=t._zTime,t._zTime=e||(i?C:0),i||(i=e&&!_),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=u,l=t._pt;l;)l.r(s,l.d),l=l._next;e<0&&$e(t,e,i,!0),t._onUpdate&&!i&&st(t,"onUpdate"),u&&t._repeat&&!i&&t.parent&&st(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&Ot(t,1),!i&&!W&&(st(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},nn=function(t,e,i){var r;if(i>e)for(r=t._first;r&&r._start<=i;){if(r.data==="isPause"&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=i;){if(r.data==="isPause"&&r._start<e)return r;r=r._prev}},$t=function(t,e,i,r){var n=t._repeat,s=V(e)||0,a=t._tTime/t._tDur;return a&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:V(s*(n+1)+t._rDelay*n):s,a>0&&!r&&Ae(t,t._tTime=t._tDur*a),t.parent&&De(t),i||Lt(t.parent,t),t},zi=function(t){return t instanceof X?Lt(t):$t(t,t._dur)},sn={_start:0,endTime:fe,totalDuration:fe},ut=function o(t,e,i){var r=t.labels,n=t._recent||sn,s=t.duration()>=lt?n.endTime(!1):t._dur,a,u,l;return H(e)&&(isNaN(e)||e in r)?(u=e.charAt(0),l=e.substr(-1)==="%",a=e.indexOf("="),u==="<"||u===">"?(a>=0&&(e=e.replace(/=/,"")),(u==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(l?(a<0?n:i).totalDuration()/100:1)):a<0?(e in r||(r[e]=s),r[e]):(u=parseFloat(e.charAt(a-1)+e.substr(a+1)),l&&i&&(u=u/100*(Q(i)?i[0]:i).totalDuration()),a>1?o(t,e.substr(0,a-1),i)+u:s+u)):e==null?s:+e},oe=function(t,e,i){var r=xt(e[1]),n=(r?2:1)+(t<2?0:1),s=e[n],a,u;if(r&&(s.duration=e[1]),s.parent=i,t){for(a=s,u=i;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=et(u.vars.inherit)&&u.parent;s.immediateRender=et(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new I(e[0],s,e[n+1])},Pt=function(t,e){return t||t===0?e(t):e},ce=function(t,e,i){return i<t?t:i>e?e:i},G=function(t,e){return!H(t)||!(e=Gr.exec(t))?"":e[1]},an=function(t,e,i){return Pt(i,function(r){return ce(t,e,r)})},Ze=[].slice,tr=function(t,e){return t&&mt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&mt(t[0]))&&!t.nodeType&&t!==dt},on=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(r){var n;return H(r)&&!e||tr(r,1)?(n=i).push.apply(n,ft(r)):i.push(r)})||i},ft=function(t,e,i){return R&&!e&&R.selector?R.selector(t):H(t)&&!i&&(Ge||!Kt())?Ze.call((e||ai).querySelectorAll(t),0):Q(t)?on(t,i):tr(t)?Ze.call(t,0):t?[t]:[]},je=function(t){return t=ft(t)[0]||le("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return ft(e,i.querySelectorAll?i:i===t?le("Invalid scope")||ai.createElement("div"):t)}},er=function(t){return t.sort(function(){return .5-Math.random()})},ir=function(t){if(F(t))return t;var e=mt(t)?t:{each:t},i=zt(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},a=r>0&&r<1,u=isNaN(r)||a,l=e.axis,f=r,_=r;return H(r)?f=_={center:.5,edges:.5,end:1}[r]||0:!a&&u&&(f=r[0],_=r[1]),function(c,d,p){var h=(p||e).length,m=s[h],y,v,T,x,g,w,k,S,b;if(!m){if(b=e.grid==="auto"?0:(e.grid||[1,lt])[1],!b){for(k=-lt;k<(k=p[b++].getBoundingClientRect().left)&&b<h;);b<h&&b--}for(m=s[h]=[],y=u?Math.min(b,h)*f-.5:r%b,v=b===lt?0:u?h*_/b-.5:r/b|0,k=0,S=lt,w=0;w<h;w++)T=w%b-y,x=v-(w/b|0),m[w]=g=l?Math.abs(l==="y"?x:T):Vi(T*T+x*x),g>k&&(k=g),g<S&&(S=g);r==="random"&&er(m),m.max=k-S,m.min=S,m.v=h=(parseFloat(e.amount)||parseFloat(e.each)*(b>h?h-1:l?l==="y"?h/b:b:Math.max(b,h/b))||0)*(r==="edges"?-1:1),m.b=h<0?n-h:n,m.u=G(e.amount||e.each)||0,i=i&&h<0?hr(i):i}return h=(m[c]-m.min)/m.max||0,V(m.b+(i?i(h):h)*m.v)+m.u}},Je=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=V(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(xt(i)?0:G(i))}},rr=function(t,e){var i=Q(t),r,n;return!i&&mt(t)&&(r=i=t.radius||lt,t.values?(t=ft(t.values),(n=!xt(t[0]))&&(r*=r)):t=Je(t.increment)),Pt(e,i?F(t)?function(s){return n=t(s),Math.abs(n-s)<=r?n:s}:function(s){for(var a=parseFloat(n?s.x:s),u=parseFloat(n?s.y:0),l=lt,f=0,_=t.length,c,d;_--;)n?(c=t[_].x-a,d=t[_].y-u,c=c*c+d*d):c=Math.abs(t[_]-a),c<l&&(l=c,f=_);return f=!r||l<=r?t[f]:s,n||f===s||xt(s)?f:f+G(s)}:Je(t))},nr=function(t,e,i,r){return Pt(Q(t)?!e:i===!0?!!(i=0):!r,function(){return Q(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(r=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+i*.99))/i)*i*r)/r})},un=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(r){return e.reduce(function(n,s){return s(n)},r)}},ln=function(t,e){return function(i){return t(parseFloat(i))+(e||G(i))}},fn=function(t,e,i){return ar(t,e,0,1,i)},sr=function(t,e,i){return Pt(i,function(r){return t[~~e(r)]})},hn=function o(t,e,i){var r=e-t;return Q(t)?sr(t,o(0,t.length),e):Pt(i,function(n){return(r+(n-t)%r)%r+t})},_n=function o(t,e,i){var r=e-t,n=r*2;return Q(t)?sr(t,o(0,t.length-1),e):Pt(i,function(s){return s=(n+(s-t)%n)%n||0,t+(s>r?n-s:s)})},Zt=function(t){for(var e=0,i="",r,n,s,a;~(r=t.indexOf("random(",e));)s=t.indexOf(")",r),a=t.charAt(r+7)==="[",n=t.substr(r+7,s-r-7).match(a?Ui:We),i+=t.substr(e,r-e)+nr(a?n:+n[0],a?0:+n[1],+n[2]||1e-5),e=s+1;return i+t.substr(e,t.length-e)},ar=function(t,e,i,r,n){var s=e-t,a=r-i;return Pt(n,function(u){return i+((u-t)/s*a||0)})},cn=function o(t,e,i,r){var n=isNaN(t+e)?0:function(d){return(1-d)*t+d*e};if(!n){var s=H(t),a={},u,l,f,_,c;if(i===!0&&(r=1)&&(i=null),s)t={p:t},e={p:e};else if(Q(t)&&!Q(e)){for(f=[],_=t.length,c=_-2,l=1;l<_;l++)f.push(o(t[l-1],t[l]));_--,n=function(p){p*=_;var h=Math.min(c,~~p);return f[h](p-h)},i=e}else r||(t=Gt(Q(t)?[]:{},t));if(!f){for(u in e)di.call(a,t,u,"get",e[u]);n=function(p){return vi(p,a)||(s?t.p:t)}}}return Pt(i,n)},Fi=function(t,e,i){var r=t.labels,n=lt,s,a,u;for(s in r)a=r[s]-e,a<0==!!i&&a&&n>(a=Math.abs(a))&&(u=s,n=a);return u},st=function(t,e,i){var r=t.vars,n=r[e],s=R,a=t._ctx,u,l,f;if(n)return u=r[e+"Params"],l=r.callbackScope||t,i&&St.length&&ke(),a&&(R=a),f=u?n.apply(l,u):n.call(l),R=s,f},ne=function(t){return Ot(t),t.scrollTrigger&&t.scrollTrigger.kill(!!W),t.progress()<1&&st(t,"onInterrupt"),t},Xt,or=[],ur=function(t){if(t)if(t=!t.name&&t.default||t,ri()||t.headless){var e=t.name,i=F(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:fe,render:vi,add:di,kill:Cn,modifier:Pn,rawVars:0},s={targetTest:0,get:0,getSetter:Re,aliases:{},register:0};if(Kt(),t!==r){if(J[e])return;ot(r,ot(Se(t,n),s)),Gt(r.prototype,Gt(n,Se(t,s))),J[r.prop=e]=r,t.targetTest&&(xe.push(r),oi[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Xi(e,r),t.register&&t.register($,r,Z)}else or.push(t)},P=255,se={aqua:[0,P,P],lime:[0,P,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,P],navy:[0,0,128],white:[P,P,P],olive:[128,128,0],yellow:[P,P,0],orange:[P,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[P,0,0],pink:[P,192,203],cyan:[0,P,P],transparent:[P,P,P,0]},Ve=function(t,e,i){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(i-e)*t*6:t<.5?i:t*3<2?e+(i-e)*(2/3-t)*6:e)*P+.5|0},lr=function(t,e,i){var r=t?xt(t)?[t>>16,t>>8&P,t&P]:0:se.black,n,s,a,u,l,f,_,c,d,p;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),se[t])r=se[t];else if(t.charAt(0)==="#"){if(t.length<6&&(n=t.charAt(1),s=t.charAt(2),a=t.charAt(3),t="#"+n+n+s+s+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return r=parseInt(t.substr(1,6),16),[r>>16,r>>8&P,r&P,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&P,t&P]}else if(t.substr(0,3)==="hsl"){if(r=p=t.match(We),!e)u=+r[0]%360/360,l=+r[1]/100,f=+r[2]/100,s=f<=.5?f*(l+1):f+l-f*l,n=f*2-s,r.length>3&&(r[3]*=1),r[0]=Ve(u+1/3,n,s),r[1]=Ve(u,n,s),r[2]=Ve(u-1/3,n,s);else if(~t.indexOf("="))return r=t.match(ni),i&&r.length<4&&(r[3]=1),r}else r=t.match(We)||se.transparent;r=r.map(Number)}return e&&!p&&(n=r[0]/P,s=r[1]/P,a=r[2]/P,_=Math.max(n,s,a),c=Math.min(n,s,a),f=(_+c)/2,_===c?u=l=0:(d=_-c,l=f>.5?d/(2-_-c):d/(_+c),u=_===n?(s-a)/d+(s<a?6:0):_===s?(a-n)/d+2:(n-s)/d+4,u*=60),r[0]=~~(u+.5),r[1]=~~(l*100+.5),r[2]=~~(f*100+.5)),i&&r.length<4&&(r[3]=1),r},fr=function(t){var e=[],i=[],r=-1;return t.split(Tt).forEach(function(n){var s=n.match(Nt)||[];e.push.apply(e,s),i.push(r+=s.length+1)}),e.c=i,e},Ni=function(t,e,i){var r="",n=(t+r).match(Tt),s=e?"hsla(":"rgba(",a=0,u,l,f,_;if(!n)return t;if(n=n.map(function(c){return(c=lr(c,e,1))&&s+(e?c[0]+","+c[1]+"%,"+c[2]+"%,"+c[3]:c.join(","))+")"}),i&&(f=fr(t),u=i.c,u.join(r)!==f.c.join(r)))for(l=t.replace(Tt,"1").split(Nt),_=l.length-1;a<_;a++)r+=l[a]+(~u.indexOf(a)?n.shift()||s+"0,0,0,0)":(f.length?f:n.length?n:i).shift());if(!l)for(l=t.split(Tt),_=l.length-1;a<_;a++)r+=l[a]+n[a];return r+l[_]},Tt=function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in se)o+="|"+t+"\\b";return new RegExp(o+")","gi")}(),dn=/hsl[a]?\(/,_i=function(t){var e=t.join(" "),i;if(Tt.lastIndex=0,Tt.test(e))return i=dn.test(e),t[1]=Ni(t[1],i),t[0]=Ni(t[0],i,fr(t[1])),!0},he,tt=function(){var o=Date.now,t=500,e=33,i=o(),r=i,n=1e3/240,s=n,a=[],u,l,f,_,c,d,p=function h(m){var y=o()-r,v=m===!0,T,x,g,w;if((y>t||y<0)&&(i+=y-e),r+=y,g=r-i,T=g-s,(T>0||v)&&(w=++_.frame,c=g-_.time*1e3,_.time=g=g/1e3,s+=T+(T>=n?4:n-T),x=1),v||(u=l(h)),x)for(d=0;d<a.length;d++)a[d](g,c,w,m)};return _={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(m){return c/(1e3/(m||60))},wake:function(){qi&&(!Ge&&ri()&&(dt=Ge=window,ai=dt.document||{},at.gsap=$,(dt.gsapVersions||(dt.gsapVersions=[])).push($.version),Yi(we||dt.GreenSockGlobals||!dt.gsap&&dt||{}),or.forEach(ur)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,u&&_.sleep(),l=f||function(m){return setTimeout(m,s-_.time*1e3+1|0)},he=1,p(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(u),he=0,l=fe},lagSmoothing:function(m,y){t=m||1/0,e=Math.min(y||33,t)},fps:function(m){n=1e3/(m||240),s=_.time*1e3+n},add:function(m,y,v){var T=y?function(x,g,w,k){m(x,g,w,k),_.remove(T)}:m;return _.remove(m),a[v?"unshift":"push"](T),Kt(),T},remove:function(m,y){~(y=a.indexOf(m))&&a.splice(y,1)&&d>=y&&d--},_listeners:a},_}(),Kt=function(){return!he&&tt.wake()},M={},pn=/^[\d.\-M][\d.\-,\s]/,mn=/["']/g,gn=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),r=i[0],n=1,s=i.length,a,u,l;n<s;n++)u=i[n],a=n!==s-1?u.lastIndexOf(","):u.length,l=u.substr(0,a),e[r]=isNaN(l)?l.replace(mn,"").trim():+l,r=u.substr(a+1).trim();return e},yn=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<i?t.indexOf(")",i+1):i)},vn=function(t){var e=(t+"").split("("),i=M[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[gn(e[1])]:yn(t).split(",").map(Qi)):M._CE&&pn.test(t)?M._CE("",t):i},hr=function(t){return function(e){return 1-t(1-e)}},_r=function o(t,e){for(var i=t._first,r;i;)i instanceof X?o(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?o(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next},zt=function(t,e){return t&&(F(t)?t:M[t]||vn(t))||e},Bt=function(t,e,i,r){i===void 0&&(i=function(u){return 1-e(1-u)}),r===void 0&&(r=function(u){return u<.5?e(u*2)/2:1-e((1-u)*2)/2});var n={easeIn:e,easeOut:i,easeInOut:r},s;return K(t,function(a){M[a]=at[a]=n,M[s=a.toLowerCase()]=i;for(var u in n)M[s+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=M[a+"."+u]=n[u]}),n},cr=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},He=function o(t,e,i){var r=e>=1?e:1,n=(i||(t?.3:.45))/(e<1?e:1),s=n/Xe*(Math.asin(1/r)||0),a=function(f){return f===1?1:r*Math.pow(2,-10*f)*Wr((f-s)*n)+1},u=t==="out"?a:t==="in"?function(l){return 1-a(1-l)}:cr(a);return n=Xe/n,u.config=function(l,f){return o(t,l,f)},u},Ue=function o(t,e){e===void 0&&(e=1.70158);var i=function(s){return s?--s*s*((e+1)*s+e)+1:0},r=t==="out"?i:t==="in"?function(n){return 1-i(1-n)}:cr(i);return r.config=function(n){return o(t,n)},r};K("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,t){var e=t<5?t+1:t;Bt(o+",Power"+(e-1),t?function(i){return Math.pow(i,e)}:function(i){return i},function(i){return 1-Math.pow(1-i,e)},function(i){return i<.5?Math.pow(i*2,e)/2:1-Math.pow((1-i)*2,e)/2})});M.Linear.easeNone=M.none=M.Linear.easeIn;Bt("Elastic",He("in"),He("out"),He());(function(o,t){var e=1/t,i=2*e,r=2.5*e,n=function(a){return a<e?o*a*a:a<i?o*Math.pow(a-1.5/t,2)+.75:a<r?o*(a-=2.25/t)*a+.9375:o*Math.pow(a-2.625/t,2)+.984375};Bt("Bounce",function(s){return 1-n(1-s)},n)})(7.5625,2.75);Bt("Expo",function(o){return Math.pow(2,10*(o-1))*o+o*o*o*o*o*o*(1-o)});Bt("Circ",function(o){return-(Vi(1-o*o)-1)});Bt("Sine",function(o){return o===1?1:-Xr(o*qr)+1});Bt("Back",Ue("in"),Ue("out"),Ue());M.SteppedEase=M.steps=at.SteppedEase={config:function(t,e){t===void 0&&(t=1);var i=1/t,r=t+(e?0:1),n=e?1:0,s=1-C;return function(a){return((r*ce(0,s,a)|0)+n)*i}}};Wt.ease=M["quad.out"];K("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return ui+=o+","+o+"Params,"});var ci=function(t,e){this.id=Yr++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:fi,this.set=e?e.getSetter:Re},_e=function(){function o(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,$t(this,+e.duration,1,1),this.data=e.data,R&&(this._ctx=R,R.data.push(this)),he||tt.wake()}var t=o.prototype;return t.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},t.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,$t(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,r){if(Kt(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Ae(this,i),!n._dp||n.parent||Zi(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&pt(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===C||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Gi(this,i,r)),this},t.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+Li(this))%(this._dur+this._rDelay)||(i?this._dur:0),r):this._time},t.totalProgress=function(i,r){return arguments.length?this.totalTime(this.totalDuration()*i,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(i,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+Li(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(i,r){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*n,r):this._repeat?Qt(this._tTime,n)+1:1},t.timeScale=function(i,r){if(!arguments.length)return this._rts===-C?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?Me(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-C?0:this._rts,this.totalTime(ce(-Math.abs(this._delay),this.totalDuration(),n),r!==!1),De(this),Jr(this)},t.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Kt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==C&&(this._tTime-=C)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=i;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&pt(r,this,i-this._delay),this}return this._start},t.endTime=function(i){return this._start+(et(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(i){var r=this.parent||this._dp;return r?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Me(r.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=$r);var r=W;return W=i,hi(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),W=r,this},t.globalTime=function(i){for(var r=this,n=arguments.length?i:r.rawTime();r;)n=r._start+n/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(i):n},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,zi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,zi(this),r?this.time(r):this}return this._rDelay},t.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},t.seek=function(i,r){return this.totalTime(ut(this,i),et(r))},t.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,et(r)),this._dur||(this._zTime=-C),this},t.play=function(i,r){return i!=null&&this.seek(i,r),this.reversed(!1).paused(!1)},t.reverse=function(i,r){return i!=null&&this.seek(i||this.totalDuration(),r),this.reversed(!0).paused(!1)},t.pause=function(i,r){return i!=null&&this.seek(i,r),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-C:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-C,this},t.isActive=function(){var i=this.parent||this._dp,r=this._start,n;return!!(!i||this._ts&&this._initted&&i.isActive()&&(n=i.rawTime(!0))>=r&&n<this.endTime(!0)-C)},t.eventCallback=function(i,r,n){var s=this.vars;return arguments.length>1?(r?(s[i]=r,n&&(s[i+"Params"]=n),i==="onUpdate"&&(this._onUpdate=r)):delete s[i],this):s[i]},t.then=function(i){var r=this;return new Promise(function(n){var s=F(i)?i:$i,a=function(){var l=r.then;r.then=null,F(s)&&(s=s(r))&&(s.then||s===r)&&(r.then=l),n(s),r.then=l};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?a():r._prom=a})},t.kill=function(){ne(this)},o}();ot(_e.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:-C,_prom:0,_ps:!1,_rts:1});var X=function(o){Bi(t,o);function t(i,r){var n;return i===void 0&&(i={}),n=o.call(this,i)||this,n.labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=et(i.sortChildren),L&&pt(i.parent||L,vt(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&ji(vt(n),i.scrollTrigger),n}var e=t.prototype;return e.to=function(r,n,s){return oe(0,arguments,this),this},e.from=function(r,n,s){return oe(1,arguments,this),this},e.fromTo=function(r,n,s,a){return oe(2,arguments,this),this},e.set=function(r,n,s){return n.duration=0,n.parent=this,ae(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new I(r,n,ut(this,s),1),this},e.call=function(r,n,s){return pt(this,I.delayedCall(0,r,n),s)},e.staggerTo=function(r,n,s,a,u,l,f){return s.duration=n,s.stagger=s.stagger||a,s.onComplete=l,s.onCompleteParams=f,s.parent=this,new I(r,s,ut(this,u)),this},e.staggerFrom=function(r,n,s,a,u,l,f){return s.runBackwards=1,ae(s).immediateRender=et(s.immediateRender),this.staggerTo(r,n,s,a,u,l,f)},e.staggerFromTo=function(r,n,s,a,u,l,f,_){return a.startAt=s,ae(a).immediateRender=et(a.immediateRender),this.staggerTo(r,n,a,u,l,f,_)},e.render=function(r,n,s){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,l=this._dur,f=r<=0?0:V(r),_=this._zTime<0!=r<0&&(this._initted||!l),c,d,p,h,m,y,v,T,x,g,w,k;if(this!==L&&f>u&&r>=0&&(f=u),f!==this._tTime||s||_){if(a!==this._time&&l&&(f+=this._time-a,r+=this._time-a),c=f,x=this._start,T=this._ts,y=!T,_&&(l||(a=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(w=this._yoyo,m=l+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(m*100+r,n,s);if(c=V(f%m),f===u?(h=this._repeat,c=l):(g=V(f/m),h=~~g,h&&h===g&&(c=l,h--),c>l&&(c=l)),g=Qt(this._tTime,m),!a&&this._tTime&&g!==h&&this._tTime-g*m-this._dur<=0&&(g=h),w&&h&1&&(c=l-c,k=1),h!==g&&!this._lock){var S=w&&g&1,b=S===(w&&h&1);if(h<g&&(S=!S),a=S?0:f%l?l:f,this._lock=1,this.render(a||(k?0:V(h*m)),n,!l)._lock=0,this._tTime=f,!n&&this.parent&&st(this,"onRepeat"),this.vars.repeatRefresh&&!k&&(this.invalidate()._lock=1),a&&a!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,u=this._tDur,b&&(this._lock=2,a=S?l:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!k&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;_r(this,k)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=nn(this,V(a),V(c)),v&&(f-=c-(c=v._start))),this._tTime=f,this._time=c,this._act=!T,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,a=0),!a&&f&&!n&&!g&&(st(this,"onStart"),this._tTime!==f))return this;if(c>=a&&r>=0)for(d=this._first;d;){if(p=d._next,(d._act||c>=d._start)&&d._ts&&v!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(c-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(c-d._start)*d._ts,n,s),c!==this._time||!this._ts&&!y){v=0,p&&(f+=this._zTime=-C);break}}d=p}else{d=this._last;for(var O=r<0?r:c;d;){if(p=d._prev,(d._act||O<=d._end)&&d._ts&&v!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(O-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(O-d._start)*d._ts,n,s||W&&hi(d)),c!==this._time||!this._ts&&!y){v=0,p&&(f+=this._zTime=O?-C:C);break}}d=p}}if(v&&!n&&(this.pause(),v.render(c>=a?0:-C)._zTime=c>=a?1:-1,this._ts))return this._start=x,De(this),this.render(r,n,s);this._onUpdate&&!n&&st(this,"onUpdate",!0),(f===u&&this._tTime>=this.totalDuration()||!f&&a)&&(x===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((r||!l)&&(f===u&&this._ts>0||!f&&this._ts<0)&&Ot(this,1),!n&&!(r<0&&!a)&&(f||a||!u)&&(st(this,f===u&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<u&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(r,n){var s=this;if(xt(n)||(n=ut(this,n,r)),!(r instanceof _e)){if(Q(r))return r.forEach(function(a){return s.add(a,n)}),this;if(H(r))return this.addLabel(r,n);if(F(r))r=I.delayedCall(0,r);else return this}return this!==r?pt(this,r,n):this},e.getChildren=function(r,n,s,a){r===void 0&&(r=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),a===void 0&&(a=-lt);for(var u=[],l=this._first;l;)l._start>=a&&(l instanceof I?n&&u.push(l):(s&&u.push(l),r&&u.push.apply(u,l.getChildren(!0,n,s)))),l=l._next;return u},e.getById=function(r){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===r)return n[s]},e.remove=function(r){return H(r)?this.removeLabel(r):F(r)?this.killTweensOf(r):(r.parent===this&&Ee(this,r),r===this._recent&&(this._recent=this._last),Lt(this))},e.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=V(tt.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),o.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},e.addLabel=function(r,n){return this.labels[r]=ut(this,n),this},e.removeLabel=function(r){return delete this.labels[r],this},e.addPause=function(r,n,s){var a=I.delayedCall(0,n||fe,s);return a.data="isPause",this._hasPause=1,pt(this,a,ut(this,r))},e.removePause=function(r){var n=this._first;for(r=ut(this,r);n;)n._start===r&&n.data==="isPause"&&Ot(n),n=n._next},e.killTweensOf=function(r,n,s){for(var a=this.getTweensOf(r,s),u=a.length;u--;)kt!==a[u]&&a[u].kill(r,n);return this},e.getTweensOf=function(r,n){for(var s=[],a=ft(r),u=this._first,l=xt(n),f;u;)u instanceof I?Kr(u._targets,a)&&(l?(!kt||u._initted&&u._ts)&&u.globalTime(0)<=n&&u.globalTime(u.totalDuration())>n:!n||u.isActive())&&s.push(u):(f=u.getTweensOf(a,n)).length&&s.push.apply(s,f),u=u._next;return s},e.tweenTo=function(r,n){n=n||{};var s=this,a=ut(s,r),u=n,l=u.startAt,f=u.onStart,_=u.onStartParams,c=u.immediateRender,d,p=I.to(s,ot({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale())||C,onStart:function(){if(s.pause(),!d){var m=n.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale());p._dur!==m&&$t(p,m,0,1).render(p._time,!0,!0),d=1}f&&f.apply(p,_||[])}},n));return c?p.render(0):p},e.tweenFromTo=function(r,n,s){return this.tweenTo(n,ot({startAt:{time:ut(this,r)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),Fi(this,ut(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),Fi(this,ut(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+C)},e.shiftChildren=function(r,n,s){s===void 0&&(s=0);for(var a=this._first,u=this.labels,l;a;)a._start>=s&&(a._start+=r,a._end+=r),a=a._next;if(n)for(l in u)u[l]>=s&&(u[l]+=r);return Lt(this)},e.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return o.prototype.invalidate.call(this,r)},e.clear=function(r){r===void 0&&(r=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),Lt(this)},e.totalDuration=function(r){var n=0,s=this,a=s._last,u=lt,l,f,_;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-r:r));if(s._dirty){for(_=s.parent;a;)l=a._prev,a._dirty&&a.totalDuration(),f=a._start,f>u&&s._sort&&a._ts&&!s._lock?(s._lock=1,pt(s,a,f-a._delay,1)._lock=0):u=f,f<0&&a._ts&&(n-=f,(!_&&!s._dp||_&&_.smoothChildTiming)&&(s._start+=f/s._ts,s._time-=f,s._tTime-=f),s.shiftChildren(-f,!1,-1/0),u=0),a._end>n&&a._ts&&(n=a._end),a=l;$t(s,s===L&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(r){if(L._ts&&(Gi(L,Me(r,L)),Wi=tt.frame),tt.frame>=Ai){Ai+=it.autoSleep||120;var n=L._first;if((!n||!n._ts)&&it.autoSleep&&tt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||tt.sleep()}}},t}(_e);ot(X.prototype,{_lock:0,_hasPause:0,_forcing:0});var Tn=function(t,e,i,r,n,s,a){var u=new Z(this._pt,t,e,0,1,yi,null,n),l=0,f=0,_,c,d,p,h,m,y,v;for(u.b=i,u.e=r,i+="",r+="",(y=~r.indexOf("random("))&&(r=Zt(r)),s&&(v=[i,r],s(v,t,e),i=v[0],r=v[1]),c=i.match(Ie)||[];_=Ie.exec(r);)p=_[0],h=r.substring(l,_.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),p!==c[f++]&&(m=parseFloat(c[f-1])||0,u._pt={_next:u._pt,p:h||f===1?h:",",s:m,c:p.charAt(1)==="="?It(m,p)-m:parseFloat(p)-m,m:d&&d<4?Math.round:0},l=Ie.lastIndex);return u.c=l<r.length?r.substring(l,r.length):"",u.fp=a,(si.test(r)||y)&&(u.e=0),this._pt=u,u},di=function(t,e,i,r,n,s,a,u,l,f){F(r)&&(r=r(n||0,t,s));var _=t[e],c=i!=="get"?i:F(_)?l?t[e.indexOf("set")||!F(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():_,d=F(_)?l?Sn:mr:gi,p;if(H(r)&&(~r.indexOf("random(")&&(r=Zt(r)),r.charAt(1)==="="&&(p=It(c,r)+(G(c)||0),(p||p===0)&&(r=p))),!f||c!==r||ti)return!isNaN(c*r)&&r!==""?(p=new Z(this._pt,t,e,+c||0,r-(c||0),typeof _=="boolean"?On:gr,0,d),l&&(p.fp=l),a&&p.modifier(a,this,t),this._pt=p):(!_&&!(e in t)&&Ce(e,r),Tn.call(this,t,e,c,r,d,u||it.stringFilter,l))},xn=function(t,e,i,r,n){if(F(t)&&(t=ue(t,n,e,i,r)),!mt(t)||t.style&&t.nodeType||Q(t)||Hi(t))return H(t)?ue(t,n,e,i,r):t;var s={},a;for(a in t)s[a]=ue(t[a],n,e,i,r);return s},pi=function(t,e,i,r,n,s){var a,u,l,f;if(J[t]&&(a=new J[t]).init(n,a.rawVars?e[t]:xn(e[t],r,n,s,i),i,r,s)!==!1&&(i._pt=u=new Z(i._pt,n,t,0,1,a.render,a,0,a.priority),i!==Xt))for(l=i._ptLookup[i._targets.indexOf(n)],f=a._props.length;f--;)l[a._props[f]]=u;return a},kt,ti,mi=function o(t,e,i){var r=t.vars,n=r.ease,s=r.startAt,a=r.immediateRender,u=r.lazy,l=r.onUpdate,f=r.runBackwards,_=r.yoyoEase,c=r.keyframes,d=r.autoRevert,p=t._dur,h=t._startAt,m=t._targets,y=t.parent,v=y&&y.data==="nested"?y.vars.targets:m,T=t._overwrite==="auto"&&!ii,x=t.timeline,g,w,k,S,b,O,A,E,D,Y,U,B,q;if(x&&(!c||!n)&&(n="none"),t._ease=zt(n,Wt.ease),t._yEase=_?hr(zt(_===!0?n:_,Wt.ease)):0,_&&t._yoyo&&!t._repeat&&(_=t._yEase,t._yEase=t._ease,t._ease=_),t._from=!x&&!!r.runBackwards,!x||c&&!r.stagger){if(E=m[0]?Mt(m[0]).harness:0,B=E&&r[E.prop],g=Se(r,oi),h&&(h._zTime<0&&h.progress(1),e<0&&f&&a&&!d?h.render(-1,!0):h.revert(f&&p?Te:Qr),h._lazy=0),s){if(Ot(t._startAt=I.set(m,ot({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!h&&et(u),startAt:null,delay:0,onUpdate:l&&function(){return st(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(W||!a&&!d)&&t._startAt.revert(Te),a&&p&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(f&&p&&!h){if(e&&(a=!1),k=ot({overwrite:!1,data:"isFromStart",lazy:a&&!h&&et(u),immediateRender:a,stagger:0,parent:y},g),B&&(k[E.prop]=B),Ot(t._startAt=I.set(m,k)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(W?t._startAt.revert(Te):t._startAt.render(-1,!0)),t._zTime=e,!a)o(t._startAt,C,C);else if(!e)return}for(t._pt=t._ptCache=0,u=p&&et(u)||u&&!p,w=0;w<m.length;w++){if(b=m[w],A=b._gsap||li(m)[w]._gsap,t._ptLookup[w]=Y={},Qe[A.id]&&St.length&&ke(),U=v===m?w:v.indexOf(b),E&&(D=new E).init(b,B||g,t,U,v)!==!1&&(t._pt=S=new Z(t._pt,b,D.name,0,1,D.render,D,0,D.priority),D._props.forEach(function(_t){Y[_t]=S}),D.priority&&(O=1)),!E||B)for(k in g)J[k]&&(D=pi(k,g,t,U,b,v))?D.priority&&(O=1):Y[k]=S=di.call(t,b,k,"get",g[k],U,v,0,r.stringFilter);t._op&&t._op[w]&&t.kill(b,t._op[w]),T&&t._pt&&(kt=t,L.killTweensOf(b,Y,t.globalTime(e)),q=!t.parent,kt=0),t._pt&&u&&(Qe[A.id]=1)}O&&Ti(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!q,c&&e<=0&&x.render(lt,!0,!0)},bn=function(t,e,i,r,n,s,a,u){var l=(t._pt&&t._ptCache||(t._ptCache={}))[e],f,_,c,d;if(!l)for(l=t._ptCache[e]=[],c=t._ptLookup,d=t._targets.length;d--;){if(f=c[d][e],f&&f.d&&f.d._pt)for(f=f.d._pt;f&&f.p!==e&&f.fp!==e;)f=f._next;if(!f)return ti=1,t.vars[e]="+=0",mi(t,a),ti=0,u?le(e+" not eligible for reset"):1;l.push(f)}for(d=l.length;d--;)_=l[d],f=_._pt||_,f.s=(r||r===0)&&!n?r:f.s+(r||0)+s*f.c,f.c=i-f.s,_.e&&(_.e=N(i)+G(_.e)),_.b&&(_.b=f.s+G(_.b))},wn=function(t,e){var i=t[0]?Mt(t[0]).harness:0,r=i&&i.aliases,n,s,a,u;if(!r)return e;n=Gt({},e);for(s in r)if(s in n)for(u=r[s].split(","),a=u.length;a--;)n[u[a]]=n[s];return n},kn=function(t,e,i,r){var n=e.ease||r||"power1.inOut",s,a;if(Q(e))a=i[t]||(i[t]=[]),e.forEach(function(u,l){return a.push({t:l/(e.length-1)*100,v:u,e:n})});else for(s in e)a=i[s]||(i[s]=[]),s==="ease"||a.push({t:parseFloat(t),v:e[s],e:n})},ue=function(t,e,i,r,n){return F(t)?t.call(e,i,r,n):H(t)&&~t.indexOf("random(")?Zt(t):t},dr=ui+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",pr={};K(dr+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return pr[o]=1});var I=function(o){Bi(t,o);function t(i,r,n,s){var a;typeof r=="number"&&(n.duration=r,r=n,n=null),a=o.call(this,s?r:ae(r))||this;var u=a.vars,l=u.duration,f=u.delay,_=u.immediateRender,c=u.stagger,d=u.overwrite,p=u.keyframes,h=u.defaults,m=u.scrollTrigger,y=u.yoyoEase,v=r.parent||L,T=(Q(i)||Hi(i)?xt(i[0]):"length"in r)?[i]:ft(i),x,g,w,k,S,b,O,A;if(a._targets=T.length?li(T):le("GSAP target "+i+" not found. https://gsap.com",!it.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,p||c||ve(l)||ve(f)){if(r=a.vars,x=a.timeline=new X({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:T}),x.kill(),x.parent=x._dp=vt(a),x._start=0,c||ve(l)||ve(f)){if(k=T.length,O=c&&ir(c),mt(c))for(S in c)~dr.indexOf(S)&&(A||(A={}),A[S]=c[S]);for(g=0;g<k;g++)w=Se(r,pr),w.stagger=0,y&&(w.yoyoEase=y),A&&Gt(w,A),b=T[g],w.duration=+ue(l,vt(a),g,b,T),w.delay=(+ue(f,vt(a),g,b,T)||0)-a._delay,!c&&k===1&&w.delay&&(a._delay=f=w.delay,a._start+=f,w.delay=0),x.to(b,w,O?O(g,b,T):0),x._ease=M.none;x.duration()?l=f=0:a.timeline=0}else if(p){ae(ot(x.vars.defaults,{ease:"none"})),x._ease=zt(p.ease||r.ease||"none");var E=0,D,Y,U;if(Q(p))p.forEach(function(B){return x.to(T,B,">")}),x.duration();else{w={};for(S in p)S==="ease"||S==="easeEach"||kn(S,p[S],w,p.easeEach);for(S in w)for(D=w[S].sort(function(B,q){return B.t-q.t}),E=0,g=0;g<D.length;g++)Y=D[g],U={ease:Y.e,duration:(Y.t-(g?D[g-1].t:0))/100*l},U[S]=Y.v,x.to(T,U,E),E+=U.duration;x.duration()<l&&x.to({},{duration:l-x.duration()})}}l||a.duration(l=x.duration())}else a.timeline=0;return d===!0&&!ii&&(kt=vt(a),L.killTweensOf(T),kt=0),pt(v,vt(a),n),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(_||!l&&!p&&a._start===V(v._time)&&et(_)&&tn(vt(a))&&v.data!=="nested")&&(a._tTime=-C,a.render(Math.max(0,-f)||0)),m&&ji(vt(a),m),a}var e=t.prototype;return e.render=function(r,n,s){var a=this._time,u=this._tDur,l=this._dur,f=r<0,_=r>u-C&&!f?u:r<C?0:r,c,d,p,h,m,y,v,T,x;if(!l)rn(this,r,n,s);else if(_!==this._tTime||!r||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f||this._lazy){if(c=_,T=this.timeline,this._repeat){if(h=l+this._rDelay,this._repeat<-1&&f)return this.totalTime(h*100+r,n,s);if(c=V(_%h),_===u?(p=this._repeat,c=l):(m=V(_/h),p=~~m,p&&p===m?(c=l,p--):c>l&&(c=l)),y=this._yoyo&&p&1,y&&(x=this._yEase,c=l-c),m=Qt(this._tTime,h),c===a&&!s&&this._initted&&p===m)return this._tTime=_,this;p!==m&&(T&&this._yEase&&_r(T,y),this.vars.repeatRefresh&&!y&&!this._lock&&c!==h&&this._initted&&(this._lock=s=1,this.render(V(h*p),!0).invalidate()._lock=0))}if(!this._initted){if(Ji(this,f?r:c,s,n,_))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&p!==m))return this;if(l!==this._dur)return this.render(r,n,s)}if(this._tTime=_,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(x||this._ease)(c/l),this._from&&(this.ratio=v=1-v),!a&&_&&!n&&!m&&(st(this,"onStart"),this._tTime!==_))return this;for(d=this._pt;d;)d.r(v,d.d),d=d._next;T&&T.render(r<0?r:T._dur*T._ease(c/this._dur),n,s)||this._startAt&&(this._zTime=r),this._onUpdate&&!n&&(f&&$e(this,r,n,s),st(this,"onUpdate")),this._repeat&&p!==m&&this.vars.onRepeat&&!n&&this.parent&&st(this,"onRepeat"),(_===this._tDur||!_)&&this._tTime===_&&(f&&!this._onUpdate&&$e(this,r,!0,!0),(r||!l)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&Ot(this,1),!n&&!(f&&!a)&&(_||a||y)&&(st(this,_===u?"onComplete":"onReverseComplete",!0),this._prom&&!(_<u&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),o.prototype.invalidate.call(this,r)},e.resetTo=function(r,n,s,a,u){he||tt.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||mi(this,l),f=this._ease(l/this._dur),bn(this,r,n,s,a,f,l,u)?this.resetTo(r,n,s,a,1):(Ae(this,0),this.parent||Ki(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(r,n){if(n===void 0&&(n="all"),!r&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?ne(this):this.scrollTrigger&&this.scrollTrigger.kill(!!W),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,kt&&kt.vars.overwrite!==!0)._first||ne(this),this.parent&&s!==this.timeline.totalDuration()&&$t(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,u=r?ft(r):a,l=this._ptLookup,f=this._pt,_,c,d,p,h,m,y;if((!n||n==="all")&&jr(a,u))return n==="all"&&(this._pt=0),ne(this);for(_=this._op=this._op||[],n!=="all"&&(H(n)&&(h={},K(n,function(v){return h[v]=1}),n=h),n=wn(a,n)),y=a.length;y--;)if(~u.indexOf(a[y])){c=l[y],n==="all"?(_[y]=n,p=c,d={}):(d=_[y]=_[y]||{},p=n);for(h in p)m=c&&c[h],m&&((!("kill"in m.d)||m.d.kill(h)===!0)&&Ee(this,m,"_pt"),delete c[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&f&&ne(this),this},t.to=function(r,n){return new t(r,n,arguments[2])},t.from=function(r,n){return oe(1,arguments)},t.delayedCall=function(r,n,s,a){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(r,n,s){return oe(2,arguments)},t.set=function(r,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(r,n)},t.killTweensOf=function(r,n,s){return L.killTweensOf(r,n,s)},t}(_e);ot(I.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});K("staggerTo,staggerFrom,staggerFromTo",function(o){I[o]=function(){var t=new X,e=Ze.call(arguments,0);return e.splice(o==="staggerFromTo"?5:4,0,0),t[o].apply(t,e)}});var gi=function(t,e,i){return t[e]=i},mr=function(t,e,i){return t[e](i)},Sn=function(t,e,i,r){return t[e](r.fp,i)},Mn=function(t,e,i){return t.setAttribute(e,i)},Re=function(t,e){return F(t[e])?mr:Pe(t[e])&&t.setAttribute?Mn:gi},gr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},On=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},yi=function(t,e){var i=e._pt,r="";if(!t&&e.b)r=e.b;else if(t===1&&e.e)r=e.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+r,i=i._next;r+=e.c}e.set(e.t,e.p,r,e)},vi=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},Pn=function(t,e,i,r){for(var n=this._pt,s;n;)s=n._next,n.p===r&&n.modifier(t,e,i),n=s},Cn=function(t){for(var e=this._pt,i,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?Ee(this,e,"_pt"):e.dep||(i=1),e=r;return!i},En=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},Ti=function(t){for(var e=t._pt,i,r,n,s;e;){for(i=e._next,r=n;r&&r.pr>e.pr;)r=r._next;(e._prev=r?r._prev:s)?e._prev._next=e:n=e,(e._next=r)?r._prev=e:s=e,e=i}t._pt=n},Z=function(){function o(e,i,r,n,s,a,u,l,f){this.t=i,this.s=n,this.c=s,this.p=r,this.r=a||gr,this.d=u||this,this.set=l||gi,this.pr=f||0,this._next=e,e&&(e._prev=this)}var t=o.prototype;return t.modifier=function(i,r,n){this.mSet=this.mSet||this.set,this.set=En,this.m=i,this.mt=n,this.tween=r},o}();K(ui+"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(o){return oi[o]=1});at.TweenMax=at.TweenLite=I;at.TimelineLite=at.TimelineMax=X;L=new X({sortChildren:!1,defaults:Wt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});it.stringFilter=_i;var Ft=[],be={},Dn=[],Ii=0,An=0,qe=function(t){return(be[t]||Dn).map(function(e){return e()})},ei=function(){var t=Date.now(),e=[];t-Ii>2&&(qe("matchMediaInit"),Ft.forEach(function(i){var r=i.queries,n=i.conditions,s,a,u,l;for(a in r)s=dt.matchMedia(r[a]).matches,s&&(u=1),s!==n[a]&&(n[a]=s,l=1);l&&(i.revert(),u&&e.push(i))}),qe("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),Ii=t,qe("matchMedia"))},yr=function(){function o(e,i){this.selector=i&&je(i),this.data=[],this._r=[],this.isReverted=!1,this.id=An++,e&&this.add(e)}var t=o.prototype;return t.add=function(i,r,n){F(i)&&(n=r,r=i,i=F);var s=this,a=function(){var l=R,f=s.selector,_;return l&&l!==s&&l.data.push(s),n&&(s.selector=je(n)),R=s,_=r.apply(s,arguments),F(_)&&s._r.push(_),R=l,s.selector=f,s.isReverted=!1,_};return s.last=a,i===F?a(s,function(u){return s.add(null,u)}):i?s[i]=a:a},t.ignore=function(i){var r=R;R=null,i(this),R=r},t.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof o?i.push.apply(i,r.getTweens()):r instanceof I&&!(r.parent&&r.parent.data==="nested")&&i.push(r)}),i},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(i,r){var n=this;if(i?function(){for(var a=n.getTweens(),u=n.data.length,l;u--;)l=n.data[u],l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(f){return a.splice(a.indexOf(f),1)}));for(a.map(function(f){return{g:f._dur||f._delay||f._sat&&!f._sat.vars.immediateRender?f.globalTime(0):-1/0,t:f}}).sort(function(f,_){return _.g-f.g||-1/0}).forEach(function(f){return f.t.revert(i)}),u=n.data.length;u--;)l=n.data[u],l instanceof X?l.data!=="nested"&&(l.scrollTrigger&&l.scrollTrigger.revert(),l.kill()):!(l instanceof I)&&l.revert&&l.revert(i);n._r.forEach(function(f){return f(i,n)}),n.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var s=Ft.length;s--;)Ft[s].id===this.id&&Ft.splice(s,1)},t.revert=function(i){this.kill(i||{})},o}(),Rn=function(){function o(e){this.contexts=[],this.scope=e,R&&R.data.push(this)}var t=o.prototype;return t.add=function(i,r,n){mt(i)||(i={matches:i});var s=new yr(0,n||this.scope),a=s.conditions={},u,l,f;R&&!s.selector&&(s.selector=R.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=i;for(l in i)l==="all"?f=1:(u=dt.matchMedia(i[l]),u&&(Ft.indexOf(s)<0&&Ft.push(s),(a[l]=u.matches)&&(f=1),u.addListener?u.addListener(ei):u.addEventListener("change",ei)));return f&&r(s,function(_){return s.add(null,_)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},o}(),Oe={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(r){return ur(r)})},timeline:function(t){return new X(t)},getTweensOf:function(t,e){return L.getTweensOf(t,e)},getProperty:function(t,e,i,r){H(t)&&(t=ft(t)[0]);var n=Mt(t||{}).get,s=i?$i:Qi;return i==="native"&&(i=""),t&&(e?s((J[e]&&J[e].get||n)(t,e,i,r)):function(a,u,l){return s((J[a]&&J[a].get||n)(t,a,u,l))})},quickSetter:function(t,e,i){if(t=ft(t),t.length>1){var r=t.map(function(f){return $.quickSetter(f,e,i)}),n=r.length;return function(f){for(var _=n;_--;)r[_](f)}}t=t[0]||{};var s=J[e],a=Mt(t),u=a.harness&&(a.harness.aliases||{})[e]||e,l=s?function(f){var _=new s;Xt._pt=0,_.init(t,i?f+i:f,Xt,0,[t]),_.render(1,_),Xt._pt&&vi(1,Xt)}:a.set(t,u);return s?l:function(f){return l(t,u,i?f+i:f,a,1)}},quickTo:function(t,e,i){var r,n=$.to(t,ot((r={},r[e]="+=0.1",r.paused=!0,r.stagger=0,r),i||{})),s=function(u,l,f){return n.resetTo(e,u,l,f)};return s.tween=n,s},isTweening:function(t){return L.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=zt(t.ease,Wt.ease)),Ri(Wt,t||{})},config:function(t){return Ri(it,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,r=t.plugins,n=t.defaults,s=t.extendTimeline;(r||"").split(",").forEach(function(a){return a&&!J[a]&&!at[a]&&le(e+" effect requires "+a+" plugin.")}),Be[e]=function(a,u,l){return i(ft(a),ot(u||{},n),l)},s&&(X.prototype[e]=function(a,u,l){return this.add(Be[e](a,mt(u)?u:(l=u)&&{},this),l)})},registerEase:function(t,e){M[t]=zt(e)},parseEase:function(t,e){return arguments.length?zt(t,e):M},getById:function(t){return L.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new X(t),r,n;for(i.smoothChildTiming=et(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 I&&r.vars.onComplete===r._targets[0]))&&pt(i,r,r._start-r._delay),r=n;return pt(L,i,0),i},context:function(t,e){return t?new yr(t,e):R},matchMedia:function(t){return new Rn(t)},matchMediaRefresh:function(){return Ft.forEach(function(t){var e=t.conditions,i,r;for(r in e)e[r]&&(e[r]=!1,i=1);i&&t.revert()})||ei()},addEventListener:function(t,e){var i=be[t]||(be[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=be[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:hn,wrapYoyo:_n,distribute:ir,random:nr,snap:rr,normalize:fn,getUnit:G,clamp:an,splitColor:lr,toArray:ft,selector:je,mapRange:ar,pipe:un,unitize:ln,interpolate:cn,shuffle:er},install:Yi,effects:Be,ticker:tt,updateRoot:X.updateRoot,plugins:J,globalTimeline:L,core:{PropTween:Z,globals:Xi,Tween:I,Timeline:X,Animation:_e,getCache:Mt,_removeLinkedListItem:Ee,reverting:function(){return W},context:function(t){return t&&R&&(R.data.push(t),t._ctx=R),R},suppressOverwrites:function(t){return ii=t}}};K("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Oe[o]=I[o]});tt.add(X.updateRoot);Xt=Oe.to({},{duration:0});var Ln=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},zn=function(t,e){var i=t._targets,r,n,s;for(r in e)for(n=i.length;n--;)s=t._ptLookup[n][r],s&&(s=s.d)&&(s._pt&&(s=Ln(s,r)),s&&s.modifier&&s.modifier(e[r],t,i[n],r))},Ye=function(t,e){return{name:t,headless:1,rawVars:1,init:function(r,n,s){s._onInit=function(a){var u,l;if(H(n)&&(u={},K(n,function(f){return u[f]=1}),n=u),e){u={};for(l in n)u[l]=e(n[l]);n=u}zn(a,n)}}}},$=Oe.registerPlugin({name:"attr",init:function(t,e,i,r,n){var s,a,u;this.tween=i;for(s in e)u=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(u||0)+"",e[s],r,n,0,0,s),a.op=s,a.b=u,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)W?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",headless:1,init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},Ye("roundProps",Je),Ye("modifiers"),Ye("snap",rr))||Oe;I.version=X.version=$.version="3.13.0";qi=1;ri()&&Kt();var Fn=M.Power0,Nn=M.Power1,In=M.Power2,Bn=M.Power3,Vn=M.Power4,Hn=M.Linear,Un=M.Quad,qn=M.Cubic,Yn=M.Quart,Xn=M.Quint,Wn=M.Strong,Gn=M.Elastic,Qn=M.Back,$n=M.SteppedEase,Kn=M.Bounce,Zn=M.Sine,jn=M.Expo,Jn=M.Circ;var vr,Ct,Jt,Mi,qt,ts,Tr,Oi,es=function(){return typeof window<"u"},wt={},Ut=180/Math.PI,te=Math.PI/180,jt=Math.atan2,xr=1e8,Pi=/([A-Z])/g,is=/(left|right|width|margin|padding|x)/i,rs=/[\s,\(]\S/,gt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},bi=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},ns=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},ss=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},as=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Cr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Er=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},os=function(t,e,i){return t.style[e]=i},us=function(t,e,i){return t.style.setProperty(e,i)},ls=function(t,e,i){return t._gsap[e]=i},fs=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},hs=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},_s=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},z="transform",rt=z+"Origin",cs=function o(t,e){var i=this,r=this.target,n=r.style,s=r._gsap;if(t in wt&&n){if(this.tfm=this.tfm||{},t!=="transform")t=gt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return i.tfm[a]=bt(r,a)}):this.tfm[t]=s.x?s[t]:bt(r,t),t===rt&&(this.tfm.zOrigin=s.zOrigin);else return gt.transform.split(",").forEach(function(a){return o.call(i,a,e)});if(this.props.indexOf(z)>=0)return;s.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(rt,e,"")),t=z}(n||e)&&this.props.push(t,e,n[t])},Dr=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},ds=function(){var t=this.props,e=this.target,i=e.style,r=e._gsap,n,s;for(n=0;n<t.length;n+=3)t[n+1]?t[n+1]===2?e[t[n]](t[n+2]):e[t[n]]=t[n+2]:t[n+2]?i[t[n]]=t[n+2]:i.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(Pi,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)r[s]=this.tfm[s];r.svg&&(r.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=Oi(),(!n||!n.isStart)&&!i[z]&&(Dr(i),r.zOrigin&&i[rt]&&(i[rt]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},Ar=function(t,e){var i={target:t,props:[],revert:ds,save:cs};return t._gsap||$.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(r){return i.save(r)}),i},Rr,wi=function(t,e){var i=Ct.createElementNS?Ct.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ct.createElement(t);return i&&i.style?i:Ct.createElement(t)},ht=function o(t,e,i){var r=getComputedStyle(t);return r[e]||r.getPropertyValue(e.replace(Pi,"-$1").toLowerCase())||r.getPropertyValue(e)||!i&&o(t,ee(e)||e,1)||""},br="O,Moz,ms,Ms,Webkit".split(","),ee=function(t,e,i){var r=e||qt,n=r.style,s=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(br[s]+t in n););return s<0?null:(s===3?"ms":s>=0?br[s]:"")+t},ki=function(){es()&&window.document&&(vr=window,Ct=vr.document,Jt=Ct.documentElement,qt=wi("div")||{style:{}},ts=wi("div"),z=ee(z),rt=z+"Origin",qt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Rr=!!ee("perspective"),Oi=$.core.reverting,Mi=1)},wr=function(t){var e=t.ownerSVGElement,i=wi("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=t.cloneNode(!0),n;r.style.display="block",i.appendChild(r),Jt.appendChild(i);try{n=r.getBBox()}catch{}return i.removeChild(r),Jt.removeChild(i),n},kr=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Lr=function(t){var e,i;try{e=t.getBBox()}catch{e=wr(t),i=1}return e&&(e.width||e.height)||i||(e=wr(t)),e&&!e.width&&!e.x&&!e.y?{x:+kr(t,["x","cx","x1"])||0,y:+kr(t,["y","cy","y1"])||0,width:0,height:0}:e},zr=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Lr(t))},Yt=function(t,e){if(e){var i=t.style,r;e in wt&&e!==rt&&(e=z),i.removeProperty?(r=e.substr(0,2),(r==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(r==="--"?e:e.replace(Pi,"-$1").toLowerCase())):i.removeAttribute(e)}},Et=function(t,e,i,r,n,s){var a=new Z(t._pt,e,i,0,1,s?Er:Cr);return t._pt=a,a.b=r,a.e=n,t._props.push(i),a},Sr={deg:1,rad:1,turn:1},ps={grid:1,flex:1},Dt=function o(t,e,i,r){var n=parseFloat(i)||0,s=(i+"").trim().substr((n+"").length)||"px",a=qt.style,u=is.test(e),l=t.tagName.toLowerCase()==="svg",f=(l?"client":"offset")+(u?"Width":"Height"),_=100,c=r==="px",d=r==="%",p,h,m,y;if(r===s||!n||Sr[r]||Sr[s])return n;if(s!=="px"&&!c&&(n=o(t,e,i,"px")),y=t.getCTM&&zr(t),(d||s==="%")&&(wt[e]||~e.indexOf("adius")))return p=y?t.getBBox()[u?"width":"height"]:t[f],N(d?n/p*_:n/100*p);if(a[u?"width":"height"]=_+(c?s:r),h=r!=="rem"&&~e.indexOf("adius")||r==="em"&&t.appendChild&&!l?t:t.parentNode,y&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===Ct||!h.appendChild)&&(h=Ct.body),m=h._gsap,m&&d&&m.width&&u&&m.time===tt.time&&!m.uncache)return N(n/m.width*_);if(d&&(e==="height"||e==="width")){var v=t.style[e];t.style[e]=_+r,p=t[f],v?t.style[e]=v:Yt(t,e)}else(d||s==="%")&&!ps[ht(h,"display")]&&(a.position=ht(t,"position")),h===t&&(a.position="static"),h.appendChild(qt),p=qt[f],h.removeChild(qt),a.position="absolute";return u&&d&&(m=Mt(h),m.time=tt.time,m.width=h[f]),N(c?p*n/_:p&&n?_/p*n:0)},bt=function(t,e,i,r){var n;return Mi||ki(),e in gt&&e!=="transform"&&(e=gt[e],~e.indexOf(",")&&(e=e.split(",")[0])),wt[e]&&e!=="transform"?(n=me(t,r),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:ze(ht(t,rt))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=Le[e]&&Le[e](t,e,i)||ht(t,e)||fi(t,e)||(e==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?Dt(t,e,n,i)+i:n},ms=function(t,e,i,r){if(!i||i==="none"){var n=ee(e,t,1),s=n&&ht(t,n,1);s&&s!==i?(e=n,i=s):e==="borderColor"&&(i=ht(t,"borderTopColor"))}var a=new Z(this._pt,t.style,e,0,1,yi),u=0,l=0,f,_,c,d,p,h,m,y,v,T,x,g;if(a.b=i,a.e=r,i+="",r+="",r.substring(0,6)==="var(--"&&(r=ht(t,r.substring(4,r.indexOf(")")))),r==="auto"&&(h=t.style[e],t.style[e]=r,r=ht(t,e)||r,h?t.style[e]=h:Yt(t,e)),f=[i,r],_i(f),i=f[0],r=f[1],c=i.match(Nt)||[],g=r.match(Nt)||[],g.length){for(;_=Nt.exec(r);)m=_[0],v=r.substring(u,_.index),p?p=(p+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(p=1),m!==(h=c[l++]||"")&&(d=parseFloat(h)||0,x=h.substr((d+"").length),m.charAt(1)==="="&&(m=It(d,m)+x),y=parseFloat(m),T=m.substr((y+"").length),u=Nt.lastIndex-T.length,T||(T=T||it.units[e]||x,u===r.length&&(r+=T,a.e+=T)),x!==T&&(d=Dt(t,e,h,T)||0),a._pt={_next:a._pt,p:v||l===1?v:",",s:d,c:y-d,m:p&&p<4||e==="zIndex"?Math.round:0});a.c=u<r.length?r.substring(u,r.length):""}else a.r=e==="display"&&r==="none"?Er:Cr;return si.test(r)&&(a.e=0),this._pt=a,a},Mr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},gs=function(t){var e=t.split(" "),i=e[0],r=e[1]||"50%";return(i==="top"||i==="bottom"||r==="left"||r==="right")&&(t=i,i=r,r=t),e[0]=Mr[i]||i,e[1]=Mr[r]||r,e.join(" ")},ys=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,r=i.style,n=e.u,s=i._gsap,a,u,l;if(n==="all"||n===!0)r.cssText="",u=1;else for(n=n.split(","),l=n.length;--l>-1;)a=n[l],wt[a]&&(u=1,a=a==="transformOrigin"?rt:z),Yt(i,a);u&&(Yt(i,z),s&&(s.svg&&i.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",me(i,1),s.uncache=1,Dr(r)))}},Le={clearProps:function(t,e,i,r,n){if(n.data!=="isFromStart"){var s=t._pt=new Z(t._pt,e,i,0,0,ys);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},pe=[1,0,0,1,0,0],Fr={},Nr=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Or=function(t){var e=ht(t,z);return Nr(e)?pe:e.substr(7).match(ni).map(N)},Ci=function(t,e){var i=t._gsap||Mt(t),r=t.style,n=Or(t),s,a,u,l;return i.svg&&t.getAttribute("transform")?(u=t.transform.baseVal.consolidate().matrix,n=[u.a,u.b,u.c,u.d,u.e,u.f],n.join(",")==="1,0,0,1,0,0"?pe:n):(n===pe&&!t.offsetParent&&t!==Jt&&!i.svg&&(u=r.display,r.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(l=1,a=t.nextElementSibling,Jt.appendChild(t)),n=Or(t),u?r.display=u:Yt(t,"display"),l&&(a?s.insertBefore(t,a):s?s.appendChild(t):Jt.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Si=function(t,e,i,r,n,s){var a=t._gsap,u=n||Ci(t,!0),l=a.xOrigin||0,f=a.yOrigin||0,_=a.xOffset||0,c=a.yOffset||0,d=u[0],p=u[1],h=u[2],m=u[3],y=u[4],v=u[5],T=e.split(" "),x=parseFloat(T[0])||0,g=parseFloat(T[1])||0,w,k,S,b;i?u!==pe&&(k=d*m-p*h)&&(S=x*(m/k)+g*(-h/k)+(h*v-m*y)/k,b=x*(-p/k)+g*(d/k)-(d*v-p*y)/k,x=S,g=b):(w=Lr(t),x=w.x+(~T[0].indexOf("%")?x/100*w.width:x),g=w.y+(~(T[1]||T[0]).indexOf("%")?g/100*w.height:g)),r||r!==!1&&a.smooth?(y=x-l,v=g-f,a.xOffset=_+(y*d+v*h)-y,a.yOffset=c+(y*p+v*m)-v):a.xOffset=a.yOffset=0,a.xOrigin=x,a.yOrigin=g,a.smooth=!!r,a.origin=e,a.originIsAbsolute=!!i,t.style[rt]="0px 0px",s&&(Et(s,a,"xOrigin",l,x),Et(s,a,"yOrigin",f,g),Et(s,a,"xOffset",_,a.xOffset),Et(s,a,"yOffset",c,a.yOffset)),t.setAttribute("data-svg-origin",x+" "+g)},me=function(t,e){var i=t._gsap||new ci(t);if("x"in i&&!e&&!i.uncache)return i;var r=t.style,n=i.scaleX<0,s="px",a="deg",u=getComputedStyle(t),l=ht(t,rt)||"0",f,_,c,d,p,h,m,y,v,T,x,g,w,k,S,b,O,A,E,D,Y,U,B,q,_t,ye,ie,re,At,Di,yt,Rt;return f=_=c=h=m=y=v=T=x=0,d=p=1,i.svg=!!(t.getCTM&&zr(t)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(r[z]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[z]!=="none"?u[z]:"")),r.scale=r.rotate=r.translate="none"),k=Ci(t,i.svg),i.svg&&(i.uncache?(_t=t.getBBox(),l=i.xOrigin-_t.x+"px "+(i.yOrigin-_t.y)+"px",q=""):q=!e&&t.getAttribute("data-svg-origin"),Si(t,q||l,!!q||i.originIsAbsolute,i.smooth!==!1,k)),g=i.xOrigin||0,w=i.yOrigin||0,k!==pe&&(A=k[0],E=k[1],D=k[2],Y=k[3],f=U=k[4],_=B=k[5],k.length===6?(d=Math.sqrt(A*A+E*E),p=Math.sqrt(Y*Y+D*D),h=A||E?jt(E,A)*Ut:0,v=D||Y?jt(D,Y)*Ut+h:0,v&&(p*=Math.abs(Math.cos(v*te))),i.svg&&(f-=g-(g*A+w*D),_-=w-(g*E+w*Y))):(Rt=k[6],Di=k[7],ie=k[8],re=k[9],At=k[10],yt=k[11],f=k[12],_=k[13],c=k[14],S=jt(Rt,At),m=S*Ut,S&&(b=Math.cos(-S),O=Math.sin(-S),q=U*b+ie*O,_t=B*b+re*O,ye=Rt*b+At*O,ie=U*-O+ie*b,re=B*-O+re*b,At=Rt*-O+At*b,yt=Di*-O+yt*b,U=q,B=_t,Rt=ye),S=jt(-D,At),y=S*Ut,S&&(b=Math.cos(-S),O=Math.sin(-S),q=A*b-ie*O,_t=E*b-re*O,ye=D*b-At*O,yt=Y*O+yt*b,A=q,E=_t,D=ye),S=jt(E,A),h=S*Ut,S&&(b=Math.cos(S),O=Math.sin(S),q=A*b+E*O,_t=U*b+B*O,E=E*b-A*O,B=B*b-U*O,A=q,U=_t),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,y=180-y),d=N(Math.sqrt(A*A+E*E+D*D)),p=N(Math.sqrt(B*B+Rt*Rt)),S=jt(U,B),v=Math.abs(S)>2e-4?S*Ut:0,x=yt?1/(yt<0?-yt:yt):0),i.svg&&(q=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Nr(ht(t,z)),q&&t.setAttribute("transform",q))),Math.abs(v)>90&&Math.abs(v)<270&&(n?(d*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(p*=-1,v+=v<=0?180:-180)),e=e||i.uncache,i.x=f-((i.xPercent=f&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-f)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+s,i.y=_-((i.yPercent=_&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-_)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+s,i.z=c+s,i.scaleX=N(d),i.scaleY=N(p),i.rotation=N(h)+a,i.rotationX=N(m)+a,i.rotationY=N(y)+a,i.skewX=v+a,i.skewY=T+a,i.transformPerspective=x+s,(i.zOrigin=parseFloat(l.split(" ")[2])||!e&&i.zOrigin||0)&&(r[rt]=ze(l)),i.xOffset=i.yOffset=0,i.force3D=it.force3D,i.renderTransform=i.svg?Ts:Rr?Ir:vs,i.uncache=0,i},ze=function(t){return(t=t.split(" "))[0]+" "+t[1]},xi=function(t,e,i){var r=G(e);return N(parseFloat(e)+parseFloat(Dt(t,"x",i+"px",r)))+r},vs=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Ir(t,e)},Vt="0deg",de="0px",Ht=") ",Ir=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,u=i.z,l=i.rotation,f=i.rotationY,_=i.rotationX,c=i.skewX,d=i.skewY,p=i.scaleX,h=i.scaleY,m=i.transformPerspective,y=i.force3D,v=i.target,T=i.zOrigin,x="",g=y==="auto"&&t&&t!==1||y===!0;if(T&&(_!==Vt||f!==Vt)){var w=parseFloat(f)*te,k=Math.sin(w),S=Math.cos(w),b;w=parseFloat(_)*te,b=Math.cos(w),s=xi(v,s,k*b*-T),a=xi(v,a,-Math.sin(w)*-T),u=xi(v,u,S*b*-T+T)}m!==de&&(x+="perspective("+m+Ht),(r||n)&&(x+="translate("+r+"%, "+n+"%) "),(g||s!==de||a!==de||u!==de)&&(x+=u!==de||g?"translate3d("+s+", "+a+", "+u+") ":"translate("+s+", "+a+Ht),l!==Vt&&(x+="rotate("+l+Ht),f!==Vt&&(x+="rotateY("+f+Ht),_!==Vt&&(x+="rotateX("+_+Ht),(c!==Vt||d!==Vt)&&(x+="skew("+c+", "+d+Ht),(p!==1||h!==1)&&(x+="scale("+p+", "+h+Ht),v.style[z]=x||"translate(0, 0)"},Ts=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,u=i.rotation,l=i.skewX,f=i.skewY,_=i.scaleX,c=i.scaleY,d=i.target,p=i.xOrigin,h=i.yOrigin,m=i.xOffset,y=i.yOffset,v=i.forceCSS,T=parseFloat(s),x=parseFloat(a),g,w,k,S,b;u=parseFloat(u),l=parseFloat(l),f=parseFloat(f),f&&(f=parseFloat(f),l+=f,u+=f),u||l?(u*=te,l*=te,g=Math.cos(u)*_,w=Math.sin(u)*_,k=Math.sin(u-l)*-c,S=Math.cos(u-l)*c,l&&(f*=te,b=Math.tan(l-f),b=Math.sqrt(1+b*b),k*=b,S*=b,f&&(b=Math.tan(f),b=Math.sqrt(1+b*b),g*=b,w*=b)),g=N(g),w=N(w),k=N(k),S=N(S)):(g=_,S=c,w=k=0),(T&&!~(s+"").indexOf("px")||x&&!~(a+"").indexOf("px"))&&(T=Dt(d,"x",s,"px"),x=Dt(d,"y",a,"px")),(p||h||m||y)&&(T=N(T+p-(p*g+h*k)+m),x=N(x+h-(p*w+h*S)+y)),(r||n)&&(b=d.getBBox(),T=N(T+r/100*b.width),x=N(x+n/100*b.height)),b="matrix("+g+","+w+","+k+","+S+","+T+","+x+")",d.setAttribute("transform",b),v&&(d.style[z]=b)},xs=function(t,e,i,r,n){var s=360,a=H(n),u=parseFloat(n)*(a&&~n.indexOf("rad")?Ut:1),l=u-r,f=r+l+"deg",_,c;return a&&(_=n.split("_")[1],_==="short"&&(l%=s,l!==l%(s/2)&&(l+=l<0?s:-s)),_==="cw"&&l<0?l=(l+s*xr)%s-~~(l/s)*s:_==="ccw"&&l>0&&(l=(l-s*xr)%s-~~(l/s)*s)),t._pt=c=new Z(t._pt,e,i,r,l,ns),c.e=f,c.u="deg",t._props.push(i),c},Pr=function(t,e){for(var i in e)t[i]=e[i];return t},bs=function(t,e,i){var r=Pr({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,u,l,f,_,c,d,p;r.svg?(l=i.getAttribute("transform"),i.setAttribute("transform",""),s[z]=e,a=me(i,1),Yt(i,z),i.setAttribute("transform",l)):(l=getComputedStyle(i)[z],s[z]=e,a=me(i,1),s[z]=l);for(u in wt)l=r[u],f=a[u],l!==f&&n.indexOf(u)<0&&(d=G(l),p=G(f),_=d!==p?Dt(i,u,l,p):parseFloat(l),c=parseFloat(f),t._pt=new Z(t._pt,a,u,_,c-_,bi),t._pt.u=p||0,t._props.push(u));Pr(a,r)};K("padding,margin,Width,Radius",function(o,t){var e="Top",i="Right",r="Bottom",n="Left",s=(t<3?[e,i,r,n]:[e+n,e+i,r+i,r+n]).map(function(a){return t<2?o+a:"border"+a+o});Le[t>1?"border"+o:o]=function(a,u,l,f,_){var c,d;if(arguments.length<4)return c=s.map(function(p){return bt(a,p,l)}),d=c.join(" "),d.split(c[0]).length===5?c[0]:d;c=(f+"").split(" "),d={},s.forEach(function(p,h){return d[p]=c[h]=c[h]||c[(h-1)/2|0]}),a.init(u,d,_)}});var Ei={name:"css",register:ki,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,n){var s=this._props,a=t.style,u=i.vars.startAt,l,f,_,c,d,p,h,m,y,v,T,x,g,w,k,S;Mi||ki(),this.styles=this.styles||Ar(t),S=this.styles.props,this.tween=i;for(h in e)if(h!=="autoRound"&&(f=e[h],!(J[h]&&pi(h,e,i,r,t,n)))){if(d=typeof f,p=Le[h],d==="function"&&(f=f.call(i,r,t,n),d=typeof f),d==="string"&&~f.indexOf("random(")&&(f=Zt(f)),p)p(this,t,h,f,i)&&(k=1);else if(h.substr(0,2)==="--")l=(getComputedStyle(t).getPropertyValue(h)+"").trim(),f+="",Tt.lastIndex=0,Tt.test(l)||(m=G(l),y=G(f)),y?m!==y&&(l=Dt(t,h,l,y)+y):m&&(f+=m),this.add(a,"setProperty",l,f,r,n,0,0,h),s.push(h),S.push(h,0,a[h]);else if(d!=="undefined"){if(u&&h in u?(l=typeof u[h]=="function"?u[h].call(i,r,t,n):u[h],H(l)&&~l.indexOf("random(")&&(l=Zt(l)),G(l+"")||l==="auto"||(l+=it.units[h]||G(bt(t,h))||""),(l+"").charAt(1)==="="&&(l=bt(t,h))):l=bt(t,h),c=parseFloat(l),v=d==="string"&&f.charAt(1)==="="&&f.substr(0,2),v&&(f=f.substr(2)),_=parseFloat(f),h in gt&&(h==="autoAlpha"&&(c===1&&bt(t,"visibility")==="hidden"&&_&&(c=0),S.push("visibility",0,a.visibility),Et(this,a,"visibility",c?"inherit":"hidden",_?"inherit":"hidden",!_)),h!=="scale"&&h!=="transform"&&(h=gt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),T=h in wt,T){if(this.styles.save(h),d==="string"&&f.substring(0,6)==="var(--"&&(f=ht(t,f.substring(4,f.indexOf(")"))),_=parseFloat(f)),x||(g=t._gsap,g.renderTransform&&!e.parseTransform||me(t,e.parseTransform),w=e.smoothOrigin!==!1&&g.smooth,x=this._pt=new Z(this._pt,a,z,0,1,g.renderTransform,g,0,-1),x.dep=1),h==="scale")this._pt=new Z(this._pt,g,"scaleY",g.scaleY,(v?It(g.scaleY,v+_):_)-g.scaleY||0,bi),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){S.push(rt,0,a[rt]),f=gs(f),g.svg?Si(t,f,0,w,0,this):(y=parseFloat(f.split(" ")[2])||0,y!==g.zOrigin&&Et(this,g,"zOrigin",g.zOrigin,y),Et(this,a,h,ze(l),ze(f)));continue}else if(h==="svgOrigin"){Si(t,f,1,w,0,this);continue}else if(h in Fr){xs(this,g,h,c,v?It(c,v+f):f);continue}else if(h==="smoothOrigin"){Et(this,g,"smooth",g.smooth,f);continue}else if(h==="force3D"){g[h]=f;continue}else if(h==="transform"){bs(this,f,t);continue}}else h in a||(h=ee(h)||h);if(T||(_||_===0)&&(c||c===0)&&!rs.test(f)&&h in a)m=(l+"").substr((c+"").length),_||(_=0),y=G(f)||(h in it.units?it.units[h]:m),m!==y&&(c=Dt(t,h,l,y)),this._pt=new Z(this._pt,T?g:a,h,c,(v?It(c,v+_):_)-c,!T&&(y==="px"||h==="zIndex")&&e.autoRound!==!1?as:bi),this._pt.u=y||0,m!==y&&y!=="%"&&(this._pt.b=l,this._pt.r=ss);else if(h in a)ms.call(this,t,h,l,v?v+f:f);else if(h in t)this.add(t,h,l||t[h],v?v+f:f,r,n);else if(h!=="parseTransform"){Ce(h,f);continue}T||(h in a?S.push(h,0,a[h]):typeof t[h]=="function"?S.push(h,2,t[h]()):S.push(h,1,l||t[h])),s.push(h)}}k&&Ti(this)},render:function(t,e){if(e.tween._time||!Oi())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:bt,aliases:gt,getSetter:function(t,e,i){var r=gt[e];return r&&r.indexOf(",")<0&&(e=r),e in wt&&e!==rt&&(t._gsap.x||bt(t,"x"))?i&&Tr===i?e==="scale"?fs:ls:(Tr=i||{})&&(e==="scale"?hs:_s):t.style&&!Pe(t.style[e])?os:~e.indexOf("-")?us:Re(t,e)},core:{_removeProperty:Yt,_getMatrix:Ci}};$.utils.checkPrefix=ee;$.core.getStyleSaver=Ar;(function(o,t,e,i){var r=K(o+","+t+","+e,function(n){wt[n]=1});K(t,function(n){it.units[n]="deg",Fr[n]=1}),gt[r[13]]=o+","+t,K(i,function(n){var s=n.split(":");gt[s[1]]=r[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");K("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){it.units[o]="px"});$.registerPlugin(Ei);var j=$.registerPlugin(Ei)||$,Vs=j.core.Tween;var Ne=!1;var nt=null,Fe="light",ge=[{name:"solutions",width:1026,height:668,isCurrent:!1},{name:"teams",width:262,height:354,isCurrent:!1},{name:"resources",width:546,height:354,isCurrent:!1},{name:"company",width:436,height:354,isCurrent:!1}],ct=()=>({dropdownOverlay:document.querySelector('[data-nav-element="overlay"]'),navItems:document.querySelectorAll('[data-nav-item="link"]'),navItemsWrapper:document.querySelectorAll('[data-nav-animation="links"]'),dropdownMover:document.querySelector('[data-nav-item="dropdown-mover"]'),dropdownItems:document.querySelector('[data-nav-item="dropdown-mover"]'),tabLinks:document.querySelectorAll("[data-tab-link]"),tabContents:document.querySelectorAll("[data-tab-content]"),navigationModeElement:document.querySelector("[navigation-mode]"),navElements:document.querySelectorAll("[style-navigation]"),mover:document.querySelector('[data-nav-element="mover"]'),overlay:document.querySelector('[data-nav-element="overlay"]'),wrapper:document.querySelector('[data-nav-element="wrapper"]'),dropdownContents:document.querySelectorAll("[data-desktop-content]"),navlinks:document.querySelectorAll("[data-desktop-navlink]")});document.addEventListener("DOMContentLoaded",()=>{if(window.innerWidth>991){let o=ct();ws(),ks(o.tabLinks,o.tabContents),Ss(o.navItemsWrapper),Ms(o.navItems)}});function ws(){Fe=ct().navigationModeElement?.getAttribute("navigation-mode")||"light",Fe==="light"?console.log("Light mode is enabled \u{1F525}"):Fe==="dark"?(Hr(),console.log("Dark mode is enabled")):console.log("Invalid navigation mode")}function Hr(){ct().navElements.forEach(t=>{switch(t.getAttribute("style-navigation")){case"navbg":t.style.backgroundColor="black";break;case"navlogo":t.style.color="white";break;case"navlink":t.style.color="white";break;case"button-primary":t.style.backgroundColor="white",t.style.color="black";break;case"button-secondary":t.style.color="white";break}})}function Ur(){ct().navElements.forEach(t=>{switch(t.getAttribute("style-navigation")){case"navbg":t.style.backgroundColor="white";break;case"navlogo":t.style.color="black";break;case"navlink":t.style.color="black";break;case"button-primary":t.style.backgroundColor="black",t.style.color="white";break;case"button-secondary":t.style.color="black";break}})}function ks(o,t){if(o.length>0){let e=o[0].getAttribute("data-tab-link");o[0].setAttribute("data-tab-link-active","true"),t.forEach(i=>{i.setAttribute("data-tab-content-active",i.getAttribute("data-tab-content")===e?"true":"false")}),o.forEach(i=>{i.addEventListener("mouseover",function(){let r=this.getAttribute("data-tab-link");o.forEach(n=>n.setAttribute("data-tab-link-active","false")),this.setAttribute("data-tab-link-active","true"),t.forEach(n=>{n.setAttribute("data-tab-content-active",n.getAttribute("data-tab-content")===r?"true":"false")})})})}}function Ss(o){o.forEach(t=>{t.addEventListener("mouseleave",()=>{Ne=!1,Fe==="dark"?Hr():Ur(),Ps()})})}function Ms(o){o.forEach(t=>{t.addEventListener("mouseenter",function(){let e=parseInt(this.getAttribute("data-nav-link")||"0",10);Ne?Br(this,e):(Br(this,e),Ne=!0,Ur())})})}function Br(o,t){nt&&nt.kill(),Ne?(Vr(t),Ds(t),Cs(o,t)):(Vr(t),As(t),Es(o,t),Os(t))}function Os(o){let t=ct(),e=ge[o].height;t.wrapper.style.display="block",t.overlay.style.display="block",j.killTweensOf([t.mover,t.overlay]),nt=j.timeline(),nt.to(t.overlay,{opacity:1,duration:.3,ease:"power2.out"}),nt.to(t.mover,{height:`${e}px`,duration:.4,ease:"power2.out"},"-=0.2")}function Ps(){let o=ct();nt&&nt.kill(),nt=j.timeline(),nt.to(o.mover,{height:0,duration:.3,ease:"power2.in"}),nt.to(o.overlay,{opacity:0,duration:.3,ease:"power2.out"},"-=0.1"),nt.to(o.navlinks,{opacity:1,duration:.2},"-=0.2"),nt.call(()=>{o.wrapper.style.display="none",o.overlay.style.display="none",o.dropdownContents.forEach(t=>{t.style.display="none",t.style.opacity="0"})})}function Cs(o,t){let e=ct(),i=ge[t].height,r=ge[t].width,n=o.getBoundingClientRect(),s=o.parentElement.getBoundingClientRect(),a=n.left-s.left;j.killTweensOf(e.mover),nt=j.timeline(),nt.to(e.mover,{x:a,width:`${r}px`,height:`${i}px`,duration:.2,ease:"power2.out"})}function Es(o,t){let e=ct(),i=ge[t].height,r=ge[t].width,n=o.getBoundingClientRect(),s=o.parentElement.getBoundingClientRect(),a=n.left-s.left;j.set(e.mover,{x:a,height:"0px",width:`${r}px`})}function Ds(o){let t=ct();j.killTweensOf(t.dropdownContents),j.timeline().to(t.dropdownContents,{opacity:0,duration:.15,onComplete:()=>{t.dropdownContents.forEach(r=>{r.style.display="none"});let i=t.dropdownContents[o];i&&(o===0||o===2||o===3?i.style.display="grid":i.style.display="block",j.to(i,{opacity:1,duration:.15}))}})}function As(o){let t=ct();t.dropdownContents.forEach(i=>{i.style.opacity="0",i.style.display="none"});let e=t.dropdownContents[o];e&&(o===0||o===2||o===3?e.style.display="grid":e.style.display="block",j.to(e,{opacity:1,duration:.2,delay:.1}))}function Vr(o){let t=ct(),e=t.navlinks[o];j.killTweensOf(t.navlinks),j.to(t.navlinks,{opacity:.5,duration:.15}),j.to(e,{opacity:1,duration:.15})}})();
2
+ /*! Bundled license information:
3
+
4
+ gsap/gsap-core.js:
5
+ (*!
6
+ * GSAP 3.13.0
7
+ * https://gsap.com
8
+ *
9
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
10
+ * Subject to the terms at https://gsap.com/standard-license
11
+ * @author: Jack Doyle, jack@greensock.com
12
+ *)
13
+
14
+ gsap/CSSPlugin.js:
15
+ (*!
16
+ * CSSPlugin 3.13.0
17
+ * https://gsap.com
18
+ *
19
+ * Copyright 2008-2025, GreenSock. All rights reserved.
20
+ * Subject to the terms at https://gsap.com/standard-license
21
+ * @author: Jack Doyle, jack@greensock.com
22
+ *)
23
+ */