marquee-content 4.4.0 → 4.5.1-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ "use strict";var wu=Object.defineProperty;var Eu=(e,t,n)=>t in e?wu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var $t=(e,t,n)=>Eu(e,typeof t!="symbol"?t+"":t,n);function Gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ro(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var js,Be,he,fe,Lt,vs,Hs,io,so,ar,Hr,Mr,ci,Ji,_a,ma,ga,xt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},dr={duration:.5,overwrite:!1,delay:0},en=1e8,tt=1e-8,ys=2*Math.PI,Au=ys/4,Cu=0,ao=Math.sqrt,Su=Math.cos,Pu=Math.sin,Re=function(e){return typeof e=="string"},me=function(e){return typeof e=="function"},nn=function(e){return typeof e=="number"},Qs=function(e){return e===void 0},jt=function(e){return typeof e=="object"},at=function(e){return e!==!1},$s=function(){return typeof window<"u"},hi=function(e){return me(e)||Re(e)},oo=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},We=Array.isArray,xs=/(?:-?\.?\d|\.)+/gi,uo=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,or=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,es=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,lo=/[+-]=-?[.\d]+/,co=/[^,'"\[\]\s]+/gi,Du=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,yt={},Fi={},ho=function(e){return(Fi=_r(e,yt))&&ut},Qr=function(e,t){return!t&&void 0},fo=function(e,t){return e&&(yt[e]=t)&&Fi&&(Fi[e]=t)||yt},$r=function(){return 0},Ru={suppressEvents:!0,isStart:!0,kill:!1},Mi={suppressEvents:!0,kill:!1},Fu={suppressEvents:!0},Gs={},vn=[],bs={},dt={},ts={},va=30,Oi=[],Zs="",Ks=function(e){var t,n,r=e[0];if(jt(r)||me(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(n=Oi.length;n--&&!Oi[n].targetTest(r););t=Oi[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Fo(e[n],t)))||e.splice(n,1);return e},In=function(e){return e._gsap||Ks(At(e))[0]._gsap},po=function(e,t,n){return(n=e[t])&&me(n)?e[t]():Qs(n)&&e.getAttribute&&e.getAttribute(t)||n},st=function(e,t){return(e=e.split(",")).forEach(t)||e},ye=function(e){return Math.round(1e5*e)/1e5||0},Me=function(e){return Math.round(1e7*e)/1e7||0},lr=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n==="+"?e+r:n==="-"?e-r:n==="*"?e*r:e/r},zu=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},zi=function(){var e,t,n=vn.length,r=vn.slice(0);for(bs={},vn.length=0,e=0;e<n;e++)(t=r[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},_o=function(e,t,n,r){vn.length&&!Be&&zi(),e.render(t,n,Be&&t<0&&(e._initted||e._startAt)),vn.length&&!Be&&zi()},mo=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(co).length<2?t:Re(e)?e.trim():e},go=function(e){return e},bt=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},_r=function(e,t){for(var n in t)e[n]=t[n];return e},ya=function e(t,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(t[r]=jt(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},Ii=function(e,t){var n,r={};for(n in e)n in t||(r[n]=e[n]);return r},zr=function(e){var t,n=e.parent||fe,r=e.keyframes?(t=We(e.keyframes),function(i,s){for(var a in s)a in i||a==="duration"&&t||a==="ease"||(i[a]=s[a])}):bt;if(at(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},vo=function(e,t,n,r,i){var s,a=e[r];if(i)for(s=t[i];a&&a[i]>s;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},ji=function(e,t,n,r){n===void 0&&(n="_first"),r===void 0&&(r="_last");var i=t._prev,s=t._next;i?i._next=s:e[n]===t&&(e[n]=s),s?s._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},xn=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Bn=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},ns=function(e,t,n,r){return e._startAt&&(Be?e._startAt.revert(Mi):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},Iu=function e(t){return!t||t._ts&&e(t.parent)},xa=function(e){return e._repeat?cr(e._tTime,e=e.duration()+e._rDelay)*e:0},cr=function(e,t){var n=Math.floor(e=Me(e/t));return e&&n===e?n-1:n},Bi=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Hi=function(e){return e._end=Me(e._start+(e._tDur/Math.abs(e._ts||e._rts||tt)||0))},Qi=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Me(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Hi(e),n._dirty||Bn(n,e)),e},yo=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=Bi(e.rawTime(),t),(!t._dur||ni(0,t.totalDuration(),n)-t._tTime>tt)&&t.render(n,!0)),Bn(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-1e-8}},Nt=function(e,t,n,r){return t.parent&&xn(t),t._start=Me((nn(n)?n:n||e!==fe?Ot(e,n,t):e._time)+t._delay),t._end=Me(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),vo(e,t,"_first","_last",e._sort?"_start":0),Ts(t)||(e._recent=t),r||yo(e,t),e._ts<0&&Qi(e,e._tTime),e},xo=function(e,t){return yt.ScrollTrigger?yt.ScrollTrigger.create(t,e):void 0},ba=function(e,t,n,r,i){return Es(e,t,i),e._initted?!n&&e._pt&&!Be&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&so!==gt.frame?(vn.push(e),e._lazy=[i,r],1):void 0:1},Bu=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},Ts=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},mr=function(e,t,n,r){var i=e._repeat,s=Me(t)||0,a=e._tTime/e._tDur;return a&&!r&&(e._time*=s/e._dur),e._dur=s,e._tDur=i?i<0?1e10:Me(s*(i+1)+e._rDelay*i):s,a>0&&!r&&Qi(e,e._tTime=e._tDur*a),e.parent&&Hi(e),n||Bn(e.parent,e),e},Ta=function(e){return e instanceof Je?Bn(e):mr(e,e._dur)},Yu={_start:0,endTime:$r,totalDuration:$r},Ot=function e(t,n,r){var i,s,a,o=t.labels,u=t._recent||Yu,l=t.duration()>=en?u.endTime(!1):t._dur;return Re(n)&&(isNaN(n)||n in o)?(s=n.charAt(0),a=n.substr(-1)==="%",i=n.indexOf("="),s==="<"||s===">"?(i>=0&&(n=n.replace(/=/,"")),(s==="<"?u._start:u.endTime(u._repeat>=0))+(parseFloat(n.substr(1))||0)*(a?(i<0?u:r).totalDuration()/100:1)):i<0?(n in o||(o[n]=l),o[n]):(s=parseFloat(n.charAt(i-1)+n.substr(i+1)),a&&r&&(s=s/100*(We(r)?r[0]:r).totalDuration()),i>1?e(t,n.substr(0,i-1),r)+s:l+s)):n==null?l:+n},Ir=function(e,t,n){var r,i,s=nn(t[1]),a=(s?2:1)+(e<2?0:1),o=t[a];if(s&&(o.duration=t[1]),o.parent=n,e){for(r=o,i=n;i&&!("immediateRender"in r);)r=i.vars.defaults||{},i=at(i.vars.inherit)&&i.parent;o.immediateRender=at(r.immediateRender),e<2?o.runBackwards=1:o.startAt=t[a-1]}return new ke(t[0],o,t[a+1])},hn=function(e,t){return e||e===0?t(e):t},ni=function(e,t,n){return n<e?e:n>t?t:n},Ve=function(e,t){return Re(e)&&(t=Du.exec(e))?t[1]:""},ks=[].slice,bo=function(e,t){return e&&jt(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&jt(e[0]))&&!e.nodeType&&e!==Lt},Lu=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(r){var i;return Re(r)&&!t||bo(r,1)?(i=n).push.apply(i,At(r)):n.push(r)})||n},At=function(e,t,n){return he&&!t&&he.selector?he.selector(e):!Re(e)||n||!vs&&gr()?We(e)?Lu(e,n):bo(e)?ks.call(e,0):e?[e]:[]:ks.call((t||Hs).querySelectorAll(e),0)},Ms=function(e){return e=At(e)[0]||Qr()||{},function(t){var n=e.current||e.nativeElement||e;return At(t,n.querySelectorAll?n:n===e?Qr()||Hs.createElement("div"):e)}},To=function(e){return e.sort(function(){return .5-Math.random()})},ko=function(e){if(me(e))return e;var t=jt(e)?e:{each:e},n=Yn(t.ease),r=t.from||0,i=parseFloat(t.base)||0,s={},a=r>0&&r<1,o=isNaN(r)||a,u=t.axis,l=r,h=r;return Re(r)?l=h={center:.5,edges:.5,end:1}[r]||0:!a&&o&&(l=r[0],h=r[1]),function(c,f,p){var T,x,v,d,m,y,_,k,M,O=(p||t).length,w=s[O];if(!w){if(!(M=t.grid==="auto"?0:(t.grid||[1,en])[1])){for(_=-1e8;_<(_=p[M++].getBoundingClientRect().left)&&M<O;);M<O&&M--}for(w=s[O]=[],T=o?Math.min(M,O)*l-.5:r%M,x=M===en?0:o?O*h/M-.5:r/M|0,_=0,k=en,y=0;y<O;y++)v=y%M-T,d=x-(y/M|0),w[y]=m=u?Math.abs(u==="y"?d:v):ao(v*v+d*d),m>_&&(_=m),m<k&&(k=m);r==="random"&&To(w),w.max=_-k,w.min=k,w.v=O=(parseFloat(t.amount)||parseFloat(t.each)*(M>O?O-1:u?u==="y"?O/M:M:Math.max(M,O/M))||0)*(r==="edges"?-1:1),w.b=O<0?i-O:i,w.u=Ve(t.amount||t.each)||0,n=n&&O<0?Po(n):n}return O=(w[c]-w.min)/w.max||0,Me(w.b+(n?n(O):O)*w.v)+w.u}},Os=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var r=Me(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(nn(n)?0:Ve(n))}},Mo=function(e,t){var n,r,i=We(e);return!i&&jt(e)&&(n=i=e.radius||en,e.values?(e=At(e.values),(r=!nn(e[0]))&&(n*=n)):e=Os(e.increment)),hn(t,i?me(e)?function(s){return r=e(s),Math.abs(r-s)<=n?r:s}:function(s){for(var a,o,u=parseFloat(r?s.x:s),l=parseFloat(r?s.y:0),h=en,c=0,f=e.length;f--;)(a=r?(a=e[f].x-u)*a+(o=e[f].y-l)*o:Math.abs(e[f]-u))<h&&(h=a,c=f);return c=!n||h<=n?e[c]:s,r||c===s||nn(s)?c:c+Ve(s)}:Os(e))},Oo=function(e,t,n,r){return hn(We(e)?!t:n===!0?!!(n=0):!r,function(){return We(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+.99*n))/n)*n*r)/r})},ka=function(e,t,n){return hn(n,function(r){return e[~~t(r)]})},Gr=function(e){for(var t,n,r,i,s=0,a="";~(t=e.indexOf("random(",s));)r=e.indexOf(")",t),i=e.charAt(t+7)==="[",n=e.substr(t+7,r-t-7).match(i?co:xs),a+=e.substr(s,t-s)+Oo(i?n:+n[0],i?0:+n[1],+n[2]||1e-5),s=r+1;return a+e.substr(s,e.length-s)},Ma=function(e,t,n,r,i){var s=t-e,a=r-n;return hn(i,function(o){return n+((o-e)/s*a||0)})},Oa=function(e,t,n){var r,i,s,a=e.labels,o=en;for(r in a)(i=a[r]-t)<0==!!n&&i&&o>(i=Math.abs(i))&&(s=r,o=i);return s},_t=function(e,t,n){var r,i,s,a=e.vars,o=a[t],u=he,l=e._ctx;if(o)return r=a[t+"Params"],i=a.callbackScope||e,n&&vn.length&&zi(),l&&(he=l),s=r?o.apply(i,r):o.call(i),he=u,s},Ar=function(e){return xn(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Be),e.progress()<1&&_t(e,"onInterrupt"),e},wo=[],Eo=function(e){if(e)if(e=!e.name&&e.default||e,$s()||e.headless){var t=e.name,n=me(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:$r,render:As,add:Js,kill:Gu,modifier:$u,rawVars:0},s={targetTest:0,get:0,getSetter:ta,aliases:{},register:0};if(gr(),e!==r){if(dt[t])return;bt(r,bt(Ii(e,i),s)),_r(r.prototype,_r(i,Ii(e,s))),dt[r.prop=t]=r,e.targetTest&&(Oi.push(r),Gs[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}fo(t,r),e.register&&e.register(ut,r,ot)}else wo.push(e)},ae=255,Cr={aqua:[0,ae,ae],lime:[0,ae,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ae],navy:[0,0,128],white:[ae,ae,ae],olive:[128,128,0],yellow:[ae,ae,0],orange:[ae,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ae,0,0],pink:[ae,192,203],cyan:[0,ae,ae],transparent:[ae,ae,ae,0]},rs=function(e,t,n){return(6*(e+=e<0?1:e>1?-1:0)<1?t+(n-t)*e*6:e<.5?n:3*e<2?t+(n-t)*(2/3-e)*6:t)*ae+.5|0},Ao=function(e,t,n){var r,i,s,a,o,u,l,h,c,f,p=e?nn(e)?[e>>16,e>>8&ae,e&ae]:0:Cr.black;if(!p){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Cr[e])p=Cr[e];else if(e.charAt(0)==="#"){if(e.length<6&&(r=e.charAt(1),i=e.charAt(2),s=e.charAt(3),e="#"+r+r+i+i+s+s+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&ae,p&ae,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&ae,e&ae]}else if(e.substr(0,3)==="hsl")if(p=f=e.match(xs),t){if(~e.indexOf("="))return p=e.match(uo),n&&p.length<4&&(p[3]=1),p}else a=+p[0]%360/360,o=+p[1]/100,r=2*(u=+p[2]/100)-(i=u<=.5?u*(o+1):u+o-u*o),p.length>3&&(p[3]*=1),p[0]=rs(a+1/3,r,i),p[1]=rs(a,r,i),p[2]=rs(a-1/3,r,i);else p=e.match(xs)||Cr.transparent;p=p.map(Number)}return t&&!f&&(r=p[0]/ae,i=p[1]/ae,s=p[2]/ae,u=((l=Math.max(r,i,s))+(h=Math.min(r,i,s)))/2,l===h?a=o=0:(c=l-h,o=u>.5?c/(2-l-h):c/(l+h),a=l===r?(i-s)/c+(i<s?6:0):l===i?(s-r)/c+2:(r-i)/c+4,a*=60),p[0]=~~(a+.5),p[1]=~~(100*o+.5),p[2]=~~(100*u+.5)),n&&p.length<4&&(p[3]=1),p},Co=function(e){var t=[],n=[],r=-1;return e.split(yn).forEach(function(i){var s=i.match(or)||[];t.push.apply(t,s),n.push(r+=s.length+1)}),t.c=n,t},wa=function(e,t,n){var r,i,s,a,o="",u=(e+o).match(yn),l=t?"hsla(":"rgba(",h=0;if(!u)return e;if(u=u.map(function(c){return(c=Ao(c,t,1))&&l+(t?c[0]+","+c[1]+"%,"+c[2]+"%,"+c[3]:c.join(","))+")"}),n&&(s=Co(e),(r=n.c).join(o)!==s.c.join(o)))for(a=(i=e.replace(yn,"1").split(or)).length-1;h<a;h++)o+=i[h]+(~r.indexOf(h)?u.shift()||l+"0,0,0,0)":(s.length?s:u.length?u:n).shift());if(!i)for(a=(i=e.split(yn)).length-1;h<a;h++)o+=i[h]+u[h];return o+i[a]},yn=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in Cr)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),Xu=/hsl[a]?\(/,So=function(e){var t,n=e.join(" ");if(yn.lastIndex=0,yn.test(n))return t=Xu.test(n),e[1]=wa(e[1],t),e[0]=wa(e[0],t,Co(e[1])),!0},gt=function(){var e,t,n,r,i,s,a=Date.now,o=500,u=33,l=a(),h=l,c=1e3/240,f=c,p=[],T=function x(v){var d,m,y,_,k=a()-h,M=v===!0;if((k>o||k<0)&&(l+=k-u),((d=(y=(h+=k)-l)-f)>0||M)&&(_=++r.frame,i=y-1e3*r.time,r.time=y/=1e3,f+=d+(d>=c?4:c-d),m=1),M||(e=t(x)),m)for(s=0;s<p.length;s++)p[s](y,i,_,v)};return r={time:0,frame:0,tick:function(){T(!0)},deltaRatio:function(x){return i/(1e3/(x||60))},wake:function(){io&&(!vs&&$s()&&(Lt=vs=window,Hs=Lt.document||{},yt.gsap=ut,(Lt.gsapVersions||(Lt.gsapVersions=[])).push(ut.version),ho(Fi||Lt.GreenSockGlobals||!Lt.gsap&&Lt||{}),wo.forEach(Eo)),n=typeof requestAnimationFrame<"u"&&requestAnimationFrame,e&&r.sleep(),t=n||function(x){return setTimeout(x,f-1e3*r.time+1|0)},Hr=1,T(2))},sleep:function(){(n?cancelAnimationFrame:clearTimeout)(e),Hr=0,t=$r},lagSmoothing:function(x,v){o=x||1/0,u=Math.min(v||33,o)},fps:function(x){c=1e3/(x||240),f=1e3*r.time+c},add:function(x,v,d){var m=v?function(y,_,k,M){x(y,_,k,M),r.remove(m)}:x;return r.remove(x),p[d?"unshift":"push"](m),gr(),m},remove:function(x,v){~(v=p.indexOf(x))&&p.splice(v,1)&&s>=v&&s--},_listeners:p}}(),gr=function(){return!Hr&&gt.wake()},J={},Nu=/^[\d.\-M][\d.\-,\s]/,qu=/["']/g,Uu=function(e){for(var t,n,r,i={},s=e.substr(1,e.length-3).split(":"),a=s[0],o=1,u=s.length;o<u;o++)n=s[o],t=o!==u-1?n.lastIndexOf(","):n.length,r=n.substr(0,t),i[a]=isNaN(r)?r.replace(qu,"").trim():+r,a=n.substr(t+1).trim();return i},Po=function(e){return function(t){return 1-e(1-t)}},Do=function e(t,n){for(var r,i=t._first;i;)i instanceof Je?e(i,n):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===n||(i.timeline?e(i.timeline,n):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=n)),i=i._next},Yn=function(e,t){return e&&(me(e)?e:J[e]||function(n){var r,i,s,a,o=(n+"").split("("),u=J[o[0]];return u&&o.length>1&&u.config?u.config.apply(null,~n.indexOf("{")?[Uu(o[1])]:(r=n,i=r.indexOf("(")+1,s=r.indexOf(")"),a=r.indexOf("(",i),r.substring(i,~a&&a<s?r.indexOf(")",s+1):s)).split(",").map(mo)):J._CE&&Nu.test(n)?J._CE("",n):u}(e))||t},An=function(e,t,n,r){n===void 0&&(n=function(a){return 1-t(1-a)}),r===void 0&&(r=function(a){return a<.5?t(2*a)/2:1-t(2*(1-a))/2});var i,s={easeIn:t,easeOut:n,easeInOut:r};return st(e,function(a){for(var o in J[a]=yt[a]=s,J[i=a.toLowerCase()]=n,s)J[i+(o==="easeIn"?".in":o==="easeOut"?".out":".inOut")]=J[a+"."+o]=s[o]}),s},Ro=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}},is=function e(t,n,r){var i=n>=1?n:1,s=(r||(t?.3:.45))/(n<1?n:1),a=s/ys*(Math.asin(1/i)||0),o=function(l){return l===1?1:i*Math.pow(2,-10*l)*Pu((l-a)*s)+1},u=t==="out"?o:t==="in"?function(l){return 1-o(1-l)}:Ro(o);return s=ys/s,u.config=function(l,h){return e(t,l,h)},u},ss=function e(t,n){n===void 0&&(n=1.70158);var r=function(s){return s?--s*s*((n+1)*s+n)+1:0},i=t==="out"?r:t==="in"?function(s){return 1-r(1-s)}:Ro(r);return i.config=function(s){return e(t,s)},i};st("Linear,Quad,Cubic,Quart,Quint,Strong",function(e,t){var n=t<5?t+1:t;An(e+",Power"+(n-1),t?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(2*r,n)/2:1-Math.pow(2*(1-r),n)/2})}),J.Linear.easeNone=J.none=J.Linear.easeIn,An("Elastic",is("in"),is("out"),is()),Mr=7.5625,_a=2*(Ji=1/(ci=2.75)),ma=2.5*Ji,An("Bounce",function(e){return 1-ga(1-e)},ga=function(e){return e<Ji?Mr*e*e:e<_a?Mr*Math.pow(e-1.5/ci,2)+.75:e<ma?Mr*(e-=2.25/ci)*e+.9375:Mr*Math.pow(e-2.625/ci,2)+.984375}),An("Expo",function(e){return Math.pow(2,10*(e-1))*e+e*e*e*e*e*e*(1-e)}),An("Circ",function(e){return-(ao(1-e*e)-1)}),An("Sine",function(e){return e===1?1:1-Su(e*Au)}),An("Back",ss("in"),ss("out"),ss()),J.SteppedEase=J.steps=yt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var n=1/e,r=e+(t?0:1),i=t?1:0;return function(s){return((r*ni(0,.99999999,s)|0)+i)*n}}},dr.ease=J["quad.out"],st("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(e){return Zs+=e+","+e+"Params,"});var Fo=function(e,t){this.id=Cu++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:po,this.set=t?t.getSetter:ta},Zr=function(){function e(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,mr(this,+n.duration,1,1),this.data=n.data,he&&(this._ctx=he,he.data.push(this)),Hr||gt.wake()}var t=e.prototype;return t.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},t.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},t.totalDuration=function(n){return arguments.length?(this._dirty=0,mr(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(n,r){if(gr(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Qi(this,n),!i._dp||i.parent||yo(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&Nt(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===tt||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),_o(this,n,r)),this},t.time=function(n,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+xa(this))%(this._dur+this._rDelay)||(n?this._dur:0),r):this._time},t.totalProgress=function(n,r){return arguments.length?this.totalTime(this.totalDuration()*n,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(n,r){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?n:1-n)+xa(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(n,r){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*i,r):this._repeat?cr(this._tTime,i)+1:1},t.timeScale=function(n,r){if(!arguments.length)return this._rts===-1e-8?0:this._rts;if(this._rts===n)return this;var i=this.parent&&this._ts?Bi(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-1e-8?0:this._rts,this.totalTime(ni(-Math.abs(this._delay),this._tDur,i),r!==!1),Hi(this),function(s){for(var a=s.parent;a&&a.parent;)a._dirty=1,a.totalDuration(),a=a.parent;return s}(this)},t.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(gr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==tt&&(this._tTime-=tt)))),this):this._ps},t.startTime=function(n){if(arguments.length){this._start=n;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&Nt(r,this,n-this._delay),this}return this._start},t.endTime=function(n){return this._start+(at(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(n){var r=this.parent||this._dp;return r?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Bi(r.rawTime(n),this):this._tTime:this._tTime},t.revert=function(n){n===void 0&&(n=Fu);var r=Be;return Be=n,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),Be=r,this},t.globalTime=function(n){for(var r=this,i=arguments.length?n:r.rawTime();r;)i=r._start+i/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(n):i},t.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,Ta(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(n){if(arguments.length){var r=this._time;return this._rDelay=n,Ta(this),r?this.time(r):this}return this._rDelay},t.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},t.seek=function(n,r){return this.totalTime(Ot(this,n),at(r))},t.restart=function(n,r){return this.play().totalTime(n?-this._delay:0,at(r)),this._dur||(this._zTime=-1e-8),this},t.play=function(n,r){return n!=null&&this.seek(n,r),this.reversed(!1).paused(!1)},t.reverse=function(n,r){return n!=null&&this.seek(n||this.totalDuration(),r),this.reversed(!0).paused(!1)},t.pause=function(n,r){return n!=null&&this.seek(n,r),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-1e-8:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},t.isActive=function(){var n,r=this.parent||this._dp,i=this._start;return!(r&&!(this._ts&&this._initted&&r.isActive()&&(n=r.rawTime(!0))>=i&&n<this.endTime(!0)-tt))},t.eventCallback=function(n,r,i){var s=this.vars;return arguments.length>1?(r?(s[n]=r,i&&(s[n+"Params"]=i),n==="onUpdate"&&(this._onUpdate=r)):delete s[n],this):s[n]},t.then=function(n){var r=this;return new Promise(function(i){var s=me(n)?n:go,a=function(){var o=r.then;r.then=null,me(s)&&(s=s(r))&&(s.then||s===r)&&(r.then=o),i(s),r.then=o};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?a():r._prom=a})},t.kill=function(){Ar(this)},e}();bt(Zr.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Je=function(e){function t(r,i){var s;return r===void 0&&(r={}),(s=e.call(this,r)||this).labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=at(r.sortChildren),fe&&Nt(r.parent||fe,Gt(s),i),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&xo(Gt(s),r.scrollTrigger),s}ro(t,e);var n=t.prototype;return n.to=function(r,i,s){return Ir(0,arguments,this),this},n.from=function(r,i,s){return Ir(1,arguments,this),this},n.fromTo=function(r,i,s,a){return Ir(2,arguments,this),this},n.set=function(r,i,s){return i.duration=0,i.parent=this,zr(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new ke(r,i,Ot(this,s),1),this},n.call=function(r,i,s){return Nt(this,ke.delayedCall(0,r,i),s)},n.staggerTo=function(r,i,s,a,o,u,l){return s.duration=i,s.stagger=s.stagger||a,s.onComplete=u,s.onCompleteParams=l,s.parent=this,new ke(r,s,Ot(this,o)),this},n.staggerFrom=function(r,i,s,a,o,u,l){return s.runBackwards=1,zr(s).immediateRender=at(s.immediateRender),this.staggerTo(r,i,s,a,o,u,l)},n.staggerFromTo=function(r,i,s,a,o,u,l,h){return a.startAt=s,zr(a).immediateRender=at(a.immediateRender),this.staggerTo(r,i,a,o,u,l,h)},n.render=function(r,i,s){var a,o,u,l,h,c,f,p,T,x,v,d,m=this._time,y=this._dirty?this.totalDuration():this._tDur,_=this._dur,k=r<=0?0:Me(r),M=this._zTime<0!=r<0&&(this._initted||!_);if(this!==fe&&k>y&&r>=0&&(k=y),k!==this._tTime||s||M){if(m!==this._time&&_&&(k+=this._time-m,r+=this._time-m),a=k,T=this._start,c=!(p=this._ts),M&&(_||(m=this._zTime),(r||!i)&&(this._zTime=r)),this._repeat){if(v=this._yoyo,h=_+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(100*h+r,i,s);if(a=Me(k%h),k===y?(l=this._repeat,a=_):((l=~~(x=Me(k/h)))&&l===x&&(a=_,l--),a>_&&(a=_)),x=cr(this._tTime,h),!m&&this._tTime&&x!==l&&this._tTime-x*h-this._dur<=0&&(x=l),v&&1&l&&(a=_-a,d=1),l!==x&&!this._lock){var O=v&&1&x,w=O===(v&&1&l);if(l<x&&(O=!O),m=O?0:k%_?_:k,this._lock=1,this.render(m||(d?0:Me(l*h)),i,!_)._lock=0,this._tTime=k,!i&&this.parent&&_t(this,"onRepeat"),this.vars.repeatRefresh&&!d&&(this.invalidate()._lock=1),m&&m!==this._time||c!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(_=this._dur,y=this._tDur,w&&(this._lock=2,m=O?_:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!d&&this.invalidate()),this._lock=0,!this._ts&&!c)return this;Do(this,d)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(f=function(R,S,Y){var F;if(Y>S)for(F=R._first;F&&F._start<=Y;){if(F.data==="isPause"&&F._start>S)return F;F=F._next}else for(F=R._last;F&&F._start>=Y;){if(F.data==="isPause"&&F._start<S)return F;F=F._prev}}(this,Me(m),Me(a)),f&&(k-=a-(a=f._start))),this._tTime=k,this._time=a,this._act=!p,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,m=0),!m&&a&&!i&&!l&&(_t(this,"onStart"),this._tTime!==k))return this;if(a>=m&&r>=0)for(o=this._first;o;){if(u=o._next,(o._act||a>=o._start)&&o._ts&&f!==o){if(o.parent!==this)return this.render(r,i,s);if(o.render(o._ts>0?(a-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(a-o._start)*o._ts,i,s),a!==this._time||!this._ts&&!c){f=0,u&&(k+=this._zTime=-1e-8);break}}o=u}else{o=this._last;for(var L=r<0?r:a;o;){if(u=o._prev,(o._act||L<=o._end)&&o._ts&&f!==o){if(o.parent!==this)return this.render(r,i,s);if(o.render(o._ts>0?(L-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(L-o._start)*o._ts,i,s||Be&&(o._initted||o._startAt)),a!==this._time||!this._ts&&!c){f=0,u&&(k+=this._zTime=L?-1e-8:tt);break}}o=u}}if(f&&!i&&(this.pause(),f.render(a>=m?0:-1e-8)._zTime=a>=m?1:-1,this._ts))return this._start=T,Hi(this),this.render(r,i,s);this._onUpdate&&!i&&_t(this,"onUpdate",!0),(k===y&&this._tTime>=this.totalDuration()||!k&&m)&&(T!==this._start&&Math.abs(p)===Math.abs(this._ts)||this._lock||((r||!_)&&(k===y&&this._ts>0||!k&&this._ts<0)&&xn(this,1),i||r<0&&!m||!k&&!m&&y||(_t(this,k===y&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(k<y&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(r,i){var s=this;if(nn(i)||(i=Ot(this,i,r)),!(r instanceof Zr)){if(We(r))return r.forEach(function(a){return s.add(a,i)}),this;if(Re(r))return this.addLabel(r,i);if(!me(r))return this;r=ke.delayedCall(0,r)}return this!==r?Nt(this,r,i):this},n.getChildren=function(r,i,s,a){r===void 0&&(r=!0),i===void 0&&(i=!0),s===void 0&&(s=!0),a===void 0&&(a=-1e8);for(var o=[],u=this._first;u;)u._start>=a&&(u instanceof ke?i&&o.push(u):(s&&o.push(u),r&&o.push.apply(o,u.getChildren(!0,i,s)))),u=u._next;return o},n.getById=function(r){for(var i=this.getChildren(1,1,1),s=i.length;s--;)if(i[s].vars.id===r)return i[s]},n.remove=function(r){return Re(r)?this.removeLabel(r):me(r)?this.killTweensOf(r):(r.parent===this&&ji(this,r),r===this._recent&&(this._recent=this._last),Bn(this))},n.totalTime=function(r,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Me(gt.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),e.prototype.totalTime.call(this,r,i),this._forcing=0,this):this._tTime},n.addLabel=function(r,i){return this.labels[r]=Ot(this,i),this},n.removeLabel=function(r){return delete this.labels[r],this},n.addPause=function(r,i,s){var a=ke.delayedCall(0,i||$r,s);return a.data="isPause",this._hasPause=1,Nt(this,a,Ot(this,r))},n.removePause=function(r){var i=this._first;for(r=Ot(this,r);i;)i._start===r&&i.data==="isPause"&&xn(i),i=i._next},n.killTweensOf=function(r,i,s){for(var a=this.getTweensOf(r,s),o=a.length;o--;)fn!==a[o]&&a[o].kill(r,i);return this},n.getTweensOf=function(r,i){for(var s,a=[],o=At(r),u=this._first,l=nn(i);u;)u instanceof ke?zu(u._targets,o)&&(l?(!fn||u._initted&&u._ts)&&u.globalTime(0)<=i&&u.globalTime(u.totalDuration())>i:!i||u.isActive())&&a.push(u):(s=u.getTweensOf(o,i)).length&&a.push.apply(a,s),u=u._next;return a},n.tweenTo=function(r,i){i=i||{};var s,a=this,o=Ot(a,r),u=i,l=u.startAt,h=u.onStart,c=u.onStartParams,f=u.immediateRender,p=ke.to(a,bt({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:i.duration||Math.abs((o-(l&&"time"in l?l.time:a._time))/a.timeScale())||tt,onStart:function(){if(a.pause(),!s){var T=i.duration||Math.abs((o-(l&&"time"in l?l.time:a._time))/a.timeScale());p._dur!==T&&mr(p,T,0,1).render(p._time,!0,!0),s=1}h&&h.apply(p,c||[])}},i));return f?p.render(0):p},n.tweenFromTo=function(r,i,s){return this.tweenTo(i,bt({startAt:{time:Ot(this,r)}},s))},n.recent=function(){return this._recent},n.nextLabel=function(r){return r===void 0&&(r=this._time),Oa(this,Ot(this,r))},n.previousLabel=function(r){return r===void 0&&(r=this._time),Oa(this,Ot(this,r),1)},n.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+tt)},n.shiftChildren=function(r,i,s){s===void 0&&(s=0);for(var a,o=this._first,u=this.labels;o;)o._start>=s&&(o._start+=r,o._end+=r),o=o._next;if(i)for(a in u)u[a]>=s&&(u[a]+=r);return Bn(this)},n.invalidate=function(r){var i=this._first;for(this._lock=0;i;)i.invalidate(r),i=i._next;return e.prototype.invalidate.call(this,r)},n.clear=function(r){r===void 0&&(r=!0);for(var i,s=this._first;s;)i=s._next,this.remove(s),s=i;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),Bn(this)},n.totalDuration=function(r){var i,s,a,o=0,u=this,l=u._last,h=en;if(arguments.length)return u.timeScale((u._repeat<0?u.duration():u.totalDuration())/(u.reversed()?-r:r));if(u._dirty){for(a=u.parent;l;)i=l._prev,l._dirty&&l.totalDuration(),(s=l._start)>h&&u._sort&&l._ts&&!u._lock?(u._lock=1,Nt(u,l,s-l._delay,1)._lock=0):h=s,s<0&&l._ts&&(o-=s,(!a&&!u._dp||a&&a.smoothChildTiming)&&(u._start+=s/u._ts,u._time-=s,u._tTime-=s),u.shiftChildren(-s,!1,-1/0),h=0),l._end>o&&l._ts&&(o=l._end),l=i;mr(u,u===fe&&u._time>o?u._time:o,1,1),u._dirty=0}return u._tDur},t.updateRoot=function(r){if(fe._ts&&(_o(fe,Bi(r,fe)),so=gt.frame),gt.frame>=va){va+=xt.autoSleep||120;var i=fe._first;if((!i||!i._ts)&&xt.autoSleep&&gt._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||gt.sleep()}}},t}(Zr);bt(Je.prototype,{_lock:0,_hasPause:0,_forcing:0});var fn,ws,Wu=function(e,t,n,r,i,s,a){var o,u,l,h,c,f,p,T,x=new ot(this._pt,e,t,0,1,Xo,null,i),v=0,d=0;for(x.b=n,x.e=r,n+="",(p=~(r+="").indexOf("random("))&&(r=Gr(r)),s&&(s(T=[n,r],e,t),n=T[0],r=T[1]),u=n.match(es)||[];o=es.exec(r);)h=o[0],c=r.substring(v,o.index),l?l=(l+1)%5:c.substr(-5)==="rgba("&&(l=1),h!==u[d++]&&(f=parseFloat(u[d-1])||0,x._pt={_next:x._pt,p:c||d===1?c:",",s:f,c:h.charAt(1)==="="?lr(f,h)-f:parseFloat(h)-f,m:l&&l<4?Math.round:0},v=es.lastIndex);return x.c=v<r.length?r.substring(v,r.length):"",x.fp=a,(lo.test(r)||p)&&(x.e=0),this._pt=x,x},Js=function(e,t,n,r,i,s,a,o,u,l){me(r)&&(r=r(i||0,e,s));var h,c=e[t],f=n!=="get"?n:me(c)?u?e[t.indexOf("set")||!me(e["get"+t.substr(3)])?t:"get"+t.substr(3)](u):e[t]():c,p=me(c)?u?ju:Yo:ea;if(Re(r)&&(~r.indexOf("random(")&&(r=Gr(r)),r.charAt(1)==="="&&((h=lr(f,r)+(Ve(f)||0))||h===0)&&(r=h)),!l||f!==r||ws)return isNaN(f*r)||r===""?Wu.call(this,e,t,f,r,p,o||xt.stringFilter,u):(h=new ot(this._pt,e,t,+f||0,r-(f||0),typeof c=="boolean"?Qu:Lo,0,p),u&&(h.fp=u),a&&h.modifier(a,this,e),this._pt=h)},zo=function(e,t,n,r,i,s){var a,o,u,l;if(dt[e]&&(a=new dt[e]).init(i,a.rawVars?t[e]:function(h,c,f,p,T){if(me(h)&&(h=Br(h,T,c,f,p)),!jt(h)||h.style&&h.nodeType||We(h)||oo(h))return Re(h)?Br(h,T,c,f,p):h;var x,v={};for(x in h)v[x]=Br(h[x],T,c,f,p);return v}(t[e],r,i,s,n),n,r,s)!==!1&&(n._pt=o=new ot(n._pt,i,e,0,1,a.render,a,0,a.priority),n!==ar))for(u=n._ptLookup[n._targets.indexOf(i)],l=a._props.length;l--;)u[a._props[l]]=o;return a},Es=function e(t,n,r){var i,s,a,o,u,l,h,c,f,p,T,x,v,d=t.vars,m=d.ease,y=d.startAt,_=d.immediateRender,k=d.lazy,M=d.onUpdate,O=d.runBackwards,w=d.yoyoEase,L=d.keyframes,R=d.autoRevert,S=t._dur,Y=t._startAt,F=t._targets,K=t.parent,N=K&&K.data==="nested"?K.vars.targets:F,re=t._overwrite==="auto"&&!js,H=t.timeline;if(H&&(!L||!m)&&(m="none"),t._ease=Yn(m,dr.ease),t._yEase=w?Po(Yn(w===!0?m:w,dr.ease)):0,w&&t._yoyo&&!t._repeat&&(w=t._yEase,t._yEase=t._ease,t._ease=w),t._from=!H&&!!d.runBackwards,!H||L&&!d.stagger){if(x=(c=F[0]?In(F[0]).harness:0)&&d[c.prop],i=Ii(d,Gs),Y&&(Y._zTime<0&&Y.progress(1),n<0&&O&&_&&!R?Y.render(-1,!0):Y.revert(O&&S?Mi:Ru),Y._lazy=0),y){if(xn(t._startAt=ke.set(F,bt({data:"isStart",overwrite:!1,parent:K,immediateRender:!0,lazy:!Y&&at(k),startAt:null,delay:0,onUpdate:M&&function(){return _t(t,"onUpdate")},stagger:0},y))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(Be||!_&&!R)&&t._startAt.revert(Mi),_&&S&&n<=0&&r<=0)return void(n&&(t._zTime=n))}else if(O&&S&&!Y)if(n&&(_=!1),a=bt({overwrite:!1,data:"isFromStart",lazy:_&&!Y&&at(k),immediateRender:_,stagger:0,parent:K},i),x&&(a[c.prop]=x),xn(t._startAt=ke.set(F,a)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(Be?t._startAt.revert(Mi):t._startAt.render(-1,!0)),t._zTime=n,_){if(!n)return}else e(t._startAt,tt,tt);for(t._pt=t._ptCache=0,k=S&&at(k)||k&&!S,s=0;s<F.length;s++){if(h=(u=F[s])._gsap||Ks(F)[s]._gsap,t._ptLookup[s]=p={},bs[h.id]&&vn.length&&zi(),T=N===F?s:N.indexOf(u),c&&(f=new c).init(u,x||i,t,T,N)!==!1&&(t._pt=o=new ot(t._pt,u,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(P){p[P]=o}),f.priority&&(l=1)),!c||x)for(a in i)dt[a]&&(f=zo(a,i,t,T,u,N))?f.priority&&(l=1):p[a]=o=Js.call(t,u,a,"get",i[a],T,N,0,d.stringFilter);t._op&&t._op[s]&&t.kill(u,t._op[s]),re&&t._pt&&(fn=t,fe.killTweensOf(u,p,t.globalTime(n)),v=!t.parent,fn=0),t._pt&&k&&(bs[h.id]=1)}l&&No(t),t._onInit&&t._onInit(t)}t._onUpdate=M,t._initted=(!t._op||t._pt)&&!v,L&&n<=0&&H.render(en,!0,!0)},Vu=function(e,t,n,r){var i,s,a=t.ease||r||"power1.inOut";if(We(t))s=n[e]||(n[e]=[]),t.forEach(function(o,u){return s.push({t:u/(t.length-1)*100,v:o,e:a})});else for(i in t)s=n[i]||(n[i]=[]),i==="ease"||s.push({t:parseFloat(e),v:t[i],e:a})},Br=function(e,t,n,r,i){return me(e)?e.call(t,n,r,i):Re(e)&&~e.indexOf("random(")?Gr(e):e},Io=Zs+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Bo={};st(Io+",id,stagger,delay,duration,paused,scrollTrigger",function(e){return Bo[e]=1});var ke=function(e){function t(r,i,s,a){var o;typeof i=="number"&&(s.duration=i,i=s,s=null);var u,l,h,c,f,p,T,x,v=(o=e.call(this,a?i:zr(i))||this).vars,d=v.duration,m=v.delay,y=v.immediateRender,_=v.stagger,k=v.overwrite,M=v.keyframes,O=v.defaults,w=v.scrollTrigger,L=v.yoyoEase,R=i.parent||fe,S=(We(r)||oo(r)?nn(r[0]):"length"in i)?[r]:At(r);if(o._targets=S.length?Ks(S):Qr(0,!xt.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=k,M||_||hi(d)||hi(m)){if(i=o.vars,(u=o.timeline=new Je({data:"nested",defaults:O||{},targets:R&&R.data==="nested"?R.vars.targets:S})).kill(),u.parent=u._dp=Gt(o),u._start=0,_||hi(d)||hi(m)){if(c=S.length,T=_&&ko(_),jt(_))for(f in _)~Io.indexOf(f)&&(x||(x={}),x[f]=_[f]);for(l=0;l<c;l++)(h=Ii(i,Bo)).stagger=0,L&&(h.yoyoEase=L),x&&_r(h,x),p=S[l],h.duration=+Br(d,Gt(o),l,p,S),h.delay=(+Br(m,Gt(o),l,p,S)||0)-o._delay,!_&&c===1&&h.delay&&(o._delay=m=h.delay,o._start+=m,h.delay=0),u.to(p,h,T?T(l,p,S):0),u._ease=J.none;u.duration()?d=m=0:o.timeline=0}else if(M){zr(bt(u.vars.defaults,{ease:"none"})),u._ease=Yn(M.ease||i.ease||"none");var Y,F,K,N=0;if(We(M))M.forEach(function(re){return u.to(S,re,">")}),u.duration();else{for(f in h={},M)f==="ease"||f==="easeEach"||Vu(f,M[f],h,M.easeEach);for(f in h)for(Y=h[f].sort(function(re,H){return re.t-H.t}),N=0,l=0;l<Y.length;l++)(K={ease:(F=Y[l]).e,duration:(F.t-(l?Y[l-1].t:0))/100*d})[f]=F.v,u.to(S,K,N),N+=K.duration;u.duration()<d&&u.to({},{duration:d-u.duration()})}}d||o.duration(d=u.duration())}else o.timeline=0;return k!==!0||js||(fn=Gt(o),fe.killTweensOf(S),fn=0),Nt(R,Gt(o),s),i.reversed&&o.reverse(),i.paused&&o.paused(!0),(y||!d&&!M&&o._start===Me(R._time)&&at(y)&&Iu(Gt(o))&&R.data!=="nested")&&(o._tTime=-1e-8,o.render(Math.max(0,-m)||0)),w&&xo(Gt(o),w),o}ro(t,e);var n=t.prototype;return n.render=function(r,i,s){var a,o,u,l,h,c,f,p,T,x=this._time,v=this._tDur,d=this._dur,m=r<0,y=r>v-tt&&!m?v:r<tt?0:r;if(d){if(y!==this._tTime||!r||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m||this._lazy){if(a=y,p=this.timeline,this._repeat){if(l=d+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*l+r,i,s);if(a=Me(y%l),y===v?(u=this._repeat,a=d):(u=~~(h=Me(y/l)))&&u===h?(a=d,u--):a>d&&(a=d),(c=this._yoyo&&1&u)&&(T=this._yEase,a=d-a),h=cr(this._tTime,l),a===x&&!s&&this._initted&&u===h)return this._tTime=y,this;u!==h&&(p&&this._yEase&&Do(p,c),this.vars.repeatRefresh&&!c&&!this._lock&&a!==l&&this._initted&&(this._lock=s=1,this.render(Me(l*u),!0).invalidate()._lock=0))}if(!this._initted){if(ba(this,m?r:a,s,i,y))return this._tTime=0,this;if(!(x===this._time||s&&this.vars.repeatRefresh&&u!==h))return this;if(d!==this._dur)return this.render(r,i,s)}if(this._tTime=y,this._time=a,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=f=(T||this._ease)(a/d),this._from&&(this.ratio=f=1-f),a&&!x&&!i&&!u&&(_t(this,"onStart"),this._tTime!==y))return this;for(o=this._pt;o;)o.r(f,o.d),o=o._next;p&&p.render(r<0?r:p._dur*p._ease(a/this._dur),i,s)||this._startAt&&(this._zTime=r),this._onUpdate&&!i&&(m&&ns(this,r,0,s),_t(this,"onUpdate")),this._repeat&&u!==h&&this.vars.onRepeat&&!i&&this.parent&&_t(this,"onRepeat"),y!==this._tDur&&y||this._tTime!==y||(m&&!this._onUpdate&&ns(this,r,0,!0),(r||!d)&&(y===this._tDur&&this._ts>0||!y&&this._ts<0)&&xn(this,1),i||m&&!x||!(y||x||c)||(_t(this,y===v?"onComplete":"onReverseComplete",!0),this._prom&&!(y<v&&this.timeScale()>0)&&this._prom()))}}else(function(_,k,M,O){var w,L,R,S=_.ratio,Y=k<0||!k&&(!_._start&&Bu(_)&&(_._initted||!Ts(_))||(_._ts<0||_._dp._ts<0)&&!Ts(_))?0:1,F=_._rDelay,K=0;if(F&&_._repeat&&(K=ni(0,_._tDur,k),L=cr(K,F),_._yoyo&&1&L&&(Y=1-Y),L!==cr(_._tTime,F)&&(S=1-Y,_.vars.repeatRefresh&&_._initted&&_.invalidate())),Y!==S||Be||O||_._zTime===tt||!k&&_._zTime){if(!_._initted&&ba(_,k,O,M,K))return;for(R=_._zTime,_._zTime=k||(M?tt:0),M||(M=k&&!R),_.ratio=Y,_._from&&(Y=1-Y),_._time=0,_._tTime=K,w=_._pt;w;)w.r(Y,w.d),w=w._next;k<0&&ns(_,k,0,!0),_._onUpdate&&!M&&_t(_,"onUpdate"),K&&_._repeat&&!M&&_.parent&&_t(_,"onRepeat"),(k>=_._tDur||k<0)&&_.ratio===Y&&(Y&&xn(_,1),M||Be||(_t(_,Y?"onComplete":"onReverseComplete",!0),_._prom&&_._prom()))}else _._zTime||(_._zTime=k)})(this,r,i,s);return this},n.targets=function(){return this._targets},n.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),e.prototype.invalidate.call(this,r)},n.resetTo=function(r,i,s,a,o){Hr||gt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Es(this,u),function(l,h,c,f,p,T,x,v){var d,m,y,_,k=(l._pt&&l._ptCache||(l._ptCache={}))[h];if(!k)for(k=l._ptCache[h]=[],y=l._ptLookup,_=l._targets.length;_--;){if((d=y[_][h])&&d.d&&d.d._pt)for(d=d.d._pt;d&&d.p!==h&&d.fp!==h;)d=d._next;if(!d)return ws=1,l.vars[h]="+=0",Es(l,x),ws=0,v?Qr():1;k.push(d)}for(_=k.length;_--;)(d=(m=k[_])._pt||m).s=!f&&f!==0||p?d.s+(f||0)+T*d.c:f,d.c=c-d.s,m.e&&(m.e=ye(c)+Ve(m.e)),m.b&&(m.b=d.s+Ve(m.b))}(this,r,i,s,a,this._ease(u/this._dur),u,o)?this.resetTo(r,i,s,a,1):(Qi(this,0),this.parent||vo(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(r,i){if(i===void 0&&(i="all"),!(r||i&&i!=="all"))return this._lazy=this._pt=0,this.parent?Ar(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Be),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,i,fn&&fn.vars.overwrite!==!0)._first||Ar(this),this.parent&&s!==this.timeline.totalDuration()&&mr(this,this._dur*this.timeline._tDur/s,0,1),this}var a,o,u,l,h,c,f,p=this._targets,T=r?At(r):p,x=this._ptLookup,v=this._pt;if((!i||i==="all")&&function(d,m){for(var y=d.length,_=y===m.length;_&&y--&&d[y]===m[y];);return y<0}(p,T))return i==="all"&&(this._pt=0),Ar(this);for(a=this._op=this._op||[],i!=="all"&&(Re(i)&&(h={},st(i,function(d){return h[d]=1}),i=h),i=function(d,m){var y,_,k,M,O=d[0]?In(d[0]).harness:0,w=O&&O.aliases;if(!w)return m;for(_ in y=_r({},m),w)if(_ in y)for(k=(M=w[_].split(",")).length;k--;)y[M[k]]=y[_];return y}(p,i)),f=p.length;f--;)if(~T.indexOf(p[f]))for(h in o=x[f],i==="all"?(a[f]=i,l=o,u={}):(u=a[f]=a[f]||{},l=i),l)(c=o&&o[h])&&("kill"in c.d&&c.d.kill(h)!==!0||ji(this,c,"_pt"),delete o[h]),u!=="all"&&(u[h]=1);return this._initted&&!this._pt&&v&&Ar(this),this},t.to=function(r,i){return new t(r,i,arguments[2])},t.from=function(r,i){return Ir(1,arguments)},t.delayedCall=function(r,i,s,a){return new t(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:i,onReverseComplete:i,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(r,i,s){return Ir(2,arguments)},t.set=function(r,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new t(r,i)},t.killTweensOf=function(r,i,s){return fe.killTweensOf(r,i,s)},t}(Zr);bt(ke.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),st("staggerTo,staggerFrom,staggerFromTo",function(e){ke[e]=function(){var t=new Je,n=ks.call(arguments,0);return n.splice(e==="staggerFromTo"?5:4,0,0),t[e].apply(t,n)}});var ea=function(e,t,n){return e[t]=n},Yo=function(e,t,n){return e[t](n)},ju=function(e,t,n,r){return e[t](r.fp,n)},Hu=function(e,t,n){return e.setAttribute(t,n)},ta=function(e,t){return me(e[t])?Yo:Qs(e[t])&&e.setAttribute?Hu:ea},Lo=function(e,t){return t.set(t.t,t.p,Math.round(1e6*(t.s+t.c*e))/1e6,t)},Qu=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Xo=function(e,t){var n=t._pt,r="";if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round(1e4*(n.s+n.c*e))/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},As=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},$u=function(e,t,n,r){for(var i,s=this._pt;s;)i=s._next,s.p===r&&s.modifier(e,t,n),s=i},Gu=function(e){for(var t,n,r=this._pt;r;)n=r._next,r.p===e&&!r.op||r.op===e?ji(this,r,"_pt"):r.dep||(t=1),r=n;return!t},Zu=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},No=function(e){for(var t,n,r,i,s=e._pt;s;){for(t=s._next,n=r;n&&n.pr>s.pr;)n=n._next;(s._prev=n?n._prev:i)?s._prev._next=s:r=s,(s._next=n)?n._prev=s:i=s,s=t}e._pt=r},ot=function(){function e(t,n,r,i,s,a,o,u,l){this.t=n,this.s=i,this.c=s,this.p=r,this.r=a||Lo,this.d=o||this,this.set=u||ea,this.pr=l||0,this._next=t,t&&(t._prev=this)}return e.prototype.modifier=function(t,n,r){this.mSet=this.mSet||this.set,this.set=Zu,this.m=t,this.mt=r,this.tween=n},e}();st(Zs+"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(e){return Gs[e]=1}),yt.TweenMax=yt.TweenLite=ke,yt.TimelineLite=yt.TimelineMax=Je,fe=new Je({sortChildren:!1,defaults:dr,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),xt.stringFilter=So;var Ln=[],wi={},Ku=[],Ea=0,Ju=0,as=function(e){return(wi[e]||Ku).map(function(t){return t()})},Cs=function(){var e=Date.now(),t=[];e-Ea>2&&(as("matchMediaInit"),Ln.forEach(function(n){var r,i,s,a,o=n.queries,u=n.conditions;for(i in o)(r=Lt.matchMedia(o[i]).matches)&&(s=1),r!==u[i]&&(u[i]=r,a=1);a&&(n.revert(),s&&t.push(n))}),as("matchMediaRevert"),t.forEach(function(n){return n.onMatch(n,function(r){return n.add(null,r)})}),Ea=e,as("matchMedia"))},qo=function(){function e(n,r){this.selector=r&&Ms(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Ju++,n&&this.add(n)}var t=e.prototype;return t.add=function(n,r,i){me(n)&&(i=r,r=n,n=me);var s=this,a=function(){var o,u=he,l=s.selector;return u&&u!==s&&u.data.push(s),i&&(s.selector=Ms(i)),he=s,o=r.apply(s,arguments),me(o)&&s._r.push(o),he=u,s.selector=l,s.isReverted=!1,o};return s.last=a,n===me?a(s,function(o){return s.add(null,o)}):n?s[n]=a:a},t.ignore=function(n){var r=he;he=null,n(this),he=r},t.getTweens=function(){var n=[];return this.data.forEach(function(r){return r instanceof e?n.push.apply(n,r.getTweens()):r instanceof ke&&!(r.parent&&r.parent.data==="nested")&&n.push(r)}),n},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(n,r){var i=this;if(n?function(){for(var a,o=i.getTweens(),u=i.data.length;u--;)(a=i.data[u]).data==="isFlip"&&(a.revert(),a.getChildren(!0,!0,!1).forEach(function(l){return o.splice(o.indexOf(l),1)}));for(o.map(function(l){return{g:l._dur||l._delay||l._sat&&!l._sat.vars.immediateRender?l.globalTime(0):-1/0,t:l}}).sort(function(l,h){return h.g-l.g||-1/0}).forEach(function(l){return l.t.revert(n)}),u=i.data.length;u--;)(a=i.data[u])instanceof Je?a.data!=="nested"&&(a.scrollTrigger&&a.scrollTrigger.revert(),a.kill()):!(a instanceof ke)&&a.revert&&a.revert(n);i._r.forEach(function(l){return l(n,i)}),i.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var s=Ln.length;s--;)Ln[s].id===this.id&&Ln.splice(s,1)},t.revert=function(n){this.kill(n||{})},e}(),el=function(){function e(n){this.contexts=[],this.scope=n,he&&he.data.push(this)}var t=e.prototype;return t.add=function(n,r,i){jt(n)||(n={matches:n});var s,a,o,u=new qo(0,i||this.scope),l=u.conditions={};for(a in he&&!u.selector&&(u.selector=he.selector),this.contexts.push(u),r=u.add("onMatch",r),u.queries=n,n)a==="all"?o=1:(s=Lt.matchMedia(n[a]))&&(Ln.indexOf(u)<0&&Ln.push(u),(l[a]=s.matches)&&(o=1),s.addListener?s.addListener(Cs):s.addEventListener("change",Cs));return o&&r(u,function(h){return u.add(null,h)}),this},t.revert=function(n){this.kill(n||{})},t.kill=function(n){this.contexts.forEach(function(r){return r.kill(n,!0)})},e}(),Yi={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(r){return Eo(r)})},timeline:function(e){return new Je(e)},getTweensOf:function(e,t){return fe.getTweensOf(e,t)},getProperty:function(e,t,n,r){Re(e)&&(e=At(e)[0]);var i=In(e||{}).get,s=n?go:mo;return n==="native"&&(n=""),e&&(t?s((dt[t]&&dt[t].get||i)(e,t,n,r)):function(a,o,u){return s((dt[a]&&dt[a].get||i)(e,a,o,u))})},quickSetter:function(e,t,n){if((e=At(e)).length>1){var r=e.map(function(l){return ut.quickSetter(l,t,n)}),i=r.length;return function(l){for(var h=i;h--;)r[h](l)}}e=e[0]||{};var s=dt[t],a=In(e),o=a.harness&&(a.harness.aliases||{})[t]||t,u=s?function(l){var h=new s;ar._pt=0,h.init(e,n?l+n:l,ar,0,[e]),h.render(1,h),ar._pt&&As(1,ar)}:a.set(e,o);return s?u:function(l){return u(e,o,n?l+n:l,a,1)}},quickTo:function(e,t,n){var r,i=ut.to(e,bt(((r={})[t]="+=0.1",r.paused=!0,r.stagger=0,r),n||{})),s=function(a,o,u){return i.resetTo(t,a,o,u)};return s.tween=i,s},isTweening:function(e){return fe.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Yn(e.ease,dr.ease)),ya(dr,e||{})},config:function(e){return ya(xt,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,s=e.extendTimeline;(r||"").split(",").forEach(function(a){return a&&!dt[a]&&!yt[a]&&Qr()}),ts[t]=function(a,o,u){return n(At(a),bt(o||{},i),u)},s&&(Je.prototype[t]=function(a,o,u){return this.add(ts[t](a,jt(o)?o:(u=o)&&{},this),u)})},registerEase:function(e,t){J[e]=Yn(t)},parseEase:function(e,t){return arguments.length?Yn(e,t):J},getById:function(e){return fe.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n,r,i=new Je(e);for(i.smoothChildTiming=at(e.smoothChildTiming),fe.remove(i),i._dp=0,i._time=i._tTime=fe._time,n=fe._first;n;)r=n._next,!t&&!n._dur&&n instanceof ke&&n.vars.onComplete===n._targets[0]||Nt(i,n,n._start-n._delay),n=r;return Nt(fe,i,0),i},context:function(e,t){return e?new qo(e,t):he},matchMedia:function(e){return new el(e)},matchMediaRefresh:function(){return Ln.forEach(function(e){var t,n,r=e.conditions;for(n in r)r[n]&&(r[n]=!1,t=1);t&&e.revert()})||Cs()},addEventListener:function(e,t){var n=wi[e]||(wi[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=wi[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:function e(t,n,r){var i=n-t;return We(t)?ka(t,e(0,t.length),n):hn(r,function(s){return(i+(s-t)%i)%i+t})},wrapYoyo:function e(t,n,r){var i=n-t,s=2*i;return We(t)?ka(t,e(0,t.length-1),n):hn(r,function(a){return t+((a=(s+(a-t)%s)%s||0)>i?s-a:a)})},distribute:ko,random:Oo,snap:Mo,normalize:function(e,t,n){return Ma(e,t,0,1,n)},getUnit:Ve,clamp:function(e,t,n){return hn(n,function(r){return ni(e,t,r)})},splitColor:Ao,toArray:At,selector:Ms,mapRange:Ma,pipe:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return t.reduce(function(i,s){return s(i)},r)}},unitize:function(e,t){return function(n){return e(parseFloat(n))+(t||Ve(n))}},interpolate:function e(t,n,r,i){var s=isNaN(t+n)?0:function(p){return(1-p)*t+p*n};if(!s){var a,o,u,l,h,c=Re(t),f={};if(r===!0&&(i=1)&&(r=null),c)t={p:t},n={p:n};else if(We(t)&&!We(n)){for(u=[],l=t.length,h=l-2,o=1;o<l;o++)u.push(e(t[o-1],t[o]));l--,s=function(p){p*=l;var T=Math.min(h,~~p);return u[T](p-T)},r=n}else i||(t=_r(We(t)?[]:{},t));if(!u){for(a in n)Js.call(f,t,a,"get",n[a]);s=function(p){return As(p,f)||(c?t.p:t)}}}return hn(r,s)},shuffle:To},install:ho,effects:ts,ticker:gt,updateRoot:Je.updateRoot,plugins:dt,globalTimeline:fe,core:{PropTween:ot,globals:fo,Tween:ke,Timeline:Je,Animation:Zr,getCache:In,_removeLinkedListItem:ji,reverting:function(){return Be},context:function(e){return e&&he&&(he.data.push(e),e._ctx=he),he},suppressOverwrites:function(e){return js=e}}};st("to,from,fromTo,delayedCall,set,killTweensOf",function(e){return Yi[e]=ke[e]}),gt.add(Je.updateRoot),ar=Yi.to({},{duration:0});var tl=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},os=function(e,t){return{name:e,rawVars:1,init:function(n,r,i){i._onInit=function(s){var a,o;if(Re(r)&&(a={},st(r,function(u){return a[u]=1}),r=a),t){for(o in a={},r)a[o]=t(r[o]);r=a}(function(u,l){var h,c,f,p=u._targets;for(h in l)for(c=p.length;c--;)(f=u._ptLookup[c][h])&&(f=f.d)&&(f._pt&&(f=tl(f,h)),f&&f.modifier&&f.modifier(l[h],u,p[c],h))})(s,r)}}}},ut=Yi.registerPlugin({name:"attr",init:function(e,t,n,r,i){var s,a,o;for(s in this.tween=n,t)o=e.getAttribute(s)||"",(a=this.add(e,"setAttribute",(o||0)+"",t[s],r,i,0,0,s)).op=s,a.b=o,this._props.push(s)},render:function(e,t){for(var n=t._pt;n;)Be?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},os("roundProps",Os),os("modifiers"),os("snap",Mo))||Yi;ke.version=Je.version=ut.version="3.12.7",io=1,$s()&&gr(),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;var Aa,pn,hr,na,zn,Ca,ra,Uo,rn={},Pn=180/Math.PI,fr=Math.PI/180,er=Math.atan2,ia=/([A-Z])/g,nl=/(left|right|width|margin|padding|x)/i,rl=/[\s,\(]\S/,qt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ss=function(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},il=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},sl=function(e,t){return t.set(t.t,t.p,e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)},al=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},Wo=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Vo=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},ol=function(e,t,n){return e.style[t]=n},ul=function(e,t,n){return e.style.setProperty(t,n)},ll=function(e,t,n){return e._gsap[t]=n},cl=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},hl=function(e,t,n,r,i){var s=e._gsap;s.scaleX=s.scaleY=n,s.renderTransform(i,s)},fl=function(e,t,n,r,i){var s=e._gsap;s[t]=n,s.renderTransform(i,s)},pe="transform",lt=pe+"Origin",pl=function e(t,n){var r=this,i=this.target,s=i.style,a=i._gsap;if(t in rn&&s){if(this.tfm=this.tfm||{},t==="transform")return qt.transform.split(",").forEach(function(o){return e.call(r,o,n)});if(~(t=qt[t]||t).indexOf(",")?t.split(",").forEach(function(o){return r.tfm[o]=Zt(i,o)}):this.tfm[t]=a.x?a[t]:Zt(i,t),t===lt&&(this.tfm.zOrigin=a.zOrigin),this.props.indexOf(pe)>=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(lt,n,"")),t=pe}(s||n)&&this.props.push(t,n,s[t])},jo=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},dl=function(){var e,t,n=this.props,r=this.target,i=r.style,s=r._gsap;for(e=0;e<n.length;e+=3)n[e+1]?n[e+1]===2?r[n[e]](n[e+2]):r[n[e]]=n[e+2]:n[e+2]?i[n[e]]=n[e+2]:i.removeProperty(n[e].substr(0,2)==="--"?n[e]:n[e].replace(ia,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)s[t]=this.tfm[t];s.svg&&(s.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(e=ra())&&e.isStart||i[pe]||(jo(i),s.zOrigin&&i[lt]&&(i[lt]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},Ho=function(e,t){var n={target:e,props:[],revert:dl,save:pl};return e._gsap||ut.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(r){return n.save(r)}),n},Ps=function(e,t){var n=pn.createElementNS?pn.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):pn.createElement(e);return n&&n.style?n:pn.createElement(e)},Vt=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(ia,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&e(t,vr(n)||n,1)||""},Sa="O,Moz,ms,Ms,Webkit".split(","),vr=function(e,t,n){var r=(t||zn).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(Sa[i]+e in r););return i<0?null:(i===3?"ms":i>=0?Sa[i]:"")+e},Ds=function(){typeof window<"u"&&window.document&&(Aa=window,pn=Aa.document,hr=pn.documentElement,zn=Ps("div")||{style:{}},Ps("div"),pe=vr(pe),lt=pe+"Origin",zn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Uo=!!vr("perspective"),ra=ut.core.reverting,na=1)},Pa=function(e){var t,n=e.ownerSVGElement,r=Ps("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0);i.style.display="block",r.appendChild(i),hr.appendChild(r);try{t=i.getBBox()}catch{}return r.removeChild(i),hr.removeChild(r),t},Da=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Qo=function(e){var t,n;try{t=e.getBBox()}catch{t=Pa(e),n=1}return t&&(t.width||t.height)||n||(t=Pa(e)),!t||t.width||t.x||t.y?t:{x:+Da(e,["x","cx","x1"])||0,y:+Da(e,["y","cy","y1"])||0,width:0,height:0}},$o=function(e){return!(!e.getCTM||e.parentNode&&!e.ownerSVGElement||!Qo(e))},Wn=function(e,t){if(t){var n,r=e.style;t in rn&&t!==lt&&(t=pe),r.removeProperty?((n=t.substr(0,2))!=="ms"&&t.substr(0,6)!=="webkit"||(t="-"+t),r.removeProperty(n==="--"?t:t.replace(ia,"-$1").toLowerCase())):r.removeAttribute(t)}},dn=function(e,t,n,r,i,s){var a=new ot(e._pt,t,n,0,1,s?Vo:Wo);return e._pt=a,a.b=r,a.e=i,e._props.push(n),a},Ra={deg:1,rad:1,turn:1},_l={grid:1,flex:1},bn=function e(t,n,r,i){var s,a,o,u,l=parseFloat(r)||0,h=(r+"").trim().substr((l+"").length)||"px",c=zn.style,f=nl.test(n),p=t.tagName.toLowerCase()==="svg",T=(p?"client":"offset")+(f?"Width":"Height"),x=100,v=i==="px",d=i==="%";if(i===h||!l||Ra[i]||Ra[h])return l;if(h!=="px"&&!v&&(l=e(t,n,r,"px")),u=t.getCTM&&$o(t),(d||h==="%")&&(rn[n]||~n.indexOf("adius")))return s=u?t.getBBox()[f?"width":"height"]:t[T],ye(d?l/s*x:l/100*s);if(c[f?"width":"height"]=x+(v?h:i),a=i!=="rem"&&~n.indexOf("adius")||i==="em"&&t.appendChild&&!p?t:t.parentNode,u&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==pn&&a.appendChild||(a=pn.body),(o=a._gsap)&&d&&o.width&&f&&o.time===gt.time&&!o.uncache)return ye(l/o.width*x);if(!d||n!=="height"&&n!=="width")(d||h==="%")&&!_l[Vt(a,"display")]&&(c.position=Vt(t,"position")),a===t&&(c.position="static"),a.appendChild(zn),s=zn[T],a.removeChild(zn),c.position="absolute";else{var m=t.style[n];t.style[n]=x+i,s=t[T],m?t.style[n]=m:Wn(t,n)}return f&&d&&((o=In(a)).time=gt.time,o.width=a[T]),ye(v?s*l/x:s&&l?x/s*l:0)},Zt=function(e,t,n,r){var i;return na||Ds(),t in qt&&t!=="transform"&&~(t=qt[t]).indexOf(",")&&(t=t.split(",")[0]),rn[t]&&t!=="transform"?(i=Jr(e,r),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Xi(Vt(e,lt))+" "+i.zOrigin+"px"):(!(i=e.style[t])||i==="auto"||r||~(i+"").indexOf("calc("))&&(i=Li[t]&&Li[t](e,t,n)||Vt(e,t)||po(e,t)||(t==="opacity"?1:0)),n&&!~(i+"").trim().indexOf(" ")?bn(e,t,i,n)+n:i},ml=function(e,t,n,r){if(!n||n==="none"){var i=vr(t,e,1),s=i&&Vt(e,i,1);s&&s!==n?(t=i,n=s):t==="borderColor"&&(n=Vt(e,"borderTopColor"))}var a,o,u,l,h,c,f,p,T,x,v,d=new ot(this._pt,e.style,t,0,1,Xo),m=0,y=0;if(d.b=n,d.e=r,n+="",(r+="")=="auto"&&(c=e.style[t],e.style[t]=r,r=Vt(e,t)||r,c?e.style[t]=c:Wn(e,t)),So(a=[n,r]),r=a[1],u=(n=a[0]).match(or)||[],(r.match(or)||[]).length){for(;o=or.exec(r);)f=o[0],T=r.substring(m,o.index),h?h=(h+1)%5:T.substr(-5)!=="rgba("&&T.substr(-5)!=="hsla("||(h=1),f!==(c=u[y++]||"")&&(l=parseFloat(c)||0,v=c.substr((l+"").length),f.charAt(1)==="="&&(f=lr(l,f)+v),p=parseFloat(f),x=f.substr((p+"").length),m=or.lastIndex-x.length,x||(x=x||xt.units[t]||v,m===r.length&&(r+=x,d.e+=x)),v!==x&&(l=bn(e,t,c,x)||0),d._pt={_next:d._pt,p:T||y===1?T:",",s:l,c:p-l,m:h&&h<4||t==="zIndex"?Math.round:0});d.c=m<r.length?r.substring(m,r.length):""}else d.r=t==="display"&&r==="none"?Vo:Wo;return lo.test(r)&&(d.e=0),this._pt=d,d},Fa={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},gl=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n,r,i,s=t.t,a=s.style,o=t.u,u=s._gsap;if(o==="all"||o===!0)a.cssText="",r=1;else for(i=(o=o.split(",")).length;--i>-1;)n=o[i],rn[n]&&(r=1,n=n==="transformOrigin"?lt:pe),Wn(s,n);r&&(Wn(s,pe),u&&(u.svg&&s.removeAttribute("transform"),a.scale=a.rotate=a.translate="none",Jr(s,1),u.uncache=1,jo(a)))}},Li={clearProps:function(e,t,n,r,i){if(i.data!=="isFromStart"){var s=e._pt=new ot(e._pt,t,n,0,0,gl);return s.u=r,s.pr=-10,s.tween=i,e._props.push(n),1}}},Kr=[1,0,0,1,0,0],Go={},Zo=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},za=function(e){var t=Vt(e,pe);return Zo(t)?Kr:t.substr(7).match(uo).map(ye)},sa=function(e,t){var n,r,i,s,a=e._gsap||In(e),o=e.style,u=za(e);return a.svg&&e.getAttribute("transform")?(u=[(i=e.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")==="1,0,0,1,0,0"?Kr:u:(u!==Kr||e.offsetParent||e===hr||a.svg||(i=o.display,o.display="block",(n=e.parentNode)&&(e.offsetParent||e.getBoundingClientRect().width)||(s=1,r=e.nextElementSibling,hr.appendChild(e)),u=za(e),i?o.display=i:Wn(e,"display"),s&&(r?n.insertBefore(e,r):n?n.appendChild(e):hr.removeChild(e))),t&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},Rs=function(e,t,n,r,i,s){var a,o,u,l=e._gsap,h=i||sa(e,!0),c=l.xOrigin||0,f=l.yOrigin||0,p=l.xOffset||0,T=l.yOffset||0,x=h[0],v=h[1],d=h[2],m=h[3],y=h[4],_=h[5],k=t.split(" "),M=parseFloat(k[0])||0,O=parseFloat(k[1])||0;n?h!==Kr&&(o=x*m-v*d)&&(u=M*(-v/o)+O*(x/o)-(x*_-v*y)/o,M=M*(m/o)+O*(-d/o)+(d*_-m*y)/o,O=u):(M=(a=Qo(e)).x+(~k[0].indexOf("%")?M/100*a.width:M),O=a.y+(~(k[1]||k[0]).indexOf("%")?O/100*a.height:O)),r||r!==!1&&l.smooth?(y=M-c,_=O-f,l.xOffset=p+(y*x+_*d)-y,l.yOffset=T+(y*v+_*m)-_):l.xOffset=l.yOffset=0,l.xOrigin=M,l.yOrigin=O,l.smooth=!!r,l.origin=t,l.originIsAbsolute=!!n,e.style[lt]="0px 0px",s&&(dn(s,l,"xOrigin",c,M),dn(s,l,"yOrigin",f,O),dn(s,l,"xOffset",p,l.xOffset),dn(s,l,"yOffset",T,l.yOffset)),e.setAttribute("data-svg-origin",M+" "+O)},Jr=function(e,t){var n=e._gsap||new Fo(e);if("x"in n&&!t&&!n.uncache)return n;var r,i,s,a,o,u,l,h,c,f,p,T,x,v,d,m,y,_,k,M,O,w,L,R,S,Y,F,K,N,re,H,P,de=e.style,Ye=n.scaleX<0,be="px",ge="deg",_e=getComputedStyle(e),He=Vt(e,lt)||"0";return r=i=s=u=l=h=c=f=p=0,a=o=1,n.svg=!(!e.getCTM||!$o(e)),_e.translate&&(_e.translate==="none"&&_e.scale==="none"&&_e.rotate==="none"||(de[pe]=(_e.translate!=="none"?"translate3d("+(_e.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(_e.rotate!=="none"?"rotate("+_e.rotate+") ":"")+(_e.scale!=="none"?"scale("+_e.scale.split(" ").join(",")+") ":"")+(_e[pe]!=="none"?_e[pe]:"")),de.scale=de.rotate=de.translate="none"),v=sa(e,n.svg),n.svg&&(n.uncache?(S=e.getBBox(),He=n.xOrigin-S.x+"px "+(n.yOrigin-S.y)+"px",R=""):R=!t&&e.getAttribute("data-svg-origin"),Rs(e,R||He,!!R||n.originIsAbsolute,n.smooth!==!1,v)),T=n.xOrigin||0,x=n.yOrigin||0,v!==Kr&&(_=v[0],k=v[1],M=v[2],O=v[3],r=w=v[4],i=L=v[5],v.length===6?(a=Math.sqrt(_*_+k*k),o=Math.sqrt(O*O+M*M),u=_||k?er(k,_)*Pn:0,(c=M||O?er(M,O)*Pn+u:0)&&(o*=Math.abs(Math.cos(c*fr))),n.svg&&(r-=T-(T*_+x*M),i-=x-(T*k+x*O))):(P=v[6],re=v[7],F=v[8],K=v[9],N=v[10],H=v[11],r=v[12],i=v[13],s=v[14],l=(d=er(P,N))*Pn,d&&(R=w*(m=Math.cos(-d))+F*(y=Math.sin(-d)),S=L*m+K*y,Y=P*m+N*y,F=w*-y+F*m,K=L*-y+K*m,N=P*-y+N*m,H=re*-y+H*m,w=R,L=S,P=Y),h=(d=er(-M,N))*Pn,d&&(m=Math.cos(-d),H=O*(y=Math.sin(-d))+H*m,_=R=_*m-F*y,k=S=k*m-K*y,M=Y=M*m-N*y),u=(d=er(k,_))*Pn,d&&(R=_*(m=Math.cos(d))+k*(y=Math.sin(d)),S=w*m+L*y,k=k*m-_*y,L=L*m-w*y,_=R,w=S),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,h=180-h),a=ye(Math.sqrt(_*_+k*k+M*M)),o=ye(Math.sqrt(L*L+P*P)),d=er(w,L),c=Math.abs(d)>2e-4?d*Pn:0,p=H?1/(H<0?-H:H):0),n.svg&&(R=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!Zo(Vt(e,pe)),R&&e.setAttribute("transform",R))),Math.abs(c)>90&&Math.abs(c)<270&&(Ye?(a*=-1,c+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,c+=c<=0?180:-180)),t=t||n.uncache,n.x=r-((n.xPercent=r&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-r)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+be,n.y=i-((n.yPercent=i&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-i)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+be,n.z=s+be,n.scaleX=ye(a),n.scaleY=ye(o),n.rotation=ye(u)+ge,n.rotationX=ye(l)+ge,n.rotationY=ye(h)+ge,n.skewX=c+ge,n.skewY=f+ge,n.transformPerspective=p+be,(n.zOrigin=parseFloat(He.split(" ")[2])||!t&&n.zOrigin||0)&&(de[lt]=Xi(He)),n.xOffset=n.yOffset=0,n.force3D=xt.force3D,n.renderTransform=n.svg?yl:Uo?Ko:vl,n.uncache=0,n},Xi=function(e){return(e=e.split(" "))[0]+" "+e[1]},us=function(e,t,n){var r=Ve(t);return ye(parseFloat(t)+parseFloat(bn(e,"x",n+"px",r)))+r},vl=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ko(e,t)},Cn="0deg",Or="0px",Sn=") ",Ko=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,s=n.x,a=n.y,o=n.z,u=n.rotation,l=n.rotationY,h=n.rotationX,c=n.skewX,f=n.skewY,p=n.scaleX,T=n.scaleY,x=n.transformPerspective,v=n.force3D,d=n.target,m=n.zOrigin,y="",_=v==="auto"&&e&&e!==1||v===!0;if(m&&(h!==Cn||l!==Cn)){var k,M=parseFloat(l)*fr,O=Math.sin(M),w=Math.cos(M);M=parseFloat(h)*fr,k=Math.cos(M),s=us(d,s,O*k*-m),a=us(d,a,-Math.sin(M)*-m),o=us(d,o,w*k*-m+m)}x!==Or&&(y+="perspective("+x+Sn),(r||i)&&(y+="translate("+r+"%, "+i+"%) "),(_||s!==Or||a!==Or||o!==Or)&&(y+=o!==Or||_?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+Sn),u!==Cn&&(y+="rotate("+u+Sn),l!==Cn&&(y+="rotateY("+l+Sn),h!==Cn&&(y+="rotateX("+h+Sn),c===Cn&&f===Cn||(y+="skew("+c+", "+f+Sn),p===1&&T===1||(y+="scale("+p+", "+T+Sn),d.style[pe]=y||"translate(0, 0)"},yl=function(e,t){var n,r,i,s,a,o=t||this,u=o.xPercent,l=o.yPercent,h=o.x,c=o.y,f=o.rotation,p=o.skewX,T=o.skewY,x=o.scaleX,v=o.scaleY,d=o.target,m=o.xOrigin,y=o.yOrigin,_=o.xOffset,k=o.yOffset,M=o.forceCSS,O=parseFloat(h),w=parseFloat(c);f=parseFloat(f),p=parseFloat(p),(T=parseFloat(T))&&(p+=T=parseFloat(T),f+=T),f||p?(f*=fr,p*=fr,n=Math.cos(f)*x,r=Math.sin(f)*x,i=Math.sin(f-p)*-v,s=Math.cos(f-p)*v,p&&(T*=fr,a=Math.tan(p-T),i*=a=Math.sqrt(1+a*a),s*=a,T&&(a=Math.tan(T),n*=a=Math.sqrt(1+a*a),r*=a)),n=ye(n),r=ye(r),i=ye(i),s=ye(s)):(n=x,s=v,r=i=0),(O&&!~(h+"").indexOf("px")||w&&!~(c+"").indexOf("px"))&&(O=bn(d,"x",h,"px"),w=bn(d,"y",c,"px")),(m||y||_||k)&&(O=ye(O+m-(m*n+y*i)+_),w=ye(w+y-(m*r+y*s)+k)),(u||l)&&(a=d.getBBox(),O=ye(O+u/100*a.width),w=ye(w+l/100*a.height)),a="matrix("+n+","+r+","+i+","+s+","+O+","+w+")",d.setAttribute("transform",a),M&&(d.style[pe]=a)},xl=function(e,t,n,r,i){var s,a,o=360,u=Re(i),l=parseFloat(i)*(u&&~i.indexOf("rad")?Pn:1)-r,h=r+l+"deg";return u&&((s=i.split("_")[1])==="short"&&(l%=o)!==l%180&&(l+=l<0?o:-360),s==="cw"&&l<0?l=(l+36e9)%o-~~(l/o)*o:s==="ccw"&&l>0&&(l=(l-36e9)%o-~~(l/o)*o)),e._pt=a=new ot(e._pt,t,n,r,l,il),a.e=h,a.u="deg",e._props.push(n),a},Ia=function(e,t){for(var n in t)e[n]=t[n];return e},bl=function(e,t,n){var r,i,s,a,o,u,l,h=Ia({},n._gsap),c=n.style;for(i in h.svg?(s=n.getAttribute("transform"),n.setAttribute("transform",""),c[pe]=t,r=Jr(n,1),Wn(n,pe),n.setAttribute("transform",s)):(s=getComputedStyle(n)[pe],c[pe]=t,r=Jr(n,1),c[pe]=s),rn)(s=h[i])!==(a=r[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(o=Ve(s)!==(l=Ve(a))?bn(n,i,s,l):parseFloat(s),u=parseFloat(a),e._pt=new ot(e._pt,r,i,o,u-o,Ss),e._pt.u=l||0,e._props.push(i));Ia(r,h)};st("padding,margin,Width,Radius",function(e,t){var n="Top",r="Right",i="Bottom",s="Left",a=(t<3?[n,r,i,s]:[n+s,n+r,i+r,i+s]).map(function(o){return t<2?e+o:"border"+o+e});Li[t>1?"border"+e:e]=function(o,u,l,h,c){var f,p;if(arguments.length<4)return f=a.map(function(T){return Zt(o,T,l)}),(p=f.join(" ")).split(f[0]).length===5?f[0]:p;f=(h+"").split(" "),p={},a.forEach(function(T,x){return p[T]=f[x]=f[x]||f[(x-1)/2|0]}),o.init(u,p,c)}});var Ba,ls,cs,Jo={name:"css",register:Ds,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var s,a,o,u,l,h,c,f,p,T,x,v,d,m,y,_,k,M,O,w,L=this._props,R=e.style,S=n.vars.startAt;for(c in na||Ds(),this.styles=this.styles||Ho(e),_=this.styles.props,this.tween=n,t)if(c!=="autoRound"&&(a=t[c],!dt[c]||!zo(c,t,n,r,e,i))){if(l=typeof a,h=Li[c],l==="function"&&(l=typeof(a=a.call(n,r,e,i))),l==="string"&&~a.indexOf("random(")&&(a=Gr(a)),h)h(this,e,c,a,n)&&(y=1);else if(c.substr(0,2)==="--")s=(getComputedStyle(e).getPropertyValue(c)+"").trim(),a+="",yn.lastIndex=0,yn.test(s)||(f=Ve(s),p=Ve(a)),p?f!==p&&(s=bn(e,c,s,p)+p):f&&(a+=f),this.add(R,"setProperty",s,a,r,i,0,0,c),L.push(c),_.push(c,0,R[c]);else if(l!=="undefined"){if(S&&c in S?(s=typeof S[c]=="function"?S[c].call(n,r,e,i):S[c],Re(s)&&~s.indexOf("random(")&&(s=Gr(s)),Ve(s+"")||s==="auto"||(s+=xt.units[c]||Ve(Zt(e,c))||""),(s+"").charAt(1)==="="&&(s=Zt(e,c))):s=Zt(e,c),u=parseFloat(s),(T=l==="string"&&a.charAt(1)==="="&&a.substr(0,2))&&(a=a.substr(2)),o=parseFloat(a),c in qt&&(c==="autoAlpha"&&(u===1&&Zt(e,"visibility")==="hidden"&&o&&(u=0),_.push("visibility",0,R.visibility),dn(this,R,"visibility",u?"inherit":"hidden",o?"inherit":"hidden",!o)),c!=="scale"&&c!=="transform"&&~(c=qt[c]).indexOf(",")&&(c=c.split(",")[0])),x=c in rn)if(this.styles.save(c),v||((d=e._gsap).renderTransform&&!t.parseTransform||Jr(e,t.parseTransform),m=t.smoothOrigin!==!1&&d.smooth,(v=this._pt=new ot(this._pt,R,pe,0,1,d.renderTransform,d,0,-1)).dep=1),c==="scale")this._pt=new ot(this._pt,d,"scaleY",d.scaleY,(T?lr(d.scaleY,T+o):o)-d.scaleY||0,Ss),this._pt.u=0,L.push("scaleY",c),c+="X";else{if(c==="transformOrigin"){_.push(lt,0,R[lt]),M=void 0,O=void 0,w=void 0,M=(k=a).split(" "),O=M[0],w=M[1]||"50%",O!=="top"&&O!=="bottom"&&w!=="left"&&w!=="right"||(k=O,O=w,w=k),M[0]=Fa[O]||O,M[1]=Fa[w]||w,a=M.join(" "),d.svg?Rs(e,a,0,m,0,this):((p=parseFloat(a.split(" ")[2])||0)!==d.zOrigin&&dn(this,d,"zOrigin",d.zOrigin,p),dn(this,R,c,Xi(s),Xi(a)));continue}if(c==="svgOrigin"){Rs(e,a,1,m,0,this);continue}if(c in Go){xl(this,d,c,u,T?lr(u,T+a):a);continue}if(c==="smoothOrigin"){dn(this,d,"smooth",d.smooth,a);continue}if(c==="force3D"){d[c]=a;continue}if(c==="transform"){bl(this,a,e);continue}}else c in R||(c=vr(c)||c);if(x||(o||o===0)&&(u||u===0)&&!rl.test(a)&&c in R)o||(o=0),(f=(s+"").substr((u+"").length))!==(p=Ve(a)||(c in xt.units?xt.units[c]:f))&&(u=bn(e,c,s,p)),this._pt=new ot(this._pt,x?d:R,c,u,(T?lr(u,T+o):o)-u,x||p!=="px"&&c!=="zIndex"||t.autoRound===!1?Ss:al),this._pt.u=p||0,f!==p&&p!=="%"&&(this._pt.b=s,this._pt.r=sl);else if(c in R)ml.call(this,e,c,s,T?T+a:a);else if(c in e)this.add(e,c,s||e[c],T?T+a:a,r,i);else if(c!=="parseTransform")continue;x||(c in R?_.push(c,0,R[c]):typeof e[c]=="function"?_.push(c,2,e[c]()):_.push(c,1,s||e[c])),L.push(c)}}y&&No(this)},render:function(e,t){if(t.tween._time||!ra())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:Zt,aliases:qt,getSetter:function(e,t,n){var r=qt[t];return r&&r.indexOf(",")<0&&(t=r),t in rn&&t!==lt&&(e._gsap.x||Zt(e,"x"))?n&&Ca===n?t==="scale"?cl:ll:(Ca=n||{})&&(t==="scale"?hl:fl):e.style&&!Qs(e.style[t])?ol:~t.indexOf("-")?ul:ta(e,t)},core:{_removeProperty:Wn,_getMatrix:sa}};ut.utils.checkPrefix=vr,ut.core.getStyleSaver=Ho,cs=st((Ba="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(ls="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(e){rn[e]=1}),st(ls,function(e){xt.units[e]="deg",Go[e]=1}),qt[cs[13]]=Ba+","+ls,st("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(e){var t=e.split(":");qt[t[1]]=cs[t[0]]}),st("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){xt.units[e]="px"}),ut.registerPlugin(Jo);var eu=ut.registerPlugin(Jo)||ut;function Tl(e,t,n){return t&&function(r,i){for(var s=0;s<i.length;s++){var a=i[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(r,a.key,a)}}(e.prototype,t),e}eu.core.Tween;var Ie,Ei,vt,_n,mn,pr,tu,Dn,Ai,nu,Jt,Dt,ru,iu=function(){return Ie||typeof window<"u"&&(Ie=window.gsap)&&Ie.registerPlugin&&Ie},su=1,ur=[],j=[],Ut=[],Yr=Date.now,Fs=function(e,t){return t},gn=function(e,t){return~Ut.indexOf(e)&&Ut[Ut.indexOf(e)+1][t]},Lr=function(e){return!!~nu.indexOf(e)},$e=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:r!==!1,capture:!!i})},Qe=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},fi="scrollLeft",pi="scrollTop",zs=function(){return Jt&&Jt.isPressed||j.cache++},Ni=function(e,t){var n=function r(i){if(i||i===0){su&&(vt.history.scrollRestoration="manual");var s=Jt&&Jt.isPressed;i=r.v=Math.round(i)||(Jt&&Jt.iOS?1:0),e(i),r.cacheID=j.cache,s&&Fs("ss",i)}else(t||j.cache!==r.cacheID||Fs("ref"))&&(r.cacheID=j.cache,r.v=e());return r.v+r.offset};return n.offset=0,e&&n},et={s:fi,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Ni(function(e){return arguments.length?vt.scrollTo(e,Se.sc()):vt.pageXOffset||_n[fi]||mn[fi]||pr[fi]||0})},Se={s:pi,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:et,sc:Ni(function(e){return arguments.length?vt.scrollTo(et.sc(),e):vt.pageYOffset||_n[pi]||mn[pi]||pr[pi]||0})},it=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ie.utils.toArray)(e)[0]||(typeof e=="string"&&Ie.config().nullTargetWarn!==!1?void 0:null)},Tn=function(e,t){var n=t.s,r=t.sc;Lr(e)&&(e=_n.scrollingElement||mn);var i=j.indexOf(e),s=r===Se.sc?1:2;!~i&&(i=j.push(e)-1),j[i+s]||$e(e,"scroll",zs);var a=j[i+s],o=a||(j[i+s]=Ni(gn(e,n),!0)||(Lr(e)?r:Ni(function(u){return arguments.length?e[n]=u:e[n]})));return o.target=e,a||(o.smooth=Ie.getProperty(e,"scrollBehavior")==="smooth"),o},Is=function(e,t,n){var r=e,i=e,s=Yr(),a=s,o=t||50,u=Math.max(500,3*o),l=function(h,c){var f=Yr();c||f-s>o?(i=r,r=h,a=s,s=f):n?r+=h:r=i+(h-i)/(f-a)*(s-a)};return{update:l,reset:function(){i=r=n?0:r,a=s=0},getVelocity:function(h){var c=a,f=i,p=Yr();return(h||h===0)&&h!==r&&l(h),s===a||p-a>u?0:(r+(n?f:-f))/((n?p:s)-c)*1e3}}},wr=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Ya=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},au=function(){var e,t,n,r;(Ai=Ie.core.globals().ScrollTrigger)&&Ai.core&&(e=Ai.core,t=e.bridge||{},n=e._scrollers,r=e._proxies,n.push.apply(n,j),r.push.apply(r,Ut),j=n,Ut=r,Fs=function(i,s){return t[i](s)})},ou=function(e){return Ie=e||iu(),!Ei&&Ie&&typeof document<"u"&&document.body&&(vt=window,_n=document,mn=_n.documentElement,pr=_n.body,nu=[vt,_n,mn,pr],Ie.utils.clamp,ru=Ie.core.context||function(){},Dn="onpointerenter"in pr?"pointer":"mouse",tu=xe.isTouch=vt.matchMedia&&vt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in vt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Dt=xe.eventTypes=("ontouchstart"in mn?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in mn?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return su=0},500),au(),Ei=1),Ei};et.op=Se,j.cache=0;var xe=function(){function e(t){this.init(t)}return e.prototype.init=function(t){Ei||ou(Ie),Ai||au();var n=t.tolerance,r=t.dragMinimum,i=t.type,s=t.target,a=t.lineHeight,o=t.debounce,u=t.preventDefault,l=t.onStop,h=t.onStopDelay,c=t.ignore,f=t.wheelSpeed,p=t.event,T=t.onDragStart,x=t.onDragEnd,v=t.onDrag,d=t.onPress,m=t.onRelease,y=t.onRight,_=t.onLeft,k=t.onUp,M=t.onDown,O=t.onChangeX,w=t.onChangeY,L=t.onChange,R=t.onToggleX,S=t.onToggleY,Y=t.onHover,F=t.onHoverEnd,K=t.onMove,N=t.ignoreCheck,re=t.isNormalizer,H=t.onGestureStart,P=t.onGestureEnd,de=t.onWheel,Ye=t.onEnable,be=t.onDisable,ge=t.onClick,_e=t.scrollSpeed,He=t.capture,sn=t.allowClicks,ri=t.lockAxis,xr=t.onLockAxis;this.target=s=it(s)||mn,this.vars=t,c&&(c=Ie.utils.toArray(c)),n=n||1e-9,r=r||0,f=f||1,_e=_e||1,i=i||"wheel,touch,pointer",o=o!==!1,a||(a=parseFloat(vt.getComputedStyle(pr).lineHeight)||22);var Rt,se,nt,St,Le,Hn,an,b=this,Oe=0,z=0,Xe=t.passive||!u&&t.passive!==!1,kn=Tn(s,et),Ht=Tn(s,Se),Qn=kn(),$n=Ht(),br=~i.indexOf("touch")&&!~i.indexOf("pointer")&&Dt[0]==="pointerdown",le=Lr(s),ve=s.ownerDocument||_n,we=[0,0,0],X=[0,0,0],Gn=0,Mn=function(){return Gn=Yr()},D=function(E,G){return(b.event=E)&&c&&~c.indexOf(E.target)||G&&br&&E.pointerType!=="touch"||N&&N(E,G)},Ee=function(){var E=b.deltaX=Ya(we),G=b.deltaY=Ya(X),Q=Math.abs(E)>=n,rt=Math.abs(G)>=n;L&&(Q||rt)&&L(b,E,G,we,X),Q&&(y&&b.deltaX>0&&y(b),_&&b.deltaX<0&&_(b),O&&O(b),R&&b.deltaX<0!=Oe<0&&R(b),Oe=b.deltaX,we[0]=we[1]=we[2]=0),rt&&(M&&b.deltaY>0&&M(b),k&&b.deltaY<0&&k(b),w&&w(b),S&&b.deltaY<0!=z<0&&S(b),z=b.deltaY,X[0]=X[1]=X[2]=0),(St||nt)&&(K&&K(b),nt&&(T&&nt===1&&T(b),v&&v(b),nt=0),St=!1),Hn&&!(Hn=!1)&&xr&&xr(b),Le&&(de(b),Le=!1),Rt=0},ee=function(E,G,Q){we[Q]+=E,X[Q]+=G,b._vx.update(E),b._vy.update(G),o?Rt||(Rt=requestAnimationFrame(Ee)):Ee()},Zn=function(E,G){ri&&!an&&(b.axis=an=Math.abs(E)>Math.abs(G)?"x":"y",Hn=!0),an!=="y"&&(we[2]+=E,b._vx.update(E,!0)),an!=="x"&&(X[2]+=G,b._vy.update(G,!0)),o?Rt||(Rt=requestAnimationFrame(Ee)):Ee()},Ne=function(E){if(!D(E,1)){var G=(E=wr(E,u)).clientX,Q=E.clientY,rt=G-b.x,ct=Q-b.y,un=b.isDragging;b.x=G,b.y=Q,(un||(rt||ct)&&(Math.abs(b.startX-G)>=r||Math.abs(b.startY-Q)>=r))&&(nt=un?2:1,un||(b.isDragging=!0),Zn(rt,ct))}},Tt=b.onPress=function(E){D(E,1)||E&&E.button||(b.axis=an=null,se.pause(),b.isPressed=!0,E=wr(E),Oe=z=0,b.startX=b.x=E.clientX,b.startY=b.y=E.clientY,b._vx.reset(),b._vy.reset(),$e(re?s:ve,Dt[1],Ne,Xe,!0),b.deltaX=b.deltaY=0,d&&d(b))},Ft=b.onRelease=function(E){if(!D(E,1)){Qe(re?s:ve,Dt[1],Ne,!0);var G=!isNaN(b.y-b.startY),Q=b.isDragging,rt=Q&&(Math.abs(b.x-b.startX)>3||Math.abs(b.y-b.startY)>3),ct=wr(E);!rt&&G&&(b._vx.reset(),b._vy.reset(),u&&sn&&Ie.delayedCall(.08,function(){if(Yr()-Gn>300&&!E.defaultPrevented){if(E.target.click)E.target.click();else if(ve.createEvent){var un=ve.createEvent("MouseEvents");un.initMouseEvent("click",!0,!0,vt,1,ct.screenX,ct.screenY,ct.clientX,ct.clientY,!1,!1,!1,!1,0,null),E.target.dispatchEvent(un)}}})),b.isDragging=b.isGesturing=b.isPressed=!1,l&&Q&&!re&&se.restart(!0),nt&&Ee(),x&&Q&&x(b),m&&m(b,rt)}},Kn=function(E){return E.touches&&E.touches.length>1&&(b.isGesturing=!0)&&H(E,b.isDragging)},On=function(){return(b.isGesturing=!1)||P(b)},Tr=function(E){if(!D(E)){var G=kn(),Q=Ht();ee((G-Qn)*_e,(Q-$n)*_e,1),Qn=G,$n=Q,l&&se.restart(!0)}},g=function(E){if(!D(E)){E=wr(E,u),de&&(Le=!0);var G=(E.deltaMode===1?a:E.deltaMode===2?vt.innerHeight:1)*f;ee(E.deltaX*G,E.deltaY*G,0),l&&!re&&se.restart(!0)}},Qt=function(E){if(!D(E)){var G=E.clientX,Q=E.clientY,rt=G-b.x,ct=Q-b.y;b.x=G,b.y=Q,St=!0,l&&se.restart(!0),(rt||ct)&&Zn(rt,ct)}},ii=function(E){b.event=E,Y(b)},si=function(E){b.event=E,F(b)},on=function(E){return D(E)||wr(E,u)&&ge(b)};se=b._dc=Ie.delayedCall(h||.25,function(){b._vx.reset(),b._vy.reset(),se.pause(),l&&l(b)}).pause(),b.deltaX=b.deltaY=0,b._vx=Is(0,50,!0),b._vy=Is(0,50,!0),b.scrollX=kn,b.scrollY=Ht,b.isDragging=b.isGesturing=b.isPressed=!1,ru(this),b.enable=function(E){return b.isEnabled||($e(le?ve:s,"scroll",zs),i.indexOf("scroll")>=0&&$e(le?ve:s,"scroll",Tr,Xe,He),i.indexOf("wheel")>=0&&$e(s,"wheel",g,Xe,He),(i.indexOf("touch")>=0&&tu||i.indexOf("pointer")>=0)&&($e(s,Dt[0],Tt,Xe,He),$e(ve,Dt[2],Ft),$e(ve,Dt[3],Ft),sn&&$e(s,"click",Mn,!0,!0),ge&&$e(s,"click",on),H&&$e(ve,"gesturestart",Kn),P&&$e(ve,"gestureend",On),Y&&$e(s,Dn+"enter",ii),F&&$e(s,Dn+"leave",si),K&&$e(s,Dn+"move",Qt)),b.isEnabled=!0,b.isDragging=b.isGesturing=b.isPressed=St=nt=!1,b._vx.reset(),b._vy.reset(),Qn=kn(),$n=Ht(),E&&E.type&&Tt(E),Ye&&Ye(b)),b},b.disable=function(){b.isEnabled&&(ur.filter(function(E){return E!==b&&Lr(E.target)}).length||Qe(le?ve:s,"scroll",zs),b.isPressed&&(b._vx.reset(),b._vy.reset(),Qe(re?s:ve,Dt[1],Ne,!0)),Qe(le?ve:s,"scroll",Tr,He),Qe(s,"wheel",g,He),Qe(s,Dt[0],Tt,He),Qe(ve,Dt[2],Ft),Qe(ve,Dt[3],Ft),Qe(s,"click",Mn,!0),Qe(s,"click",on),Qe(ve,"gesturestart",Kn),Qe(ve,"gestureend",On),Qe(s,Dn+"enter",ii),Qe(s,Dn+"leave",si),Qe(s,Dn+"move",Qt),b.isEnabled=b.isPressed=b.isDragging=!1,be&&be(b))},b.kill=b.revert=function(){b.disable();var E=ur.indexOf(b);E>=0&&ur.splice(E,1),Jt===b&&(Jt=0)},ur.push(b),re&&Lr(s)&&(Jt=b),b.enable(p)},Tl(e,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),e}();xe.version="3.12.7",xe.create=function(e){return new xe(e)},xe.register=ou,xe.getAll=function(){return ur.slice()},xe.getById=function(e){return ur.filter(function(t){return t.vars.id===e})[0]},iu()&&Ie.registerPlugin(xe);var C,rr,V,ue,mt,ne,aa,qi,ei,Xr,Sr,di,qe,$i,Bs,Ze,La,Xa,ir,uu,hs,lu,Ge,Ys,cu,hu,cn,Ls,oa,Nr,ua,Ui,Xs,fs,ti,Ke,Na,qr,_i=1,Ue=Date.now,ps=Ue(),Ct=0,Pr=0,qa=function(e,t,n){var r=pt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return n["_"+t+"Clamp"]=r,r?e.substr(6,e.length-7):e},Ua=function(e,t){return!t||pt(e)&&e.substr(0,6)==="clamp("?e:"clamp("+e+")"},kl=function e(){return Pr&&requestAnimationFrame(e)},Wa=function(){return $i=1},Va=function(){return $i=0},Xt=function(e){return e},Dr=function(e){return Math.round(1e5*e)/1e5||0},fu=function(){return typeof window<"u"},pu=function(){return C||fu()&&(C=window.gsap)&&C.registerPlugin&&C},Vn=function(e){return!!~aa.indexOf(e)},du=function(e){return(e==="Height"?ua:V["inner"+e])||mt["client"+e]||ne["client"+e]},_u=function(e){return gn(e,"getBoundingClientRect")||(Vn(e)?function(){return Ri.width=V.innerWidth,Ri.height=ua,Ri}:function(){return Kt(e)})},Wt=function(e,t){var n=t.s,r=t.d2,i=t.d,s=t.a;return Math.max(0,(n="scroll"+r)&&(s=gn(e,n))?s()-_u(e)()[i]:Vn(e)?(mt[n]||ne[n])-du(r):e[n]-e["offset"+r])},mi=function(e,t){for(var n=0;n<ir.length;n+=3)(!t||~t.indexOf(ir[n+1]))&&e(ir[n],ir[n+1],ir[n+2])},pt=function(e){return typeof e=="string"},je=function(e){return typeof e=="function"},Rr=function(e){return typeof e=="number"},Rn=function(e){return typeof e=="object"},Er=function(e,t,n){return e&&e.progress(t?0:1)&&n&&e.pause()},ds=function(e,t){if(e.enabled){var n=e._ctx?e._ctx.add(function(){return t(e)}):t(e);n&&n.totalTime&&(e.callbackAnimation=n)}},tr=Math.abs,mu="left",la="right",ca="bottom",Xn="width",Nn="height",Ur="Right",Wr="Left",Vr="Top",jr="Bottom",Te="padding",Et="margin",yr="Width",ha="Height",Ce="px",wt=function(e){return V.getComputedStyle(e)},ja=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Kt=function(e,t){var n=t&&wt(e)[Bs]!=="matrix(1, 0, 0, 1, 0, 0)"&&C.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=e.getBoundingClientRect();return n&&n.progress(0).kill(),r},Wi=function(e,t){var n=t.d2;return e["offset"+n]||e["client"+n]||0},Ha=function(e){var t,n=[],r=e.labels,i=e.duration();for(t in r)n.push(r[t]/i);return n},Ns=function(e){var t=C.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort(function(r,i){return r-i});return n?function(r,i,s){var a;if(s===void 0&&(s=.001),!i)return t(r);if(i>0){for(r-=s,a=0;a<n.length;a++)if(n[a]>=r)return n[a];return n[a-1]}for(a=n.length,r+=s;a--;)if(n[a]<=r)return n[a];return n[0]}:function(r,i,s){s===void 0&&(s=.001);var a=t(r);return!i||Math.abs(a-r)<s||a-r<0==i<0?a:t(i<0?r-e:r+e)}},gi=function(e,t,n,r){return n.split(",").forEach(function(i){return e(t,i,r)})},De=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:!r,capture:!!i})},Pe=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},vi=function(e,t,n){(n=n&&n.wheelHandler)&&(e(t,"wheel",n),e(t,"touchmove",n))},Qa={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},yi={toggleActions:"play",anticipatePin:0},Vi={top:0,left:0,center:.5,bottom:1,right:1},Ci=function(e,t){if(pt(e)){var n=e.indexOf("="),r=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf("%")>n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in Vi?Vi[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},xi=function(e,t,n,r,i,s,a,o){var u=i.startColor,l=i.endColor,h=i.fontSize,c=i.indent,f=i.fontWeight,p=ue.createElement("div"),T=Vn(n)||gn(n,"pinType")==="fixed",x=e.indexOf("scroller")!==-1,v=T?ne:n,d=e.indexOf("start")!==-1,m=d?u:l,y="border-color:"+m+";font-size:"+h+";color:"+m+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((x||o)&&T?"fixed;":"absolute;"),(x||o||!T)&&(y+=(r===Se?la:ca)+":"+(s+parseFloat(c))+"px;"),a&&(y+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),p._isStart=d,p.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),p.style.cssText=y,p.innerText=t||t===0?e+"-"+t:e,v.children[0]?v.insertBefore(p,v.children[0]):v.appendChild(p),p._offset=p["offset"+r.op.d2],Si(p,0,r,d),p},Si=function(e,t,n,r){var i={display:"block"},s=n[r?"os2":"p2"],a=n[r?"p2":"os2"];e._isFlipped=r,i[n.a+"Percent"]=r?-100:0,i[n.a]=r?"1px":0,i["border"+s+yr]=1,i["border"+a+yr]=0,i[n.p]=t+"px",C.set(e,i)},U=[],qs={},$a=function(){return Ue()-Ct>34&&(ti||(ti=requestAnimationFrame(tn)))},nr=function(){(!Ge||!Ge.isPressed||Ge.startX>ne.clientWidth)&&(j.cache++,Ge?ti||(ti=requestAnimationFrame(tn)):tn(),Ct||jn("scrollStart"),Ct=Ue())},_s=function(){hu=V.innerWidth,cu=V.innerHeight},Fr=function(e){j.cache++,(e===!0||!qe&&!lu&&!ue.fullscreenElement&&!ue.webkitFullscreenElement&&(!Ys||hu!==V.innerWidth||Math.abs(V.innerHeight-cu)>.25*V.innerHeight))&&qi.restart(!0)},qn={},Ml=[],gu=function e(){return Pe($,"scrollEnd",e)||Fn(!0)},jn=function(e){return qn[e]&&qn[e].map(function(t){return t()})||Ml},ft=[],vu=function(e){for(var t=0;t<ft.length;t+=5)(!e||ft[t+4]&&ft[t+4].query===e)&&(ft[t].style.cssText=ft[t+1],ft[t].getBBox&&ft[t].setAttribute("transform",ft[t+2]||""),ft[t+3].uncache=1)},fa=function(e,t){var n;for(Ze=0;Ze<U.length;Ze++)!(n=U[Ze])||t&&n._ctx!==t||(e?n.kill(1):n.revert(!0,!0));Ui=!0,t&&vu(t),t||jn("revert")},yu=function(e,t){j.cache++,(t||!Ke)&&j.forEach(function(n){return je(n)&&n.cacheID++&&(n.rec=0)}),pt(e)&&(V.history.scrollRestoration=oa=e)},Un=0,xu=function(){ne.appendChild(Nr),ua=!Ge&&Nr.offsetHeight||V.innerHeight,ne.removeChild(Nr)},Ga=function(e){return ei(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},Fn=function(e,t){if(mt=ue.documentElement,ne=ue.body,aa=[V,ue,mt,ne],!Ct||e||Ui){xu(),Ke=$.isRefreshing=!0,j.forEach(function(r){return je(r)&&++r.cacheID&&(r.rec=r())});var n=jn("refreshInit");uu&&$.sort(),t||fa(),j.forEach(function(r){je(r)&&(r.smooth&&(r.target.style.scrollBehavior="auto"),r(0))}),U.slice(0).forEach(function(r){return r.refresh()}),Ui=!1,U.forEach(function(r){if(r._subPinOffset&&r.pin){var i=r.vars.horizontal?"offsetWidth":"offsetHeight",s=r.pin[i];r.revert(!0,1),r.adjustPinSpacing(r.pin[i]-s),r.refresh()}}),Xs=1,Ga(!0),U.forEach(function(r){var i=Wt(r.scroller,r._dir),s=r.vars.end==="max"||r._endClamp&&r.end>i,a=r._startClamp&&r.start>=i;(s||a)&&r.setPositions(a?i-1:r.start,s?Math.max(a?i:r.start+1,i):r.end,!0)}),Ga(!1),Xs=0,n.forEach(function(r){return r&&r.render&&r.render(-1)}),j.forEach(function(r){je(r)&&(r.smooth&&requestAnimationFrame(function(){return r.target.style.scrollBehavior="smooth"}),r.rec&&r(r.rec))}),yu(oa,1),qi.pause(),Un++,Ke=2,tn(2),U.forEach(function(r){return je(r.vars.onRefresh)&&r.vars.onRefresh(r)}),Ke=$.isRefreshing=!1,jn("refresh")}else De($,"scrollEnd",gu)},Us=0,Pi=1,tn=function(e){if(e===2||!Ke&&!Ui){$.isUpdating=!0,qr&&qr.update(0);var t=U.length,n=Ue(),r=n-ps>=50,i=t&&U[0].scroll();if(Pi=Us>i?-1:1,Ke||(Us=i),r&&(Ct&&!$i&&n-Ct>200&&(Ct=0,jn("scrollEnd")),Sr=ps,ps=n),Pi<0){for(Ze=t;Ze-- >0;)U[Ze]&&U[Ze].update(0,r);Pi=1}else for(Ze=0;Ze<t;Ze++)U[Ze]&&U[Ze].update(0,r);$.isUpdating=!1}ti=0},Ws=[mu,"top",ca,la,Et+jr,Et+Ur,Et+Vr,Et+Wr,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Di=Ws.concat([Xn,Nn,"boxSizing","max"+yr,"max"+ha,"position",Et,Te,Te+Vr,Te+Ur,Te+jr,Te+Wr]),ms=function(e,t,n,r){if(!e._gsap.swappedIn){for(var i,s=Ws.length,a=t.style,o=e.style;s--;)a[i=Ws[s]]=n[i];a.position=n.position==="absolute"?"absolute":"relative",n.display==="inline"&&(a.display="inline-block"),o[ca]=o[la]="auto",a.flexBasis=n.flexBasis||"auto",a.overflow="visible",a.boxSizing="border-box",a[Xn]=Wi(e,et)+Ce,a[Nn]=Wi(e,Se)+Ce,a[Te]=o[Et]=o.top=o[mu]="0",sr(r),o[Xn]=o["max"+yr]=n[Xn],o[Nn]=o["max"+ha]=n[Nn],o[Te]=n[Te],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Ol=/([A-Z])/g,sr=function(e){if(e){var t,n,r=e.t.style,i=e.length,s=0;for((e.t._gsap||C.core.getCache(e.t)).uncache=1;s<i;s+=2)n=e[s+1],t=e[s],n?r[t]=n:r[t]&&r.removeProperty(t.replace(Ol,"-$1").toLowerCase())}},bi=function(e){for(var t=Di.length,n=e.style,r=[],i=0;i<t;i++)r.push(Di[i],n[Di[i]]);return r.t=e,r},Ri={left:0,top:0},Za=function(e,t,n,r,i,s,a,o,u,l,h,c,f,p){je(e)&&(e=e(o)),pt(e)&&e.substr(0,3)==="max"&&(e=c+(e.charAt(4)==="="?Ci("0"+e.substr(3),n):0));var T,x,v,d=f?f.time():0;if(f&&f.seek(0),isNaN(e)||(e=+e),Rr(e))f&&(e=C.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,c,e)),a&&Si(a,n,r,!0);else{je(t)&&(t=t(o));var m,y,_,k,M=(e||"0").split(" ");v=it(t,o)||ne,(m=Kt(v)||{})&&(m.left||m.top)||wt(v).display!=="none"||(k=v.style.display,v.style.display="block",m=Kt(v),k?v.style.display=k:v.style.removeProperty("display")),y=Ci(M[0],m[r.d]),_=Ci(M[1]||"0",n),e=m[r.p]-u[r.p]-l+y+i-_,a&&Si(a,_,r,n-_<20||a._isStart&&_>20),n-=n-_}if(p&&(o[p]=e||-.001,e<0&&(e=0)),s){var O=e+n,w=s._isStart;T="scroll"+r.d2,Si(s,O,r,w&&O>20||!w&&(h?Math.max(ne[T],mt[T]):s.parentNode[T])<=O+1),h&&(u=Kt(a),h&&(s.style[r.op.p]=u[r.op.p]-r.op.m-s._offset+Ce))}return f&&v&&(T=Kt(v),f.seek(c),x=Kt(v),f._caScrollDist=T[r.p]-x[r.p],e=e/f._caScrollDist*c),f&&f.seek(d),f?e:Math.round(e)},wl=/(webkit|moz|length|cssText|inset)/i,Ka=function(e,t,n,r){if(e.parentNode!==t){var i,s,a=e.style;if(t===ne){for(i in e._stOrig=a.cssText,s=wt(e))+i||wl.test(i)||!s[i]||typeof a[i]!="string"||i==="0"||(a[i]=s[i]);a.top=n,a.left=r}else a.cssText=e._stOrig;C.core.getCache(e).uncache=1,t.appendChild(e)}},bu=function(e,t,n){var r=t,i=r;return function(s){var a=Math.round(e());return a!==r&&a!==i&&Math.abs(a-r)>3&&Math.abs(a-i)>3&&(s=a,n&&n()),i=r,r=Math.round(s)}},Ti=function(e,t,n){var r={};r[t.p]="+="+n,C.set(e,r)},Ja=function(e,t){var n=Tn(e,t),r="_scroll"+t.p2,i=function s(a,o,u,l,h){var c=s.tween,f=o.onComplete,p={};u=u||n();var T=bu(n,u,function(){c.kill(),s.tween=0});return h=l&&h||0,l=l||a-u,c&&c.kill(),o[r]=a,o.inherit=!1,o.modifiers=p,p[r]=function(){return T(u+l*c.ratio+h*c.ratio*c.ratio)},o.onUpdate=function(){j.cache++,s.tween&&tn()},o.onComplete=function(){s.tween=0,f&&f.call(c)},c=s.tween=C.to(e,o)};return e[r]=n,n.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},De(e,"wheel",n.wheelHandler),$.isTouch&&De(e,"touchmove",n.wheelHandler),i},$=function(){function e(t,n){rr||e.register(C),Ls(this),this.init(t,n)}return e.prototype.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Pr){var r,i,s,a,o,u,l,h,c,f,p,T,x,v,d,m,y,_,k,M,O,w,L,R,S,Y,F,K,N,re,H,P,de,Ye,be,ge,_e,He,sn,ri,xr,Rt,se=t=ja(pt(t)||Rr(t)||t.nodeType?{trigger:t}:t,yi),nt=se.onUpdate,St=se.toggleClass,Le=se.id,Hn=se.onToggle,an=se.onRefresh,b=se.scrub,Oe=se.trigger,z=se.pin,Xe=se.pinSpacing,kn=se.invalidateOnRefresh,Ht=se.anticipatePin,Qn=se.onScrubComplete,$n=se.onSnapComplete,br=se.once,le=se.snap,ve=se.pinReparent,we=se.pinSpacer,X=se.containerAnimation,Gn=se.fastScrollEnd,Mn=se.preventOverlaps,D=t.horizontal||t.containerAnimation&&t.horizontal!==!1?et:Se,Ee=!b&&b!==0,ee=it(t.scroller||V),Zn=C.core.getCache(ee),Ne=Vn(ee),Tt=("pinType"in t?t.pinType:gn(ee,"pinType")||Ne&&"fixed")==="fixed",Ft=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],Kn=Ee&&t.toggleActions.split(" "),On="markers"in t?t.markers:yi.markers,Tr=Ne?0:parseFloat(wt(ee)["border"+D.p2+yr])||0,g=this,Qt=t.onRefreshInit&&function(){return t.onRefreshInit(g)},ii=function(A,Z,I){var W=I.d,B=I.d2,q=I.a;return(q=gn(A,"getBoundingClientRect"))?function(){return q()[W]}:function(){return(Z?du(B):A["client"+B])||0}}(ee,Ne,D),si=function(A,Z){return!Z||~Ut.indexOf(A)?_u(A):function(){return Ri}}(ee,Ne),on=0,E=0,G=0,Q=Tn(ee,D);if(g._startClamp=g._endClamp=!1,g._dir=D,Ht*=45,g.scroller=ee,g.scroll=X?X.time.bind(X):Q,a=Q(),g.vars=t,n=n||t.animation,"refreshPriority"in t&&(uu=1,t.refreshPriority===-9999&&(qr=g)),Zn.tweenScroll=Zn.tweenScroll||{top:Ja(ee,Se),left:Ja(ee,et)},g.tweenTo=r=Zn.tweenScroll[D.p],g.scrubDuration=function(A){(de=Rr(A)&&A)?P?P.duration(A):P=C.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:de,paused:!0,onComplete:function(){return Qn&&Qn(g)}}):(P&&P.progress(1).kill(),P=0)},n&&(n.vars.lazy=!1,n._initted&&!g.isReverted||n.vars.immediateRender!==!1&&t.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),g.animation=n.pause(),n.scrollTrigger=g,g.scrubDuration(b),re=0,Le||(Le=n.vars.id)),le&&(Rn(le)&&!le.push||(le={snapTo:le}),"scrollBehavior"in ne.style&&C.set(Ne?[ne,mt]:ee,{scrollBehavior:"auto"}),j.forEach(function(A){return je(A)&&A.target===(Ne?ue.scrollingElement||mt:ee)&&(A.smooth=!1)}),s=je(le.snapTo)?le.snapTo:le.snapTo==="labels"?function(A){return function(Z){return C.utils.snap(Ha(A),Z)}}(n):le.snapTo==="labelsDirectional"?(ri=n,function(A,Z){return Ns(Ha(ri))(A,Z.direction)}):le.directional!==!1?function(A,Z){return Ns(le.snapTo)(A,Ue()-E<500?0:Z.direction)}:C.utils.snap(le.snapTo),Ye=le.duration||{min:.1,max:2},Ye=Rn(Ye)?Xr(Ye.min,Ye.max):Xr(Ye,Ye),be=C.delayedCall(le.delay||de/2||.1,function(){var A=Q(),Z=Ue()-E<500,I=r.tween;if(!(Z||Math.abs(g.getVelocity())<10)||I||$i||on===A)g.isActive&&on!==A&&be.restart(!0);else{var W,B,q=(A-u)/v,Fe=n&&!Ee?n.totalProgress():q,Ae=Z?0:(Fe-H)/(Ue()-Sr)*1e3||0,ie=C.utils.clamp(-q,1-q,tr(Ae/2)*Ae/.185),oe=q+(le.inertia===!1?0:ie),ce=le,zt=ce.onStart,te=ce.onInterrupt,ze=ce.onComplete;if(W=s(oe,g),Rr(W)||(W=oe),B=Math.max(0,Math.round(u+W*v)),A<=l&&A>=u&&B!==A){if(I&&!I._initted&&I.data<=tr(B-A))return;le.inertia===!1&&(ie=W-q),r(B,{duration:Ye(tr(.185*Math.max(tr(oe-Fe),tr(W-Fe))/Ae/.05||0)),ease:le.ease||"power3",data:tr(B-A),onInterrupt:function(){return be.restart(!0)&&te&&te(g)},onComplete:function(){g.update(),on=Q(),n&&!Ee&&(P?P.resetTo("totalProgress",W,n._tTime/n._tDur):n.progress(W)),re=H=n&&!Ee?n.totalProgress():g.progress,$n&&$n(g),ze&&ze(g)}},A,ie*v,B-A-ie*v),zt&&zt(g,r.tween)}}}).pause()),Le&&(qs[Le]=g),(sn=(Oe=g.trigger=it(Oe||z!==!0&&z))&&Oe._gsap&&Oe._gsap.stRevert)&&(sn=sn(g)),z=z===!0?Oe:it(z),pt(St)&&(St={targets:Oe,className:St}),z&&(Xe===!1||Xe===Et||(Xe=!(!Xe&&z.parentNode&&z.parentNode.style&&wt(z.parentNode).display==="flex")&&Te),g.pin=z,(i=C.core.getCache(z)).spacer?d=i.pinState:(we&&((we=it(we))&&!we.nodeType&&(we=we.current||we.nativeElement),i.spacerIsNative=!!we,we&&(i.spacerState=bi(we))),i.spacer=_=we||ue.createElement("div"),_.classList.add("pin-spacer"),Le&&_.classList.add("pin-spacer-"+Le),i.pinState=d=bi(z)),t.force3D!==!1&&C.set(z,{force3D:!0}),g.spacer=_=i.spacer,N=wt(z),R=N[Xe+D.os2],M=C.getProperty(z),O=C.quickSetter(z,D.a,Ce),ms(z,_,N),y=bi(z)),On){T=Rn(On)?ja(On,Qa):Qa,f=xi("scroller-start",Le,ee,D,T,0),p=xi("scroller-end",Le,ee,D,T,0,f),k=f["offset"+D.op.d2];var rt=it(gn(ee,"content")||ee);h=this.markerStart=xi("start",Le,rt,D,T,k,0,X),c=this.markerEnd=xi("end",Le,rt,D,T,k,0,X),X&&(He=C.quickSetter([h,c],D.a,Ce)),Tt||Ut.length&&gn(ee,"fixedMarkers")===!0||(Rt=wt(xr=Ne?ne:ee).position,xr.style.position=Rt==="absolute"||Rt==="fixed"?Rt:"relative",C.set([f,p],{force3D:!0}),Y=C.quickSetter(f,D.a,Ce),K=C.quickSetter(p,D.a,Ce))}if(X){var ct=X.vars.onUpdate,un=X.vars.onUpdateParams;X.eventCallback("onUpdate",function(){g.update(0,0,1),ct&&ct.apply(X,un||[])})}if(g.previous=function(){return U[U.indexOf(g)-1]},g.next=function(){return U[U.indexOf(g)+1]},g.revert=function(A,Z){if(!Z)return g.kill(!0);var I=A!==!1||!g.enabled,W=qe;I!==g.isReverted&&(I&&(ge=Math.max(Q(),g.scroll.rec||0),G=g.progress,_e=n&&n.progress()),h&&[h,c,f,p].forEach(function(B){return B.style.display=I?"none":"block"}),I&&(qe=g,g.update(I)),!z||ve&&g.isActive||(I?function(B,q,Fe){sr(Fe);var Ae=B._gsap;if(Ae.spacerIsNative)sr(Ae.spacerState);else if(B._gsap.swappedIn){var ie=q.parentNode;ie&&(ie.insertBefore(B,q),ie.removeChild(q))}B._gsap.swappedIn=!1}(z,_,d):ms(z,_,wt(z),S)),I||g.update(I),qe=W,g.isReverted=I)},g.refresh=function(A,Z,I,W){if(!qe&&g.enabled||Z)if(z&&A&&Ct)De(e,"scrollEnd",gu);else{!Ke&&Qt&&Qt(g),qe=g,r.tween&&!I&&(r.tween.kill(),r.tween=0),P&&P.pause(),kn&&n&&n.revert({kill:!1}).invalidate(),g.isReverted||g.revert(!0,!0),g._subPinOffset=!1;var B,q,Fe,Ae,ie,oe,ce,zt,te,ze,kt,ln,wn,En=ii(),pa=si(),ai=X?X.duration():Wt(ee,D),oi=v<=.01,It=0,Jn=W||0,ht=Rn(I)?I.end:t.end,Gi=t.endTrigger||Oe,Pt=Rn(I)?I.start:t.start||(t.start!==0&&Oe?z?"0 0":"0 100%":0),kr=g.pinnedContainer=t.pinnedContainer&&it(t.pinnedContainer,g),Zi=Oe&&Math.max(0,U.indexOf(g))||0,Mt=Zi;for(On&&Rn(I)&&(ln=C.getProperty(f,D.p),wn=C.getProperty(p,D.p));Mt-- >0;)(oe=U[Mt]).end||oe.refresh(0,1)||(qe=g),!(ce=oe.pin)||ce!==Oe&&ce!==z&&ce!==kr||oe.isReverted||(ze||(ze=[]),ze.unshift(oe),oe.revert(!0,!0)),oe!==U[Mt]&&(Zi--,Mt--);for(je(Pt)&&(Pt=Pt(g)),Pt=qa(Pt,"start",g),u=Za(Pt,Oe,En,D,Q(),h,f,g,pa,Tr,Tt,ai,X,g._startClamp&&"_startClamp")||(z?-.001:0),je(ht)&&(ht=ht(g)),pt(ht)&&!ht.indexOf("+=")&&(~ht.indexOf(" ")?ht=(pt(Pt)?Pt.split(" ")[0]:"")+ht:(It=Ci(ht.substr(2),En),ht=pt(Pt)?Pt:(X?C.utils.mapRange(0,X.duration(),X.scrollTrigger.start,X.scrollTrigger.end,u):u)+It,Gi=Oe)),ht=qa(ht,"end",g),l=Math.max(u,Za(ht||(Gi?"100% 0":ai),Gi,En,D,Q()+It,c,p,g,pa,Tr,Tt,ai,X,g._endClamp&&"_endClamp"))||-.001,It=0,Mt=Zi;Mt--;)(ce=(oe=U[Mt]).pin)&&oe.start-oe._pinPush<=u&&!X&&oe.end>0&&(B=oe.end-(g._startClamp?Math.max(0,oe.start):oe.start),(ce===Oe&&oe.start-oe._pinPush<u||ce===kr)&&isNaN(Pt)&&(It+=B*(1-oe.progress)),ce===z&&(Jn+=B));if(u+=It,l+=It,g._startClamp&&(g._startClamp+=It),g._endClamp&&!Ke&&(g._endClamp=l||-.001,l=Math.min(l,Wt(ee,D))),v=l-u||(u-=.01)&&.001,oi&&(G=C.utils.clamp(0,1,C.utils.normalize(u,l,ge))),g._pinPush=Jn,h&&It&&((B={})[D.a]="+="+It,kr&&(B[D.p]="-="+Q()),C.set([h,c],B)),!z||Xs&&g.end>=Wt(ee,D)){if(Oe&&Q()&&!X)for(q=Oe.parentNode;q&&q!==ne;)q._pinOffset&&(u-=q._pinOffset,l-=q._pinOffset),q=q.parentNode}else B=wt(z),Ae=D===Se,Fe=Q(),w=parseFloat(M(D.a))+Jn,!ai&&l>1&&(kt={style:kt=(Ne?ue.scrollingElement||mt:ee).style,value:kt["overflow"+D.a.toUpperCase()]},Ne&&wt(ne)["overflow"+D.a.toUpperCase()]!=="scroll"&&(kt.style["overflow"+D.a.toUpperCase()]="scroll")),ms(z,_,B),y=bi(z),q=Kt(z,!0),zt=Tt&&Tn(ee,Ae?et:Se)(),Xe?((S=[Xe+D.os2,v+Jn+Ce]).t=_,(Mt=Xe===Te?Wi(z,D)+v+Jn:0)&&(S.push(D.d,Mt+Ce),_.style.flexBasis!=="auto"&&(_.style.flexBasis=Mt+Ce)),sr(S),kr&&U.forEach(function(Bt){Bt.pin===kr&&Bt.vars.pinSpacing!==!1&&(Bt._subPinOffset=!0)}),Tt&&Q(ge)):(Mt=Wi(z,D))&&_.style.flexBasis!=="auto"&&(_.style.flexBasis=Mt+Ce),Tt&&((ie={top:q.top+(Ae?Fe-u:zt)+Ce,left:q.left+(Ae?zt:Fe-u)+Ce,boxSizing:"border-box",position:"fixed"})[Xn]=ie["max"+yr]=Math.ceil(q.width)+Ce,ie[Nn]=ie["max"+ha]=Math.ceil(q.height)+Ce,ie[Et]=ie[Et+Vr]=ie[Et+Ur]=ie[Et+jr]=ie[Et+Wr]="0",ie[Te]=B[Te],ie[Te+Vr]=B[Te+Vr],ie[Te+Ur]=B[Te+Ur],ie[Te+jr]=B[Te+jr],ie[Te+Wr]=B[Te+Wr],m=function(Bt,da,Mu){for(var ui,Ki=[],Ou=Bt.length,li=Mu?8:0;li<Ou;li+=2)ui=Bt[li],Ki.push(ui,ui in da?da[ui]:Bt[li+1]);return Ki.t=Bt.t,Ki}(d,ie,ve),Ke&&Q(0)),n?(te=n._initted,hs(1),n.render(n.duration(),!0,!0),L=M(D.a)-w+v+Jn,F=Math.abs(v-L)>1,Tt&&F&&m.splice(m.length-2,2),n.render(0,!0,!0),te||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),hs(0)):L=v,kt&&(kt.value?kt.style["overflow"+D.a.toUpperCase()]=kt.value:kt.style.removeProperty("overflow-"+D.a));ze&&ze.forEach(function(Bt){return Bt.revert(!1,!0)}),g.start=u,g.end=l,a=o=Ke?ge:Q(),X||Ke||(a<ge&&Q(ge),g.scroll.rec=0),g.revert(!1,!0),E=Ue(),be&&(on=-1,be.restart(!0)),qe=0,n&&Ee&&(n._initted||_e)&&n.progress()!==_e&&n.progress(_e||0,!0).render(n.time(),!0,!0),(oi||G!==g.progress||X||kn||n&&!n._initted)&&(n&&!Ee&&n.totalProgress(X&&u<-.001&&!G?C.utils.normalize(u,l,0):G,!0),g.progress=oi||(a-u)/v===G?0:G),z&&Xe&&(_._pinOffset=Math.round(g.progress*L)),P&&P.invalidate(),isNaN(ln)||(ln-=C.getProperty(f,D.p),wn-=C.getProperty(p,D.p),Ti(f,D,ln),Ti(h,D,ln-(W||0)),Ti(p,D,wn),Ti(c,D,wn-(W||0))),oi&&!Ke&&g.update(),!an||Ke||x||(x=!0,an(g),x=!1)}},g.getVelocity=function(){return(Q()-o)/(Ue()-Sr)*1e3||0},g.endAnimation=function(){Er(g.callbackAnimation),n&&(P?P.progress(1):n.paused()?Ee||Er(n,g.direction<0,1):Er(n,n.reversed()))},g.labelToScroll=function(A){return n&&n.labels&&(u||g.refresh()||u)+n.labels[A]/n.duration()*v||0},g.getTrailing=function(A){var Z=U.indexOf(g),I=g.direction>0?U.slice(0,Z).reverse():U.slice(Z+1);return(pt(A)?I.filter(function(W){return W.vars.preventOverlaps===A}):I).filter(function(W){return g.direction>0?W.end<=u:W.start>=l})},g.update=function(A,Z,I){if(!X||I||A){var W,B,q,Fe,Ae,ie,oe,ce=Ke===!0?ge:g.scroll(),zt=A?0:(ce-u)/v,te=zt<0?0:zt>1?1:zt||0,ze=g.progress;if(Z&&(o=a,a=X?Q():ce,le&&(H=re,re=n&&!Ee?n.totalProgress():te)),Ht&&z&&!qe&&!_i&&Ct&&(!te&&u<ce+(ce-o)/(Ue()-Sr)*Ht?te=1e-4:te===1&&l>ce+(ce-o)/(Ue()-Sr)*Ht&&(te=.9999)),te!==ze&&g.enabled){if(Fe=(Ae=(W=g.isActive=!!te&&te<1)!=(!!ze&&ze<1))||!!te!=!!ze,g.direction=te>ze?1:-1,g.progress=te,Fe&&!qe&&(B=te&&!ze?0:te===1?1:ze===1?2:3,Ee&&(q=!Ae&&Kn[B+1]!=="none"&&Kn[B+1]||Kn[B],oe=n&&(q==="complete"||q==="reset"||q in n))),Mn&&(Ae||oe)&&(oe||b||!n)&&(je(Mn)?Mn(g):g.getTrailing(Mn).forEach(function(En){return En.endAnimation()})),Ee||(!P||qe||_i?n&&n.totalProgress(te,!(!qe||!E&&!A)):(P._dp._time-P._start!==P._time&&P.render(P._dp._time-P._start),P.resetTo?P.resetTo("totalProgress",te,n._tTime/n._tDur):(P.vars.totalProgress=te,P.invalidate().restart()))),z)if(A&&Xe&&(_.style[Xe+D.os2]=R),Tt){if(Fe){if(ie=!A&&te>ze&&l+1>ce&&ce+1>=Wt(ee,D),ve)if(A||!W&&!ie)Ka(z,_);else{var kt=Kt(z,!0),ln=ce-u;Ka(z,ne,kt.top+(D===Se?ln:0)+Ce,kt.left+(D===Se?0:ln)+Ce)}sr(W||ie?m:y),F&&te<1&&W||O(w+(te!==1||ie?0:L))}}else O(Dr(w+L*te));le&&!r.tween&&!qe&&!_i&&be.restart(!0),St&&(Ae||br&&te&&(te<1||!fs))&&ei(St.targets).forEach(function(En){return En.classList[W||br?"add":"remove"](St.className)}),nt&&!Ee&&!A&&nt(g),Fe&&!qe?(Ee&&(oe&&(q==="complete"?n.pause().totalProgress(1):q==="reset"?n.restart(!0).pause():q==="restart"?n.restart(!0):n[q]()),nt&&nt(g)),!Ae&&fs||(Hn&&Ae&&ds(g,Hn),Ft[B]&&ds(g,Ft[B]),br&&(te===1?g.kill(!1,1):Ft[B]=0),Ae||Ft[B=te===1?1:3]&&ds(g,Ft[B])),Gn&&!W&&Math.abs(g.getVelocity())>(Rr(Gn)?Gn:2500)&&(Er(g.callbackAnimation),P?P.progress(1):Er(n,q==="reverse"?1:!te,1))):Ee&&nt&&!qe&&nt(g)}if(K){var wn=X?ce/X.duration()*(X._caScrollDist||0):ce;Y(wn+(f._isFlipped?1:0)),K(wn)}He&&He(-ce/X.duration()*(X._caScrollDist||0))}},g.enable=function(A,Z){g.enabled||(g.enabled=!0,De(ee,"resize",Fr),Ne||De(ee,"scroll",nr),Qt&&De(e,"refreshInit",Qt),A!==!1&&(g.progress=G=0,a=o=on=Q()),Z!==!1&&g.refresh())},g.getTween=function(A){return A&&r?r.tween:P},g.setPositions=function(A,Z,I,W){if(X){var B=X.scrollTrigger,q=X.duration(),Fe=B.end-B.start;A=B.start+Fe*A/q,Z=B.start+Fe*Z/q}g.refresh(!1,!1,{start:Ua(A,I&&!!g._startClamp),end:Ua(Z,I&&!!g._endClamp)},W),g.update()},g.adjustPinSpacing=function(A){if(S&&A){var Z=S.indexOf(D.d)+1;S[Z]=parseFloat(S[Z])+A+Ce,S[1]=parseFloat(S[1])+A+Ce,sr(S)}},g.disable=function(A,Z){if(g.enabled&&(A!==!1&&g.revert(!0,!0),g.enabled=g.isActive=!1,Z||P&&P.pause(),ge=0,i&&(i.uncache=1),Qt&&Pe(e,"refreshInit",Qt),be&&(be.pause(),r.tween&&r.tween.kill()&&(r.tween=0)),!Ne)){for(var I=U.length;I--;)if(U[I].scroller===ee&&U[I]!==g)return;Pe(ee,"resize",Fr),Ne||Pe(ee,"scroll",nr)}},g.kill=function(A,Z){g.disable(A,Z),P&&!Z&&P.kill(),Le&&delete qs[Le];var I=U.indexOf(g);I>=0&&U.splice(I,1),I===Ze&&Pi>0&&Ze--,I=0,U.forEach(function(W){return W.scroller===g.scroller&&(I=1)}),I||Ke||(g.scroll.rec=0),n&&(n.scrollTrigger=null,A&&n.revert({kill:!1}),Z||n.kill()),h&&[h,c,f,p].forEach(function(W){return W.parentNode&&W.parentNode.removeChild(W)}),qr===g&&(qr=0),z&&(i&&(i.uncache=1),I=0,U.forEach(function(W){return W.pin===z&&I++}),I||(i.spacer=0)),t.onKill&&t.onKill(g)},U.push(g),g.enable(!1,!1),sn&&sn(g),n&&n.add&&!v){var ku=g.update;g.update=function(){g.update=ku,j.cache++,u||l||g.refresh()},C.delayedCall(.01,g.update),v=.01,u=l=0}else g.refresh();z&&function(){if(Na!==Un){var A=Na=Un;requestAnimationFrame(function(){return A===Un&&Fn(!0)})}}()}else this.update=this.refresh=this.kill=Xt},e.register=function(t){return rr||(C=t||pu(),fu()&&window.document&&e.enable(),rr=Pr),rr},e.defaults=function(t){if(t)for(var n in t)yi[n]=t[n];return yi},e.disable=function(t,n){Pr=0,U.forEach(function(i){return i[n?"kill":"disable"](t)}),Pe(V,"wheel",nr),Pe(ue,"scroll",nr),clearInterval(di),Pe(ue,"touchcancel",Xt),Pe(ne,"touchstart",Xt),gi(Pe,ue,"pointerdown,touchstart,mousedown",Wa),gi(Pe,ue,"pointerup,touchend,mouseup",Va),qi.kill(),mi(Pe);for(var r=0;r<j.length;r+=3)vi(Pe,j[r],j[r+1]),vi(Pe,j[r],j[r+2])},e.enable=function(){if(V=window,ue=document,mt=ue.documentElement,ne=ue.body,C&&(ei=C.utils.toArray,Xr=C.utils.clamp,Ls=C.core.context||Xt,hs=C.core.suppressOverwrites||Xt,oa=V.history.scrollRestoration||"auto",Us=V.pageYOffset||0,C.core.globals("ScrollTrigger",e),ne)){Pr=1,(Nr=document.createElement("div")).style.height="100vh",Nr.style.position="absolute",xu(),kl(),xe.register(C),e.isTouch=xe.isTouch,cn=xe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Ys=xe.isTouch===1,De(V,"wheel",nr),aa=[V,ue,mt,ne],C.matchMedia&&(e.matchMedia=function(o){var u,l=C.matchMedia();for(u in o)l.add(u,o[u]);return l},C.addEventListener("matchMediaInit",function(){return fa()}),C.addEventListener("matchMediaRevert",function(){return vu()}),C.addEventListener("matchMedia",function(){Fn(0,1),jn("matchMedia")}),C.matchMedia().add("(orientation: portrait)",function(){return _s(),_s})),_s(),De(ue,"scroll",nr);var t,n,r=ne.hasAttribute("style"),i=ne.style,s=i.borderTopStyle,a=C.core.Animation.prototype;for(a.revert||Object.defineProperty(a,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",t=Kt(ne),Se.m=Math.round(t.top+Se.sc())||0,et.m=Math.round(t.left+et.sc())||0,s?i.borderTopStyle=s:i.removeProperty("border-top-style"),r||(ne.setAttribute("style",""),ne.removeAttribute("style")),di=setInterval($a,250),C.delayedCall(.5,function(){return _i=0}),De(ue,"touchcancel",Xt),De(ne,"touchstart",Xt),gi(De,ue,"pointerdown,touchstart,mousedown",Wa),gi(De,ue,"pointerup,touchend,mouseup",Va),Bs=C.utils.checkPrefix("transform"),Di.push(Bs),rr=Ue(),qi=C.delayedCall(.2,Fn).pause(),ir=[ue,"visibilitychange",function(){var o=V.innerWidth,u=V.innerHeight;ue.hidden?(La=o,Xa=u):La===o&&Xa===u||Fr()},ue,"DOMContentLoaded",Fn,V,"load",Fn,V,"resize",Fr],mi(De),U.forEach(function(o){return o.enable(0,1)}),n=0;n<j.length;n+=3)vi(Pe,j[n],j[n+1]),vi(Pe,j[n],j[n+2])}},e.config=function(t){"limitCallbacks"in t&&(fs=!!t.limitCallbacks);var n=t.syncInterval;n&&clearInterval(di)||(di=n)&&setInterval($a,n),"ignoreMobileResize"in t&&(Ys=e.isTouch===1&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(mi(Pe)||mi(De,t.autoRefreshEvents||"none"),lu=(t.autoRefreshEvents+"").indexOf("resize")===-1)},e.scrollerProxy=function(t,n){var r=it(t),i=j.indexOf(r),s=Vn(r);~i&&j.splice(i,s?6:2),n&&(s?Ut.unshift(V,n,ne,n,mt,n):Ut.unshift(r,n))},e.clearMatchMedia=function(t){U.forEach(function(n){return n._ctx&&n._ctx.query===t&&n._ctx.kill(!0,!0)})},e.isInViewport=function(t,n,r){var i=(pt(t)?it(t):t).getBoundingClientRect(),s=i[r?Xn:Nn]*n||0;return r?i.right-s>0&&i.left+s<V.innerWidth:i.bottom-s>0&&i.top+s<V.innerHeight},e.positionInViewport=function(t,n,r){pt(t)&&(t=it(t));var i=t.getBoundingClientRect(),s=i[r?Xn:Nn],a=n==null?s/2:n in Vi?Vi[n]*s:~n.indexOf("%")?parseFloat(n)*s/100:parseFloat(n)||0;return r?(i.left+a)/V.innerWidth:(i.top+a)/V.innerHeight},e.killAll=function(t){if(U.slice(0).forEach(function(r){return r.vars.id!=="ScrollSmoother"&&r.kill()}),t!==!0){var n=qn.killAll||[];qn={},n.forEach(function(r){return r()})}},e}();$.version="3.12.7",$.saveStyles=function(e){return e?ei(e).forEach(function(t){if(t&&t.style){var n=ft.indexOf(t);n>=0&&ft.splice(n,5),ft.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),C.core.getCache(t),Ls())}}):ft},$.revert=function(e,t){return fa(!e,t)},$.create=function(e,t){return new $(e,t)},$.refresh=function(e){return e?Fr(!0):(rr||$.register())&&Fn(!0)},$.update=function(e){return++j.cache&&tn(e===!0?2:0)},$.clearScrollMemory=yu,$.maxScroll=function(e,t){return Wt(e,t?et:Se)},$.getScrollFunc=function(e,t){return Tn(it(e),t?et:Se)},$.getById=function(e){return qs[e]},$.getAll=function(){return U.filter(function(e){return e.vars.id!=="ScrollSmoother"})},$.isScrolling=function(){return!!Ct},$.snapDirectional=Ns,$.addEventListener=function(e,t){var n=qn[e]||(qn[e]=[]);~n.indexOf(t)||n.push(t)},$.removeEventListener=function(e,t){var n=qn[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},$.batch=function(e,t){var n,r=[],i={},s=t.interval||.016,a=t.batchMax||1e9,o=function(u,l){var h=[],c=[],f=C.delayedCall(s,function(){l(h,c),h=[],c=[]}).pause();return function(p){h.length||f.restart(!0),h.push(p.trigger),c.push(p),a<=h.length&&f.progress(1)}};for(n in t)i[n]=n.substr(0,2)==="on"&&je(t[n])&&n!=="onRefreshInit"?o(0,t[n]):t[n];return je(a)&&(a=a(),De($,"refresh",function(){return a=t.batchMax()})),ei(e).forEach(function(u){var l={};for(n in i)l[n]=i[n];l.trigger=u,r.push($.create(l))}),r};var eo,to=function(e,t,n,r){return t>r?e(r):t<0&&e(0),n>r?(r-t)/(n-t):n<0?t/(t-n):1},gs=function e(t,n){n===!0?t.style.removeProperty("touch-action"):t.style.touchAction=n===!0?"auto":n?"pan-"+n+(xe.isTouch?" pinch-zoom":""):"none",t===mt&&e(ne,n)},ki={auto:1,scroll:1},El=function(e){var t,n=e.event,r=e.target,i=e.axis,s=(n.changedTouches?n.changedTouches[0]:n).target,a=s._gsap||C.core.getCache(s),o=Ue();if(!a._isScrollT||o-a._isScrollT>2e3){for(;s&&s!==ne&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!ki[(t=wt(s)).overflowY]&&!ki[t.overflowX]);)s=s.parentNode;a._isScroll=s&&s!==r&&!Vn(s)&&(ki[(t=wt(s)).overflowY]||ki[t.overflowX]),a._isScrollT=o}(a._isScroll||i==="x")&&(n.stopPropagation(),n._gsapAllow=!0)},Tu=function(e,t,n,r){return xe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r=r&&El,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&&De(ue,xe.eventTypes[0],no,!1,!0)},onDisable:function(){return Pe(ue,xe.eventTypes[0],no,!0)}})},Al=/(input|label|select|textarea)/i,no=function(e){var t=Al.test(e.target.tagName);(t||eo)&&(e._gsapAllow=!0,eo=t)},Cl=function(e){Rn(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,n,r,i,s,a,o,u,l=e,h=l.normalizeScrollX,c=l.momentum,f=l.allowNestedScroll,p=l.onRelease,T=it(e.target)||mt,x=C.core.globals().ScrollSmoother,v=x&&x.get(),d=cn&&(e.content&&it(e.content)||v&&e.content!==!1&&!v.smooth()&&v.content()),m=Tn(T,Se),y=Tn(T,et),_=1,k=(xe.isTouch&&V.visualViewport?V.visualViewport.scale*V.visualViewport.width:V.outerWidth)/V.innerWidth,M=0,O=je(c)?function(){return c(t)}:function(){return c||2.8},w=Tu(T,e.type,!0,f),L=function(){return i=!1},R=Xt,S=Xt,Y=function(){n=Wt(T,Se),S=Xr(cn?1:0,n),h&&(R=Xr(0,Wt(T,et))),r=Un},F=function(){d._gsap.y=Dr(parseFloat(d._gsap.y)+m.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)",m.offset=m.cacheID=0},K=function(){Y(),s.isActive()&&s.vars.scrollY>n&&(m()>n?s.progress(1)&&m(n):s.resetTo("scrollY",n))};return d&&C.set(d,{y:"+=0"}),e.ignoreCheck=function(N){return cn&&N.type==="touchmove"&&function(){if(i){requestAnimationFrame(L);var re=Dr(t.deltaY/2),H=S(m.v-re);if(d&&H!==m.v+m.offset){m.offset=H-m.v;var P=Dr((parseFloat(d&&d._gsap.y)||0)-m.offset);d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+P+", 0, 1)",d._gsap.y=P+"px",m.cacheID=j.cache,tn()}return!0}m.offset&&F(),i=!0}()||_>1.05&&N.type!=="touchstart"||t.isGesturing||N.touches&&N.touches.length>1},e.onPress=function(){i=!1;var N=_;_=Dr((V.visualViewport&&V.visualViewport.scale||1)/k),s.pause(),N!==_&&gs(T,_>1.01||!h&&"x"),a=y(),o=m(),Y(),r=Un},e.onRelease=e.onGestureStart=function(N,re){if(m.offset&&F(),re){j.cache++;var H,P,de=O();h&&(P=(H=y())+.05*de*-N.velocityX/.227,de*=to(y,H,P,Wt(T,et)),s.vars.scrollX=R(P)),P=(H=m())+.05*de*-N.velocityY/.227,de*=to(m,H,P,Wt(T,Se)),s.vars.scrollY=S(P),s.invalidate().duration(de).play(.01),(cn&&s.vars.scrollY>=n||H>=n-1)&&C.to({},{onUpdate:K,duration:de})}else u.restart(!0);p&&p(N)},e.onWheel=function(){s._ts&&s.pause(),Ue()-M>1e3&&(r=0,M=Ue())},e.onChange=function(N,re,H,P,de){if(Un!==r&&Y(),re&&h&&y(R(P[2]===re?a+(N.startX-N.x):y()+re-P[1])),H){m.offset&&F();var Ye=de[2]===H,be=Ye?o+N.startY-N.y:m()+H-de[1],ge=S(be);Ye&&be!==ge&&(o+=ge-be),m(ge)}(H||re)&&tn()},e.onEnable=function(){gs(T,!h&&"x"),$.addEventListener("refresh",K),De(V,"resize",K),m.smooth&&(m.target.style.scrollBehavior="auto",m.smooth=y.smooth=!1),w.enable()},e.onDisable=function(){gs(T,!0),Pe(V,"resize",K),$.removeEventListener("refresh",K),w.kill()},e.lockAxis=e.lockAxis!==!1,(t=new xe(e)).iOS=cn,cn&&!m()&&m(1),cn&&C.ticker.add(Xt),u=t._dc,s=C.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:h?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:bu(m,m(),function(){return s.pause()})},onUpdate:tn,onComplete:u.vars.onComplete}),t};$.sort=function(e){if(je(e))return U.sort(e);var t=V.pageYOffset||0;return $.getAll().forEach(function(n){return n._sortY=n.trigger?t+n.trigger.getBoundingClientRect().top:n.start+V.innerHeight}),U.sort(e||function(n,r){return-1e6*(n.vars.refreshPriority||0)+(n.vars.containerAnimation?1e6:n._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+-1e6*(r.vars.refreshPriority||0))})},$.observe=function(e){return new xe(e)},$.normalizeScroll=function(e){if(e===void 0)return Ge;if(e===!0&&Ge)return Ge.enable();if(e===!1)return Ge&&Ge.kill(),void(Ge=e);var t=e instanceof xe?e:Cl(e);return Ge&&Ge.target===t.target&&Ge.kill(),Vn(t.target)&&(Ge=t),t},$.core={_getVelocityProp:Is,_inputObserver:Tu,_scrollers:j,_proxies:Ut,bridge:{ss:function(){Ct||jn("scrollStart"),Ct=Ue()},ref:function(){return qe}}},pu()&&C.registerPlugin($);const Yt=class Yt{constructor({element:t=".marquee"}={}){$t(this,"_gsap",Yt.gsap);$t(this,"_timeline");$t(this,"_matchMedia");$t(this,"_element");$t(this,"_resizeObserver");$t(this,"_animationFrame");const n=t instanceof HTMLElement?t:document.querySelector(t);if(!n)throw new Error("Target element not found");this._element=n,this._gsap=Yt.gsap,this._matchMedia=this._gsap.matchMedia(),this._resizeObserver=new ResizeObserver(Yt._debounce(()=>{this._update()})),this._resizeObserver.observe(this._element)}static registerGSAP(t,n){Yt.gsap=t,Yt.ScrollTrigger=n}static _debounce(t){let n=null;return(...r)=>{n!==null&&cancelAnimationFrame(n),n=requestAnimationFrame(()=>t(...r))}}init(){this._commonInit()}destroy(){this._animationFrame!==void 0&&(cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0),this._resizeObserver.disconnect(),this._clearTimeline()}_commonInit(){this._clearTimeline(),this._cloneElements(),this._setBreakpoints(),this._applySkew(),this._timeline=this._createAnimation()}_update(){this._animationFrame!==void 0&&cancelAnimationFrame(this._animationFrame),this._animationFrame=requestAnimationFrame(()=>{this._commonInit(),Yt.ScrollTrigger.refresh()})}_createAnimation(){var r;(r=this._timeline)==null||r.kill();const t=this._gsap.timeline({scrollTrigger:{trigger:this._element,start:"top bottom",end:"bottom top",toggleActions:"resume pause resume pause",onUpdate:i=>{const s=this._element.dataset.mcDirection;s==="ltr"?t.timeScale(-1):s==="auto"&&t.timeScale(i.direction)}}}),n=this._element.dataset.mcBreakpoint||"";return this._matchMedia.add(n,()=>{const i=parseFloat(this._element.dataset.mcSpeed??"20");return t.to(this._element.children,{duration:i,x:"-100%",repeat:-1,ease:"none"}),t.totalProgress(.5),()=>{t.kill()}}),t}_clearTimeline(){var t;(t=this._timeline)==null||t.kill(),this._timeline=void 0,this._gsap.set(this._element.children,{clearProps:"all"})}_setBreakpoints(){const{mcMax:t,mcMin:n}=this._element.dataset;this._element.dataset.mcBreakpoint=t?`(max-width: ${parseFloat(t)-.02}px)`:n?`(min-width: ${n}px)`:""}_cloneElements(){const t=()=>{for(;this._element.childElementCount>1;)this._element.removeChild(this._element.lastChild)};t();const n=this._element.dataset.mcBreakpoint||"";this._matchMedia.add(n,()=>{if(!this._element.firstElementChild)return()=>{};const r=this._element.firstElementChild,i=Math.ceil(this._element.scrollWidth/r.clientWidth+2);if(this._element.childElementCount<i){const s=document.createDocumentFragment();for(let a=0;a<i-1;a++){const o=r.cloneNode(!0);s.appendChild(o)}this._element.appendChild(s)}return()=>{t()}})}_applySkew(){const{mcSkew:t}=this._element.dataset;t&&(this._element.style.transformOrigin="center center",this._element.style.transform=`skew(0deg, ${t}deg)`)}};$t(Yt,"gsap",eu),$t(Yt,"ScrollTrigger",$);let Vs=Yt;module.exports=Vs;
package/dist/index.d.ts CHANGED
@@ -1,14 +1,28 @@
1
- interface MarqueeContentOptions {
1
+ import { gsap } from 'gsap';
2
+ import { ScrollTrigger } from 'gsap/ScrollTrigger';
3
+ interface MarqueeOptions {
2
4
  element?: string | HTMLElement;
3
5
  }
4
- export default class MarqueeContent {
5
- static gsap: never;
6
- static ScrollTrigger: never;
7
- constructor({ element }?: MarqueeContentOptions);
8
- static registerGSAP(gsap: never, ScrollTrigger: never): void;
9
- init: () => void;
10
- destroy: () => void;
6
+ declare class MarqueeContent {
7
+ private static gsap;
8
+ private static ScrollTrigger;
9
+ private _gsap;
10
+ private _timeline?;
11
+ private _matchMedia;
12
+ private _element;
13
+ private _resizeObserver;
14
+ private _animationFrame?;
15
+ constructor({ element }?: MarqueeOptions);
16
+ static registerGSAP(gsapInstance: typeof gsap, scrollTriggerInstance: typeof ScrollTrigger): void;
17
+ private static _debounce;
18
+ init(): void;
19
+ destroy(): void;
20
+ private _commonInit;
21
+ private _update;
22
+ private _createAnimation;
23
+ private _clearTimeline;
24
+ private _setBreakpoints;
25
+ private _cloneElements;
26
+ private _applySkew;
11
27
  }
12
28
  export default MarqueeContent;
13
-
14
- //# sourceMappingURL=index.d.ts.map