anegis-webflow-new 5.1.10 → 6.0.0
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/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
|
|
101
101
|
gl_FragColor = vec4(finalColor, 1.0);
|
|
102
102
|
}
|
|
103
|
-
`;function g(V,ie,oe){let Q=V.createShader(ie);return Q?(V.shaderSource(Q,oe),V.compileShader(Q),V.getShaderParameter(Q,V.COMPILE_STATUS)?Q:(console.error("Shader compile error:",V.getShaderInfoLog(Q)),V.deleteShader(Q),null)):null}let b=g(d,d.VERTEX_SHADER,m),_=g(d,d.FRAGMENT_SHADER,h);if(!b||!_)return;let v=d.createProgram();if(!v)return;if(d.attachShader(v,b),d.attachShader(v,_),d.linkProgram(v),!d.getProgramParameter(v,d.LINK_STATUS)){console.error("Program link error:",d.getProgramInfoLog(v));return}let w=d.createBuffer();d.bindBuffer(d.ARRAY_BUFFER,w),d.bufferData(d.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),d.STATIC_DRAW);let E=d.getAttribLocation(v,"a_position"),L=d.getUniformLocation(v,"u_time"),T=d.getUniformLocation(v,"u_resolution"),A=d.getUniformLocation(v,"u_color1"),M=d.getUniformLocation(v,"u_color2"),x=d.getUniformLocation(v,"u_colorBg");function P(){let V=window.devicePixelRatio||1,ie=Math.floor(u.clientWidth*V),oe=Math.floor(u.clientHeight*V);(u.width!==ie||u.height!==oe)&&(u.width=ie,u.height=oe),(f.width!==ie||f.height!==oe)&&(f.width=ie,f.height=oe)}let k,I=performance.now(),N=0,G=12,F=.08,C=4,z=null;function ee(){P(),d.viewport(0,0,u.width,u.height),d.useProgram(v);let V=(performance.now()-I)/1e3;d.uniform1f(L,V),d.uniform2f(T,u.width,u.height),d.uniform3f(A,s[0],s[1],s[2]),d.uniform3f(M,l[0],l[1],l[2]),d.uniform3f(x,c[0],c[1],c[2]),d.enableVertexAttribArray(E),d.bindBuffer(d.ARRAY_BUFFER,w),d.vertexAttribPointer(E,2,d.FLOAT,!1,0,0),d.drawArrays(d.TRIANGLES,0,6);let ie=performance.now();if(p&&ie-N>1e3/G){N=ie;let oe=Math.ceil(f.width/C),Q=Math.ceil(f.height/C);if(oe<=0||Q<=0)return;(!z||z.width!==oe||z.height!==Q)&&(z=p.createImageData(oe,Q));let{data:pe}=z;for(let he=0;he<pe.length;he+=4){let ue=(Math.random()-.5)*255*F;pe[he]=128+ue,pe[he+1]=128+ue,pe[he+2]=128+ue,pe[he+3]=255}p.clearRect(0,0,f.width,f.height),p.imageSmoothingEnabled=!1,p.putImageData(z,0,0),p.drawImage(f,0,0,oe,Q,0,0,f.width,f.height)}k=requestAnimationFrame(ee)}ee();let y=new MutationObserver(V=>{for(let ie of V)for(let oe of ie.removedNodes)(oe===u||oe instanceof Element&&oe.contains(u))&&(cancelAnimationFrame(k),y.disconnect())});y.observe(t.parentElement||document.body,{childList:!0,subtree:!0}),requestAnimationFrame(()=>{t.style.opacity="1"})})};function Bs(){document.querySelectorAll(".content-col").forEach(a=>{let e=a.querySelector('[data-scroll="vertical"]'),t=a.querySelector(".content-arrow.is-top"),r=a.querySelector(".content-arrow:not(.is-top)");if(!e)return;let n=Array.from(e.querySelectorAll(".content-col-item"));if(n.length<3)return;let i=n[0].getBoundingClientRect(),s=n[1].getBoundingClientRect().top-i.top,l=s-i.height,c=Math.max(3*i.height+2*l,401),u=document.createElement("div");u.style.cssText=`height: ${c}px; overflow: hidden; position: relative;`,e.parentNode?.insertBefore(u,e),u.appendChild(e);let f=n.length*s-l;e.style.cssText+=`; overflow: visible !important; height: ${f}px !important; min-height: 0 !important; max-height: none !important; will-change: transform;`;let p=n.findIndex(_=>_.classList.contains("is-active"));p===-1&&(p=0);let d=(p-1+n.length)%n.length;for(let _=0;_<d;_++){let v=e.querySelector(".content-col-item");v&&e.appendChild(v)}function m(){Array.from(e.querySelectorAll(".content-col-item")).forEach((_,v)=>{_.classList.toggle("is-active",v===1)})}gsap.set(e,{y:0}),m();let h=!1;function g(){if(h)return;h=!0;let _=e.firstElementChild;e.appendChild(_),gsap.set(e,{y:s}),gsap.to(e,{y:0,duration:.5,ease:"power3.inOut",onComplete(){m(),h=!1}})}function b(){if(h)return;h=!0;let _=Array.from(e.querySelectorAll(".content-col-item")),v=_[_.length-1];e.insertBefore(v,e.firstChild),gsap.set(e,{y:-s}),gsap.to(e,{y:0,duration:.5,ease:"power3.inOut",onComplete(){m(),h=!1}})}t?.addEventListener("click",b),r?.addEventListener("click",g)})}function nr(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function js(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}var gt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ln={duration:.5,overwrite:!1,delay:0},ko,We,fe,Pt=1e8,le=1/Pt,vo=Math.PI*2,Hc=vo/4,Oc=0,Qs=Math.sqrt,Dc=Math.cos,Ic=Math.sin,He=function(e){return typeof e=="string"},we=function(e){return typeof e=="function"},or=function(e){return typeof e=="number"},Mi=function(e){return typeof e>"u"},Kt=function(e){return typeof e=="object"},mt=function(e){return e!==!1},Co=function(){return typeof window<"u"},yi=function(e){return we(e)||He(e)},Zs=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},$e=Array.isArray,Rc=/random\([^)]+\)/g,qc=/,\s*/g,Ws=/(?:-?\.?\d|\.)+/gi,Po=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,zr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,fo=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ho=/[+-]=-?[.\d]+/,Fc=/[^,'"\[\]\s]+/gi,Nc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,_e,Ut,bo,Oo,Et={},Ei={},Js,ea=function(e){return(Ei=cn(e,Et))&&je},Ai=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Fn=function(e,t){return!t&&console.warn(e)},ta=function(e,t){return e&&(Et[e]=t)&&Ei&&(Ei[e]=t)||Et},Nn=function(){return 0},zc={suppressEvents:!0,isStart:!0,kill:!1},vi={suppressEvents:!0,kill:!1},Bc={suppressEvents:!0},Do={},br=[],wo={},ra,pt={},po={},Gs=30,bi=[],Io="",Ro=function(e){var t=e[0],r,n;if(Kt(t)||we(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=bi.length;n--&&!bi[n].targetTest(t););r=bi[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new zo(e[n],r)))||e.splice(n,1);return e},wr=function(e){return e._gsap||Ro(Ht(e))[0]._gsap},qo=function(e,t,r){return(r=e[t])&&we(r)?e[t]():Mi(r)&&e.getAttribute&&e.getAttribute(t)||r},it=function(e,t){return(e=e.split(",")).forEach(t)||e},Ee=function(e){return Math.round(e*1e5)/1e5||0},ge=function(e){return Math.round(e*1e7)/1e7||0},Br=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+n:r==="-"?e-n:r==="*"?e*n:e/n},Wc=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},xi=function(){var e=br.length,t=br.slice(0),r,n;for(wo={},br.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Fo=function(e){return!!(e._initted||e._startAt||e.add)},na=function(e,t,r,n){br.length&&!We&&xi(),e.render(t,r,n||!!(We&&t<0&&Fo(e))),br.length&&!We&&xi()},ia=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Fc).length<2?t:He(e)?e.trim():e},oa=function(e){return e},xt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Gc=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},cn=function(e,t){for(var r in t)e[r]=t[r];return e},Vs=function a(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Kt(t[r])?a(e[r]||(e[r]={}),t[r]):t[r]);return e},Ti=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},In=function(e){var t=e.parent||_e,r=e.keyframes?Gc($e(e.keyframes)):xt;if(mt(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},Vc=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},sa=function(e,t,r,n,i){r===void 0&&(r="_first"),n===void 0&&(n="_last");var o=e[n],s;if(i)for(s=t[i];o&&o[i]>s;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=o,t.parent=t._dp=e,t},ki=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var i=t._prev,o=t._next;i?i._next=o:e[r]===t&&(e[r]=o),o?o._prev=i:e[n]===t&&(e[n]=i),t._next=t._prev=t.parent=null},Er=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},qr=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},Yc=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Eo=function(e,t,r,n){return e._startAt&&(We?e._startAt.revert(vi):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},Uc=function a(e){return!e||e._ts&&a(e.parent)},Ys=function(e){return e._repeat?un(e._tTime,e=e.duration()+e._rDelay)*e:0},un=function(e,t){var r=Math.floor(e=ge(e/t));return e&&r===e?r-1:r},Si=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ci=function(e){return e._end=ge(e._start+(e._tDur/Math.abs(e._ts||e._rts||le)||0))},Pi=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=ge(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ci(e),r._dirty||qr(r,e)),e},aa=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Si(e.rawTime(),t),(!t._dur||Wn(0,t.totalDuration(),r)-t._tTime>le)&&t.render(r,!0)),qr(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-le}},Xt=function(e,t,r,n){return t.parent&&Er(t),t._start=ge((or(r)?r:r||e!==_e?Ct(e,r,t):e._time)+t._delay),t._end=ge(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),sa(e,t,"_first","_last",e._sort?"_start":0),xo(t)||(e._recent=t),n||aa(e,t),e._ts<0&&Pi(e,e._tTime),e},la=function(e,t){return(Et.ScrollTrigger||Ai("scrollTrigger",t))&&Et.ScrollTrigger.create(t,e)},ca=function(e,t,r,n,i){if(Go(e,t,i),!e._initted)return 1;if(!r&&e._pt&&!We&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&ra!==ht.frame)return br.push(e),e._lazy=[i,n],1},Xc=function a(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||a(t))},xo=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Kc=function(e,t,r,n){var i=e.ratio,o=t<0||!t&&(!e._start&&Xc(e)&&!(!e._initted&&xo(e))||(e._ts<0||e._dp._ts<0)&&!xo(e))?0:1,s=e._rDelay,l=0,c,u,f;if(s&&e._repeat&&(l=Wn(0,e._tDur,t),u=un(l,s),e._yoyo&&u&1&&(o=1-o),u!==un(e._tTime,s)&&(i=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==i||We||n||e._zTime===le||!t&&e._zTime){if(!e._initted&&ca(e,t,n,r,l))return;for(f=e._zTime,e._zTime=t||(r?le:0),r||(r=t&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,c=e._pt;c;)c.r(o,c.d),c=c._next;t<0&&Eo(e,t,r,!0),e._onUpdate&&!r&&wt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&wt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&Er(e,1),!r&&!We&&(wt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},$c=function(e,t,r){var n;if(r>t)for(n=e._first;n&&n._start<=r;){if(n.data==="isPause"&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=r;){if(n.data==="isPause"&&n._start<t)return n;n=n._prev}},dn=function(e,t,r,n){var i=e._repeat,o=ge(t)||0,s=e._tTime/e._tDur;return s&&!n&&(e._time*=o/e._dur),e._dur=o,e._tDur=i?i<0?1e10:ge(o*(i+1)+e._rDelay*i):o,s>0&&!n&&Pi(e,e._tTime=e._tDur*s),e.parent&&Ci(e),r||qr(e.parent,e),e},Us=function(e){return e instanceof Be?qr(e):dn(e,e._dur)},jc={_start:0,endTime:Nn,totalDuration:Nn},Ct=function a(e,t,r){var n=e.labels,i=e._recent||jc,o=e.duration()>=Pt?i.endTime(!1):e._dur,s,l,c;return He(t)&&(isNaN(t)||t in n)?(l=t.charAt(0),c=t.substr(-1)==="%",s=t.indexOf("="),l==="<"||l===">"?(s>=0&&(t=t.replace(/=/,"")),(l==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(s<0?i:r).totalDuration()/100:1)):s<0?(t in n||(n[t]=o),n[t]):(l=parseFloat(t.charAt(s-1)+t.substr(s+1)),c&&r&&(l=l/100*($e(r)?r[0]:r).totalDuration()),s>1?a(e,t.substr(0,s-1),r)+l:o+l)):t==null?o:+t},Rn=function(e,t,r){var n=or(t[1]),i=(n?2:1)+(e<2?0:1),o=t[i],s,l;if(n&&(o.duration=t[1]),o.parent=r,e){for(s=o,l=r;l&&!("immediateRender"in s);)s=l.vars.defaults||{},l=mt(l.vars.inherit)&&l.parent;o.immediateRender=mt(s.immediateRender),e<2?o.runBackwards=1:o.startAt=t[i-1]}return new Me(t[0],o,t[i+1])},xr=function(e,t){return e||e===0?t(e):t},Wn=function(e,t,r){return r<e?e:r>t?t:r},Ge=function(e,t){return!He(e)||!(t=Nc.exec(e))?"":t[1]},Qc=function(e,t,r){return xr(r,function(n){return Wn(e,t,n)})},To=[].slice,ua=function(e,t){return e&&Kt(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Kt(e[0]))&&!e.nodeType&&e!==Ut},Zc=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var i;return He(n)&&!t||ua(n,1)?(i=r).push.apply(i,Ht(n)):r.push(n)})||r},Ht=function(e,t,r){return fe&&!t&&fe.selector?fe.selector(e):He(e)&&!r&&(bo||!fn())?To.call((t||Oo).querySelectorAll(e),0):$e(e)?Zc(e,r):ua(e)?To.call(e,0):e?[e]:[]},So=function(e){return e=Ht(e)[0]||Fn("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Ht(t,r.querySelectorAll?r:r===e?Fn("Invalid scope")||Oo.createElement("div"):e)}},da=function(e){return e.sort(function(){return .5-Math.random()})},fa=function(e){if(we(e))return e;var t=Kt(e)?e:{each:e},r=Fr(t.ease),n=t.from||0,i=parseFloat(t.base)||0,o={},s=n>0&&n<1,l=isNaN(n)||s,c=t.axis,u=n,f=n;return He(n)?u=f={center:.5,edges:.5,end:1}[n]||0:!s&&l&&(u=n[0],f=n[1]),function(p,d,m){var h=(m||t).length,g=o[h],b,_,v,w,E,L,T,A,M;if(!g){if(M=t.grid==="auto"?0:(t.grid||[1,Pt])[1],!M){for(T=-Pt;T<(T=m[M++].getBoundingClientRect().left)&&M<h;);M<h&&M--}for(g=o[h]=[],b=l?Math.min(M,h)*u-.5:n%M,_=M===Pt?0:l?h*f/M-.5:n/M|0,T=0,A=Pt,L=0;L<h;L++)v=L%M-b,w=_-(L/M|0),g[L]=E=c?Math.abs(c==="y"?w:v):Qs(v*v+w*w),E>T&&(T=E),E<A&&(A=E);n==="random"&&da(g),g.max=T-A,g.min=A,g.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(M>h?h-1:c?c==="y"?h/M:M:Math.max(M,h/M))||0)*(n==="edges"?-1:1),g.b=h<0?i-h:i,g.u=Ge(t.amount||t.each)||0,r=r&&h<0?wa(r):r}return h=(g[p]-g.min)/g.max||0,ge(g.b+(r?r(h):h)*g.v)+g.u}},Lo=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=ge(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(or(r)?0:Ge(r))}},pa=function(e,t){var r=$e(e),n,i;return!r&&Kt(e)&&(n=r=e.radius||Pt,e.values?(e=Ht(e.values),(i=!or(e[0]))&&(n*=n)):e=Lo(e.increment)),xr(t,r?we(e)?function(o){return i=e(o),Math.abs(i-o)<=n?i:o}:function(o){for(var s=parseFloat(i?o.x:o),l=parseFloat(i?o.y:0),c=Pt,u=0,f=e.length,p,d;f--;)i?(p=e[f].x-s,d=e[f].y-l,p=p*p+d*d):p=Math.abs(e[f]-s),p<c&&(c=p,u=f);return u=!n||c<=n?e[u]:o,i||u===o||or(o)?u:u+Ge(o)}:Lo(e))},ha=function(e,t,r,n){return xr($e(e)?!t:r===!0?!!(r=0):!n,function(){return $e(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*n)/n})},Jc=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return t.reduce(function(i,o){return o(i)},n)}},eu=function(e,t){return function(r){return e(parseFloat(r))+(t||Ge(r))}},tu=function(e,t,r){return ga(e,t,0,1,r)},ma=function(e,t,r){return xr(r,function(n){return e[~~t(n)]})},ru=function a(e,t,r){var n=t-e;return $e(e)?ma(e,a(0,e.length),t):xr(r,function(i){return(n+(i-e)%n)%n+e})},nu=function a(e,t,r){var n=t-e,i=n*2;return $e(e)?ma(e,a(0,e.length-1),t):xr(r,function(o){return o=(i+(o-e)%i)%i||0,e+(o>n?i-o:o)})},pn=function(e){return e.replace(Rc,function(t){var r=t.indexOf("[")+1,n=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(qc);return ha(r?n:+n[0],r?0:+n[1],+n[2]||1e-5)})},ga=function(e,t,r,n,i){var o=t-e,s=n-r;return xr(i,function(l){return r+((l-e)/o*s||0)})},iu=function a(e,t,r,n){var i=isNaN(e+t)?0:function(d){return(1-d)*e+d*t};if(!i){var o=He(e),s={},l,c,u,f,p;if(r===!0&&(n=1)&&(r=null),o)e={p:e},t={p:t};else if($e(e)&&!$e(t)){for(u=[],f=e.length,p=f-2,c=1;c<f;c++)u.push(a(e[c-1],e[c]));f--,i=function(m){m*=f;var h=Math.min(p,~~m);return u[h](m-h)},r=t}else n||(e=cn($e(e)?[]:{},e));if(!u){for(l in t)Bo.call(s,e,l,"get",t[l]);i=function(m){return Uo(m,s)||(o?e.p:e)}}}return xr(r,i)},Xs=function(e,t,r){var n=e.labels,i=Pt,o,s,l;for(o in n)s=n[o]-t,s<0==!!r&&s&&i>(s=Math.abs(s))&&(l=o,i=s);return l},wt=function(e,t,r){var n=e.vars,i=n[t],o=fe,s=e._ctx,l,c,u;if(i)return l=n[t+"Params"],c=n.callbackScope||e,r&&br.length&&xi(),s&&(fe=s),u=l?i.apply(c,l):i.call(c),fe=o,u},On=function(e){return Er(e),e.scrollTrigger&&e.scrollTrigger.kill(!!We),e.progress()<1&&wt(e,"onInterrupt"),e},an,_a=[],ya=function(e){if(e)if(e=!e.name&&e.default||e,Co()||e.headless){var t=e.name,r=we(e),n=t&&!r&&e.init?function(){this._props=[]}:e,i={init:Nn,render:Uo,add:Bo,kill:bu,modifier:vu,rawVars:0},o={targetTest:0,get:0,getSetter:Hi,aliases:{},register:0};if(fn(),e!==n){if(pt[t])return;xt(n,xt(Ti(e,i),o)),cn(n.prototype,cn(i,Ti(e,o))),pt[n.prop=t]=n,e.targetTest&&(bi.push(n),Do[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ta(t,n),e.register&&e.register(je,n,ot)}else _a.push(e)},ae=255,Dn={aqua:[0,ae,ae],lime:[0,ae,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ae],navy:[0,0,128],white:[ae,ae,ae],olive:[128,128,0],yellow:[ae,ae,0],orange:[ae,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ae,0,0],pink:[ae,192,203],cyan:[0,ae,ae],transparent:[ae,ae,ae,0]},ho=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*ae+.5|0},va=function(e,t,r){var n=e?or(e)?[e>>16,e>>8&ae,e&ae]:0:Dn.black,i,o,s,l,c,u,f,p,d,m;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Dn[e])n=Dn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),o=e.charAt(2),s=e.charAt(3),e="#"+i+i+o+o+s+s+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&ae,n&ae,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&ae,e&ae]}else if(e.substr(0,3)==="hsl"){if(n=m=e.match(Ws),!t)l=+n[0]%360/360,c=+n[1]/100,u=+n[2]/100,o=u<=.5?u*(c+1):u+c-u*c,i=u*2-o,n.length>3&&(n[3]*=1),n[0]=ho(l+1/3,i,o),n[1]=ho(l,i,o),n[2]=ho(l-1/3,i,o);else if(~e.indexOf("="))return n=e.match(Po),r&&n.length<4&&(n[3]=1),n}else n=e.match(Ws)||Dn.transparent;n=n.map(Number)}return t&&!m&&(i=n[0]/ae,o=n[1]/ae,s=n[2]/ae,f=Math.max(i,o,s),p=Math.min(i,o,s),u=(f+p)/2,f===p?l=c=0:(d=f-p,c=u>.5?d/(2-f-p):d/(f+p),l=f===i?(o-s)/d+(o<s?6:0):f===o?(s-i)/d+2:(i-o)/d+4,l*=60),n[0]=~~(l+.5),n[1]=~~(c*100+.5),n[2]=~~(u*100+.5)),r&&n.length<4&&(n[3]=1),n},ba=function(e){var t=[],r=[],n=-1;return e.split(ir).forEach(function(i){var o=i.match(zr)||[];t.push.apply(t,o),r.push(n+=o.length+1)}),t.c=r,t},Ks=function(e,t,r){var n="",i=(e+n).match(ir),o=t?"hsla(":"rgba(",s=0,l,c,u,f;if(!i)return e;if(i=i.map(function(p){return(p=va(p,t,1))&&o+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(u=ba(e),l=r.c,l.join(n)!==u.c.join(n)))for(c=e.replace(ir,"1").split(zr),f=c.length-1;s<f;s++)n+=c[s]+(~l.indexOf(s)?i.shift()||o+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!c)for(c=e.split(ir),f=c.length-1;s<f;s++)n+=c[s]+i[s];return n+c[f]},ir=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Dn)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),ou=/hsl[a]?\(/,No=function(e){var t=e.join(" "),r;if(ir.lastIndex=0,ir.test(t))return r=ou.test(t),e[1]=Ks(e[1],r),e[0]=Ks(e[0],r,ba(e[1])),!0},zn,ht=function(){var a=Date.now,e=500,t=33,r=a(),n=r,i=1e3/240,o=i,s=[],l,c,u,f,p,d,m=function h(g){var b=a()-n,_=g===!0,v,w,E,L;if((b>e||b<0)&&(r+=b-t),n+=b,E=n-r,v=E-o,(v>0||_)&&(L=++f.frame,p=E-f.time*1e3,f.time=E=E/1e3,o+=v+(v>=i?4:i-v),w=1),_||(l=c(h)),w)for(d=0;d<s.length;d++)s[d](E,p,L,g)};return f={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){Js&&(!bo&&Co()&&(Ut=bo=window,Oo=Ut.document||{},Et.gsap=je,(Ut.gsapVersions||(Ut.gsapVersions=[])).push(je.version),ea(Ei||Ut.GreenSockGlobals||!Ut.gsap&&Ut||{}),_a.forEach(ya)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),c=u||function(g){return setTimeout(g,o-f.time*1e3+1|0)},zn=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),zn=0,c=Nn},lagSmoothing:function(g,b){e=g||1/0,t=Math.min(b||33,e)},fps:function(g){i=1e3/(g||240),o=f.time*1e3+i},add:function(g,b,_){var v=b?function(w,E,L,T){g(w,E,L,T),f.remove(v)}:g;return f.remove(g),s[_?"unshift":"push"](v),fn(),v},remove:function(g,b){~(b=s.indexOf(g))&&s.splice(b,1)&&d>=b&&d--},_listeners:s},f}(),fn=function(){return!zn&&ht.wake()},J={},su=/^[\d.\-M][\d.\-,\s]/,au=/["']/g,lu=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],i=1,o=r.length,s,l,c;i<o;i++)l=r[i],s=i!==o-1?l.lastIndexOf(","):l.length,c=l.substr(0,s),t[n]=isNaN(c)?c.replace(au,"").trim():+c,n=l.substr(s+1).trim();return t},cu=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)},uu=function(e){var t=(e+"").split("("),r=J[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[lu(t[1])]:cu(e).split(",").map(ia)):J._CE&&su.test(e)?J._CE("",e):r},wa=function(e){return function(t){return 1-e(1-t)}},Ea=function a(e,t){for(var r=e._first,n;r;)r instanceof Be?a(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?a(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},Fr=function(e,t){return e&&(we(e)?e:J[e]||uu(e))||t},Wr=function(e,t,r,n){r===void 0&&(r=function(l){return 1-t(1-l)}),n===void 0&&(n=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var i={easeIn:t,easeOut:r,easeInOut:n},o;return it(e,function(s){J[s]=Et[s]=i,J[o=s.toLowerCase()]=r;for(var l in i)J[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=J[s+"."+l]=i[l]}),i},xa=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},mo=function a(e,t,r){var n=t>=1?t:1,i=(r||(e?.3:.45))/(t<1?t:1),o=i/vo*(Math.asin(1/n)||0),s=function(u){return u===1?1:n*Math.pow(2,-10*u)*Ic((u-o)*i)+1},l=e==="out"?s:e==="in"?function(c){return 1-s(1-c)}:xa(s);return i=vo/i,l.config=function(c,u){return a(e,c,u)},l},go=function a(e,t){t===void 0&&(t=1.70158);var r=function(o){return o?--o*o*((t+1)*o+t)+1:0},n=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:xa(r);return n.config=function(i){return a(e,i)},n};it("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var t=e<5?e+1:e;Wr(a+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});J.Linear.easeNone=J.none=J.Linear.easeIn;Wr("Elastic",mo("in"),mo("out"),mo());(function(a,e){var t=1/e,r=2*t,n=2.5*t,i=function(s){return s<t?a*s*s:s<r?a*Math.pow(s-1.5/e,2)+.75:s<n?a*(s-=2.25/e)*s+.9375:a*Math.pow(s-2.625/e,2)+.984375};Wr("Bounce",function(o){return 1-i(1-o)},i)})(7.5625,2.75);Wr("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});Wr("Circ",function(a){return-(Qs(1-a*a)-1)});Wr("Sine",function(a){return a===1?1:-Dc(a*Hc)+1});Wr("Back",go("in"),go("out"),go());J.SteppedEase=J.steps=Et.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),i=t?1:0,o=1-le;return function(s){return((n*Wn(0,o,s)|0)+i)*r}}};ln.ease=J["quad.out"];it("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return Io+=a+","+a+"Params,"});var zo=function(e,t){this.id=Oc++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:qo,this.set=t?t.getSetter:Hi},Bn=function(){function a(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,dn(this,+t.duration,1,1),this.data=t.data,fe&&(this._ctx=fe,fe.data.push(this)),zn||ht.wake()}var e=a.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,dn(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(fn(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Pi(this,r),!i._dp||i.parent||aa(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Xt(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===le||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),na(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Ys(this))%(this._dur+this._rDelay)||(r?this._dur:0),n):this._time},e.totalProgress=function(r,n){return arguments.length?this.totalTime(this.totalDuration()*r,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Ys(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,n){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,n):this._repeat?un(this._tTime,i)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-le?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Si(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-le?0:this._rts,this.totalTime(Wn(-Math.abs(this._delay),this.totalDuration(),i),n!==!1),Ci(this),Yc(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(fn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==le&&(this._tTime-=le)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=ge(r);var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&Xt(n,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(mt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var n=this.parent||this._dp;return n?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Si(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Bc);var n=We;return We=r,Fo(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),We=n,this},e.globalTime=function(r){for(var n=this,i=arguments.length?r:n.rawTime();n;)i=n._start+i/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Us(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,Us(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,n){return this.totalTime(Ct(this,r),mt(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,mt(n)),this._dur||(this._zTime=-le),this},e.play=function(r,n){return r!=null&&this.seek(r,n),this.reversed(!1).paused(!1)},e.reverse=function(r,n){return r!=null&&this.seek(r||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(r,n){return r!=null&&this.seek(r,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-le:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-le,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=n&&i<this.endTime(!0)-le)},e.eventCallback=function(r,n,i){var o=this.vars;return arguments.length>1?(n?(o[r]=n,i&&(o[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=n)):delete o[r],this):o[r]},e.then=function(r){var n=this,i=n._prom;return new Promise(function(o){var s=we(r)?r:oa,l=function(){var u=n.then;n.then=null,i&&i(),we(s)&&(s=s(n))&&(s.then||s===n)&&(n.then=u),o(s),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?l():n._prom=l})},e.kill=function(){On(this)},a}();xt(Bn.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:-le,_prom:0,_ps:!1,_rts:1});var Be=function(a){js(e,a);function e(r,n){var i;return r===void 0&&(r={}),i=a.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=mt(r.sortChildren),_e&&Xt(r.parent||_e,nr(i),n),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&la(nr(i),r.scrollTrigger),i}var t=e.prototype;return t.to=function(n,i,o){return Rn(0,arguments,this),this},t.from=function(n,i,o){return Rn(1,arguments,this),this},t.fromTo=function(n,i,o,s){return Rn(2,arguments,this),this},t.set=function(n,i,o){return i.duration=0,i.parent=this,In(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Me(n,i,Ct(this,o),1),this},t.call=function(n,i,o){return Xt(this,Me.delayedCall(0,n,i),o)},t.staggerTo=function(n,i,o,s,l,c,u){return o.duration=i,o.stagger=o.stagger||s,o.onComplete=c,o.onCompleteParams=u,o.parent=this,new Me(n,o,Ct(this,l)),this},t.staggerFrom=function(n,i,o,s,l,c,u){return o.runBackwards=1,In(o).immediateRender=mt(o.immediateRender),this.staggerTo(n,i,o,s,l,c,u)},t.staggerFromTo=function(n,i,o,s,l,c,u,f){return s.startAt=o,In(s).immediateRender=mt(s.immediateRender),this.staggerTo(n,i,s,l,c,u,f)},t.render=function(n,i,o){var s=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=n<=0?0:ge(n),f=this._zTime<0!=n<0&&(this._initted||!c),p,d,m,h,g,b,_,v,w,E,L,T;if(this!==_e&&u>l&&n>=0&&(u=l),u!==this._tTime||o||f){if(s!==this._time&&c&&(u+=this._time-s,n+=this._time-s),p=u,w=this._start,v=this._ts,b=!v,f&&(c||(s=this._zTime),(n||!i)&&(this._zTime=n)),this._repeat){if(L=this._yoyo,g=c+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,i,o);if(p=ge(u%g),u===l?(h=this._repeat,p=c):(E=ge(u/g),h=~~E,h&&h===E&&(p=c,h--),p>c&&(p=c)),E=un(this._tTime,g),!s&&this._tTime&&E!==h&&this._tTime-E*g-this._dur<=0&&(E=h),L&&h&1&&(p=c-p,T=1),h!==E&&!this._lock){var A=L&&E&1,M=A===(L&&h&1);if(h<E&&(A=!A),s=A?0:u%c?c:u,this._lock=1,this.render(s||(T?0:ge(h*g)),i,!c)._lock=0,this._tTime=u,!i&&this.parent&&wt(this,"onRepeat"),this.vars.repeatRefresh&&!T&&(this.invalidate()._lock=1,E=h),s&&s!==this._time||b!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,M&&(this._lock=2,s=A?c:-1e-4,this.render(s,!0),this.vars.repeatRefresh&&!T&&this.invalidate()),this._lock=0,!this._ts&&!b)return this;Ea(this,T)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(_=$c(this,ge(s),ge(p)),_&&(u-=p-(p=_._start))),this._tTime=u,this._time=p,this._act=!v,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,s=0),!s&&u&&c&&!i&&!E&&(wt(this,"onStart"),this._tTime!==u))return this;if(p>=s&&n>=0)for(d=this._first;d;){if(m=d._next,(d._act||p>=d._start)&&d._ts&&_!==d){if(d.parent!==this)return this.render(n,i,o);if(d.render(d._ts>0?(p-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(p-d._start)*d._ts,i,o),p!==this._time||!this._ts&&!b){_=0,m&&(u+=this._zTime=-le);break}}d=m}else{d=this._last;for(var x=n<0?n:p;d;){if(m=d._prev,(d._act||x<=d._end)&&d._ts&&_!==d){if(d.parent!==this)return this.render(n,i,o);if(d.render(d._ts>0?(x-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(x-d._start)*d._ts,i,o||We&&Fo(d)),p!==this._time||!this._ts&&!b){_=0,m&&(u+=this._zTime=x?-le:le);break}}d=m}}if(_&&!i&&(this.pause(),_.render(p>=s?0:-le)._zTime=p>=s?1:-1,this._ts))return this._start=w,Ci(this),this.render(n,i,o);this._onUpdate&&!i&&wt(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&s)&&(w===this._start||Math.abs(v)!==Math.abs(this._ts))&&(this._lock||((n||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&Er(this,1),!i&&!(n<0&&!s)&&(u||s||!l)&&(wt(this,u===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,i){var o=this;if(or(i)||(i=Ct(this,i,n)),!(n instanceof Bn)){if($e(n))return n.forEach(function(s){return o.add(s,i)}),this;if(He(n))return this.addLabel(n,i);if(we(n))n=Me.delayedCall(0,n);else return this}return this!==n?Xt(this,n,i):this},t.getChildren=function(n,i,o,s){n===void 0&&(n=!0),i===void 0&&(i=!0),o===void 0&&(o=!0),s===void 0&&(s=-Pt);for(var l=[],c=this._first;c;)c._start>=s&&(c instanceof Me?i&&l.push(c):(o&&l.push(c),n&&l.push.apply(l,c.getChildren(!0,i,o)))),c=c._next;return l},t.getById=function(n){for(var i=this.getChildren(1,1,1),o=i.length;o--;)if(i[o].vars.id===n)return i[o]},t.remove=function(n){return He(n)?this.removeLabel(n):we(n)?this.killTweensOf(n):(n.parent===this&&ki(this,n),n===this._recent&&(this._recent=this._last),qr(this))},t.totalTime=function(n,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ge(ht.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),a.prototype.totalTime.call(this,n,i),this._forcing=0,this):this._tTime},t.addLabel=function(n,i){return this.labels[n]=Ct(this,i),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,i,o){var s=Me.delayedCall(0,i||Nn,o);return s.data="isPause",this._hasPause=1,Xt(this,s,Ct(this,n))},t.removePause=function(n){var i=this._first;for(n=Ct(this,n);i;)i._start===n&&i.data==="isPause"&&Er(i),i=i._next},t.killTweensOf=function(n,i,o){for(var s=this.getTweensOf(n,o),l=s.length;l--;)vr!==s[l]&&s[l].kill(n,i);return this},t.getTweensOf=function(n,i){for(var o=[],s=Ht(n),l=this._first,c=or(i),u;l;)l instanceof Me?Wc(l._targets,s)&&(c?(!vr||l._initted&&l._ts)&&l.globalTime(0)<=i&&l.globalTime(l.totalDuration())>i:!i||l.isActive())&&o.push(l):(u=l.getTweensOf(s,i)).length&&o.push.apply(o,u),l=l._next;return o},t.tweenTo=function(n,i){i=i||{};var o=this,s=Ct(o,n),l=i,c=l.startAt,u=l.onStart,f=l.onStartParams,p=l.immediateRender,d,m=Me.to(o,xt({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:i.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale())||le,onStart:function(){if(o.pause(),!d){var g=i.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale());m._dur!==g&&dn(m,g,0,1).render(m._time,!0,!0),d=1}u&&u.apply(m,f||[])}},i));return p?m.render(0):m},t.tweenFromTo=function(n,i,o){return this.tweenTo(i,xt({startAt:{time:Ct(this,n)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),Xs(this,Ct(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),Xs(this,Ct(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+le)},t.shiftChildren=function(n,i,o){o===void 0&&(o=0);var s=this._first,l=this.labels,c;for(n=ge(n);s;)s._start>=o&&(s._start+=n,s._end+=n),s=s._next;if(i)for(c in l)l[c]>=o&&(l[c]+=n);return qr(this)},t.invalidate=function(n){var i=this._first;for(this._lock=0;i;)i.invalidate(n),i=i._next;return a.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var i=this._first,o;i;)o=i._next,this.remove(i),i=o;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),qr(this)},t.totalDuration=function(n){var i=0,o=this,s=o._last,l=Pt,c,u,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-n:n));if(o._dirty){for(f=o.parent;s;)c=s._prev,s._dirty&&s.totalDuration(),u=s._start,u>l&&o._sort&&s._ts&&!o._lock?(o._lock=1,Xt(o,s,u-s._delay,1)._lock=0):l=u,u<0&&s._ts&&(i-=u,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=ge(u/o._ts),o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),l=0),s._end>i&&s._ts&&(i=s._end),s=c;dn(o,o===_e&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(n){if(_e._ts&&(na(_e,Si(n,_e)),ra=ht.frame),ht.frame>=Gs){Gs+=gt.autoSleep||120;var i=_e._first;if((!i||!i._ts)&>.autoSleep&&ht._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||ht.sleep()}}},e}(Bn);xt(Be.prototype,{_lock:0,_hasPause:0,_forcing:0});var du=function(e,t,r,n,i,o,s){var l=new ot(this._pt,e,t,0,1,Yo,null,i),c=0,u=0,f,p,d,m,h,g,b,_;for(l.b=r,l.e=n,r+="",n+="",(b=~n.indexOf("random("))&&(n=pn(n)),o&&(_=[r,n],o(_,e,t),r=_[0],n=_[1]),p=r.match(fo)||[];f=fo.exec(n);)m=f[0],h=n.substring(c,f.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),m!==p[u++]&&(g=parseFloat(p[u-1])||0,l._pt={_next:l._pt,p:h||u===1?h:",",s:g,c:m.charAt(1)==="="?Br(g,m)-g:parseFloat(m)-g,m:d&&d<4?Math.round:0},c=fo.lastIndex);return l.c=c<n.length?n.substring(c,n.length):"",l.fp=s,(Ho.test(n)||b)&&(l.e=0),this._pt=l,l},Bo=function(e,t,r,n,i,o,s,l,c,u){we(n)&&(n=n(i||0,e,o));var f=e[t],p=r!=="get"?r:we(f)?c?e[t.indexOf("set")||!we(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():f,d=we(f)?c?gu:La:Vo,m;if(He(n)&&(~n.indexOf("random(")&&(n=pn(n)),n.charAt(1)==="="&&(m=Br(p,n)+(Ge(p)||0),(m||m===0)&&(n=m))),!u||p!==n||Mo)return!isNaN(p*n)&&n!==""?(m=new ot(this._pt,e,t,+p||0,n-(p||0),typeof f=="boolean"?yu:Ma,0,d),c&&(m.fp=c),s&&m.modifier(s,this,e),this._pt=m):(!f&&!(t in e)&&Ai(t,n),du.call(this,e,t,p,n,d,l||gt.stringFilter,c))},fu=function(e,t,r,n,i){if(we(e)&&(e=qn(e,i,t,r,n)),!Kt(e)||e.style&&e.nodeType||$e(e)||Zs(e))return He(e)?qn(e,i,t,r,n):e;var o={},s;for(s in e)o[s]=qn(e[s],i,t,r,n);return o},Wo=function(e,t,r,n,i,o){var s,l,c,u;if(pt[e]&&(s=new pt[e]).init(i,s.rawVars?t[e]:fu(t[e],n,i,o,r),r,n,o)!==!1&&(r._pt=l=new ot(r._pt,i,e,0,1,s.render,s,0,s.priority),r!==an))for(c=r._ptLookup[r._targets.indexOf(i)],u=s._props.length;u--;)c[s._props[u]]=l;return s},vr,Mo,Go=function a(e,t,r){var n=e.vars,i=n.ease,o=n.startAt,s=n.immediateRender,l=n.lazy,c=n.onUpdate,u=n.runBackwards,f=n.yoyoEase,p=n.keyframes,d=n.autoRevert,m=e._dur,h=e._startAt,g=e._targets,b=e.parent,_=b&&b.data==="nested"?b.vars.targets:g,v=e._overwrite==="auto"&&!ko,w=e.timeline,E,L,T,A,M,x,P,k,I,N,G,F,C;if(w&&(!p||!i)&&(i="none"),e._ease=Fr(i,ln.ease),e._yEase=f?wa(Fr(f===!0?i:f,ln.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!w&&!!n.runBackwards,!w||p&&!n.stagger){if(k=g[0]?wr(g[0]).harness:0,F=k&&n[k.prop],E=Ti(n,Do),h&&(h._zTime<0&&h.progress(1),t<0&&u&&s&&!d?h.render(-1,!0):h.revert(u&&m?vi:zc),h._lazy=0),o){if(Er(e._startAt=Me.set(g,xt({data:"isStart",overwrite:!1,parent:b,immediateRender:!0,lazy:!h&&mt(l),startAt:null,delay:0,onUpdate:c&&function(){return wt(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(We||!s&&!d)&&e._startAt.revert(vi),s&&m&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&m&&!h){if(t&&(s=!1),T=xt({overwrite:!1,data:"isFromStart",lazy:s&&!h&&mt(l),immediateRender:s,stagger:0,parent:b},E),F&&(T[k.prop]=F),Er(e._startAt=Me.set(g,T)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(We?e._startAt.revert(vi):e._startAt.render(-1,!0)),e._zTime=t,!s)a(e._startAt,le,le);else if(!t)return}for(e._pt=e._ptCache=0,l=m&&mt(l)||l&&!m,L=0;L<g.length;L++){if(M=g[L],P=M._gsap||Ro(g)[L]._gsap,e._ptLookup[L]=N={},wo[P.id]&&br.length&&xi(),G=_===g?L:_.indexOf(M),k&&(I=new k).init(M,F||E,e,G,_)!==!1&&(e._pt=A=new ot(e._pt,M,I.name,0,1,I.render,I,0,I.priority),I._props.forEach(function(z){N[z]=A}),I.priority&&(x=1)),!k||F)for(T in E)pt[T]&&(I=Wo(T,E,e,G,M,_))?I.priority&&(x=1):N[T]=A=Bo.call(e,M,T,"get",E[T],G,_,0,n.stringFilter);e._op&&e._op[L]&&e.kill(M,e._op[L]),v&&e._pt&&(vr=e,_e.killTweensOf(M,N,e.globalTime(t)),C=!e.parent,vr=0),e._pt&&l&&(wo[P.id]=1)}x&&Xo(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!C,p&&t<=0&&w.render(Pt,!0,!0)},pu=function(e,t,r,n,i,o,s,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,f,p,d;if(!c)for(c=e._ptCache[t]=[],p=e._ptLookup,d=e._targets.length;d--;){if(u=p[d][t],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return Mo=1,e.vars[t]="+=0",Go(e,s),Mo=0,l?Fn(t+" not eligible for reset"):1;c.push(u)}for(d=c.length;d--;)f=c[d],u=f._pt||f,u.s=(n||n===0)&&!i?n:u.s+(n||0)+o*u.c,u.c=r-u.s,f.e&&(f.e=Ee(r)+Ge(f.e)),f.b&&(f.b=u.s+Ge(f.b))},hu=function(e,t){var r=e[0]?wr(e[0]).harness:0,n=r&&r.aliases,i,o,s,l;if(!n)return t;i=cn({},t);for(o in n)if(o in i)for(l=n[o].split(","),s=l.length;s--;)i[l[s]]=i[o];return i},mu=function(e,t,r,n){var i=t.ease||n||"power1.inOut",o,s;if($e(t))s=r[e]||(r[e]=[]),t.forEach(function(l,c){return s.push({t:c/(t.length-1)*100,v:l,e:i})});else for(o in t)s=r[o]||(r[o]=[]),o==="ease"||s.push({t:parseFloat(e),v:t[o],e:i})},qn=function(e,t,r,n,i){return we(e)?e.call(t,r,n,i):He(e)&&~e.indexOf("random(")?pn(e):e},Ta=Io+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Sa={};it(Ta+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return Sa[a]=1});var Me=function(a){js(e,a);function e(r,n,i,o){var s;typeof n=="number"&&(i.duration=n,n=i,i=null),s=a.call(this,o?n:In(n))||this;var l=s.vars,c=l.duration,u=l.delay,f=l.immediateRender,p=l.stagger,d=l.overwrite,m=l.keyframes,h=l.defaults,g=l.scrollTrigger,b=l.yoyoEase,_=n.parent||_e,v=($e(r)||Zs(r)?or(r[0]):"length"in n)?[r]:Ht(r),w,E,L,T,A,M,x,P;if(s._targets=v.length?Ro(v):Fn("GSAP target "+r+" not found. https://gsap.com",!gt.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=d,m||p||yi(c)||yi(u)){if(n=s.vars,w=s.timeline=new Be({data:"nested",defaults:h||{},targets:_&&_.data==="nested"?_.vars.targets:v}),w.kill(),w.parent=w._dp=nr(s),w._start=0,p||yi(c)||yi(u)){if(T=v.length,x=p&&fa(p),Kt(p))for(A in p)~Ta.indexOf(A)&&(P||(P={}),P[A]=p[A]);for(E=0;E<T;E++)L=Ti(n,Sa),L.stagger=0,b&&(L.yoyoEase=b),P&&cn(L,P),M=v[E],L.duration=+qn(c,nr(s),E,M,v),L.delay=(+qn(u,nr(s),E,M,v)||0)-s._delay,!p&&T===1&&L.delay&&(s._delay=u=L.delay,s._start+=u,L.delay=0),w.to(M,L,x?x(E,M,v):0),w._ease=J.none;w.duration()?c=u=0:s.timeline=0}else if(m){In(xt(w.vars.defaults,{ease:"none"})),w._ease=Fr(m.ease||n.ease||"none");var k=0,I,N,G;if($e(m))m.forEach(function(F){return w.to(v,F,">")}),w.duration();else{L={};for(A in m)A==="ease"||A==="easeEach"||mu(A,m[A],L,m.easeEach);for(A in L)for(I=L[A].sort(function(F,C){return F.t-C.t}),k=0,E=0;E<I.length;E++)N=I[E],G={ease:N.e,duration:(N.t-(E?I[E-1].t:0))/100*c},G[A]=N.v,w.to(v,G,k),k+=G.duration;w.duration()<c&&w.to({},{duration:c-w.duration()})}}c||s.duration(c=w.duration())}else s.timeline=0;return d===!0&&!ko&&(vr=nr(s),_e.killTweensOf(v),vr=0),Xt(_,nr(s),i),n.reversed&&s.reverse(),n.paused&&s.paused(!0),(f||!c&&!m&&s._start===ge(_._time)&&mt(f)&&Uc(nr(s))&&_.data!=="nested")&&(s._tTime=-le,s.render(Math.max(0,-u)||0)),g&&la(nr(s),g),s}var t=e.prototype;return t.render=function(n,i,o){var s=this._time,l=this._tDur,c=this._dur,u=n<0,f=n>l-le&&!u?l:n<le?0:n,p,d,m,h,g,b,_,v,w;if(!c)Kc(this,n,i,o);else if(f!==this._tTime||!n||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(p=f,v=this.timeline,this._repeat){if(h=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(h*100+n,i,o);if(p=ge(f%h),f===l?(m=this._repeat,p=c):(g=ge(f/h),m=~~g,m&&m===g?(p=c,m--):p>c&&(p=c)),b=this._yoyo&&m&1,b&&(w=this._yEase,p=c-p),g=un(this._tTime,h),p===s&&!o&&this._initted&&m===g)return this._tTime=f,this;m!==g&&(v&&this._yEase&&Ea(v,b),this.vars.repeatRefresh&&!b&&!this._lock&&p!==h&&this._initted&&(this._lock=o=1,this.render(ge(h*m),!0).invalidate()._lock=0))}if(!this._initted){if(ca(this,u?n:p,o,i,f))return this._tTime=0,this;if(s!==this._time&&!(o&&this.vars.repeatRefresh&&m!==g))return this;if(c!==this._dur)return this.render(n,i,o)}if(this._tTime=f,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=_=(w||this._ease)(p/c),this._from&&(this.ratio=_=1-_),!s&&f&&!i&&!g&&(wt(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(_,d.d),d=d._next;v&&v.render(n<0?n:v._dur*v._ease(p/this._dur),i,o)||this._startAt&&(this._zTime=n),this._onUpdate&&!i&&(u&&Eo(this,n,i,o),wt(this,"onUpdate")),this._repeat&&m!==g&&this.vars.onRepeat&&!i&&this.parent&&wt(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&Eo(this,n,!0,!0),(n||!c)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Er(this,1),!i&&!(u&&!s)&&(f||s||b)&&(wt(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),a.prototype.invalidate.call(this,n)},t.resetTo=function(n,i,o,s,l){zn||ht.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Go(this,c),u=this._ease(c/this._dur),pu(this,n,i,o,s,u,c,l)?this.resetTo(n,i,o,s,1):(Pi(this,0),this.parent||sa(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,i){if(i===void 0&&(i="all"),!n&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?On(this):this.scrollTrigger&&this.scrollTrigger.kill(!!We),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,i,vr&&vr.vars.overwrite!==!0)._first||On(this),this.parent&&o!==this.timeline.totalDuration()&&dn(this,this._dur*this.timeline._tDur/o,0,1),this}var s=this._targets,l=n?Ht(n):s,c=this._ptLookup,u=this._pt,f,p,d,m,h,g,b;if((!i||i==="all")&&Vc(s,l))return i==="all"&&(this._pt=0),On(this);for(f=this._op=this._op||[],i!=="all"&&(He(i)&&(h={},it(i,function(_){return h[_]=1}),i=h),i=hu(s,i)),b=s.length;b--;)if(~l.indexOf(s[b])){p=c[b],i==="all"?(f[b]=i,m=p,d={}):(d=f[b]=f[b]||{},m=i);for(h in m)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&ki(this,g,"_pt"),delete p[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&u&&On(this),this},e.to=function(n,i){return new e(n,i,arguments[2])},e.from=function(n,i){return Rn(1,arguments)},e.delayedCall=function(n,i,o,s){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:i,onReverseComplete:i,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:s})},e.fromTo=function(n,i,o){return Rn(2,arguments)},e.set=function(n,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(n,i)},e.killTweensOf=function(n,i,o){return _e.killTweensOf(n,i,o)},e}(Bn);xt(Me.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});it("staggerTo,staggerFrom,staggerFromTo",function(a){Me[a]=function(){var e=new Be,t=To.call(arguments,0);return t.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,t)}});var Vo=function(e,t,r){return e[t]=r},La=function(e,t,r){return e[t](r)},gu=function(e,t,r,n){return e[t](n.fp,r)},_u=function(e,t,r){return e.setAttribute(t,r)},Hi=function(e,t){return we(e[t])?La:Mi(e[t])&&e.setAttribute?_u:Vo},Ma=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},yu=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Yo=function(e,t){var r=t._pt,n="";if(!e&&t.b)n=t.b;else if(e===1&&t.e)n=t.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+n,r=r._next;n+=t.c}t.set(t.t,t.p,n,t)},Uo=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},vu=function(e,t,r,n){for(var i=this._pt,o;i;)o=i._next,i.p===n&&i.modifier(e,t,r),i=o},bu=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?ki(this,t,"_pt"):t.dep||(r=1),t=n;return!r},wu=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Xo=function(e){for(var t=e._pt,r,n,i,o;t;){for(r=t._next,n=i;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:o)?t._prev._next=t:i=t,(t._next=n)?n._prev=t:o=t,t=r}e._pt=i},ot=function(){function a(t,r,n,i,o,s,l,c,u){this.t=r,this.s=i,this.c=o,this.p=n,this.r=s||Ma,this.d=l||this,this.set=c||Vo,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=a.prototype;return e.modifier=function(r,n,i){this.mSet=this.mSet||this.set,this.set=wu,this.m=r,this.mt=i,this.tween=n},a}();it(Io+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(a){return Do[a]=1});Et.TweenMax=Et.TweenLite=Me;Et.TimelineLite=Et.TimelineMax=Be;_e=new Be({sortChildren:!1,defaults:ln,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});gt.stringFilter=No;var Nr=[],wi={},Eu=[],$s=0,xu=0,_o=function(e){return(wi[e]||Eu).map(function(t){return t()})},Ao=function(){var e=Date.now(),t=[];e-$s>2&&(_o("matchMediaInit"),Nr.forEach(function(r){var n=r.queries,i=r.conditions,o,s,l,c;for(s in n)o=Ut.matchMedia(n[s]).matches,o&&(l=1),o!==i[s]&&(i[s]=o,c=1);c&&(r.revert(),l&&t.push(r))}),_o("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),$s=e,_o("matchMedia"))},Aa=function(){function a(t,r){this.selector=r&&So(r),this.data=[],this._r=[],this.isReverted=!1,this.id=xu++,t&&this.add(t)}var e=a.prototype;return e.add=function(r,n,i){we(r)&&(i=n,n=r,r=we);var o=this,s=function(){var c=fe,u=o.selector,f;return c&&c!==o&&c.data.push(o),i&&(o.selector=So(i)),fe=o,f=n.apply(o,arguments),we(f)&&o._r.push(f),fe=c,o.selector=u,o.isReverted=!1,f};return o.last=s,r===we?s(o,function(l){return o.add(null,l)}):r?o[r]=s:s},e.ignore=function(r){var n=fe;fe=null,r(this),fe=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof a?r.push.apply(r,n.getTweens()):n instanceof Me&&!(n.parent&&n.parent.data==="nested")&&r.push(n)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,n){var i=this;if(r?function(){for(var s=i.getTweens(),l=i.data.length,c;l--;)c=i.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return s.splice(s.indexOf(u),1)}));for(s.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,f){return f.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=i.data.length;l--;)c=i.data[l],c instanceof Be?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Me)&&c.revert&&c.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0}():this.data.forEach(function(s){return s.kill&&s.kill()}),this.clear(),n)for(var o=Nr.length;o--;)Nr[o].id===this.id&&Nr.splice(o,1)},e.revert=function(r){this.kill(r||{})},a}(),Tu=function(){function a(t){this.contexts=[],this.scope=t,fe&&fe.data.push(this)}var e=a.prototype;return e.add=function(r,n,i){Kt(r)||(r={matches:r});var o=new Aa(0,i||this.scope),s=o.conditions={},l,c,u;fe&&!o.selector&&(o.selector=fe.selector),this.contexts.push(o),n=o.add("onMatch",n),o.queries=r;for(c in r)c==="all"?u=1:(l=Ut.matchMedia(r[c]),l&&(Nr.indexOf(o)<0&&Nr.push(o),(s[c]=l.matches)&&(u=1),l.addListener?l.addListener(Ao):l.addEventListener("change",Ao)));return u&&n(o,function(f){return o.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},a}(),Li={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(n){return ya(n)})},timeline:function(e){return new Be(e)},getTweensOf:function(e,t){return _e.getTweensOf(e,t)},getProperty:function(e,t,r,n){He(e)&&(e=Ht(e)[0]);var i=wr(e||{}).get,o=r?oa:ia;return r==="native"&&(r=""),e&&(t?o((pt[t]&&pt[t].get||i)(e,t,r,n)):function(s,l,c){return o((pt[s]&&pt[s].get||i)(e,s,l,c))})},quickSetter:function(e,t,r){if(e=Ht(e),e.length>1){var n=e.map(function(u){return je.quickSetter(u,t,r)}),i=n.length;return function(u){for(var f=i;f--;)n[f](u)}}e=e[0]||{};var o=pt[t],s=wr(e),l=s.harness&&(s.harness.aliases||{})[t]||t,c=o?function(u){var f=new o;an._pt=0,f.init(e,r?u+r:u,an,0,[e]),f.render(1,f),an._pt&&Uo(1,an)}:s.set(e,l);return o?c:function(u){return c(e,l,r?u+r:u,s,1)}},quickTo:function(e,t,r){var n,i=je.to(e,xt((n={},n[t]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),o=function(l,c,u){return i.resetTo(t,l,c,u)};return o.tween=i,o},isTweening:function(e){return _e.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Fr(e.ease,ln.ease)),Vs(ln,e||{})},config:function(e){return Vs(gt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,i=e.defaults,o=e.extendTimeline;(n||"").split(",").forEach(function(s){return s&&!pt[s]&&!Et[s]&&Fn(t+" effect requires "+s+" plugin.")}),po[t]=function(s,l,c){return r(Ht(s),xt(l||{},i),c)},o&&(Be.prototype[t]=function(s,l,c){return this.add(po[t](s,Kt(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){J[e]=Fr(t)},parseEase:function(e,t){return arguments.length?Fr(e,t):J},getById:function(e){return _e.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Be(e),n,i;for(r.smoothChildTiming=mt(e.smoothChildTiming),_e.remove(r),r._dp=0,r._time=r._tTime=_e._time,n=_e._first;n;)i=n._next,(t||!(!n._dur&&n instanceof Me&&n.vars.onComplete===n._targets[0]))&&Xt(r,n,n._start-n._delay),n=i;return Xt(_e,r,0),r},context:function(e,t){return e?new Aa(e,t):fe},matchMedia:function(e){return new Tu(e)},matchMediaRefresh:function(){return Nr.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||Ao()},addEventListener:function(e,t){var r=wi[e]||(wi[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=wi[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:ru,wrapYoyo:nu,distribute:fa,random:ha,snap:pa,normalize:tu,getUnit:Ge,clamp:Qc,splitColor:va,toArray:Ht,selector:So,mapRange:ga,pipe:Jc,unitize:eu,interpolate:iu,shuffle:da},install:ea,effects:po,ticker:ht,updateRoot:Be.updateRoot,plugins:pt,globalTimeline:_e,core:{PropTween:ot,globals:ta,Tween:Me,Timeline:Be,Animation:Bn,getCache:wr,_removeLinkedListItem:ki,reverting:function(){return We},context:function(e){return e&&fe&&(fe.data.push(e),e._ctx=fe),fe},suppressOverwrites:function(e){return ko=e}}};it("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return Li[a]=Me[a]});ht.add(Be.updateRoot);an=Li.to({},{duration:0});var Su=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Lu=function(e,t){var r=e._targets,n,i,o;for(n in t)for(i=r.length;i--;)o=e._ptLookup[i][n],o&&(o=o.d)&&(o._pt&&(o=Su(o,n)),o&&o.modifier&&o.modifier(t[n],e,r[i],n))},yo=function(e,t){return{name:e,headless:1,rawVars:1,init:function(n,i,o){o._onInit=function(s){var l,c;if(He(i)&&(l={},it(i,function(u){return l[u]=1}),i=l),t){l={};for(c in i)l[c]=t(i[c]);i=l}Lu(s,i)}}}},je=Li.registerPlugin({name:"attr",init:function(e,t,r,n,i){var o,s,l;this.tween=r;for(o in t)l=e.getAttribute(o)||"",s=this.add(e,"setAttribute",(l||0)+"",t[o],n,i,0,0,o),s.op=o,s.b=l,this._props.push(o)},render:function(e,t){for(var r=t._pt;r;)We?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},yo("roundProps",Lo),yo("modifiers"),yo("snap",pa))||Li;Me.version=Be.version=je.version="3.14.2";Js=1;Co()&&fn();var Mu=J.Power0,Au=J.Power1,ku=J.Power2,Cu=J.Power3,Pu=J.Power4,Hu=J.Linear,Ou=J.Quad,Du=J.Cubic,Iu=J.Quart,Ru=J.Quint,qu=J.Strong,Fu=J.Elastic,Nu=J.Back,zu=J.SteppedEase,Bu=J.Bounce,Wu=J.Sine,Gu=J.Expo,Vu=J.Circ;var ka,Tr,mn,Jo,Ur,Yu,Ca,es,Uu=function(){return typeof window<"u"},ar={},Yr=180/Math.PI,gn=Math.PI/180,hn=Math.atan2,Pa=1e8,ts=/([A-Z])/g,Xu=/(left|right|width|margin|padding|x)/i,Ku=/[\s,\(]\S/,$t={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},$o=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},$u=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},ju=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Qu=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Zu=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Na=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},za=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},Ju=function(e,t,r){return e.style[t]=r},ed=function(e,t,r){return e.style.setProperty(t,r)},td=function(e,t,r){return e._gsap[t]=r},rd=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},nd=function(e,t,r,n,i){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(i,o)},id=function(e,t,r,n,i){var o=e._gsap;o[t]=r,o.renderTransform(i,o)},ye="transform",_t=ye+"Origin",od=function a(e,t){var r=this,n=this.target,i=n.style,o=n._gsap;if(e in ar&&i){if(this.tfm=this.tfm||{},e!=="transform")e=$t[e]||e,~e.indexOf(",")?e.split(",").forEach(function(s){return r.tfm[s]=sr(n,s)}):this.tfm[e]=o.x?o[e]:sr(n,e),e===_t&&(this.tfm.zOrigin=o.zOrigin);else return $t.transform.split(",").forEach(function(s){return a.call(r,s,t)});if(this.props.indexOf(ye)>=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(_t,t,"")),e=ye}(i||t)&&this.props.push(e,t,i[e])},Ba=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},sd=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,i,o;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(ts,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)n[o]=this.tfm[o];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=es(),(!i||!i.isStart)&&!r[ye]&&(Ba(r),n.zOrigin&&r[_t]&&(r[_t]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},Wa=function(e,t){var r={target:e,props:[],revert:sd,save:od};return e._gsap||je.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(n){return r.save(n)}),r},Ga,jo=function(e,t){var r=Tr.createElementNS?Tr.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Tr.createElement(e);return r&&r.style?r:Tr.createElement(e)},Tt=function a(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(ts,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&a(e,_n(t)||t,1)||""},Ha="O,Moz,ms,Ms,Webkit".split(","),_n=function(e,t,r){var n=t||Ur,i=n.style,o=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Ha[o]+e in i););return o<0?null:(o===3?"ms":o>=0?Ha[o]:"")+e},Qo=function(){Uu()&&window.document&&(ka=window,Tr=ka.document,mn=Tr.documentElement,Ur=jo("div")||{style:{}},Yu=jo("div"),ye=_n(ye),_t=ye+"Origin",Ur.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ga=!!_n("perspective"),es=je.core.reverting,Jo=1)},Oa=function(e){var t=e.ownerSVGElement,r=jo("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(!0),i;n.style.display="block",r.appendChild(n),mn.appendChild(r);try{i=n.getBBox()}catch{}return r.removeChild(n),mn.removeChild(r),i},Da=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Va=function(e){var t,r;try{t=e.getBBox()}catch{t=Oa(e),r=1}return t&&(t.width||t.height)||r||(t=Oa(e)),t&&!t.width&&!t.x&&!t.y?{x:+Da(e,["x","cx","x1"])||0,y:+Da(e,["y","cy","y1"])||0,width:0,height:0}:t},Ya=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Va(e))},Lr=function(e,t){if(t){var r=e.style,n;t in ar&&t!==_t&&(t=ye),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(ts,"-$1").toLowerCase())):r.removeAttribute(t)}},Sr=function(e,t,r,n,i,o){var s=new ot(e._pt,t,r,0,1,o?za:Na);return e._pt=s,s.b=n,s.e=i,e._props.push(r),s},Ia={deg:1,rad:1,turn:1},ad={grid:1,flex:1},Mr=function a(e,t,r,n){var i=parseFloat(r)||0,o=(r+"").trim().substr((i+"").length)||"px",s=Ur.style,l=Xu.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),f=100,p=n==="px",d=n==="%",m,h,g,b;if(n===o||!i||Ia[n]||Ia[o])return i;if(o!=="px"&&!p&&(i=a(e,t,r,"px")),b=e.getCTM&&Ya(e),(d||o==="%")&&(ar[t]||~t.indexOf("adius")))return m=b?e.getBBox()[l?"width":"height"]:e[u],Ee(d?i/m*f:i/100*m);if(s[l?"width":"height"]=f+(p?o:n),h=n!=="rem"&&~t.indexOf("adius")||n==="em"&&e.appendChild&&!c?e:e.parentNode,b&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===Tr||!h.appendChild)&&(h=Tr.body),g=h._gsap,g&&d&&g.width&&l&&g.time===ht.time&&!g.uncache)return Ee(i/g.width*f);if(d&&(t==="height"||t==="width")){var _=e.style[t];e.style[t]=f+n,m=e[u],_?e.style[t]=_:Lr(e,t)}else(d||o==="%")&&!ad[Tt(h,"display")]&&(s.position=Tt(e,"position")),h===e&&(s.position="static"),h.appendChild(Ur),m=Ur[u],h.removeChild(Ur),s.position="absolute";return l&&d&&(g=wr(h),g.time=ht.time,g.width=h[u]),Ee(p?m*i/f:m&&i?f/m*i:0)},sr=function(e,t,r,n){var i;return Jo||Qo(),t in $t&&t!=="transform"&&(t=$t[t],~t.indexOf(",")&&(t=t.split(",")[0])),ar[t]&&t!=="transform"?(i=Yn(e,n),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Di(Tt(e,_t))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||n||~(i+"").indexOf("calc("))&&(i=Oi[t]&&Oi[t](e,t,r)||Tt(e,t)||qo(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Mr(e,t,i,r)+r:i},ld=function(e,t,r,n){if(!r||r==="none"){var i=_n(t,e,1),o=i&&Tt(e,i,1);o&&o!==r?(t=i,r=o):t==="borderColor"&&(r=Tt(e,"borderTopColor"))}var s=new ot(this._pt,e.style,t,0,1,Yo),l=0,c=0,u,f,p,d,m,h,g,b,_,v,w,E;if(s.b=r,s.e=n,r+="",n+="",n.substring(0,6)==="var(--"&&(n=Tt(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(h=e.style[t],e.style[t]=n,n=Tt(e,t)||n,h?e.style[t]=h:Lr(e,t)),u=[r,n],No(u),r=u[0],n=u[1],p=r.match(zr)||[],E=n.match(zr)||[],E.length){for(;f=zr.exec(n);)g=f[0],_=n.substring(l,f.index),m?m=(m+1)%5:(_.substr(-5)==="rgba("||_.substr(-5)==="hsla(")&&(m=1),g!==(h=p[c++]||"")&&(d=parseFloat(h)||0,w=h.substr((d+"").length),g.charAt(1)==="="&&(g=Br(d,g)+w),b=parseFloat(g),v=g.substr((b+"").length),l=zr.lastIndex-v.length,v||(v=v||gt.units[t]||w,l===n.length&&(n+=v,s.e+=v)),w!==v&&(d=Mr(e,t,h,v)||0),s._pt={_next:s._pt,p:_||c===1?_:",",s:d,c:b-d,m:m&&m<4||t==="zIndex"?Math.round:0});s.c=l<n.length?n.substring(l,n.length):""}else s.r=t==="display"&&n==="none"?za:Na;return Ho.test(n)&&(s.e=0),this._pt=s,s},Ra={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},cd=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return(r==="top"||r==="bottom"||n==="left"||n==="right")&&(e=r,r=n,n=e),t[0]=Ra[r]||r,t[1]=Ra[n]||n,t.join(" ")},ud=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,i=t.u,o=r._gsap,s,l,c;if(i==="all"||i===!0)n.cssText="",l=1;else for(i=i.split(","),c=i.length;--c>-1;)s=i[c],ar[s]&&(l=1,s=s==="transformOrigin"?_t:ye),Lr(r,s);l&&(Lr(r,ye),o&&(o.svg&&r.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Yn(r,1),o.uncache=1,Ba(n)))}},Oi={clearProps:function(e,t,r,n,i){if(i.data!=="isFromStart"){var o=e._pt=new ot(e._pt,t,r,0,0,ud);return o.u=n,o.pr=-10,o.tween=i,e._props.push(r),1}}},Vn=[1,0,0,1,0,0],Ua={},Xa=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},qa=function(e){var t=Tt(e,ye);return Xa(t)?Vn:t.substr(7).match(Po).map(Ee)},rs=function(e,t){var r=e._gsap||wr(e),n=e.style,i=qa(e),o,s,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,i=[l.a,l.b,l.c,l.d,l.e,l.f],i.join(",")==="1,0,0,1,0,0"?Vn:i):(i===Vn&&!e.offsetParent&&e!==mn&&!r.svg&&(l=n.display,n.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,s=e.nextElementSibling,mn.appendChild(e)),i=qa(e),l?n.display=l:Lr(e,"display"),c&&(s?o.insertBefore(e,s):o?o.appendChild(e):mn.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Zo=function(e,t,r,n,i,o){var s=e._gsap,l=i||rs(e,!0),c=s.xOrigin||0,u=s.yOrigin||0,f=s.xOffset||0,p=s.yOffset||0,d=l[0],m=l[1],h=l[2],g=l[3],b=l[4],_=l[5],v=t.split(" "),w=parseFloat(v[0])||0,E=parseFloat(v[1])||0,L,T,A,M;r?l!==Vn&&(T=d*g-m*h)&&(A=w*(g/T)+E*(-h/T)+(h*_-g*b)/T,M=w*(-m/T)+E*(d/T)-(d*_-m*b)/T,w=A,E=M):(L=Va(e),w=L.x+(~v[0].indexOf("%")?w/100*L.width:w),E=L.y+(~(v[1]||v[0]).indexOf("%")?E/100*L.height:E)),n||n!==!1&&s.smooth?(b=w-c,_=E-u,s.xOffset=f+(b*d+_*h)-b,s.yOffset=p+(b*m+_*g)-_):s.xOffset=s.yOffset=0,s.xOrigin=w,s.yOrigin=E,s.smooth=!!n,s.origin=t,s.originIsAbsolute=!!r,e.style[_t]="0px 0px",o&&(Sr(o,s,"xOrigin",c,w),Sr(o,s,"yOrigin",u,E),Sr(o,s,"xOffset",f,s.xOffset),Sr(o,s,"yOffset",p,s.yOffset)),e.setAttribute("data-svg-origin",w+" "+E)},Yn=function(e,t){var r=e._gsap||new zo(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,i=r.scaleX<0,o="px",s="deg",l=getComputedStyle(e),c=Tt(e,_t)||"0",u,f,p,d,m,h,g,b,_,v,w,E,L,T,A,M,x,P,k,I,N,G,F,C,z,ee,y,V,ie,oe,Q,pe;return u=f=p=h=g=b=_=v=w=0,d=m=1,r.svg=!!(e.getCTM&&Ya(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[ye]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ye]!=="none"?l[ye]:"")),n.scale=n.rotate=n.translate="none"),T=rs(e,r.svg),r.svg&&(r.uncache?(z=e.getBBox(),c=r.xOrigin-z.x+"px "+(r.yOrigin-z.y)+"px",C=""):C=!t&&e.getAttribute("data-svg-origin"),Zo(e,C||c,!!C||r.originIsAbsolute,r.smooth!==!1,T)),E=r.xOrigin||0,L=r.yOrigin||0,T!==Vn&&(P=T[0],k=T[1],I=T[2],N=T[3],u=G=T[4],f=F=T[5],T.length===6?(d=Math.sqrt(P*P+k*k),m=Math.sqrt(N*N+I*I),h=P||k?hn(k,P)*Yr:0,_=I||N?hn(I,N)*Yr+h:0,_&&(m*=Math.abs(Math.cos(_*gn))),r.svg&&(u-=E-(E*P+L*I),f-=L-(E*k+L*N))):(pe=T[6],oe=T[7],y=T[8],V=T[9],ie=T[10],Q=T[11],u=T[12],f=T[13],p=T[14],A=hn(pe,ie),g=A*Yr,A&&(M=Math.cos(-A),x=Math.sin(-A),C=G*M+y*x,z=F*M+V*x,ee=pe*M+ie*x,y=G*-x+y*M,V=F*-x+V*M,ie=pe*-x+ie*M,Q=oe*-x+Q*M,G=C,F=z,pe=ee),A=hn(-I,ie),b=A*Yr,A&&(M=Math.cos(-A),x=Math.sin(-A),C=P*M-y*x,z=k*M-V*x,ee=I*M-ie*x,Q=N*x+Q*M,P=C,k=z,I=ee),A=hn(k,P),h=A*Yr,A&&(M=Math.cos(A),x=Math.sin(A),C=P*M+k*x,z=G*M+F*x,k=k*M-P*x,F=F*M-G*x,P=C,G=z),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,b=180-b),d=Ee(Math.sqrt(P*P+k*k+I*I)),m=Ee(Math.sqrt(F*F+pe*pe)),A=hn(G,F),_=Math.abs(A)>2e-4?A*Yr:0,w=Q?1/(Q<0?-Q:Q):0),r.svg&&(C=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Xa(Tt(e,ye)),C&&e.setAttribute("transform",C))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(d*=-1,_+=h<=0?180:-180,h+=h<=0?180:-180):(m*=-1,_+=_<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=f-((r.yPercent=f&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=p+o,r.scaleX=Ee(d),r.scaleY=Ee(m),r.rotation=Ee(h)+s,r.rotationX=Ee(g)+s,r.rotationY=Ee(b)+s,r.skewX=_+s,r.skewY=v+s,r.transformPerspective=w+o,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(n[_t]=Di(c)),r.xOffset=r.yOffset=0,r.force3D=gt.force3D,r.renderTransform=r.svg?fd:Ga?Ka:dd,r.uncache=0,r},Di=function(e){return(e=e.split(" "))[0]+" "+e[1]},Ko=function(e,t,r){var n=Ge(t);return Ee(parseFloat(t)+parseFloat(Mr(e,"x",r+"px",n)))+n},dd=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ka(e,t)},Gr="0deg",Gn="0px",Vr=") ",Ka=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,l=r.z,c=r.rotation,u=r.rotationY,f=r.rotationX,p=r.skewX,d=r.skewY,m=r.scaleX,h=r.scaleY,g=r.transformPerspective,b=r.force3D,_=r.target,v=r.zOrigin,w="",E=b==="auto"&&e&&e!==1||b===!0;if(v&&(f!==Gr||u!==Gr)){var L=parseFloat(u)*gn,T=Math.sin(L),A=Math.cos(L),M;L=parseFloat(f)*gn,M=Math.cos(L),o=Ko(_,o,T*M*-v),s=Ko(_,s,-Math.sin(L)*-v),l=Ko(_,l,A*M*-v+v)}g!==Gn&&(w+="perspective("+g+Vr),(n||i)&&(w+="translate("+n+"%, "+i+"%) "),(E||o!==Gn||s!==Gn||l!==Gn)&&(w+=l!==Gn||E?"translate3d("+o+", "+s+", "+l+") ":"translate("+o+", "+s+Vr),c!==Gr&&(w+="rotate("+c+Vr),u!==Gr&&(w+="rotateY("+u+Vr),f!==Gr&&(w+="rotateX("+f+Vr),(p!==Gr||d!==Gr)&&(w+="skew("+p+", "+d+Vr),(m!==1||h!==1)&&(w+="scale("+m+", "+h+Vr),_.style[ye]=w||"translate(0, 0)"},fd=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,l=r.rotation,c=r.skewX,u=r.skewY,f=r.scaleX,p=r.scaleY,d=r.target,m=r.xOrigin,h=r.yOrigin,g=r.xOffset,b=r.yOffset,_=r.forceCSS,v=parseFloat(o),w=parseFloat(s),E,L,T,A,M;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=gn,c*=gn,E=Math.cos(l)*f,L=Math.sin(l)*f,T=Math.sin(l-c)*-p,A=Math.cos(l-c)*p,c&&(u*=gn,M=Math.tan(c-u),M=Math.sqrt(1+M*M),T*=M,A*=M,u&&(M=Math.tan(u),M=Math.sqrt(1+M*M),E*=M,L*=M)),E=Ee(E),L=Ee(L),T=Ee(T),A=Ee(A)):(E=f,A=p,L=T=0),(v&&!~(o+"").indexOf("px")||w&&!~(s+"").indexOf("px"))&&(v=Mr(d,"x",o,"px"),w=Mr(d,"y",s,"px")),(m||h||g||b)&&(v=Ee(v+m-(m*E+h*T)+g),w=Ee(w+h-(m*L+h*A)+b)),(n||i)&&(M=d.getBBox(),v=Ee(v+n/100*M.width),w=Ee(w+i/100*M.height)),M="matrix("+E+","+L+","+T+","+A+","+v+","+w+")",d.setAttribute("transform",M),_&&(d.style[ye]=M)},pd=function(e,t,r,n,i){var o=360,s=He(i),l=parseFloat(i)*(s&&~i.indexOf("rad")?Yr:1),c=l-n,u=n+c+"deg",f,p;return s&&(f=i.split("_")[1],f==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),f==="cw"&&c<0?c=(c+o*Pa)%o-~~(c/o)*o:f==="ccw"&&c>0&&(c=(c-o*Pa)%o-~~(c/o)*o)),e._pt=p=new ot(e._pt,t,r,n,c,$u),p.e=u,p.u="deg",e._props.push(r),p},Fa=function(e,t){for(var r in t)e[r]=t[r];return e},hd=function(e,t,r){var n=Fa({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",o=r.style,s,l,c,u,f,p,d,m;n.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),o[ye]=t,s=Yn(r,1),Lr(r,ye),r.setAttribute("transform",c)):(c=getComputedStyle(r)[ye],o[ye]=t,s=Yn(r,1),o[ye]=c);for(l in ar)c=n[l],u=s[l],c!==u&&i.indexOf(l)<0&&(d=Ge(c),m=Ge(u),f=d!==m?Mr(r,l,c,m):parseFloat(c),p=parseFloat(u),e._pt=new ot(e._pt,s,l,f,p-f,$o),e._pt.u=m||0,e._props.push(l));Fa(s,n)};it("padding,margin,Width,Radius",function(a,e){var t="Top",r="Right",n="Bottom",i="Left",o=(e<3?[t,r,n,i]:[t+i,t+r,n+r,n+i]).map(function(s){return e<2?a+s:"border"+s+a});Oi[e>1?"border"+a:a]=function(s,l,c,u,f){var p,d;if(arguments.length<4)return p=o.map(function(m){return sr(s,m,c)}),d=p.join(" "),d.split(p[0]).length===5?p[0]:d;p=(u+"").split(" "),d={},o.forEach(function(m,h){return d[m]=p[h]=p[h]||p[(h-1)/2|0]}),s.init(l,d,f)}});var ns={name:"css",register:Qo,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var o=this._props,s=e.style,l=r.vars.startAt,c,u,f,p,d,m,h,g,b,_,v,w,E,L,T,A,M;Jo||Qo(),this.styles=this.styles||Wa(e),A=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(u=t[h],!(pt[h]&&Wo(h,t,r,n,e,i)))){if(d=typeof u,m=Oi[h],d==="function"&&(u=u.call(r,n,e,i),d=typeof u),d==="string"&&~u.indexOf("random(")&&(u=pn(u)),m)m(this,e,h,u,r)&&(T=1);else if(h.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(h)+"").trim(),u+="",ir.lastIndex=0,ir.test(c)||(g=Ge(c),b=Ge(u),b?g!==b&&(c=Mr(e,h,c,b)+b):g&&(u+=g)),this.add(s,"setProperty",c,u,n,i,0,0,h),o.push(h),A.push(h,0,s[h]);else if(d!=="undefined"){if(l&&h in l?(c=typeof l[h]=="function"?l[h].call(r,n,e,i):l[h],He(c)&&~c.indexOf("random(")&&(c=pn(c)),Ge(c+"")||c==="auto"||(c+=gt.units[h]||Ge(sr(e,h))||""),(c+"").charAt(1)==="="&&(c=sr(e,h))):c=sr(e,h),p=parseFloat(c),_=d==="string"&&u.charAt(1)==="="&&u.substr(0,2),_&&(u=u.substr(2)),f=parseFloat(u),h in $t&&(h==="autoAlpha"&&(p===1&&sr(e,"visibility")==="hidden"&&f&&(p=0),A.push("visibility",0,s.visibility),Sr(this,s,"visibility",p?"inherit":"hidden",f?"inherit":"hidden",!f)),h!=="scale"&&h!=="transform"&&(h=$t[h],~h.indexOf(",")&&(h=h.split(",")[0]))),v=h in ar,v){if(this.styles.save(h),M=u,d==="string"&&u.substring(0,6)==="var(--"){if(u=Tt(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var x=e.style.perspective;e.style.perspective=u,u=Tt(e,"perspective"),x?e.style.perspective=x:Lr(e,"perspective")}f=parseFloat(u)}if(w||(E=e._gsap,E.renderTransform&&!t.parseTransform||Yn(e,t.parseTransform),L=t.smoothOrigin!==!1&&E.smooth,w=this._pt=new ot(this._pt,s,ye,0,1,E.renderTransform,E,0,-1),w.dep=1),h==="scale")this._pt=new ot(this._pt,E,"scaleY",E.scaleY,(_?Br(E.scaleY,_+f):f)-E.scaleY||0,$o),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){A.push(_t,0,s[_t]),u=cd(u),E.svg?Zo(e,u,0,L,0,this):(b=parseFloat(u.split(" ")[2])||0,b!==E.zOrigin&&Sr(this,E,"zOrigin",E.zOrigin,b),Sr(this,s,h,Di(c),Di(u)));continue}else if(h==="svgOrigin"){Zo(e,u,1,L,0,this);continue}else if(h in Ua){pd(this,E,h,p,_?Br(p,_+u):u);continue}else if(h==="smoothOrigin"){Sr(this,E,"smooth",E.smooth,u);continue}else if(h==="force3D"){E[h]=u;continue}else if(h==="transform"){hd(this,u,e);continue}}else h in s||(h=_n(h)||h);if(v||(f||f===0)&&(p||p===0)&&!Ku.test(u)&&h in s)g=(c+"").substr((p+"").length),f||(f=0),b=Ge(u)||(h in gt.units?gt.units[h]:g),g!==b&&(p=Mr(e,h,c,b)),this._pt=new ot(this._pt,v?E:s,h,p,(_?Br(p,_+f):f)-p,!v&&(b==="px"||h==="zIndex")&&t.autoRound!==!1?Zu:$o),this._pt.u=b||0,v&&M!==u?(this._pt.b=c,this._pt.e=M,this._pt.r=Qu):g!==b&&b!=="%"&&(this._pt.b=c,this._pt.r=ju);else if(h in s)ld.call(this,e,h,c,_?_+u:u);else if(h in e)this.add(e,h,c||e[h],_?_+u:u,n,i);else if(h!=="parseTransform"){Ai(h,u);continue}v||(h in s?A.push(h,0,s[h]):typeof e[h]=="function"?A.push(h,2,e[h]()):A.push(h,1,c||e[h])),o.push(h)}}T&&Xo(this)},render:function(e,t){if(t.tween._time||!es())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:sr,aliases:$t,getSetter:function(e,t,r){var n=$t[t];return n&&n.indexOf(",")<0&&(t=n),t in ar&&t!==_t&&(e._gsap.x||sr(e,"x"))?r&&Ca===r?t==="scale"?rd:td:(Ca=r||{})&&(t==="scale"?nd:id):e.style&&!Mi(e.style[t])?Ju:~t.indexOf("-")?ed:Hi(e,t)},core:{_removeProperty:Lr,_getMatrix:rs}};je.utils.checkPrefix=_n;je.core.getStyleSaver=Wa;(function(a,e,t,r){var n=it(a+","+e+","+t,function(i){ar[i]=1});it(e,function(i){gt.units[i]="deg",Ua[i]=1}),$t[n[13]]=a+","+e,it(r,function(i){var o=i.split(":");$t[o[1]]=n[o[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");it("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){gt.units[a]="px"});je.registerPlugin(ns);var Re=je.registerPlugin(ns)||je,pf=Re.core.Tween;var $a=()=>{document.querySelectorAll(".circle-arrow_wrapper").forEach(e=>{let t=e.querySelector("svg");if(!t)return;let r=t.querySelector("path:last-of-type"),n=e.closest(".header_main-decor");n&&(n.style.opacity="1"),Re.fromTo(t,{y:10,rotation:-12,transformOrigin:"50% 50%"},{y:-15,rotation:0,duration:1.4,ease:"power2.out",delay:.2}),r&&Re.fromTo(r,{x:0,y:0},{x:18,y:-8,duration:1.6,ease:"power2.out",delay:.2})})};function ja(a,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(a,r.key,r)}}function md(a,e,t){return e&&ja(a.prototype,e),t&&ja(a,t),a}var Ve,qi,gd,St,Ar,kr,vn,Za,Xr,Xn,Ja,lr,Bt,el,tl=function(){return Ve||typeof window<"u"&&(Ve=window.gsap)&&Ve.registerPlugin&&Ve},rl=1,yn=[],X=[],Wt=[],Kn=Date.now,is=function(e,t){return t},_d=function(){var e=Xn.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,X),n.push.apply(n,Wt),X=r,Wt=n,is=function(o,s){return t[o](s)}},ur=function(e,t){return~Wt.indexOf(e)&&Wt[Wt.indexOf(e)+1][t]},$n=function(e){return!!~Ja.indexOf(e)},at=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:n!==!1,capture:!!i})},st=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Ii="scrollLeft",Ri="scrollTop",os=function(){return lr&&lr.isPressed||X.cache++},Fi=function(e,t){var r=function n(i){if(i||i===0){rl&&(St.history.scrollRestoration="manual");var o=lr&&lr.isPressed;i=n.v=Math.round(i)||(lr&&lr.iOS?1:0),e(i),n.cacheID=X.cache,o&&is("ss",i)}else(t||X.cache!==n.cacheID||is("ref"))&&(n.cacheID=X.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},Qe={s:Ii,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Fi(function(a){return arguments.length?St.scrollTo(a,ke.sc()):St.pageXOffset||Ar[Ii]||kr[Ii]||vn[Ii]||0})},ke={s:Ri,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Qe,sc:Fi(function(a){return arguments.length?St.scrollTo(Qe.sc(),a):St.pageYOffset||Ar[Ri]||kr[Ri]||vn[Ri]||0})},lt=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ve.utils.toArray)(e)[0]||(typeof e=="string"&&Ve.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},yd=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},cr=function(e,t){var r=t.s,n=t.sc;$n(e)&&(e=Ar.scrollingElement||kr);var i=X.indexOf(e),o=n===ke.sc?1:2;!~i&&(i=X.push(e)-1),X[i+o]||at(e,"scroll",os);var s=X[i+o],l=s||(X[i+o]=Fi(ur(e,r),!0)||($n(e)?n:Fi(function(c){return arguments.length?e[r]=c:e[r]})));return l.target=e,s||(l.smooth=Ve.getProperty(e,"scrollBehavior")==="smooth"),l},Ni=function(e,t,r){var n=e,i=e,o=Kn(),s=o,l=t||50,c=Math.max(500,l*3),u=function(m,h){var g=Kn();h||g-o>l?(i=n,n=m,s=o,o=g):r?n+=m:n=i+(m-i)/(g-s)*(o-s)},f=function(){i=n=r?0:n,s=o=0},p=function(m){var h=s,g=i,b=Kn();return(m||m===0)&&m!==n&&u(m),o===s||b-s>c?0:(n+(r?g:-g))/((r?b:o)-h)*1e3};return{update:u,reset:f,getVelocity:p}},Un=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Qa=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},nl=function(){Xn=Ve.core.globals().ScrollTrigger,Xn&&Xn.core&&_d()},il=function(e){return Ve=e||tl(),!qi&&Ve&&typeof document<"u"&&document.body&&(St=window,Ar=document,kr=Ar.documentElement,vn=Ar.body,Ja=[St,Ar,kr,vn],gd=Ve.utils.clamp,el=Ve.core.context||function(){},Xr="onpointerenter"in vn?"pointer":"mouse",Za=xe.isTouch=St.matchMedia&&St.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in St||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Bt=xe.eventTypes=("ontouchstart"in kr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in kr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return rl=0},500),nl(),qi=1),qi};Qe.op=ke;X.cache=0;var xe=function(){function a(t){this.init(t)}var e=a.prototype;return e.init=function(r){qi||il(Ve)||console.warn("Please gsap.registerPlugin(Observer)"),Xn||nl();var n=r.tolerance,i=r.dragMinimum,o=r.type,s=r.target,l=r.lineHeight,c=r.debounce,u=r.preventDefault,f=r.onStop,p=r.onStopDelay,d=r.ignore,m=r.wheelSpeed,h=r.event,g=r.onDragStart,b=r.onDragEnd,_=r.onDrag,v=r.onPress,w=r.onRelease,E=r.onRight,L=r.onLeft,T=r.onUp,A=r.onDown,M=r.onChangeX,x=r.onChangeY,P=r.onChange,k=r.onToggleX,I=r.onToggleY,N=r.onHover,G=r.onHoverEnd,F=r.onMove,C=r.ignoreCheck,z=r.isNormalizer,ee=r.onGestureStart,y=r.onGestureEnd,V=r.onWheel,ie=r.onEnable,oe=r.onDisable,Q=r.onClick,pe=r.scrollSpeed,he=r.capture,ue=r.allowClicks,tt=r.lockAxis,Ye=r.onLockAxis;this.target=s=lt(s)||kr,this.vars=r,d&&(d=Ve.utils.toArray(d)),n=n||1e-9,i=i||0,m=m||1,pe=pe||1,o=o||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(St.getComputedStyle(vn).lineHeight)||22);var pr,rt,nt,te,Te,ft,yt,S=this,vt=0,Zt=0,hr=r.passive||!u&&r.passive!==!1,ve=cr(s,Qe),Jt=cr(s,ke),mr=ve(),Hr=Jt(),De=~o.indexOf("touch")&&!~o.indexOf("pointer")&&Bt[0]==="pointerdown",gr=$n(s),Se=s.ownerDocument||Ar,Rt=[0,0,0],kt=[0,0,0],er=0,kn=function(){return er=Kn()},Ae=function(R,re){return(S.event=R)&&d&&yd(R.target,d)||re&&De&&R.pointerType!=="touch"||C&&C(R,re)},mi=function(){S._vx.reset(),S._vy.reset(),rt.pause(),f&&f(S)},tr=function(){var R=S.deltaX=Qa(Rt),re=S.deltaY=Qa(kt),H=Math.abs(R)>=n,B=Math.abs(re)>=n;P&&(H||B)&&P(S,R,re,Rt,kt),H&&(E&&S.deltaX>0&&E(S),L&&S.deltaX<0&&L(S),M&&M(S),k&&S.deltaX<0!=vt<0&&k(S),vt=S.deltaX,Rt[0]=Rt[1]=Rt[2]=0),B&&(A&&S.deltaY>0&&A(S),T&&S.deltaY<0&&T(S),x&&x(S),I&&S.deltaY<0!=Zt<0&&I(S),Zt=S.deltaY,kt[0]=kt[1]=kt[2]=0),(te||nt)&&(F&&F(S),nt&&(g&&nt===1&&g(S),_&&_(S),nt=0),te=!1),ft&&!(ft=!1)&&Ye&&Ye(S),Te&&(V(S),Te=!1),pr=0},nn=function(R,re,H){Rt[H]+=R,kt[H]+=re,S._vx.update(R),S._vy.update(re),c?pr||(pr=requestAnimationFrame(tr)):tr()},on=function(R,re){tt&&!yt&&(S.axis=yt=Math.abs(R)>Math.abs(re)?"x":"y",ft=!0),yt!=="y"&&(Rt[2]+=R,S._vx.update(R,!0)),yt!=="x"&&(kt[2]+=re,S._vy.update(re,!0)),c?pr||(pr=requestAnimationFrame(tr)):tr()},_r=function(R){if(!Ae(R,1)){R=Un(R,u);var re=R.clientX,H=R.clientY,B=re-S.x,D=H-S.y,W=S.isDragging;S.x=re,S.y=H,(W||(B||D)&&(Math.abs(S.startX-re)>=i||Math.abs(S.startY-H)>=i))&&(nt||(nt=W?2:1),W||(S.isDragging=!0),on(B,D))}},Or=S.onPress=function(Y){Ae(Y,1)||Y&&Y.button||(S.axis=yt=null,rt.pause(),S.isPressed=!0,Y=Un(Y),vt=Zt=0,S.startX=S.x=Y.clientX,S.startY=S.y=Y.clientY,S._vx.reset(),S._vy.reset(),at(z?s:Se,Bt[1],_r,hr,!0),S.deltaX=S.deltaY=0,v&&v(S))},j=S.onRelease=function(Y){if(!Ae(Y,1)){st(z?s:Se,Bt[1],_r,!0);var R=!isNaN(S.y-S.startY),re=S.isDragging,H=re&&(Math.abs(S.x-S.startX)>3||Math.abs(S.y-S.startY)>3),B=Un(Y);!H&&R&&(S._vx.reset(),S._vy.reset(),u&&ue&&Ve.delayedCall(.08,function(){if(Kn()-er>300&&!Y.defaultPrevented){if(Y.target.click)Y.target.click();else if(Se.createEvent){var D=Se.createEvent("MouseEvents");D.initMouseEvent("click",!0,!0,St,1,B.screenX,B.screenY,B.clientX,B.clientY,!1,!1,!1,!1,0,null),Y.target.dispatchEvent(D)}}})),S.isDragging=S.isGesturing=S.isPressed=!1,f&&re&&!z&&rt.restart(!0),nt&&tr(),b&&re&&b(S),w&&w(S,H)}},Dr=function(R){return R.touches&&R.touches.length>1&&(S.isGesturing=!0)&&ee(R,S.isDragging)},qt=function(){return(S.isGesturing=!1)||y(S)},Ft=function(R){if(!Ae(R)){var re=ve(),H=Jt();nn((re-mr)*pe,(H-Hr)*pe,1),mr=re,Hr=H,f&&rt.restart(!0)}},Nt=function(R){if(!Ae(R)){R=Un(R,u),V&&(Te=!0);var re=(R.deltaMode===1?l:R.deltaMode===2?St.innerHeight:1)*m;nn(R.deltaX*re,R.deltaY*re,0),f&&!z&&rt.restart(!0)}},Ir=function(R){if(!Ae(R)){var re=R.clientX,H=R.clientY,B=re-S.x,D=H-S.y;S.x=re,S.y=H,te=!0,f&&rt.restart(!0),(B||D)&&on(B,D)}},sn=function(R){S.event=R,N(S)},rr=function(R){S.event=R,G(S)},Cn=function(R){return Ae(R)||Un(R,u)&&Q(S)};rt=S._dc=Ve.delayedCall(p||.25,mi).pause(),S.deltaX=S.deltaY=0,S._vx=Ni(0,50,!0),S._vy=Ni(0,50,!0),S.scrollX=ve,S.scrollY=Jt,S.isDragging=S.isGesturing=S.isPressed=!1,el(this),S.enable=function(Y){return S.isEnabled||(at(gr?Se:s,"scroll",os),o.indexOf("scroll")>=0&&at(gr?Se:s,"scroll",Ft,hr,he),o.indexOf("wheel")>=0&&at(s,"wheel",Nt,hr,he),(o.indexOf("touch")>=0&&Za||o.indexOf("pointer")>=0)&&(at(s,Bt[0],Or,hr,he),at(Se,Bt[2],j),at(Se,Bt[3],j),ue&&at(s,"click",kn,!0,!0),Q&&at(s,"click",Cn),ee&&at(Se,"gesturestart",Dr),y&&at(Se,"gestureend",qt),N&&at(s,Xr+"enter",sn),G&&at(s,Xr+"leave",rr),F&&at(s,Xr+"move",Ir)),S.isEnabled=!0,S.isDragging=S.isGesturing=S.isPressed=te=nt=!1,S._vx.reset(),S._vy.reset(),mr=ve(),Hr=Jt(),Y&&Y.type&&Or(Y),ie&&ie(S)),S},S.disable=function(){S.isEnabled&&(yn.filter(function(Y){return Y!==S&&$n(Y.target)}).length||st(gr?Se:s,"scroll",os),S.isPressed&&(S._vx.reset(),S._vy.reset(),st(z?s:Se,Bt[1],_r,!0)),st(gr?Se:s,"scroll",Ft,he),st(s,"wheel",Nt,he),st(s,Bt[0],Or,he),st(Se,Bt[2],j),st(Se,Bt[3],j),st(s,"click",kn,!0),st(s,"click",Cn),st(Se,"gesturestart",Dr),st(Se,"gestureend",qt),st(s,Xr+"enter",sn),st(s,Xr+"leave",rr),st(s,Xr+"move",Ir),S.isEnabled=S.isPressed=S.isDragging=!1,oe&&oe(S))},S.kill=S.revert=function(){S.disable();var Y=yn.indexOf(S);Y>=0&&yn.splice(Y,1),lr===S&&(lr=0)},yn.push(S),z&&$n(s)&&(lr=S),S.enable(h)},md(a,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),a}();xe.version="3.14.2";xe.create=function(a){return new xe(a)};xe.register=il;xe.getAll=function(){return yn.slice()};xe.getById=function(a){return yn.filter(function(e){return e.vars.id===a})[0]};tl()&&Ve.registerPlugin(xe);var O,En,$,ce,At,ne,bs,to,ci,ri,Qn,zi,Ze,io,ps,ut,ol,sl,xn,El,ss,xl,ct,hs,Tl,Sl,Cr,ms,ws,Tn,Es,ni,gs,as,Bi=1,Je=Date.now,ls=Je(),It=0,Zn=0,al=function(e,t,r){var n=Mt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},ll=function(e,t){return t&&(!Mt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},vd=function a(){return Zn&&requestAnimationFrame(a)},cl=function(){return io=1},ul=function(){return io=0},jt=function(e){return e},Jn=function(e){return Math.round(e*1e5)/1e5||0},Ll=function(){return typeof window<"u"},Ml=function(){return O||Ll()&&(O=window.gsap)&&O.registerPlugin&&O},Jr=function(e){return!!~bs.indexOf(e)},Al=function(e){return(e==="Height"?Es:$["inner"+e])||At["client"+e]||ne["client"+e]},kl=function(e){return ur(e,"getBoundingClientRect")||(Jr(e)?function(){return eo.width=$.innerWidth,eo.height=Es,eo}:function(){return dr(e)})},bd=function(e,t,r){var n=r.d,i=r.d2,o=r.a;return(o=ur(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?Al(i):e["client"+i])||0}},wd=function(e,t){return!t||~Wt.indexOf(e)?kl(e):function(){return eo}},Qt=function(e,t){var r=t.s,n=t.d2,i=t.d,o=t.a;return Math.max(0,(r="scroll"+n)&&(o=ur(e,r))?o()-kl(e)()[i]:Jr(e)?(At[r]||ne[r])-Al(n):e[r]-e["offset"+n])},Wi=function(e,t){for(var r=0;r<xn.length;r+=3)(!t||~t.indexOf(xn[r+1]))&&e(xn[r],xn[r+1],xn[r+2])},Mt=function(e){return typeof e=="string"},et=function(e){return typeof e=="function"},ei=function(e){return typeof e=="number"},Kr=function(e){return typeof e=="object"},jn=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},cs=function(e,t){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e)}):t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},bn=Math.abs,Cl="left",Pl="top",xs="right",Ts="bottom",jr="width",Qr="height",ii="Right",oi="Left",si="Top",ai="Bottom",Ce="padding",Ot="margin",Ln="Width",Ss="Height",Oe="px",Dt=function(e){return $.getComputedStyle(e)},Ed=function(e){var t=Dt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},dl=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},dr=function(e,t){var r=t&&Dt(e)[ps]!=="matrix(1, 0, 0, 1, 0, 0)"&&O.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n},ro=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Hl=function(e){var t=[],r=e.labels,n=e.duration(),i;for(i in r)t.push(r[i]/n);return t},xd=function(e){return function(t){return O.utils.snap(Hl(e),t)}},Ls=function(e){var t=O.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,i){return n-i});return r?function(n,i,o){o===void 0&&(o=.001);var s;if(!i)return t(n);if(i>0){for(n-=o,s=0;s<r.length;s++)if(r[s]>=n)return r[s];return r[s-1]}else for(s=r.length,n+=o;s--;)if(r[s]<=n)return r[s];return r[0]}:function(n,i,o){o===void 0&&(o=.001);var s=t(n);return!i||Math.abs(s-n)<o||s-n<0==i<0?s:t(i<0?n-e:n+e)}},Td=function(e){return function(t,r){return Ls(Hl(e))(t,r.direction)}},Gi=function(e,t,r,n){return r.split(",").forEach(function(i){return e(t,i,n)})},Fe=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},qe=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Vi=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},fl={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Yi={toggleActions:"play",anticipatePin:0},no={top:0,left:0,center:.5,bottom:1,right:1},ji=function(e,t){if(Mt(e)){var r=e.indexOf("="),n=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in no?no[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Ui=function(e,t,r,n,i,o,s,l){var c=i.startColor,u=i.endColor,f=i.fontSize,p=i.indent,d=i.fontWeight,m=ce.createElement("div"),h=Jr(r)||ur(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,b=h?ne:r,_=e.indexOf("start")!==-1,v=_?c:u,w="border-color:"+v+";font-size:"+f+";color:"+v+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return w+="position:"+((g||l)&&h?"fixed;":"absolute;"),(g||l||!h)&&(w+=(n===ke?xs:Ts)+":"+(o+parseFloat(p))+"px;"),s&&(w+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),m._isStart=_,m.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),m.style.cssText=w,m.innerText=t||t===0?e+"-"+t:e,b.children[0]?b.insertBefore(m,b.children[0]):b.appendChild(m),m._offset=m["offset"+n.op.d2],Qi(m,0,n,_),m},Qi=function(e,t,r,n){var i={display:"block"},o=r[n?"os2":"p2"],s=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+Ln]=1,i["border"+s+Ln]=0,i[r.p]=t+"px",O.set(e,i)},K=[],_s={},ui,pl=function(){return Je()-It>34&&(ui||(ui=requestAnimationFrame(fr)))},wn=function(){(!ct||!ct.isPressed||ct.startX>ne.clientWidth)&&(X.cache++,ct?ui||(ui=requestAnimationFrame(fr)):fr(),It||tn("scrollStart"),It=Je())},us=function(){Sl=$.innerWidth,Tl=$.innerHeight},ti=function(e){X.cache++,(e===!0||!Ze&&!xl&&!ce.fullscreenElement&&!ce.webkitFullscreenElement&&(!hs||Sl!==$.innerWidth||Math.abs($.innerHeight-Tl)>$.innerHeight*.25))&&to.restart(!0)},en={},Sd=[],Ol=function a(){return qe(q,"scrollEnd",a)||$r(!0)},tn=function(e){return en[e]&&en[e].map(function(t){return t()})||Sd},Lt=[],Dl=function(e){for(var t=0;t<Lt.length;t+=5)(!e||Lt[t+4]&&Lt[t+4].query===e)&&(Lt[t].style.cssText=Lt[t+1],Lt[t].getBBox&&Lt[t].setAttribute("transform",Lt[t+2]||""),Lt[t+3].uncache=1)},Il=function(){return X.forEach(function(e){return et(e)&&++e.cacheID&&(e.rec=e())})},Ms=function(e,t){var r;for(ut=0;ut<K.length;ut++)r=K[ut],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));ni=!0,t&&Dl(t),t||tn("revert")},Rl=function(e,t){X.cache++,(t||!dt)&&X.forEach(function(r){return et(r)&&r.cacheID++&&(r.rec=0)}),Mt(e)&&($.history.scrollRestoration=ws=e)},dt,Zr=0,hl,Ld=function(){if(hl!==Zr){var e=hl=Zr;requestAnimationFrame(function(){return e===Zr&&$r(!0)})}},ql=function(){ne.appendChild(Tn),Es=!ct&&Tn.offsetHeight||$.innerHeight,ne.removeChild(Tn)},ml=function(e){return ci(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},$r=function(e,t){if(At=ce.documentElement,ne=ce.body,bs=[$,ce,At,ne],It&&!e&&!ni){Fe(q,"scrollEnd",Ol);return}ql(),dt=q.isRefreshing=!0,ni||Il();var r=tn("refreshInit");El&&q.sort(),t||Ms(),X.forEach(function(n){et(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),K.slice(0).forEach(function(n){return n.refresh()}),ni=!1,K.forEach(function(n){if(n._subPinOffset&&n.pin){var i=n.vars.horizontal?"offsetWidth":"offsetHeight",o=n.pin[i];n.revert(!0,1),n.adjustPinSpacing(n.pin[i]-o),n.refresh()}}),gs=1,ml(!0),K.forEach(function(n){var i=Qt(n.scroller,n._dir),o=n.vars.end==="max"||n._endClamp&&n.end>i,s=n._startClamp&&n.start>=i;(o||s)&&n.setPositions(s?i-1:n.start,o?Math.max(s?i:n.start+1,i):n.end,!0)}),ml(!1),gs=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),X.forEach(function(n){et(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Rl(ws,1),to.pause(),Zr++,dt=2,fr(2),K.forEach(function(n){return et(n.vars.onRefresh)&&n.vars.onRefresh(n)}),dt=q.isRefreshing=!1,tn("refresh")},ys=0,Zi=1,li,fr=function(e){if(e===2||!dt&&!ni){q.isUpdating=!0,li&&li.update(0);var t=K.length,r=Je(),n=r-ls>=50,i=t&&K[0].scroll();if(Zi=ys>i?-1:1,dt||(ys=i),n&&(It&&!io&&r-It>200&&(It=0,tn("scrollEnd")),Qn=ls,ls=r),Zi<0){for(ut=t;ut-- >0;)K[ut]&&K[ut].update(0,n);Zi=1}else for(ut=0;ut<t;ut++)K[ut]&&K[ut].update(0,n);q.isUpdating=!1}ui=0},vs=[Cl,Pl,Ts,xs,Ot+ai,Ot+ii,Ot+si,Ot+oi,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Ji=vs.concat([jr,Qr,"boxSizing","max"+Ln,"max"+Ss,"position",Ot,Ce,Ce+si,Ce+ii,Ce+ai,Ce+oi]),Md=function(e,t,r){Sn(r);var n=e._gsap;if(n.spacerIsNative)Sn(n.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},ds=function(e,t,r,n){if(!e._gsap.swappedIn){for(var i=vs.length,o=t.style,s=e.style,l;i--;)l=vs[i],o[l]=r[l];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),s[Ts]=s[xs]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[jr]=ro(e,Qe)+Oe,o[Qr]=ro(e,ke)+Oe,o[Ce]=s[Ot]=s[Pl]=s[Cl]="0",Sn(n),s[jr]=s["max"+Ln]=r[jr],s[Qr]=s["max"+Ss]=r[Qr],s[Ce]=r[Ce],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Ad=/([A-Z])/g,Sn=function(e){if(e){var t=e.t.style,r=e.length,n=0,i,o;for((e.t._gsap||O.core.getCache(e.t)).uncache=1;n<r;n+=2)o=e[n+1],i=e[n],o?t[i]=o:t[i]&&t.removeProperty(i.replace(Ad,"-$1").toLowerCase())}},Xi=function(e){for(var t=Ji.length,r=e.style,n=[],i=0;i<t;i++)n.push(Ji[i],r[Ji[i]]);return n.t=e,n},kd=function(e,t,r){for(var n=[],i=e.length,o=r?8:0,s;o<i;o+=2)s=e[o],n.push(s,s in t?t[s]:e[o+1]);return n.t=e.t,n},eo={left:0,top:0},gl=function(e,t,r,n,i,o,s,l,c,u,f,p,d,m){et(e)&&(e=e(l)),Mt(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?ji("0"+e.substr(3),r):0));var h=d?d.time():0,g,b,_;if(d&&d.seek(0),isNaN(e)||(e=+e),ei(e))d&&(e=O.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,p,e)),s&&Qi(s,r,n,!0);else{et(t)&&(t=t(l));var v=(e||"0").split(" "),w,E,L,T;_=lt(t,l)||ne,w=dr(_)||{},(!w||!w.left&&!w.top)&&Dt(_).display==="none"&&(T=_.style.display,_.style.display="block",w=dr(_),T?_.style.display=T:_.style.removeProperty("display")),E=ji(v[0],w[n.d]),L=ji(v[1]||"0",r),e=w[n.p]-c[n.p]-u+E+i-L,s&&Qi(s,L,n,r-L<20||s._isStart&&L>20),r-=r-L}if(m&&(l[m]=e||-.001,e<0&&(e=0)),o){var A=e+r,M=o._isStart;g="scroll"+n.d2,Qi(o,A,n,M&&A>20||!M&&(f?Math.max(ne[g],At[g]):o.parentNode[g])<=A+1),f&&(c=dr(s),f&&(o.style[n.op.p]=c[n.op.p]-n.op.m-o._offset+Oe))}return d&&_&&(g=dr(_),d.seek(p),b=dr(_),d._caScrollDist=g[n.p]-b[n.p],e=e/d._caScrollDist*p),d&&d.seek(h),d?e:Math.round(e)},Cd=/(webkit|moz|length|cssText|inset)/i,_l=function(e,t,r,n){if(e.parentNode!==t){var i=e.style,o,s;if(t===ne){e._stOrig=i.cssText,s=Dt(e);for(o in s)!+o&&!Cd.test(o)&&s[o]&&typeof i[o]=="string"&&o!=="0"&&(i[o]=s[o]);i.top=r,i.left=n}else i.cssText=e._stOrig;O.core.getCache(e).uncache=1,t.appendChild(e)}},Fl=function(e,t,r){var n=t,i=n;return function(o){var s=Math.round(e());return s!==n&&s!==i&&Math.abs(s-n)>3&&Math.abs(s-i)>3&&(o=s,r&&r()),i=n,n=Math.round(o),n}},Ki=function(e,t,r){var n={};n[t.p]="+="+r,O.set(e,n)},yl=function(e,t){var r=cr(e,t),n="_scroll"+t.p2,i=function o(s,l,c,u,f){var p=o.tween,d=l.onComplete,m={};c=c||r();var h=Fl(r,c,function(){p.kill(),o.tween=0});return f=u&&f||0,u=u||s-c,p&&p.kill(),l[n]=s,l.inherit=!1,l.modifiers=m,m[n]=function(){return h(c+u*p.ratio+f*p.ratio*p.ratio)},l.onUpdate=function(){X.cache++,o.tween&&fr()},l.onComplete=function(){o.tween=0,d&&d.call(p)},p=o.tween=O.to(e,l),p};return e[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},Fe(e,"wheel",r.wheelHandler),q.isTouch&&Fe(e,"touchmove",r.wheelHandler),i},q=function(){function a(t,r){En||a.register(O)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ms(this),this.init(t,r)}var e=a.prototype;return e.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Zn){this.update=this.refresh=this.kill=jt;return}r=dl(Mt(r)||ei(r)||r.nodeType?{trigger:r}:r,Yi);var i=r,o=i.onUpdate,s=i.toggleClass,l=i.id,c=i.onToggle,u=i.onRefresh,f=i.scrub,p=i.trigger,d=i.pin,m=i.pinSpacing,h=i.invalidateOnRefresh,g=i.anticipatePin,b=i.onScrubComplete,_=i.onSnapComplete,v=i.once,w=i.snap,E=i.pinReparent,L=i.pinSpacer,T=i.containerAnimation,A=i.fastScrollEnd,M=i.preventOverlaps,x=r.horizontal||r.containerAnimation&&r.horizontal!==!1?Qe:ke,P=!f&&f!==0,k=lt(r.scroller||$),I=O.core.getCache(k),N=Jr(k),G=("pinType"in r?r.pinType:ur(k,"pinType")||N&&"fixed")==="fixed",F=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],C=P&&r.toggleActions.split(" "),z="markers"in r?r.markers:Yi.markers,ee=N?0:parseFloat(Dt(k)["border"+x.p2+Ln])||0,y=this,V=r.onRefreshInit&&function(){return r.onRefreshInit(y)},ie=bd(k,N,x),oe=wd(k,N),Q=0,pe=0,he=0,ue=cr(k,x),tt,Ye,pr,rt,nt,te,Te,ft,yt,S,vt,Zt,hr,ve,Jt,mr,Hr,De,gr,Se,Rt,kt,er,kn,Ae,mi,tr,nn,on,_r,Or,j,Dr,qt,Ft,Nt,Ir,sn,rr;if(y._startClamp=y._endClamp=!1,y._dir=x,g*=45,y.scroller=k,y.scroll=T?T.time.bind(T):ue,rt=ue(),y.vars=r,n=n||r.animation,"refreshPriority"in r&&(El=1,r.refreshPriority===-9999&&(li=y)),I.tweenScroll=I.tweenScroll||{top:yl(k,ke),left:yl(k,Qe)},y.tweenTo=tt=I.tweenScroll[x.p],y.scrubDuration=function(H){Dr=ei(H)&&H,Dr?j?j.duration(H):j=O.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Dr,paused:!0,onComplete:function(){return b&&b(y)}}):(j&&j.progress(1).kill(),j=0)},n&&(n.vars.lazy=!1,n._initted&&!y.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),y.animation=n.pause(),n.scrollTrigger=y,y.scrubDuration(f),_r=0,l||(l=n.vars.id)),w&&((!Kr(w)||w.push)&&(w={snapTo:w}),"scrollBehavior"in ne.style&&O.set(N?[ne,At]:k,{scrollBehavior:"auto"}),X.forEach(function(H){return et(H)&&H.target===(N?ce.scrollingElement||At:k)&&(H.smooth=!1)}),pr=et(w.snapTo)?w.snapTo:w.snapTo==="labels"?xd(n):w.snapTo==="labelsDirectional"?Td(n):w.directional!==!1?function(H,B){return Ls(w.snapTo)(H,Je()-pe<500?0:B.direction)}:O.utils.snap(w.snapTo),qt=w.duration||{min:.1,max:2},qt=Kr(qt)?ri(qt.min,qt.max):ri(qt,qt),Ft=O.delayedCall(w.delay||Dr/2||.1,function(){var H=ue(),B=Je()-pe<500,D=tt.tween;if((B||Math.abs(y.getVelocity())<10)&&!D&&!io&&Q!==H){var W=(H-te)/ve,Ie=n&&!P?n.totalProgress():W,Z=B?0:(Ie-Or)/(Je()-Qn)*1e3||0,Le=O.utils.clamp(-W,1-W,bn(Z/2)*Z/.185),Ue=W+(w.inertia===!1?0:Le),be,de,se=w,zt=se.onStart,me=se.onInterrupt,bt=se.onComplete;if(be=pr(Ue,y),ei(be)||(be=Ue),de=Math.max(0,Math.round(te+be*ve)),H<=Te&&H>=te&&de!==H){if(D&&!D._initted&&D.data<=bn(de-H))return;w.inertia===!1&&(Le=be-W),tt(de,{duration:qt(bn(Math.max(bn(Ue-Ie),bn(be-Ie))*.185/Z/.05||0)),ease:w.ease||"power3",data:bn(de-H),onInterrupt:function(){return Ft.restart(!0)&&me&&me(y)},onComplete:function(){y.update(),Q=ue(),n&&!P&&(j?j.resetTo("totalProgress",be,n._tTime/n._tDur):n.progress(be)),_r=Or=n&&!P?n.totalProgress():y.progress,_&&_(y),bt&&bt(y)}},H,Le*ve,de-H-Le*ve),zt&&zt(y,tt.tween)}}else y.isActive&&Q!==H&&Ft.restart(!0)}).pause()),l&&(_s[l]=y),p=y.trigger=lt(p||d!==!0&&d),rr=p&&p._gsap&&p._gsap.stRevert,rr&&(rr=rr(y)),d=d===!0?p:lt(d),Mt(s)&&(s={targets:p,className:s}),d&&(m===!1||m===Ot||(m=!m&&d.parentNode&&d.parentNode.style&&Dt(d.parentNode).display==="flex"?!1:Ce),y.pin=d,Ye=O.core.getCache(d),Ye.spacer?Jt=Ye.pinState:(L&&(L=lt(L),L&&!L.nodeType&&(L=L.current||L.nativeElement),Ye.spacerIsNative=!!L,L&&(Ye.spacerState=Xi(L))),Ye.spacer=De=L||ce.createElement("div"),De.classList.add("pin-spacer"),l&&De.classList.add("pin-spacer-"+l),Ye.pinState=Jt=Xi(d)),r.force3D!==!1&&O.set(d,{force3D:!0}),y.spacer=De=Ye.spacer,on=Dt(d),kn=on[m+x.os2],Se=O.getProperty(d),Rt=O.quickSetter(d,x.a,Oe),ds(d,De,on),Hr=Xi(d)),z){Zt=Kr(z)?dl(z,fl):fl,S=Ui("scroller-start",l,k,x,Zt,0),vt=Ui("scroller-end",l,k,x,Zt,0,S),gr=S["offset"+x.op.d2];var Cn=lt(ur(k,"content")||k);ft=this.markerStart=Ui("start",l,Cn,x,Zt,gr,0,T),yt=this.markerEnd=Ui("end",l,Cn,x,Zt,gr,0,T),T&&(sn=O.quickSetter([ft,yt],x.a,Oe)),!G&&!(Wt.length&&ur(k,"fixedMarkers")===!0)&&(Ed(N?ne:k),O.set([S,vt],{force3D:!0}),mi=O.quickSetter(S,x.a,Oe),nn=O.quickSetter(vt,x.a,Oe))}if(T){var Y=T.vars.onUpdate,R=T.vars.onUpdateParams;T.eventCallback("onUpdate",function(){y.update(0,0,1),Y&&Y.apply(T,R||[])})}if(y.previous=function(){return K[K.indexOf(y)-1]},y.next=function(){return K[K.indexOf(y)+1]},y.revert=function(H,B){if(!B)return y.kill(!0);var D=H!==!1||!y.enabled,W=Ze;D!==y.isReverted&&(D&&(Nt=Math.max(ue(),y.scroll.rec||0),he=y.progress,Ir=n&&n.progress()),ft&&[ft,yt,S,vt].forEach(function(Ie){return Ie.style.display=D?"none":"block"}),D&&(Ze=y,y.update(D)),d&&(!E||!y.isActive)&&(D?Md(d,De,Jt):ds(d,De,Dt(d),Ae)),D||y.update(D),Ze=W,y.isReverted=D)},y.refresh=function(H,B,D,W){if(!((Ze||!y.enabled)&&!B)){if(d&&H&&It){Fe(a,"scrollEnd",Ol);return}!dt&&V&&V(y),Ze=y,tt.tween&&!D&&(tt.tween.kill(),tt.tween=0),j&&j.pause(),h&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(yr){return yr.vars.immediateRender&&yr.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var Ie=ie(),Z=oe(),Le=T?T.duration():Qt(k,x),Ue=ve<=.01||!ve,be=0,de=W||0,se=Kr(D)?D.end:r.end,zt=r.endTrigger||p,me=Kr(D)?D.start:r.start||(r.start===0||!p?0:d?"0 0":"0 100%"),bt=y.pinnedContainer=r.pinnedContainer&<(r.pinnedContainer,y),Gt=p&&Math.max(0,K.indexOf(y))||0,Ne=Gt,ze,Xe,Rr,gi,Ke,Pe,Vt,co,qs,Pn,Yt,Hn,_i;for(z&&Kr(D)&&(Hn=O.getProperty(S,x.p),_i=O.getProperty(vt,x.p));Ne-- >0;)Pe=K[Ne],Pe.end||Pe.refresh(0,1)||(Ze=y),Vt=Pe.pin,Vt&&(Vt===p||Vt===d||Vt===bt)&&!Pe.isReverted&&(Pn||(Pn=[]),Pn.unshift(Pe),Pe.revert(!0,!0)),Pe!==K[Ne]&&(Gt--,Ne--);for(et(me)&&(me=me(y)),me=al(me,"start",y),te=gl(me,p,Ie,x,ue(),ft,S,y,Z,ee,G,Le,T,y._startClamp&&"_startClamp")||(d?-.001:0),et(se)&&(se=se(y)),Mt(se)&&!se.indexOf("+=")&&(~se.indexOf(" ")?se=(Mt(me)?me.split(" ")[0]:"")+se:(be=ji(se.substr(2),Ie),se=Mt(me)?me:(T?O.utils.mapRange(0,T.duration(),T.scrollTrigger.start,T.scrollTrigger.end,te):te)+be,zt=p)),se=al(se,"end",y),Te=Math.max(te,gl(se||(zt?"100% 0":Le),zt,Ie,x,ue()+be,yt,vt,y,Z,ee,G,Le,T,y._endClamp&&"_endClamp"))||-.001,be=0,Ne=Gt;Ne--;)Pe=K[Ne]||{},Vt=Pe.pin,Vt&&Pe.start-Pe._pinPush<=te&&!T&&Pe.end>0&&(ze=Pe.end-(y._startClamp?Math.max(0,Pe.start):Pe.start),(Vt===p&&Pe.start-Pe._pinPush<te||Vt===bt)&&isNaN(me)&&(be+=ze*(1-Pe.progress)),Vt===d&&(de+=ze));if(te+=be,Te+=be,y._startClamp&&(y._startClamp+=be),y._endClamp&&!dt&&(y._endClamp=Te||-.001,Te=Math.min(Te,Qt(k,x))),ve=Te-te||(te-=.01)&&.001,Ue&&(he=O.utils.clamp(0,1,O.utils.normalize(te,Te,Nt))),y._pinPush=de,ft&&be&&(ze={},ze[x.a]="+="+be,bt&&(ze[x.p]="-="+ue()),O.set([ft,yt],ze)),d&&!(gs&&y.end>=Qt(k,x)))ze=Dt(d),gi=x===ke,Rr=ue(),kt=parseFloat(Se(x.a))+de,!Le&&Te>1&&(Yt=(N?ce.scrollingElement||At:k).style,Yt={style:Yt,value:Yt["overflow"+x.a.toUpperCase()]},N&&Dt(ne)["overflow"+x.a.toUpperCase()]!=="scroll"&&(Yt.style["overflow"+x.a.toUpperCase()]="scroll")),ds(d,De,ze),Hr=Xi(d),Xe=dr(d,!0),co=G&&cr(k,gi?Qe:ke)(),m?(Ae=[m+x.os2,ve+de+Oe],Ae.t=De,Ne=m===Ce?ro(d,x)+ve+de:0,Ne&&(Ae.push(x.d,Ne+Oe),De.style.flexBasis!=="auto"&&(De.style.flexBasis=Ne+Oe)),Sn(Ae),bt&&K.forEach(function(yr){yr.pin===bt&&yr.vars.pinSpacing!==!1&&(yr._subPinOffset=!0)}),G&&ue(Nt)):(Ne=ro(d,x),Ne&&De.style.flexBasis!=="auto"&&(De.style.flexBasis=Ne+Oe)),G&&(Ke={top:Xe.top+(gi?Rr-te:co)+Oe,left:Xe.left+(gi?co:Rr-te)+Oe,boxSizing:"border-box",position:"fixed"},Ke[jr]=Ke["max"+Ln]=Math.ceil(Xe.width)+Oe,Ke[Qr]=Ke["max"+Ss]=Math.ceil(Xe.height)+Oe,Ke[Ot]=Ke[Ot+si]=Ke[Ot+ii]=Ke[Ot+ai]=Ke[Ot+oi]="0",Ke[Ce]=ze[Ce],Ke[Ce+si]=ze[Ce+si],Ke[Ce+ii]=ze[Ce+ii],Ke[Ce+ai]=ze[Ce+ai],Ke[Ce+oi]=ze[Ce+oi],mr=kd(Jt,Ke,E),dt&&ue(0)),n?(qs=n._initted,ss(1),n.render(n.duration(),!0,!0),er=Se(x.a)-kt+ve+de,tr=Math.abs(ve-er)>1,G&&tr&&mr.splice(mr.length-2,2),n.render(0,!0,!0),qs||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),ss(0)):er=ve,Yt&&(Yt.value?Yt.style["overflow"+x.a.toUpperCase()]=Yt.value:Yt.style.removeProperty("overflow-"+x.a));else if(p&&ue()&&!T)for(Xe=p.parentNode;Xe&&Xe!==ne;)Xe._pinOffset&&(te-=Xe._pinOffset,Te-=Xe._pinOffset),Xe=Xe.parentNode;Pn&&Pn.forEach(function(yr){return yr.revert(!1,!0)}),y.start=te,y.end=Te,rt=nt=dt?Nt:ue(),!T&&!dt&&(rt<Nt&&ue(Nt),y.scroll.rec=0),y.revert(!1,!0),pe=Je(),Ft&&(Q=-1,Ft.restart(!0)),Ze=0,n&&P&&(n._initted||Ir)&&n.progress()!==Ir&&n.progress(Ir||0,!0).render(n.time(),!0,!0),(Ue||he!==y.progress||T||h||n&&!n._initted)&&(n&&!P&&(n._initted||he||n.vars.immediateRender!==!1)&&n.totalProgress(T&&te<-.001&&!he?O.utils.normalize(te,Te,0):he,!0),y.progress=Ue||(rt-te)/ve===he?0:he),d&&m&&(De._pinOffset=Math.round(y.progress*er)),j&&j.invalidate(),isNaN(Hn)||(Hn-=O.getProperty(S,x.p),_i-=O.getProperty(vt,x.p),Ki(S,x,Hn),Ki(ft,x,Hn-(W||0)),Ki(vt,x,_i),Ki(yt,x,_i-(W||0))),Ue&&!dt&&y.update(),u&&!dt&&!hr&&(hr=!0,u(y),hr=!1)}},y.getVelocity=function(){return(ue()-nt)/(Je()-Qn)*1e3||0},y.endAnimation=function(){jn(y.callbackAnimation),n&&(j?j.progress(1):n.paused()?P||jn(n,y.direction<0,1):jn(n,n.reversed()))},y.labelToScroll=function(H){return n&&n.labels&&(te||y.refresh()||te)+n.labels[H]/n.duration()*ve||0},y.getTrailing=function(H){var B=K.indexOf(y),D=y.direction>0?K.slice(0,B).reverse():K.slice(B+1);return(Mt(H)?D.filter(function(W){return W.vars.preventOverlaps===H}):D).filter(function(W){return y.direction>0?W.end<=te:W.start>=Te})},y.update=function(H,B,D){if(!(T&&!D&&!H)){var W=dt===!0?Nt:y.scroll(),Ie=H?0:(W-te)/ve,Z=Ie<0?0:Ie>1?1:Ie||0,Le=y.progress,Ue,be,de,se,zt,me,bt,Gt;if(B&&(nt=rt,rt=T?ue():W,w&&(Or=_r,_r=n&&!P?n.totalProgress():Z)),g&&d&&!Ze&&!Bi&&It&&(!Z&&te<W+(W-nt)/(Je()-Qn)*g?Z=1e-4:Z===1&&Te>W+(W-nt)/(Je()-Qn)*g&&(Z=.9999)),Z!==Le&&y.enabled){if(Ue=y.isActive=!!Z&&Z<1,be=!!Le&&Le<1,me=Ue!==be,zt=me||!!Z!=!!Le,y.direction=Z>Le?1:-1,y.progress=Z,zt&&!Ze&&(de=Z&&!Le?0:Z===1?1:Le===1?2:3,P&&(se=!me&&C[de+1]!=="none"&&C[de+1]||C[de],Gt=n&&(se==="complete"||se==="reset"||se in n))),M&&(me||Gt)&&(Gt||f||!n)&&(et(M)?M(y):y.getTrailing(M).forEach(function(Rr){return Rr.endAnimation()})),P||(j&&!Ze&&!Bi?(j._dp._time-j._start!==j._time&&j.render(j._dp._time-j._start),j.resetTo?j.resetTo("totalProgress",Z,n._tTime/n._tDur):(j.vars.totalProgress=Z,j.invalidate().restart())):n&&n.totalProgress(Z,!!(Ze&&(pe||H)))),d){if(H&&m&&(De.style[m+x.os2]=kn),!G)Rt(Jn(kt+er*Z));else if(zt){if(bt=!H&&Z>Le&&Te+1>W&&W+1>=Qt(k,x),E)if(!H&&(Ue||bt)){var Ne=dr(d,!0),ze=W-te;_l(d,ne,Ne.top+(x===ke?ze:0)+Oe,Ne.left+(x===ke?0:ze)+Oe)}else _l(d,De);Sn(Ue||bt?mr:Hr),tr&&Z<1&&Ue||Rt(kt+(Z===1&&!bt?er:0))}}w&&!tt.tween&&!Ze&&!Bi&&Ft.restart(!0),s&&(me||v&&Z&&(Z<1||!as))&&ci(s.targets).forEach(function(Rr){return Rr.classList[Ue||v?"add":"remove"](s.className)}),o&&!P&&!H&&o(y),zt&&!Ze?(P&&(Gt&&(se==="complete"?n.pause().totalProgress(1):se==="reset"?n.restart(!0).pause():se==="restart"?n.restart(!0):n[se]()),o&&o(y)),(me||!as)&&(c&&me&&cs(y,c),F[de]&&cs(y,F[de]),v&&(Z===1?y.kill(!1,1):F[de]=0),me||(de=Z===1?1:3,F[de]&&cs(y,F[de]))),A&&!Ue&&Math.abs(y.getVelocity())>(ei(A)?A:2500)&&(jn(y.callbackAnimation),j?j.progress(1):jn(n,se==="reverse"?1:!Z,1))):P&&o&&!Ze&&o(y)}if(nn){var Xe=T?W/T.duration()*(T._caScrollDist||0):W;mi(Xe+(S._isFlipped?1:0)),nn(Xe)}sn&&sn(-W/T.duration()*(T._caScrollDist||0))}},y.enable=function(H,B){y.enabled||(y.enabled=!0,Fe(k,"resize",ti),N||Fe(k,"scroll",wn),V&&Fe(a,"refreshInit",V),H!==!1&&(y.progress=he=0,rt=nt=Q=ue()),B!==!1&&y.refresh())},y.getTween=function(H){return H&&tt?tt.tween:j},y.setPositions=function(H,B,D,W){if(T){var Ie=T.scrollTrigger,Z=T.duration(),Le=Ie.end-Ie.start;H=Ie.start+Le*H/Z,B=Ie.start+Le*B/Z}y.refresh(!1,!1,{start:ll(H,D&&!!y._startClamp),end:ll(B,D&&!!y._endClamp)},W),y.update()},y.adjustPinSpacing=function(H){if(Ae&&H){var B=Ae.indexOf(x.d)+1;Ae[B]=parseFloat(Ae[B])+H+Oe,Ae[1]=parseFloat(Ae[1])+H+Oe,Sn(Ae)}},y.disable=function(H,B){if(H!==!1&&y.revert(!0,!0),y.enabled&&(y.enabled=y.isActive=!1,B||j&&j.pause(),Nt=0,Ye&&(Ye.uncache=1),V&&qe(a,"refreshInit",V),Ft&&(Ft.pause(),tt.tween&&tt.tween.kill()&&(tt.tween=0)),!N)){for(var D=K.length;D--;)if(K[D].scroller===k&&K[D]!==y)return;qe(k,"resize",ti),N||qe(k,"scroll",wn)}},y.kill=function(H,B){y.disable(H,B),j&&!B&&j.kill(),l&&delete _s[l];var D=K.indexOf(y);D>=0&&K.splice(D,1),D===ut&&Zi>0&&ut--,D=0,K.forEach(function(W){return W.scroller===y.scroller&&(D=1)}),D||dt||(y.scroll.rec=0),n&&(n.scrollTrigger=null,H&&n.revert({kill:!1}),B||n.kill()),ft&&[ft,yt,S,vt].forEach(function(W){return W.parentNode&&W.parentNode.removeChild(W)}),li===y&&(li=0),d&&(Ye&&(Ye.uncache=1),D=0,K.forEach(function(W){return W.pin===d&&D++}),D||(Ye.spacer=0)),r.onKill&&r.onKill(y)},K.push(y),y.enable(!1,!1),rr&&rr(y),n&&n.add&&!ve){var re=y.update;y.update=function(){y.update=re,X.cache++,te||Te||y.refresh()},O.delayedCall(.01,y.update),ve=.01,te=Te=0}else y.refresh();d&&Ld()},a.register=function(r){return En||(O=r||Ml(),Ll()&&window.document&&a.enable(),En=Zn),En},a.defaults=function(r){if(r)for(var n in r)Yi[n]=r[n];return Yi},a.disable=function(r,n){Zn=0,K.forEach(function(o){return o[n?"kill":"disable"](r)}),qe($,"wheel",wn),qe(ce,"scroll",wn),clearInterval(zi),qe(ce,"touchcancel",jt),qe(ne,"touchstart",jt),Gi(qe,ce,"pointerdown,touchstart,mousedown",cl),Gi(qe,ce,"pointerup,touchend,mouseup",ul),to.kill(),Wi(qe);for(var i=0;i<X.length;i+=3)Vi(qe,X[i],X[i+1]),Vi(qe,X[i],X[i+2])},a.enable=function(){if($=window,ce=document,At=ce.documentElement,ne=ce.body,O&&(ci=O.utils.toArray,ri=O.utils.clamp,ms=O.core.context||jt,ss=O.core.suppressOverwrites||jt,ws=$.history.scrollRestoration||"auto",ys=$.pageYOffset||0,O.core.globals("ScrollTrigger",a),ne)){Zn=1,Tn=document.createElement("div"),Tn.style.height="100vh",Tn.style.position="absolute",ql(),vd(),xe.register(O),a.isTouch=xe.isTouch,Cr=xe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),hs=xe.isTouch===1,Fe($,"wheel",wn),bs=[$,ce,At,ne],O.matchMedia?(a.matchMedia=function(c){var u=O.matchMedia(),f;for(f in c)u.add(f,c[f]);return u},O.addEventListener("matchMediaInit",function(){Il(),Ms()}),O.addEventListener("matchMediaRevert",function(){return Dl()}),O.addEventListener("matchMedia",function(){$r(0,1),tn("matchMedia")}),O.matchMedia().add("(orientation: portrait)",function(){return us(),us})):console.warn("Requires GSAP 3.11.0 or later"),us(),Fe(ce,"scroll",wn);var r=ne.hasAttribute("style"),n=ne.style,i=n.borderTopStyle,o=O.core.Animation.prototype,s,l;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",s=dr(ne),ke.m=Math.round(s.top+ke.sc())||0,Qe.m=Math.round(s.left+Qe.sc())||0,i?n.borderTopStyle=i:n.removeProperty("border-top-style"),r||(ne.setAttribute("style",""),ne.removeAttribute("style")),zi=setInterval(pl,250),O.delayedCall(.5,function(){return Bi=0}),Fe(ce,"touchcancel",jt),Fe(ne,"touchstart",jt),Gi(Fe,ce,"pointerdown,touchstart,mousedown",cl),Gi(Fe,ce,"pointerup,touchend,mouseup",ul),ps=O.utils.checkPrefix("transform"),Ji.push(ps),En=Je(),to=O.delayedCall(.2,$r).pause(),xn=[ce,"visibilitychange",function(){var c=$.innerWidth,u=$.innerHeight;ce.hidden?(ol=c,sl=u):(ol!==c||sl!==u)&&ti()},ce,"DOMContentLoaded",$r,$,"load",$r,$,"resize",ti],Wi(Fe),K.forEach(function(c){return c.enable(0,1)}),l=0;l<X.length;l+=3)Vi(qe,X[l],X[l+1]),Vi(qe,X[l],X[l+2])}},a.config=function(r){"limitCallbacks"in r&&(as=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(zi)||(zi=n)&&setInterval(pl,n),"ignoreMobileResize"in r&&(hs=a.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Wi(qe)||Wi(Fe,r.autoRefreshEvents||"none"),xl=(r.autoRefreshEvents+"").indexOf("resize")===-1)},a.scrollerProxy=function(r,n){var i=lt(r),o=X.indexOf(i),s=Jr(i);~o&&X.splice(o,s?6:2),n&&(s?Wt.unshift($,n,ne,n,At,n):Wt.unshift(i,n))},a.clearMatchMedia=function(r){K.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},a.isInViewport=function(r,n,i){var o=(Mt(r)?lt(r):r).getBoundingClientRect(),s=o[i?jr:Qr]*n||0;return i?o.right-s>0&&o.left+s<$.innerWidth:o.bottom-s>0&&o.top+s<$.innerHeight},a.positionInViewport=function(r,n,i){Mt(r)&&(r=lt(r));var o=r.getBoundingClientRect(),s=o[i?jr:Qr],l=n==null?s/2:n in no?no[n]*s:~n.indexOf("%")?parseFloat(n)*s/100:parseFloat(n)||0;return i?(o.left+l)/$.innerWidth:(o.top+l)/$.innerHeight},a.killAll=function(r){if(K.slice(0).forEach(function(i){return i.vars.id!=="ScrollSmoother"&&i.kill()}),r!==!0){var n=en.killAll||[];en={},n.forEach(function(i){return i()})}},a}();q.version="3.14.2";q.saveStyles=function(a){return a?ci(a).forEach(function(e){if(e&&e.style){var t=Lt.indexOf(e);t>=0&&Lt.splice(t,5),Lt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),O.core.getCache(e),ms())}}):Lt};q.revert=function(a,e){return Ms(!a,e)};q.create=function(a,e){return new q(a,e)};q.refresh=function(a){return a?ti(!0):(En||q.register())&&$r(!0)};q.update=function(a){return++X.cache&&fr(a===!0?2:0)};q.clearScrollMemory=Rl;q.maxScroll=function(a,e){return Qt(a,e?Qe:ke)};q.getScrollFunc=function(a,e){return cr(lt(a),e?Qe:ke)};q.getById=function(a){return _s[a]};q.getAll=function(){return K.filter(function(a){return a.vars.id!=="ScrollSmoother"})};q.isScrolling=function(){return!!It};q.snapDirectional=Ls;q.addEventListener=function(a,e){var t=en[a]||(en[a]=[]);~t.indexOf(e)||t.push(e)};q.removeEventListener=function(a,e){var t=en[a],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};q.batch=function(a,e){var t=[],r={},n=e.interval||.016,i=e.batchMax||1e9,o=function(c,u){var f=[],p=[],d=O.delayedCall(n,function(){u(f,p),f=[],p=[]}).pause();return function(m){f.length||d.restart(!0),f.push(m.trigger),p.push(m),i<=f.length&&d.progress(1)}},s;for(s in e)r[s]=s.substr(0,2)==="on"&&et(e[s])&&s!=="onRefreshInit"?o(s,e[s]):e[s];return et(i)&&(i=i(),Fe(q,"refresh",function(){return i=e.batchMax()})),ci(a).forEach(function(l){var c={};for(s in r)c[s]=r[s];c.trigger=l,t.push(q.create(c))}),t};var vl=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},fs=function a(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(xe.isTouch?" pinch-zoom":""):"none",e===At&&a(ne,t)},$i={auto:1,scroll:1},Pd=function(e){var t=e.event,r=e.target,n=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,o=i._gsap||O.core.getCache(i),s=Je(),l;if(!o._isScrollT||s-o._isScrollT>2e3){for(;i&&i!==ne&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!($i[(l=Dt(i)).overflowY]||$i[l.overflowX]));)i=i.parentNode;o._isScroll=i&&i!==r&&!Jr(i)&&($i[(l=Dt(i)).overflowY]||$i[l.overflowX]),o._isScrollT=s}(o._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},Nl=function(e,t,r,n){return xe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Pd,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&Fe(ce,xe.eventTypes[0],wl,!1,!0)},onDisable:function(){return qe(ce,xe.eventTypes[0],wl,!0)}})},Hd=/(input|label|select|textarea)/i,bl,wl=function(e){var t=Hd.test(e.target.tagName);(t||bl)&&(e._gsapAllow=!0,bl=t)},Od=function(e){Kr(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,r=t.normalizeScrollX,n=t.momentum,i=t.allowNestedScroll,o=t.onRelease,s,l,c=lt(e.target)||At,u=O.core.globals().ScrollSmoother,f=u&&u.get(),p=Cr&&(e.content&<(e.content)||f&&e.content!==!1&&!f.smooth()&&f.content()),d=cr(c,ke),m=cr(c,Qe),h=1,g=(xe.isTouch&&$.visualViewport?$.visualViewport.scale*$.visualViewport.width:$.outerWidth)/$.innerWidth,b=0,_=et(n)?function(){return n(s)}:function(){return n||2.8},v,w,E=Nl(c,e.type,!0,i),L=function(){return w=!1},T=jt,A=jt,M=function(){l=Qt(c,ke),A=ri(Cr?1:0,l),r&&(T=ri(0,Qt(c,Qe))),v=Zr},x=function(){p._gsap.y=Jn(parseFloat(p._gsap.y)+d.offset)+"px",p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(p._gsap.y)+", 0, 1)",d.offset=d.cacheID=0},P=function(){if(w){requestAnimationFrame(L);var z=Jn(s.deltaY/2),ee=A(d.v-z);if(p&&ee!==d.v+d.offset){d.offset=ee-d.v;var y=Jn((parseFloat(p&&p._gsap.y)||0)-d.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",p._gsap.y=y+"px",d.cacheID=X.cache,fr()}return!0}d.offset&&x(),w=!0},k,I,N,G,F=function(){M(),k.isActive()&&k.vars.scrollY>l&&(d()>l?k.progress(1)&&d(l):k.resetTo("scrollY",l))};return p&&O.set(p,{y:"+=0"}),e.ignoreCheck=function(C){return Cr&&C.type==="touchmove"&&P(C)||h>1.05&&C.type!=="touchstart"||s.isGesturing||C.touches&&C.touches.length>1},e.onPress=function(){w=!1;var C=h;h=Jn(($.visualViewport&&$.visualViewport.scale||1)/g),k.pause(),C!==h&&fs(c,h>1.01?!0:r?!1:"x"),I=m(),N=d(),M(),v=Zr},e.onRelease=e.onGestureStart=function(C,z){if(d.offset&&x(),!z)G.restart(!0);else{X.cache++;var ee=_(),y,V;r&&(y=m(),V=y+ee*.05*-C.velocityX/.227,ee*=vl(m,y,V,Qt(c,Qe)),k.vars.scrollX=T(V)),y=d(),V=y+ee*.05*-C.velocityY/.227,ee*=vl(d,y,V,Qt(c,ke)),k.vars.scrollY=A(V),k.invalidate().duration(ee).play(.01),(Cr&&k.vars.scrollY>=l||y>=l-1)&&O.to({},{onUpdate:F,duration:ee})}o&&o(C)},e.onWheel=function(){k._ts&&k.pause(),Je()-b>1e3&&(v=0,b=Je())},e.onChange=function(C,z,ee,y,V){if(Zr!==v&&M(),z&&r&&m(T(y[2]===z?I+(C.startX-C.x):m()+z-y[1])),ee){d.offset&&x();var ie=V[2]===ee,oe=ie?N+C.startY-C.y:d()+ee-V[1],Q=A(oe);ie&&oe!==Q&&(N+=Q-oe),d(Q)}(ee||z)&&fr()},e.onEnable=function(){fs(c,r?!1:"x"),q.addEventListener("refresh",F),Fe($,"resize",F),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=m.smooth=!1),E.enable()},e.onDisable=function(){fs(c,!0),qe($,"resize",F),q.removeEventListener("refresh",F),E.kill()},e.lockAxis=e.lockAxis!==!1,s=new xe(e),s.iOS=Cr,Cr&&!d()&&d(1),Cr&&O.ticker.add(jt),G=s._dc,k=O.to(s,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Fl(d,d(),function(){return k.pause()})},onUpdate:fr,onComplete:G.vars.onComplete}),s};q.sort=function(a){if(et(a))return K.sort(a);var e=$.pageYOffset||0;return q.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+$.innerHeight}),K.sort(a||function(t,r){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};q.observe=function(a){return new xe(a)};q.normalizeScroll=function(a){if(typeof a>"u")return ct;if(a===!0&&ct)return ct.enable();if(a===!1){ct&&ct.kill(),ct=a;return}var e=a instanceof xe?a:Od(a);return ct&&ct.target===e.target&&ct.kill(),Jr(e.target)&&(ct=e),e};q.core={_getVelocityProp:Ni,_inputObserver:Nl,_scrollers:X,_proxies:Wt,bridge:{ss:function(){It||tn("scrollStart"),It=Je()},ref:function(){return Ze}}};Ml()&&O.registerPlugin(q);var zl=()=>{Re.registerPlugin(q),document.querySelectorAll(".decor_arrow-wrapper").forEach(e=>{let t=e.querySelector(".decor-middle"),r=e.querySelector(".decor-top"),n=e,i=Re.timeline({paused:!0});if(i.to(n,{opacity:1,duration:.6,ease:"power2.out"}).add("rideAlong","-=0.3"),t&&i.fromTo(t,{y:0,xPercent:-50},{y:-15,xPercent:-50,duration:1,ease:"power2.out"},"rideAlong"),r){let o=n.classList.contains("is-inside");i.fromTo(r,{y:0,xPercent:-50},{y:o?-40:-60,xPercent:-50,duration:1.2,ease:"power2.out"},"rideAlong")}q.create({trigger:n,start:"top 85%",once:!0,onEnter:()=>{Re.set(n,{opacity:0}),i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{q.refresh()},200)})};var Bl=(a={pauseOnHover:!1})=>{let e=document.querySelector(".banner_component"),t=document.querySelector(".banner_inner-wrapper"),r=document.querySelector(".banner_marquee");if(!e||!t||!r)return;t.querySelectorAll(".banner_marquee.is-clone").forEach(f=>f.remove());let i=r.offsetWidth,o=48,s="perfect-marquee-styles";if(!document.getElementById(s)){let f=document.createElement("style");f.id=s;let p=a.pauseOnHover?`
|
|
103
|
+
`;function g(V,ie,oe){let Q=V.createShader(ie);return Q?(V.shaderSource(Q,oe),V.compileShader(Q),V.getShaderParameter(Q,V.COMPILE_STATUS)?Q:(console.error("Shader compile error:",V.getShaderInfoLog(Q)),V.deleteShader(Q),null)):null}let b=g(d,d.VERTEX_SHADER,m),_=g(d,d.FRAGMENT_SHADER,h);if(!b||!_)return;let v=d.createProgram();if(!v)return;if(d.attachShader(v,b),d.attachShader(v,_),d.linkProgram(v),!d.getProgramParameter(v,d.LINK_STATUS)){console.error("Program link error:",d.getProgramInfoLog(v));return}let w=d.createBuffer();d.bindBuffer(d.ARRAY_BUFFER,w),d.bufferData(d.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),d.STATIC_DRAW);let E=d.getAttribLocation(v,"a_position"),L=d.getUniformLocation(v,"u_time"),T=d.getUniformLocation(v,"u_resolution"),A=d.getUniformLocation(v,"u_color1"),M=d.getUniformLocation(v,"u_color2"),x=d.getUniformLocation(v,"u_colorBg");function P(){let V=window.devicePixelRatio||1,ie=Math.floor(u.clientWidth*V),oe=Math.floor(u.clientHeight*V);(u.width!==ie||u.height!==oe)&&(u.width=ie,u.height=oe),(f.width!==ie||f.height!==oe)&&(f.width=ie,f.height=oe)}let k,I=performance.now(),N=0,G=12,F=.08,C=4,z=null;function ee(){P(),d.viewport(0,0,u.width,u.height),d.useProgram(v);let V=(performance.now()-I)/1e3;d.uniform1f(L,V),d.uniform2f(T,u.width,u.height),d.uniform3f(A,s[0],s[1],s[2]),d.uniform3f(M,l[0],l[1],l[2]),d.uniform3f(x,c[0],c[1],c[2]),d.enableVertexAttribArray(E),d.bindBuffer(d.ARRAY_BUFFER,w),d.vertexAttribPointer(E,2,d.FLOAT,!1,0,0),d.drawArrays(d.TRIANGLES,0,6);let ie=performance.now();if(p&&ie-N>1e3/G){N=ie;let oe=Math.ceil(f.width/C),Q=Math.ceil(f.height/C);if(oe<=0||Q<=0)return;(!z||z.width!==oe||z.height!==Q)&&(z=p.createImageData(oe,Q));let{data:pe}=z;for(let he=0;he<pe.length;he+=4){let ue=(Math.random()-.5)*255*F;pe[he]=128+ue,pe[he+1]=128+ue,pe[he+2]=128+ue,pe[he+3]=255}p.clearRect(0,0,f.width,f.height),p.imageSmoothingEnabled=!1,p.putImageData(z,0,0),p.drawImage(f,0,0,oe,Q,0,0,f.width,f.height)}k=requestAnimationFrame(ee)}ee();let y=new MutationObserver(V=>{for(let ie of V)for(let oe of ie.removedNodes)(oe===u||oe instanceof Element&&oe.contains(u))&&(cancelAnimationFrame(k),y.disconnect())});y.observe(t.parentElement||document.body,{childList:!0,subtree:!0}),requestAnimationFrame(()=>{t.style.opacity="1"})})};function Bs(){document.querySelectorAll(".content-col").forEach(a=>{let e=a.querySelector('[data-scroll="vertical"]'),t=a.querySelector(".content-arrow.is-top"),r=a.querySelector(".content-arrow:not(.is-top)");if(!e)return;let n=Array.from(e.querySelectorAll(".content-col-item"));if(n.length<3)return;let i=n[0].getBoundingClientRect(),s=n[1].getBoundingClientRect().top-i.top,l=s-i.height,c=Math.max(3*i.height+2*l,401),u=document.createElement("div");u.style.cssText=`height: ${c}px; overflow: hidden; position: relative;`,e.parentNode?.insertBefore(u,e),u.appendChild(e);let f=n.length*s-l;e.style.cssText+=`; overflow: visible !important; height: ${f}px !important; min-height: 0 !important; max-height: none !important; will-change: transform;`;let p=n.findIndex(_=>_.classList.contains("is-active"));p===-1&&(p=0);let d=(p-1+n.length)%n.length;for(let _=0;_<d;_++){let v=e.querySelector(".content-col-item");v&&e.appendChild(v)}function m(){Array.from(e.querySelectorAll(".content-col-item")).forEach((_,v)=>{_.classList.toggle("is-active",v===1)})}gsap.set(e,{y:0}),m();let h=!1;function g(){if(h)return;h=!0;let _=e.firstElementChild;e.appendChild(_),gsap.set(e,{y:s}),gsap.to(e,{y:0,duration:.5,ease:"power3.inOut",onComplete(){m(),h=!1}})}function b(){if(h)return;h=!0;let _=Array.from(e.querySelectorAll(".content-col-item")),v=_[_.length-1];e.insertBefore(v,e.firstChild),gsap.set(e,{y:-s}),gsap.to(e,{y:0,duration:.5,ease:"power3.inOut",onComplete(){m(),h=!1}})}t?.addEventListener("click",b),r?.addEventListener("click",g)})}function nr(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function js(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}var gt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ln={duration:.5,overwrite:!1,delay:0},ko,We,fe,Pt=1e8,le=1/Pt,vo=Math.PI*2,Hc=vo/4,Oc=0,Qs=Math.sqrt,Dc=Math.cos,Ic=Math.sin,He=function(e){return typeof e=="string"},we=function(e){return typeof e=="function"},or=function(e){return typeof e=="number"},Mi=function(e){return typeof e>"u"},Kt=function(e){return typeof e=="object"},mt=function(e){return e!==!1},Co=function(){return typeof window<"u"},yi=function(e){return we(e)||He(e)},Zs=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},$e=Array.isArray,Rc=/random\([^)]+\)/g,qc=/,\s*/g,Ws=/(?:-?\.?\d|\.)+/gi,Po=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,zr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,fo=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ho=/[+-]=-?[.\d]+/,Fc=/[^,'"\[\]\s]+/gi,Nc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,_e,Ut,bo,Oo,Et={},Ei={},Js,ea=function(e){return(Ei=cn(e,Et))&&je},Ai=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Fn=function(e,t){return!t&&console.warn(e)},ta=function(e,t){return e&&(Et[e]=t)&&Ei&&(Ei[e]=t)||Et},Nn=function(){return 0},zc={suppressEvents:!0,isStart:!0,kill:!1},vi={suppressEvents:!0,kill:!1},Bc={suppressEvents:!0},Do={},br=[],wo={},ra,pt={},po={},Gs=30,bi=[],Io="",Ro=function(e){var t=e[0],r,n;if(Kt(t)||we(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=bi.length;n--&&!bi[n].targetTest(t););r=bi[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new zo(e[n],r)))||e.splice(n,1);return e},wr=function(e){return e._gsap||Ro(Ht(e))[0]._gsap},qo=function(e,t,r){return(r=e[t])&&we(r)?e[t]():Mi(r)&&e.getAttribute&&e.getAttribute(t)||r},it=function(e,t){return(e=e.split(",")).forEach(t)||e},Ee=function(e){return Math.round(e*1e5)/1e5||0},ge=function(e){return Math.round(e*1e7)/1e7||0},Br=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+n:r==="-"?e-n:r==="*"?e*n:e/n},Wc=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},xi=function(){var e=br.length,t=br.slice(0),r,n;for(wo={},br.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Fo=function(e){return!!(e._initted||e._startAt||e.add)},na=function(e,t,r,n){br.length&&!We&&xi(),e.render(t,r,n||!!(We&&t<0&&Fo(e))),br.length&&!We&&xi()},ia=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Fc).length<2?t:He(e)?e.trim():e},oa=function(e){return e},xt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Gc=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},cn=function(e,t){for(var r in t)e[r]=t[r];return e},Vs=function a(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Kt(t[r])?a(e[r]||(e[r]={}),t[r]):t[r]);return e},Ti=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},In=function(e){var t=e.parent||_e,r=e.keyframes?Gc($e(e.keyframes)):xt;if(mt(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},Vc=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},sa=function(e,t,r,n,i){r===void 0&&(r="_first"),n===void 0&&(n="_last");var o=e[n],s;if(i)for(s=t[i];o&&o[i]>s;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=o,t.parent=t._dp=e,t},ki=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var i=t._prev,o=t._next;i?i._next=o:e[r]===t&&(e[r]=o),o?o._prev=i:e[n]===t&&(e[n]=i),t._next=t._prev=t.parent=null},Er=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},qr=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},Yc=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Eo=function(e,t,r,n){return e._startAt&&(We?e._startAt.revert(vi):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},Uc=function a(e){return!e||e._ts&&a(e.parent)},Ys=function(e){return e._repeat?un(e._tTime,e=e.duration()+e._rDelay)*e:0},un=function(e,t){var r=Math.floor(e=ge(e/t));return e&&r===e?r-1:r},Si=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ci=function(e){return e._end=ge(e._start+(e._tDur/Math.abs(e._ts||e._rts||le)||0))},Pi=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=ge(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ci(e),r._dirty||qr(r,e)),e},aa=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Si(e.rawTime(),t),(!t._dur||Wn(0,t.totalDuration(),r)-t._tTime>le)&&t.render(r,!0)),qr(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-le}},Xt=function(e,t,r,n){return t.parent&&Er(t),t._start=ge((or(r)?r:r||e!==_e?Ct(e,r,t):e._time)+t._delay),t._end=ge(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),sa(e,t,"_first","_last",e._sort?"_start":0),xo(t)||(e._recent=t),n||aa(e,t),e._ts<0&&Pi(e,e._tTime),e},la=function(e,t){return(Et.ScrollTrigger||Ai("scrollTrigger",t))&&Et.ScrollTrigger.create(t,e)},ca=function(e,t,r,n,i){if(Go(e,t,i),!e._initted)return 1;if(!r&&e._pt&&!We&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&ra!==ht.frame)return br.push(e),e._lazy=[i,n],1},Xc=function a(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||a(t))},xo=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Kc=function(e,t,r,n){var i=e.ratio,o=t<0||!t&&(!e._start&&Xc(e)&&!(!e._initted&&xo(e))||(e._ts<0||e._dp._ts<0)&&!xo(e))?0:1,s=e._rDelay,l=0,c,u,f;if(s&&e._repeat&&(l=Wn(0,e._tDur,t),u=un(l,s),e._yoyo&&u&1&&(o=1-o),u!==un(e._tTime,s)&&(i=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==i||We||n||e._zTime===le||!t&&e._zTime){if(!e._initted&&ca(e,t,n,r,l))return;for(f=e._zTime,e._zTime=t||(r?le:0),r||(r=t&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,c=e._pt;c;)c.r(o,c.d),c=c._next;t<0&&Eo(e,t,r,!0),e._onUpdate&&!r&&wt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&wt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&Er(e,1),!r&&!We&&(wt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},$c=function(e,t,r){var n;if(r>t)for(n=e._first;n&&n._start<=r;){if(n.data==="isPause"&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=r;){if(n.data==="isPause"&&n._start<t)return n;n=n._prev}},dn=function(e,t,r,n){var i=e._repeat,o=ge(t)||0,s=e._tTime/e._tDur;return s&&!n&&(e._time*=o/e._dur),e._dur=o,e._tDur=i?i<0?1e10:ge(o*(i+1)+e._rDelay*i):o,s>0&&!n&&Pi(e,e._tTime=e._tDur*s),e.parent&&Ci(e),r||qr(e.parent,e),e},Us=function(e){return e instanceof Be?qr(e):dn(e,e._dur)},jc={_start:0,endTime:Nn,totalDuration:Nn},Ct=function a(e,t,r){var n=e.labels,i=e._recent||jc,o=e.duration()>=Pt?i.endTime(!1):e._dur,s,l,c;return He(t)&&(isNaN(t)||t in n)?(l=t.charAt(0),c=t.substr(-1)==="%",s=t.indexOf("="),l==="<"||l===">"?(s>=0&&(t=t.replace(/=/,"")),(l==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(s<0?i:r).totalDuration()/100:1)):s<0?(t in n||(n[t]=o),n[t]):(l=parseFloat(t.charAt(s-1)+t.substr(s+1)),c&&r&&(l=l/100*($e(r)?r[0]:r).totalDuration()),s>1?a(e,t.substr(0,s-1),r)+l:o+l)):t==null?o:+t},Rn=function(e,t,r){var n=or(t[1]),i=(n?2:1)+(e<2?0:1),o=t[i],s,l;if(n&&(o.duration=t[1]),o.parent=r,e){for(s=o,l=r;l&&!("immediateRender"in s);)s=l.vars.defaults||{},l=mt(l.vars.inherit)&&l.parent;o.immediateRender=mt(s.immediateRender),e<2?o.runBackwards=1:o.startAt=t[i-1]}return new Me(t[0],o,t[i+1])},xr=function(e,t){return e||e===0?t(e):t},Wn=function(e,t,r){return r<e?e:r>t?t:r},Ge=function(e,t){return!He(e)||!(t=Nc.exec(e))?"":t[1]},Qc=function(e,t,r){return xr(r,function(n){return Wn(e,t,n)})},To=[].slice,ua=function(e,t){return e&&Kt(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Kt(e[0]))&&!e.nodeType&&e!==Ut},Zc=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var i;return He(n)&&!t||ua(n,1)?(i=r).push.apply(i,Ht(n)):r.push(n)})||r},Ht=function(e,t,r){return fe&&!t&&fe.selector?fe.selector(e):He(e)&&!r&&(bo||!fn())?To.call((t||Oo).querySelectorAll(e),0):$e(e)?Zc(e,r):ua(e)?To.call(e,0):e?[e]:[]},So=function(e){return e=Ht(e)[0]||Fn("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Ht(t,r.querySelectorAll?r:r===e?Fn("Invalid scope")||Oo.createElement("div"):e)}},da=function(e){return e.sort(function(){return .5-Math.random()})},fa=function(e){if(we(e))return e;var t=Kt(e)?e:{each:e},r=Fr(t.ease),n=t.from||0,i=parseFloat(t.base)||0,o={},s=n>0&&n<1,l=isNaN(n)||s,c=t.axis,u=n,f=n;return He(n)?u=f={center:.5,edges:.5,end:1}[n]||0:!s&&l&&(u=n[0],f=n[1]),function(p,d,m){var h=(m||t).length,g=o[h],b,_,v,w,E,L,T,A,M;if(!g){if(M=t.grid==="auto"?0:(t.grid||[1,Pt])[1],!M){for(T=-Pt;T<(T=m[M++].getBoundingClientRect().left)&&M<h;);M<h&&M--}for(g=o[h]=[],b=l?Math.min(M,h)*u-.5:n%M,_=M===Pt?0:l?h*f/M-.5:n/M|0,T=0,A=Pt,L=0;L<h;L++)v=L%M-b,w=_-(L/M|0),g[L]=E=c?Math.abs(c==="y"?w:v):Qs(v*v+w*w),E>T&&(T=E),E<A&&(A=E);n==="random"&&da(g),g.max=T-A,g.min=A,g.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(M>h?h-1:c?c==="y"?h/M:M:Math.max(M,h/M))||0)*(n==="edges"?-1:1),g.b=h<0?i-h:i,g.u=Ge(t.amount||t.each)||0,r=r&&h<0?wa(r):r}return h=(g[p]-g.min)/g.max||0,ge(g.b+(r?r(h):h)*g.v)+g.u}},Lo=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=ge(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(or(r)?0:Ge(r))}},pa=function(e,t){var r=$e(e),n,i;return!r&&Kt(e)&&(n=r=e.radius||Pt,e.values?(e=Ht(e.values),(i=!or(e[0]))&&(n*=n)):e=Lo(e.increment)),xr(t,r?we(e)?function(o){return i=e(o),Math.abs(i-o)<=n?i:o}:function(o){for(var s=parseFloat(i?o.x:o),l=parseFloat(i?o.y:0),c=Pt,u=0,f=e.length,p,d;f--;)i?(p=e[f].x-s,d=e[f].y-l,p=p*p+d*d):p=Math.abs(e[f]-s),p<c&&(c=p,u=f);return u=!n||c<=n?e[u]:o,i||u===o||or(o)?u:u+Ge(o)}:Lo(e))},ha=function(e,t,r,n){return xr($e(e)?!t:r===!0?!!(r=0):!n,function(){return $e(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*n)/n})},Jc=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return t.reduce(function(i,o){return o(i)},n)}},eu=function(e,t){return function(r){return e(parseFloat(r))+(t||Ge(r))}},tu=function(e,t,r){return ga(e,t,0,1,r)},ma=function(e,t,r){return xr(r,function(n){return e[~~t(n)]})},ru=function a(e,t,r){var n=t-e;return $e(e)?ma(e,a(0,e.length),t):xr(r,function(i){return(n+(i-e)%n)%n+e})},nu=function a(e,t,r){var n=t-e,i=n*2;return $e(e)?ma(e,a(0,e.length-1),t):xr(r,function(o){return o=(i+(o-e)%i)%i||0,e+(o>n?i-o:o)})},pn=function(e){return e.replace(Rc,function(t){var r=t.indexOf("[")+1,n=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(qc);return ha(r?n:+n[0],r?0:+n[1],+n[2]||1e-5)})},ga=function(e,t,r,n,i){var o=t-e,s=n-r;return xr(i,function(l){return r+((l-e)/o*s||0)})},iu=function a(e,t,r,n){var i=isNaN(e+t)?0:function(d){return(1-d)*e+d*t};if(!i){var o=He(e),s={},l,c,u,f,p;if(r===!0&&(n=1)&&(r=null),o)e={p:e},t={p:t};else if($e(e)&&!$e(t)){for(u=[],f=e.length,p=f-2,c=1;c<f;c++)u.push(a(e[c-1],e[c]));f--,i=function(m){m*=f;var h=Math.min(p,~~m);return u[h](m-h)},r=t}else n||(e=cn($e(e)?[]:{},e));if(!u){for(l in t)Bo.call(s,e,l,"get",t[l]);i=function(m){return Uo(m,s)||(o?e.p:e)}}}return xr(r,i)},Xs=function(e,t,r){var n=e.labels,i=Pt,o,s,l;for(o in n)s=n[o]-t,s<0==!!r&&s&&i>(s=Math.abs(s))&&(l=o,i=s);return l},wt=function(e,t,r){var n=e.vars,i=n[t],o=fe,s=e._ctx,l,c,u;if(i)return l=n[t+"Params"],c=n.callbackScope||e,r&&br.length&&xi(),s&&(fe=s),u=l?i.apply(c,l):i.call(c),fe=o,u},On=function(e){return Er(e),e.scrollTrigger&&e.scrollTrigger.kill(!!We),e.progress()<1&&wt(e,"onInterrupt"),e},an,_a=[],ya=function(e){if(e)if(e=!e.name&&e.default||e,Co()||e.headless){var t=e.name,r=we(e),n=t&&!r&&e.init?function(){this._props=[]}:e,i={init:Nn,render:Uo,add:Bo,kill:bu,modifier:vu,rawVars:0},o={targetTest:0,get:0,getSetter:Hi,aliases:{},register:0};if(fn(),e!==n){if(pt[t])return;xt(n,xt(Ti(e,i),o)),cn(n.prototype,cn(i,Ti(e,o))),pt[n.prop=t]=n,e.targetTest&&(bi.push(n),Do[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ta(t,n),e.register&&e.register(je,n,ot)}else _a.push(e)},ae=255,Dn={aqua:[0,ae,ae],lime:[0,ae,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ae],navy:[0,0,128],white:[ae,ae,ae],olive:[128,128,0],yellow:[ae,ae,0],orange:[ae,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ae,0,0],pink:[ae,192,203],cyan:[0,ae,ae],transparent:[ae,ae,ae,0]},ho=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*ae+.5|0},va=function(e,t,r){var n=e?or(e)?[e>>16,e>>8&ae,e&ae]:0:Dn.black,i,o,s,l,c,u,f,p,d,m;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Dn[e])n=Dn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),o=e.charAt(2),s=e.charAt(3),e="#"+i+i+o+o+s+s+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&ae,n&ae,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&ae,e&ae]}else if(e.substr(0,3)==="hsl"){if(n=m=e.match(Ws),!t)l=+n[0]%360/360,c=+n[1]/100,u=+n[2]/100,o=u<=.5?u*(c+1):u+c-u*c,i=u*2-o,n.length>3&&(n[3]*=1),n[0]=ho(l+1/3,i,o),n[1]=ho(l,i,o),n[2]=ho(l-1/3,i,o);else if(~e.indexOf("="))return n=e.match(Po),r&&n.length<4&&(n[3]=1),n}else n=e.match(Ws)||Dn.transparent;n=n.map(Number)}return t&&!m&&(i=n[0]/ae,o=n[1]/ae,s=n[2]/ae,f=Math.max(i,o,s),p=Math.min(i,o,s),u=(f+p)/2,f===p?l=c=0:(d=f-p,c=u>.5?d/(2-f-p):d/(f+p),l=f===i?(o-s)/d+(o<s?6:0):f===o?(s-i)/d+2:(i-o)/d+4,l*=60),n[0]=~~(l+.5),n[1]=~~(c*100+.5),n[2]=~~(u*100+.5)),r&&n.length<4&&(n[3]=1),n},ba=function(e){var t=[],r=[],n=-1;return e.split(ir).forEach(function(i){var o=i.match(zr)||[];t.push.apply(t,o),r.push(n+=o.length+1)}),t.c=r,t},Ks=function(e,t,r){var n="",i=(e+n).match(ir),o=t?"hsla(":"rgba(",s=0,l,c,u,f;if(!i)return e;if(i=i.map(function(p){return(p=va(p,t,1))&&o+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(u=ba(e),l=r.c,l.join(n)!==u.c.join(n)))for(c=e.replace(ir,"1").split(zr),f=c.length-1;s<f;s++)n+=c[s]+(~l.indexOf(s)?i.shift()||o+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!c)for(c=e.split(ir),f=c.length-1;s<f;s++)n+=c[s]+i[s];return n+c[f]},ir=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Dn)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),ou=/hsl[a]?\(/,No=function(e){var t=e.join(" "),r;if(ir.lastIndex=0,ir.test(t))return r=ou.test(t),e[1]=Ks(e[1],r),e[0]=Ks(e[0],r,ba(e[1])),!0},zn,ht=function(){var a=Date.now,e=500,t=33,r=a(),n=r,i=1e3/240,o=i,s=[],l,c,u,f,p,d,m=function h(g){var b=a()-n,_=g===!0,v,w,E,L;if((b>e||b<0)&&(r+=b-t),n+=b,E=n-r,v=E-o,(v>0||_)&&(L=++f.frame,p=E-f.time*1e3,f.time=E=E/1e3,o+=v+(v>=i?4:i-v),w=1),_||(l=c(h)),w)for(d=0;d<s.length;d++)s[d](E,p,L,g)};return f={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){Js&&(!bo&&Co()&&(Ut=bo=window,Oo=Ut.document||{},Et.gsap=je,(Ut.gsapVersions||(Ut.gsapVersions=[])).push(je.version),ea(Ei||Ut.GreenSockGlobals||!Ut.gsap&&Ut||{}),_a.forEach(ya)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),c=u||function(g){return setTimeout(g,o-f.time*1e3+1|0)},zn=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),zn=0,c=Nn},lagSmoothing:function(g,b){e=g||1/0,t=Math.min(b||33,e)},fps:function(g){i=1e3/(g||240),o=f.time*1e3+i},add:function(g,b,_){var v=b?function(w,E,L,T){g(w,E,L,T),f.remove(v)}:g;return f.remove(g),s[_?"unshift":"push"](v),fn(),v},remove:function(g,b){~(b=s.indexOf(g))&&s.splice(b,1)&&d>=b&&d--},_listeners:s},f}(),fn=function(){return!zn&&ht.wake()},J={},su=/^[\d.\-M][\d.\-,\s]/,au=/["']/g,lu=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],i=1,o=r.length,s,l,c;i<o;i++)l=r[i],s=i!==o-1?l.lastIndexOf(","):l.length,c=l.substr(0,s),t[n]=isNaN(c)?c.replace(au,"").trim():+c,n=l.substr(s+1).trim();return t},cu=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)},uu=function(e){var t=(e+"").split("("),r=J[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[lu(t[1])]:cu(e).split(",").map(ia)):J._CE&&su.test(e)?J._CE("",e):r},wa=function(e){return function(t){return 1-e(1-t)}},Ea=function a(e,t){for(var r=e._first,n;r;)r instanceof Be?a(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?a(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},Fr=function(e,t){return e&&(we(e)?e:J[e]||uu(e))||t},Wr=function(e,t,r,n){r===void 0&&(r=function(l){return 1-t(1-l)}),n===void 0&&(n=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var i={easeIn:t,easeOut:r,easeInOut:n},o;return it(e,function(s){J[s]=Et[s]=i,J[o=s.toLowerCase()]=r;for(var l in i)J[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=J[s+"."+l]=i[l]}),i},xa=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},mo=function a(e,t,r){var n=t>=1?t:1,i=(r||(e?.3:.45))/(t<1?t:1),o=i/vo*(Math.asin(1/n)||0),s=function(u){return u===1?1:n*Math.pow(2,-10*u)*Ic((u-o)*i)+1},l=e==="out"?s:e==="in"?function(c){return 1-s(1-c)}:xa(s);return i=vo/i,l.config=function(c,u){return a(e,c,u)},l},go=function a(e,t){t===void 0&&(t=1.70158);var r=function(o){return o?--o*o*((t+1)*o+t)+1:0},n=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:xa(r);return n.config=function(i){return a(e,i)},n};it("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var t=e<5?e+1:e;Wr(a+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});J.Linear.easeNone=J.none=J.Linear.easeIn;Wr("Elastic",mo("in"),mo("out"),mo());(function(a,e){var t=1/e,r=2*t,n=2.5*t,i=function(s){return s<t?a*s*s:s<r?a*Math.pow(s-1.5/e,2)+.75:s<n?a*(s-=2.25/e)*s+.9375:a*Math.pow(s-2.625/e,2)+.984375};Wr("Bounce",function(o){return 1-i(1-o)},i)})(7.5625,2.75);Wr("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});Wr("Circ",function(a){return-(Qs(1-a*a)-1)});Wr("Sine",function(a){return a===1?1:-Dc(a*Hc)+1});Wr("Back",go("in"),go("out"),go());J.SteppedEase=J.steps=Et.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),i=t?1:0,o=1-le;return function(s){return((n*Wn(0,o,s)|0)+i)*r}}};ln.ease=J["quad.out"];it("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return Io+=a+","+a+"Params,"});var zo=function(e,t){this.id=Oc++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:qo,this.set=t?t.getSetter:Hi},Bn=function(){function a(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,dn(this,+t.duration,1,1),this.data=t.data,fe&&(this._ctx=fe,fe.data.push(this)),zn||ht.wake()}var e=a.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,dn(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(fn(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Pi(this,r),!i._dp||i.parent||aa(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Xt(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===le||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),na(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Ys(this))%(this._dur+this._rDelay)||(r?this._dur:0),n):this._time},e.totalProgress=function(r,n){return arguments.length?this.totalTime(this.totalDuration()*r,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Ys(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,n){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,n):this._repeat?un(this._tTime,i)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-le?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Si(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-le?0:this._rts,this.totalTime(Wn(-Math.abs(this._delay),this.totalDuration(),i),n!==!1),Ci(this),Yc(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(fn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==le&&(this._tTime-=le)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=ge(r);var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&Xt(n,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(mt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var n=this.parent||this._dp;return n?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Si(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Bc);var n=We;return We=r,Fo(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),We=n,this},e.globalTime=function(r){for(var n=this,i=arguments.length?r:n.rawTime();n;)i=n._start+i/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Us(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,Us(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,n){return this.totalTime(Ct(this,r),mt(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,mt(n)),this._dur||(this._zTime=-le),this},e.play=function(r,n){return r!=null&&this.seek(r,n),this.reversed(!1).paused(!1)},e.reverse=function(r,n){return r!=null&&this.seek(r||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(r,n){return r!=null&&this.seek(r,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-le:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-le,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=n&&i<this.endTime(!0)-le)},e.eventCallback=function(r,n,i){var o=this.vars;return arguments.length>1?(n?(o[r]=n,i&&(o[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=n)):delete o[r],this):o[r]},e.then=function(r){var n=this,i=n._prom;return new Promise(function(o){var s=we(r)?r:oa,l=function(){var u=n.then;n.then=null,i&&i(),we(s)&&(s=s(n))&&(s.then||s===n)&&(n.then=u),o(s),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?l():n._prom=l})},e.kill=function(){On(this)},a}();xt(Bn.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:-le,_prom:0,_ps:!1,_rts:1});var Be=function(a){js(e,a);function e(r,n){var i;return r===void 0&&(r={}),i=a.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=mt(r.sortChildren),_e&&Xt(r.parent||_e,nr(i),n),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&la(nr(i),r.scrollTrigger),i}var t=e.prototype;return t.to=function(n,i,o){return Rn(0,arguments,this),this},t.from=function(n,i,o){return Rn(1,arguments,this),this},t.fromTo=function(n,i,o,s){return Rn(2,arguments,this),this},t.set=function(n,i,o){return i.duration=0,i.parent=this,In(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Me(n,i,Ct(this,o),1),this},t.call=function(n,i,o){return Xt(this,Me.delayedCall(0,n,i),o)},t.staggerTo=function(n,i,o,s,l,c,u){return o.duration=i,o.stagger=o.stagger||s,o.onComplete=c,o.onCompleteParams=u,o.parent=this,new Me(n,o,Ct(this,l)),this},t.staggerFrom=function(n,i,o,s,l,c,u){return o.runBackwards=1,In(o).immediateRender=mt(o.immediateRender),this.staggerTo(n,i,o,s,l,c,u)},t.staggerFromTo=function(n,i,o,s,l,c,u,f){return s.startAt=o,In(s).immediateRender=mt(s.immediateRender),this.staggerTo(n,i,s,l,c,u,f)},t.render=function(n,i,o){var s=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=n<=0?0:ge(n),f=this._zTime<0!=n<0&&(this._initted||!c),p,d,m,h,g,b,_,v,w,E,L,T;if(this!==_e&&u>l&&n>=0&&(u=l),u!==this._tTime||o||f){if(s!==this._time&&c&&(u+=this._time-s,n+=this._time-s),p=u,w=this._start,v=this._ts,b=!v,f&&(c||(s=this._zTime),(n||!i)&&(this._zTime=n)),this._repeat){if(L=this._yoyo,g=c+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,i,o);if(p=ge(u%g),u===l?(h=this._repeat,p=c):(E=ge(u/g),h=~~E,h&&h===E&&(p=c,h--),p>c&&(p=c)),E=un(this._tTime,g),!s&&this._tTime&&E!==h&&this._tTime-E*g-this._dur<=0&&(E=h),L&&h&1&&(p=c-p,T=1),h!==E&&!this._lock){var A=L&&E&1,M=A===(L&&h&1);if(h<E&&(A=!A),s=A?0:u%c?c:u,this._lock=1,this.render(s||(T?0:ge(h*g)),i,!c)._lock=0,this._tTime=u,!i&&this.parent&&wt(this,"onRepeat"),this.vars.repeatRefresh&&!T&&(this.invalidate()._lock=1,E=h),s&&s!==this._time||b!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,M&&(this._lock=2,s=A?c:-1e-4,this.render(s,!0),this.vars.repeatRefresh&&!T&&this.invalidate()),this._lock=0,!this._ts&&!b)return this;Ea(this,T)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(_=$c(this,ge(s),ge(p)),_&&(u-=p-(p=_._start))),this._tTime=u,this._time=p,this._act=!v,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,s=0),!s&&u&&c&&!i&&!E&&(wt(this,"onStart"),this._tTime!==u))return this;if(p>=s&&n>=0)for(d=this._first;d;){if(m=d._next,(d._act||p>=d._start)&&d._ts&&_!==d){if(d.parent!==this)return this.render(n,i,o);if(d.render(d._ts>0?(p-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(p-d._start)*d._ts,i,o),p!==this._time||!this._ts&&!b){_=0,m&&(u+=this._zTime=-le);break}}d=m}else{d=this._last;for(var x=n<0?n:p;d;){if(m=d._prev,(d._act||x<=d._end)&&d._ts&&_!==d){if(d.parent!==this)return this.render(n,i,o);if(d.render(d._ts>0?(x-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(x-d._start)*d._ts,i,o||We&&Fo(d)),p!==this._time||!this._ts&&!b){_=0,m&&(u+=this._zTime=x?-le:le);break}}d=m}}if(_&&!i&&(this.pause(),_.render(p>=s?0:-le)._zTime=p>=s?1:-1,this._ts))return this._start=w,Ci(this),this.render(n,i,o);this._onUpdate&&!i&&wt(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&s)&&(w===this._start||Math.abs(v)!==Math.abs(this._ts))&&(this._lock||((n||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&Er(this,1),!i&&!(n<0&&!s)&&(u||s||!l)&&(wt(this,u===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,i){var o=this;if(or(i)||(i=Ct(this,i,n)),!(n instanceof Bn)){if($e(n))return n.forEach(function(s){return o.add(s,i)}),this;if(He(n))return this.addLabel(n,i);if(we(n))n=Me.delayedCall(0,n);else return this}return this!==n?Xt(this,n,i):this},t.getChildren=function(n,i,o,s){n===void 0&&(n=!0),i===void 0&&(i=!0),o===void 0&&(o=!0),s===void 0&&(s=-Pt);for(var l=[],c=this._first;c;)c._start>=s&&(c instanceof Me?i&&l.push(c):(o&&l.push(c),n&&l.push.apply(l,c.getChildren(!0,i,o)))),c=c._next;return l},t.getById=function(n){for(var i=this.getChildren(1,1,1),o=i.length;o--;)if(i[o].vars.id===n)return i[o]},t.remove=function(n){return He(n)?this.removeLabel(n):we(n)?this.killTweensOf(n):(n.parent===this&&ki(this,n),n===this._recent&&(this._recent=this._last),qr(this))},t.totalTime=function(n,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ge(ht.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),a.prototype.totalTime.call(this,n,i),this._forcing=0,this):this._tTime},t.addLabel=function(n,i){return this.labels[n]=Ct(this,i),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,i,o){var s=Me.delayedCall(0,i||Nn,o);return s.data="isPause",this._hasPause=1,Xt(this,s,Ct(this,n))},t.removePause=function(n){var i=this._first;for(n=Ct(this,n);i;)i._start===n&&i.data==="isPause"&&Er(i),i=i._next},t.killTweensOf=function(n,i,o){for(var s=this.getTweensOf(n,o),l=s.length;l--;)vr!==s[l]&&s[l].kill(n,i);return this},t.getTweensOf=function(n,i){for(var o=[],s=Ht(n),l=this._first,c=or(i),u;l;)l instanceof Me?Wc(l._targets,s)&&(c?(!vr||l._initted&&l._ts)&&l.globalTime(0)<=i&&l.globalTime(l.totalDuration())>i:!i||l.isActive())&&o.push(l):(u=l.getTweensOf(s,i)).length&&o.push.apply(o,u),l=l._next;return o},t.tweenTo=function(n,i){i=i||{};var o=this,s=Ct(o,n),l=i,c=l.startAt,u=l.onStart,f=l.onStartParams,p=l.immediateRender,d,m=Me.to(o,xt({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:i.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale())||le,onStart:function(){if(o.pause(),!d){var g=i.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale());m._dur!==g&&dn(m,g,0,1).render(m._time,!0,!0),d=1}u&&u.apply(m,f||[])}},i));return p?m.render(0):m},t.tweenFromTo=function(n,i,o){return this.tweenTo(i,xt({startAt:{time:Ct(this,n)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),Xs(this,Ct(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),Xs(this,Ct(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+le)},t.shiftChildren=function(n,i,o){o===void 0&&(o=0);var s=this._first,l=this.labels,c;for(n=ge(n);s;)s._start>=o&&(s._start+=n,s._end+=n),s=s._next;if(i)for(c in l)l[c]>=o&&(l[c]+=n);return qr(this)},t.invalidate=function(n){var i=this._first;for(this._lock=0;i;)i.invalidate(n),i=i._next;return a.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var i=this._first,o;i;)o=i._next,this.remove(i),i=o;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),qr(this)},t.totalDuration=function(n){var i=0,o=this,s=o._last,l=Pt,c,u,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-n:n));if(o._dirty){for(f=o.parent;s;)c=s._prev,s._dirty&&s.totalDuration(),u=s._start,u>l&&o._sort&&s._ts&&!o._lock?(o._lock=1,Xt(o,s,u-s._delay,1)._lock=0):l=u,u<0&&s._ts&&(i-=u,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=ge(u/o._ts),o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),l=0),s._end>i&&s._ts&&(i=s._end),s=c;dn(o,o===_e&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(n){if(_e._ts&&(na(_e,Si(n,_e)),ra=ht.frame),ht.frame>=Gs){Gs+=gt.autoSleep||120;var i=_e._first;if((!i||!i._ts)&>.autoSleep&&ht._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||ht.sleep()}}},e}(Bn);xt(Be.prototype,{_lock:0,_hasPause:0,_forcing:0});var du=function(e,t,r,n,i,o,s){var l=new ot(this._pt,e,t,0,1,Yo,null,i),c=0,u=0,f,p,d,m,h,g,b,_;for(l.b=r,l.e=n,r+="",n+="",(b=~n.indexOf("random("))&&(n=pn(n)),o&&(_=[r,n],o(_,e,t),r=_[0],n=_[1]),p=r.match(fo)||[];f=fo.exec(n);)m=f[0],h=n.substring(c,f.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),m!==p[u++]&&(g=parseFloat(p[u-1])||0,l._pt={_next:l._pt,p:h||u===1?h:",",s:g,c:m.charAt(1)==="="?Br(g,m)-g:parseFloat(m)-g,m:d&&d<4?Math.round:0},c=fo.lastIndex);return l.c=c<n.length?n.substring(c,n.length):"",l.fp=s,(Ho.test(n)||b)&&(l.e=0),this._pt=l,l},Bo=function(e,t,r,n,i,o,s,l,c,u){we(n)&&(n=n(i||0,e,o));var f=e[t],p=r!=="get"?r:we(f)?c?e[t.indexOf("set")||!we(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():f,d=we(f)?c?gu:La:Vo,m;if(He(n)&&(~n.indexOf("random(")&&(n=pn(n)),n.charAt(1)==="="&&(m=Br(p,n)+(Ge(p)||0),(m||m===0)&&(n=m))),!u||p!==n||Mo)return!isNaN(p*n)&&n!==""?(m=new ot(this._pt,e,t,+p||0,n-(p||0),typeof f=="boolean"?yu:Ma,0,d),c&&(m.fp=c),s&&m.modifier(s,this,e),this._pt=m):(!f&&!(t in e)&&Ai(t,n),du.call(this,e,t,p,n,d,l||gt.stringFilter,c))},fu=function(e,t,r,n,i){if(we(e)&&(e=qn(e,i,t,r,n)),!Kt(e)||e.style&&e.nodeType||$e(e)||Zs(e))return He(e)?qn(e,i,t,r,n):e;var o={},s;for(s in e)o[s]=qn(e[s],i,t,r,n);return o},Wo=function(e,t,r,n,i,o){var s,l,c,u;if(pt[e]&&(s=new pt[e]).init(i,s.rawVars?t[e]:fu(t[e],n,i,o,r),r,n,o)!==!1&&(r._pt=l=new ot(r._pt,i,e,0,1,s.render,s,0,s.priority),r!==an))for(c=r._ptLookup[r._targets.indexOf(i)],u=s._props.length;u--;)c[s._props[u]]=l;return s},vr,Mo,Go=function a(e,t,r){var n=e.vars,i=n.ease,o=n.startAt,s=n.immediateRender,l=n.lazy,c=n.onUpdate,u=n.runBackwards,f=n.yoyoEase,p=n.keyframes,d=n.autoRevert,m=e._dur,h=e._startAt,g=e._targets,b=e.parent,_=b&&b.data==="nested"?b.vars.targets:g,v=e._overwrite==="auto"&&!ko,w=e.timeline,E,L,T,A,M,x,P,k,I,N,G,F,C;if(w&&(!p||!i)&&(i="none"),e._ease=Fr(i,ln.ease),e._yEase=f?wa(Fr(f===!0?i:f,ln.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!w&&!!n.runBackwards,!w||p&&!n.stagger){if(k=g[0]?wr(g[0]).harness:0,F=k&&n[k.prop],E=Ti(n,Do),h&&(h._zTime<0&&h.progress(1),t<0&&u&&s&&!d?h.render(-1,!0):h.revert(u&&m?vi:zc),h._lazy=0),o){if(Er(e._startAt=Me.set(g,xt({data:"isStart",overwrite:!1,parent:b,immediateRender:!0,lazy:!h&&mt(l),startAt:null,delay:0,onUpdate:c&&function(){return wt(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(We||!s&&!d)&&e._startAt.revert(vi),s&&m&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&m&&!h){if(t&&(s=!1),T=xt({overwrite:!1,data:"isFromStart",lazy:s&&!h&&mt(l),immediateRender:s,stagger:0,parent:b},E),F&&(T[k.prop]=F),Er(e._startAt=Me.set(g,T)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(We?e._startAt.revert(vi):e._startAt.render(-1,!0)),e._zTime=t,!s)a(e._startAt,le,le);else if(!t)return}for(e._pt=e._ptCache=0,l=m&&mt(l)||l&&!m,L=0;L<g.length;L++){if(M=g[L],P=M._gsap||Ro(g)[L]._gsap,e._ptLookup[L]=N={},wo[P.id]&&br.length&&xi(),G=_===g?L:_.indexOf(M),k&&(I=new k).init(M,F||E,e,G,_)!==!1&&(e._pt=A=new ot(e._pt,M,I.name,0,1,I.render,I,0,I.priority),I._props.forEach(function(z){N[z]=A}),I.priority&&(x=1)),!k||F)for(T in E)pt[T]&&(I=Wo(T,E,e,G,M,_))?I.priority&&(x=1):N[T]=A=Bo.call(e,M,T,"get",E[T],G,_,0,n.stringFilter);e._op&&e._op[L]&&e.kill(M,e._op[L]),v&&e._pt&&(vr=e,_e.killTweensOf(M,N,e.globalTime(t)),C=!e.parent,vr=0),e._pt&&l&&(wo[P.id]=1)}x&&Xo(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!C,p&&t<=0&&w.render(Pt,!0,!0)},pu=function(e,t,r,n,i,o,s,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,f,p,d;if(!c)for(c=e._ptCache[t]=[],p=e._ptLookup,d=e._targets.length;d--;){if(u=p[d][t],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return Mo=1,e.vars[t]="+=0",Go(e,s),Mo=0,l?Fn(t+" not eligible for reset"):1;c.push(u)}for(d=c.length;d--;)f=c[d],u=f._pt||f,u.s=(n||n===0)&&!i?n:u.s+(n||0)+o*u.c,u.c=r-u.s,f.e&&(f.e=Ee(r)+Ge(f.e)),f.b&&(f.b=u.s+Ge(f.b))},hu=function(e,t){var r=e[0]?wr(e[0]).harness:0,n=r&&r.aliases,i,o,s,l;if(!n)return t;i=cn({},t);for(o in n)if(o in i)for(l=n[o].split(","),s=l.length;s--;)i[l[s]]=i[o];return i},mu=function(e,t,r,n){var i=t.ease||n||"power1.inOut",o,s;if($e(t))s=r[e]||(r[e]=[]),t.forEach(function(l,c){return s.push({t:c/(t.length-1)*100,v:l,e:i})});else for(o in t)s=r[o]||(r[o]=[]),o==="ease"||s.push({t:parseFloat(e),v:t[o],e:i})},qn=function(e,t,r,n,i){return we(e)?e.call(t,r,n,i):He(e)&&~e.indexOf("random(")?pn(e):e},Ta=Io+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Sa={};it(Ta+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return Sa[a]=1});var Me=function(a){js(e,a);function e(r,n,i,o){var s;typeof n=="number"&&(i.duration=n,n=i,i=null),s=a.call(this,o?n:In(n))||this;var l=s.vars,c=l.duration,u=l.delay,f=l.immediateRender,p=l.stagger,d=l.overwrite,m=l.keyframes,h=l.defaults,g=l.scrollTrigger,b=l.yoyoEase,_=n.parent||_e,v=($e(r)||Zs(r)?or(r[0]):"length"in n)?[r]:Ht(r),w,E,L,T,A,M,x,P;if(s._targets=v.length?Ro(v):Fn("GSAP target "+r+" not found. https://gsap.com",!gt.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=d,m||p||yi(c)||yi(u)){if(n=s.vars,w=s.timeline=new Be({data:"nested",defaults:h||{},targets:_&&_.data==="nested"?_.vars.targets:v}),w.kill(),w.parent=w._dp=nr(s),w._start=0,p||yi(c)||yi(u)){if(T=v.length,x=p&&fa(p),Kt(p))for(A in p)~Ta.indexOf(A)&&(P||(P={}),P[A]=p[A]);for(E=0;E<T;E++)L=Ti(n,Sa),L.stagger=0,b&&(L.yoyoEase=b),P&&cn(L,P),M=v[E],L.duration=+qn(c,nr(s),E,M,v),L.delay=(+qn(u,nr(s),E,M,v)||0)-s._delay,!p&&T===1&&L.delay&&(s._delay=u=L.delay,s._start+=u,L.delay=0),w.to(M,L,x?x(E,M,v):0),w._ease=J.none;w.duration()?c=u=0:s.timeline=0}else if(m){In(xt(w.vars.defaults,{ease:"none"})),w._ease=Fr(m.ease||n.ease||"none");var k=0,I,N,G;if($e(m))m.forEach(function(F){return w.to(v,F,">")}),w.duration();else{L={};for(A in m)A==="ease"||A==="easeEach"||mu(A,m[A],L,m.easeEach);for(A in L)for(I=L[A].sort(function(F,C){return F.t-C.t}),k=0,E=0;E<I.length;E++)N=I[E],G={ease:N.e,duration:(N.t-(E?I[E-1].t:0))/100*c},G[A]=N.v,w.to(v,G,k),k+=G.duration;w.duration()<c&&w.to({},{duration:c-w.duration()})}}c||s.duration(c=w.duration())}else s.timeline=0;return d===!0&&!ko&&(vr=nr(s),_e.killTweensOf(v),vr=0),Xt(_,nr(s),i),n.reversed&&s.reverse(),n.paused&&s.paused(!0),(f||!c&&!m&&s._start===ge(_._time)&&mt(f)&&Uc(nr(s))&&_.data!=="nested")&&(s._tTime=-le,s.render(Math.max(0,-u)||0)),g&&la(nr(s),g),s}var t=e.prototype;return t.render=function(n,i,o){var s=this._time,l=this._tDur,c=this._dur,u=n<0,f=n>l-le&&!u?l:n<le?0:n,p,d,m,h,g,b,_,v,w;if(!c)Kc(this,n,i,o);else if(f!==this._tTime||!n||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(p=f,v=this.timeline,this._repeat){if(h=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(h*100+n,i,o);if(p=ge(f%h),f===l?(m=this._repeat,p=c):(g=ge(f/h),m=~~g,m&&m===g?(p=c,m--):p>c&&(p=c)),b=this._yoyo&&m&1,b&&(w=this._yEase,p=c-p),g=un(this._tTime,h),p===s&&!o&&this._initted&&m===g)return this._tTime=f,this;m!==g&&(v&&this._yEase&&Ea(v,b),this.vars.repeatRefresh&&!b&&!this._lock&&p!==h&&this._initted&&(this._lock=o=1,this.render(ge(h*m),!0).invalidate()._lock=0))}if(!this._initted){if(ca(this,u?n:p,o,i,f))return this._tTime=0,this;if(s!==this._time&&!(o&&this.vars.repeatRefresh&&m!==g))return this;if(c!==this._dur)return this.render(n,i,o)}if(this._tTime=f,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=_=(w||this._ease)(p/c),this._from&&(this.ratio=_=1-_),!s&&f&&!i&&!g&&(wt(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(_,d.d),d=d._next;v&&v.render(n<0?n:v._dur*v._ease(p/this._dur),i,o)||this._startAt&&(this._zTime=n),this._onUpdate&&!i&&(u&&Eo(this,n,i,o),wt(this,"onUpdate")),this._repeat&&m!==g&&this.vars.onRepeat&&!i&&this.parent&&wt(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&Eo(this,n,!0,!0),(n||!c)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Er(this,1),!i&&!(u&&!s)&&(f||s||b)&&(wt(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),a.prototype.invalidate.call(this,n)},t.resetTo=function(n,i,o,s,l){zn||ht.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Go(this,c),u=this._ease(c/this._dur),pu(this,n,i,o,s,u,c,l)?this.resetTo(n,i,o,s,1):(Pi(this,0),this.parent||sa(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,i){if(i===void 0&&(i="all"),!n&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?On(this):this.scrollTrigger&&this.scrollTrigger.kill(!!We),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,i,vr&&vr.vars.overwrite!==!0)._first||On(this),this.parent&&o!==this.timeline.totalDuration()&&dn(this,this._dur*this.timeline._tDur/o,0,1),this}var s=this._targets,l=n?Ht(n):s,c=this._ptLookup,u=this._pt,f,p,d,m,h,g,b;if((!i||i==="all")&&Vc(s,l))return i==="all"&&(this._pt=0),On(this);for(f=this._op=this._op||[],i!=="all"&&(He(i)&&(h={},it(i,function(_){return h[_]=1}),i=h),i=hu(s,i)),b=s.length;b--;)if(~l.indexOf(s[b])){p=c[b],i==="all"?(f[b]=i,m=p,d={}):(d=f[b]=f[b]||{},m=i);for(h in m)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&ki(this,g,"_pt"),delete p[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&u&&On(this),this},e.to=function(n,i){return new e(n,i,arguments[2])},e.from=function(n,i){return Rn(1,arguments)},e.delayedCall=function(n,i,o,s){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:i,onReverseComplete:i,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:s})},e.fromTo=function(n,i,o){return Rn(2,arguments)},e.set=function(n,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(n,i)},e.killTweensOf=function(n,i,o){return _e.killTweensOf(n,i,o)},e}(Bn);xt(Me.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});it("staggerTo,staggerFrom,staggerFromTo",function(a){Me[a]=function(){var e=new Be,t=To.call(arguments,0);return t.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,t)}});var Vo=function(e,t,r){return e[t]=r},La=function(e,t,r){return e[t](r)},gu=function(e,t,r,n){return e[t](n.fp,r)},_u=function(e,t,r){return e.setAttribute(t,r)},Hi=function(e,t){return we(e[t])?La:Mi(e[t])&&e.setAttribute?_u:Vo},Ma=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},yu=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Yo=function(e,t){var r=t._pt,n="";if(!e&&t.b)n=t.b;else if(e===1&&t.e)n=t.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+n,r=r._next;n+=t.c}t.set(t.t,t.p,n,t)},Uo=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},vu=function(e,t,r,n){for(var i=this._pt,o;i;)o=i._next,i.p===n&&i.modifier(e,t,r),i=o},bu=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?ki(this,t,"_pt"):t.dep||(r=1),t=n;return!r},wu=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Xo=function(e){for(var t=e._pt,r,n,i,o;t;){for(r=t._next,n=i;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:o)?t._prev._next=t:i=t,(t._next=n)?n._prev=t:o=t,t=r}e._pt=i},ot=function(){function a(t,r,n,i,o,s,l,c,u){this.t=r,this.s=i,this.c=o,this.p=n,this.r=s||Ma,this.d=l||this,this.set=c||Vo,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=a.prototype;return e.modifier=function(r,n,i){this.mSet=this.mSet||this.set,this.set=wu,this.m=r,this.mt=i,this.tween=n},a}();it(Io+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(a){return Do[a]=1});Et.TweenMax=Et.TweenLite=Me;Et.TimelineLite=Et.TimelineMax=Be;_e=new Be({sortChildren:!1,defaults:ln,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});gt.stringFilter=No;var Nr=[],wi={},Eu=[],$s=0,xu=0,_o=function(e){return(wi[e]||Eu).map(function(t){return t()})},Ao=function(){var e=Date.now(),t=[];e-$s>2&&(_o("matchMediaInit"),Nr.forEach(function(r){var n=r.queries,i=r.conditions,o,s,l,c;for(s in n)o=Ut.matchMedia(n[s]).matches,o&&(l=1),o!==i[s]&&(i[s]=o,c=1);c&&(r.revert(),l&&t.push(r))}),_o("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),$s=e,_o("matchMedia"))},Aa=function(){function a(t,r){this.selector=r&&So(r),this.data=[],this._r=[],this.isReverted=!1,this.id=xu++,t&&this.add(t)}var e=a.prototype;return e.add=function(r,n,i){we(r)&&(i=n,n=r,r=we);var o=this,s=function(){var c=fe,u=o.selector,f;return c&&c!==o&&c.data.push(o),i&&(o.selector=So(i)),fe=o,f=n.apply(o,arguments),we(f)&&o._r.push(f),fe=c,o.selector=u,o.isReverted=!1,f};return o.last=s,r===we?s(o,function(l){return o.add(null,l)}):r?o[r]=s:s},e.ignore=function(r){var n=fe;fe=null,r(this),fe=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof a?r.push.apply(r,n.getTweens()):n instanceof Me&&!(n.parent&&n.parent.data==="nested")&&r.push(n)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,n){var i=this;if(r?function(){for(var s=i.getTweens(),l=i.data.length,c;l--;)c=i.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return s.splice(s.indexOf(u),1)}));for(s.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,f){return f.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=i.data.length;l--;)c=i.data[l],c instanceof Be?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Me)&&c.revert&&c.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0}():this.data.forEach(function(s){return s.kill&&s.kill()}),this.clear(),n)for(var o=Nr.length;o--;)Nr[o].id===this.id&&Nr.splice(o,1)},e.revert=function(r){this.kill(r||{})},a}(),Tu=function(){function a(t){this.contexts=[],this.scope=t,fe&&fe.data.push(this)}var e=a.prototype;return e.add=function(r,n,i){Kt(r)||(r={matches:r});var o=new Aa(0,i||this.scope),s=o.conditions={},l,c,u;fe&&!o.selector&&(o.selector=fe.selector),this.contexts.push(o),n=o.add("onMatch",n),o.queries=r;for(c in r)c==="all"?u=1:(l=Ut.matchMedia(r[c]),l&&(Nr.indexOf(o)<0&&Nr.push(o),(s[c]=l.matches)&&(u=1),l.addListener?l.addListener(Ao):l.addEventListener("change",Ao)));return u&&n(o,function(f){return o.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},a}(),Li={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(n){return ya(n)})},timeline:function(e){return new Be(e)},getTweensOf:function(e,t){return _e.getTweensOf(e,t)},getProperty:function(e,t,r,n){He(e)&&(e=Ht(e)[0]);var i=wr(e||{}).get,o=r?oa:ia;return r==="native"&&(r=""),e&&(t?o((pt[t]&&pt[t].get||i)(e,t,r,n)):function(s,l,c){return o((pt[s]&&pt[s].get||i)(e,s,l,c))})},quickSetter:function(e,t,r){if(e=Ht(e),e.length>1){var n=e.map(function(u){return je.quickSetter(u,t,r)}),i=n.length;return function(u){for(var f=i;f--;)n[f](u)}}e=e[0]||{};var o=pt[t],s=wr(e),l=s.harness&&(s.harness.aliases||{})[t]||t,c=o?function(u){var f=new o;an._pt=0,f.init(e,r?u+r:u,an,0,[e]),f.render(1,f),an._pt&&Uo(1,an)}:s.set(e,l);return o?c:function(u){return c(e,l,r?u+r:u,s,1)}},quickTo:function(e,t,r){var n,i=je.to(e,xt((n={},n[t]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),o=function(l,c,u){return i.resetTo(t,l,c,u)};return o.tween=i,o},isTweening:function(e){return _e.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Fr(e.ease,ln.ease)),Vs(ln,e||{})},config:function(e){return Vs(gt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,i=e.defaults,o=e.extendTimeline;(n||"").split(",").forEach(function(s){return s&&!pt[s]&&!Et[s]&&Fn(t+" effect requires "+s+" plugin.")}),po[t]=function(s,l,c){return r(Ht(s),xt(l||{},i),c)},o&&(Be.prototype[t]=function(s,l,c){return this.add(po[t](s,Kt(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){J[e]=Fr(t)},parseEase:function(e,t){return arguments.length?Fr(e,t):J},getById:function(e){return _e.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Be(e),n,i;for(r.smoothChildTiming=mt(e.smoothChildTiming),_e.remove(r),r._dp=0,r._time=r._tTime=_e._time,n=_e._first;n;)i=n._next,(t||!(!n._dur&&n instanceof Me&&n.vars.onComplete===n._targets[0]))&&Xt(r,n,n._start-n._delay),n=i;return Xt(_e,r,0),r},context:function(e,t){return e?new Aa(e,t):fe},matchMedia:function(e){return new Tu(e)},matchMediaRefresh:function(){return Nr.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||Ao()},addEventListener:function(e,t){var r=wi[e]||(wi[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=wi[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:ru,wrapYoyo:nu,distribute:fa,random:ha,snap:pa,normalize:tu,getUnit:Ge,clamp:Qc,splitColor:va,toArray:Ht,selector:So,mapRange:ga,pipe:Jc,unitize:eu,interpolate:iu,shuffle:da},install:ea,effects:po,ticker:ht,updateRoot:Be.updateRoot,plugins:pt,globalTimeline:_e,core:{PropTween:ot,globals:ta,Tween:Me,Timeline:Be,Animation:Bn,getCache:wr,_removeLinkedListItem:ki,reverting:function(){return We},context:function(e){return e&&fe&&(fe.data.push(e),e._ctx=fe),fe},suppressOverwrites:function(e){return ko=e}}};it("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return Li[a]=Me[a]});ht.add(Be.updateRoot);an=Li.to({},{duration:0});var Su=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Lu=function(e,t){var r=e._targets,n,i,o;for(n in t)for(i=r.length;i--;)o=e._ptLookup[i][n],o&&(o=o.d)&&(o._pt&&(o=Su(o,n)),o&&o.modifier&&o.modifier(t[n],e,r[i],n))},yo=function(e,t){return{name:e,headless:1,rawVars:1,init:function(n,i,o){o._onInit=function(s){var l,c;if(He(i)&&(l={},it(i,function(u){return l[u]=1}),i=l),t){l={};for(c in i)l[c]=t(i[c]);i=l}Lu(s,i)}}}},je=Li.registerPlugin({name:"attr",init:function(e,t,r,n,i){var o,s,l;this.tween=r;for(o in t)l=e.getAttribute(o)||"",s=this.add(e,"setAttribute",(l||0)+"",t[o],n,i,0,0,o),s.op=o,s.b=l,this._props.push(o)},render:function(e,t){for(var r=t._pt;r;)We?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},yo("roundProps",Lo),yo("modifiers"),yo("snap",pa))||Li;Me.version=Be.version=je.version="3.14.2";Js=1;Co()&&fn();var Mu=J.Power0,Au=J.Power1,ku=J.Power2,Cu=J.Power3,Pu=J.Power4,Hu=J.Linear,Ou=J.Quad,Du=J.Cubic,Iu=J.Quart,Ru=J.Quint,qu=J.Strong,Fu=J.Elastic,Nu=J.Back,zu=J.SteppedEase,Bu=J.Bounce,Wu=J.Sine,Gu=J.Expo,Vu=J.Circ;var ka,Tr,mn,Jo,Ur,Yu,Ca,es,Uu=function(){return typeof window<"u"},ar={},Yr=180/Math.PI,gn=Math.PI/180,hn=Math.atan2,Pa=1e8,ts=/([A-Z])/g,Xu=/(left|right|width|margin|padding|x)/i,Ku=/[\s,\(]\S/,$t={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},$o=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},$u=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},ju=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Qu=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Zu=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Na=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},za=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},Ju=function(e,t,r){return e.style[t]=r},ed=function(e,t,r){return e.style.setProperty(t,r)},td=function(e,t,r){return e._gsap[t]=r},rd=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},nd=function(e,t,r,n,i){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(i,o)},id=function(e,t,r,n,i){var o=e._gsap;o[t]=r,o.renderTransform(i,o)},ye="transform",_t=ye+"Origin",od=function a(e,t){var r=this,n=this.target,i=n.style,o=n._gsap;if(e in ar&&i){if(this.tfm=this.tfm||{},e!=="transform")e=$t[e]||e,~e.indexOf(",")?e.split(",").forEach(function(s){return r.tfm[s]=sr(n,s)}):this.tfm[e]=o.x?o[e]:sr(n,e),e===_t&&(this.tfm.zOrigin=o.zOrigin);else return $t.transform.split(",").forEach(function(s){return a.call(r,s,t)});if(this.props.indexOf(ye)>=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(_t,t,"")),e=ye}(i||t)&&this.props.push(e,t,i[e])},Ba=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},sd=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,i,o;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(ts,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)n[o]=this.tfm[o];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=es(),(!i||!i.isStart)&&!r[ye]&&(Ba(r),n.zOrigin&&r[_t]&&(r[_t]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},Wa=function(e,t){var r={target:e,props:[],revert:sd,save:od};return e._gsap||je.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(n){return r.save(n)}),r},Ga,jo=function(e,t){var r=Tr.createElementNS?Tr.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Tr.createElement(e);return r&&r.style?r:Tr.createElement(e)},Tt=function a(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(ts,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&a(e,_n(t)||t,1)||""},Ha="O,Moz,ms,Ms,Webkit".split(","),_n=function(e,t,r){var n=t||Ur,i=n.style,o=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Ha[o]+e in i););return o<0?null:(o===3?"ms":o>=0?Ha[o]:"")+e},Qo=function(){Uu()&&window.document&&(ka=window,Tr=ka.document,mn=Tr.documentElement,Ur=jo("div")||{style:{}},Yu=jo("div"),ye=_n(ye),_t=ye+"Origin",Ur.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ga=!!_n("perspective"),es=je.core.reverting,Jo=1)},Oa=function(e){var t=e.ownerSVGElement,r=jo("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(!0),i;n.style.display="block",r.appendChild(n),mn.appendChild(r);try{i=n.getBBox()}catch{}return r.removeChild(n),mn.removeChild(r),i},Da=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Va=function(e){var t,r;try{t=e.getBBox()}catch{t=Oa(e),r=1}return t&&(t.width||t.height)||r||(t=Oa(e)),t&&!t.width&&!t.x&&!t.y?{x:+Da(e,["x","cx","x1"])||0,y:+Da(e,["y","cy","y1"])||0,width:0,height:0}:t},Ya=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Va(e))},Lr=function(e,t){if(t){var r=e.style,n;t in ar&&t!==_t&&(t=ye),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(ts,"-$1").toLowerCase())):r.removeAttribute(t)}},Sr=function(e,t,r,n,i,o){var s=new ot(e._pt,t,r,0,1,o?za:Na);return e._pt=s,s.b=n,s.e=i,e._props.push(r),s},Ia={deg:1,rad:1,turn:1},ad={grid:1,flex:1},Mr=function a(e,t,r,n){var i=parseFloat(r)||0,o=(r+"").trim().substr((i+"").length)||"px",s=Ur.style,l=Xu.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),f=100,p=n==="px",d=n==="%",m,h,g,b;if(n===o||!i||Ia[n]||Ia[o])return i;if(o!=="px"&&!p&&(i=a(e,t,r,"px")),b=e.getCTM&&Ya(e),(d||o==="%")&&(ar[t]||~t.indexOf("adius")))return m=b?e.getBBox()[l?"width":"height"]:e[u],Ee(d?i/m*f:i/100*m);if(s[l?"width":"height"]=f+(p?o:n),h=n!=="rem"&&~t.indexOf("adius")||n==="em"&&e.appendChild&&!c?e:e.parentNode,b&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===Tr||!h.appendChild)&&(h=Tr.body),g=h._gsap,g&&d&&g.width&&l&&g.time===ht.time&&!g.uncache)return Ee(i/g.width*f);if(d&&(t==="height"||t==="width")){var _=e.style[t];e.style[t]=f+n,m=e[u],_?e.style[t]=_:Lr(e,t)}else(d||o==="%")&&!ad[Tt(h,"display")]&&(s.position=Tt(e,"position")),h===e&&(s.position="static"),h.appendChild(Ur),m=Ur[u],h.removeChild(Ur),s.position="absolute";return l&&d&&(g=wr(h),g.time=ht.time,g.width=h[u]),Ee(p?m*i/f:m&&i?f/m*i:0)},sr=function(e,t,r,n){var i;return Jo||Qo(),t in $t&&t!=="transform"&&(t=$t[t],~t.indexOf(",")&&(t=t.split(",")[0])),ar[t]&&t!=="transform"?(i=Yn(e,n),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Di(Tt(e,_t))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||n||~(i+"").indexOf("calc("))&&(i=Oi[t]&&Oi[t](e,t,r)||Tt(e,t)||qo(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Mr(e,t,i,r)+r:i},ld=function(e,t,r,n){if(!r||r==="none"){var i=_n(t,e,1),o=i&&Tt(e,i,1);o&&o!==r?(t=i,r=o):t==="borderColor"&&(r=Tt(e,"borderTopColor"))}var s=new ot(this._pt,e.style,t,0,1,Yo),l=0,c=0,u,f,p,d,m,h,g,b,_,v,w,E;if(s.b=r,s.e=n,r+="",n+="",n.substring(0,6)==="var(--"&&(n=Tt(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(h=e.style[t],e.style[t]=n,n=Tt(e,t)||n,h?e.style[t]=h:Lr(e,t)),u=[r,n],No(u),r=u[0],n=u[1],p=r.match(zr)||[],E=n.match(zr)||[],E.length){for(;f=zr.exec(n);)g=f[0],_=n.substring(l,f.index),m?m=(m+1)%5:(_.substr(-5)==="rgba("||_.substr(-5)==="hsla(")&&(m=1),g!==(h=p[c++]||"")&&(d=parseFloat(h)||0,w=h.substr((d+"").length),g.charAt(1)==="="&&(g=Br(d,g)+w),b=parseFloat(g),v=g.substr((b+"").length),l=zr.lastIndex-v.length,v||(v=v||gt.units[t]||w,l===n.length&&(n+=v,s.e+=v)),w!==v&&(d=Mr(e,t,h,v)||0),s._pt={_next:s._pt,p:_||c===1?_:",",s:d,c:b-d,m:m&&m<4||t==="zIndex"?Math.round:0});s.c=l<n.length?n.substring(l,n.length):""}else s.r=t==="display"&&n==="none"?za:Na;return Ho.test(n)&&(s.e=0),this._pt=s,s},Ra={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},cd=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return(r==="top"||r==="bottom"||n==="left"||n==="right")&&(e=r,r=n,n=e),t[0]=Ra[r]||r,t[1]=Ra[n]||n,t.join(" ")},ud=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,i=t.u,o=r._gsap,s,l,c;if(i==="all"||i===!0)n.cssText="",l=1;else for(i=i.split(","),c=i.length;--c>-1;)s=i[c],ar[s]&&(l=1,s=s==="transformOrigin"?_t:ye),Lr(r,s);l&&(Lr(r,ye),o&&(o.svg&&r.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Yn(r,1),o.uncache=1,Ba(n)))}},Oi={clearProps:function(e,t,r,n,i){if(i.data!=="isFromStart"){var o=e._pt=new ot(e._pt,t,r,0,0,ud);return o.u=n,o.pr=-10,o.tween=i,e._props.push(r),1}}},Vn=[1,0,0,1,0,0],Ua={},Xa=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},qa=function(e){var t=Tt(e,ye);return Xa(t)?Vn:t.substr(7).match(Po).map(Ee)},rs=function(e,t){var r=e._gsap||wr(e),n=e.style,i=qa(e),o,s,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,i=[l.a,l.b,l.c,l.d,l.e,l.f],i.join(",")==="1,0,0,1,0,0"?Vn:i):(i===Vn&&!e.offsetParent&&e!==mn&&!r.svg&&(l=n.display,n.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,s=e.nextElementSibling,mn.appendChild(e)),i=qa(e),l?n.display=l:Lr(e,"display"),c&&(s?o.insertBefore(e,s):o?o.appendChild(e):mn.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Zo=function(e,t,r,n,i,o){var s=e._gsap,l=i||rs(e,!0),c=s.xOrigin||0,u=s.yOrigin||0,f=s.xOffset||0,p=s.yOffset||0,d=l[0],m=l[1],h=l[2],g=l[3],b=l[4],_=l[5],v=t.split(" "),w=parseFloat(v[0])||0,E=parseFloat(v[1])||0,L,T,A,M;r?l!==Vn&&(T=d*g-m*h)&&(A=w*(g/T)+E*(-h/T)+(h*_-g*b)/T,M=w*(-m/T)+E*(d/T)-(d*_-m*b)/T,w=A,E=M):(L=Va(e),w=L.x+(~v[0].indexOf("%")?w/100*L.width:w),E=L.y+(~(v[1]||v[0]).indexOf("%")?E/100*L.height:E)),n||n!==!1&&s.smooth?(b=w-c,_=E-u,s.xOffset=f+(b*d+_*h)-b,s.yOffset=p+(b*m+_*g)-_):s.xOffset=s.yOffset=0,s.xOrigin=w,s.yOrigin=E,s.smooth=!!n,s.origin=t,s.originIsAbsolute=!!r,e.style[_t]="0px 0px",o&&(Sr(o,s,"xOrigin",c,w),Sr(o,s,"yOrigin",u,E),Sr(o,s,"xOffset",f,s.xOffset),Sr(o,s,"yOffset",p,s.yOffset)),e.setAttribute("data-svg-origin",w+" "+E)},Yn=function(e,t){var r=e._gsap||new zo(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,i=r.scaleX<0,o="px",s="deg",l=getComputedStyle(e),c=Tt(e,_t)||"0",u,f,p,d,m,h,g,b,_,v,w,E,L,T,A,M,x,P,k,I,N,G,F,C,z,ee,y,V,ie,oe,Q,pe;return u=f=p=h=g=b=_=v=w=0,d=m=1,r.svg=!!(e.getCTM&&Ya(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[ye]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ye]!=="none"?l[ye]:"")),n.scale=n.rotate=n.translate="none"),T=rs(e,r.svg),r.svg&&(r.uncache?(z=e.getBBox(),c=r.xOrigin-z.x+"px "+(r.yOrigin-z.y)+"px",C=""):C=!t&&e.getAttribute("data-svg-origin"),Zo(e,C||c,!!C||r.originIsAbsolute,r.smooth!==!1,T)),E=r.xOrigin||0,L=r.yOrigin||0,T!==Vn&&(P=T[0],k=T[1],I=T[2],N=T[3],u=G=T[4],f=F=T[5],T.length===6?(d=Math.sqrt(P*P+k*k),m=Math.sqrt(N*N+I*I),h=P||k?hn(k,P)*Yr:0,_=I||N?hn(I,N)*Yr+h:0,_&&(m*=Math.abs(Math.cos(_*gn))),r.svg&&(u-=E-(E*P+L*I),f-=L-(E*k+L*N))):(pe=T[6],oe=T[7],y=T[8],V=T[9],ie=T[10],Q=T[11],u=T[12],f=T[13],p=T[14],A=hn(pe,ie),g=A*Yr,A&&(M=Math.cos(-A),x=Math.sin(-A),C=G*M+y*x,z=F*M+V*x,ee=pe*M+ie*x,y=G*-x+y*M,V=F*-x+V*M,ie=pe*-x+ie*M,Q=oe*-x+Q*M,G=C,F=z,pe=ee),A=hn(-I,ie),b=A*Yr,A&&(M=Math.cos(-A),x=Math.sin(-A),C=P*M-y*x,z=k*M-V*x,ee=I*M-ie*x,Q=N*x+Q*M,P=C,k=z,I=ee),A=hn(k,P),h=A*Yr,A&&(M=Math.cos(A),x=Math.sin(A),C=P*M+k*x,z=G*M+F*x,k=k*M-P*x,F=F*M-G*x,P=C,G=z),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,b=180-b),d=Ee(Math.sqrt(P*P+k*k+I*I)),m=Ee(Math.sqrt(F*F+pe*pe)),A=hn(G,F),_=Math.abs(A)>2e-4?A*Yr:0,w=Q?1/(Q<0?-Q:Q):0),r.svg&&(C=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Xa(Tt(e,ye)),C&&e.setAttribute("transform",C))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(d*=-1,_+=h<=0?180:-180,h+=h<=0?180:-180):(m*=-1,_+=_<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=f-((r.yPercent=f&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=p+o,r.scaleX=Ee(d),r.scaleY=Ee(m),r.rotation=Ee(h)+s,r.rotationX=Ee(g)+s,r.rotationY=Ee(b)+s,r.skewX=_+s,r.skewY=v+s,r.transformPerspective=w+o,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(n[_t]=Di(c)),r.xOffset=r.yOffset=0,r.force3D=gt.force3D,r.renderTransform=r.svg?fd:Ga?Ka:dd,r.uncache=0,r},Di=function(e){return(e=e.split(" "))[0]+" "+e[1]},Ko=function(e,t,r){var n=Ge(t);return Ee(parseFloat(t)+parseFloat(Mr(e,"x",r+"px",n)))+n},dd=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ka(e,t)},Gr="0deg",Gn="0px",Vr=") ",Ka=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,l=r.z,c=r.rotation,u=r.rotationY,f=r.rotationX,p=r.skewX,d=r.skewY,m=r.scaleX,h=r.scaleY,g=r.transformPerspective,b=r.force3D,_=r.target,v=r.zOrigin,w="",E=b==="auto"&&e&&e!==1||b===!0;if(v&&(f!==Gr||u!==Gr)){var L=parseFloat(u)*gn,T=Math.sin(L),A=Math.cos(L),M;L=parseFloat(f)*gn,M=Math.cos(L),o=Ko(_,o,T*M*-v),s=Ko(_,s,-Math.sin(L)*-v),l=Ko(_,l,A*M*-v+v)}g!==Gn&&(w+="perspective("+g+Vr),(n||i)&&(w+="translate("+n+"%, "+i+"%) "),(E||o!==Gn||s!==Gn||l!==Gn)&&(w+=l!==Gn||E?"translate3d("+o+", "+s+", "+l+") ":"translate("+o+", "+s+Vr),c!==Gr&&(w+="rotate("+c+Vr),u!==Gr&&(w+="rotateY("+u+Vr),f!==Gr&&(w+="rotateX("+f+Vr),(p!==Gr||d!==Gr)&&(w+="skew("+p+", "+d+Vr),(m!==1||h!==1)&&(w+="scale("+m+", "+h+Vr),_.style[ye]=w||"translate(0, 0)"},fd=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,l=r.rotation,c=r.skewX,u=r.skewY,f=r.scaleX,p=r.scaleY,d=r.target,m=r.xOrigin,h=r.yOrigin,g=r.xOffset,b=r.yOffset,_=r.forceCSS,v=parseFloat(o),w=parseFloat(s),E,L,T,A,M;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=gn,c*=gn,E=Math.cos(l)*f,L=Math.sin(l)*f,T=Math.sin(l-c)*-p,A=Math.cos(l-c)*p,c&&(u*=gn,M=Math.tan(c-u),M=Math.sqrt(1+M*M),T*=M,A*=M,u&&(M=Math.tan(u),M=Math.sqrt(1+M*M),E*=M,L*=M)),E=Ee(E),L=Ee(L),T=Ee(T),A=Ee(A)):(E=f,A=p,L=T=0),(v&&!~(o+"").indexOf("px")||w&&!~(s+"").indexOf("px"))&&(v=Mr(d,"x",o,"px"),w=Mr(d,"y",s,"px")),(m||h||g||b)&&(v=Ee(v+m-(m*E+h*T)+g),w=Ee(w+h-(m*L+h*A)+b)),(n||i)&&(M=d.getBBox(),v=Ee(v+n/100*M.width),w=Ee(w+i/100*M.height)),M="matrix("+E+","+L+","+T+","+A+","+v+","+w+")",d.setAttribute("transform",M),_&&(d.style[ye]=M)},pd=function(e,t,r,n,i){var o=360,s=He(i),l=parseFloat(i)*(s&&~i.indexOf("rad")?Yr:1),c=l-n,u=n+c+"deg",f,p;return s&&(f=i.split("_")[1],f==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),f==="cw"&&c<0?c=(c+o*Pa)%o-~~(c/o)*o:f==="ccw"&&c>0&&(c=(c-o*Pa)%o-~~(c/o)*o)),e._pt=p=new ot(e._pt,t,r,n,c,$u),p.e=u,p.u="deg",e._props.push(r),p},Fa=function(e,t){for(var r in t)e[r]=t[r];return e},hd=function(e,t,r){var n=Fa({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",o=r.style,s,l,c,u,f,p,d,m;n.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),o[ye]=t,s=Yn(r,1),Lr(r,ye),r.setAttribute("transform",c)):(c=getComputedStyle(r)[ye],o[ye]=t,s=Yn(r,1),o[ye]=c);for(l in ar)c=n[l],u=s[l],c!==u&&i.indexOf(l)<0&&(d=Ge(c),m=Ge(u),f=d!==m?Mr(r,l,c,m):parseFloat(c),p=parseFloat(u),e._pt=new ot(e._pt,s,l,f,p-f,$o),e._pt.u=m||0,e._props.push(l));Fa(s,n)};it("padding,margin,Width,Radius",function(a,e){var t="Top",r="Right",n="Bottom",i="Left",o=(e<3?[t,r,n,i]:[t+i,t+r,n+r,n+i]).map(function(s){return e<2?a+s:"border"+s+a});Oi[e>1?"border"+a:a]=function(s,l,c,u,f){var p,d;if(arguments.length<4)return p=o.map(function(m){return sr(s,m,c)}),d=p.join(" "),d.split(p[0]).length===5?p[0]:d;p=(u+"").split(" "),d={},o.forEach(function(m,h){return d[m]=p[h]=p[h]||p[(h-1)/2|0]}),s.init(l,d,f)}});var ns={name:"css",register:Qo,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var o=this._props,s=e.style,l=r.vars.startAt,c,u,f,p,d,m,h,g,b,_,v,w,E,L,T,A,M;Jo||Qo(),this.styles=this.styles||Wa(e),A=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(u=t[h],!(pt[h]&&Wo(h,t,r,n,e,i)))){if(d=typeof u,m=Oi[h],d==="function"&&(u=u.call(r,n,e,i),d=typeof u),d==="string"&&~u.indexOf("random(")&&(u=pn(u)),m)m(this,e,h,u,r)&&(T=1);else if(h.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(h)+"").trim(),u+="",ir.lastIndex=0,ir.test(c)||(g=Ge(c),b=Ge(u),b?g!==b&&(c=Mr(e,h,c,b)+b):g&&(u+=g)),this.add(s,"setProperty",c,u,n,i,0,0,h),o.push(h),A.push(h,0,s[h]);else if(d!=="undefined"){if(l&&h in l?(c=typeof l[h]=="function"?l[h].call(r,n,e,i):l[h],He(c)&&~c.indexOf("random(")&&(c=pn(c)),Ge(c+"")||c==="auto"||(c+=gt.units[h]||Ge(sr(e,h))||""),(c+"").charAt(1)==="="&&(c=sr(e,h))):c=sr(e,h),p=parseFloat(c),_=d==="string"&&u.charAt(1)==="="&&u.substr(0,2),_&&(u=u.substr(2)),f=parseFloat(u),h in $t&&(h==="autoAlpha"&&(p===1&&sr(e,"visibility")==="hidden"&&f&&(p=0),A.push("visibility",0,s.visibility),Sr(this,s,"visibility",p?"inherit":"hidden",f?"inherit":"hidden",!f)),h!=="scale"&&h!=="transform"&&(h=$t[h],~h.indexOf(",")&&(h=h.split(",")[0]))),v=h in ar,v){if(this.styles.save(h),M=u,d==="string"&&u.substring(0,6)==="var(--"){if(u=Tt(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var x=e.style.perspective;e.style.perspective=u,u=Tt(e,"perspective"),x?e.style.perspective=x:Lr(e,"perspective")}f=parseFloat(u)}if(w||(E=e._gsap,E.renderTransform&&!t.parseTransform||Yn(e,t.parseTransform),L=t.smoothOrigin!==!1&&E.smooth,w=this._pt=new ot(this._pt,s,ye,0,1,E.renderTransform,E,0,-1),w.dep=1),h==="scale")this._pt=new ot(this._pt,E,"scaleY",E.scaleY,(_?Br(E.scaleY,_+f):f)-E.scaleY||0,$o),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){A.push(_t,0,s[_t]),u=cd(u),E.svg?Zo(e,u,0,L,0,this):(b=parseFloat(u.split(" ")[2])||0,b!==E.zOrigin&&Sr(this,E,"zOrigin",E.zOrigin,b),Sr(this,s,h,Di(c),Di(u)));continue}else if(h==="svgOrigin"){Zo(e,u,1,L,0,this);continue}else if(h in Ua){pd(this,E,h,p,_?Br(p,_+u):u);continue}else if(h==="smoothOrigin"){Sr(this,E,"smooth",E.smooth,u);continue}else if(h==="force3D"){E[h]=u;continue}else if(h==="transform"){hd(this,u,e);continue}}else h in s||(h=_n(h)||h);if(v||(f||f===0)&&(p||p===0)&&!Ku.test(u)&&h in s)g=(c+"").substr((p+"").length),f||(f=0),b=Ge(u)||(h in gt.units?gt.units[h]:g),g!==b&&(p=Mr(e,h,c,b)),this._pt=new ot(this._pt,v?E:s,h,p,(_?Br(p,_+f):f)-p,!v&&(b==="px"||h==="zIndex")&&t.autoRound!==!1?Zu:$o),this._pt.u=b||0,v&&M!==u?(this._pt.b=c,this._pt.e=M,this._pt.r=Qu):g!==b&&b!=="%"&&(this._pt.b=c,this._pt.r=ju);else if(h in s)ld.call(this,e,h,c,_?_+u:u);else if(h in e)this.add(e,h,c||e[h],_?_+u:u,n,i);else if(h!=="parseTransform"){Ai(h,u);continue}v||(h in s?A.push(h,0,s[h]):typeof e[h]=="function"?A.push(h,2,e[h]()):A.push(h,1,c||e[h])),o.push(h)}}T&&Xo(this)},render:function(e,t){if(t.tween._time||!es())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:sr,aliases:$t,getSetter:function(e,t,r){var n=$t[t];return n&&n.indexOf(",")<0&&(t=n),t in ar&&t!==_t&&(e._gsap.x||sr(e,"x"))?r&&Ca===r?t==="scale"?rd:td:(Ca=r||{})&&(t==="scale"?nd:id):e.style&&!Mi(e.style[t])?Ju:~t.indexOf("-")?ed:Hi(e,t)},core:{_removeProperty:Lr,_getMatrix:rs}};je.utils.checkPrefix=_n;je.core.getStyleSaver=Wa;(function(a,e,t,r){var n=it(a+","+e+","+t,function(i){ar[i]=1});it(e,function(i){gt.units[i]="deg",Ua[i]=1}),$t[n[13]]=a+","+e,it(r,function(i){var o=i.split(":");$t[o[1]]=n[o[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");it("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){gt.units[a]="px"});je.registerPlugin(ns);var Oe=je.registerPlugin(ns)||je,pf=Oe.core.Tween;function $a(a,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(a,r.key,r)}}function md(a,e,t){return e&&$a(a.prototype,e),t&&$a(a,t),a}var Ve,qi,gd,St,Ar,kr,vn,Qa,Xr,Xn,Za,lr,Bt,Ja,el=function(){return Ve||typeof window<"u"&&(Ve=window.gsap)&&Ve.registerPlugin&&Ve},tl=1,yn=[],X=[],Wt=[],Kn=Date.now,is=function(e,t){return t},_d=function(){var e=Xn.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,X),n.push.apply(n,Wt),X=r,Wt=n,is=function(o,s){return t[o](s)}},ur=function(e,t){return~Wt.indexOf(e)&&Wt[Wt.indexOf(e)+1][t]},$n=function(e){return!!~Za.indexOf(e)},at=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:n!==!1,capture:!!i})},st=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Ii="scrollLeft",Ri="scrollTop",os=function(){return lr&&lr.isPressed||X.cache++},Fi=function(e,t){var r=function n(i){if(i||i===0){tl&&(St.history.scrollRestoration="manual");var o=lr&&lr.isPressed;i=n.v=Math.round(i)||(lr&&lr.iOS?1:0),e(i),n.cacheID=X.cache,o&&is("ss",i)}else(t||X.cache!==n.cacheID||is("ref"))&&(n.cacheID=X.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},Qe={s:Ii,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Fi(function(a){return arguments.length?St.scrollTo(a,ke.sc()):St.pageXOffset||Ar[Ii]||kr[Ii]||vn[Ii]||0})},ke={s:Ri,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Qe,sc:Fi(function(a){return arguments.length?St.scrollTo(Qe.sc(),a):St.pageYOffset||Ar[Ri]||kr[Ri]||vn[Ri]||0})},lt=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ve.utils.toArray)(e)[0]||(typeof e=="string"&&Ve.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},yd=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},cr=function(e,t){var r=t.s,n=t.sc;$n(e)&&(e=Ar.scrollingElement||kr);var i=X.indexOf(e),o=n===ke.sc?1:2;!~i&&(i=X.push(e)-1),X[i+o]||at(e,"scroll",os);var s=X[i+o],l=s||(X[i+o]=Fi(ur(e,r),!0)||($n(e)?n:Fi(function(c){return arguments.length?e[r]=c:e[r]})));return l.target=e,s||(l.smooth=Ve.getProperty(e,"scrollBehavior")==="smooth"),l},Ni=function(e,t,r){var n=e,i=e,o=Kn(),s=o,l=t||50,c=Math.max(500,l*3),u=function(m,h){var g=Kn();h||g-o>l?(i=n,n=m,s=o,o=g):r?n+=m:n=i+(m-i)/(g-s)*(o-s)},f=function(){i=n=r?0:n,s=o=0},p=function(m){var h=s,g=i,b=Kn();return(m||m===0)&&m!==n&&u(m),o===s||b-s>c?0:(n+(r?g:-g))/((r?b:o)-h)*1e3};return{update:u,reset:f,getVelocity:p}},Un=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},ja=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},rl=function(){Xn=Ve.core.globals().ScrollTrigger,Xn&&Xn.core&&_d()},nl=function(e){return Ve=e||el(),!qi&&Ve&&typeof document<"u"&&document.body&&(St=window,Ar=document,kr=Ar.documentElement,vn=Ar.body,Za=[St,Ar,kr,vn],gd=Ve.utils.clamp,Ja=Ve.core.context||function(){},Xr="onpointerenter"in vn?"pointer":"mouse",Qa=xe.isTouch=St.matchMedia&&St.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in St||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Bt=xe.eventTypes=("ontouchstart"in kr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in kr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return tl=0},500),rl(),qi=1),qi};Qe.op=ke;X.cache=0;var xe=function(){function a(t){this.init(t)}var e=a.prototype;return e.init=function(r){qi||nl(Ve)||console.warn("Please gsap.registerPlugin(Observer)"),Xn||rl();var n=r.tolerance,i=r.dragMinimum,o=r.type,s=r.target,l=r.lineHeight,c=r.debounce,u=r.preventDefault,f=r.onStop,p=r.onStopDelay,d=r.ignore,m=r.wheelSpeed,h=r.event,g=r.onDragStart,b=r.onDragEnd,_=r.onDrag,v=r.onPress,w=r.onRelease,E=r.onRight,L=r.onLeft,T=r.onUp,A=r.onDown,M=r.onChangeX,x=r.onChangeY,P=r.onChange,k=r.onToggleX,I=r.onToggleY,N=r.onHover,G=r.onHoverEnd,F=r.onMove,C=r.ignoreCheck,z=r.isNormalizer,ee=r.onGestureStart,y=r.onGestureEnd,V=r.onWheel,ie=r.onEnable,oe=r.onDisable,Q=r.onClick,pe=r.scrollSpeed,he=r.capture,ue=r.allowClicks,tt=r.lockAxis,Ye=r.onLockAxis;this.target=s=lt(s)||kr,this.vars=r,d&&(d=Ve.utils.toArray(d)),n=n||1e-9,i=i||0,m=m||1,pe=pe||1,o=o||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(St.getComputedStyle(vn).lineHeight)||22);var pr,rt,nt,te,Te,ft,yt,S=this,vt=0,Zt=0,hr=r.passive||!u&&r.passive!==!1,ve=cr(s,Qe),Jt=cr(s,ke),mr=ve(),Hr=Jt(),Ie=~o.indexOf("touch")&&!~o.indexOf("pointer")&&Bt[0]==="pointerdown",gr=$n(s),Se=s.ownerDocument||Ar,Rt=[0,0,0],kt=[0,0,0],er=0,kn=function(){return er=Kn()},Ae=function(q,re){return(S.event=q)&&d&&yd(q.target,d)||re&&Ie&&q.pointerType!=="touch"||C&&C(q,re)},mi=function(){S._vx.reset(),S._vy.reset(),rt.pause(),f&&f(S)},tr=function(){var q=S.deltaX=ja(Rt),re=S.deltaY=ja(kt),H=Math.abs(q)>=n,B=Math.abs(re)>=n;P&&(H||B)&&P(S,q,re,Rt,kt),H&&(E&&S.deltaX>0&&E(S),L&&S.deltaX<0&&L(S),M&&M(S),k&&S.deltaX<0!=vt<0&&k(S),vt=S.deltaX,Rt[0]=Rt[1]=Rt[2]=0),B&&(A&&S.deltaY>0&&A(S),T&&S.deltaY<0&&T(S),x&&x(S),I&&S.deltaY<0!=Zt<0&&I(S),Zt=S.deltaY,kt[0]=kt[1]=kt[2]=0),(te||nt)&&(F&&F(S),nt&&(g&&nt===1&&g(S),_&&_(S),nt=0),te=!1),ft&&!(ft=!1)&&Ye&&Ye(S),Te&&(V(S),Te=!1),pr=0},nn=function(q,re,H){Rt[H]+=q,kt[H]+=re,S._vx.update(q),S._vy.update(re),c?pr||(pr=requestAnimationFrame(tr)):tr()},on=function(q,re){tt&&!yt&&(S.axis=yt=Math.abs(q)>Math.abs(re)?"x":"y",ft=!0),yt!=="y"&&(Rt[2]+=q,S._vx.update(q,!0)),yt!=="x"&&(kt[2]+=re,S._vy.update(re,!0)),c?pr||(pr=requestAnimationFrame(tr)):tr()},_r=function(q){if(!Ae(q,1)){q=Un(q,u);var re=q.clientX,H=q.clientY,B=re-S.x,D=H-S.y,W=S.isDragging;S.x=re,S.y=H,(W||(B||D)&&(Math.abs(S.startX-re)>=i||Math.abs(S.startY-H)>=i))&&(nt||(nt=W?2:1),W||(S.isDragging=!0),on(B,D))}},Or=S.onPress=function(Y){Ae(Y,1)||Y&&Y.button||(S.axis=yt=null,rt.pause(),S.isPressed=!0,Y=Un(Y),vt=Zt=0,S.startX=S.x=Y.clientX,S.startY=S.y=Y.clientY,S._vx.reset(),S._vy.reset(),at(z?s:Se,Bt[1],_r,hr,!0),S.deltaX=S.deltaY=0,v&&v(S))},j=S.onRelease=function(Y){if(!Ae(Y,1)){st(z?s:Se,Bt[1],_r,!0);var q=!isNaN(S.y-S.startY),re=S.isDragging,H=re&&(Math.abs(S.x-S.startX)>3||Math.abs(S.y-S.startY)>3),B=Un(Y);!H&&q&&(S._vx.reset(),S._vy.reset(),u&&ue&&Ve.delayedCall(.08,function(){if(Kn()-er>300&&!Y.defaultPrevented){if(Y.target.click)Y.target.click();else if(Se.createEvent){var D=Se.createEvent("MouseEvents");D.initMouseEvent("click",!0,!0,St,1,B.screenX,B.screenY,B.clientX,B.clientY,!1,!1,!1,!1,0,null),Y.target.dispatchEvent(D)}}})),S.isDragging=S.isGesturing=S.isPressed=!1,f&&re&&!z&&rt.restart(!0),nt&&tr(),b&&re&&b(S),w&&w(S,H)}},Dr=function(q){return q.touches&&q.touches.length>1&&(S.isGesturing=!0)&&ee(q,S.isDragging)},qt=function(){return(S.isGesturing=!1)||y(S)},Ft=function(q){if(!Ae(q)){var re=ve(),H=Jt();nn((re-mr)*pe,(H-Hr)*pe,1),mr=re,Hr=H,f&&rt.restart(!0)}},Nt=function(q){if(!Ae(q)){q=Un(q,u),V&&(Te=!0);var re=(q.deltaMode===1?l:q.deltaMode===2?St.innerHeight:1)*m;nn(q.deltaX*re,q.deltaY*re,0),f&&!z&&rt.restart(!0)}},Ir=function(q){if(!Ae(q)){var re=q.clientX,H=q.clientY,B=re-S.x,D=H-S.y;S.x=re,S.y=H,te=!0,f&&rt.restart(!0),(B||D)&&on(B,D)}},sn=function(q){S.event=q,N(S)},rr=function(q){S.event=q,G(S)},Cn=function(q){return Ae(q)||Un(q,u)&&Q(S)};rt=S._dc=Ve.delayedCall(p||.25,mi).pause(),S.deltaX=S.deltaY=0,S._vx=Ni(0,50,!0),S._vy=Ni(0,50,!0),S.scrollX=ve,S.scrollY=Jt,S.isDragging=S.isGesturing=S.isPressed=!1,Ja(this),S.enable=function(Y){return S.isEnabled||(at(gr?Se:s,"scroll",os),o.indexOf("scroll")>=0&&at(gr?Se:s,"scroll",Ft,hr,he),o.indexOf("wheel")>=0&&at(s,"wheel",Nt,hr,he),(o.indexOf("touch")>=0&&Qa||o.indexOf("pointer")>=0)&&(at(s,Bt[0],Or,hr,he),at(Se,Bt[2],j),at(Se,Bt[3],j),ue&&at(s,"click",kn,!0,!0),Q&&at(s,"click",Cn),ee&&at(Se,"gesturestart",Dr),y&&at(Se,"gestureend",qt),N&&at(s,Xr+"enter",sn),G&&at(s,Xr+"leave",rr),F&&at(s,Xr+"move",Ir)),S.isEnabled=!0,S.isDragging=S.isGesturing=S.isPressed=te=nt=!1,S._vx.reset(),S._vy.reset(),mr=ve(),Hr=Jt(),Y&&Y.type&&Or(Y),ie&&ie(S)),S},S.disable=function(){S.isEnabled&&(yn.filter(function(Y){return Y!==S&&$n(Y.target)}).length||st(gr?Se:s,"scroll",os),S.isPressed&&(S._vx.reset(),S._vy.reset(),st(z?s:Se,Bt[1],_r,!0)),st(gr?Se:s,"scroll",Ft,he),st(s,"wheel",Nt,he),st(s,Bt[0],Or,he),st(Se,Bt[2],j),st(Se,Bt[3],j),st(s,"click",kn,!0),st(s,"click",Cn),st(Se,"gesturestart",Dr),st(Se,"gestureend",qt),st(s,Xr+"enter",sn),st(s,Xr+"leave",rr),st(s,Xr+"move",Ir),S.isEnabled=S.isPressed=S.isDragging=!1,oe&&oe(S))},S.kill=S.revert=function(){S.disable();var Y=yn.indexOf(S);Y>=0&&yn.splice(Y,1),lr===S&&(lr=0)},yn.push(S),z&&$n(s)&&(lr=S),S.enable(h)},md(a,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),a}();xe.version="3.14.2";xe.create=function(a){return new xe(a)};xe.register=nl;xe.getAll=function(){return yn.slice()};xe.getById=function(a){return yn.filter(function(e){return e.vars.id===a})[0]};el()&&Ve.registerPlugin(xe);var O,En,$,ce,At,ne,bs,to,ci,ri,Qn,zi,Ze,io,ps,ut,il,ol,xn,wl,ss,El,ct,hs,xl,Tl,Cr,ms,ws,Tn,Es,ni,gs,as,Bi=1,Je=Date.now,ls=Je(),It=0,Zn=0,sl=function(e,t,r){var n=Mt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},al=function(e,t){return t&&(!Mt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},vd=function a(){return Zn&&requestAnimationFrame(a)},ll=function(){return io=1},cl=function(){return io=0},jt=function(e){return e},Jn=function(e){return Math.round(e*1e5)/1e5||0},Sl=function(){return typeof window<"u"},Ll=function(){return O||Sl()&&(O=window.gsap)&&O.registerPlugin&&O},Jr=function(e){return!!~bs.indexOf(e)},Ml=function(e){return(e==="Height"?Es:$["inner"+e])||At["client"+e]||ne["client"+e]},Al=function(e){return ur(e,"getBoundingClientRect")||(Jr(e)?function(){return eo.width=$.innerWidth,eo.height=Es,eo}:function(){return dr(e)})},bd=function(e,t,r){var n=r.d,i=r.d2,o=r.a;return(o=ur(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?Ml(i):e["client"+i])||0}},wd=function(e,t){return!t||~Wt.indexOf(e)?Al(e):function(){return eo}},Qt=function(e,t){var r=t.s,n=t.d2,i=t.d,o=t.a;return Math.max(0,(r="scroll"+n)&&(o=ur(e,r))?o()-Al(e)()[i]:Jr(e)?(At[r]||ne[r])-Ml(n):e[r]-e["offset"+n])},Wi=function(e,t){for(var r=0;r<xn.length;r+=3)(!t||~t.indexOf(xn[r+1]))&&e(xn[r],xn[r+1],xn[r+2])},Mt=function(e){return typeof e=="string"},et=function(e){return typeof e=="function"},ei=function(e){return typeof e=="number"},Kr=function(e){return typeof e=="object"},jn=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},cs=function(e,t){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e)}):t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},bn=Math.abs,kl="left",Cl="top",xs="right",Ts="bottom",jr="width",Qr="height",ii="Right",oi="Left",si="Top",ai="Bottom",Ce="padding",Ot="margin",Ln="Width",Ss="Height",De="px",Dt=function(e){return $.getComputedStyle(e)},Ed=function(e){var t=Dt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},ul=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},dr=function(e,t){var r=t&&Dt(e)[ps]!=="matrix(1, 0, 0, 1, 0, 0)"&&O.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n},ro=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Pl=function(e){var t=[],r=e.labels,n=e.duration(),i;for(i in r)t.push(r[i]/n);return t},xd=function(e){return function(t){return O.utils.snap(Pl(e),t)}},Ls=function(e){var t=O.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,i){return n-i});return r?function(n,i,o){o===void 0&&(o=.001);var s;if(!i)return t(n);if(i>0){for(n-=o,s=0;s<r.length;s++)if(r[s]>=n)return r[s];return r[s-1]}else for(s=r.length,n+=o;s--;)if(r[s]<=n)return r[s];return r[0]}:function(n,i,o){o===void 0&&(o=.001);var s=t(n);return!i||Math.abs(s-n)<o||s-n<0==i<0?s:t(i<0?n-e:n+e)}},Td=function(e){return function(t,r){return Ls(Pl(e))(t,r.direction)}},Gi=function(e,t,r,n){return r.split(",").forEach(function(i){return e(t,i,n)})},Fe=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},qe=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Vi=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},dl={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Yi={toggleActions:"play",anticipatePin:0},no={top:0,left:0,center:.5,bottom:1,right:1},ji=function(e,t){if(Mt(e)){var r=e.indexOf("="),n=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in no?no[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Ui=function(e,t,r,n,i,o,s,l){var c=i.startColor,u=i.endColor,f=i.fontSize,p=i.indent,d=i.fontWeight,m=ce.createElement("div"),h=Jr(r)||ur(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,b=h?ne:r,_=e.indexOf("start")!==-1,v=_?c:u,w="border-color:"+v+";font-size:"+f+";color:"+v+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return w+="position:"+((g||l)&&h?"fixed;":"absolute;"),(g||l||!h)&&(w+=(n===ke?xs:Ts)+":"+(o+parseFloat(p))+"px;"),s&&(w+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),m._isStart=_,m.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),m.style.cssText=w,m.innerText=t||t===0?e+"-"+t:e,b.children[0]?b.insertBefore(m,b.children[0]):b.appendChild(m),m._offset=m["offset"+n.op.d2],Qi(m,0,n,_),m},Qi=function(e,t,r,n){var i={display:"block"},o=r[n?"os2":"p2"],s=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+Ln]=1,i["border"+s+Ln]=0,i[r.p]=t+"px",O.set(e,i)},K=[],_s={},ui,fl=function(){return Je()-It>34&&(ui||(ui=requestAnimationFrame(fr)))},wn=function(){(!ct||!ct.isPressed||ct.startX>ne.clientWidth)&&(X.cache++,ct?ui||(ui=requestAnimationFrame(fr)):fr(),It||tn("scrollStart"),It=Je())},us=function(){Tl=$.innerWidth,xl=$.innerHeight},ti=function(e){X.cache++,(e===!0||!Ze&&!El&&!ce.fullscreenElement&&!ce.webkitFullscreenElement&&(!hs||Tl!==$.innerWidth||Math.abs($.innerHeight-xl)>$.innerHeight*.25))&&to.restart(!0)},en={},Sd=[],Hl=function a(){return qe(R,"scrollEnd",a)||$r(!0)},tn=function(e){return en[e]&&en[e].map(function(t){return t()})||Sd},Lt=[],Ol=function(e){for(var t=0;t<Lt.length;t+=5)(!e||Lt[t+4]&&Lt[t+4].query===e)&&(Lt[t].style.cssText=Lt[t+1],Lt[t].getBBox&&Lt[t].setAttribute("transform",Lt[t+2]||""),Lt[t+3].uncache=1)},Dl=function(){return X.forEach(function(e){return et(e)&&++e.cacheID&&(e.rec=e())})},Ms=function(e,t){var r;for(ut=0;ut<K.length;ut++)r=K[ut],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));ni=!0,t&&Ol(t),t||tn("revert")},Il=function(e,t){X.cache++,(t||!dt)&&X.forEach(function(r){return et(r)&&r.cacheID++&&(r.rec=0)}),Mt(e)&&($.history.scrollRestoration=ws=e)},dt,Zr=0,pl,Ld=function(){if(pl!==Zr){var e=pl=Zr;requestAnimationFrame(function(){return e===Zr&&$r(!0)})}},Rl=function(){ne.appendChild(Tn),Es=!ct&&Tn.offsetHeight||$.innerHeight,ne.removeChild(Tn)},hl=function(e){return ci(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},$r=function(e,t){if(At=ce.documentElement,ne=ce.body,bs=[$,ce,At,ne],It&&!e&&!ni){Fe(R,"scrollEnd",Hl);return}Rl(),dt=R.isRefreshing=!0,ni||Dl();var r=tn("refreshInit");wl&&R.sort(),t||Ms(),X.forEach(function(n){et(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),K.slice(0).forEach(function(n){return n.refresh()}),ni=!1,K.forEach(function(n){if(n._subPinOffset&&n.pin){var i=n.vars.horizontal?"offsetWidth":"offsetHeight",o=n.pin[i];n.revert(!0,1),n.adjustPinSpacing(n.pin[i]-o),n.refresh()}}),gs=1,hl(!0),K.forEach(function(n){var i=Qt(n.scroller,n._dir),o=n.vars.end==="max"||n._endClamp&&n.end>i,s=n._startClamp&&n.start>=i;(o||s)&&n.setPositions(s?i-1:n.start,o?Math.max(s?i:n.start+1,i):n.end,!0)}),hl(!1),gs=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),X.forEach(function(n){et(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Il(ws,1),to.pause(),Zr++,dt=2,fr(2),K.forEach(function(n){return et(n.vars.onRefresh)&&n.vars.onRefresh(n)}),dt=R.isRefreshing=!1,tn("refresh")},ys=0,Zi=1,li,fr=function(e){if(e===2||!dt&&!ni){R.isUpdating=!0,li&&li.update(0);var t=K.length,r=Je(),n=r-ls>=50,i=t&&K[0].scroll();if(Zi=ys>i?-1:1,dt||(ys=i),n&&(It&&!io&&r-It>200&&(It=0,tn("scrollEnd")),Qn=ls,ls=r),Zi<0){for(ut=t;ut-- >0;)K[ut]&&K[ut].update(0,n);Zi=1}else for(ut=0;ut<t;ut++)K[ut]&&K[ut].update(0,n);R.isUpdating=!1}ui=0},vs=[kl,Cl,Ts,xs,Ot+ai,Ot+ii,Ot+si,Ot+oi,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Ji=vs.concat([jr,Qr,"boxSizing","max"+Ln,"max"+Ss,"position",Ot,Ce,Ce+si,Ce+ii,Ce+ai,Ce+oi]),Md=function(e,t,r){Sn(r);var n=e._gsap;if(n.spacerIsNative)Sn(n.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},ds=function(e,t,r,n){if(!e._gsap.swappedIn){for(var i=vs.length,o=t.style,s=e.style,l;i--;)l=vs[i],o[l]=r[l];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),s[Ts]=s[xs]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[jr]=ro(e,Qe)+De,o[Qr]=ro(e,ke)+De,o[Ce]=s[Ot]=s[Cl]=s[kl]="0",Sn(n),s[jr]=s["max"+Ln]=r[jr],s[Qr]=s["max"+Ss]=r[Qr],s[Ce]=r[Ce],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Ad=/([A-Z])/g,Sn=function(e){if(e){var t=e.t.style,r=e.length,n=0,i,o;for((e.t._gsap||O.core.getCache(e.t)).uncache=1;n<r;n+=2)o=e[n+1],i=e[n],o?t[i]=o:t[i]&&t.removeProperty(i.replace(Ad,"-$1").toLowerCase())}},Xi=function(e){for(var t=Ji.length,r=e.style,n=[],i=0;i<t;i++)n.push(Ji[i],r[Ji[i]]);return n.t=e,n},kd=function(e,t,r){for(var n=[],i=e.length,o=r?8:0,s;o<i;o+=2)s=e[o],n.push(s,s in t?t[s]:e[o+1]);return n.t=e.t,n},eo={left:0,top:0},ml=function(e,t,r,n,i,o,s,l,c,u,f,p,d,m){et(e)&&(e=e(l)),Mt(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?ji("0"+e.substr(3),r):0));var h=d?d.time():0,g,b,_;if(d&&d.seek(0),isNaN(e)||(e=+e),ei(e))d&&(e=O.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,p,e)),s&&Qi(s,r,n,!0);else{et(t)&&(t=t(l));var v=(e||"0").split(" "),w,E,L,T;_=lt(t,l)||ne,w=dr(_)||{},(!w||!w.left&&!w.top)&&Dt(_).display==="none"&&(T=_.style.display,_.style.display="block",w=dr(_),T?_.style.display=T:_.style.removeProperty("display")),E=ji(v[0],w[n.d]),L=ji(v[1]||"0",r),e=w[n.p]-c[n.p]-u+E+i-L,s&&Qi(s,L,n,r-L<20||s._isStart&&L>20),r-=r-L}if(m&&(l[m]=e||-.001,e<0&&(e=0)),o){var A=e+r,M=o._isStart;g="scroll"+n.d2,Qi(o,A,n,M&&A>20||!M&&(f?Math.max(ne[g],At[g]):o.parentNode[g])<=A+1),f&&(c=dr(s),f&&(o.style[n.op.p]=c[n.op.p]-n.op.m-o._offset+De))}return d&&_&&(g=dr(_),d.seek(p),b=dr(_),d._caScrollDist=g[n.p]-b[n.p],e=e/d._caScrollDist*p),d&&d.seek(h),d?e:Math.round(e)},Cd=/(webkit|moz|length|cssText|inset)/i,gl=function(e,t,r,n){if(e.parentNode!==t){var i=e.style,o,s;if(t===ne){e._stOrig=i.cssText,s=Dt(e);for(o in s)!+o&&!Cd.test(o)&&s[o]&&typeof i[o]=="string"&&o!=="0"&&(i[o]=s[o]);i.top=r,i.left=n}else i.cssText=e._stOrig;O.core.getCache(e).uncache=1,t.appendChild(e)}},ql=function(e,t,r){var n=t,i=n;return function(o){var s=Math.round(e());return s!==n&&s!==i&&Math.abs(s-n)>3&&Math.abs(s-i)>3&&(o=s,r&&r()),i=n,n=Math.round(o),n}},Ki=function(e,t,r){var n={};n[t.p]="+="+r,O.set(e,n)},_l=function(e,t){var r=cr(e,t),n="_scroll"+t.p2,i=function o(s,l,c,u,f){var p=o.tween,d=l.onComplete,m={};c=c||r();var h=ql(r,c,function(){p.kill(),o.tween=0});return f=u&&f||0,u=u||s-c,p&&p.kill(),l[n]=s,l.inherit=!1,l.modifiers=m,m[n]=function(){return h(c+u*p.ratio+f*p.ratio*p.ratio)},l.onUpdate=function(){X.cache++,o.tween&&fr()},l.onComplete=function(){o.tween=0,d&&d.call(p)},p=o.tween=O.to(e,l),p};return e[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},Fe(e,"wheel",r.wheelHandler),R.isTouch&&Fe(e,"touchmove",r.wheelHandler),i},R=function(){function a(t,r){En||a.register(O)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ms(this),this.init(t,r)}var e=a.prototype;return e.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Zn){this.update=this.refresh=this.kill=jt;return}r=ul(Mt(r)||ei(r)||r.nodeType?{trigger:r}:r,Yi);var i=r,o=i.onUpdate,s=i.toggleClass,l=i.id,c=i.onToggle,u=i.onRefresh,f=i.scrub,p=i.trigger,d=i.pin,m=i.pinSpacing,h=i.invalidateOnRefresh,g=i.anticipatePin,b=i.onScrubComplete,_=i.onSnapComplete,v=i.once,w=i.snap,E=i.pinReparent,L=i.pinSpacer,T=i.containerAnimation,A=i.fastScrollEnd,M=i.preventOverlaps,x=r.horizontal||r.containerAnimation&&r.horizontal!==!1?Qe:ke,P=!f&&f!==0,k=lt(r.scroller||$),I=O.core.getCache(k),N=Jr(k),G=("pinType"in r?r.pinType:ur(k,"pinType")||N&&"fixed")==="fixed",F=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],C=P&&r.toggleActions.split(" "),z="markers"in r?r.markers:Yi.markers,ee=N?0:parseFloat(Dt(k)["border"+x.p2+Ln])||0,y=this,V=r.onRefreshInit&&function(){return r.onRefreshInit(y)},ie=bd(k,N,x),oe=wd(k,N),Q=0,pe=0,he=0,ue=cr(k,x),tt,Ye,pr,rt,nt,te,Te,ft,yt,S,vt,Zt,hr,ve,Jt,mr,Hr,Ie,gr,Se,Rt,kt,er,kn,Ae,mi,tr,nn,on,_r,Or,j,Dr,qt,Ft,Nt,Ir,sn,rr;if(y._startClamp=y._endClamp=!1,y._dir=x,g*=45,y.scroller=k,y.scroll=T?T.time.bind(T):ue,rt=ue(),y.vars=r,n=n||r.animation,"refreshPriority"in r&&(wl=1,r.refreshPriority===-9999&&(li=y)),I.tweenScroll=I.tweenScroll||{top:_l(k,ke),left:_l(k,Qe)},y.tweenTo=tt=I.tweenScroll[x.p],y.scrubDuration=function(H){Dr=ei(H)&&H,Dr?j?j.duration(H):j=O.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Dr,paused:!0,onComplete:function(){return b&&b(y)}}):(j&&j.progress(1).kill(),j=0)},n&&(n.vars.lazy=!1,n._initted&&!y.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),y.animation=n.pause(),n.scrollTrigger=y,y.scrubDuration(f),_r=0,l||(l=n.vars.id)),w&&((!Kr(w)||w.push)&&(w={snapTo:w}),"scrollBehavior"in ne.style&&O.set(N?[ne,At]:k,{scrollBehavior:"auto"}),X.forEach(function(H){return et(H)&&H.target===(N?ce.scrollingElement||At:k)&&(H.smooth=!1)}),pr=et(w.snapTo)?w.snapTo:w.snapTo==="labels"?xd(n):w.snapTo==="labelsDirectional"?Td(n):w.directional!==!1?function(H,B){return Ls(w.snapTo)(H,Je()-pe<500?0:B.direction)}:O.utils.snap(w.snapTo),qt=w.duration||{min:.1,max:2},qt=Kr(qt)?ri(qt.min,qt.max):ri(qt,qt),Ft=O.delayedCall(w.delay||Dr/2||.1,function(){var H=ue(),B=Je()-pe<500,D=tt.tween;if((B||Math.abs(y.getVelocity())<10)&&!D&&!io&&Q!==H){var W=(H-te)/ve,Re=n&&!P?n.totalProgress():W,Z=B?0:(Re-Or)/(Je()-Qn)*1e3||0,Le=O.utils.clamp(-W,1-W,bn(Z/2)*Z/.185),Ue=W+(w.inertia===!1?0:Le),be,de,se=w,zt=se.onStart,me=se.onInterrupt,bt=se.onComplete;if(be=pr(Ue,y),ei(be)||(be=Ue),de=Math.max(0,Math.round(te+be*ve)),H<=Te&&H>=te&&de!==H){if(D&&!D._initted&&D.data<=bn(de-H))return;w.inertia===!1&&(Le=be-W),tt(de,{duration:qt(bn(Math.max(bn(Ue-Re),bn(be-Re))*.185/Z/.05||0)),ease:w.ease||"power3",data:bn(de-H),onInterrupt:function(){return Ft.restart(!0)&&me&&me(y)},onComplete:function(){y.update(),Q=ue(),n&&!P&&(j?j.resetTo("totalProgress",be,n._tTime/n._tDur):n.progress(be)),_r=Or=n&&!P?n.totalProgress():y.progress,_&&_(y),bt&&bt(y)}},H,Le*ve,de-H-Le*ve),zt&&zt(y,tt.tween)}}else y.isActive&&Q!==H&&Ft.restart(!0)}).pause()),l&&(_s[l]=y),p=y.trigger=lt(p||d!==!0&&d),rr=p&&p._gsap&&p._gsap.stRevert,rr&&(rr=rr(y)),d=d===!0?p:lt(d),Mt(s)&&(s={targets:p,className:s}),d&&(m===!1||m===Ot||(m=!m&&d.parentNode&&d.parentNode.style&&Dt(d.parentNode).display==="flex"?!1:Ce),y.pin=d,Ye=O.core.getCache(d),Ye.spacer?Jt=Ye.pinState:(L&&(L=lt(L),L&&!L.nodeType&&(L=L.current||L.nativeElement),Ye.spacerIsNative=!!L,L&&(Ye.spacerState=Xi(L))),Ye.spacer=Ie=L||ce.createElement("div"),Ie.classList.add("pin-spacer"),l&&Ie.classList.add("pin-spacer-"+l),Ye.pinState=Jt=Xi(d)),r.force3D!==!1&&O.set(d,{force3D:!0}),y.spacer=Ie=Ye.spacer,on=Dt(d),kn=on[m+x.os2],Se=O.getProperty(d),Rt=O.quickSetter(d,x.a,De),ds(d,Ie,on),Hr=Xi(d)),z){Zt=Kr(z)?ul(z,dl):dl,S=Ui("scroller-start",l,k,x,Zt,0),vt=Ui("scroller-end",l,k,x,Zt,0,S),gr=S["offset"+x.op.d2];var Cn=lt(ur(k,"content")||k);ft=this.markerStart=Ui("start",l,Cn,x,Zt,gr,0,T),yt=this.markerEnd=Ui("end",l,Cn,x,Zt,gr,0,T),T&&(sn=O.quickSetter([ft,yt],x.a,De)),!G&&!(Wt.length&&ur(k,"fixedMarkers")===!0)&&(Ed(N?ne:k),O.set([S,vt],{force3D:!0}),mi=O.quickSetter(S,x.a,De),nn=O.quickSetter(vt,x.a,De))}if(T){var Y=T.vars.onUpdate,q=T.vars.onUpdateParams;T.eventCallback("onUpdate",function(){y.update(0,0,1),Y&&Y.apply(T,q||[])})}if(y.previous=function(){return K[K.indexOf(y)-1]},y.next=function(){return K[K.indexOf(y)+1]},y.revert=function(H,B){if(!B)return y.kill(!0);var D=H!==!1||!y.enabled,W=Ze;D!==y.isReverted&&(D&&(Nt=Math.max(ue(),y.scroll.rec||0),he=y.progress,Ir=n&&n.progress()),ft&&[ft,yt,S,vt].forEach(function(Re){return Re.style.display=D?"none":"block"}),D&&(Ze=y,y.update(D)),d&&(!E||!y.isActive)&&(D?Md(d,Ie,Jt):ds(d,Ie,Dt(d),Ae)),D||y.update(D),Ze=W,y.isReverted=D)},y.refresh=function(H,B,D,W){if(!((Ze||!y.enabled)&&!B)){if(d&&H&&It){Fe(a,"scrollEnd",Hl);return}!dt&&V&&V(y),Ze=y,tt.tween&&!D&&(tt.tween.kill(),tt.tween=0),j&&j.pause(),h&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(yr){return yr.vars.immediateRender&&yr.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var Re=ie(),Z=oe(),Le=T?T.duration():Qt(k,x),Ue=ve<=.01||!ve,be=0,de=W||0,se=Kr(D)?D.end:r.end,zt=r.endTrigger||p,me=Kr(D)?D.start:r.start||(r.start===0||!p?0:d?"0 0":"0 100%"),bt=y.pinnedContainer=r.pinnedContainer&<(r.pinnedContainer,y),Gt=p&&Math.max(0,K.indexOf(y))||0,Ne=Gt,ze,Xe,Rr,gi,Ke,Pe,Vt,co,qs,Pn,Yt,Hn,_i;for(z&&Kr(D)&&(Hn=O.getProperty(S,x.p),_i=O.getProperty(vt,x.p));Ne-- >0;)Pe=K[Ne],Pe.end||Pe.refresh(0,1)||(Ze=y),Vt=Pe.pin,Vt&&(Vt===p||Vt===d||Vt===bt)&&!Pe.isReverted&&(Pn||(Pn=[]),Pn.unshift(Pe),Pe.revert(!0,!0)),Pe!==K[Ne]&&(Gt--,Ne--);for(et(me)&&(me=me(y)),me=sl(me,"start",y),te=ml(me,p,Re,x,ue(),ft,S,y,Z,ee,G,Le,T,y._startClamp&&"_startClamp")||(d?-.001:0),et(se)&&(se=se(y)),Mt(se)&&!se.indexOf("+=")&&(~se.indexOf(" ")?se=(Mt(me)?me.split(" ")[0]:"")+se:(be=ji(se.substr(2),Re),se=Mt(me)?me:(T?O.utils.mapRange(0,T.duration(),T.scrollTrigger.start,T.scrollTrigger.end,te):te)+be,zt=p)),se=sl(se,"end",y),Te=Math.max(te,ml(se||(zt?"100% 0":Le),zt,Re,x,ue()+be,yt,vt,y,Z,ee,G,Le,T,y._endClamp&&"_endClamp"))||-.001,be=0,Ne=Gt;Ne--;)Pe=K[Ne]||{},Vt=Pe.pin,Vt&&Pe.start-Pe._pinPush<=te&&!T&&Pe.end>0&&(ze=Pe.end-(y._startClamp?Math.max(0,Pe.start):Pe.start),(Vt===p&&Pe.start-Pe._pinPush<te||Vt===bt)&&isNaN(me)&&(be+=ze*(1-Pe.progress)),Vt===d&&(de+=ze));if(te+=be,Te+=be,y._startClamp&&(y._startClamp+=be),y._endClamp&&!dt&&(y._endClamp=Te||-.001,Te=Math.min(Te,Qt(k,x))),ve=Te-te||(te-=.01)&&.001,Ue&&(he=O.utils.clamp(0,1,O.utils.normalize(te,Te,Nt))),y._pinPush=de,ft&&be&&(ze={},ze[x.a]="+="+be,bt&&(ze[x.p]="-="+ue()),O.set([ft,yt],ze)),d&&!(gs&&y.end>=Qt(k,x)))ze=Dt(d),gi=x===ke,Rr=ue(),kt=parseFloat(Se(x.a))+de,!Le&&Te>1&&(Yt=(N?ce.scrollingElement||At:k).style,Yt={style:Yt,value:Yt["overflow"+x.a.toUpperCase()]},N&&Dt(ne)["overflow"+x.a.toUpperCase()]!=="scroll"&&(Yt.style["overflow"+x.a.toUpperCase()]="scroll")),ds(d,Ie,ze),Hr=Xi(d),Xe=dr(d,!0),co=G&&cr(k,gi?Qe:ke)(),m?(Ae=[m+x.os2,ve+de+De],Ae.t=Ie,Ne=m===Ce?ro(d,x)+ve+de:0,Ne&&(Ae.push(x.d,Ne+De),Ie.style.flexBasis!=="auto"&&(Ie.style.flexBasis=Ne+De)),Sn(Ae),bt&&K.forEach(function(yr){yr.pin===bt&&yr.vars.pinSpacing!==!1&&(yr._subPinOffset=!0)}),G&&ue(Nt)):(Ne=ro(d,x),Ne&&Ie.style.flexBasis!=="auto"&&(Ie.style.flexBasis=Ne+De)),G&&(Ke={top:Xe.top+(gi?Rr-te:co)+De,left:Xe.left+(gi?co:Rr-te)+De,boxSizing:"border-box",position:"fixed"},Ke[jr]=Ke["max"+Ln]=Math.ceil(Xe.width)+De,Ke[Qr]=Ke["max"+Ss]=Math.ceil(Xe.height)+De,Ke[Ot]=Ke[Ot+si]=Ke[Ot+ii]=Ke[Ot+ai]=Ke[Ot+oi]="0",Ke[Ce]=ze[Ce],Ke[Ce+si]=ze[Ce+si],Ke[Ce+ii]=ze[Ce+ii],Ke[Ce+ai]=ze[Ce+ai],Ke[Ce+oi]=ze[Ce+oi],mr=kd(Jt,Ke,E),dt&&ue(0)),n?(qs=n._initted,ss(1),n.render(n.duration(),!0,!0),er=Se(x.a)-kt+ve+de,tr=Math.abs(ve-er)>1,G&&tr&&mr.splice(mr.length-2,2),n.render(0,!0,!0),qs||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),ss(0)):er=ve,Yt&&(Yt.value?Yt.style["overflow"+x.a.toUpperCase()]=Yt.value:Yt.style.removeProperty("overflow-"+x.a));else if(p&&ue()&&!T)for(Xe=p.parentNode;Xe&&Xe!==ne;)Xe._pinOffset&&(te-=Xe._pinOffset,Te-=Xe._pinOffset),Xe=Xe.parentNode;Pn&&Pn.forEach(function(yr){return yr.revert(!1,!0)}),y.start=te,y.end=Te,rt=nt=dt?Nt:ue(),!T&&!dt&&(rt<Nt&&ue(Nt),y.scroll.rec=0),y.revert(!1,!0),pe=Je(),Ft&&(Q=-1,Ft.restart(!0)),Ze=0,n&&P&&(n._initted||Ir)&&n.progress()!==Ir&&n.progress(Ir||0,!0).render(n.time(),!0,!0),(Ue||he!==y.progress||T||h||n&&!n._initted)&&(n&&!P&&(n._initted||he||n.vars.immediateRender!==!1)&&n.totalProgress(T&&te<-.001&&!he?O.utils.normalize(te,Te,0):he,!0),y.progress=Ue||(rt-te)/ve===he?0:he),d&&m&&(Ie._pinOffset=Math.round(y.progress*er)),j&&j.invalidate(),isNaN(Hn)||(Hn-=O.getProperty(S,x.p),_i-=O.getProperty(vt,x.p),Ki(S,x,Hn),Ki(ft,x,Hn-(W||0)),Ki(vt,x,_i),Ki(yt,x,_i-(W||0))),Ue&&!dt&&y.update(),u&&!dt&&!hr&&(hr=!0,u(y),hr=!1)}},y.getVelocity=function(){return(ue()-nt)/(Je()-Qn)*1e3||0},y.endAnimation=function(){jn(y.callbackAnimation),n&&(j?j.progress(1):n.paused()?P||jn(n,y.direction<0,1):jn(n,n.reversed()))},y.labelToScroll=function(H){return n&&n.labels&&(te||y.refresh()||te)+n.labels[H]/n.duration()*ve||0},y.getTrailing=function(H){var B=K.indexOf(y),D=y.direction>0?K.slice(0,B).reverse():K.slice(B+1);return(Mt(H)?D.filter(function(W){return W.vars.preventOverlaps===H}):D).filter(function(W){return y.direction>0?W.end<=te:W.start>=Te})},y.update=function(H,B,D){if(!(T&&!D&&!H)){var W=dt===!0?Nt:y.scroll(),Re=H?0:(W-te)/ve,Z=Re<0?0:Re>1?1:Re||0,Le=y.progress,Ue,be,de,se,zt,me,bt,Gt;if(B&&(nt=rt,rt=T?ue():W,w&&(Or=_r,_r=n&&!P?n.totalProgress():Z)),g&&d&&!Ze&&!Bi&&It&&(!Z&&te<W+(W-nt)/(Je()-Qn)*g?Z=1e-4:Z===1&&Te>W+(W-nt)/(Je()-Qn)*g&&(Z=.9999)),Z!==Le&&y.enabled){if(Ue=y.isActive=!!Z&&Z<1,be=!!Le&&Le<1,me=Ue!==be,zt=me||!!Z!=!!Le,y.direction=Z>Le?1:-1,y.progress=Z,zt&&!Ze&&(de=Z&&!Le?0:Z===1?1:Le===1?2:3,P&&(se=!me&&C[de+1]!=="none"&&C[de+1]||C[de],Gt=n&&(se==="complete"||se==="reset"||se in n))),M&&(me||Gt)&&(Gt||f||!n)&&(et(M)?M(y):y.getTrailing(M).forEach(function(Rr){return Rr.endAnimation()})),P||(j&&!Ze&&!Bi?(j._dp._time-j._start!==j._time&&j.render(j._dp._time-j._start),j.resetTo?j.resetTo("totalProgress",Z,n._tTime/n._tDur):(j.vars.totalProgress=Z,j.invalidate().restart())):n&&n.totalProgress(Z,!!(Ze&&(pe||H)))),d){if(H&&m&&(Ie.style[m+x.os2]=kn),!G)Rt(Jn(kt+er*Z));else if(zt){if(bt=!H&&Z>Le&&Te+1>W&&W+1>=Qt(k,x),E)if(!H&&(Ue||bt)){var Ne=dr(d,!0),ze=W-te;gl(d,ne,Ne.top+(x===ke?ze:0)+De,Ne.left+(x===ke?0:ze)+De)}else gl(d,Ie);Sn(Ue||bt?mr:Hr),tr&&Z<1&&Ue||Rt(kt+(Z===1&&!bt?er:0))}}w&&!tt.tween&&!Ze&&!Bi&&Ft.restart(!0),s&&(me||v&&Z&&(Z<1||!as))&&ci(s.targets).forEach(function(Rr){return Rr.classList[Ue||v?"add":"remove"](s.className)}),o&&!P&&!H&&o(y),zt&&!Ze?(P&&(Gt&&(se==="complete"?n.pause().totalProgress(1):se==="reset"?n.restart(!0).pause():se==="restart"?n.restart(!0):n[se]()),o&&o(y)),(me||!as)&&(c&&me&&cs(y,c),F[de]&&cs(y,F[de]),v&&(Z===1?y.kill(!1,1):F[de]=0),me||(de=Z===1?1:3,F[de]&&cs(y,F[de]))),A&&!Ue&&Math.abs(y.getVelocity())>(ei(A)?A:2500)&&(jn(y.callbackAnimation),j?j.progress(1):jn(n,se==="reverse"?1:!Z,1))):P&&o&&!Ze&&o(y)}if(nn){var Xe=T?W/T.duration()*(T._caScrollDist||0):W;mi(Xe+(S._isFlipped?1:0)),nn(Xe)}sn&&sn(-W/T.duration()*(T._caScrollDist||0))}},y.enable=function(H,B){y.enabled||(y.enabled=!0,Fe(k,"resize",ti),N||Fe(k,"scroll",wn),V&&Fe(a,"refreshInit",V),H!==!1&&(y.progress=he=0,rt=nt=Q=ue()),B!==!1&&y.refresh())},y.getTween=function(H){return H&&tt?tt.tween:j},y.setPositions=function(H,B,D,W){if(T){var Re=T.scrollTrigger,Z=T.duration(),Le=Re.end-Re.start;H=Re.start+Le*H/Z,B=Re.start+Le*B/Z}y.refresh(!1,!1,{start:al(H,D&&!!y._startClamp),end:al(B,D&&!!y._endClamp)},W),y.update()},y.adjustPinSpacing=function(H){if(Ae&&H){var B=Ae.indexOf(x.d)+1;Ae[B]=parseFloat(Ae[B])+H+De,Ae[1]=parseFloat(Ae[1])+H+De,Sn(Ae)}},y.disable=function(H,B){if(H!==!1&&y.revert(!0,!0),y.enabled&&(y.enabled=y.isActive=!1,B||j&&j.pause(),Nt=0,Ye&&(Ye.uncache=1),V&&qe(a,"refreshInit",V),Ft&&(Ft.pause(),tt.tween&&tt.tween.kill()&&(tt.tween=0)),!N)){for(var D=K.length;D--;)if(K[D].scroller===k&&K[D]!==y)return;qe(k,"resize",ti),N||qe(k,"scroll",wn)}},y.kill=function(H,B){y.disable(H,B),j&&!B&&j.kill(),l&&delete _s[l];var D=K.indexOf(y);D>=0&&K.splice(D,1),D===ut&&Zi>0&&ut--,D=0,K.forEach(function(W){return W.scroller===y.scroller&&(D=1)}),D||dt||(y.scroll.rec=0),n&&(n.scrollTrigger=null,H&&n.revert({kill:!1}),B||n.kill()),ft&&[ft,yt,S,vt].forEach(function(W){return W.parentNode&&W.parentNode.removeChild(W)}),li===y&&(li=0),d&&(Ye&&(Ye.uncache=1),D=0,K.forEach(function(W){return W.pin===d&&D++}),D||(Ye.spacer=0)),r.onKill&&r.onKill(y)},K.push(y),y.enable(!1,!1),rr&&rr(y),n&&n.add&&!ve){var re=y.update;y.update=function(){y.update=re,X.cache++,te||Te||y.refresh()},O.delayedCall(.01,y.update),ve=.01,te=Te=0}else y.refresh();d&&Ld()},a.register=function(r){return En||(O=r||Ll(),Sl()&&window.document&&a.enable(),En=Zn),En},a.defaults=function(r){if(r)for(var n in r)Yi[n]=r[n];return Yi},a.disable=function(r,n){Zn=0,K.forEach(function(o){return o[n?"kill":"disable"](r)}),qe($,"wheel",wn),qe(ce,"scroll",wn),clearInterval(zi),qe(ce,"touchcancel",jt),qe(ne,"touchstart",jt),Gi(qe,ce,"pointerdown,touchstart,mousedown",ll),Gi(qe,ce,"pointerup,touchend,mouseup",cl),to.kill(),Wi(qe);for(var i=0;i<X.length;i+=3)Vi(qe,X[i],X[i+1]),Vi(qe,X[i],X[i+2])},a.enable=function(){if($=window,ce=document,At=ce.documentElement,ne=ce.body,O&&(ci=O.utils.toArray,ri=O.utils.clamp,ms=O.core.context||jt,ss=O.core.suppressOverwrites||jt,ws=$.history.scrollRestoration||"auto",ys=$.pageYOffset||0,O.core.globals("ScrollTrigger",a),ne)){Zn=1,Tn=document.createElement("div"),Tn.style.height="100vh",Tn.style.position="absolute",Rl(),vd(),xe.register(O),a.isTouch=xe.isTouch,Cr=xe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),hs=xe.isTouch===1,Fe($,"wheel",wn),bs=[$,ce,At,ne],O.matchMedia?(a.matchMedia=function(c){var u=O.matchMedia(),f;for(f in c)u.add(f,c[f]);return u},O.addEventListener("matchMediaInit",function(){Dl(),Ms()}),O.addEventListener("matchMediaRevert",function(){return Ol()}),O.addEventListener("matchMedia",function(){$r(0,1),tn("matchMedia")}),O.matchMedia().add("(orientation: portrait)",function(){return us(),us})):console.warn("Requires GSAP 3.11.0 or later"),us(),Fe(ce,"scroll",wn);var r=ne.hasAttribute("style"),n=ne.style,i=n.borderTopStyle,o=O.core.Animation.prototype,s,l;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",s=dr(ne),ke.m=Math.round(s.top+ke.sc())||0,Qe.m=Math.round(s.left+Qe.sc())||0,i?n.borderTopStyle=i:n.removeProperty("border-top-style"),r||(ne.setAttribute("style",""),ne.removeAttribute("style")),zi=setInterval(fl,250),O.delayedCall(.5,function(){return Bi=0}),Fe(ce,"touchcancel",jt),Fe(ne,"touchstart",jt),Gi(Fe,ce,"pointerdown,touchstart,mousedown",ll),Gi(Fe,ce,"pointerup,touchend,mouseup",cl),ps=O.utils.checkPrefix("transform"),Ji.push(ps),En=Je(),to=O.delayedCall(.2,$r).pause(),xn=[ce,"visibilitychange",function(){var c=$.innerWidth,u=$.innerHeight;ce.hidden?(il=c,ol=u):(il!==c||ol!==u)&&ti()},ce,"DOMContentLoaded",$r,$,"load",$r,$,"resize",ti],Wi(Fe),K.forEach(function(c){return c.enable(0,1)}),l=0;l<X.length;l+=3)Vi(qe,X[l],X[l+1]),Vi(qe,X[l],X[l+2])}},a.config=function(r){"limitCallbacks"in r&&(as=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(zi)||(zi=n)&&setInterval(fl,n),"ignoreMobileResize"in r&&(hs=a.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Wi(qe)||Wi(Fe,r.autoRefreshEvents||"none"),El=(r.autoRefreshEvents+"").indexOf("resize")===-1)},a.scrollerProxy=function(r,n){var i=lt(r),o=X.indexOf(i),s=Jr(i);~o&&X.splice(o,s?6:2),n&&(s?Wt.unshift($,n,ne,n,At,n):Wt.unshift(i,n))},a.clearMatchMedia=function(r){K.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},a.isInViewport=function(r,n,i){var o=(Mt(r)?lt(r):r).getBoundingClientRect(),s=o[i?jr:Qr]*n||0;return i?o.right-s>0&&o.left+s<$.innerWidth:o.bottom-s>0&&o.top+s<$.innerHeight},a.positionInViewport=function(r,n,i){Mt(r)&&(r=lt(r));var o=r.getBoundingClientRect(),s=o[i?jr:Qr],l=n==null?s/2:n in no?no[n]*s:~n.indexOf("%")?parseFloat(n)*s/100:parseFloat(n)||0;return i?(o.left+l)/$.innerWidth:(o.top+l)/$.innerHeight},a.killAll=function(r){if(K.slice(0).forEach(function(i){return i.vars.id!=="ScrollSmoother"&&i.kill()}),r!==!0){var n=en.killAll||[];en={},n.forEach(function(i){return i()})}},a}();R.version="3.14.2";R.saveStyles=function(a){return a?ci(a).forEach(function(e){if(e&&e.style){var t=Lt.indexOf(e);t>=0&&Lt.splice(t,5),Lt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),O.core.getCache(e),ms())}}):Lt};R.revert=function(a,e){return Ms(!a,e)};R.create=function(a,e){return new R(a,e)};R.refresh=function(a){return a?ti(!0):(En||R.register())&&$r(!0)};R.update=function(a){return++X.cache&&fr(a===!0?2:0)};R.clearScrollMemory=Il;R.maxScroll=function(a,e){return Qt(a,e?Qe:ke)};R.getScrollFunc=function(a,e){return cr(lt(a),e?Qe:ke)};R.getById=function(a){return _s[a]};R.getAll=function(){return K.filter(function(a){return a.vars.id!=="ScrollSmoother"})};R.isScrolling=function(){return!!It};R.snapDirectional=Ls;R.addEventListener=function(a,e){var t=en[a]||(en[a]=[]);~t.indexOf(e)||t.push(e)};R.removeEventListener=function(a,e){var t=en[a],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};R.batch=function(a,e){var t=[],r={},n=e.interval||.016,i=e.batchMax||1e9,o=function(c,u){var f=[],p=[],d=O.delayedCall(n,function(){u(f,p),f=[],p=[]}).pause();return function(m){f.length||d.restart(!0),f.push(m.trigger),p.push(m),i<=f.length&&d.progress(1)}},s;for(s in e)r[s]=s.substr(0,2)==="on"&&et(e[s])&&s!=="onRefreshInit"?o(s,e[s]):e[s];return et(i)&&(i=i(),Fe(R,"refresh",function(){return i=e.batchMax()})),ci(a).forEach(function(l){var c={};for(s in r)c[s]=r[s];c.trigger=l,t.push(R.create(c))}),t};var yl=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},fs=function a(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(xe.isTouch?" pinch-zoom":""):"none",e===At&&a(ne,t)},$i={auto:1,scroll:1},Pd=function(e){var t=e.event,r=e.target,n=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,o=i._gsap||O.core.getCache(i),s=Je(),l;if(!o._isScrollT||s-o._isScrollT>2e3){for(;i&&i!==ne&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!($i[(l=Dt(i)).overflowY]||$i[l.overflowX]));)i=i.parentNode;o._isScroll=i&&i!==r&&!Jr(i)&&($i[(l=Dt(i)).overflowY]||$i[l.overflowX]),o._isScrollT=s}(o._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},Fl=function(e,t,r,n){return xe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Pd,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&Fe(ce,xe.eventTypes[0],bl,!1,!0)},onDisable:function(){return qe(ce,xe.eventTypes[0],bl,!0)}})},Hd=/(input|label|select|textarea)/i,vl,bl=function(e){var t=Hd.test(e.target.tagName);(t||vl)&&(e._gsapAllow=!0,vl=t)},Od=function(e){Kr(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,r=t.normalizeScrollX,n=t.momentum,i=t.allowNestedScroll,o=t.onRelease,s,l,c=lt(e.target)||At,u=O.core.globals().ScrollSmoother,f=u&&u.get(),p=Cr&&(e.content&<(e.content)||f&&e.content!==!1&&!f.smooth()&&f.content()),d=cr(c,ke),m=cr(c,Qe),h=1,g=(xe.isTouch&&$.visualViewport?$.visualViewport.scale*$.visualViewport.width:$.outerWidth)/$.innerWidth,b=0,_=et(n)?function(){return n(s)}:function(){return n||2.8},v,w,E=Fl(c,e.type,!0,i),L=function(){return w=!1},T=jt,A=jt,M=function(){l=Qt(c,ke),A=ri(Cr?1:0,l),r&&(T=ri(0,Qt(c,Qe))),v=Zr},x=function(){p._gsap.y=Jn(parseFloat(p._gsap.y)+d.offset)+"px",p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(p._gsap.y)+", 0, 1)",d.offset=d.cacheID=0},P=function(){if(w){requestAnimationFrame(L);var z=Jn(s.deltaY/2),ee=A(d.v-z);if(p&&ee!==d.v+d.offset){d.offset=ee-d.v;var y=Jn((parseFloat(p&&p._gsap.y)||0)-d.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",p._gsap.y=y+"px",d.cacheID=X.cache,fr()}return!0}d.offset&&x(),w=!0},k,I,N,G,F=function(){M(),k.isActive()&&k.vars.scrollY>l&&(d()>l?k.progress(1)&&d(l):k.resetTo("scrollY",l))};return p&&O.set(p,{y:"+=0"}),e.ignoreCheck=function(C){return Cr&&C.type==="touchmove"&&P(C)||h>1.05&&C.type!=="touchstart"||s.isGesturing||C.touches&&C.touches.length>1},e.onPress=function(){w=!1;var C=h;h=Jn(($.visualViewport&&$.visualViewport.scale||1)/g),k.pause(),C!==h&&fs(c,h>1.01?!0:r?!1:"x"),I=m(),N=d(),M(),v=Zr},e.onRelease=e.onGestureStart=function(C,z){if(d.offset&&x(),!z)G.restart(!0);else{X.cache++;var ee=_(),y,V;r&&(y=m(),V=y+ee*.05*-C.velocityX/.227,ee*=yl(m,y,V,Qt(c,Qe)),k.vars.scrollX=T(V)),y=d(),V=y+ee*.05*-C.velocityY/.227,ee*=yl(d,y,V,Qt(c,ke)),k.vars.scrollY=A(V),k.invalidate().duration(ee).play(.01),(Cr&&k.vars.scrollY>=l||y>=l-1)&&O.to({},{onUpdate:F,duration:ee})}o&&o(C)},e.onWheel=function(){k._ts&&k.pause(),Je()-b>1e3&&(v=0,b=Je())},e.onChange=function(C,z,ee,y,V){if(Zr!==v&&M(),z&&r&&m(T(y[2]===z?I+(C.startX-C.x):m()+z-y[1])),ee){d.offset&&x();var ie=V[2]===ee,oe=ie?N+C.startY-C.y:d()+ee-V[1],Q=A(oe);ie&&oe!==Q&&(N+=Q-oe),d(Q)}(ee||z)&&fr()},e.onEnable=function(){fs(c,r?!1:"x"),R.addEventListener("refresh",F),Fe($,"resize",F),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=m.smooth=!1),E.enable()},e.onDisable=function(){fs(c,!0),qe($,"resize",F),R.removeEventListener("refresh",F),E.kill()},e.lockAxis=e.lockAxis!==!1,s=new xe(e),s.iOS=Cr,Cr&&!d()&&d(1),Cr&&O.ticker.add(jt),G=s._dc,k=O.to(s,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:ql(d,d(),function(){return k.pause()})},onUpdate:fr,onComplete:G.vars.onComplete}),s};R.sort=function(a){if(et(a))return K.sort(a);var e=$.pageYOffset||0;return R.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+$.innerHeight}),K.sort(a||function(t,r){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};R.observe=function(a){return new xe(a)};R.normalizeScroll=function(a){if(typeof a>"u")return ct;if(a===!0&&ct)return ct.enable();if(a===!1){ct&&ct.kill(),ct=a;return}var e=a instanceof xe?a:Od(a);return ct&&ct.target===e.target&&ct.kill(),Jr(e.target)&&(ct=e),e};R.core={_getVelocityProp:Ni,_inputObserver:Fl,_scrollers:X,_proxies:Wt,bridge:{ss:function(){It||tn("scrollStart"),It=Je()},ref:function(){return Ze}}};Ll()&&O.registerPlugin(R);var Nl=()=>{Oe.registerPlugin(R),document.querySelectorAll(".circle-arrow_wrapper").forEach(e=>{let t=e.querySelector("svg");if(!t)return;let r=t.querySelector("path:last-of-type"),n=e.classList.contains("is-footer"),i=n?12:-12,o=n?{x:-20,y:-3}:{x:18,y:-8};function s(){Oe.fromTo(t,{y:10,rotation:i,transformOrigin:"50% 50%"},{y:-15,rotation:0,duration:1.4,ease:"power2.out",delay:.2}),r&&Oe.fromTo(r,{x:0,y:0},{...o,duration:1.6,ease:"power2.out",delay:.2})}if(n){let l=e.closest(".footer_main-decor");R.create({trigger:e,start:"top 85%",once:!0,onEnter:()=>{l&&(l.style.opacity="1"),s()}})}else{let l=e.closest(".header_main-decor");l&&(l.style.opacity="1"),s()}}),window.addEventListener("load",()=>{setTimeout(()=>R.refresh(),200)})};var zl=()=>{Oe.registerPlugin(R),document.querySelectorAll(".decor_arrow-wrapper").forEach(e=>{let t=e.querySelector(".decor-middle"),r=e.querySelector(".decor-top"),n=e,i=Oe.timeline({paused:!0});if(i.to(n,{opacity:1,duration:.6,ease:"power2.out"}).add("rideAlong","-=0.3"),t&&i.fromTo(t,{y:0,xPercent:-50},{y:-15,xPercent:-50,duration:1,ease:"power2.out"},"rideAlong"),r){let o=n.classList.contains("is-inside");i.fromTo(r,{y:0,xPercent:-50},{y:o?-40:-60,xPercent:-50,duration:1.2,ease:"power2.out"},"rideAlong")}R.create({trigger:n,start:"top 85%",once:!0,onEnter:()=>{Oe.set(n,{opacity:0}),i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{R.refresh()},200)})};var Bl=(a={pauseOnHover:!1})=>{let e=document.querySelector(".banner_component"),t=document.querySelector(".banner_inner-wrapper"),r=document.querySelector(".banner_marquee");if(!e||!t||!r)return;t.querySelectorAll(".banner_marquee.is-clone").forEach(f=>f.remove());let i=r.offsetWidth,o=48,s="perfect-marquee-styles";if(!document.getElementById(s)){let f=document.createElement("style");f.id=s;let p=a.pauseOnHover?`
|
|
104
104
|
.banner_component:hover .banner_marquee {
|
|
105
105
|
animation-play-state: paused !important;
|
|
106
106
|
}
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
${p}
|
|
131
|
-
`,document.head.appendChild(f)}let l=window.innerWidth,c=i+o,u=Math.max(3,Math.ceil(l*2/c));for(let f=0;f<u;f++){let p=r.cloneNode(!0);p.setAttribute("aria-hidden","true"),p.classList.add("is-clone"),t.appendChild(p)}if(typeof gsap<"u"){let f=t.querySelectorAll(".banner_marquee");f.forEach(p=>{let d=p;d.style.animation="none"}),requestAnimationFrame(()=>{let p=i+o,d=gsap.to(f,{x:-p,duration:30,ease:"none",repeat:-1});a.pauseOnHover&&e&&(e.addEventListener("mouseenter",()=>d.pause()),e.addEventListener("mouseleave",()=>d.resume()))})}},Wl=()=>{let a=document.querySelector(".marquee");if(!a)return;let e=a.querySelector(".marquee-wrapper");if(!e)return;let t=e.parentElement;Object.assign(e.style,{display:"flex",flexWrap:"nowrap",willChange:"transform"});let r=Array.from(e.querySelectorAll(".marquee-item"));if(r.length===0)return;let n=t.offsetWidth*2,i=0,o=r.reduce((f,p)=>{let d=window.getComputedStyle(p),m=parseFloat(d.marginLeft)||0,h=parseFloat(d.marginRight)||0;return f+p.offsetWidth+m+h},0);for(;i<n+o;)r.forEach(f=>{let p=f.cloneNode(!0);p.setAttribute("aria-hidden","true"),e.appendChild(p),i+=f.offsetWidth});let s=0,l=40,c=null,u=f=>{if(c!==null){let p=(f-c)/1e3;s-=l*p,Math.abs(s)>=o&&(s+=o),e.style.transform=`translateX(${s}px)`}c=f,requestAnimationFrame(u)};requestAnimationFrame(u)};function Gl(){let a=document.querySelectorAll("[data-line-scroll]");a.length!==0&&a.forEach(e=>{let t=e.querySelector("line");if(!t)return;let r=t.closest("svg");r&&gsap.set(r,{attr:{preserveAspectRatio:"none"}}),gsap.to(t,{strokeDashoffset:-16,duration:1,ease:"none",repeat:-1})})}var Vl=()=>{
|
|
131
|
+
`,document.head.appendChild(f)}let l=window.innerWidth,c=i+o,u=Math.max(3,Math.ceil(l*2/c));for(let f=0;f<u;f++){let p=r.cloneNode(!0);p.setAttribute("aria-hidden","true"),p.classList.add("is-clone"),t.appendChild(p)}if(typeof gsap<"u"){let f=t.querySelectorAll(".banner_marquee");f.forEach(p=>{let d=p;d.style.animation="none"}),requestAnimationFrame(()=>{let p=i+o,d=gsap.to(f,{x:-p,duration:30,ease:"none",repeat:-1});a.pauseOnHover&&e&&(e.addEventListener("mouseenter",()=>d.pause()),e.addEventListener("mouseleave",()=>d.resume()))})}},Wl=()=>{let a=document.querySelector(".marquee");if(!a)return;let e=a.querySelector(".marquee-wrapper");if(!e)return;let t=e.parentElement;Object.assign(e.style,{display:"flex",flexWrap:"nowrap",willChange:"transform"});let r=Array.from(e.querySelectorAll(".marquee-item"));if(r.length===0)return;let n=t.offsetWidth*2,i=0,o=r.reduce((f,p)=>{let d=window.getComputedStyle(p),m=parseFloat(d.marginLeft)||0,h=parseFloat(d.marginRight)||0;return f+p.offsetWidth+m+h},0);for(;i<n+o;)r.forEach(f=>{let p=f.cloneNode(!0);p.setAttribute("aria-hidden","true"),e.appendChild(p),i+=f.offsetWidth});let s=0,l=40,c=null,u=f=>{if(c!==null){let p=(f-c)/1e3;s-=l*p,Math.abs(s)>=o&&(s+=o),e.style.transform=`translateX(${s}px)`}c=f,requestAnimationFrame(u)};requestAnimationFrame(u)};function Gl(){let a=document.querySelectorAll("[data-line-scroll]");a.length!==0&&a.forEach(e=>{let t=e.querySelector("line");if(!t)return;let r=t.closest("svg");r&&gsap.set(r,{attr:{preserveAspectRatio:"none"}}),gsap.to(t,{strokeDashoffset:-16,duration:1,ease:"none",repeat:-1})})}var Vl=()=>{Oe.registerPlugin(R),Oe.utils.toArray("section").forEach(a=>{let e=a.querySelector("h2"),t=a.querySelector(".section_header-description");if(!e&&!t)return;let r=Oe.timeline({paused:!0});e&&r.from(e,{opacity:0,y:16,duration:.6,ease:"power2.out"}),t&&r.from(t,{opacity:0,y:16,duration:.6,ease:"power2.out"},"-=0.35"),R.create({trigger:a,start:"top 85%",once:!0,onEnter:()=>r.play()})})};var Yl=()=>{Oe.registerPlugin(R),Oe.matchMedia().add("(min-width: 992px)",()=>{document.querySelectorAll(".timeline-component").forEach(t=>{let r=t.querySelector(".timeline-line-wrapper"),n=t.querySelectorAll(".timeline-dot-wrapper");if(!r||n.length===0)return;Oe.set(r,{opacity:0,width:"0%"}),Oe.set(n,{opacity:0,scale:0});let i=Oe.timeline({paused:!0});i.to(r,{opacity:1,width:"100%",duration:1.4,ease:"power2.inOut"});let l=1.4/n.length;n.forEach((c,u)=>{let f=l*u;i.to(c,{opacity:1,scale:1,duration:.4,ease:"back.out(1.7)"},f)}),R.create({trigger:t,start:"top 75%",once:!0,onEnter:()=>{i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{R.refresh()},200)})})};var Mn=null;function Ul(){if(typeof Lenis>"u"){console.error("[SmoothScroll] Lenis is not loaded");return}if(!(window.innerWidth>991))return;Mn=new Lenis({duration:1.05,easing:t=>Math.min(1,1.001-Math.pow(2,-10*t)),orientation:"vertical",gestureOrientation:"vertical",smoothWheel:!0,wheelMultiplier:1,smoothTouch:!1,touchMultiplier:2,infinite:!1,autoRaf:!1}),document.querySelectorAll('a[href*="#"]:not(.w-tab-link)').forEach(t=>{t.addEventListener("click",r=>{let n=t.getAttribute("href");if(!n)return;let i;try{let s=new URL(n,window.location.href);if(s.pathname!==window.location.pathname)return;i=s.hash}catch{i=n.startsWith("#")?n:""}if(!i||i==="#")return;let o=document.querySelector(i);!o||!Mn||(r.preventDefault(),r.stopPropagation(),Mn.scrollTo(o,{offset:0,duration:1.05}))})});function e(t){Mn?.raf(t),requestAnimationFrame(e)}requestAnimationFrame(e)}function Xl(){Mn?.stop()}function Kl(){Mn?.start()}function $l(){document.querySelectorAll(".button-wrapper").forEach(e=>{let t=e.querySelector(".button-link, a");t&&(t.addEventListener("focus",()=>{t.matches(":focus-visible")&&e.classList.add("is-focused")}),t.addEventListener("blur",()=>{e.classList.remove("is-focused")}),t.addEventListener("mousedown",()=>{e.classList.remove("is-focused")}))})}function Dd(){let a=document.createElement("style");a.textContent=`
|
|
132
132
|
#cursor-trail-canvas {
|
|
133
133
|
position: fixed;
|
|
134
134
|
inset: 0;
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
flex-shrink: 0 !important;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
|
-
`,document.head.appendChild(e)}function Os(a){a.slides.forEach((e,t)=>{let r=e.querySelector(".nav-item__link"),n=e.querySelector(".nav-item__tooltip");if(!r)return;r.style.transition="transform 0.4s ease",r.style.transformOrigin="center bottom";let i=t===a.activeIndex,o=t===a.activeIndex-1||t===a.activeIndex+1;i?(r.style.transform="scale(1.4)",e.style.zIndex="100",n&&gsap.to(n,{opacity:1,y:-55,scale:1,duration:.3,ease:"power2.out",overwrite:!0})):o?(r.style.transform="scale(1.1)",e.style.zIndex="50",n&&gsap.to(n,{opacity:0,y:0,scale:.8,duration:.2,overwrite:!0})):(r.style.transform="scale(0.8)",e.style.zIndex="1",n&&gsap.to(n,{opacity:0,y:0,scale:.8,duration:.2,overwrite:!0}))})}function Yd(a){if(fi.has(a))return;a.querySelectorAll(".nav-item").forEach(s=>{s.classList.remove("hover"),s.style.width="";let l=s.querySelector(".nav-item__link");l&&(l.style.transform="",l.style.transition="")});let t=a.getAttribute("data-dock-space"),r=t?parseFloat(t):16,n=a.parentElement,i=a.querySelector(".swiper-arrow.is-next"),o=a.querySelector(".swiper-arrow.is-prev");!i&&n&&(i=n.querySelector(".swiper-arrow.is-next")),!o&&n&&(o=n.querySelector(".swiper-arrow.is-prev")),a.style.width="100%",a.style.overflow="hidden",requestAnimationFrame(()=>{setTimeout(()=>{if(fi.has(a))return;let s={slidesPerView:"auto",slidesPerGroup:1,spaceBetween:r,loop:!1,centeredSlides:!0,freeMode:!1,watchOverflow:!0,observer:!0,observeParents:!0,resizeObserver:!0,updateOnWindowResize:!0,navigation:{nextEl:i,prevEl:o},on:{init:c=>{Os(c),setTimeout(()=>c.update(),100)},slideChange:c=>Os(c),transitionEnd:c=>Os(c)}},l=new Swiper(a,s);fi.set(a,l)},50)})}function Ud(a){let e=fi.get(a);e&&(e.destroy(!0,!0),fi.delete(a))}function mc(){return Array.from(document.querySelectorAll("[data-slider-dock]"))}function pc(){let a=mc(),e=ao();a.forEach(t=>{e?Yd(t):Ud(t)})}function Xd(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function Kd(){document.querySelectorAll("[data-slider-dock]").forEach(e=>{let t=Array.from(e.querySelectorAll(".nav-item"));if(t.length===0)return;let r=o=>{t.forEach((s,l)=>{let c=s.querySelector(".nav-item__link");c&&(c.style.transition="transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)",c.style.transformOrigin="center bottom",l===o?(c.style.transform="scale(2)",s.style.zIndex="100"):l===o-1||l===o+1?(c.style.transform="scale(1.25)",s.style.zIndex="50"):(c.style.transform="scale(1)",s.style.zIndex="1"))})},n=()=>{t.forEach(o=>{let s=o.querySelector(".nav-item__link");s&&(s.style.transform="scale(1)"),o.style.zIndex="",o.classList.remove("hover");let l=o.querySelector(".nav-item__tooltip");l&&gsap.to(l,{opacity:0,y:0,duration:.2,overwrite:!0})})};t.forEach((o,s)=>{o.style.position="relative";let l=o.querySelector(".nav-item__link");l&&(l.style.position="relative",l.style.zIndex="2");let c=o.querySelector(".nav-item__tooltip");c&&gsap.set(c,{position:"absolute",bottom:"100%",left:"50%",xPercent:-50,marginBottom:"-20px",opacity:0,pointerEvents:"none",display:"block"}),o.addEventListener("mouseenter",()=>{ao()||(r(s),o.classList.add("hover"),c&&gsap.to(c,{opacity:1,y:-55,duration:.3,ease:"power2.out",overwrite:!0}))}),o.addEventListener("mouseleave",()=>{ao()||c&&gsap.to(c,{opacity:0,y:0,duration:.2,overwrite:!0})})}),(e.querySelector(".nav-list")||e).addEventListener("mouseleave",()=>{ao()||n()})})}function gc(){if(typeof Swiper>"u"||mc().length===0)return;Vd(),pc();let e=Xd(pc,150);window.addEventListener("resize",e),Kd()}var pi=new Map,Ds=new Map,$d=991;function jd(){return window.innerWidth<=$d}function _c(a,e){let t=a.slides.length,n=((a.realIndex!==void 0?a.realIndex:a.activeIndex)+1)/t*100;e.style.width=n+"%",e.style.transition="width 0.3s ease"}function Qd(a){if(pi.has(a))return;let e=a.getAttribute("data-mobile-slides"),t=e?parseFloat(e):1,r=a.getAttribute("data-mobile-space"),n=r?parseFloat(r):16,i=a.parentElement,o=a.querySelector(".swiper-arrow.is-next"),s=a.querySelector(".swiper-arrow.is-prev");!o&&i&&(o=i.querySelector(".swiper-arrow.is-next")),!s&&i&&(s=i.querySelector(".swiper-arrow.is-prev"));let l=a.querySelector(".swiper-progress-track"),c=a.querySelector(".swiper-progress-thumb");!l&&i&&(l=i.querySelector(".swiper-progress-track")),!c&&i&&(c=i.querySelector(".swiper-progress-thumb"));let u=a.querySelectorAll(".swiper-slide"),f=a.querySelector(".swiper-wrapper"),p=new Map;if(f){let v=f.style.cssText,w=document.createElement("div");w.style.cssText=v,p.set(f,w.style),f.style.display="flex",f.style.flexDirection="row",f.style.gap="0",f.style.gridGap="0"}u.forEach(v=>{let w=v.style.cssText,E=document.createElement("div");E.style.cssText=w,p.set(v,E.style),v.style.width="",v.style.minWidth="0",v.style.maxWidth="none",v.style.flexBasis="auto",v.style.flexShrink="0",v.style.boxSizing="border-box",v.style.display="block"}),Ds.set(a,p);let d=a.getAttribute("data-tablet-slides"),m=d?parseFloat(d):t,h=a.getAttribute("data-desktop-slides"),g=h?parseFloat(h):4,b={slidesPerView:t,spaceBetween:n,loop:!1,freeMode:!1,watchOverflow:!0,breakpoints:{768:{slidesPerView:m,spaceBetween:n},992:{slidesPerView:g,spaceBetween:0}},navigation:{nextEl:o,prevEl:s},on:{init:function(){c&&_c(this,c)},slideChange:function(){c&&_c(this,c)}}},_=new Swiper(a,b);pi.set(a,_),l&&(l.hasAttribute("data-progress-listener")||(l.addEventListener("click",function(v){let w=pi.get(a);if(!w)return;let E=v,L=l.getBoundingClientRect(),T=E.clientX-L.left,A=L.width,M=T/A,x=w.slides.length,P=Math.floor(M*x);w.slideTo(P)}),l.setAttribute("data-progress-listener","true")))}function Zd(a){let e=pi.get(a);if(e){e.destroy(!0,!0),pi.delete(a);let t=Ds.get(a);t&&(t.forEach((r,n)=>{n.style.cssText=r.cssText}),Ds.delete(a))}}function vc(){return Array.from(document.querySelectorAll("[data-slider-mobile]"))}function yc(){let a=vc(),e=jd();a.forEach(t=>{let r=e;if(!e){let n=t.querySelector(".swiper-wrapper");n&&n.children.length>4&&(r=!0)}r?Qd(t):Zd(t)})}function Jd(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function bc(){if(typeof Swiper>"u"||vc().length===0)return;yc();let e=Jd(yc,150);window.addEventListener("resize",e)}function Ec(){if(typeof Swiper>"u")return;document.querySelectorAll(".swiper:not([data-slider-mobile]):not([data-slider-dock])").forEach(e=>{let t=e,r=t.getAttribute("data-mobile-slides"),n=r?parseFloat(r):1,i=t.parentElement,o=t.querySelector(".swiper-arrow.is-next"),s=t.querySelector(".swiper-arrow.is-prev");!o&&i&&(o=i.querySelector(".swiper-arrow.is-next")),!s&&i&&(s=i.querySelector(".swiper-arrow.is-prev"));let l=t.querySelector(".swiper-progress-track"),c=t.querySelector(".swiper-progress-thumb");!l&&i&&(l=i.querySelector(".swiper-progress-track")),!c&&i&&(c=i.querySelector(".swiper-progress-thumb"));let u={slidesPerView:n,spaceBetween:0,loop:!1,centeredSlides:!0,navigation:{nextEl:o,prevEl:s},breakpoints:{992:{slidesPerView:1,centeredSlides:!0}},on:{init:function(){setTimeout(()=>{hi(this),c&&wc(this,c)},50)},slideChange:function(){hi(this),c&&wc(this,c)},slideChangeTransitionStart:function(){hi(this)},slideChangeTransitionEnd:function(){hi(this)},transitionEnd:function(){hi(this)}}},f=new Swiper(t,u);if(l){let p=document.createElement("div");Object.assign(p.style,{position:"absolute",inset:"-12px 0",cursor:"pointer",zIndex:"1"}),l.style.position="relative",l.appendChild(p);let d=h=>{let g=l.getBoundingClientRect(),b=Math.max(0,Math.min(1,(h-g.left)/g.width)),_=f.slides.length;f.slideTo(Math.min(Math.floor(b*_),_-1))},m=!1;p.addEventListener("mousedown",h=>{m=!0,d(h.clientX)}),document.addEventListener("mousemove",h=>{m&&d(h.clientX)}),document.addEventListener("mouseup",()=>{m=!1}),p.addEventListener("touchstart",h=>{d(h.touches[0].clientX)},{passive:!0}),p.addEventListener("touchmove",h=>{d(h.touches[0].clientX)},{passive:!0})}})}function hi(a){a.slides.forEach(function(e,t){t===a.activeIndex||e.classList.contains("swiper-slide-active")?(e.style.transform="scale(1)",e.style.transition="transform 0.4s ease"):(e.style.transform="scale(0.9)",e.style.transition="transform 0.4s ease")})}function wc(a,e){let t=a.slides.length,n=(a.realIndex+1)/t*100;e.style.width=n+"%"}var xc="is-mobile-tabs",Is="mobile-tabs-wrapper",Rs=class{constructor(e){U(this,"container");U(this,"menu");U(this,"content");U(this,"tabPairs",[]);U(this,"isMobileLayout",!1);U(this,"originalContentParent",null);U(this,"handleResize",()=>{let e=window.innerWidth<=991;e&&!this.isMobileLayout?this.applyMobileLayout():!e&&this.isMobileLayout&&this.restoreDesktopLayout()});U(this,"preventWebflowClick",e=>{e.stopImmediatePropagation()});U(this,"handleMobileTabClick",e=>{let r=e.currentTarget.getAttribute("data-w-tab")?.trim();this.tabPairs.forEach(({pill:n,tabName:i})=>{let o=n.nextElementSibling;if(!o||!o.classList.contains(Is))return;let s=o.firstElementChild;s&&(i===r?(s.removeAttribute("hidden"),s.style.display="",o.classList.add("is-open")):(s.setAttribute("hidden","true"),s.style.display="none",o.classList.remove("is-open")))})});if(this.container=e,this.menu=e.querySelector(".w-tab-menu"),this.content=e.querySelector(".w-tab-content"),!this.menu||!this.content){console.error("[MobileTabs] Missing .w-tab-menu or .w-tab-content");return}this.originalContentParent=this.content.parentElement,this.collectTabPairs(),this.init()}collectTabPairs(){if(!this.menu||!this.content)return;let e=Array.from(this.menu.querySelectorAll("[data-w-tab]")),t=Array.from(this.content.querySelectorAll("[data-w-tab]"));e.forEach(r=>{let n=r.getAttribute("data-w-tab")?.trim();if(!n)return;let i=t.find(o=>o.getAttribute("data-w-tab")?.trim()===n);i&&this.tabPairs.push({pill:r,pane:i,tabName:n})})}init(){this.handleResize(),window.addEventListener("resize",this.handleResize.bind(this))}applyMobileLayout(){!this.menu||!this.content||(this.isMobileLayout=!0,this.container.classList.add(xc),this.content.style.display="none",this.tabPairs.forEach(({pill:e,pane:t},r)=>{let n=document.createElement("div");n.className=Is,n.appendChild(t),r===this.tabPairs.length-1?(t.removeAttribute("hidden"),t.style.display="",n.classList.add("is-open")):(t.setAttribute("hidden","true"),t.style.display="none",n.classList.remove("is-open")),e.insertAdjacentElement("afterend",n),e.addEventListener("click",this.preventWebflowClick,{capture:!0})}))}restoreDesktopLayout(){if(!this.menu||!this.content)return;this.isMobileLayout=!1,this.container.classList.remove(xc),this.tabPairs.forEach(({pill:t,pane:r})=>{t.removeEventListener("click",this.handleMobileTabClick),t.removeEventListener("click",this.preventWebflowClick,{capture:!0}),t.style.pointerEvents="",r.removeAttribute("hidden"),r.style.display="",this.content.appendChild(r)}),this.menu.querySelectorAll(`.${Is}`).forEach(t=>t.remove()),this.content.style.display=""}destroy(){this.restoreDesktopLayout(),window.removeEventListener("resize",this.handleResize)}};function Tc(){document.querySelectorAll("[data-tabs-mobile]").forEach(e=>{if(e.classList.contains("w-tabs")||e.querySelector(".w-tabs")){let t=e.classList.contains("w-tabs")?e:e.querySelector(".w-tabs");t&&new Rs(t)}})}var lo=class{constructor(e){U(this,"tablistNode");U(this,"tabs",[]);U(this,"firstTab",null);U(this,"lastTab",null);U(this,"tabpanels",[]);U(this,"pendingTimeouts",[]);this.tablistNode=e;let t=this.tablistNode.getAttribute("data-orientation")||"horizontal";this.tablistNode.setAttribute("aria-orientation",t),this.tabs=Array.from(this.tablistNode.querySelectorAll("[role=tab]")),this.tabs.forEach(n=>{let i=n.getAttribute("aria-controls");if(!i)return;let o=document.getElementById(i);n.tabIndex=n.getAttribute("aria-selected")==="true"?0:-1,o&&(o.setAttribute("role","tabpanel"),o.setAttribute("aria-labelledby",n.id),o.removeAttribute("tabindex"),this.tabpanels.push(o)),n.addEventListener("keydown",this.onKeydown.bind(this)),n.addEventListener("click",this.onClick.bind(this)),this.firstTab||(this.firstTab=n),this.lastTab=n});let r=this.tabs.find(n=>n.getAttribute("aria-selected")==="true")||this.firstTab;r&&(window.innerWidth<=991&&this.tablistNode.closest(".tabs_component")?this.setInitialMobileTab(r):this.setSelectedTab(r,!1))}setTabsContentHeight(){let e=this.tablistNode.closest(".tabs_component");if(!e)return;let t=e.querySelector(".tabs_component-content");if(!t)return;if(window.innerWidth<=991){t.style.minHeight="";return}let r=t.querySelectorAll(":scope > *");if(r.length===0)return;let n=0;r.forEach(i=>{let o=i,s=o.hasAttribute("hidden");s&&(o.style.visibility="hidden",o.style.display="block",o.style.position="absolute",o.removeAttribute("hidden")),n=Math.max(n,o.offsetHeight),s&&(o.setAttribute("hidden","true"),o.style.display="",o.style.position="",o.style.visibility="")}),t.style.minHeight=n+"px"}setInitialMobileTab(e){let t=e.getAttribute("aria-controls"),r=t?document.getElementById(t):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),r&&(r.classList.add("is-active-tab"),r.removeAttribute("hidden"),r.style.opacity="1",r.removeAttribute("style"))}setSelectedTab(e,t=!0){this.pendingTimeouts.forEach(s=>clearTimeout(s)),this.pendingTimeouts=[];let n=this.tablistNode.closest(".tabs_component")!==null;this.tabs.forEach(s=>{if(e===s)return;let l=s.getAttribute("aria-controls"),c=l?document.getElementById(l):null;s.setAttribute("aria-selected","false"),s.tabIndex=-1,s.classList.remove("is-active-tab"),c&&(c.classList.remove("is-active-tab"),c.setAttribute("hidden","true"),c.removeAttribute("style"))});let i=e.getAttribute("aria-controls"),o=i?document.getElementById(i):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),o&&(o.classList.add("is-active-tab"),o.removeAttribute("hidden"),n?(o.style.opacity="0",o.style.transition="opacity 0.2s ease-in-out",o.offsetWidth,this.pendingTimeouts.push(window.setTimeout(()=>{o.style.opacity="1"},10)),this.pendingTimeouts.push(window.setTimeout(()=>{o.removeAttribute("style")},250))):o.removeAttribute("style")),t&&e.focus({preventScroll:!0})}setSelectedToPreviousTab(e){if(e===this.firstTab&&this.lastTab)this.setSelectedTab(this.lastTab);else{let t=this.tabs.indexOf(e);this.setSelectedTab(this.tabs[t-1])}}setSelectedToNextTab(e){if(e===this.lastTab&&this.firstTab)this.setSelectedTab(this.firstTab);else{let t=this.tabs.indexOf(e);this.setSelectedTab(this.tabs[t+1])}}onKeydown(e){let t=e.currentTarget,r=!1,n=this.tablistNode.getAttribute("aria-orientation")||"horizontal";switch(e.key){case"ArrowLeft":n==="horizontal"&&(this.setSelectedToPreviousTab(t),r=!0);break;case"ArrowRight":n==="horizontal"&&(this.setSelectedToNextTab(t),r=!0);break;case"ArrowUp":n==="vertical"&&(this.setSelectedToPreviousTab(t),r=!0);break;case"ArrowDown":n==="vertical"&&(this.setSelectedToNextTab(t),r=!0);break;case"Home":this.firstTab&&(this.setSelectedTab(this.firstTab),r=!0);break;case"End":this.lastTab&&(this.setSelectedTab(this.lastTab),r=!0);break;case"Enter":case" ":this.setSelectedTab(t),r=!0;break;default:break}r&&(e.stopPropagation(),e.preventDefault())}onClick(e){this.setSelectedTab(e.currentTarget)}};function Sc(){document.querySelectorAll('[data-module="tabs"]').forEach(t=>{let r=t.querySelector('[role="tablist"]');if(r instanceof HTMLElement){if(t.hasAttribute("data-orientation")&&!r.hasAttribute("data-orientation")){let n=t.getAttribute("data-orientation");n&&r.setAttribute("data-orientation",n)}new lo(r)}}),document.querySelectorAll('[role="tablist"]').forEach(t=>{t instanceof HTMLElement&&!t.closest('[data-module="tabs"]')&&new lo(t)})}function Lc(){let e=document.querySelectorAll(".tabs_component-menu");if(e.length===0)return;let t=new Map;e.forEach(n=>{n.querySelectorAll("a[data-w-tab]").forEach(o=>{t.set(o,o.getAttribute("href")||"")})});function r(){let n=window.innerWidth<=991;t.forEach((i,o)=>{if(n){let s=o.getAttribute("data-w-tab");s&&o.setAttribute("href",`/branze/${s}`)}else o.setAttribute("href",i)})}r(),window.addEventListener("resize",r)}window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{Ns(),Ul(),Sc(),Lc(),Tc(),rc(),oc(),ac(),lc(),Ql(),Zl(),uc(),fc(),Ec(),bc(),gc(),jl(),Gl(),Jl(),$l(),Bl(),Wl(),zs(),Bs(),Fs(),zl(),$a(),Vl(),Yl(),ec(),tc(),sc()});})();
|
|
275
|
+
`,document.head.appendChild(e)}function Os(a){a.slides.forEach((e,t)=>{let r=e.querySelector(".nav-item__link"),n=e.querySelector(".nav-item__tooltip");if(!r)return;r.style.transition="transform 0.4s ease",r.style.transformOrigin="center bottom";let i=t===a.activeIndex,o=t===a.activeIndex-1||t===a.activeIndex+1;i?(r.style.transform="scale(1.4)",e.style.zIndex="100",n&&gsap.to(n,{opacity:1,y:-55,scale:1,duration:.3,ease:"power2.out",overwrite:!0})):o?(r.style.transform="scale(1.1)",e.style.zIndex="50",n&&gsap.to(n,{opacity:0,y:0,scale:.8,duration:.2,overwrite:!0})):(r.style.transform="scale(0.8)",e.style.zIndex="1",n&&gsap.to(n,{opacity:0,y:0,scale:.8,duration:.2,overwrite:!0}))})}function Yd(a){if(fi.has(a))return;a.querySelectorAll(".nav-item").forEach(s=>{s.classList.remove("hover"),s.style.width="";let l=s.querySelector(".nav-item__link");l&&(l.style.transform="",l.style.transition="")});let t=a.getAttribute("data-dock-space"),r=t?parseFloat(t):16,n=a.parentElement,i=a.querySelector(".swiper-arrow.is-next"),o=a.querySelector(".swiper-arrow.is-prev");!i&&n&&(i=n.querySelector(".swiper-arrow.is-next")),!o&&n&&(o=n.querySelector(".swiper-arrow.is-prev")),a.style.width="100%",a.style.overflow="hidden",requestAnimationFrame(()=>{setTimeout(()=>{if(fi.has(a))return;let s={slidesPerView:"auto",slidesPerGroup:1,spaceBetween:r,loop:!1,centeredSlides:!0,freeMode:!1,watchOverflow:!0,observer:!0,observeParents:!0,resizeObserver:!0,updateOnWindowResize:!0,navigation:{nextEl:i,prevEl:o},on:{init:c=>{Os(c),setTimeout(()=>c.update(),100)},slideChange:c=>Os(c),transitionEnd:c=>Os(c)}},l=new Swiper(a,s);fi.set(a,l)},50)})}function Ud(a){let e=fi.get(a);e&&(e.destroy(!0,!0),fi.delete(a))}function mc(){return Array.from(document.querySelectorAll("[data-slider-dock]"))}function pc(){let a=mc(),e=ao();a.forEach(t=>{e?Yd(t):Ud(t)})}function Xd(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function Kd(){document.querySelectorAll("[data-slider-dock]").forEach(e=>{let t=Array.from(e.querySelectorAll(".nav-item"));if(t.length===0)return;let r=o=>{t.forEach((s,l)=>{let c=s.querySelector(".nav-item__link");c&&(c.style.transition="transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)",c.style.transformOrigin="center bottom",l===o?(c.style.transform="scale(2)",s.style.zIndex="100"):l===o-1||l===o+1?(c.style.transform="scale(1.25)",s.style.zIndex="50"):(c.style.transform="scale(1)",s.style.zIndex="1"))})},n=()=>{t.forEach(o=>{let s=o.querySelector(".nav-item__link");s&&(s.style.transform="scale(1)"),o.style.zIndex="",o.classList.remove("hover");let l=o.querySelector(".nav-item__tooltip");l&&gsap.to(l,{opacity:0,y:0,duration:.2,overwrite:!0})})};t.forEach((o,s)=>{o.style.position="relative";let l=o.querySelector(".nav-item__link");l&&(l.style.position="relative",l.style.zIndex="2");let c=o.querySelector(".nav-item__tooltip");c&&gsap.set(c,{position:"absolute",bottom:"100%",left:"50%",xPercent:-50,marginBottom:"-20px",opacity:0,pointerEvents:"none",display:"block"}),o.addEventListener("mouseenter",()=>{ao()||(r(s),o.classList.add("hover"),c&&gsap.to(c,{opacity:1,y:-55,duration:.3,ease:"power2.out",overwrite:!0}))}),o.addEventListener("mouseleave",()=>{ao()||c&&gsap.to(c,{opacity:0,y:0,duration:.2,overwrite:!0})})}),(e.querySelector(".nav-list")||e).addEventListener("mouseleave",()=>{ao()||n()})})}function gc(){if(typeof Swiper>"u"||mc().length===0)return;Vd(),pc();let e=Xd(pc,150);window.addEventListener("resize",e),Kd()}var pi=new Map,Ds=new Map,$d=991;function jd(){return window.innerWidth<=$d}function _c(a,e){let t=a.slides.length,n=((a.realIndex!==void 0?a.realIndex:a.activeIndex)+1)/t*100;e.style.width=n+"%",e.style.transition="width 0.3s ease"}function Qd(a){if(pi.has(a))return;let e=a.getAttribute("data-mobile-slides"),t=e?parseFloat(e):1,r=a.getAttribute("data-mobile-space"),n=r?parseFloat(r):16,i=a.parentElement,o=a.querySelector(".swiper-arrow.is-next"),s=a.querySelector(".swiper-arrow.is-prev");!o&&i&&(o=i.querySelector(".swiper-arrow.is-next")),!s&&i&&(s=i.querySelector(".swiper-arrow.is-prev"));let l=a.querySelector(".swiper-progress-track"),c=a.querySelector(".swiper-progress-thumb");!l&&i&&(l=i.querySelector(".swiper-progress-track")),!c&&i&&(c=i.querySelector(".swiper-progress-thumb"));let u=a.querySelectorAll(".swiper-slide"),f=a.querySelector(".swiper-wrapper"),p=new Map;if(f){let v=f.style.cssText,w=document.createElement("div");w.style.cssText=v,p.set(f,w.style),f.style.display="flex",f.style.flexDirection="row",f.style.gap="0",f.style.gridGap="0"}u.forEach(v=>{let w=v.style.cssText,E=document.createElement("div");E.style.cssText=w,p.set(v,E.style),v.style.width="",v.style.minWidth="0",v.style.maxWidth="none",v.style.flexBasis="auto",v.style.flexShrink="0",v.style.boxSizing="border-box",v.style.display="block"}),Ds.set(a,p);let d=a.getAttribute("data-tablet-slides"),m=d?parseFloat(d):t,h=a.getAttribute("data-desktop-slides"),g=h?parseFloat(h):4,b={slidesPerView:t,spaceBetween:n,loop:!1,freeMode:!1,watchOverflow:!0,breakpoints:{768:{slidesPerView:m,spaceBetween:n},992:{slidesPerView:g,spaceBetween:0}},navigation:{nextEl:o,prevEl:s},on:{init:function(){c&&_c(this,c)},slideChange:function(){c&&_c(this,c)}}},_=new Swiper(a,b);pi.set(a,_),l&&(l.hasAttribute("data-progress-listener")||(l.addEventListener("click",function(v){let w=pi.get(a);if(!w)return;let E=v,L=l.getBoundingClientRect(),T=E.clientX-L.left,A=L.width,M=T/A,x=w.slides.length,P=Math.floor(M*x);w.slideTo(P)}),l.setAttribute("data-progress-listener","true")))}function Zd(a){let e=pi.get(a);if(e){e.destroy(!0,!0),pi.delete(a);let t=Ds.get(a);t&&(t.forEach((r,n)=>{n.style.cssText=r.cssText}),Ds.delete(a))}}function vc(){return Array.from(document.querySelectorAll("[data-slider-mobile]"))}function yc(){let a=vc(),e=jd();a.forEach(t=>{let r=e;if(!e){let n=t.querySelector(".swiper-wrapper");n&&n.children.length>4&&(r=!0)}r?Qd(t):Zd(t)})}function Jd(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function bc(){if(typeof Swiper>"u"||vc().length===0)return;yc();let e=Jd(yc,150);window.addEventListener("resize",e)}function Ec(){if(typeof Swiper>"u")return;document.querySelectorAll(".swiper:not([data-slider-mobile]):not([data-slider-dock])").forEach(e=>{let t=e,r=t.getAttribute("data-mobile-slides"),n=r?parseFloat(r):1,i=t.parentElement,o=t.querySelector(".swiper-arrow.is-next"),s=t.querySelector(".swiper-arrow.is-prev");!o&&i&&(o=i.querySelector(".swiper-arrow.is-next")),!s&&i&&(s=i.querySelector(".swiper-arrow.is-prev"));let l=t.querySelector(".swiper-progress-track"),c=t.querySelector(".swiper-progress-thumb");!l&&i&&(l=i.querySelector(".swiper-progress-track")),!c&&i&&(c=i.querySelector(".swiper-progress-thumb"));let u={slidesPerView:n,spaceBetween:0,loop:!1,centeredSlides:!0,navigation:{nextEl:o,prevEl:s},breakpoints:{992:{slidesPerView:1,centeredSlides:!0}},on:{init:function(){setTimeout(()=>{hi(this),c&&wc(this,c)},50)},slideChange:function(){hi(this),c&&wc(this,c)},slideChangeTransitionStart:function(){hi(this)},slideChangeTransitionEnd:function(){hi(this)},transitionEnd:function(){hi(this)}}},f=new Swiper(t,u);if(l){let p=document.createElement("div");Object.assign(p.style,{position:"absolute",inset:"-12px 0",cursor:"pointer",zIndex:"1"}),l.style.position="relative",l.appendChild(p);let d=h=>{let g=l.getBoundingClientRect(),b=Math.max(0,Math.min(1,(h-g.left)/g.width)),_=f.slides.length;f.slideTo(Math.min(Math.floor(b*_),_-1))},m=!1;p.addEventListener("mousedown",h=>{m=!0,d(h.clientX)}),document.addEventListener("mousemove",h=>{m&&d(h.clientX)}),document.addEventListener("mouseup",()=>{m=!1}),p.addEventListener("touchstart",h=>{d(h.touches[0].clientX)},{passive:!0}),p.addEventListener("touchmove",h=>{d(h.touches[0].clientX)},{passive:!0})}})}function hi(a){a.slides.forEach(function(e,t){t===a.activeIndex||e.classList.contains("swiper-slide-active")?(e.style.transform="scale(1)",e.style.transition="transform 0.4s ease"):(e.style.transform="scale(0.9)",e.style.transition="transform 0.4s ease")})}function wc(a,e){let t=a.slides.length,n=(a.realIndex+1)/t*100;e.style.width=n+"%"}var xc="is-mobile-tabs",Is="mobile-tabs-wrapper",Rs=class{constructor(e){U(this,"container");U(this,"menu");U(this,"content");U(this,"tabPairs",[]);U(this,"isMobileLayout",!1);U(this,"originalContentParent",null);U(this,"handleResize",()=>{let e=window.innerWidth<=991;e&&!this.isMobileLayout?this.applyMobileLayout():!e&&this.isMobileLayout&&this.restoreDesktopLayout()});U(this,"preventWebflowClick",e=>{e.stopImmediatePropagation()});U(this,"handleMobileTabClick",e=>{let r=e.currentTarget.getAttribute("data-w-tab")?.trim();this.tabPairs.forEach(({pill:n,tabName:i})=>{let o=n.nextElementSibling;if(!o||!o.classList.contains(Is))return;let s=o.firstElementChild;s&&(i===r?(s.removeAttribute("hidden"),s.style.display="",o.classList.add("is-open")):(s.setAttribute("hidden","true"),s.style.display="none",o.classList.remove("is-open")))})});if(this.container=e,this.menu=e.querySelector(".w-tab-menu"),this.content=e.querySelector(".w-tab-content"),!this.menu||!this.content){console.error("[MobileTabs] Missing .w-tab-menu or .w-tab-content");return}this.originalContentParent=this.content.parentElement,this.collectTabPairs(),this.init()}collectTabPairs(){if(!this.menu||!this.content)return;let e=Array.from(this.menu.querySelectorAll("[data-w-tab]")),t=Array.from(this.content.querySelectorAll("[data-w-tab]"));e.forEach(r=>{let n=r.getAttribute("data-w-tab")?.trim();if(!n)return;let i=t.find(o=>o.getAttribute("data-w-tab")?.trim()===n);i&&this.tabPairs.push({pill:r,pane:i,tabName:n})})}init(){this.handleResize(),window.addEventListener("resize",this.handleResize.bind(this))}applyMobileLayout(){!this.menu||!this.content||(this.isMobileLayout=!0,this.container.classList.add(xc),this.content.style.display="none",this.tabPairs.forEach(({pill:e,pane:t},r)=>{let n=document.createElement("div");n.className=Is,n.appendChild(t),r===this.tabPairs.length-1?(t.removeAttribute("hidden"),t.style.display="",n.classList.add("is-open")):(t.setAttribute("hidden","true"),t.style.display="none",n.classList.remove("is-open")),e.insertAdjacentElement("afterend",n),e.addEventListener("click",this.preventWebflowClick,{capture:!0})}))}restoreDesktopLayout(){if(!this.menu||!this.content)return;this.isMobileLayout=!1,this.container.classList.remove(xc),this.tabPairs.forEach(({pill:t,pane:r})=>{t.removeEventListener("click",this.handleMobileTabClick),t.removeEventListener("click",this.preventWebflowClick,{capture:!0}),t.style.pointerEvents="",r.removeAttribute("hidden"),r.style.display="",this.content.appendChild(r)}),this.menu.querySelectorAll(`.${Is}`).forEach(t=>t.remove()),this.content.style.display=""}destroy(){this.restoreDesktopLayout(),window.removeEventListener("resize",this.handleResize)}};function Tc(){document.querySelectorAll("[data-tabs-mobile]").forEach(e=>{if(e.classList.contains("w-tabs")||e.querySelector(".w-tabs")){let t=e.classList.contains("w-tabs")?e:e.querySelector(".w-tabs");t&&new Rs(t)}})}var lo=class{constructor(e){U(this,"tablistNode");U(this,"tabs",[]);U(this,"firstTab",null);U(this,"lastTab",null);U(this,"tabpanels",[]);U(this,"pendingTimeouts",[]);this.tablistNode=e;let t=this.tablistNode.getAttribute("data-orientation")||"horizontal";this.tablistNode.setAttribute("aria-orientation",t),this.tabs=Array.from(this.tablistNode.querySelectorAll("[role=tab]")),this.tabs.forEach(n=>{let i=n.getAttribute("aria-controls");if(!i)return;let o=document.getElementById(i);n.tabIndex=n.getAttribute("aria-selected")==="true"?0:-1,o&&(o.setAttribute("role","tabpanel"),o.setAttribute("aria-labelledby",n.id),o.removeAttribute("tabindex"),this.tabpanels.push(o)),n.addEventListener("keydown",this.onKeydown.bind(this)),n.addEventListener("click",this.onClick.bind(this)),this.firstTab||(this.firstTab=n),this.lastTab=n});let r=this.tabs.find(n=>n.getAttribute("aria-selected")==="true")||this.firstTab;r&&(window.innerWidth<=991&&this.tablistNode.closest(".tabs_component")?this.setInitialMobileTab(r):this.setSelectedTab(r,!1))}setTabsContentHeight(){let e=this.tablistNode.closest(".tabs_component");if(!e)return;let t=e.querySelector(".tabs_component-content");if(!t)return;if(window.innerWidth<=991){t.style.minHeight="";return}let r=t.querySelectorAll(":scope > *");if(r.length===0)return;let n=0;r.forEach(i=>{let o=i,s=o.hasAttribute("hidden");s&&(o.style.visibility="hidden",o.style.display="block",o.style.position="absolute",o.removeAttribute("hidden")),n=Math.max(n,o.offsetHeight),s&&(o.setAttribute("hidden","true"),o.style.display="",o.style.position="",o.style.visibility="")}),t.style.minHeight=n+"px"}setInitialMobileTab(e){let t=e.getAttribute("aria-controls"),r=t?document.getElementById(t):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),r&&(r.classList.add("is-active-tab"),r.removeAttribute("hidden"),r.style.opacity="1",r.removeAttribute("style"))}setSelectedTab(e,t=!0){this.pendingTimeouts.forEach(s=>clearTimeout(s)),this.pendingTimeouts=[];let n=this.tablistNode.closest(".tabs_component")!==null;this.tabs.forEach(s=>{if(e===s)return;let l=s.getAttribute("aria-controls"),c=l?document.getElementById(l):null;s.setAttribute("aria-selected","false"),s.tabIndex=-1,s.classList.remove("is-active-tab"),c&&(c.classList.remove("is-active-tab"),c.setAttribute("hidden","true"),c.removeAttribute("style"))});let i=e.getAttribute("aria-controls"),o=i?document.getElementById(i):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),o&&(o.classList.add("is-active-tab"),o.removeAttribute("hidden"),n?(o.style.opacity="0",o.style.transition="opacity 0.2s ease-in-out",o.offsetWidth,this.pendingTimeouts.push(window.setTimeout(()=>{o.style.opacity="1"},10)),this.pendingTimeouts.push(window.setTimeout(()=>{o.removeAttribute("style")},250))):o.removeAttribute("style")),t&&e.focus({preventScroll:!0})}setSelectedToPreviousTab(e){if(e===this.firstTab&&this.lastTab)this.setSelectedTab(this.lastTab);else{let t=this.tabs.indexOf(e);this.setSelectedTab(this.tabs[t-1])}}setSelectedToNextTab(e){if(e===this.lastTab&&this.firstTab)this.setSelectedTab(this.firstTab);else{let t=this.tabs.indexOf(e);this.setSelectedTab(this.tabs[t+1])}}onKeydown(e){let t=e.currentTarget,r=!1,n=this.tablistNode.getAttribute("aria-orientation")||"horizontal";switch(e.key){case"ArrowLeft":n==="horizontal"&&(this.setSelectedToPreviousTab(t),r=!0);break;case"ArrowRight":n==="horizontal"&&(this.setSelectedToNextTab(t),r=!0);break;case"ArrowUp":n==="vertical"&&(this.setSelectedToPreviousTab(t),r=!0);break;case"ArrowDown":n==="vertical"&&(this.setSelectedToNextTab(t),r=!0);break;case"Home":this.firstTab&&(this.setSelectedTab(this.firstTab),r=!0);break;case"End":this.lastTab&&(this.setSelectedTab(this.lastTab),r=!0);break;case"Enter":case" ":this.setSelectedTab(t),r=!0;break;default:break}r&&(e.stopPropagation(),e.preventDefault())}onClick(e){this.setSelectedTab(e.currentTarget)}};function Sc(){document.querySelectorAll('[data-module="tabs"]').forEach(t=>{let r=t.querySelector('[role="tablist"]');if(r instanceof HTMLElement){if(t.hasAttribute("data-orientation")&&!r.hasAttribute("data-orientation")){let n=t.getAttribute("data-orientation");n&&r.setAttribute("data-orientation",n)}new lo(r)}}),document.querySelectorAll('[role="tablist"]').forEach(t=>{t instanceof HTMLElement&&!t.closest('[data-module="tabs"]')&&new lo(t)})}function Lc(){let e=document.querySelectorAll(".tabs_component-menu");if(e.length===0)return;let t=new Map;e.forEach(n=>{n.querySelectorAll("a[data-w-tab]").forEach(o=>{t.set(o,o.getAttribute("href")||"")})});function r(){let n=window.innerWidth<=991;t.forEach((i,o)=>{if(n){let s=o.getAttribute("data-w-tab");s&&o.setAttribute("href",`/branze/${s}`)}else o.setAttribute("href",i)})}r(),window.addEventListener("resize",r)}window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{Ns(),Ul(),Sc(),Lc(),Tc(),rc(),oc(),ac(),lc(),Ql(),Zl(),uc(),fc(),Ec(),bc(),gc(),jl(),Gl(),Jl(),$l(),Bl(),Wl(),zs(),Bs(),Fs(),zl(),Nl(),Vl(),Yl(),ec(),tc(),sc()});})();
|
|
276
276
|
/*! Bundled license information:
|
|
277
277
|
|
|
278
278
|
gsap/gsap-core.js:
|