vendor: 6,289 bytes, lines 1-8
1import{r as oi,j as z,L as bl}from"./index-6eheQYI7.js";function nr(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function Zo(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}/*! 2 * GSAP 3.14.2 3 * https://gsap.com 4 * 5 * @license Copyright 2008-2025, GreenSock. All rights reserved. 6 * Subject to the terms at https://gsap.com/standard-license 7 * @author: Jack Doyle, [email protected] 8*/var kt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},bi={duration:.5,overwrite:!1,delay:0},$s,Ie,le,At=1e8,ie=1/At,ms=Math.PI*2,wl=ms/4,Tl=0,Jo=Math.sqrt,kl=Math.cos,Sl=Math.sin,Ae=function(e){return typeof e=="string"},ge=function(e){return typeof e=="function"},fr=function(e){return typeof e=="number"},Xs=function(e){return typeof e>"u"},Zt=function(e){return typeof e=="object"},lt=function(e){return e!==!1},Us=function(){return typeof window<"u"},mn=function(e){return ge(e)||Ae(e)},ea=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},qe=Array.isArray,Cl=/random\([^)]+\)/g,Pl=/,\s*/g,po=/(?:-?\.?\d|\.)+/gi,ta=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,hi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ts=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ra=/[+-]=-?[.\d]+/,Ol=/[^,'"\[\]\s]+/gi,El=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ce,Gt,ys,Vs,St={},Yn={},ia,na=function(e){return(Yn=wi(e,St))&&ht},Ws=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},nn=function(e,r){return!r&&console.warn(e)},sa=function(e,r){return e&&(St[e]=r)&&Yn&&(Yn[e]=r)||St},sn=function(){return 0},Ml={suppressEvents:!0,isStart:!0,kill:!1},Mn={suppressEvents:!0,kill:!1},Rl={suppressEvents:!0},Gs={},kr=[],vs={},oa,yt={},rs={},go=30,Rn=[],Hs="",qs=function(e){var r=e[0],t,i;if(Zt(r)||ge(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(i=Rn.length;i--&&!Rn[i].targetTest(r););t=Rn[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Ma(e[i],t)))||e.splice(i,1);return e},Gr=function(e){return e._gsap||qs(Nt(e))[0]._gsap},aa=function(e,r,t){return(t=e[r])&&ge(t)?e[r]():Xs(t)&&e.getAttribute&&e.getAttribute(r)||t},ut=function(e,r){return(e=e.split(",")).forEach(r)||e},xe=function(e){return Math.round(e*1e5)/1e5||0},fe=function(e){return Math.round(e*1e7)/1e7||0},pi=function(e,r){var t=r.charAt(0),i=parseFloat(r.substr(2));return e=parseFloat(e),t==="+"?e+i:t==="-"?e-i:t==="*"?e*i:e/i},Dl=function(e,r){for(var t=r.length,i=0;e.indexOf(r[i])<0&&++i<t;);return i<t},Bn=function(){var e=kr.length,r=kr.slice(0),t,i;for(vs={},kr.length=0,t=0;t<e;t++)i=r[t],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},js=function(e){return!!(e._initted||e._startAt||e.add)},la=function(e,r,t,i){kr.length&&!Ie&&Bn(),e.render(r,t,!!(Ie&&r<0&&js(e))),kr.length&&!Ie&&Bn()},ua=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(Ol).length<2?r:Ae(e)?e.trim():e},fa=function(e){return e},Ct=function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},Al=function(e){return function(r,t){for(var i in t)i in r||i==="duration"&&e||i==="ease"||(r[i]=t[i])}},wi=function(e,r){for(var t in r)e[t]=r[t];return e},mo=function a(e,r){for(var t in r)t!=="__proto__"&&t!=="constructor"&&t!=="prototype"&&(e[t]=Zt(r[t])?a(e[t]||(e[t]={}),r[t]):r[t]);return e},$n=function(e,r){var t={},i;for(i in e)i in r||(t[i]=e[i]);return t},Vi=function(e){var r=e.parent||ce,t=e.keyframes?Al(qe(e.keyframes)):Ct;if(lt(e.inherit))for(;r;)t(e,r.vars.defaults),r=r.parent||r._dp;return e},Nl=function(e,r){for(var t=e.length,i=t===r.length;i&&t--&&e[t]===r[t];);return t<0},ca=function(e,r,t,i,n){var s=e[i],o;if(n)for(o=r[n];s&&s[n]>o;)s=s._prev;return s?(r._next=s._next,s._next=r):(r._next=e[t],e[t]=r),r._next?r._next._prev=r:e[i]=r,r._prev=s,r.parent=r._dp=e,r},Kn=function(e,r,t,i){t===void 0&&(t="_first"),i===void 0&&(i="_last");var n=r._prev,s=r._next;n?n._next=s:e[t]===r&&(e[t]=s),s?s._prev=n:e[i]===r&&(e[i]=n),r._next=r._prev=r.parent=null},Pr=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Hr=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var t=e;t;)t._dirty=1,t=t.parent;return e},zl=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},xs=function(e,r,t,i){return e._startAt&&(Ie?e._startAt.revert(Mn):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,i))},Fl=function a(e){return!e||e._ts&&a(e.parent)},yo=function(e){return e._repeat?Ti(e._tTime,e=e.duration()+e._rDelay)*e:0},Ti=function(e,r){var t=Math.floor(e=fe(e/r));return e&&t===e?t-1:t},Xn=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},Qn=function(e){return e._end=fe(e._start+(e._tDur/Math.abs(e._ts||e._rts||ie)||0))},Zn=function(e,r){var t=e._dp;return t&&t.smoothChildTiming&&e._ts&&(e._start=fe(t._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),Qn(e),t._dirty||Hr(t,e)),e},ha=function(e,r){var t;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(t=Xn(e.rawTime(),r),(!r._dur||_n(0,r.totalDuration(),t)-r._tTime>ie)&&r.render(t,!0)),Hr(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(t=e;t._dp;)t.rawTime()>=0&&t.totalTime(t._tTime),t=t._dp;e._zTime=-ie}},qt=function(e,r,t,i){return r.parent&&Pr(r),r._start=fe((fr(t)?t:t||e!==ce?Ot(e,t,r):e._time)+r._delay),r._end=fe(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),ca(e,r,"_first","_last",e._sort?"_start":0),bs(r)||(e._recent=r),i||ha(e,r),e._ts<0&&Zn(e,e._tTime),e},_a=function(e,r){return(St.ScrollTrigger||Ws("scrollTrigger",r))&&St.ScrollTrigger.create(r,e)},da=function(e,r,t,i,n){if(Qs(e,r,n),!e._initted)return 1;if(!t&&e._pt&&!Ie&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&oa!==xt.frame)return kr.push(e),e._lazy=[n,i],1},Ll=function a(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||a(r))},bs=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},Il=function(e,r,t,i){var n=e.ratio,s=r<0||!r&&(!e._start&&Ll(e)&&!(!e._initted&&bs(e))||(e._ts<0||e._dp._ts<0)&&!bs(e))?0:1,o=e._rDelay,l=0,u,f,_;if(o&&e._repeat&&(l=_n(0,e._tDur,r),f=Ti(l,o),e._yoyo&&f&1&&(s=1-s),f!==Ti(e._tTime,o)&&(n=1-s,e.vars.repeatRefresh&&e._initted&&e.invali
vendor: 5,281 bytes, line 8
8date())),s!==n||Ie||i||e._zTime===ie||!r&&e._zTime){if(!e._initted&&da(e,r,i,t,l))return;for(_=e._zTime,e._zTime=r||(t?ie:0),t||(t=r&&!_),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,u=e._pt;u;)u.r(s,u.d),u=u._next;r<0&&xs(e,r,t,!0),e._onUpdate&&!t&&wt(e,"onUpdate"),l&&e._repeat&&!t&&e.parent&&wt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===s&&(s&&Pr(e,1),!t&&!Ie&&(wt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},Yl=function(e,r,t){var i;if(t>r)for(i=e._first;i&&i._start<=t;){if(i.data==="isPause"&&i._start>r)return i;i=i._next}else for(i=e._last;i&&i._start>=t;){if(i.data==="isPause"&&i._start<r)return i;i=i._prev}},ki=function(e,r,t,i){var n=e._repeat,s=fe(r)||0,o=e._tTime/e._tDur;return o&&!i&&(e._time*=s/e._dur),e._dur=s,e._tDur=n?n<0?1e10:fe(s*(n+1)+e._rDelay*n):s,o>0&&!i&&Zn(e,e._tTime=e._tDur*o),e.parent&&Qn(e),t||Hr(e.parent,e),e},vo=function(e){return e instanceof nt?Hr(e):ki(e,e._dur)},Bl={_start:0,endTime:sn,totalDuration:sn},Ot=function a(e,r,t){var i=e.labels,n=e._recent||Bl,s=e.duration()>=At?n.endTime(!1):e._dur,o,l,u;return Ae(r)&&(isNaN(r)||r in i)?(l=r.charAt(0),u=r.substr(-1)==="%",o=r.indexOf("="),l==="<"||l===">"?(o>=0&&(r=r.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(r.substr(1))||0)*(u?(o<0?n:t).totalDuration()/100:1)):o<0?(r in i||(i[r]=s),i[r]):(l=parseFloat(r.charAt(o-1)+r.substr(o+1)),u&&t&&(l=l/100*(qe(t)?t[0]:t).totalDuration()),o>1?a(e,r.substr(0,o-1),t)+l:s+l)):r==null?s:+r},Wi=function(e,r,t){var i=fr(r[1]),n=(i?2:1)+(e<2?0:1),s=r[n],o,l;if(i&&(s.duration=r[1]),s.parent=t,e){for(o=s,l=t;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=lt(l.vars.inherit)&&l.parent;s.immediateRender=lt(o.immediateRender),e<2?s.runBackwards=1:s.startAt=r[n-1]}return new Se(r[0],s,r[n+1])},Rr=function(e,r){return e||e===0?r(e):r},_n=function(e,r,t){return t<e?e:t>r?r:t},Ge=function(e,r){return!Ae(e)||!(r=El.exec(e))?"":r[1]},$l=function(e,r,t){return Rr(t,function(i){return _n(e,r,i)})},ws=[].slice,pa=function(e,r){return e&&Zt(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&Zt(e[0]))&&!e.nodeType&&e!==Gt},Xl=function(e,r,t){return t===void 0&&(t=[]),e.forEach(function(i){var n;return Ae(i)&&!r||pa(i,1)?(n=t).push.apply(n,Nt(i)):t.push(i)})||t},Nt=function(e,r,t){return le&&!r&&le.selector?le.selector(e):Ae(e)&&!t&&(ys||!Si())?ws.call((r||Vs).querySelectorAll(e),0):qe(e)?Xl(e,t):pa(e)?ws.call(e,0):e?[e]:[]},Ts=function(e){return e=Nt(e)[0]||nn("Invalid scope")||{},function(r){var t=e.current||e.nativeElement||e;return Nt(r,t.querySelectorAll?t:t===e?nn("Invalid scope")||Vs.createElement("div"):e)}},ga=function(e){return e.sort(function(){return .5-Math.random()})},ma=function(e){if(ge(e))return e;var r=Zt(e)?e:{each:e},t=qr(r.ease),i=r.from||0,n=parseFloat(r.base)||0,s={},o=i>0&&i<1,l=isNaN(i)||o,u=r.axis,f=i,_=i;return Ae(i)?f=_={center:.5,edges:.5,end:1}[i]||0:!o&&l&&(f=i[0],_=i[1]),function(d,c,p){var h=(p||r).length,m=s[h],w,b,k,v,T,C,x,O,S;if(!m){if(S=r.grid==="auto"?0:(r.grid||[1,At])[1],!S){for(x=-At;x<(x=p[S++].getBoundingClientRect().left)&&S<h;);S<h&&S--}for(m=s[h]=[],w=l?Math.min(S,h)*f-.5:i%S,b=S===At?0:l?h*_/S-.5:i/S|0,x=0,O=At,C=0;C<h;C++)k=C%S-w,v=b-(C/S|0),m[C]=T=u?Math.abs(u==="y"?v:k):Jo(k*k+v*v),T>x&&(x=T),T<O&&(O=T);i==="random"&&ga(m),m.max=x-O,m.min=O,m.v=h=(parseFloat(r.amount)||parseFloat(r.each)*(S>h?h-1:u?u==="y"?h/S:S:Math.max(S,h/S))||0)*(i==="edges"?-1:1),m.b=h<0?n-h:n,m.u=Ge(r.amount||r.each)||0,t=t&&h<0?Pa(t):t}return h=(m[d]-m.min)/m.max||0,fe(m.b+(t?t(h):h)*m.v)+m.u}},ks=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(t){var i=fe(Math.round(parseFloat(t)/e)*e*r);return(i-i%1)/r+(fr(t)?0:Ge(t))}},ya=function(e,r){var t=qe(e),i,n;return!t&&Zt(e)&&(i=t=e.radius||At,e.values?(e=Nt(e.values),(n=!fr(e[0]))&&(i*=i)):e=ks(e.increment)),Rr(r,t?ge(e)?function(s){return n=e(s),Math.abs(n-s)<=i?n:s}:function(s){for(var o=parseFloat(n?s.x:s),l=parseFloat(n?s.y:0),u=At,f=0,_=e.length,d,c;_--;)n?(d=e[_].x-o,c=e[_].y-l,d=d*d+c*c):d=Math.abs(e[_]-o),d<u&&(u=d,f=_);return f=!i||u<=i?e[f]:s,n||f===s||fr(s)?f:f+Ge(s)}:ks(e))},va=function(e,r,t,i){return Rr(qe(e)?!r:t===!0?!!(t=0):!i,function(){return qe(e)?e[~~(Math.random()*e.length)]:(t=t||1e-5)&&(i=t<1?Math.pow(10,(t+"").length-2):1)&&Math.floor(Math.round((e-t/2+Math.random()*(r-e+t*.99))/t)*t*i)/i})},Ul=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(i){return r.reduce(function(n,s){return s(n)},i)}},Vl=function(e,r){return function(t){return e(parseFloat(t))+(r||Ge(t))}},Wl=function(e,r,t){return ba(e,r,0,1,t)},xa=function(e,r,t){return Rr(t,function(i){return e[~~r(i)]})},Gl=function a(e,r,t){var i=r-e;return qe(e)?xa(e,a(0,e.length),r):Rr(t,function(n){return(i+(n-e)%i)%i+e})},Hl=function a(e,r,t){var i=r-e,n=i*2;return qe(e)?xa(e,a(0,e.length-1),r):Rr(t,function(s){return s=(n+(s-e)%n)%n||0,e+(s>i?n-s:s)})},on=function(e){return e.replace(Cl,function(r){var t=r.indexOf("[")+1,i=r.substring(t||7,t?r.indexOf("]"):r.length-1).split(Pl);return va(t?i:+i[0],t?0:+i[1],+i[2]||1e-5)})},ba=function(e,r,t,i,n){var s=r-e,o=i-t;return Rr(n,function(l){return t+((l-e)/s*o||0)})},ql=function a(e,r,t,i){var n=isNaN(e+r)?0:function(c){return(1-c)*e+c*r};
vendor: 4,222 bytes, line 8
8if(!n){var s=Ae(e),o={},l,u,f,_,d;if(t===!0&&(i=1)&&(t=null),s)e={p:e},r={p:r};else if(qe(e)&&!qe(r)){for(f=[],_=e.length,d=_-2,u=1;u<_;u++)f.push(a(e[u-1],e[u]));_--,n=function(p){p*=_;var h=Math.min(d,~~p);return f[h](p-h)},t=r}else i||(e=wi(qe(e)?[]:{},e));if(!f){for(l in r)Ks.call(o,e,l,"get",r[l]);n=function(p){return eo(p,o)||(s?e.p:e)}}}return Rr(t,n)},xo=function(e,r,t){var i=e.labels,n=At,s,o,l;for(s in i)o=i[s]-r,o<0==!!t&&o&&n>(o=Math.abs(o))&&(l=s,n=o);return l},wt=function(e,r,t){var i=e.vars,n=i[r],s=le,o=e._ctx,l,u,f;if(n)return l=i[r+"Params"],u=i.callbackScope||e,t&&kr.length&&Bn(),o&&(le=o),f=l?n.apply(u,l):n.call(u),le=s,f},Li=function(e){return Pr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ie),e.progress()<1&&wt(e,"onInterrupt"),e},_i,wa=[],Ta=function(e){if(e)if(e=!e.name&&e.default||e,Us()||e.headless){var r=e.name,t=ge(e),i=r&&!t&&e.init?function(){this._props=[]}:e,n={init:sn,render:eo,add:Ks,kill:fu,modifier:uu,rawVars:0},s={targetTest:0,get:0,getSetter:Js,aliases:{},register:0};if(Si(),e!==i){if(yt[r])return;Ct(i,Ct($n(e,n),s)),wi(i.prototype,wi(n,$n(e,s))),yt[i.prop=r]=i,e.targetTest&&(Rn.push(i),Gs[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}sa(r,i),e.register&&e.register(ht,i,ft)}else wa.push(e)},re=255,Ii={aqua:[0,re,re],lime:[0,re,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,re],navy:[0,0,128],white:[re,re,re],olive:[128,128,0],yellow:[re,re,0],orange:[re,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[re,0,0],pink:[re,192,203],cyan:[0,re,re],transparent:[re,re,re,0]},is=function(e,r,t){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(t-r)*e*6:e<.5?t:e*3<2?r+(t-r)*(2/3-e)*6:r)*re+.5|0},ka=function(e,r,t){var i=e?fr(e)?[e>>16,e>>8&re,e&re]:0:Ii.black,n,s,o,l,u,f,_,d,c,p;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Ii[e])i=Ii[e];else if(e.charAt(0)==="#"){if(e.length<6&&(n=e.charAt(1),s=e.charAt(2),o=e.charAt(3),e="#"+n+n+s+s+o+o+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&re,i&re,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&re,e&re]}else if(e.substr(0,3)==="hsl"){if(i=p=e.match(po),!r)l=+i[0]%360/360,u=+i[1]/100,f=+i[2]/100,s=f<=.5?f*(u+1):f+u-f*u,n=f*2-s,i.length>3&&(i[3]*=1),i[0]=is(l+1/3,n,s),i[1]=is(l,n,s),i[2]=is(l-1/3,n,s);else if(~e.indexOf("="))return i=e.match(ta),t&&i.length<4&&(i[3]=1),i}else i=e.match(po)||Ii.transparent;i=i.map(Number)}return r&&!p&&(n=i[0]/re,s=i[1]/re,o=i[2]/re,_=Math.max(n,s,o),d=Math.min(n,s,o),f=(_+d)/2,_===d?l=u=0:(c=_-d,u=f>.5?c/(2-_-d):c/(_+d),l=_===n?(s-o)/c+(s<o?6:0):_===s?(o-n)/c+2:(n-s)/c+4,l*=60),i[0]=~~(l+.5),i[1]=~~(u*100+.5),i[2]=~~(f*100+.5)),t&&i.length<4&&(i[3]=1),i},Sa=function(e){var r=[],t=[],i=-1;return e.split(Sr).forEach(function(n){var s=n.match(hi)||[];r.push.apply(r,s),t.push(i+=s.length+1)}),r.c=t,r},bo=function(e,r,t){var i="",n=(e+i).match(Sr),s=r?"hsla(":"rgba(",o=0,l,u,f,_;if(!n)return e;if(n=n.map(function(d){return(d=ka(d,r,1))&&s+(r?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),t&&(f=Sa(e),l=t.c,l.join(i)!==f.c.join(i)))for(u=e.replace(Sr,"1").split(hi),_=u.length-1;o<_;o++)i+=u[o]+(~l.indexOf(o)?n.shift()||s+"0,0,0,0)":(f.length?f:n.length?n:t).shift());if(!u)for(u=e.split(Sr),_=u.length-1;o<_;o++)i+=u[o]+n[o];return i+u[_]},Sr=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Ii)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),jl=/hsl[a]?\(/,Ca=function(e){var r=e.join(" "),t;if(Sr.lastIndex=0,Sr.test(r))return t=jl.test(r),e[1]=bo(e[1],t),e[0]=bo(e[0],t,Sa(e[1])),!0},an,xt=function(){var a=Date.now,e=500,r=33,t=a(),i=t,n=1e3/240,s=n,o=[],l,u,f,_,d,c,p=function h(m){var w=a()-i,b=m===!0,k,v,T,C;if((w>e||w<0)&&(t+=w-r),i+=w,T=i-t,k=T-s,(k>0||b)&&(C=++_.frame,d=T-_.time*1e3,_.time=T=T/1e3,s+=k+(k>=n?4:n-k),v=1),b||(l=u(h)),v)for(c=0;c<o.length;c++)o[c](T,d,C,m)};return _={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(m){return d/(1e3/(m||60))},wake:function(){ia&&(!ys&&Us()&&(Gt=ys=window,Vs=Gt.document||{},St.gsap=ht,(Gt.gsapVersions||(Gt.gsapVersions=[])).push(ht.version),na(Yn||Gt.GreenSockGlobals||!Gt.gsap&&Gt||{}
vendor: 7,164 bytes, line 8
8),wa.forEach(Ta)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&_.sleep(),u=f||function(m){return setTimeout(m,s-_.time*1e3+1|0)},an=1,p(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(l),an=0,u=sn},lagSmoothing:function(m,w){e=m||1/0,r=Math.min(w||33,e)},fps:function(m){n=1e3/(m||240),s=_.time*1e3+n},add:function(m,w,b){var k=w?function(v,T,C,x){m(v,T,C,x),_.remove(k)}:m;return _.remove(m),o[b?"unshift":"push"](k),Si(),k},remove:function(m,w){~(w=o.indexOf(m))&&o.splice(w,1)&&c>=w&&c--},_listeners:o},_}(),Si=function(){return!an&&xt.wake()},j={},Kl=/^[\d.\-M][\d.\-,\s]/,Ql=/["']/g,Zl=function(e){for(var r={},t=e.substr(1,e.length-3).split(":"),i=t[0],n=1,s=t.length,o,l,u;n<s;n++)l=t[n],o=n!==s-1?l.lastIndexOf(","):l.length,u=l.substr(0,o),r[i]=isNaN(u)?u.replace(Ql,"").trim():+u,i=l.substr(o+1).trim();return r},Jl=function(e){var r=e.indexOf("(")+1,t=e.indexOf(")"),i=e.indexOf("(",r);return e.substring(r,~i&&i<t?e.indexOf(")",t+1):t)},eu=function(e){var r=(e+"").split("("),t=j[r[0]];return t&&r.length>1&&t.config?t.config.apply(null,~e.indexOf("{")?[Zl(r[1])]:Jl(e).split(",").map(ua)):j._CE&&Kl.test(e)?j._CE("",e):t},Pa=function(e){return function(r){return 1-e(1-r)}},Oa=function a(e,r){for(var t=e._first,i;t;)t instanceof nt?a(t,r):t.vars.yoyoEase&&(!t._yoyo||!t._repeat)&&t._yoyo!==r&&(t.timeline?a(t.timeline,r):(i=t._ease,t._ease=t._yEase,t._yEase=i,t._yoyo=r)),t=t._next},qr=function(e,r){return e&&(ge(e)?e:j[e]||eu(e))||r},ri=function(e,r,t,i){t===void 0&&(t=function(l){return 1-r(1-l)}),i===void 0&&(i=function(l){return l<.5?r(l*2)/2:1-r((1-l)*2)/2});var n={easeIn:r,easeOut:t,easeInOut:i},s;return ut(e,function(o){j[o]=St[o]=n,j[s=o.toLowerCase()]=t;for(var l in n)j[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=j[o+"."+l]=n[l]}),n},Ea=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},ns=function a(e,r,t){var i=r>=1?r:1,n=(t||(e?.3:.45))/(r<1?r:1),s=n/ms*(Math.asin(1/i)||0),o=function(f){return f===1?1:i*Math.pow(2,-10*f)*Sl((f-s)*n)+1},l=e==="out"?o:e==="in"?function(u){return 1-o(1-u)}:Ea(o);return n=ms/n,l.config=function(u,f){return a(e,u,f)},l},ss=function a(e,r){r===void 0&&(r=1.70158);var t=function(s){return s?--s*s*((r+1)*s+r)+1:0},i=e==="out"?t:e==="in"?function(n){return 1-t(1-n)}:Ea(t);return i.config=function(n){return a(e,n)},i};ut("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var r=e<5?e+1:e;ri(a+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(t*2,r)/2:1-Math.pow((1-t)*2,r)/2})});j.Linear.easeNone=j.none=j.Linear.easeIn;ri("Elastic",ns("in"),ns("out"),ns());(function(a,e){var r=1/e,t=2*r,i=2.5*r,n=function(o){return o<r?a*o*o:o<t?a*Math.pow(o-1.5/e,2)+.75:o<i?a*(o-=2.25/e)*o+.9375:a*Math.pow(o-2.625/e,2)+.984375};ri("Bounce",function(s){return 1-n(1-s)},n)})(7.5625,2.75);ri("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});ri("Circ",function(a){return-(Jo(1-a*a)-1)});ri("Sine",function(a){return a===1?1:-kl(a*wl)+1});ri("Back",ss("in"),ss("out"),ss());j.SteppedEase=j.steps=St.SteppedEase={config:function(e,r){e===void 0&&(e=1);var t=1/e,i=e+(r?0:1),n=r?1:0,s=1-ie;return function(o){return((i*_n(0,s,o)|0)+n)*t}}};bi.ease=j["quad.out"];ut("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return Hs+=a+","+a+"Params,"});var Ma=function(e,r){this.id=Tl++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:aa,this.set=r?r.getSetter:Js},ln=function(){function a(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,ki(this,+r.duration,1,1),this.data=r.data,le&&(this._ctx=le,le.data.push(this)),an||xt.wake()}var e=a.prototype;return e.delay=function(t){return t||t===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,ki(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,i){if(Si(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Zn(this,t),!n._dp||n.parent||ha(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&qt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===ie||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),la(this,t,i)),this},e.time=function(t,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+yo(this))%(this._dur+this._rDelay)||(t?this._dur:0),i):this._time},e.totalProgress=function(t,i){return arguments.length?this.totalTime(this.totalDuration()*t,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-t:t)+yo(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,i):this._repeat?Ti(this._tTime,n)+1:1},e.timeScale=function(t,i){if(!arguments.length)return this._rts===-ie?0:this._rts;if(this._rts===t)return this;var n=this.parent&&this._ts?Xn(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-ie?0:this._rts,this.totalTime(_n(-Math.abs(this._delay),this.totalDuration(),n),i!==!1),Qn(this),zl(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Si(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ie&&(this._tTime-=ie)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=fe(t);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&qt(i,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(lt(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var i=this.parent||this._dp;return i?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Xn(i.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){t===void 0&&(t=Rl);var i=Ie;return Ie=t,js(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),this.data!=="nested"&&t.kill!==!1&&this.kill(),Ie=i,this},e.globalTime=function(t){for(var i=this,n=arguments.length?t:i.rawTime();i;
vendor: 9,113 bytes, line 8
8)n=i._start+n/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(t):n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,vo(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var i=this._time;return this._rDelay=t,vo(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,i){return this.totalTime(Ot(this,t),lt(i))},e.restart=function(t,i){return this.play().totalTime(t?-this._delay:0,lt(i)),this._dur||(this._zTime=-ie),this},e.play=function(t,i){return t!=null&&this.seek(t,i),this.reversed(!1).paused(!1)},e.reverse=function(t,i){return t!=null&&this.seek(t||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(t,i){return t!=null&&this.seek(t,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-ie:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ie,this},e.isActive=function(){var t=this.parent||this._dp,i=this._start,n;return!!(!t||this._ts&&this._initted&&t.isActive()&&(n=t.rawTime(!0))>=i&&n<this.endTime(!0)-ie)},e.eventCallback=function(t,i,n){var s=this.vars;return arguments.length>1?(i?(s[t]=i,n&&(s[t+"Params"]=n),t==="onUpdate"&&(this._onUpdate=i)):delete s[t],this):s[t]},e.then=function(t){var i=this,n=i._prom;return new Promise(function(s){var o=ge(t)?t:fa,l=function(){var f=i.then;i.then=null,n&&n(),ge(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=f),s(o),i.then=f};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?l():i._prom=l})},e.kill=function(){Li(this)},a}();Ct(ln.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:-ie,_prom:0,_ps:!1,_rts:1});var nt=function(a){Zo(e,a);function e(t,i){var n;return t===void 0&&(t={}),n=a.call(this,t)||this,n.labels={},n.smoothChildTiming=!!t.smoothChildTiming,n.autoRemoveChildren=!!t.autoRemoveChildren,n._sort=lt(t.sortChildren),ce&&qt(t.parent||ce,nr(n),i),t.reversed&&n.reverse(),t.paused&&n.paused(!0),t.scrollTrigger&&_a(nr(n),t.scrollTrigger),n}var r=e.prototype;return r.to=function(i,n,s){return Wi(0,arguments,this),this},r.from=function(i,n,s){return Wi(1,arguments,this),this},r.fromTo=function(i,n,s,o){return Wi(2,arguments,this),this},r.set=function(i,n,s){return n.duration=0,n.parent=this,Vi(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new Se(i,n,Ot(this,s),1),this},r.call=function(i,n,s){return qt(this,Se.delayedCall(0,i,n),s)},r.staggerTo=function(i,n,s,o,l,u,f){return s.duration=n,s.stagger=s.stagger||o,s.onComplete=u,s.onCompleteParams=f,s.parent=this,new Se(i,s,Ot(this,l)),this},r.staggerFrom=function(i,n,s,o,l,u,f){return s.runBackwards=1,Vi(s).immediateRender=lt(s.immediateRender),this.staggerTo(i,n,s,o,l,u,f)},r.staggerFromTo=function(i,n,s,o,l,u,f,_){return o.startAt=s,Vi(o).immediateRender=lt(o.immediateRender),this.staggerTo(i,n,o,l,u,f,_)},r.render=function(i,n,s){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,f=i<=0?0:fe(i),_=this._zTime<0!=i<0&&(this._initted||!u),d,c,p,h,m,w,b,k,v,T,C,x;if(this!==ce&&f>l&&i>=0&&(f=l),f!==this._tTime||s||_){if(o!==this._time&&u&&(f+=this._time-o,i+=this._time-o),d=f,v=this._start,k=this._ts,w=!k,_&&(u||(o=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(C=this._yoyo,m=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(m*100+i,n,s);if(d=fe(f%m),f===l?(h=this._repeat,d=u):(T=fe(f/m),h=~~T,h&&h===T&&(d=u,h--),d>u&&(d=u)),T=Ti(this._tTime,m),!o&&this._tTime&&T!==h&&this._tTime-T*m-this._dur<=0&&(T=h),C&&h&1&&(d=u-d,x=1),h!==T&&!this._lock){var O=C&&T&1,S=O===(C&&h&1);if(h<T&&(O=!O),o=O?0:f%u?u:f,this._lock=1,this.render(o||(x?0:fe(h*m)),n,!u)._lock=0,this._tTime=f,!n&&this.parent&&wt(this,"onRepeat"),this.vars.repeatRefresh&&!x&&(this.invalidate()._lock=1,T=h),o&&o!==this._time||w!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,S&&(this._lock=2,o=O?u:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!x&&this.invalidate()),this._lock=0,!this._ts&&!w)return this;Oa(this,x)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(b=Yl(this,fe(o),fe(d)),b&&(f-=d-(d=b._start))),this._tTime=f,this._time=d,this._act=!k,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,o=0),!o&&f&&u&&!n&&!T&&(wt(this,"onStart"),this._tTime!==f))return this;if(d>=o&&i>=0)for(c=this._first;c;){if(p=c._next,(c._act||d>=c._start)&&c._ts&&b!==c){if(c.parent!==this)return this.render(i,n,s);if(c.render(c._ts>0?(d-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(d-c._start)*c._ts,n,s),d!==this._time||!this._ts&&!w){b=0,p&&(f+=this._zTime=-ie);break}}c=p}else{c=this._last;for(var P=i<0?i:d;c;){if(p=c._prev,(c._act||P<=c._end)&&c._ts&&b!==c){if(c.parent!==this)return this.render(i,n,s);if(c.render(c._ts>0?(P-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(P-c._start)*c._ts,n,s||Ie&&js(c)),d!==this._time||!this._ts&&!w){b=0,p&&(f+=this._zTime=P?-ie:ie);break}}c=p}}if(b&&!n&&(this.pause(),b.render(d>=o?0:-ie)._zTime=d>=o?1:-1,this._ts))return this._start=v,Qn(this),this.render(i,n,s);this._onUpdate&&!n&&wt(this,"onUpdate",!0),(f===l&&this._tTime>=this.totalDuration()||!f&&o)&&(v===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(f===l&&this._ts>0||!f&&this._ts<0)&&Pr(this,1),!n&&!(i<0&&!o)&&(f||o||!l)&&(wt(this,f===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(i,n){var s=this;if(fr(n)||(n=Ot(this,n,i)),!(i instanceof ln)){if(qe(i))return i.forEach(function(o){return s.add(o,n)}),this;if(Ae(i))return this.addLabel(i,n);if(ge(i))i=Se.delayedCall(0,i);else return this}return this!==i?qt(this,i,n):this},r.getChildren=function(i,n,s,o){i===void 0&&(i=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=-At);for(var l=[],u=this._first;u;)u._start>=o&&(u instanceof Se?n&&l.push(u):(s&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,n,s)))),u=u._next;return l},r.getById=function(i){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===i)return n[s]},r.remove=function(i){return Ae(i)?this.removeLabel(i):ge(i)?this.killTweensOf(i):(i.parent===this&&Kn(this,i),i===this._recent&&(this._recent=this._last),Hr(this))},r.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=fe(xt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),a.prototype.totalTime.call(this,i,n),this._forcing=0,this):this._tTime},r.addLabel=function(i,n){return this.labels[i]=Ot(this,n),this},r.removeLabel=function(i){return delete this.labels[i],this},r.addPause=function(i,n,s){var o=Se.delayedCall(0,n||sn,s);return o.data="isPause",this._hasPause=1,qt(this,o,Ot(this,i))},r.removePause=function(i){var n=this._first;for(i=Ot(this,i);n;)n._start===i&&n.data==="isPause"&&Pr(n),n=n._next},r.killTweensOf=function(i,n,s){for(var o=this.getTweensOf(i,s),l=o.length;l--;)vr!==o[l]&&o[l].kill(i,n);return this},r.getTweensOf=function(i,n){for(var s=[],o=Nt(i),l=this._first,u=fr(n),f;l;)l instanceof Se?Dl(l._targets,o)&&(u?(!vr||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&s.push(l):(f=l.getTweensOf(o,n)).length&&s.push.apply(s,f),l=l._next;return s},r.tweenTo=function(i,n){n=n||{};var s=this,o=Ot(s,i),l=n,u=l.startAt,f=l.onStart,_=l.onStartParams,d=l.immediateRender,c,p=Se.to(s,Ct({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:n.duration||Math.abs((o-(u&&"time"in u?u.time:s._time))/s.timeScale())||ie,onStart:function(){if(s.pause(),!c){var m=n.duration||Math.abs((o-(u&&"time"in u?u.time:s._time))/s.timeScale());p._dur!==m&&ki(p,m,0,1).render(p._time,!0,!0),c=1}f&&f.apply(p,_||[])}},n));return d?p.render(0):p},r.tweenFromTo=function(i,n,s){return this.tweenTo(n,Ct({startAt:{time:Ot(this,i)}},s))},r.recent=function(){return this._recent},r.nextLabel=function(i){return i===void 0&&(i=this._time),xo(this,Ot(this,i))},r.previousLabel=function(i){return i===void 0&&(i=this._time),xo(this,Ot(this,i),1)},r.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+ie)},r.shiftChildren=function(i,n,s){s===void 0&&(s=0);var o=this._first,l=this.labels,u;for(i=fe(i);o;)o._start>=s&&(o._start+=i,o._end+=i),o=o._next;if(n)for(u in l)l[u]>=s&&(l[u]+=i);return Hr(this)},r.invalidate=function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return a.prototype.invalidate.call(this,i)},r.clear=function(i){i===void 0&&(i=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Hr(this)},r.totalDuration=function(i){var n=0,s=this,o=s._last,l=At,u,f,_;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(_=s.parent;o;
vendor: 5,713 bytes, line 8
8)u=o._prev,o._dirty&&o.totalDuration(),f=o._start,f>l&&s._sort&&o._ts&&!s._lock?(s._lock=1,qt(s,o,f-o._delay,1)._lock=0):l=f,f<0&&o._ts&&(n-=f,(!_&&!s._dp||_&&_.smoothChildTiming)&&(s._start+=fe(f/s._ts),s._time-=f,s._tTime-=f),s.shiftChildren(-f,!1,-1/0),l=0),o._end>n&&o._ts&&(n=o._end),o=u;ki(s,s===ce&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(i){if(ce._ts&&(la(ce,Xn(i,ce)),oa=xt.frame),xt.frame>=go){go+=kt.autoSleep||120;var n=ce._first;if((!n||!n._ts)&&kt.autoSleep&&xt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||xt.sleep()}}},e}(ln);Ct(nt.prototype,{_lock:0,_hasPause:0,_forcing:0});var tu=function(e,r,t,i,n,s,o){var l=new ft(this._pt,e,r,0,1,Fa,null,n),u=0,f=0,_,d,c,p,h,m,w,b;for(l.b=t,l.e=i,t+="",i+="",(w=~i.indexOf("random("))&&(i=on(i)),s&&(b=[t,i],s(b,e,r),t=b[0],i=b[1]),d=t.match(ts)||[];_=ts.exec(i);)p=_[0],h=i.substring(u,_.index),c?c=(c+1)%5:h.substr(-5)==="rgba("&&(c=1),p!==d[f++]&&(m=parseFloat(d[f-1])||0,l._pt={_next:l._pt,p:h||f===1?h:",",s:m,c:p.charAt(1)==="="?pi(m,p)-m:parseFloat(p)-m,m:c&&c<4?Math.round:0},u=ts.lastIndex);return l.c=u<i.length?i.substring(u,i.length):"",l.fp=o,(ra.test(i)||w)&&(l.e=0),this._pt=l,l},Ks=function(e,r,t,i,n,s,o,l,u,f){ge(i)&&(i=i(n||0,e,s));var _=e[r],d=t!=="get"?t:ge(_)?u?e[r.indexOf("set")||!ge(e["get"+r.substr(3)])?r:"get"+r.substr(3)](u):e[r]():_,c=ge(_)?u?ou:Na:Zs,p;if(Ae(i)&&(~i.indexOf("random(")&&(i=on(i)),i.charAt(1)==="="&&(p=pi(d,i)+(Ge(d)||0),(p||p===0)&&(i=p))),!f||d!==i||Ss)return!isNaN(d*i)&&i!==""?(p=new ft(this._pt,e,r,+d||0,i-(d||0),typeof _=="boolean"?lu:za,0,c),u&&(p.fp=u),o&&p.modifier(o,this,e),this._pt=p):(!_&&!(r in e)&&Ws(r,i),tu.call(this,e,r,d,i,c,l||kt.stringFilter,u))},ru=function(e,r,t,i,n){if(ge(e)&&(e=Gi(e,n,r,t,i)),!Zt(e)||e.style&&e.nodeType||qe(e)||ea(e))return Ae(e)?Gi(e,n,r,t,i):e;var s={},o;for(o in e)s[o]=Gi(e[o],n,r,t,i);return s},Ra=function(e,r,t,i,n,s){var o,l,u,f;if(yt[e]&&(o=new yt[e]).init(n,o.rawVars?r[e]:ru(r[e],i,n,s,t),t,i,s)!==!1&&(t._pt=l=new ft(t._pt,n,e,0,1,o.render,o,0,o.priority),t!==_i))for(u=t._ptLookup[t._targets.indexOf(n)],f=o._props.length;f--;)u[o._props[f]]=l;return o},vr,Ss,Qs=function a(e,r,t){var i=e.vars,n=i.ease,s=i.startAt,o=i.immediateRender,l=i.lazy,u=i.onUpdate,f=i.runBackwards,_=i.yoyoEase,d=i.keyframes,c=i.autoRevert,p=e._dur,h=e._startAt,m=e._targets,w=e.parent,b=w&&w.data==="nested"?w.vars.targets:m,k=e._overwrite==="auto"&&!$s,v=e.timeline,T,C,x,O,S,P,F,E,G,U,K,H,N;if(v&&(!d||!n)&&(n="none"),e._ease=qr(n,bi.ease),e._yEase=_?Pa(qr(_===!0?n:_,bi.ease)):0,_&&e._yoyo&&!e._repeat&&(_=e._yEase,e._yEase=e._ease,e._ease=_),e._from=!v&&!!i.runBackwards,!v||d&&!i.stagger){if(E=m[0]?Gr(m[0]).harness:0,H=E&&i[E.prop],T=$n(i,Gs),h&&(h._zTime<0&&h.progress(1),r<0&&f&&o&&!c?h.render(-1,!0):h.revert(f&&p?Mn:Ml),h._lazy=0),s){if(Pr(e._startAt=Se.set(m,Ct({data:"isStart",overwrite:!1,parent:w,immediateRender:!0,lazy:!h&<(l),startAt:null,delay:0,onUpdate:u&&function(){return wt(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(Ie||!o&&!c)&&e._startAt.revert(Mn),o&&p&&r<=0&&t<=0){r&&(e._zTime=r);return}}else if(f&&p&&!h){if(r&&(o=!1),x=Ct({overwrite:!1,data:"isFromStart",lazy:o&&!h&<(l),immediateRender:o,stagger:0,parent:w},T),H&&(x[E.prop]=H),Pr(e._startAt=Se.set(m,x)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(Ie?e._startAt.revert(Mn):e._startAt.render(-1,!0)),e._zTime=r,!o)a(e._startAt,ie,ie);else if(!r)return}for(e._pt=e._ptCache=0,l=p&<(l)||l&&!p,C=0;C<m.length;C++){if(S=m[C],F=S._gsap||qs(m)[C]._gsap,e._ptLookup[C]=U={},vs[F.id]&&kr.length&&Bn(),K=b===m?C:b.indexOf(S),E&&(G=new E).init(S,H||T,e,K,b)!==!1&&(e._pt=O=new ft(e._pt,S,G.name,0,1,G.render,G,0,G.priority),G._props.forEach(function(Z){U[Z]=O}),G.priority&&(P=1)),!E||H)for(x in T)yt[x]&&(G=Ra(x,T,e,K,S,b))?G.priority&&(P=1):U[x]=O=Ks.call(e,S,x,"get",T[x],K,b,0,i.stringFilter);e._op&&e._op[C]&&e.kill(S,e._op[C]),k&&e._pt&&(vr=e,ce.killTweensOf(S,U,e.globalTime(r)),N=!e.parent,vr=0),e._pt&&l&&(vs[F.id]=1)}P&&La(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!N,d&&r<=0&&v.render(At,!0,!0)},iu=function(e,r,t,i,n,s,o,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[r],f,_,d,c;if(!u)for(u=e._ptCache[r]=[],d=e._ptLookup,c=e._targets.length;c--;){if(f=d[c][r],f&&f.d&&f.d._pt)for(f=f.d._pt;f&&f.p!==r&&f.fp!==r;)f=f._next;if(!f)return Ss=1,e.vars[r]="+=0",Qs(e,o),Ss=0,l?nn(r+" not eligible for reset"):1;u.push(f)}for(c=u.length;c--;)_=u[c],f=_._pt||_,f.s=(i||i===0)&&!n?i:f.s+(i||0)+s*f.c,f.c=t-f.s,_.e&&(_.e=xe(t)+Ge(_.e)),_.b&&(_.b=f.s+Ge(_.b))},nu=function(e,r){var t=e[0]?Gr(e[0]).harness:0,i=t&&t.aliases,n,s,o,l;if(!i)return r;n=wi({},r);for(s in i)if(s in n)for(l=i[s].split(","),o=l.length;o--;)n[l[o]]=n[s];return n},su=function(e,r,t,i){var n=r.ease||i||"power1.inOut",s,o;if(qe(r))o=t[e]||(t[e]=[]),r.forEach(function(l,u){return o.push({t:u/(r.length-1)*100,v:l,e:n})});else for(s in r)o=t[s]||(t[s]=[]),s==="ease"||o.push({t:parseFloat(e),v:r[s],e:n})},Gi=function(e,r,t,i,n){return ge(e)?e.call(r,t,i,n):Ae(e)&&~e.indexOf("random(")?on(e):e},Da=Hs+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Aa={};ut(Da+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return Aa[a]=1});var Se=function(a){Zo(e,a);function e(t,i,n,s){var o;typeof i=="number"&&(n.duration=i,i=n,n=null),o=a.call(this,s?i:Vi(i))||this;var l=o.vars,u=l.duration,f=l.delay,_=l.immediateRender,d=l.stagger,c=l.overwrite,p=l.keyframes,h=l.defaults,m=l.scrollTrigger,w=l.yoyoEase,b=i.parent||ce,k=(qe(t)||ea(t)?fr(t[0]):"length"in i)?[t]:Nt(t),v,T,C,x,O,S,P,F;if(o._targets=k.length?qs(k):nn("GSAP target "+t+" not found. https://gsap.com",!kt.nullTargetWarn)||[],o._ptLookup=[],o._over
vendor: 4,282 bytes, line 8
8write=c,p||d||mn(u)||mn(f)){if(i=o.vars,v=o.timeline=new nt({data:"nested",defaults:h||{},targets:b&&b.data==="nested"?b.vars.targets:k}),v.kill(),v.parent=v._dp=nr(o),v._start=0,d||mn(u)||mn(f)){if(x=k.length,P=d&&ma(d),Zt(d))for(O in d)~Da.indexOf(O)&&(F||(F={}),F[O]=d[O]);for(T=0;T<x;T++)C=$n(i,Aa),C.stagger=0,w&&(C.yoyoEase=w),F&&wi(C,F),S=k[T],C.duration=+Gi(u,nr(o),T,S,k),C.delay=(+Gi(f,nr(o),T,S,k)||0)-o._delay,!d&&x===1&&C.delay&&(o._delay=f=C.delay,o._start+=f,C.delay=0),v.to(S,C,P?P(T,S,k):0),v._ease=j.none;v.duration()?u=f=0:o.timeline=0}else if(p){Vi(Ct(v.vars.defaults,{ease:"none"})),v._ease=qr(p.ease||i.ease||"none");var E=0,G,U,K;if(qe(p))p.forEach(function(H){return v.to(k,H,">")}),v.duration();else{C={};for(O in p)O==="ease"||O==="easeEach"||su(O,p[O],C,p.easeEach);for(O in C)for(G=C[O].sort(function(H,N){return H.t-N.t}),E=0,T=0;T<G.length;T++)U=G[T],K={ease:U.e,duration:(U.t-(T?G[T-1].t:0))/100*u},K[O]=U.v,v.to(k,K,E),E+=K.duration;v.duration()<u&&v.to({},{duration:u-v.duration()})}}u||o.duration(u=v.duration())}else o.timeline=0;return c===!0&&!$s&&(vr=nr(o),ce.killTweensOf(k),vr=0),qt(b,nr(o),n),i.reversed&&o.reverse(),i.paused&&o.paused(!0),(_||!u&&!p&&o._start===fe(b._time)&<(_)&&Fl(nr(o))&&b.data!=="nested")&&(o._tTime=-ie,o.render(Math.max(0,-f)||0)),m&&_a(nr(o),m),o}var r=e.prototype;return r.render=function(i,n,s){var o=this._time,l=this._tDur,u=this._dur,f=i<0,_=i>l-ie&&!f?l:i<ie?0:i,d,c,p,h,m,w,b,k,v;if(!u)Il(this,i,n,s);else if(_!==this._tTime||!i||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f||this._lazy){if(d=_,k=this.timeline,this._repeat){if(h=u+this._rDelay,this._repeat<-1&&f)return this.totalTime(h*100+i,n,s);if(d=fe(_%h),_===l?(p=this._repeat,d=u):(m=fe(_/h),p=~~m,p&&p===m?(d=u,p--):d>u&&(d=u)),w=this._yoyo&&p&1,w&&(v=this._yEase,d=u-d),m=Ti(this._tTime,h),d===o&&!s&&this._initted&&p===m)return this._tTime=_,this;p!==m&&(k&&this._yEase&&Oa(k,w),this.vars.repeatRefresh&&!w&&!this._lock&&d!==h&&this._initted&&(this._lock=s=1,this.render(fe(h*p),!0).invalidate()._lock=0))}if(!this._initted){if(da(this,f?i:d,s,n,_))return this._tTime=0,this;if(o!==this._time&&!(s&&this.vars.repeatRefresh&&p!==m))return this;if(u!==this._dur)return this.render(i,n,s)}if(this._tTime=_,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=b=(v||this._ease)(d/u),this._from&&(this.ratio=b=1-b),!o&&_&&!n&&!m&&(wt(this,"onStart"),this._tTime!==_))return this;for(c=this._pt;c;)c.r(b,c.d),c=c._next;k&&k.render(i<0?i:k._dur*k._ease(d/this._dur),n,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!n&&(f&&xs(this,i,n,s),wt(this,"onUpdate")),this._repeat&&p!==m&&this.vars.onRepeat&&!n&&this.parent&&wt(this,"onRepeat"),(_===this._tDur||!_)&&this._tTime===_&&(f&&!this._onUpdate&&xs(this,i,!0,!0),(i||!u)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&Pr(this,1),!n&&!(f&&!o)&&(_||o||w)&&(wt(this,_===l?"onComplete":"onReverseComplete",!0),this._prom&&!(_<l&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),a.prototype.invalidate.call(this,i)},r.resetTo=function(i,n,s,o,l){an||xt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||Qs(this,u),f=this._ease(u/this._dur),iu(this,i,n,s,o,f,u,l)?this.resetTo(i,n,s,o,1):(Zn(this,0),this.parent||ca(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(i,n){if(n===void 0&&(n="all"),!i&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?Li(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Ie),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,vr&&vr.vars.overwrite!==!0)._first||Li(this),this.parent&&s!==this.timeline.totalDuration()&&ki(this,this._dur*this.timeline._tDur/s,0,1),this}var o=this._targets,l=i?Nt(i):o,u=this._ptLookup,f=this._pt,_,d,c,p,h,m,w;if((!n||n==="all")&&Nl(o,l))return n==="all"&&(this._pt=0),Li(this);for(_=this._op=this._op||[],n!=="all"&&(Ae(n)&&(h={},ut(n,function(b){return h[b]=1}),n=h),n=nu(o,n)),w=o.length;w--;
vendor: 5,329 bytes, line 8
8)if(~l.indexOf(o[w])){d=u[w],n==="all"?(_[w]=n,p=d,c={}):(c=_[w]=_[w]||{},p=n);for(h in p)m=d&&d[h],m&&((!("kill"in m.d)||m.d.kill(h)===!0)&&Kn(this,m,"_pt"),delete d[h]),c!=="all"&&(c[h]=1)}return this._initted&&!this._pt&&f&&Li(this),this},e.to=function(i,n){return new e(i,n,arguments[2])},e.from=function(i,n){return Wi(1,arguments)},e.delayedCall=function(i,n,s,o){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:o})},e.fromTo=function(i,n,s){return Wi(2,arguments)},e.set=function(i,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(i,n)},e.killTweensOf=function(i,n,s){return ce.killTweensOf(i,n,s)},e}(ln);Ct(Se.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});ut("staggerTo,staggerFrom,staggerFromTo",function(a){Se[a]=function(){var e=new nt,r=ws.call(arguments,0);return r.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,r)}});var Zs=function(e,r,t){return e[r]=t},Na=function(e,r,t){return e[r](t)},ou=function(e,r,t,i){return e[r](i.fp,t)},au=function(e,r,t){return e.setAttribute(r,t)},Js=function(e,r){return ge(e[r])?Na:Xs(e[r])&&e.setAttribute?au:Zs},za=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},lu=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},Fa=function(e,r){var t=r._pt,i="";if(!e&&r.b)i=r.b;else if(e===1&&r.e)i=r.e;else{for(;t;)i=t.p+(t.m?t.m(t.s+t.c*e):Math.round((t.s+t.c*e)*1e4)/1e4)+i,t=t._next;i+=r.c}r.set(r.t,r.p,i,r)},eo=function(e,r){for(var t=r._pt;t;)t.r(e,t.d),t=t._next},uu=function(e,r,t,i){for(var n=this._pt,s;n;)s=n._next,n.p===i&&n.modifier(e,r,t),n=s},fu=function(e){for(var r=this._pt,t,i;r;)i=r._next,r.p===e&&!r.op||r.op===e?Kn(this,r,"_pt"):r.dep||(t=1),r=i;return!t},cu=function(e,r,t,i){i.mSet(e,r,i.m.call(i.tween,t,i.mt),i)},La=function(e){for(var r=e._pt,t,i,n,s;r;){for(t=r._next,i=n;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:s)?r._prev._next=r:n=r,(r._next=i)?i._prev=r:s=r,r=t}e._pt=n},ft=function(){function a(r,t,i,n,s,o,l,u,f){this.t=t,this.s=n,this.c=s,this.p=i,this.r=o||za,this.d=l||this,this.set=u||Zs,this.pr=f||0,this._next=r,r&&(r._prev=this)}var e=a.prototype;return e.modifier=function(t,i,n){this.mSet=this.mSet||this.set,this.set=cu,this.m=t,this.mt=n,this.tween=i},a}();ut(Hs+"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 Gs[a]=1});St.TweenMax=St.TweenLite=Se;St.TimelineLite=St.TimelineMax=nt;ce=new nt({sortChildren:!1,defaults:bi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});kt.stringFilter=Ca;var jr=[],Dn={},hu=[],wo=0,_u=0,os=function(e){return(Dn[e]||hu).map(function(r){return r()})},Cs=function(){var e=Date.now(),r=[];e-wo>2&&(os("matchMediaInit"),jr.forEach(function(t){var i=t.queries,n=t.conditions,s,o,l,u;for(o in i)s=Gt.matchMedia(i[o]).matches,s&&(l=1),s!==n[o]&&(n[o]=s,u=1);u&&(t.revert(),l&&r.push(t))}),os("matchMediaRevert"),r.forEach(function(t){return t.onMatch(t,function(i){return t.add(null,i)})}),wo=e,os("matchMedia"))},Ia=function(){function a(r,t){this.selector=t&&Ts(t),this.data=[],this._r=[],this.isReverted=!1,this.id=_u++,r&&this.add(r)}var e=a.prototype;return e.add=function(t,i,n){ge(t)&&(n=i,i=t,t=ge);var s=this,o=function(){var u=le,f=s.selector,_;return u&&u!==s&&u.data.push(s),n&&(s.selector=Ts(n)),le=s,_=i.apply(s,arguments),ge(_)&&s._r.push(_),le=u,s.selector=f,s.isReverted=!1,_};return s.last=o,t===ge?o(s,function(l){return s.add(null,l)}):t?s[t]=o:o},e.ignore=function(t){var i=le;le=null,t(this),le=i},e.getTweens=function(){var t=[];return this.data.forEach(function(i){return i instanceof a?t.push.apply(t,i.getTweens()):i instanceof Se&&!(i.parent&&i.parent.data==="nested")&&t.push(i)}),t},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,i){var n=this;if(t?function(){for(var o=n.getTweens(),l=n.data.length,u;l--;)u=n.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(f){return o.splice(o.indexOf(f),1)}));for(o.map(function(f){return{g:f._dur||f._delay||f._sat&&!f._sat.vars.immediateRender?f.globalTime(0):-1/0,t:f}}).sort(function(f,_){return _.g-f.g||-1/0}).forEach(function(f){return f.t.revert(t)}),l=n.data.length;l--;)u=n.data[l],u instanceof nt?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Se)&&u.revert&&u.revert(t);n._r.forEach(function(f){return f(t,n)}),n.isReverted=!0}():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),i)for(var s=jr.length;s--;)jr[s].id===this.id&&jr.splice(s,1)},e.revert=function(t){this.kill(t||{})},a}(),du=function(){function a(r){this.contexts=[],this.scope=r,le&&le.data.push(this)}var e=a.prototype;return e.add=function(t,i,n){Zt(t)||(t={matches:t});var s=new Ia(0,n||this.scope),o=s.conditions={},l,u,f;le&&!s.selector&&(s.selector=le.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=t;for(u in t)u==="all"?f=1:(l=Gt.matchMedia(t[u]),l&&(jr.indexOf(s)<0&&jr.push(s),(o[u]=l.matches)&&(f=1),l.addListener?l.addListener(Cs):l.addEventListener("change",Cs)));return f&&i(s,function(_){return s.add(null,_)}),this},e.revert=function(t){this.kill(t||{})}
vendor: 12,915 bytes, lines 8-15
8,e.kill=function(t){this.contexts.forEach(function(i){return i.kill(t,!0)})},a}(),Un={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];r.forEach(function(i){return Ta(i)})},timeline:function(e){return new nt(e)},getTweensOf:function(e,r){return ce.getTweensOf(e,r)},getProperty:function(e,r,t,i){Ae(e)&&(e=Nt(e)[0]);var n=Gr(e||{}).get,s=t?fa:ua;return t==="native"&&(t=""),e&&(r?s((yt[r]&&yt[r].get||n)(e,r,t,i)):function(o,l,u){return s((yt[o]&&yt[o].get||n)(e,o,l,u))})},quickSetter:function(e,r,t){if(e=Nt(e),e.length>1){var i=e.map(function(f){return ht.quickSetter(f,r,t)}),n=i.length;return function(f){for(var _=n;_--;)i[_](f)}}e=e[0]||{};var s=yt[r],o=Gr(e),l=o.harness&&(o.harness.aliases||{})[r]||r,u=s?function(f){var _=new s;_i._pt=0,_.init(e,t?f+t:f,_i,0,[e]),_.render(1,_),_i._pt&&eo(1,_i)}:o.set(e,l);return s?u:function(f){return u(e,l,t?f+t:f,o,1)}},quickTo:function(e,r,t){var i,n=ht.to(e,Ct((i={},i[r]="+=0.1",i.paused=!0,i.stagger=0,i),t||{})),s=function(l,u,f){return n.resetTo(r,l,u,f)};return s.tween=n,s},isTweening:function(e){return ce.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=qr(e.ease,bi.ease)),mo(bi,e||{})},config:function(e){return mo(kt,e||{})},registerEffect:function(e){var r=e.name,t=e.effect,i=e.plugins,n=e.defaults,s=e.extendTimeline;(i||"").split(",").forEach(function(o){return o&&!yt[o]&&!St[o]&&nn(r+" effect requires "+o+" plugin.")}),rs[r]=function(o,l,u){return t(Nt(o),Ct(l||{},n),u)},s&&(nt.prototype[r]=function(o,l,u){return this.add(rs[r](o,Zt(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,r){j[e]=qr(r)},parseEase:function(e,r){return arguments.length?qr(e,r):j},getById:function(e){return ce.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var t=new nt(e),i,n;for(t.smoothChildTiming=lt(e.smoothChildTiming),ce.remove(t),t._dp=0,t._time=t._tTime=ce._time,i=ce._first;i;)n=i._next,(r||!(!i._dur&&i instanceof Se&&i.vars.onComplete===i._targets[0]))&&qt(t,i,i._start-i._delay),i=n;return qt(ce,t,0),t},context:function(e,r){return e?new Ia(e,r):le},matchMedia:function(e){return new du(e)},matchMediaRefresh:function(){return jr.forEach(function(e){var r=e.conditions,t,i;for(i in r)r[i]&&(r[i]=!1,t=1);t&&e.revert()})||Cs()},addEventListener:function(e,r){var t=Dn[e]||(Dn[e]=[]);~t.indexOf(r)||t.push(r)},removeEventListener:function(e,r){var t=Dn[e],i=t&&t.indexOf(r);i>=0&&t.splice(i,1)},utils:{wrap:Gl,wrapYoyo:Hl,distribute:ma,random:va,snap:ya,normalize:Wl,getUnit:Ge,clamp:$l,splitColor:ka,toArray:Nt,selector:Ts,mapRange:ba,pipe:Ul,unitize:Vl,interpolate:ql,shuffle:ga},install:na,effects:rs,ticker:xt,updateRoot:nt.updateRoot,plugins:yt,globalTimeline:ce,core:{PropTween:ft,globals:sa,Tween:Se,Timeline:nt,Animation:ln,getCache:Gr,_removeLinkedListItem:Kn,reverting:function(){return Ie},context:function(e){return e&&le&&(le.data.push(e),e._ctx=le),le},suppressOverwrites:function(e){return $s=e}}};ut("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return Un[a]=Se[a]});xt.add(nt.updateRoot);_i=Un.to({},{duration:0});var pu=function(e,r){for(var t=e._pt;t&&t.p!==r&&t.op!==r&&t.fp!==r;)t=t._next;return t},gu=function(e,r){var t=e._targets,i,n,s;for(i in r)for(n=t.length;n--;)s=e._ptLookup[n][i],s&&(s=s.d)&&(s._pt&&(s=pu(s,i)),s&&s.modifier&&s.modifier(r[i],e,t[n],i))},as=function(e,r){return{name:e,headless:1,rawVars:1,init:function(i,n,s){s._onInit=function(o){var l,u;if(Ae(n)&&(l={},ut(n,function(f){return l[f]=1}),n=l),r){l={};for(u in n)l[u]=r(n[u]);n=l}gu(o,n)}}}},ht=Un.registerPlugin({name:"attr",init:function(e,r,t,i,n){var s,o,l;this.tween=t;for(s in r)l=e.getAttribute(s)||"",o=this.add(e,"setAttribute",(l||0)+"",r[s],i,n,0,0,s),o.op=s,o.b=l,this._props.push(s)},render:function(e,r){for(var t=r._pt;t;)Ie?t.set(t.t,t.p,t.b,t):t.r(e,t.d),t=t._next}},{name:"endArray",headless:1,init:function(e,r){for(var t=r.length;t--;)this.add(e,t,e[t]||0,r[t],0,0,0,0,0,1)}},as("roundProps",ks),as("modifiers"),as("snap",ya))||Un;Se.version=nt.version=ht.version="3.14.2";ia=1;Us()&&Si();j.Power0;j.Power1;j.Power2;j.Power3;j.Power4;j.Linear;j.Quad;j.Cubic;j.Quart;j.Quint;j.Strong;j.Elastic;j.Back;j.SteppedEase;j.Bounce;j.Sine;j.Expo;j.Circ;/*! 9 * CSSPlugin 3.14.2 10 * https://gsap.com 11 * 12 * Copyright 2008-2025, GreenSock. All rights reserved. 13 * Subject to the terms at https://gsap.com/standard-license 14 * @author: Jack Doyle, [email protected] 15*/var To,xr,gi,to,Vr,ko,ro,mu=function(){return typeof window<"u"},cr={},Br=180/Math.PI,mi=Math.PI/180,ai=Math.atan2,So=1e8,io=/([A-Z])/g,yu=/(left|right|width|margin|padding|x)/i,vu=/[\s,\(]\S/,jt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ps=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},xu=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},bu=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},wu=function(e,r){return r.set(r.t,r.p,e===1?r.e:e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},Tu=function(e,r){var t=r.s+r.c*e;r.set(r.t,r.p,~~(t+(t<0?-.5:.5))+r.u,r)},Ya=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},Ba=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},ku=function(e,r,t){return e.style[r]=t},Su=function(e,r,t){return e.style.setProperty(r,t)},Cu=function(e,r,t){return e._gsap[r]=t},Pu=function(e,r,t){return e._gsap.scaleX=e._gsap.scaleY=t},Ou=function(e,r,t,i,n){var s=e._gsap;s.scaleX=s.scaleY=t,s.renderTransform(n,s)},Eu=function(e,r,t,i,n){var s=e._gsap;s[r]=t,s.renderTransform(n,s)},he="transform",ct=he+"Origin",Mu=function a(e,r){var t=this,i=this.target,n=i.style,s=i._gsap;if(e in cr&&n){if(this.tfm=this.tfm||{},e!=="transform")e=jt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return t.tfm[o]=sr(i,o)}):this.tfm[e]=s.x?s[e]:sr(i,e),e===ct&&(this.tfm.zOrigin=s.zOrigin);else return jt.transform.split(",").forEach(function(o){return a.call(t,o,r)});if(this.props.indexOf(he)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(ct,r,"")),e=he}(n||r)&&this.props.push(e,r,n[e])},$a=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Ru=function(){var e=this.props,r=this.target,t=r.style,i=r._gsap,n,s;for(n=0;n<e.length;n+=3)e[n+1]?e[n+1]===2?r[e[n]](e[n+2]):r[e[n]]=e[n+2]:e[n+2]?t[e[n]]=e[n+2]:t.removeProperty(e[n].substr(0,2)==="--"?e[n]:e[n].replace(io,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)i[s]=this.tfm[s];i.svg&&(i.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),n=ro(),(!n||!n.isStart)&&!t[he]&&($a(t),i.zOrigin&&t[ct]&&(t[ct]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},Xa=function(e,r){var t={target:e,props:[],revert:Ru,save:Mu};return e._gsap||ht.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(i){return t.save(i)}),t},Ua,Os=function(e,r){var t=xr.createElementNS?xr.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):xr.createElement(e);return t&&t.style?t:xr.createElement(e)},Tt=function a(e,r,t){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(io,"-$1").toLowerCase())||i.getPropertyValue(r)||!t&&a(e,Ci(r)||r,1)||""},Co="O,Moz,ms,Ms,Webkit".split(","),Ci=function(e,r,t){var i=r||Vr,n=i.style,s=5;if(e in n&&!t)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Co[s]+e in n););return s<0?null:(s===3?"ms":s>=0?Co[s]:"")+e},Es=function(){mu()&&window.document&&(To=window,xr=To.document,gi=xr.documentElement,Vr=Os("div")||{style:{}},Os("div"),he=Ci(he),ct=he+"Origin",Vr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ua=!!Ci("perspective"),ro=ht.core.reverting,to=1)},Po=function(e){var r=e.ownerSVGElement,t=Os("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),n;i.style.display="block",t.appendChild(i),gi.appendChild(t);try{n=i.getBBox()}catch{}return t.removeChild(i),gi.removeChild(t),n},Oo=function(e,r){for(var t=r.length;t--;)if(e.hasAttribute(r[t]))return e.getAttribute(r[t])},Va=function(e){var r,t;try{r=e.getBBox()}catch{r=Po(e),t=1}return r&&(r.width||r.height)||t||(r=Po(e)),r&&!r.width&&!r.x&&!r.y?{x:+Oo(e,["x","cx","x1"])||0,y:+Oo(e,["y","cy","y1"])||0,width:0,height:0}:r},Wa=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Va(e))},Or=function(e,r){if(r){var t=e.style,i;r in cr&&r!==ct&&(r=he),t.removeProperty?(i=r.substr(0,2),(i==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),t.removeProperty(i==="--"?r:r.replace(io,"-$1").toLowerCase())):t.removeAttribute(r)}},br=function(e,r,t,i,n,s){var o=new ft(e._pt,r,t,0,1,s?Ba:Ya);return e._pt=o,o.b=i,o.e=n,e._props.push(t),o},Eo={deg:1,rad:1,turn:1},Du={grid:1,flex:1},Er=function a(e,r,t,i){var n=parseFloat(t)||0,s=(t+"").trim().substr((n+"").length)||"px",o=Vr.style,l=yu.test(r),u=e.tagName.toLowerCase()==="svg",f=(u?"client":"offset")+(l?"Width":"Height"),_=100,d=i==="px",c=i==="%",p,h,m,w;if(i===s||!n||Eo[i]||Eo[s])return n;if(s!=="px"&&!d&&(n=a(e,r,t,"px")),w=e.getCTM&&Wa(e),(c||s==="%")&&(cr[r]||~r.indexOf("adius")))return p=w?e.getBBox()[l?"width":"height"]:e[f],xe(c?n/p*_:n/100*p);if(o[l?"width":"height"]=_+(d?s:i),h=i!=="rem"&&~r.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,w&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===xr||!h.appendChild)&&(h=xr.body),m=h._gsap,m&&c&&m.width&&l&&m.time===xt.time&&!m.uncache)return xe(n/m.width*_);if(c&&(r==="height"||r==="width")){var b=e.style[r];e.style[r]=_+i,p=e[f],b?e.style[r]=b:Or(e,r)}else(c||s==="%")&&!Du[Tt(h,"display")]&&(o.position=Tt(e,"position")),h===e&&(o.position="static"),h.appendChild(Vr),p=Vr[f],h.removeChild(Vr),o.position="absolute";return l&&c&&(m=Gr(h),m.time=xt.time,m.width=h[f]),xe(d?p*n/_:p&&n?_/p*n:0)},sr=function(e,r,t,i){var n;return to||Es(),r in jt&&r!=="transform"&&(r=jt[r],~r.indexOf(",")&&(r=r.split(",")[0])),cr[r]&&r!=="transform"?(n=fn(e,i),n=r!=="transformOrigin"?n[r]:n.svg?n.origin:Wn(Tt(e,ct))+" "+n.zOrigin+"px"):(n=e.style[r],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=Vn[r]&&Vn[r](e,r,t)||Tt(e,r)||aa(e,r)||(r==="opacity"?1:0))),t&&!~(n+"").trim().indexOf(" ")?Er(e,r,n,t)+t:n},Au=function(e,r,t,i){if(!t||t==="none"){var n=Ci(r,e,1),s=n&&Tt(e,n,1);s&&s!==t?(r=n,t=s):r==="borderColor"&&(t=Tt(e,"borderTopColor"))}var o=new ft(this._pt,e.style,r,0,1,Fa),l=0,u=0,f,_,d,c,p,h,m,w,b,k,v,T;if(o.b=t,o.e=i,t+="",i+="",i.substring(0,6)==="var(--"&&(i=Tt(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(h=e.style[r],e.style[r]=i,i=Tt(e,r)||i,h?e.style[r]=h:Or(e,r)),f=[t,i],Ca(f),t=f[0],i=f[1],d=t.match(hi)||[],T=i.match(hi)||[],T.length){for(;_=hi.exec(i);)m=_[0],b=i.substring(l,_.index),p?p=(p+1)%5:(b.substr(-5)==="rgba("||b.substr(-5)==="hsla(")&&(p=1),m!==(h=d[u++]||"")&&(c=parseFloat(h)||0,v=h.substr((c+"").length),m.charAt(1)==="="&&(m=pi(c,m)+v),w=parseFloat(m),k=m.substr((w+"").length),l=hi.lastIndex-k.length,k||(k=k||kt.units[r]||v,l===i.length&&(i+=k,o.e+=k)),v!==k&&(c=Er(e,r,h,k)||0),o._pt={_next:o._pt,p:b||u===1?b:",",s:c,c:w-c,m:p&&p<4||r==="zIndex"?Math.round:0});o.c=l<i.length?i.substring(l,i.length):""}else o.r=r==="display"&&i==="none"?Ba:Ya;return ra.test(i)&&(o.e=0),this._pt=o,o},Mo={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Nu=function(e){var r=e.split(" "),t=r[0],i=r[1]||"50%";return(t==="top"||t==="bottom"||i==="left"||i==="right")&&(e=t,t=i,i=e),r[0]=Mo[t]||t,r[1]=Mo[i]||i,r.join(" ")},zu=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var t=r.t,i=t.style,n=r.u,s=t._gsap,o,l,u;if(n==="all"||n===!0)i.cssText="",l=1;else for(n=n.split(","),u=n.length;--u>-1;)o=n[u],cr[o]&&(l=1,o=o==="transformOrigin"?ct:he),Or(t,o);l&&(Or(t,he),s&&(s.svg&&t.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",fn(t,1),s.uncache=1,$a(i)))}},Vn={clearProps:function(e,r,t,i,n){if(n.data!=="isFromStart"){var s=e._pt=new ft(e._pt,r,t,0,0,zu);return s.u=i,s.pr=-10,s.tween=n,e._props.push(t),1}}},un=[1,0,0,1,0,0],Ga={},Ha=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Ro=function(e){var r=Tt(e,he);return Ha(r)?un:r.substr(7).match(ta).map(xe)},no=function(e,r){var t=e._gsap||Gr(e),i=e.style,n=Ro(e),s,o,l,u;return t.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?un:n):(n===un&&!e.offsetParent&&e!==gi&&!t.svg&&(l=i.display,i.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,o=e.nextElementSibling,gi.appendChild(e)),n=Ro(e),l?i.display=l:Or(e,"display"),u&&(o?s.insertBefore(e,o):s?s.appendChild(e):gi.removeChild(e))),r&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Ms=function(e,r,t,i,n,s){var o=e._gsap,l=n||no(e,!0),u=o.xOrigin||0,f=o.yOrigin||0,_=o.xOffset||0,d=o.yOffset||0,c=l[0],p=l[1],h=l[2],m=l[3],w=l[4],b=l[5],k=r.split(" "),v=parseFloat(k[0])||0,T=parseFloat(k[1])||0,C,x,O,S;
vendor: 6,228 bytes, line 15
15t?l!==un&&(x=c*m-p*h)&&(O=v*(m/x)+T*(-h/x)+(h*b-m*w)/x,S=v*(-p/x)+T*(c/x)-(c*b-p*w)/x,v=O,T=S):(C=Va(e),v=C.x+(~k[0].indexOf("%")?v/100*C.width:v),T=C.y+(~(k[1]||k[0]).indexOf("%")?T/100*C.height:T)),i||i!==!1&&o.smooth?(w=v-u,b=T-f,o.xOffset=_+(w*c+b*h)-w,o.yOffset=d+(w*p+b*m)-b):o.xOffset=o.yOffset=0,o.xOrigin=v,o.yOrigin=T,o.smooth=!!i,o.origin=r,o.originIsAbsolute=!!t,e.style[ct]="0px 0px",s&&(br(s,o,"xOrigin",u,v),br(s,o,"yOrigin",f,T),br(s,o,"xOffset",_,o.xOffset),br(s,o,"yOffset",d,o.yOffset)),e.setAttribute("data-svg-origin",v+" "+T)},fn=function(e,r){var t=e._gsap||new Ma(e);if("x"in t&&!r&&!t.uncache)return t;var i=e.style,n=t.scaleX<0,s="px",o="deg",l=getComputedStyle(e),u=Tt(e,ct)||"0",f,_,d,c,p,h,m,w,b,k,v,T,C,x,O,S,P,F,E,G,U,K,H,N,Z,se,g,oe,je,Ft,_e,Ne;return f=_=d=h=m=w=b=k=v=0,c=p=1,t.svg=!!(e.getCTM&&Wa(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[he]=(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[he]!=="none"?l[he]:"")),i.scale=i.rotate=i.translate="none"),x=no(e,t.svg),t.svg&&(t.uncache?(Z=e.getBBox(),u=t.xOrigin-Z.x+"px "+(t.yOrigin-Z.y)+"px",N=""):N=!r&&e.getAttribute("data-svg-origin"),Ms(e,N||u,!!N||t.originIsAbsolute,t.smooth!==!1,x)),T=t.xOrigin||0,C=t.yOrigin||0,x!==un&&(F=x[0],E=x[1],G=x[2],U=x[3],f=K=x[4],_=H=x[5],x.length===6?(c=Math.sqrt(F*F+E*E),p=Math.sqrt(U*U+G*G),h=F||E?ai(E,F)*Br:0,b=G||U?ai(G,U)*Br+h:0,b&&(p*=Math.abs(Math.cos(b*mi))),t.svg&&(f-=T-(T*F+C*G),_-=C-(T*E+C*U))):(Ne=x[6],Ft=x[7],g=x[8],oe=x[9],je=x[10],_e=x[11],f=x[12],_=x[13],d=x[14],O=ai(Ne,je),m=O*Br,O&&(S=Math.cos(-O),P=Math.sin(-O),N=K*S+g*P,Z=H*S+oe*P,se=Ne*S+je*P,g=K*-P+g*S,oe=H*-P+oe*S,je=Ne*-P+je*S,_e=Ft*-P+_e*S,K=N,H=Z,Ne=se),O=ai(-G,je),w=O*Br,O&&(S=Math.cos(-O),P=Math.sin(-O),N=F*S-g*P,Z=E*S-oe*P,se=G*S-je*P,_e=U*P+_e*S,F=N,E=Z,G=se),O=ai(E,F),h=O*Br,O&&(S=Math.cos(O),P=Math.sin(O),N=F*S+E*P,Z=K*S+H*P,E=E*S-F*P,H=H*S-K*P,F=N,K=Z),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,w=180-w),c=xe(Math.sqrt(F*F+E*E+G*G)),p=xe(Math.sqrt(H*H+Ne*Ne)),O=ai(K,H),b=Math.abs(O)>2e-4?O*Br:0,v=_e?1/(_e<0?-_e:_e):0),t.svg&&(N=e.getAttribute("transform"),t.forceCSS=e.setAttribute("transform","")||!Ha(Tt(e,he)),N&&e.setAttribute("transform",N))),Math.abs(b)>90&&Math.abs(b)<270&&(n?(c*=-1,b+=h<=0?180:-180,h+=h<=0?180:-180):(p*=-1,b+=b<=0?180:-180)),r=r||t.uncache,t.x=f-((t.xPercent=f&&(!r&&t.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-f)?-50:0)))?e.offsetWidth*t.xPercent/100:0)+s,t.y=_-((t.yPercent=_&&(!r&&t.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-_)?-50:0)))?e.offsetHeight*t.yPercent/100:0)+s,t.z=d+s,t.scaleX=xe(c),t.scaleY=xe(p),t.rotation=xe(h)+o,t.rotationX=xe(m)+o,t.rotationY=xe(w)+o,t.skewX=b+o,t.skewY=k+o,t.transformPerspective=v+s,(t.zOrigin=parseFloat(u.split(" ")[2])||!r&&t.zOrigin||0)&&(i[ct]=Wn(u)),t.xOffset=t.yOffset=0,t.force3D=kt.force3D,t.renderTransform=t.svg?Lu:Ua?qa:Fu,t.uncache=0,t},Wn=function(e){return(e=e.split(" "))[0]+" "+e[1]},ls=function(e,r,t){var i=Ge(r);return xe(parseFloat(r)+parseFloat(Er(e,"x",t+"px",i)))+i},Fu=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,qa(e,r)},Lr="0deg",Di="0px",Ir=") ",qa=function(e,r){var t=r||this,i=t.xPercent,n=t.yPercent,s=t.x,o=t.y,l=t.z,u=t.rotation,f=t.rotationY,_=t.rotationX,d=t.skewX,c=t.skewY,p=t.scaleX,h=t.scaleY,m=t.transformPerspective,w=t.force3D,b=t.target,k=t.zOrigin,v="",T=w==="auto"&&e&&e!==1||w===!0;if(k&&(_!==Lr||f!==Lr)){var C=parseFloat(f)*mi,x=Math.sin(C),O=Math.cos(C),S;C=parseFloat(_)*mi,S=Math.cos(C),s=ls(b,s,x*S*-k),o=ls(b,o,-Math.sin(C)*-k),l=ls(b,l,O*S*-k+k)}m!==Di&&(v+="perspective("+m+Ir),(i||n)&&(v+="translate("+i+"%, "+n+"%) "),(T||s!==Di||o!==Di||l!==Di)&&(v+=l!==Di||T?"translate3d("+s+", "+o+", "+l+") ":"translate("+s+", "+o+Ir),u!==Lr&&(v+="rotate("+u+Ir),f!==Lr&&(v+="rotateY("+f+Ir),_!==Lr&&(v+="rotateX("+_+Ir),(d!==Lr||c!==Lr)&&(v+="skew("+d+", "+c+Ir),(p!==1||h!==1)&&(v+="scale("+p+", "+h+Ir),b.style[he]=v||"translate(0, 0)"},Lu=function(e,r){var t=r||this,i=t.xPercent,n=t.yPercent,s=t.x,o=t.y,l=t.rotation,u=t.skewX,f=t.skewY,_=t.scaleX,d=t.scaleY,c=t.target,p=t.xOrigin,h=t.yOrigin,m=t.xOffset,w=t.yOffset,b=t.forceCSS,k=parseFloat(s),v=parseFloat(o),T,C,x,O,S;l=parseFloat(l),u=parseFloat(u),f=parseFloat(f),f&&(f=parseFloat(f),u+=f,l+=f),l||u?(l*=mi,u*=mi,T=Math.cos(l)*_,C=Math.sin(l)*_,x=Math.sin(l-u)*-d,O=Math.cos(l-u)*d,u&&(f*=mi,S=Math.tan(u-f),S=Math.sqrt(1+S*S),x*=S,O*=S,f&&(S=Math.tan(f),S=Math.sqrt(1+S*S),T*=S,C*=S)),T=xe(T),C=xe(C),x=xe(x),O=xe(O)):(T=_,O=d,C=x=0),(k&&!~(s+"").indexOf("px")||v&&!~(o+"").indexOf("px"))&&(k=Er(c,"x",s,"px"),v=Er(c,"y",o,"px")),(p||h||m||w)&&(k=xe(k+p-(p*T+h*x)+m),v=xe(v+h-(p*C+h*O)+w)),(i||n)&&(S=c.getBBox(),k=xe(k+i/100*S.width),v=xe(v+n/100*S.height)),S="matrix("+T+","+C+","+x+","+O+","+k+","+v+")",c.setAttribute("transform",S),b&&(c.style[he]=S)},Iu=function(e,r,t,i,n){var s=360,o=Ae(n),l=parseFloat(n)*(o&&~n.indexOf("rad")?Br:1),u=l-i,f=i+u+"deg",_,d;return o&&(_=n.split("_")[1],_==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),_==="cw"&&u<0?u=(u+s*So)%s-~~(u/s)*s:_==="ccw"&&u>0&&(u=(u-s*So)%s-~~(u/s)*s)),e._pt=d=new ft(e._pt,r,t,i,u,xu),d.e=f,d.u="deg",e._props.push(t),d},Do=function(e,r){for(var t in r)e[t]=r[t];return e},Yu=function(e,r,t){var i=Do({},t._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=t.style,o,l,u,f,_,d,c,p;i.svg?(u=t.getAttribute("transform"),t.setAttribute("transform",""),s[he]=r,o=fn(t,1),Or(t,he),t.setAttribute("transform",u)):(u=getComputedStyle(t)[he],s[he]=r,o=fn(t,1),s[he]=u);for(l in cr)u=i[l],f=o[l],u!==f&&n.indexOf(l)<0&&(c=Ge(u),p=Ge(f),_=c!==p?Er(t,l,u,p):parseFloat(u),d=parseFloat(f),e._pt=new ft(e._pt,o,l,_,d-_,Ps),e._pt.u=p||0,e._props.push(l));Do(o,i)};ut("padding,margin,Width,Radius",function(a,e){var r="Top",t="Right",i="Bottom",n="Left",s=(e<3?[r,t,i,n]:[r+n,r+t,i+t,i+n]).map(function(o){return e<2?a+o:"border"+o+a});Vn[e>1?"border"+a:a]=function(o,l,u,f,_){var d,c;if(arguments.length<4)return d=s.map(function(p){return sr(o,p,u)}),c=d.join(" "),c.split(d[0]).length===5?d[0]:c;d=(f+"").split(" "),c={}
vendor: 18,871 bytes, lines 15-29
15,s.forEach(function(p,h){return c[p]=d[h]=d[h]||d[(h-1)/2|0]}),o.init(l,c,_)}});var ja={name:"css",register:Es,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,t,i,n){var s=this._props,o=e.style,l=t.vars.startAt,u,f,_,d,c,p,h,m,w,b,k,v,T,C,x,O,S;to||Es(),this.styles=this.styles||Xa(e),O=this.styles.props,this.tween=t;for(h in r)if(h!=="autoRound"&&(f=r[h],!(yt[h]&&Ra(h,r,t,i,e,n)))){if(c=typeof f,p=Vn[h],c==="function"&&(f=f.call(t,i,e,n),c=typeof f),c==="string"&&~f.indexOf("random(")&&(f=on(f)),p)p(this,e,h,f,t)&&(x=1);else if(h.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(h)+"").trim(),f+="",Sr.lastIndex=0,Sr.test(u)||(m=Ge(u),w=Ge(f),w?m!==w&&(u=Er(e,h,u,w)+w):m&&(f+=m)),this.add(o,"setProperty",u,f,i,n,0,0,h),s.push(h),O.push(h,0,o[h]);else if(c!=="undefined"){if(l&&h in l?(u=typeof l[h]=="function"?l[h].call(t,i,e,n):l[h],Ae(u)&&~u.indexOf("random(")&&(u=on(u)),Ge(u+"")||u==="auto"||(u+=kt.units[h]||Ge(sr(e,h))||""),(u+"").charAt(1)==="="&&(u=sr(e,h))):u=sr(e,h),d=parseFloat(u),b=c==="string"&&f.charAt(1)==="="&&f.substr(0,2),b&&(f=f.substr(2)),_=parseFloat(f),h in jt&&(h==="autoAlpha"&&(d===1&&sr(e,"visibility")==="hidden"&&_&&(d=0),O.push("visibility",0,o.visibility),br(this,o,"visibility",d?"inherit":"hidden",_?"inherit":"hidden",!_)),h!=="scale"&&h!=="transform"&&(h=jt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),k=h in cr,k){if(this.styles.save(h),S=f,c==="string"&&f.substring(0,6)==="var(--"){if(f=Tt(e,f.substring(4,f.indexOf(")"))),f.substring(0,5)==="calc("){var P=e.style.perspective;e.style.perspective=f,f=Tt(e,"perspective"),P?e.style.perspective=P:Or(e,"perspective")}_=parseFloat(f)}if(v||(T=e._gsap,T.renderTransform&&!r.parseTransform||fn(e,r.parseTransform),C=r.smoothOrigin!==!1&&T.smooth,v=this._pt=new ft(this._pt,o,he,0,1,T.renderTransform,T,0,-1),v.dep=1),h==="scale")this._pt=new ft(this._pt,T,"scaleY",T.scaleY,(b?pi(T.scaleY,b+_):_)-T.scaleY||0,Ps),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){O.push(ct,0,o[ct]),f=Nu(f),T.svg?Ms(e,f,0,C,0,this):(w=parseFloat(f.split(" ")[2])||0,w!==T.zOrigin&&br(this,T,"zOrigin",T.zOrigin,w),br(this,o,h,Wn(u),Wn(f)));continue}else if(h==="svgOrigin"){Ms(e,f,1,C,0,this);continue}else if(h in Ga){Iu(this,T,h,d,b?pi(d,b+f):f);continue}else if(h==="smoothOrigin"){br(this,T,"smooth",T.smooth,f);continue}else if(h==="force3D"){T[h]=f;continue}else if(h==="transform"){Yu(this,f,e);continue}}else h in o||(h=Ci(h)||h);if(k||(_||_===0)&&(d||d===0)&&!vu.test(f)&&h in o)m=(u+"").substr((d+"").length),_||(_=0),w=Ge(f)||(h in kt.units?kt.units[h]:m),m!==w&&(d=Er(e,h,u,w)),this._pt=new ft(this._pt,k?T:o,h,d,(b?pi(d,b+_):_)-d,!k&&(w==="px"||h==="zIndex")&&r.autoRound!==!1?Tu:Ps),this._pt.u=w||0,k&&S!==f?(this._pt.b=u,this._pt.e=S,this._pt.r=wu):m!==w&&w!=="%"&&(this._pt.b=u,this._pt.r=bu);else if(h in o)Au.call(this,e,h,u,b?b+f:f);else if(h in e)this.add(e,h,u||e[h],b?b+f:f,i,n);else if(h!=="parseTransform"){Ws(h,f);continue}k||(h in o?O.push(h,0,o[h]):typeof e[h]=="function"?O.push(h,2,e[h]()):O.push(h,1,u||e[h])),s.push(h)}}x&&La(this)},render:function(e,r){if(r.tween._time||!ro())for(var t=r._pt;t;)t.r(e,t.d),t=t._next;else r.styles.revert()},get:sr,aliases:jt,getSetter:function(e,r,t){var i=jt[r];return i&&i.indexOf(",")<0&&(r=i),r in cr&&r!==ct&&(e._gsap.x||sr(e,"x"))?t&&ko===t?r==="scale"?Pu:Cu:(ko=t||{})&&(r==="scale"?Ou:Eu):e.style&&!Xs(e.style[r])?ku:~r.indexOf("-")?Su:Js(e,r)},core:{_removeProperty:Or,_getMatrix:no}};ht.utils.checkPrefix=Ci;ht.core.getStyleSaver=Xa;(function(a,e,r,t){var i=ut(a+","+e+","+r,function(n){cr[n]=1});ut(e,function(n){kt.units[n]="deg",Ga[n]=1}),jt[i[13]]=a+","+e,ut(t,function(n){var s=n.split(":");jt[s[1]]=i[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");ut("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){kt.units[a]="px"});ht.registerPlugin(ja);var Et=ht.registerPlugin(ja)||ht;Et.core.Tween;function Bu(a,e){for(var r=0;r<e.length;r++){var t=e[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(a,t.key,t)}}function $u(a,e,r){return e&&Bu(a.prototype,e),a}/*! 16 * Observer 3.14.2 17 * https://gsap.com 18 * 19 * @license Copyright 2008-2025, GreenSock. All rights reserved. 20 * Subject to the terms at https://gsap.com/standard-license 21 * @author: Jack Doyle, [email protected] 22*/var Le,An,bt,wr,Tr,yi,Ka,$r,Hi,Qa,lr,Xt,Za,Ja=function(){return Le||typeof window<"u"&&(Le=window.gsap)&&Le.registerPlugin&&Le},el=1,di=[],X=[],Qt=[],qi=Date.now,Rs=function(e,r){return r},Xu=function(){var e=Hi.core,r=e.bridge||{},t=e._scrollers,i=e._proxies;t.push.apply(t,X),i.push.apply(i,Qt),X=t,Qt=i,Rs=function(s,o){return r[s](o)}},Cr=function(e,r){return~Qt.indexOf(e)&&Qt[Qt.indexOf(e)+1][r]},ji=function(e){return!!~Qa.indexOf(e)},et=function(e,r,t,i,n){return e.addEventListener(r,t,{passive:i!==!1,capture:!!n})},Je=function(e,r,t,i){return e.removeEventListener(r,t,!!i)},yn="scrollLeft",vn="scrollTop",Ds=function(){return lr&&lr.isPressed||X.cache++},Gn=function(e,r){var t=function i(n){if(n||n===0){el&&(bt.history.scrollRestoration="manual");var s=lr&&lr.isPressed;n=i.v=Math.round(n)||(lr&&lr.iOS?1:0),e(n),i.cacheID=X.cache,s&&Rs("ss",n)}else(r||X.cache!==i.cacheID||Rs("ref"))&&(i.cacheID=X.cache,i.v=e());return i.v+i.offset};return t.offset=0,e&&t},st={s:yn,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Gn(function(a){return arguments.length?bt.scrollTo(a,Oe.sc()):bt.pageXOffset||wr[yn]||Tr[yn]||yi[yn]||0})},Oe={s:vn,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:st,sc:Gn(function(a){return arguments.length?bt.scrollTo(st.sc(),a):bt.pageYOffset||wr[vn]||Tr[vn]||yi[vn]||0})},at=function(e,r){return(r&&r._ctx&&r._ctx.selector||Le.utils.toArray)(e)[0]||(typeof e=="string"&&Le.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Uu=function(e,r){for(var t=r.length;t--;)if(r[t]===e||r[t].contains(e))return!0;return!1},Mr=function(e,r){var t=r.s,i=r.sc;ji(e)&&(e=wr.scrollingElement||Tr);var n=X.indexOf(e),s=i===Oe.sc?1:2;!~n&&(n=X.push(e)-1),X[n+s]||et(e,"scroll",Ds);var o=X[n+s],l=o||(X[n+s]=Gn(Cr(e,t),!0)||(ji(e)?i:Gn(function(u){return arguments.length?e[t]=u:e[t]})));return l.target=e,o||(l.smooth=Le.getProperty(e,"scrollBehavior")==="smooth"),l},As=function(e,r,t){var i=e,n=e,s=qi(),o=s,l=r||50,u=Math.max(500,l*3),f=function(p,h){var m=qi();h||m-s>l?(n=i,i=p,o=s,s=m):t?i+=p:i=n+(p-n)/(m-o)*(s-o)},_=function(){n=i=t?0:i,o=s=0},d=function(p){var h=o,m=n,w=qi();return(p||p===0)&&p!==i&&f(p),s===o||w-o>u?0:(i+(t?m:-m))/((t?w:s)-h)*1e3};return{update:f,reset:_,getVelocity:d}},Ai=function(e,r){return r&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Ao=function(e){var r=Math.max.apply(Math,e),t=Math.min.apply(Math,e);return Math.abs(r)>=Math.abs(t)?r:t},tl=function(){Hi=Le.core.globals().ScrollTrigger,Hi&&Hi.core&&Xu()},rl=function(e){return Le=e||Ja(),!An&&Le&&typeof document<"u"&&document.body&&(bt=window,wr=document,Tr=wr.documentElement,yi=wr.body,Qa=[bt,wr,Tr,yi],Le.utils.clamp,Za=Le.core.context||function(){},$r="onpointerenter"in yi?"pointer":"mouse",Ka=be.isTouch=bt.matchMedia&&bt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in bt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Xt=be.eventTypes=("ontouchstart"in Tr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Tr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return el=0},500),tl(),An=1),An};st.op=Oe;X.cache=0;var be=function(){function a(r){this.init(r)}var e=a.prototype;return e.init=function(t){An||rl(Le)||console.warn("Please gsap.registerPlugin(Observer)"),Hi||tl();var i=t.tolerance,n=t.dragMinimum,s=t.type,o=t.target,l=t.lineHeight,u=t.debounce,f=t.preventDefault,_=t.onStop,d=t.onStopDelay,c=t.ignore,p=t.wheelSpeed,h=t.event,m=t.onDragStart,w=t.onDragEnd,b=t.onDrag,k=t.onPress,v=t.onRelease,T=t.onRight,C=t.onLeft,x=t.onUp,O=t.onDown,S=t.onChangeX,P=t.onChangeY,F=t.onChange,E=t.onToggleX,G=t.onToggleY,U=t.onHover,K=t.onHoverEnd,H=t.onMove,N=t.ignoreCheck,Z=t.isNormalizer,se=t.onGestureStart,g=t.onGestureEnd,oe=t.onWheel,je=t.onEnable,Ft=t.onDisable,_e=t.onClick,Ne=t.scrollSpeed,Ye=t.capture,we=t.allowClicks,Ke=t.lockAxis,Be=t.onLockAxis;this.target=o=at(o)||Tr,this.vars=t,c&&(c=Le.utils.toArray(c)),i=i||1e-9,n=n||0,p=p||1,Ne=Ne||1,s=s||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(bt.getComputedStyle(yi).lineHeight)||22);var hr,Qe,Ze,Q,me,ot,_t,y=this,dt=0,Jt=0,_r=t.passive||!f&&t.passive!==!1,de=Mr(o,st),er=Mr(o,Oe),dr=de(),Dr=er(),Ee=~s.indexOf("touch")&&!~s.indexOf("pointer")&&Xt[0]==="pointerdown",pr=ji(o),ye=o.ownerDocument||wr,Lt=[0,0,0],Pt=[0,0,0],tr=0,Oi=function(){return tr=qi()},Te=function(A,J){return(y.event=A)&&c&&Uu(A.target,c)||J&&Ee&&A.pointerType!=="touch"||N&&N(A,J)},dn=function(){y._vx.reset(),y._vy.reset(),Qe.pause(),_&&_(y)},rr=function(){var A=y.deltaX=Ao(Lt),J=y.deltaY=Ao(Pt),M=Math.abs(A)>=i,L=Math.abs(J)>=i;F&&(M||L)&&F(y,A,J,Lt,Pt),M&&(T&&y.deltaX>0&&T(y),C&&y.deltaX<0&&C(y),S&&S(y),E&&y.deltaX<0!=dt<0&&E(y),dt=y.deltaX,Lt[0]=Lt[1]=Lt[2]=0),L&&(O&&y.deltaY>0&&O(y),x&&y.deltaY<0&&x(y),P&&P(y),G&&y.deltaY<0!=Jt<0&&G(y),Jt=y.deltaY,Pt[0]=Pt[1]=Pt[2]=0),(Q||Ze)&&(H&&H(y),Ze&&(m&&Ze===1&&m(y),b&&b(y),Ze=0),Q=!1),ot&&!(ot=!1)&&Be&&Be(y),me&&(oe(y),me=!1),hr=0},ii=function(A,J,M){Lt[M]+=A,Pt[M]+=J,y._vx.update(A),y._vy.update(J),u?hr||(hr=requestAnimationFrame(rr)):rr()},ni=function(A,J){Ke&&!_t&&(y.axis=_t=Math.abs(A)>Math.abs(J)?"x":"y",ot=!0),_t!=="y"&&(Lt[2]+=A,y._vx.update(A,!0)),_t!=="x"&&(Pt[2]+=J,y._vy.update(J,!0)),u?hr||(hr=requestAnimationFrame(rr)):rr()},gr=function(A){if(!Te(A,1)){A=Ai(A,f);var J=A.clientX,M=A.clientY,L=J-y.x,D=M-y.y,I=y.isDragging;y.x=J,y.y=M,(I||(L||D)&&(Math.abs(y.startX-J)>=n||Math.abs(y.startY-M)>=n))&&(Ze||(Ze=I?2:1),I||(y.isDragging=!0),ni(L,D))}},Ar=y.onPress=function(Y){Te(Y,1)||Y&&Y.button||(y.axis=_t=null,Qe.pause(),y.isPressed=!0,Y=Ai(Y),dt=Jt=0,y.startX=y.x=Y.clientX,y.startY=y.y=Y.clientY,y._vx.reset(),y._vy.reset(),et(Z?o:ye,Xt[1],gr,_r,!0),y.deltaX=y.deltaY=0,k&&k(y))},V=y.onRelease=function(Y){if(!Te(Y,1)){Je(Z?o:ye,Xt[1],gr,!0);var A=!isNaN(y.y-y.startY),J=y.isDragging,M=J&&(Math.abs(y.x-y.startX)>3||Math.abs(y.y-y.startY)>3),L=Ai(Y);!M&&A&&(y._vx.reset(),y._vy.reset(),f&&we&&Le.delayedCall(.08,function(){if(qi()-tr>300&&!Y.defaultPrevented){if(Y.target.click)Y.target.click();else if(ye.createEvent){var D=ye.createEvent("MouseEvents");D.initMouseEvent("click",!0,!0,bt,1,L.screenX,L.screenY,L.clientX,L.clientY,!1,!1,!1,!1,0,null),Y.target.dispatchEvent(D)}}})),y.isDragging=y.isGesturing=y.isPressed=!1,_&&J&&!Z&&Qe.restart(!0),Ze&&rr(),w&&J&&w(y),v&&v(y,M)}},Nr=function(A){return A.touches&&A.touches.length>1&&(y.isGesturing=!0)&&se(A,y.isDragging)},It=function(){return(y.isGesturing=!1)||g(y)},Yt=function(A){if(!Te(A)){var J=de(),M=er();ii((J-dr)*Ne,(M-Dr)*Ne,1),dr=J,Dr=M,_&&Qe.restart(!0)}},Bt=function(A){if(!Te(A)){A=Ai(A,f),oe&&(me=!0);var J=(A.deltaMode===1?l:A.deltaMode===2?bt.innerHeight:1)*p;ii(A.deltaX*J,A.deltaY*J,0),_&&!Z&&Qe.restart(!0)}},zr=function(A){if(!Te(A)){var J=A.clientX,M=A.clientY,L=J-y.x,D=M-y.y;y.x=J,y.y=M,Q=!0,_&&Qe.restart(!0),(L||D)&&ni(L,D)}},si=function(A){y.event=A,U(y)},ir=function(A){y.event=A,K(y)},Ei=function(A){return Te(A)||Ai(A,f)&&_e(y)};Qe=y._dc=Le.delayedCall(d||.25,dn).pause(),y.deltaX=y.deltaY=0,y._vx=As(0,50,!0),y._vy=As(0,50,!0),y.scrollX=de,y.scrollY=er,y.isDragging=y.isGesturing=y.isPressed=!1,Za(this),y.enable=function(Y){return y.isEnabled||(et(pr?ye:o,"scroll",Ds),s.indexOf("scroll")>=0&&et(pr?ye:o,"scroll",Yt,_r,Ye),s.indexOf("wheel")>=0&&et(o,"wheel",Bt,_r,Ye),(s.indexOf("touch")>=0&&Ka||s.indexOf("pointer")>=0)&&(et(o,Xt[0],Ar,_r,Ye),et(ye,Xt[2],V),et(ye,Xt[3],V),we&&et(o,"click",Oi,!0,!0),_e&&et(o,"click",Ei),se&&et(ye,"gesturestart",Nr),g&&et(ye,"gestureend",It),U&&et(o,$r+"enter",si),K&&et(o,$r+"leave",ir),H&&et(o,$r+"move",zr)),y.isEnabled=!0,y.isDragging=y.isGesturing=y.isPressed=Q=Ze=!1,y._vx.reset(),y._vy.reset(),dr=de(),Dr=er(),Y&&Y.type&&Ar(Y),je&&je(y)),y},y.disable=function(){y.isEnabled&&(di.filter(function(Y){return Y!==y&&ji(Y.target)}).length||Je(pr?ye:o,"scroll",Ds),y.isPressed&&(y._vx.reset(),y._vy.reset(),Je(Z?o:ye,Xt[1],gr,!0)),Je(pr?ye:o,"scroll",Yt,Ye),Je(o,"wheel",Bt,Ye),Je(o,Xt[0],Ar,Ye),Je(ye,Xt[2],V),Je(ye,Xt[3],V),Je(o,"click",Oi,!0),Je(o,"click",Ei),Je(ye,"gesturestart",Nr),Je(ye,"gestureend",It),Je(o,$r+"enter",si),Je(o,$r+"leave",ir),Je(o,$r+"move",zr),y.isEnabled=y.isPressed=y.isDragging=!1,Ft&&Ft(y))},y.kill=y.revert=function(){y.disable();var Y=di.indexOf(y);Y>=0&&di.splice(Y,1),lr===y&&(lr=0)},di.push(y),Z&&ji(o)&&(lr=y),y.enable(h)},$u(a,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),a}();be.version="3.14.2";be.create=function(a){return new be(a)};be.register=rl;be.getAll=function(){return di.slice()};be.getById=function(a){return di.filter(function(e){return e.vars.id===a})[0]};Ja()&&Le.registerPlugin(be);/*! 23 * ScrollTrigger 3.14.2 24 * https://gsap.com 25 * 26 * @license Copyright 2008-2025, GreenSock. All rights reserved. 27 * Subject to the terms at https://gsap.com/standard-license 28 * @author: Jack Doyle, [email protected] 29*/var R,fi,$,ne,vt,ee,so,Hn,cn,Ki,Yi,xn,Ve,Jn,Ns,rt,No,zo,ci,il,us,nl,tt,zs,sl,ol,yr,Fs,oo,vi,ao,Qi,Ls,fs,bn=1,We=Date.now,cs=We(),zt=0,Bi=0,Fo=function(e,r,t){var i=mt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return t["_"+r+"Clamp"]=i,i?e.substr(6,e.length-7):e},Lo=function(e,r){return r&&(!mt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Vu=function a(){return Bi&&requestAnimationFrame(a)},Io=function(){return Jn=1},Yo=function(){return Jn=0},Ht=function(e){return e},$i=function(e){return Math.round(e*1e5)/1e5||0},al=function(){return typeof window<"u"},ll=function(){return R||al()&&(R=window.gsap)&&R.registerPlugin&&R},Jr=function(e){return!!~so.indexOf(e)},ul=function(e){return(e==="Height"?ao:$["inner"+e])||vt["client"+e]||ee["client"+e]},fl=function(e){return Cr(e,"getBoundingClientRect")||(Jr(e)?function(){return In.width=$.innerWidth,In.height=ao,In}:function(){return or(e)})},Wu=function(e,r,t){var i=t.d,n=t.d2,s=t.a;return(s=Cr(e,"getBoundingClientRect"))?function(){return s()[i]}:function(){return(r?ul(n):e["client"+n])||0}},Gu=function(e,r){return!r||~Qt.indexOf(e)?fl(e):function(){return In}},Kt=function(e,r){var t=r.s,i=r.d2,n=r.d,s=r.a;return Math.max(0,(t="scroll"+i)&&(s=Cr(e,t))?s()-fl(e)()[n]:Jr(e)?(vt[t]||ee[t])-ul(i):e[t]-e["offset"+i])},wn=function(e,r){for(var t=0;t<ci.length;t+=3)(!r||~r.indexOf(ci[t+1]))&&e(ci[t],ci[t+1],ci[t+2])},mt=function(e){return typeof e=="string"},He=function(e){return typeof e=="function"},Xi=function(e){return typeof e=="number"},Xr=function(e){return typeof e=="object"},Ni=function(e,r,t){return e&&e.progress(r?0:1)&&t&&e.pause()},hs=function(e,r){if(e.enabled){var t=e._ctx?e._ctx.add(function(){return r(e)}):r(e);t&&t.totalTime&&(e.callbackAnimation=t)}},li=Math.abs,cl="left",hl="top",lo="right",uo="bottom",Kr="width",Qr="height",Zi="Right",Ji="Left",en="Top",tn="Bottom",ke="padding",Rt="margin",Pi="Width",fo="Height",Pe="px",Dt=function(e){return $.getComputedStyle(e)},Hu=function(e){var r=Dt(e).position;e.style.position=r==="absolute"||r==="fixed"?r:"relative"},Bo=function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},or=function(e,r){var t=r&&Dt(e)[Ns]!=="matrix(1, 0, 0, 1, 0, 0)"&&R.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return t&&t.progress(0).kill(),i},qn=function(e,r){var t=r.d2;return e["offset"+t]||e["client"+t]||0},_l=function(e){var r=[],t=e.labels,i=e.duration(),n;for(n in t)r.push(t[n]/i);return r},qu=function(e){return function(r){return R.utils.snap(_l(e),r)}},co=function(e){var r=R.utils.snap(e),t=Array.isArray(e)&&e.slice(0).sort(function(i,n){return i-n});return t?function(i,n,s){s===void 0&&(s=.001);var o;if(!n)return r(i);if(n>0){for(i-=s,o=0;o<t.length;o++)if(t[o]>=i)return t[o];return t[o-1]}else for(o=t.length,i+=s;o--;)if(t[o]<=i)return t[o];return t[0]}:function(i,n,s){s===void 0&&(s=.001);var o=r(i);return!n||Math.abs(o-i)<s||o-i<0==n<0?o:r(n<0?i-e:i+e)}},ju=function(e){return function(r,t){return co(_l(e))(r,t.direction)}},Tn=function(e,r,t,i){return t.split(",").forEach(function(n){return e(r,n,i)})},De=function(e,r,t,i,n){return e.addEventListener(r,t,{passive:!i,capture:!!n})},Re=function(e,r,t,i){return e.removeEventListener(r,t,!!i)},kn=function(e,r,t){t=t&&t.wheelHandler,t&&(e(r,"wheel",t),e(r,"touchmove",t))},$o={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Sn={toggleActions:"play",anticipatePin:0},jn={top:0,left:0,center:.5,bottom:1,right:1},Nn=function(e,r){if(mt(e)){var t=e.indexOf("="),i=~t?+(e.charAt(t-1)+1)*parseFloat(e.substr(t+1)):0;~t&&(e.indexOf("%")>t&&(i*=r/100),e=e.substr(0,t-1)),e=i+(e in jn?jn[e]*r:~e.indexOf("%")?parseFloat(e)*r/100:parseFloat(e)||0)}return e},Cn=function(e,r,t,i,n,s,o,l){var u=n.startColor,f=n.endColor,_=n.fontSize,d=n.indent,c=n.fontWeight,p=ne.createElement("div"),h=Jr(t)||Cr(t,"pinType")==="fixed",m=e.indexOf("scroller")!==-1,w=h?ee:t,b=e.indexOf("start")!==-1,k=b?u:f,v="border-color:"+k+";font-size:"+_+";color:"+k+";font-weight:"+c+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return v+="position:"+((m||l)&&h?"fixed;":"absolute;"),(m||l||!h)&&(v+=(i===Oe?lo:uo)+":"+(s+parseFloat(d))+"px;"),o&&(v+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),p._isStart=b,p.setAttribute("class","gsap-marker-"+e+(r?" marker-"+r:"")),p.style.cssText=v,p.innerText=r||r===0?e+"-"+r:e,w.children[0]?w.insertBefore(p,w.children[0]):w.appendChild(p),p._offset=p["offset"+i.op.d2],zn(p,0,i,b),p},zn=function(e,r,t,i){var n={display:"block"},s=t[i?"os2":"p2"],o=t[i?"p2":"os2"];e._isFlipped=i,n[t.a+"Percent"]=i?-100:0,n[t.a]=i?"1px":0,n["border"+s+Pi]=1,n["border"+o+Pi]=0,n[t.p]=r+"px",R.set(e,n)},B=[],Is={},hn,Xo=function(){return We()-zt>34&&(hn||(hn=requestAnimationFrame(ur)))},ui=function(){(!tt||!tt.isPressed||tt.startX>ee.clientWidth)&&(X.cache++,tt?hn||(hn=requestAnimationFrame(ur)):ur(),zt||ti("scrollStart"),zt=We())},_s=function(){ol=$.innerWidth,sl=$.innerHeight},Ui=function(e){X.cache++,(e===!0||!Ve&&!nl&&!ne.fullscreenElement&&!ne.webkitFullscreenElement&&(!zs||ol!==$.innerWidth||Math.abs($.innerHe
vendor: 5,644 bytes, line 29
29ight-sl)>$.innerHeight*.25))&&Hn.restart(!0)},ei={},Ku=[],dl=function a(){return Re(W,"scrollEnd",a)||Wr(!0)},ti=function(e){return ei[e]&&ei[e].map(function(r){return r()})||Ku},gt=[],pl=function(e){for(var r=0;r<gt.length;r+=5)(!e||gt[r+4]&>[r+4].query===e)&&(gt[r].style.cssText=gt[r+1],gt[r].getBBox&>[r].setAttribute("transform",gt[r+2]||""),gt[r+3].uncache=1)},gl=function(){return X.forEach(function(e){return He(e)&&++e.cacheID&&(e.rec=e())})},ho=function(e,r){var t;for(rt=0;rt<B.length;rt++)t=B[rt],t&&(!r||t._ctx===r)&&(e?t.kill(1):t.revert(!0,!0));Qi=!0,r&&pl(r),r||ti("revert")},ml=function(e,r){X.cache++,(r||!it)&&X.forEach(function(t){return He(t)&&t.cacheID++&&(t.rec=0)}),mt(e)&&($.history.scrollRestoration=oo=e)},it,Zr=0,Uo,Qu=function(){if(Uo!==Zr){var e=Uo=Zr;requestAnimationFrame(function(){return e===Zr&&Wr(!0)})}},yl=function(){ee.appendChild(vi),ao=!tt&&vi.offsetHeight||$.innerHeight,ee.removeChild(vi)},Vo=function(e){return cn(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(r){return r.style.display=e?"none":"block"})},Wr=function(e,r){if(vt=ne.documentElement,ee=ne.body,so=[$,ne,vt,ee],zt&&!e&&!Qi){De(W,"scrollEnd",dl);return}yl(),it=W.isRefreshing=!0,Qi||gl();var t=ti("refreshInit");il&&W.sort(),r||ho(),X.forEach(function(i){He(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),B.slice(0).forEach(function(i){return i.refresh()}),Qi=!1,B.forEach(function(i){if(i._subPinOffset&&i.pin){var n=i.vars.horizontal?"offsetWidth":"offsetHeight",s=i.pin[n];i.revert(!0,1),i.adjustPinSpacing(i.pin[n]-s),i.refresh()}}),Ls=1,Vo(!0),B.forEach(function(i){var n=Kt(i.scroller,i._dir),s=i.vars.end==="max"||i._endClamp&&i.end>n,o=i._startClamp&&i.start>=n;(s||o)&&i.setPositions(o?n-1:i.start,s?Math.max(o?n:i.start+1,n):i.end,!0)}),Vo(!1),Ls=0,t.forEach(function(i){return i&&i.render&&i.render(-1)}),X.forEach(function(i){He(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),ml(oo,1),Hn.pause(),Zr++,it=2,ur(2),B.forEach(function(i){return He(i.vars.onRefresh)&&i.vars.onRefresh(i)}),it=W.isRefreshing=!1,ti("refresh")},Ys=0,Fn=1,rn,ur=function(e){if(e===2||!it&&!Qi){W.isUpdating=!0,rn&&rn.update(0);var r=B.length,t=We(),i=t-cs>=50,n=r&&B[0].scroll();if(Fn=Ys>n?-1:1,it||(Ys=n),i&&(zt&&!Jn&&t-zt>200&&(zt=0,ti("scrollEnd")),Yi=cs,cs=t),Fn<0){for(rt=r;rt-- >0;)B[rt]&&B[rt].update(0,i);Fn=1}else for(rt=0;rt<r;rt++)B[rt]&&B[rt].update(0,i);W.isUpdating=!1}hn=0},Bs=[cl,hl,uo,lo,Rt+tn,Rt+Zi,Rt+en,Rt+Ji,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Ln=Bs.concat([Kr,Qr,"boxSizing","max"+Pi,"max"+fo,"position",Rt,ke,ke+en,ke+Zi,ke+tn,ke+Ji]),Zu=function(e,r,t){xi(t);var i=e._gsap;if(i.spacerIsNative)xi(i.spacerState);else if(e._gsap.swappedIn){var n=r.parentNode;n&&(n.insertBefore(e,r),n.removeChild(r))}e._gsap.swappedIn=!1},ds=function(e,r,t,i){if(!e._gsap.swappedIn){for(var n=Bs.length,s=r.style,o=e.style,l;n--;)l=Bs[n],s[l]=t[l];s.position=t.position==="absolute"?"absolute":"relative",t.display==="inline"&&(s.display="inline-block"),o[uo]=o[lo]="auto",s.flexBasis=t.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[Kr]=qn(e,st)+Pe,s[Qr]=qn(e,Oe)+Pe,s[ke]=o[Rt]=o[hl]=o[cl]="0",xi(i),o[Kr]=o["max"+Pi]=t[Kr],o[Qr]=o["max"+fo]=t[Qr],o[ke]=t[ke],e.parentNode!==r&&(e.parentNode.insertBefore(r,e),r.appendChild(e)),e._gsap.swappedIn=!0}},Ju=/([A-Z])/g,xi=function(e){if(e){var r=e.t.style,t=e.length,i=0,n,s;for((e.t._gsap||R.core.getCache(e.t)).uncache=1;i<t;i+=2)s=e[i+1],n=e[i],s?r[n]=s:r[n]&&r.removeProperty(n.replace(Ju,"-$1").toLowerCase())}},Pn=function(e){for(var r=Ln.length,t=e.style,i=[],n=0;n<r;n++)i.push(Ln[n],t[Ln[n]]);return i.t=e,i},ef=function(e,r,t){for(var i=[],n=e.length,s=t?8:0,o;s<n;s+=2)o=e[s],i.push(o,o in r?r[o]:e[s+1]);return i.t=e.t,i},In={left:0,top:0},Wo=function(e,r,t,i,n,s,o,l,u,f,_,d,c,p){He(e)&&(e=e(l)),mt(e)&&e.substr(0,3)==="max"&&(e=d+(e.charAt(4)==="="?Nn("0"+e.substr(3),t):0));var h=c?c.time():0,m,w,b;if(c&&c.seek(0),isNaN(e)||(e=+e),Xi(e))c&&(e=R.utils.mapRange(c.scrollTrigger.start,c.scrollTrigger.end,0,d,e)),o&&zn(o,t,i,!0);else{He(r)&&(r=r(l));var k=(e||"0").split(" "),v,T,C,x;b=at(r,l)||ee,v=or(b)||{},(!v||!v.left&&!v.top)&&Dt(b).display==="none"&&(x=b.style.display,b.style.display="block",v=or(b),x?b.style.display=x:b.style.removeProperty("display")),T=Nn(k[0],v[i.d]),C=Nn(k[1]||"0",t),e=v[i.p]-u[i.p]-f+T+n-C,o&&zn(o,C,i,t-C<20||o._isStart&&C>20),t-=t-C}if(p&&(l[p]=e||-.001,e<0&&(e=0)),s){var O=e+t,S=s._isStart;m="scroll"+i.d2,zn(s,O,i,S&&O>20||!S&&(_?Math.max(ee[m],vt[m]):s.parentNode[m])<=O+1),_&&(u=or(o),_&&(s.style[i.op.p]=u[i.op.p]-i.op.m-s._offset+Pe))}return c&&b&&(m=or(b),c.seek(d),w=or(b),c._caScrollDist=m[i.p]-w[i.p],e=e/c._caScrollDist*d),c&&c.seek(h),c?e:Math.round(e)},tf=/(webkit|moz|length|cssText|inset)/i,Go=function(e,r,t,i){if(e.parentNode!==r){var n=e.style,s,o;if(r===ee){e._stOrig=n.cssText,o=Dt(e);for(s in o)!+s&&!tf.test(s)&&o[s]&&typeof n[s]=="string"&&s!=="0"&&(n[s]=o[s]);n.top=t,n.left=i}else n.cssText=e._stOrig;R.core.getCache(e).uncache=1,r.appendChild(e)}},vl=function(e,r,t){var i=r,n=i;return function(s){var o=Math.round(e());return o!==i&&o!==n&&Math.abs(o-i)>3&&Math.abs(o-n)>3&&(s=o,t&&t()),n=i,i=Math.round(s),i}},On=function(e,r,t){var i={};i[r.p]="+="+t,R.set(e,i)},Ho=function(e,r){var t=Mr(e,r),i="_scroll"+r.p2,n=function s(o,l,u,f,_){var d=s.tween,c=l.onComplete,p={};u=u||t();var h=vl(t,u,function(){d.kill(),s.tween=0}
vendor: 3,207 bytes, line 29
29);return _=f&&_||0,f=f||o-u,d&&d.kill(),l[i]=o,l.inherit=!1,l.modifiers=p,p[i]=function(){return h(u+f*d.ratio+_*d.ratio*d.ratio)},l.onUpdate=function(){X.cache++,s.tween&&ur()},l.onComplete=function(){s.tween=0,c&&c.call(d)},d=s.tween=R.to(e,l),d};return e[i]=t,t.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},De(e,"wheel",t.wheelHandler),W.isTouch&&De(e,"touchmove",t.wheelHandler),n},W=function(){function a(r,t){fi||a.register(R)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Fs(this),this.init(r,t)}var e=a.prototype;return e.init=function(t,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Bi){this.update=this.refresh=this.kill=Ht;return}t=Bo(mt(t)||Xi(t)||t.nodeType?{trigger:t}:t,Sn);var n=t,s=n.onUpdate,o=n.toggleClass,l=n.id,u=n.onToggle,f=n.onRefresh,_=n.scrub,d=n.trigger,c=n.pin,p=n.pinSpacing,h=n.invalidateOnRefresh,m=n.anticipatePin,w=n.onScrubComplete,b=n.onSnapComplete,k=n.once,v=n.snap,T=n.pinReparent,C=n.pinSpacer,x=n.containerAnimation,O=n.fastScrollEnd,S=n.preventOverlaps,P=t.horizontal||t.containerAnimation&&t.horizontal!==!1?st:Oe,F=!_&&_!==0,E=at(t.scroller||$),G=R.core.getCache(E),U=Jr(E),K=("pinType"in t?t.pinType:Cr(E,"pinType")||U&&"fixed")==="fixed",H=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],N=F&&t.toggleActions.split(" "),Z="markers"in t?t.markers:Sn.markers,se=U?0:parseFloat(Dt(E)["border"+P.p2+Pi])||0,g=this,oe=t.onRefreshInit&&function(){return t.onRefreshInit(g)},je=Wu(E,U,P),Ft=Gu(E,U),_e=0,Ne=0,Ye=0,we=Mr(E,P),Ke,Be,hr,Qe,Ze,Q,me,ot,_t,y,dt,Jt,_r,de,er,dr,Dr,Ee,pr,ye,Lt,Pt,tr,Oi,Te,dn,rr,ii,ni,gr,Ar,V,Nr,It,Yt,Bt,zr,si,ir;if(g._startClamp=g._endClamp=!1,g._dir=P,m*=45,g.scroller=E,g.scroll=x?x.time.bind(x):we,Qe=we(),g.vars=t,i=i||t.animation,"refreshPriority"in t&&(il=1,t.refreshPriority===-9999&&(rn=g)),G.tweenScroll=G.tweenScroll||{top:Ho(E,Oe),left:Ho(E,st)},g.tweenTo=Ke=G.tweenScroll[P.p],g.scrubDuration=function(M){Nr=Xi(M)&&M,Nr?V?V.duration(M):V=R.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Nr,paused:!0,onComplete:function(){return w&&w(g)}}):(V&&V.progress(1).kill(),V=0)},i&&(i.vars.lazy=!1,i._initted&&!g.isReverted||i.vars.immediateRender!==!1&&t.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),g.animation=i.pause(),i.scrollTrigger=g,g.scrubDuration(_),gr=0,l||(l=i.vars.id)),v&&((!Xr(v)||v.push)&&(v={snapTo:v}),"scrollBehavior"in ee.style&&R.set(U?[ee,vt]:E,{scrollBehavior:"auto"}),X.forEach(function(M){return He(M)&&M.target===(U?ne.scrollingElement||vt:E)&&(M.smooth=!1)}),hr=He(v.snapTo)?v.snapTo:v.snapTo==="labels"?qu(i):v.snapTo==="labelsDirectional"?ju(i):v.directional!==!1?function(M,L){return co(v.snapTo)(M,We()-Ne<500?0:L.direction)}:R.utils.snap(v.snapTo),It=v.duration||{min:.1,max:2},It=Xr(It)?Ki(It.min,It.max):Ki(It,It),Yt=R.delayedCall(v.delay||Nr/2||.1,function(){var M=we(),L=We()-Ne<500,D=Ke.tween;if((L||Math.abs(g.getVelocity())<10)&&!D&&!Jn&&_e!==M){var I=(M-Q)/de,Me=i&&!F?i.totalProgress():I,q=L?0:(Me-Ar)/(We()-Yi)*1e3||0,ve=R.utils.clamp(-I,1-I,li(q/2)*q/.185),$e=I+(v.inertia===!1?0:ve),pe,ae,te=v,$t=te.onStart,ue=te.onInterrupt,pt=te.onComplete;if(pe=hr($e,g),Xi(pe)||(pe=$e),ae=Math.max(0,Math.round(Q+pe*de)),M<=me&&M>
vendor: 6,107 bytes, line 29
29=Q&&ae!==M){if(D&&!D._initted&&D.data<=li(ae-M))return;v.inertia===!1&&(ve=pe-I),Ke(ae,{duration:It(li(Math.max(li($e-Me),li(pe-Me))*.185/q/.05||0)),ease:v.ease||"power3",data:li(ae-M),onInterrupt:function(){return Yt.restart(!0)&&ue&&ue(g)},onComplete:function(){g.update(),_e=we(),i&&!F&&(V?V.resetTo("totalProgress",pe,i._tTime/i._tDur):i.progress(pe)),gr=Ar=i&&!F?i.totalProgress():g.progress,b&&b(g),pt&&pt(g)}},M,ve*de,ae-M-ve*de),$t&&$t(g,Ke.tween)}}else g.isActive&&_e!==M&&Yt.restart(!0)}).pause()),l&&(Is[l]=g),d=g.trigger=at(d||c!==!0&&c),ir=d&&d._gsap&&d._gsap.stRevert,ir&&(ir=ir(g)),c=c===!0?d:at(c),mt(o)&&(o={targets:d,className:o}),c&&(p===!1||p===Rt||(p=!p&&c.parentNode&&c.parentNode.style&&Dt(c.parentNode).display==="flex"?!1:ke),g.pin=c,Be=R.core.getCache(c),Be.spacer?er=Be.pinState:(C&&(C=at(C),C&&!C.nodeType&&(C=C.current||C.nativeElement),Be.spacerIsNative=!!C,C&&(Be.spacerState=Pn(C))),Be.spacer=Ee=C||ne.createElement("div"),Ee.classList.add("pin-spacer"),l&&Ee.classList.add("pin-spacer-"+l),Be.pinState=er=Pn(c)),t.force3D!==!1&&R.set(c,{force3D:!0}),g.spacer=Ee=Be.spacer,ni=Dt(c),Oi=ni[p+P.os2],ye=R.getProperty(c),Lt=R.quickSetter(c,P.a,Pe),ds(c,Ee,ni),Dr=Pn(c)),Z){Jt=Xr(Z)?Bo(Z,$o):$o,y=Cn("scroller-start",l,E,P,Jt,0),dt=Cn("scroller-end",l,E,P,Jt,0,y),pr=y["offset"+P.op.d2];var Ei=at(Cr(E,"content")||E);ot=this.markerStart=Cn("start",l,Ei,P,Jt,pr,0,x),_t=this.markerEnd=Cn("end",l,Ei,P,Jt,pr,0,x),x&&(si=R.quickSetter([ot,_t],P.a,Pe)),!K&&!(Qt.length&&Cr(E,"fixedMarkers")===!0)&&(Hu(U?ee:E),R.set([y,dt],{force3D:!0}),dn=R.quickSetter(y,P.a,Pe),ii=R.quickSetter(dt,P.a,Pe))}if(x){var Y=x.vars.onUpdate,A=x.vars.onUpdateParams;x.eventCallback("onUpdate",function(){g.update(0,0,1),Y&&Y.apply(x,A||[])})}if(g.previous=function(){return B[B.indexOf(g)-1]},g.next=function(){return B[B.indexOf(g)+1]},g.revert=function(M,L){if(!L)return g.kill(!0);var D=M!==!1||!g.enabled,I=Ve;D!==g.isReverted&&(D&&(Bt=Math.max(we(),g.scroll.rec||0),Ye=g.progress,zr=i&&i.progress()),ot&&[ot,_t,y,dt].forEach(function(Me){return Me.style.display=D?"none":"block"}),D&&(Ve=g,g.update(D)),c&&(!T||!g.isActive)&&(D?Zu(c,Ee,er):ds(c,Ee,Dt(c),Te)),D||g.update(D),Ve=I,g.isReverted=D)},g.refresh=function(M,L,D,I){if(!((Ve||!g.enabled)&&!L)){if(c&&M&&zt){De(a,"scrollEnd",dl);return}!it&&oe&&oe(g),Ve=g,Ke.tween&&!D&&(Ke.tween.kill(),Ke.tween=0),V&&V.pause(),h&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren?i.getChildren(!0,!0,!1).forEach(function(mr){return mr.vars.immediateRender&&mr.render(0,!0,!0)}):i.vars.immediateRender&&i.render(0,!0,!0)),g.isReverted||g.revert(!0,!0),g._subPinOffset=!1;var Me=je(),q=Ft(),ve=x?x.duration():Kt(E,P),$e=de<=.01||!de,pe=0,ae=I||0,te=Xr(D)?D.end:t.end,$t=t.endTrigger||d,ue=Xr(D)?D.start:t.start||(t.start===0||!d?0:c?"0 0":"0 100%"),pt=g.pinnedContainer=t.pinnedContainer&&at(t.pinnedContainer,g),Ut=d&&Math.max(0,B.indexOf(g))||0,ze=Ut,Fe,Xe,Fr,pn,Ue,Ce,Vt,es,_o,Mi,Wt,Ri,gn;for(Z&&Xr(D)&&(Ri=R.getProperty(y,P.p),gn=R.getProperty(dt,P.p));ze-- >0;)Ce=B[ze],Ce.end||Ce.refresh(0,1)||(Ve=g),Vt=Ce.pin,Vt&&(Vt===d||Vt===c||Vt===pt)&&!Ce.isReverted&&(Mi||(Mi=[]),Mi.unshift(Ce),Ce.revert(!0,!0)),Ce!==B[ze]&&(Ut--,ze--);for(He(ue)&&(ue=ue(g)),ue=Fo(ue,"start",g),Q=Wo(ue,d,Me,P,we(),ot,y,g,q,se,K,ve,x,g._startClamp&&"_startClamp")||(c?-.001:0),He(te)&&(te=te(g)),mt(te)&&!te.indexOf("+=")&&(~te.indexOf(" ")?te=(mt(ue)?ue.split(" ")[0]:"")+te:(pe=Nn(te.substr(2),Me),te=mt(ue)?ue:(x?R.utils.mapRange(0,x.duration(),x.scrollTrigger.start,x.scrollTrigger.end,Q):Q)+pe,$t=d)),te=Fo(te,"end",g),me=Math.max(Q,Wo(te||($t?"100% 0":ve),$t,Me,P,we()+pe,_t,dt,g,q,se,K,ve,x,g._endClamp&&"_endClamp"))||-.001,pe=0,ze=Ut;ze--;)Ce=B[ze]||{},Vt=Ce.pin,Vt&&Ce.start-Ce._pinPush<=Q&&!x&&Ce.end>0&&(Fe=Ce.end-(g._startClamp?Math.max(0,Ce.start):Ce.start),(Vt===d&&Ce.start-Ce._pinPush<Q||Vt===pt)&&isNaN(ue)&&(pe+=Fe*(1-Ce.progress)),Vt===c&&(ae+=Fe));if(Q+=pe,me+=pe,g._startClamp&&(g._startClamp+=pe),g._endClamp&&!it&&(g._endClamp=me||-.001,me=Math.min(me,Kt(E,P))),de=me-Q||(Q-=.01)&&.001,$e&&(Ye=R.utils.clamp(0,1,R.utils.normalize(Q,me,Bt))),g._pinPush=ae,ot&&pe&&(Fe={},Fe[P.a]="+="+pe,pt&&(Fe[P.p]="-="+we()),R.set([ot,_t],Fe)),c&&!(Ls&&g.end>=Kt(E,P)))Fe=Dt(c),pn=P===Oe,Fr=we(),Pt=parseFloat(ye(P.a))+ae,!ve&&me>1&&(Wt=(U?ne.scrollingElement||vt:E).style,Wt={style:Wt,value:Wt["overflow"+P.a.toUpperCase()]},U&&Dt(ee)["overflow"+P.a.toUpperCase()]!=="scroll"&&(Wt.style["overflow"+P.a.toUpperCase()]="scroll")),ds(c,Ee,Fe),Dr=Pn(c),Xe=or(c,!0),es=K&&Mr(E,pn?st:Oe)(),p?(Te=[p+P.os2,de+ae+Pe],Te.t=Ee,ze=p===ke?qn(c,P)+de+ae:0,ze&&(Te.push(P.d,ze+Pe),Ee.style.flexBasis!=="auto"&&(Ee.style.flexBasis=ze+Pe)),xi(Te),pt&&B.forEach(function(mr){mr.pin===pt&&mr.vars.pinSpacing!==!1&&(mr._subPinOffset=!0)}),K&&we(Bt)):(ze=qn(c,P),ze&&Ee.style.flexBasis!=="auto"&&(Ee.style.flexBasis=ze+Pe)),K&&(Ue={top:Xe.top+(pn?Fr-Q:es)+Pe,left:Xe.left+(pn?es:Fr-Q)+Pe,boxSizing:"border-box",position:"fixed"},Ue[Kr]=Ue["max"+Pi]=Math.ceil(Xe.width)+Pe,Ue[Qr]=Ue["max"+fo]=Math.ceil(Xe.height)+Pe,Ue[Rt]=Ue[Rt+en]=Ue[Rt+Zi]=Ue[Rt+tn]=Ue[Rt+Ji]="0",Ue[ke]=Fe[ke],Ue[ke+en]=Fe[ke+en],Ue[ke+Zi]=Fe[ke+Zi],Ue[ke+tn]=Fe[ke+tn],Ue[ke+Ji]=Fe[ke+Ji],dr=ef(er,Ue,T),it&&we(0)),i?(_o=i._initted,us(1),i.render(i.duration(),!0,!0),tr=ye(P.a)-Pt+de+ae,rr=Math.abs(de-tr)>1,K&&rr&&dr.splice(dr.length-2,2),i.render(0,!0,!0),_o||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),us(0)):tr=de,Wt&&(Wt.value?Wt.style["overflow"+P.a.toUpperCase()]=Wt.value:Wt.style.removeProperty("overflow-"+P.a));else if(d&&we()&&!x)for(Xe=d.parentNode;Xe&&Xe!==ee;)Xe._pinOffset&&(Q-=Xe._pinOffset,me-=Xe._pinOffset),Xe=Xe.parentNode;Mi&&Mi.forEach(function(mr){return mr.revert(!1,!0)}),g.start=Q,g.end=me,Qe=Ze=it?Bt:we(),!x&&!it&&(Qe<Bt&&we(Bt),g.scroll.rec=0),g.revert(!1,!0),Ne=We(),Yt&&(_e=-1,Yt.restart(!0)),Ve=0,i&&F&&(i._initted||zr)&&i.progress()!==zr&&i.progress(zr||0,!0).render(i.time(),!0,!0),($e||Ye!==g.progress||x||h||i&&!i._initted)&&(i&&!F&&(i._initted||Ye||i.vars.immediateRender!==!1)&&i.totalProgress(x&&Q<-.001&&!Ye?R.utils.normalize(Q,me,0):Ye,!0),g.progress=$e||(Qe-Q)/
vendor: 11,917 bytes, line 29
29de===Ye?0:Ye),c&&p&&(Ee._pinOffset=Math.round(g.progress*tr)),V&&V.invalidate(),isNaN(Ri)||(Ri-=R.getProperty(y,P.p),gn-=R.getProperty(dt,P.p),On(y,P,Ri),On(ot,P,Ri-(I||0)),On(dt,P,gn),On(_t,P,gn-(I||0))),$e&&!it&&g.update(),f&&!it&&!_r&&(_r=!0,f(g),_r=!1)}},g.getVelocity=function(){return(we()-Ze)/(We()-Yi)*1e3||0},g.endAnimation=function(){Ni(g.callbackAnimation),i&&(V?V.progress(1):i.paused()?F||Ni(i,g.direction<0,1):Ni(i,i.reversed()))},g.labelToScroll=function(M){return i&&i.labels&&(Q||g.refresh()||Q)+i.labels[M]/i.duration()*de||0},g.getTrailing=function(M){var L=B.indexOf(g),D=g.direction>0?B.slice(0,L).reverse():B.slice(L+1);return(mt(M)?D.filter(function(I){return I.vars.preventOverlaps===M}):D).filter(function(I){return g.direction>0?I.end<=Q:I.start>=me})},g.update=function(M,L,D){if(!(x&&!D&&!M)){var I=it===!0?Bt:g.scroll(),Me=M?0:(I-Q)/de,q=Me<0?0:Me>1?1:Me||0,ve=g.progress,$e,pe,ae,te,$t,ue,pt,Ut;if(L&&(Ze=Qe,Qe=x?we():I,v&&(Ar=gr,gr=i&&!F?i.totalProgress():q)),m&&c&&!Ve&&!bn&&zt&&(!q&&Q<I+(I-Ze)/(We()-Yi)*m?q=1e-4:q===1&&me>I+(I-Ze)/(We()-Yi)*m&&(q=.9999)),q!==ve&&g.enabled){if($e=g.isActive=!!q&&q<1,pe=!!ve&&ve<1,ue=$e!==pe,$t=ue||!!q!=!!ve,g.direction=q>ve?1:-1,g.progress=q,$t&&!Ve&&(ae=q&&!ve?0:q===1?1:ve===1?2:3,F&&(te=!ue&&N[ae+1]!=="none"&&N[ae+1]||N[ae],Ut=i&&(te==="complete"||te==="reset"||te in i))),S&&(ue||Ut)&&(Ut||_||!i)&&(He(S)?S(g):g.getTrailing(S).forEach(function(Fr){return Fr.endAnimation()})),F||(V&&!Ve&&!bn?(V._dp._time-V._start!==V._time&&V.render(V._dp._time-V._start),V.resetTo?V.resetTo("totalProgress",q,i._tTime/i._tDur):(V.vars.totalProgress=q,V.invalidate().restart())):i&&i.totalProgress(q,!!(Ve&&(Ne||M)))),c){if(M&&p&&(Ee.style[p+P.os2]=Oi),!K)Lt($i(Pt+tr*q));else if($t){if(pt=!M&&q>ve&&me+1>I&&I+1>=Kt(E,P),T)if(!M&&($e||pt)){var ze=or(c,!0),Fe=I-Q;Go(c,ee,ze.top+(P===Oe?Fe:0)+Pe,ze.left+(P===Oe?0:Fe)+Pe)}else Go(c,Ee);xi($e||pt?dr:Dr),rr&&q<1&&$e||Lt(Pt+(q===1&&!pt?tr:0))}}v&&!Ke.tween&&!Ve&&!bn&&Yt.restart(!0),o&&(ue||k&&q&&(q<1||!fs))&&cn(o.targets).forEach(function(Fr){return Fr.classList[$e||k?"add":"remove"](o.className)}),s&&!F&&!M&&s(g),$t&&!Ve?(F&&(Ut&&(te==="complete"?i.pause().totalProgress(1):te==="reset"?i.restart(!0).pause():te==="restart"?i.restart(!0):i[te]()),s&&s(g)),(ue||!fs)&&(u&&ue&&hs(g,u),H[ae]&&hs(g,H[ae]),k&&(q===1?g.kill(!1,1):H[ae]=0),ue||(ae=q===1?1:3,H[ae]&&hs(g,H[ae]))),O&&!$e&&Math.abs(g.getVelocity())>(Xi(O)?O:2500)&&(Ni(g.callbackAnimation),V?V.progress(1):Ni(i,te==="reverse"?1:!q,1))):F&&s&&!Ve&&s(g)}if(ii){var Xe=x?I/x.duration()*(x._caScrollDist||0):I;dn(Xe+(y._isFlipped?1:0)),ii(Xe)}si&&si(-I/x.duration()*(x._caScrollDist||0))}},g.enable=function(M,L){g.enabled||(g.enabled=!0,De(E,"resize",Ui),U||De(E,"scroll",ui),oe&&De(a,"refreshInit",oe),M!==!1&&(g.progress=Ye=0,Qe=Ze=_e=we()),L!==!1&&g.refresh())},g.getTween=function(M){return M&&Ke?Ke.tween:V},g.setPositions=function(M,L,D,I){if(x){var Me=x.scrollTrigger,q=x.duration(),ve=Me.end-Me.start;M=Me.start+ve*M/q,L=Me.start+ve*L/q}g.refresh(!1,!1,{start:Lo(M,D&&!!g._startClamp),end:Lo(L,D&&!!g._endClamp)},I),g.update()},g.adjustPinSpacing=function(M){if(Te&&M){var L=Te.indexOf(P.d)+1;Te[L]=parseFloat(Te[L])+M+Pe,Te[1]=parseFloat(Te[1])+M+Pe,xi(Te)}},g.disable=function(M,L){if(M!==!1&&g.revert(!0,!0),g.enabled&&(g.enabled=g.isActive=!1,L||V&&V.pause(),Bt=0,Be&&(Be.uncache=1),oe&&Re(a,"refreshInit",oe),Yt&&(Yt.pause(),Ke.tween&&Ke.tween.kill()&&(Ke.tween=0)),!U)){for(var D=B.length;D--;)if(B[D].scroller===E&&B[D]!==g)return;Re(E,"resize",Ui),U||Re(E,"scroll",ui)}},g.kill=function(M,L){g.disable(M,L),V&&!L&&V.kill(),l&&delete Is[l];var D=B.indexOf(g);D>=0&&B.splice(D,1),D===rt&&Fn>0&&rt--,D=0,B.forEach(function(I){return I.scroller===g.scroller&&(D=1)}),D||it||(g.scroll.rec=0),i&&(i.scrollTrigger=null,M&&i.revert({kill:!1}),L||i.kill()),ot&&[ot,_t,y,dt].forEach(function(I){return I.parentNode&&I.parentNode.removeChild(I)}),rn===g&&(rn=0),c&&(Be&&(Be.uncache=1),D=0,B.forEach(function(I){return I.pin===c&&D++}),D||(Be.spacer=0)),t.onKill&&t.onKill(g)},B.push(g),g.enable(!1,!1),ir&&ir(g),i&&i.add&&!de){var J=g.update;g.update=function(){g.update=J,X.cache++,Q||me||g.refresh()},R.delayedCall(.01,g.update),de=.01,Q=me=0}else g.refresh();c&&Qu()},a.register=function(t){return fi||(R=t||ll(),al()&&window.document&&a.enable(),fi=Bi),fi},a.defaults=function(t){if(t)for(var i in t)Sn[i]=t[i];return Sn},a.disable=function(t,i){Bi=0,B.forEach(function(s){return s[i?"kill":"disable"](t)}),Re($,"wheel",ui),Re(ne,"scroll",ui),clearInterval(xn),Re(ne,"touchcancel",Ht),Re(ee,"touchstart",Ht),Tn(Re,ne,"pointerdown,touchstart,mousedown",Io),Tn(Re,ne,"pointerup,touchend,mouseup",Yo),Hn.kill(),wn(Re);for(var n=0;n<X.length;n+=3)kn(Re,X[n],X[n+1]),kn(Re,X[n],X[n+2])},a.enable=function(){if($=window,ne=document,vt=ne.documentElement,ee=ne.body,R&&(cn=R.utils.toArray,Ki=R.utils.clamp,Fs=R.core.context||Ht,us=R.core.suppressOverwrites||Ht,oo=$.history.scrollRestoration||"auto",Ys=$.pageYOffset||0,R.core.globals("ScrollTrigger",a),ee)){Bi=1,vi=document.createElement("div"),vi.style.height="100vh",vi.style.position="absolute",yl(),Vu(),be.register(R),a.isTouch=be.isTouch,yr=be.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),zs=be.isTouch===1,De($,"wheel",ui),so=[$,ne,vt,ee],R.matchMedia?(a.matchMedia=function(u){var f=R.matchMedia(),_;for(_ in u)f.add(_,u[_]);return f},R.addEventListener("matchMediaInit",function(){gl(),ho()}),R.addEventListener("matchMediaRevert",function(){return pl()}),R.addEventListener("matchMedia",function(){Wr(0,1),ti("matchMedia")}),R.matchMedia().add("(orientation: portrait)",function(){return _s(),_s})):console.warn("Requires GSAP 3.11.0 or later"),_s(),De(ne,"scroll",ui);var t=ee.hasAttribute("style"),i=ee.style,n=i.borderTopStyle,s=R.core.Animation.prototype,o,l;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",o=or(ee),Oe.m=Math.round(o.top+Oe.sc())||0,st.m=Math.round(o.left+st.sc())||0,n?i.borderTopStyle=n:i.removeProperty("border-top-style"),t||(ee.setAttribute("style",""),ee.removeAttribute("style")),xn=setInterval(Xo,250),R.delayedCall(.5,function(){return bn=0}),De(ne,"touchcancel",Ht),De(ee,"touchstart",Ht),Tn(De,ne,"pointerdown,touchstart,mousedown",Io),Tn(De,ne,"pointerup,touchend,mouseup",Yo),Ns=R.utils.checkPrefix("transform"),Ln.push(Ns),fi=We(),Hn=R.delayedCall(.2,Wr).pause(),ci=[ne,"visibilitychange",function(){var u=$.innerWidth,f=$.innerHeight;ne.hidden?(No=u,zo=f):(No!==u||zo!==f)&&Ui()},ne,"DOMContentLoaded",Wr,$,"load",Wr,$,"resize",Ui],wn(De),B.forEach(function(u){return u.enable(0,1)}),l=0;l<X.length;l+=3)kn(Re,X[l],X[l+1]),kn(Re,X[l],X[l+2])}},a.config=function(t){"limitCallbacks"in t&&(fs=!!t.limitCallbacks);var i=t.syncInterval;i&&clearInterval(xn)||(xn=i)&&setInterval(Xo,i),"ignoreMobileResize"in t&&(zs=a.isTouch===1&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(wn(Re)||wn(De,t.autoRefreshEvents||"none"),nl=(t.autoRefreshEvents+"").indexOf("resize")===-1)},a.scrollerProxy=function(t,i){var n=at(t),s=X.indexOf(n),o=Jr(n);~s&&X.splice(s,o?6:2),i&&(o?Qt.unshift($,i,ee,i,vt,i):Qt.unshift(n,i))},a.clearMatchMedia=function(t){B.forEach(function(i){return i._ctx&&i._ctx.query===t&&i._ctx.kill(!0,!0)})},a.isInViewport=function(t,i,n){var s=(mt(t)?at(t):t).getBoundingClientRect(),o=s[n?Kr:Qr]*i||0;return n?s.right-o>0&&s.left+o<$.innerWidth:s.bottom-o>0&&s.top+o<$.innerHeight},a.positionInViewport=function(t,i,n){mt(t)&&(t=at(t));var s=t.getBoundingClientRect(),o=s[n?Kr:Qr],l=i==null?o/2:i in jn?jn[i]*o:~i.indexOf("%")?parseFloat(i)*o/100:parseFloat(i)||0;return n?(s.left+l)/$.innerWidth:(s.top+l)/$.innerHeight},a.killAll=function(t){if(B.slice(0).forEach(function(n){return n.vars.id!=="ScrollSmoother"&&n.kill()}),t!==!0){var i=ei.killAll||[];ei={},i.forEach(function(n){return n()})}},a}();W.version="3.14.2";W.saveStyles=function(a){return a?cn(a).forEach(function(e){if(e&&e.style){var r=gt.indexOf(e);r>=0&>.splice(r,5),gt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),R.core.getCache(e),Fs())}}):gt};W.revert=function(a,e){return ho(!a,e)};W.create=function(a,e){return new W(a,e)};W.refresh=function(a){return a?Ui(!0):(fi||W.register())&&Wr(!0)};W.update=function(a){return++X.cache&&ur(a===!0?2:0)};W.clearScrollMemory=ml;W.maxScroll=function(a,e){return Kt(a,e?st:Oe)};W.getScrollFunc=function(a,e){return Mr(at(a),e?st:Oe)};W.getById=function(a){return Is[a]};W.getAll=function(){return B.filter(function(a){return a.vars.id!=="ScrollSmoother"})};W.isScrolling=function(){return!!zt};W.snapDirectional=co;W.addEventListener=function(a,e){var r=ei[a]||(ei[a]=[]);~r.indexOf(e)||r.push(e)};W.removeEventListener=function(a,e){var r=ei[a],t=r&&r.indexOf(e);t>=0&&r.splice(t,1)};W.batch=function(a,e){var r=[],t={},i=e.interval||.016,n=e.batchMax||1e9,s=function(u,f){var _=[],d=[],c=R.delayedCall(i,function(){f(_,d),_=[],d=[]}).pause();return function(p){_.length||c.restart(!0),_.push(p.trigger),d.push(p),n<=_.length&&c.progress(1)}},o;for(o in e)t[o]=o.substr(0,2)==="on"&&He(e[o])&&o!=="onRefreshInit"?s(o,e[o]):e[o];return He(n)&&(n=n(),De(W,"refresh",function(){return n=e.batchMax()})),cn(a).forEach(function(l){var u={};for(o in t)u[o]=t[o];u.trigger=l,r.push(W.create(u))}),r};var qo=function(e,r,t,i){return r>i?e(i):r<0&&e(0),t>i?(i-r)/(t-r):t<0?r/(r-t):1},ps=function a(e,r){r===!0?e.style.removeProperty("touch-action"):e.style.touchAction=r===!0?"auto":r?"pan-"+r+(be.isTouch?" pinch-zoom":""):"none",e===vt&&a(ee,r)},En={auto:1,scroll:1},rf=function(e){var r=e.event,t=e.target,i=e.axis,n=(r.changedTouches?r.changedTouches[0]:r).target,s=n._gsap||R.core.getCache(n),o=We(),l;if(!s._isScrollT||o-s._isScrollT>2e3){for(;n&&n!==ee&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(En[(l=Dt(n)).overflowY]||En[l.overflowX]));)n=n.parentNode;s._isScroll=n&&n!==t&&!Jr(n)&&(En[(l=Dt(n)).overflowY]||En[l.overflowX]),s._isScrollT=o}(s._isScroll||i==="x")&&(r.stopPropagation(),r._gsapAllow=!0)},xl=function(e,r,t,i){return be.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:r,onWheel:i=i&&rf,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return t&&De(ne,be.eventTypes[0],Ko,!1,!0)},onDisable:function(){return Re(ne,be.eventTypes[0],Ko,!0)}})},nf=/(input|label|select|textarea)/i,jo,Ko=function(e){var r=nf.test(e.target.tagName);(r||jo)&&(e._gsapAllow=!0,jo=r)},sf=function(e){Xr(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 r=e,t=r.normalizeScrollX,i=r.momentum,n=r.allowNestedScroll,s=r.onRelease,o,l,u=at(e.target)||vt,f=R.core.globals().ScrollSmoother,_=f&&f.get(),d=yr&&(e.content&&at(e.content)||_&&e.content!==!1&&!_.smooth()&&_.content()),c=Mr(u,Oe),p=Mr(u,st),h=1,m=(be.isTouch&&$.visualViewport?$.visualViewport.scale*$.visualViewport.width:$.outerWidth)/$.innerWidth,w=0,b=He(i)?function(){return i(o)}:function(){return i||2.8},k,v,T=xl(u,e.type,!0,n),C=function(){return v=!1},x=Ht,O=Ht,S=function(){l=Kt(u,Oe),O=Ki(yr?1:0,l),t&&(x=Ki(0,Kt(u,st))),k=Zr},P=function(){d._gsap.y=$i(parseFloat(d._gsap.y)+c.offset)+"px",d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(d._gsap.y)+", 0, 1)",c.offset=c.cacheID=0},F=function(){if(v){requestAnimationFrame(C);var Z=$i(o.deltaY/2),se=O(c.v-Z);if(d&&se!==c.v+c.offset){c.offset=se-c.v;var g=$i((parseFloat(d&&d._gsap.y)||0)-c.offset);d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+g+", 0, 1)",d._gsap.y=g+"px",c.cacheID=X.cache,ur()}return!0}c.offset&&P(),v=!0},E,G,U,K,H=function(){S(),E.isActive()&&E.vars.scrollY>l&&(c()>l?E.progress(1)&&c(l):E.resetTo("scrollY",l))};return d&&R.set(d,{y:"+=0"}),e.ignoreCheck=function(N){return yr&&N.type==="touchmove"&&F()||h>1.05&&N.type!=="touchstart"||o.isGesturing||N.touches&&N.touches.length>1},e.onPress=function(){v=!1;var N=h;
29h=$i(($.visualViewport&&$.visualViewport.scale||1)/m),E.pause(),N!==h&&ps(u,h>1.01?!0:t?!1:"x"),G=p(),U=c(),S(),k=Zr},e.onRelease=e.onGestureStart=function(N,Z){if(c.offset&&P(),!Z)K.restart(!0);else{X.cache++;var se=b(),g,oe;t&&(g=p(),oe=g+se*.05*-N.velocityX/.227,se*=qo(p,g,oe,Kt(u,st)),E.vars.scrollX=x(oe)),g=c(),oe=g+se*.05*-N.velocityY/.227,se*=qo(c,g,oe,Kt(u,Oe)),E.vars.scrollY=O(oe),E.invalidate().duration(se).play(.01),(yr&&E.vars.scrollY>=l||g>=l-1)&&R.to({},{onUpdate:H,duration:se})}s&&s(N)},e.onWheel=function(){E._ts&&E.pause(),We()-w>1e3&&(k=0,w=We())},e.onChange=function(N,Z,se,g,oe){if(Zr!==k&&S(),Z&&t&&p(x(g[2]===Z?G+(N.startX-N.x):p()+Z-g[1])),se){c.offset&&P();var je=oe[2]===se,Ft=je?U+N.startY-N.y:c()+se-oe[1],_e=O(Ft);je&&Ft!==_e&&(U+=_e-Ft),c(_e)}(se||Z)&&ur()},e.onEnable=function(){ps(u,t?!1:"x"),W.addEventListener("refresh",H),De($,"resize",H),c.smooth&&(c.target.style.scrollBehavior="auto",c.smooth=p.smooth=!1),T.enable()},e.onDisable=function(){ps(u,!0),Re($,"resize",H),W.removeEventListener("refresh",H),T.kill()},e.lockAxis=e.lockAxis!==!1,o=new be(e),o.iOS=yr,yr&&!c()&&c(1),yr&&R.ticker.add(Ht),K=o._dc,E=R.to(o,{ease:"power4",paused:!0,inherit:!1,scrollX:t?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:vl(c,c(),function(){return E.pause()})},onUpdate:ur,onComplete:K.vars.onComplete}),o};W.sort=function(a){if(He(a))return B.sort(a);var e=$.pageYOffset||0;return W.getAll().forEach(function(r){return r._sortY=r.trigger?e+r.trigger.getBoundingClientRect().top:r.start+$.innerHeight}),B.sort(a||function(r,t){return(r.vars.refreshPriority||0)*-1e6+(r.vars.containerAnimation?1e6:r._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+(t.vars.refreshPriority||0)*-1e6)})};W.observe=function(a){return new be(a)};W.normalizeScroll=function(a){if(typeof a>"u")return tt;if(a===!0&&tt)return tt.enable();if(a===!1){tt&&tt.kill(),tt=a;return}var e=a instanceof be?a:sf(a);return tt&&tt.target===e.target&&tt.kill(),Jr(e.target)&&(tt=e),e};W.core={_getVelocityProp:As,_inputObserver:xl,_scrollers:X,_proxies:Qt,bridge:{ss:function(){zt||ti("scrollStart"),zt=We()},ref:function(){return Ve}}};ll()&&R.registerPlugin(W);Et.registerPlugin(W);const Ur="#D7DCE2",ar="#000000",Mt="#45C8FF",Yr='"Anton", "Arial Narrow", sans-serif',zi='"Google Sans", sans-serif',of=["ENGINEER","MOTION","RESEARCH","BUILDER"],gs=[{text:"HELLO.",bg:ar,color:Ur},{text:"I MAKE",bg:Mt,color:ar},{text:"THINGS",bg:ar,color:Mt},{text:"MOVE.",bg:Ur,color:ar}],af=[{n:"01",word:"WORK",sub:"where i've been",path:"/work-history"},{n:"02",word:"PROJECTS",sub:"what i've built",path:"/projects"},{n:"03",word:"RESEARCH",sub:"what i've studied",path:"/research"},{n:"04",word:"LABS",sub:"experiments & toys",path:"/labs"}],Qo="JONATHAN OUYANG ⦠PORTFOLIO 2026 ⦠ENGINEER ⦠MOTION ⦠RESEARCH ⦠",Fi=({text:a,className:e})=>z.jsx("span",{className:`kh-line ${e||""}`,"aria-label":a,children:a.split("").map((r,t)=>z.jsx("span",{className:"kh-ch","aria-hidden":"true",children:r===" "?" ":r},t))}),uf=()=>{const a=oi.useRef(null),e=oi.useRef(null),r=oi.useRef(null),t=oi.useRef(null),i=oi.useRef(null);return oi.useLayoutEffect(()=>{const n=window.matchMedia("(prefers-reduced-motion: reduce)").matches,s=Et.context(()=>{const o=a.current.querySelectorAll(".kh-hero .kh-ch"),l=a.current.querySelector(".kh-bar"),u=a.current.querySelectorAll(".kh-meta");if(n){Et.set(e.current,{display:"none"}),Et.set([o,l,u],{clearProps:"all"});return}const f=Et.timeline();gs.forEach((p,h)=>{f.set(e.current,{backgroundColor:p.bg},h*.3),f.set(r.current,{textContent:p.text,color:p.color},h*.3)}),f.to(e.current,{clipPath:"inset(0% 0% 100% 0%)",duration:.55,ease:"power4.inOut"},gs.length*.3+.15),f.set(e.current,{display:"none"});const _=gs.length*.3+.3;f.fromTo(o,{yPercent:115},{yPercent:0,duration:.75,ease:"power4.out",stagger:.032},_),f.fromTo(l,{scaleX:0},{scaleX:1,duration:.6,ease:"power4.inOut"},_+.35),f.fromTo(i.current,{opacity:.85},{opacity:0,duration:.5,ease:"power2.out"},_+.25),f.fromTo(u,{y:14,opacity:0},{y:0,opacity:1,duration:.5,ease:"power3.out",stagger:.08},_+.5);const d=Et.timeline({repeat:-1,delay:_+.9});of.forEach(p=>{d.call(()=>{t.current.textContent=p}).fromTo(t.current,{yPercent:120},{yPercent:0,duration:.34,ease:"power4.out"}).to(t.current,{yPercent:-120,duration:.26,ease:"power4.in",delay:1.05})});const c=a.current.querySelector(".kh-dmc");c&&(Et.fromTo(c.querySelector(".kh-dmc-img"),{yPercent:-10},{yPercent:10,ease:"none",scrollTrigger:{trigger:c,start:"top bottom",end:"bottom top",scrub:!0}}),Et.fromTo(c.querySelectorAll(".kh-dmc-title .kh-ch"),{yPercent:115},{yPercent:0,duration:.7,ease:"power4.out",stagger:.045,scrollTrigger:{trigger:c,start:"top 62%",toggleActions:"play none none reverse"}}),Et.fromTo(c.querySelectorAll(".kh-dmc-meta"),{y:18,opacity:0}
29,{y:0,opacity:1,duration:.5,ease:"power3.out",stagger:.1,scrollTrigger:{trigger:c,start:"top 55%",toggleActions:"play none none reverse"}})),a.current.querySelectorAll(".kh-slab").forEach(p=>{const h=p.querySelectorAll(".kh-ch");Et.fromTo(h,{yPercent:115},{yPercent:0,duration:.65,ease:"power4.out",stagger:.03,scrollTrigger:{trigger:p,start:"top 78%",toggleActions:"play none none reverse"}}),Et.fromTo(p.querySelector(".kh-slab-meta"),{y:18,opacity:0},{y:0,opacity:1,duration:.5,ease:"power3.out",scrollTrigger:{trigger:p,start:"top 70%",toggleActions:"play none none reverse"}})})},a);return()=>s.revert()},[]),z.jsxs("div",{ref:a,className:"kh-root",children:[z.jsx("style",{children:` 30 .kh-root { 31 background: ${ar}; 32 color: ${Ur}; 33 min-height: 100vh; 34 overflow: hidden; 35 cursor: default; 36 } 37 .kh-line { display: inline-flex; overflow: hidden; vertical-align: bottom; } 38 .kh-ch { display: inline-block; will-change: transform; } 39 40 /* intro overlay */ 41 .kh-intro { 42 position: fixed; inset: 0; z-index: 60; 43 display: flex; align-items: center; justify-content: center; 44 clip-path: inset(0% 0% 0% 0%); 45 background: ${ar}; 46 } 47 .kh-intro-word { 48 font-family: ${Yr}; 49 font-size: clamp(3.5rem, 14vw, 12rem); 50 letter-spacing: 0.01em; 51 line-height: 1; 52 } 53 54 /* hero */ 55 .kh-hero { 56 position: relative; 57 min-height: 100vh; 58 display: flex; flex-direction: column; justify-content: center; 59 padding: 0 clamp(1.25rem, 5vw, 4.5rem); 60 } 61 .kh-flash { position: absolute; inset: 0; background: ${Mt}; pointer-events: none; opacity: 0; } 62 .kh-name { 63 font-family: ${Yr}; 64 font-size: clamp(4rem, 16.5vw, 15rem); 65 line-height: 0.92; 66 letter-spacing: 0.005em; 67 margin: 0; 68 } 69 .kh-name .kh-hot { color: ${Mt}; } 70 .kh-bar { 71 height: clamp(8px, 1.2vw, 16px); 72 background: ${Mt}; 73 transform-origin: left center; 74 margin: clamp(0.9rem, 2vw, 1.6rem) 0; 75 width: min(46vw, 520px); 76 } 77 .kh-roleline { 78 display: flex; align-items: baseline; gap: 0.75rem; 79 font-family: ${zi}; 80 } 81 .kh-role-label { font-size: clamp(0.7rem, 1.1vw, 0.85rem); font-weight: 600; letter-spacing: 0.28em; color: #8a95a3; } 82 .kh-role-mask { overflow: hidden; display: inline-block; } 83 .kh-role { 84 display: inline-block; 85 font-family: ${Yr}; 86 font-size: clamp(1.6rem, 3.6vw, 3.2rem); 87 line-height: 1.05; 88 color: ${Ur}; 89 } 90 .kh-meta { 91 position: absolute; 92 font-family: ${zi}; 93 font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; color: #8a95a3; 94 } 95 .kh-meta.tl { top: clamp(4.5rem, 9vh, 6rem); left: clamp(1.25rem, 5vw, 4.5rem); } 96 .kh-meta.tr { top: clamp(4.5rem, 9vh, 6rem); right: clamp(1.25rem, 5vw, 4.5rem); text-align: right; } 97 .kh-meta.bl { bottom: clamp(5.5rem, 10vh, 4rem); left: clamp(1.25rem, 5vw, 4.5rem); } 98 99 /* ticker */ 100 .kh-ticker { 101 background: ${Mt}; color: ${ar}; 102 transform: rotate(-1.5deg) scale(1.02); 103 padding: 0.55rem 0; 104 overflow: hidden; white-space: nowrap; 105 font-family: ${Yr}; 106 font-size: clamp(1.1rem, 2.2vw, 1.8rem); 107 user-select: none; 108 } 109 .kh-ticker-track { display: inline-block; animation: kh-marquee 22s linear infinite; } 110 @keyframes kh-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } } 111 @media (prefers-reduced-motion: reduce) { .kh-ticker-track { animation: none; } } 112 113 /* delorean interlude */ 114 .kh-dmc { 115 position: relative; 116 height: min(92vh, 860px); 117 overflow: hidden; 118 display: flex; align-items: flex-end; 119 } 120 .kh-dmc-img { 121 position: absolute; inset: -12% 0; 122 width: 100%; height: 124%; 123 object-fit: cover; 124 filter: grayscale(1) contrast(1.1) brightness(0.78); 125 will-change: transform; 126 } 127 .kh-dmc-tint { 128 position: absolute; inset: 0; 129 background: ${Mt}; 130 mix-blend-mode: soft-light; 131 opacity: 0.45; 132 pointer-events: none; 133 } 134 .kh-dmc-fade { 135 position: absolute; inset: 0; 136 background: linear-gradient(to bottom, ${ar} 0%, transparent 22%, transparent 62%, ${ar} 100%); 137 pointer-events: none; 138 } 139 .kh-dmc-copy { 140 position: relative; z-index: 1; 141 padding: 0 clamp(1.25rem, 5vw, 4.5rem) clamp(2rem, 6vh, 3.5rem); 142 } 143 .kh-dmc-title { 144 font-family: ${Yr}; 145 font-size: clamp(4rem, 14vw, 13rem); 146 line-height: 0.92; 147 color: ${Ur}; 148 text-shadow: 0 0 60px rgba(0, 0, 0, 0.65); 149 } 150 .kh-dmc-title .kh-hot { color: ${Mt}; } 151 .kh-dmc-meta { 152 font-family: ${zi}; font-weight: 600; 153 font-size: 0.72rem; letter-spacing: 0.24em; color: #b9c2cc; 154 margin-bottom: 0.6rem; 155 } 156 .kh-dmc-meta.after { margin: 0.9rem 0 0; color: ${Mt}; } 157 158 /* nav slabs */ 159 .kh-slabs { padding: clamp(3rem, 8vh, 6rem) 0 0; } 160 .kh-slab { 161 display: block; text-decoration: none; color: inherit; 162 position: relative; 163 padding: clamp(1.6rem, 4.5vh, 3.2rem) clamp(1.25rem, 5vw, 4.5rem); 164 border-top: 1px solid #1d232b; 165 } 166 .kh-slab:last-of-type { border-bottom: 1px solid #1d232b; } 167 .kh-slab-word { 168 font-family: ${Yr}; 169 font-size: clamp(3.2rem, 11.5vw, 10rem); 170 line-height: 0.95; 171 color: transparent; 172 -webkit-text-stroke: 1.5px rgba(242, 240, 234, 0.55); 173 transition: color 0.22s ease, -webkit-text-stroke-color 0.22s ease; 174 } 175 .kh-slab:hover .kh-slab-word { color: ${Ur}; -webkit-text-stroke-color: transparent; } 176 .kh-slab-meta { 177 display: flex; align-items: center; gap: 1rem; 178 font-family: ${zi}; font-weight: 600; 179 font-size: 0.72rem; letter-spacing: 0.24em; color: #8a95a3; 180 margin-bottom: 0.6rem; 181 } 182 .kh-slab-n { color: ${Mt}; font-weight: 700; } 183 .kh-slab-arrow { 184 position: absolute; right: clamp(1.25rem, 5vw, 4.5rem); top: 50%; 185 transform: translate(-14px, -50%); 186 font-family: ${Yr}; 187 font-size: clamp(1.6rem, 3.5vw, 3rem); 188 color: ${Mt}; 189 opacity: 0; transition: opacity 0.22s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1); 190 } 191 .kh-slab:hover .kh-slab-arrow { opacity: 1; transform: translate(0, -50%); } 192 193 /* footer */ 194 .kh-footer { 195 display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; 196 padding: clamp(2rem, 6vh, 4rem) clamp(1.25rem, 5vw, 4.5rem) calc(clamp(2rem, 6vh, 4rem) + 84px); 197 font-family: ${zi}; font-weight: 600; 198 font-size: 0.72rem; letter-spacing: 0.24em; color: #8a95a3; 199 } 200 .kh-footer a { color: ${Ur}; text-decoration: none; } 201 .kh-footer a:hover { color: ${Mt}; } 202 `}),z.jsx("div",{className:"kh-intro",ref:e,children:z.jsx("div",{className:"kh-intro-word",ref:r,children:"HELLO."})}),z.jsxs("section",{className:"kh-hero",children:[z.jsx("div",{className:"kh-flash",ref:i}),z.jsx("div",{className:"kh-meta tl",children:"PORTFOLIO â 2026"}),z.jsxs("div",{className:"kh-meta tr",children:["LOS ANGELES, CA",z.jsx("br",{}),"UCLA"]}),z.jsxs("h1",{className:"kh-name",children:[z.jsx(Fi,{text:"JONATHAN"}),z.jsx("br",{}),z.jsx(Fi,{text:"OUYANG",className:"kh-hot"})]}),z.jsx("div",{className:"kh-bar"}),z.jsxs("div",{className:"kh-roleline",children:[z.jsx("span",{className:"kh-role-label",children:"CURRENTLY /"}),z.jsx("span",{className:"kh-role-mask",children:z.jsx("span",{className:"kh-role",ref:t,children:"ENGINEER"})})]}),z.jsx("div",{className:"kh-meta bl",children:"SCROLL â"})]}),z.jsx("div",{className:"kh-ticker","aria-hidden":"true",children:z.jsxs("div",{className:"kh-ticker-track",children:[Qo.repeat(4),Qo.repeat(4)]})}),z.jsxs("section",{className:"kh-dmc",children:[z.jsx("img",{className:"kh-dmc-img",src:"/assets/delorean/hero.jpg",alt:"DeLorean with gullwing doors open"}),z.jsx("div",{className:"kh-dmc-tint"}),z.jsx("div",{className:"kh-dmc-fade"}),z.jsxs("div",{className:"kh-dmc-copy",children:[z.jsx("div",{className:"kh-dmc-meta",children:"INTERLUDE / TIME CIRCUITS ON"}),z.jsxs("div",{className:"kh-dmc-title",children:[z.jsx(Fi,{text:"88",className:"kh-hot"})," ",z.jsx(Fi,{text:"MPH"})]}),z.jsx("div",{className:"kh-dmc-meta after",children:"WHERE WE'RE GOING, WE DON'T NEED ROADS"})]})]}),z.jsx("nav",{className:"kh-slabs",children:af.map(n=>z.jsxs(bl,{className:"kh-slab",to:n.path,children:[z.jsxs("div",{className:"kh-slab-meta",children:[z.jsx("span",{className:"kh-slab-n",children:n.n}),z.jsx("span",{children:n.sub.toUpperCase()})]}),z.jsx("div",{className:"kh-slab-word",children:z.jsx(Fi,{text:n.word})}),z.jsx("span",{className:"kh-slab-arrow",children:"â"})]},n.n))}),z.jsxs("footer",{className:"kh-footer",children:[z.jsx("span",{children:"© 2026 JONATHAN OUYANG"}),z.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"})]})]})};export{uf as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.