├── .gitignore ├── README.md ├── package.json ├── src ├── dist │ └── index.js ├── index.html ├── js │ ├── animations │ │ └── starter.js │ ├── index.js │ └── utils │ │ ├── bind.js │ │ ├── breakpoints.js │ │ ├── dom.js │ │ └── math.js ├── styles │ └── index.css └── vite.config.js ├── tag └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | *.local 12 | 13 | # Editor directories and files 14 | .vscode/* 15 | !.vscode/extensions.json 16 | .idea 17 | .DS_Store 18 | *.suo 19 | *.ntvs* 20 | *.njsproj 21 | *.sln 22 | *.sw? 23 | .github 24 | .devcontainer 25 | .codesandbox 26 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # This is a repo showing my workflow for custom code Webflow using Vite 2 | 3 | > I recommend using [Codesandbox](https://codesandbox.io/) (you could also just have it hosted locally while in development). 4 | > 5 | 6 | ### To get started 7 | 8 | 1. Clone this repo. 9 | 2. Go to [Codesandbox](https://codesandbox.io/) and import the cloned repo. 10 | 3. Codesandbox will prompt you to install the dependencies during the environment setup and start the server in development mode. 11 | 4. Go to your Webflow project and add the following code to the head of your project: 12 | 13 | ```html 14 | This is to see your changes in real time. 15 | 16 | ``` 17 | 18 | 5. Replace `http://localhost:3000` with the URL of your Codesandbox project. 19 | 6. Save and publish your Webflow project. 20 | 7. You should now see your changes in real time. 21 | 22 | > Because codesandbox servers don't run forever, you will need to build your project for production by running `yarn build` and host the generated `index.js` file someplace. 23 | > 24 | 25 | ### Places to host your `index.js` file 26 | 27 | - You can upload the file to your Webflow project and link to it. You have to convert the file to a `.txt` file before uploading and then link to it. This is because Webflow doesn't allow you to upload `.js` files. You should replace the head code with the link to the file as shown below: 28 | 29 | ```html 30 | 34 | ``` 35 | 36 | - Push the file to Github and paste the Github link on [jsDelivr](https://www.jsdelivr.com/github). It will give you a link to use in your Webflow project. Note that the file will be cached for 7 days. To update the file, you will need to purge the cache - . 37 | 38 | - Look into alternative CDN options like [unpkg](https://unpkg.com/), [Cloudflare](https://www.cloudflare.com/), etc. 39 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vite-base", 3 | "private": true, 4 | "version": "0.0.0", 5 | "type": "module", 6 | "scripts": { 7 | "dev": "vite src --port 3000", 8 | "build": "vite build src", 9 | "preview": "vite preview" 10 | }, 11 | "devDependencies": { 12 | "vite": "^6.0.1" 13 | }, 14 | "dependencies": { 15 | "gsap": "^3.12.5" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/dist/index.js: -------------------------------------------------------------------------------- 1 | (function(jt){typeof define=="function"&&define.amd?define(jt):jt()})(function(){"use strict";var jt=document.createElement("style");jt.textContent=`body{margin:0;padding:0} 2 | `,document.head.appendChild(jt);function pt(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function gi(f,t){f.prototype=Object.create(t.prototype),f.prototype.constructor=f,f.__proto__=t}/*! 3 | * GSAP 3.12.5 4 | * https://gsap.com 5 | * 6 | * @license Copyright 2008-2024, GreenSock. All rights reserved. 7 | * Subject to the terms at https://gsap.com/standard-license or for 8 | * Club GSAP members, the agreement issued with that membership. 9 | * @author: Jack Doyle, jack@greensock.com 10 | */var tt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Ut={duration:.5,overwrite:!1,delay:0},De,G,R,st=1e8,M=1/st,Ae=Math.PI*2,zr=Ae/4,Fr=0,yi=Math.sqrt,Lr=Math.cos,Ir=Math.sin,V=function(t){return typeof t=="string"},L=function(t){return typeof t=="function"},mt=function(t){return typeof t=="number"},Re=function(t){return typeof t>"u"},ht=function(t){return typeof t=="object"},K=function(t){return t!==!1},Ee=function(){return typeof window<"u"},pe=function(t){return L(t)||V(t)},xi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},W=Array.isArray,ze=/(?:-?\.?\d|\.)+/gi,vi=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Yt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Fe=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ti=/[+-]=-?[.\d]+/,bi=/[^,'"\[\]\s]+/gi,Br=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,z,_t,Le,Ie,et={},me={},wi,Pi=function(t){return(me=Mt(t,et))&&j},Be=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Jt=function(t,e){return!e&&console.warn(t)},Si=function(t,e){return t&&(et[t]=e)&&me&&(me[t]=e)||et},te=function(){return 0},Nr={suppressEvents:!0,isStart:!0,kill:!1},ge={suppressEvents:!0,kill:!1},Vr={suppressEvents:!0},Ne={},vt=[],Ve={},Oi,it={},Ue={},ki=30,ye=[],Ye="",Xe=function(t){var e=t[0],i,r;if(ht(e)||L(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(r=ye.length;r--&&!ye[r].targetTest(e););i=ye[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new ir(t[r],i)))||t.splice(r,1);return t},Ct=function(t){return t._gsap||Xe(ut(t))[0]._gsap},Ci=function(t,e,i){return(i=t[e])&&L(i)?t[e]():Re(i)&&t.getAttribute&&t.getAttribute(e)||i},Q=function(t,e){return(t=t.split(",")).forEach(e)||t},I=function(t){return Math.round(t*1e5)/1e5||0},U=function(t){return Math.round(t*1e7)/1e7||0},Xt=function(t,e){var i=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),i==="+"?t+r:i==="-"?t-r:i==="*"?t*r:t/r},Ur=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++ra;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t,e},Te=function(t,e,i,r){i===void 0&&(i="_first"),r===void 0&&(r="_last");var n=e._prev,s=e._next;n?n._next=s:t[i]===e&&(t[i]=s),s?s._prev=n:t[r]===e&&(t[r]=n),e._next=e._prev=e.parent=null},Tt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Dt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},qr=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},qe=function(t,e,i,r){return t._startAt&&(G?t._startAt.revert(ge):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},Gr=function f(t){return!t||t._ts&&f(t.parent)},zi=function(t){return t._repeat?qt(t._tTime,t=t.duration()+t._rDelay)*t:0},qt=function(t,e){var i=Math.floor(t/=e);return t&&i===t?i-1:i},be=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},we=function(t){return t._end=U(t._start+(t._tDur/Math.abs(t._ts||t._rts||M)||0))},Pe=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=U(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),we(t),i._dirty||Dt(i,t)),t},Fi=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._startM)&&e.render(i,!0)),Dt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-M}},lt=function(t,e,i,r){return e.parent&&Tt(e),e._start=U((mt(i)?i:i||t!==z?ot(t,i,e):t._time)+e._delay),e._end=U(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ei(t,e,"_first","_last",t._sort?"_start":0),Ge(e)||(t._recent=e),r||Fi(t,e),t._ts<0&&Pe(t,t._tTime),t},Li=function(t,e){return(et.ScrollTrigger||Be("scrollTrigger",e))&&et.ScrollTrigger.create(e,t)},Ii=function(t,e,i,r,n){if(ti(t,e,n),!t._initted)return 1;if(!i&&t._pt&&!G&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&Oi!==nt.frame)return vt.push(t),t._lazy=[n,r],1},Wr=function f(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||f(e))},Ge=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},$r=function(t,e,i,r){var n=t.ratio,s=e<0||!e&&(!t._start&&Wr(t)&&!(!t._initted&&Ge(t))||(t._ts<0||t._dp._ts<0)&&!Ge(t))?0:1,a=t._rDelay,o=0,u,h,l;if(a&&t._repeat&&(o=re(0,t._tDur,e),h=qt(o,a),t._yoyo&&h&1&&(s=1-s),h!==qt(t._tTime,a)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||G||r||t._zTime===M||!e&&t._zTime){if(!t._initted&&Ii(t,e,r,i,o))return;for(l=t._zTime,t._zTime=e||(i?M:0),i||(i=e&&!l),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=o,u=t._pt;u;)u.r(s,u.d),u=u._next;e<0&&qe(t,e,i,!0),t._onUpdate&&!i&&rt(t,"onUpdate"),o&&t._repeat&&!i&&t.parent&&rt(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&Tt(t,1),!i&&!G&&(rt(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},Hr=function(t,e,i){var r;if(i>e)for(r=t._first;r&&r._start<=i;){if(r.data==="isPause"&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=i;){if(r.data==="isPause"&&r._start0&&!r&&Pe(t,t._tTime=t._tDur*a),t.parent&&we(t),i||Dt(t.parent,t),t},Bi=function(t){return t instanceof H?Dt(t):Gt(t,t._dur)},Kr={_start:0,endTime:te,totalDuration:te},ot=function f(t,e,i){var r=t.labels,n=t._recent||Kr,s=t.duration()>=st?n.endTime(!1):t._dur,a,o,u;return V(e)&&(isNaN(e)||e in r)?(o=e.charAt(0),u=e.substr(-1)==="%",a=e.indexOf("="),o==="<"||o===">"?(a>=0&&(e=e.replace(/=/,"")),(o==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(u?(a<0?n:i).totalDuration()/100:1)):a<0?(e in r||(r[e]=s),r[e]):(o=parseFloat(e.charAt(a-1)+e.substr(a+1)),u&&i&&(o=o/100*(W(i)?i[0]:i).totalDuration()),a>1?f(t,e.substr(0,a-1),i)+o:s+o)):e==null?s:+e},ie=function(t,e,i){var r=mt(e[1]),n=(r?2:1)+(t<2?0:1),s=e[n],a,o;if(r&&(s.duration=e[1]),s.parent=i,t){for(a=s,o=i;o&&!("immediateRender"in a);)a=o.vars.defaults||{},o=K(o.vars.inherit)&&o.parent;s.immediateRender=K(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new B(e[0],s,e[n+1])},bt=function(t,e){return t||t===0?e(t):e},re=function(t,e,i){return ie?e:i},$=function(t,e){return!V(t)||!(e=Br.exec(t))?"":e[1]},Qr=function(t,e,i){return bt(i,function(r){return re(t,e,r)})},We=[].slice,Ni=function(t,e){return t&&ht(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&ht(t[0]))&&!t.nodeType&&t!==_t},Zr=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(r){var n;return V(r)&&!e||Ni(r,1)?(n=i).push.apply(n,ut(r)):i.push(r)})||i},ut=function(t,e,i){return R&&!e&&R.selector?R.selector(t):V(t)&&!i&&(Le||!$t())?We.call((e||Ie).querySelectorAll(t),0):W(t)?Zr(t,i):Ni(t)?We.call(t,0):t?[t]:[]},$e=function(t){return t=ut(t)[0]||Jt("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return ut(e,i.querySelectorAll?i:i===t?Jt("Invalid scope")||Ie.createElement("div"):t)}},Vi=function(t){return t.sort(function(){return .5-Math.random()})},Ui=function(t){if(L(t))return t;var e=ht(t)?t:{each:t},i=At(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},a=r>0&&r<1,o=isNaN(r)||a,u=e.axis,h=r,l=r;return V(r)?h=l={center:.5,edges:.5,end:1}[r]||0:!a&&o&&(h=r[0],l=r[1]),function(c,d,p){var _=(p||e).length,m=s[_],y,x,v,T,g,w,P,S,b;if(!m){if(b=e.grid==="auto"?0:(e.grid||[1,st])[1],!b){for(P=-st;P<(P=p[b++].getBoundingClientRect().left)&&b<_;);b<_&&b--}for(m=s[_]=[],y=o?Math.min(b,_)*h-.5:r%b,x=b===st?0:o?_*l/b-.5:r/b|0,P=0,S=st,w=0;w<_;w++)v=w%b-y,T=x-(w/b|0),m[w]=g=u?Math.abs(u==="y"?T:v):yi(v*v+T*T),g>P&&(P=g),g_?_-1:u?u==="y"?_/b:b:Math.max(b,_/b))||0)*(r==="edges"?-1:1),m.b=_<0?n-_:n,m.u=$(e.amount||e.each)||0,i=i&&_<0?Ji(i):i}return _=(m[c]-m.min)/m.max||0,U(m.b+(i?i(_):_)*m.v)+m.u}},He=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=U(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(mt(i)?0:$(i))}},Yi=function(t,e){var i=W(t),r,n;return!i&&ht(t)&&(r=i=t.radius||st,t.values?(t=ut(t.values),(n=!mt(t[0]))&&(r*=r)):t=He(t.increment)),bt(e,i?L(t)?function(s){return n=t(s),Math.abs(n-s)<=r?n:s}:function(s){for(var a=parseFloat(n?s.x:s),o=parseFloat(n?s.y:0),u=st,h=0,l=t.length,c,d;l--;)n?(c=t[l].x-a,d=t[l].y-o,c=c*c+d*d):c=Math.abs(t[l]-a),cr?n-s:s)})},ne=function(t){for(var e=0,i="",r,n,s,a;~(r=t.indexOf("random(",e));)s=t.indexOf(")",r),a=t.charAt(r+7)==="[",n=t.substr(r+7,s-r-7).match(a?bi:ze),i+=t.substr(e,r-e)+Xi(a?n:+n[0],a?0:+n[1],+n[2]||1e-5),e=s+1;return i+t.substr(e,t.length-e)},Gi=function(t,e,i,r,n){var s=e-t,a=r-i;return bt(n,function(o){return i+((o-t)/s*a||0)})},nn=function f(t,e,i,r){var n=isNaN(t+e)?0:function(d){return(1-d)*t+d*e};if(!n){var s=V(t),a={},o,u,h,l,c;if(i===!0&&(r=1)&&(i=null),s)t={p:t},e={p:e};else if(W(t)&&!W(e)){for(h=[],l=t.length,c=l-2,u=1;u(a=Math.abs(a))&&(o=s,n=a);return o},rt=function(t,e,i){var r=t.vars,n=r[e],s=R,a=t._ctx,o,u,h;if(n)return o=r[e+"Params"],u=r.callbackScope||t,i&&vt.length&&xe(),a&&(R=a),h=o?n.apply(u,o):n.call(u),R=s,h},se=function(t){return Tt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!G),t.progress()<1&&rt(t,"onInterrupt"),t},Wt,$i=[],Hi=function(t){if(t)if(t=!t.name&&t.default||t,Ee()||t.headless){var e=t.name,i=L(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:te,render:ri,add:je,kill:vn,modifier:xn,rawVars:0},s={targetTest:0,get:0,getSetter:ii,aliases:{},register:0};if($t(),t!==r){if(it[e])return;at(r,at(ve(t,n),s)),Mt(r.prototype,Mt(n,ve(t,s))),it[r.prop=e]=r,t.targetTest&&(ye.push(r),Ne[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Si(e,r),t.register&&t.register(j,r,Z)}else $i.push(t)},C=255,ae={aqua:[0,C,C],lime:[0,C,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,C],navy:[0,0,128],white:[C,C,C],olive:[128,128,0],yellow:[C,C,0],orange:[C,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[C,0,0],pink:[C,192,203],cyan:[0,C,C],transparent:[C,C,C,0]},Ke=function(t,e,i){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(i-e)*t*6:t<.5?i:t*3<2?e+(i-e)*(2/3-t)*6:e)*C+.5|0},Ki=function(t,e,i){var r=t?mt(t)?[t>>16,t>>8&C,t&C]:0:ae.black,n,s,a,o,u,h,l,c,d,p;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),ae[t])r=ae[t];else if(t.charAt(0)==="#"){if(t.length<6&&(n=t.charAt(1),s=t.charAt(2),a=t.charAt(3),t="#"+n+n+s+s+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return r=parseInt(t.substr(1,6),16),[r>>16,r>>8&C,r&C,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&C,t&C]}else if(t.substr(0,3)==="hsl"){if(r=p=t.match(ze),!e)o=+r[0]%360/360,u=+r[1]/100,h=+r[2]/100,s=h<=.5?h*(u+1):h+u-h*u,n=h*2-s,r.length>3&&(r[3]*=1),r[0]=Ke(o+1/3,n,s),r[1]=Ke(o,n,s),r[2]=Ke(o-1/3,n,s);else if(~t.indexOf("="))return r=t.match(vi),i&&r.length<4&&(r[3]=1),r}else r=t.match(ze)||ae.transparent;r=r.map(Number)}return e&&!p&&(n=r[0]/C,s=r[1]/C,a=r[2]/C,l=Math.max(n,s,a),c=Math.min(n,s,a),h=(l+c)/2,l===c?o=u=0:(d=l-c,u=h>.5?d/(2-l-c):d/(l+c),o=l===n?(s-a)/d+(st||y<0)&&(i+=y-e),r+=y,g=r-i,v=g-s,(v>0||x)&&(w=++l.frame,c=g-l.time*1e3,l.time=g=g/1e3,s+=v+(v>=n?4:n-v),T=1),x||(o=u(_)),T)for(d=0;d=y&&d--},_listeners:a},l}(),$t=function(){return!oe&&nt.wake()},O={},an=/^[\d.\-M][\d.\-,\s]/,on=/["']/g,un=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),r=i[0],n=1,s=i.length,a,o,u;n1&&i.config?i.config.apply(null,~t.indexOf("{")?[un(e[1])]:fn(t).split(",").map(Di)):O._CE&&an.test(t)?O._CE("",t):i},Ji=function(t){return function(e){return 1-t(1-e)}},tr=function f(t,e){for(var i=t._first,r;i;)i instanceof H?f(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?f(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next},At=function(t,e){return t&&(L(t)?t:O[t]||hn(t))||e},Rt=function(t,e,i,r){i===void 0&&(i=function(o){return 1-e(1-o)}),r===void 0&&(r=function(o){return o<.5?e(o*2)/2:1-e((1-o)*2)/2});var n={easeIn:e,easeOut:i,easeInOut:r},s;return Q(t,function(a){O[a]=et[a]=n,O[s=a.toLowerCase()]=i;for(var o in n)O[s+(o==="easeIn"?".in":o==="easeOut"?".out":".inOut")]=O[a+"."+o]=n[o]}),n},er=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},Qe=function f(t,e,i){var r=e>=1?e:1,n=(i||(t?.3:.45))/(e<1?e:1),s=n/Ae*(Math.asin(1/r)||0),a=function(h){return h===1?1:r*Math.pow(2,-10*h)*Ir((h-s)*n)+1},o=t==="out"?a:t==="in"?function(u){return 1-a(1-u)}:er(a);return n=Ae/n,o.config=function(u,h){return f(t,u,h)},o},Ze=function f(t,e){e===void 0&&(e=1.70158);var i=function(s){return s?--s*s*((e+1)*s+e)+1:0},r=t==="out"?i:t==="in"?function(n){return 1-i(1-n)}:er(i);return r.config=function(n){return f(t,n)},r};Q("Linear,Quad,Cubic,Quart,Quint,Strong",function(f,t){var e=t<5?t+1:t;Rt(f+",Power"+(e-1),t?function(i){return Math.pow(i,e)}:function(i){return i},function(i){return 1-Math.pow(1-i,e)},function(i){return i<.5?Math.pow(i*2,e)/2:1-Math.pow((1-i)*2,e)/2})}),O.Linear.easeNone=O.none=O.Linear.easeIn,Rt("Elastic",Qe("in"),Qe("out"),Qe()),function(f,t){var e=1/t,i=2*e,r=2.5*e,n=function(a){return a0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,Gt(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,r){if($t(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Pe(this,i),!n._dp||n.parent||Fi(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i0||!this._tDur&&!i)&<(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===M||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Mi(this,i,r)),this},t.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+zi(this))%(this._dur+this._rDelay)||(i?this._dur:0),r):this._time},t.totalProgress=function(i,r){return arguments.length?this.totalTime(this.totalDuration()*i,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},t.progress=function(i,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+zi(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(i,r){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*n,r):this._repeat?qt(this._tTime,n)+1:1},t.timeScale=function(i,r){if(!arguments.length)return this._rts===-M?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?be(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-M?0:this._rts,this.totalTime(re(-Math.abs(this._delay),this._tDur,n),r!==!1),we(this),qr(this)},t.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):($t(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==M&&(this._tTime-=M)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=i;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&<(r,this,i-this._delay),this}return this._start},t.endTime=function(i){return this._start+(K(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(i){var r=this.parent||this._dp;return r?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?be(r.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=Vr);var r=G;return G=i,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),G=r,this},t.globalTime=function(i){for(var r=this,n=arguments.length?i:r.rawTime();r;)n=r._start+n/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(i):n},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,Bi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,Bi(this),r?this.time(r):this}return this._rDelay},t.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},t.seek=function(i,r){return this.totalTime(ot(this,i),K(r))},t.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,K(r))},t.play=function(i,r){return i!=null&&this.seek(i,r),this.reversed(!1).paused(!1)},t.reverse=function(i,r){return i!=null&&this.seek(i||this.totalDuration(),r),this.reversed(!0).paused(!1)},t.pause=function(i,r){return i!=null&&this.seek(i,r),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-M:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-M,this},t.isActive=function(){var i=this.parent||this._dp,r=this._start,n;return!!(!i||this._ts&&this._initted&&i.isActive()&&(n=i.rawTime(!0))>=r&&n1?(r?(s[i]=r,n&&(s[i+"Params"]=n),i==="onUpdate"&&(this._onUpdate=r)):delete s[i],this):s[i]},t.then=function(i){var r=this;return new Promise(function(n){var s=L(i)?i:Ai,a=function(){var u=r.then;r.then=null,L(s)&&(s=s(r))&&(s.then||s===r)&&(r.then=u),n(s),r.then=u};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?a():r._prom=a})},t.kill=function(){se(this)},f}();at(ue.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:-M,_prom:0,_ps:!1,_rts:1});var H=function(f){gi(t,f);function t(i,r){var n;return i===void 0&&(i={}),n=f.call(this,i)||this,n.labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=K(i.sortChildren),z&<(i.parent||z,pt(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&Li(pt(n),i.scrollTrigger),n}var e=t.prototype;return e.to=function(r,n,s){return ie(0,arguments,this),this},e.from=function(r,n,s){return ie(1,arguments,this),this},e.fromTo=function(r,n,s,a){return ie(2,arguments,this),this},e.set=function(r,n,s){return n.duration=0,n.parent=this,ee(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new B(r,n,ot(this,s),1),this},e.call=function(r,n,s){return lt(this,B.delayedCall(0,r,n),s)},e.staggerTo=function(r,n,s,a,o,u,h){return s.duration=n,s.stagger=s.stagger||a,s.onComplete=u,s.onCompleteParams=h,s.parent=this,new B(r,s,ot(this,o)),this},e.staggerFrom=function(r,n,s,a,o,u,h){return s.runBackwards=1,ee(s).immediateRender=K(s.immediateRender),this.staggerTo(r,n,s,a,o,u,h)},e.staggerFromTo=function(r,n,s,a,o,u,h,l){return a.startAt=s,ee(a).immediateRender=K(a.immediateRender),this.staggerTo(r,n,a,o,u,h,l)},e.render=function(r,n,s){var a=this._time,o=this._dirty?this.totalDuration():this._tDur,u=this._dur,h=r<=0?0:U(r),l=this._zTime<0!=r<0&&(this._initted||!u),c,d,p,_,m,y,x,v,T,g,w,P;if(this!==z&&h>o&&r>=0&&(h=o),h!==this._tTime||s||l){if(a!==this._time&&u&&(h+=this._time-a,r+=this._time-a),c=h,T=this._start,v=this._ts,y=!v,l&&(u||(a=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(w=this._yoyo,m=u+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(m*100+r,n,s);if(c=U(h%m),h===o?(_=this._repeat,c=u):(_=~~(h/m),_&&_===h/m&&(c=u,_--),c>u&&(c=u)),g=qt(this._tTime,m),!a&&this._tTime&&g!==_&&this._tTime-g*m-this._dur<=0&&(g=_),w&&_&1&&(c=u-c,P=1),_!==g&&!this._lock){var S=w&&g&1,b=S===(w&&_&1);if(_=a&&r>=0)for(d=this._first;d;){if(p=d._next,(d._act||c>=d._start)&&d._ts&&x!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(c-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(c-d._start)*d._ts,n,s),c!==this._time||!this._ts&&!y){x=0,p&&(h+=this._zTime=-M);break}}d=p}else{d=this._last;for(var k=r<0?r:c;d;){if(p=d._prev,(d._act||k<=d._end)&&d._ts&&x!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(k-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(k-d._start)*d._ts,n,s||G&&(d._initted||d._startAt)),c!==this._time||!this._ts&&!y){x=0,p&&(h+=this._zTime=k?-M:M);break}}d=p}}if(x&&!n&&(this.pause(),x.render(c>=a?0:-M)._zTime=c>=a?1:-1,this._ts))return this._start=T,we(this),this.render(r,n,s);this._onUpdate&&!n&&rt(this,"onUpdate",!0),(h===o&&this._tTime>=this.totalDuration()||!h&&a)&&(T===this._start||Math.abs(v)!==Math.abs(this._ts))&&(this._lock||((r||!u)&&(h===o&&this._ts>0||!h&&this._ts<0)&&Tt(this,1),!n&&!(r<0&&!a)&&(h||a||!o)&&(rt(this,h===o&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(h0)&&this._prom())))}return this},e.add=function(r,n){var s=this;if(mt(n)||(n=ot(this,n,r)),!(r instanceof ue)){if(W(r))return r.forEach(function(a){return s.add(a,n)}),this;if(V(r))return this.addLabel(r,n);if(L(r))r=B.delayedCall(0,r);else return this}return this!==r?lt(this,r,n):this},e.getChildren=function(r,n,s,a){r===void 0&&(r=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),a===void 0&&(a=-st);for(var o=[],u=this._first;u;)u._start>=a&&(u instanceof B?n&&o.push(u):(s&&o.push(u),r&&o.push.apply(o,u.getChildren(!0,n,s)))),u=u._next;return o},e.getById=function(r){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===r)return n[s]},e.remove=function(r){return V(r)?this.removeLabel(r):L(r)?this.killTweensOf(r):(Te(this,r),r===this._recent&&(this._recent=this._last),Dt(this))},e.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=U(nt.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),f.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},e.addLabel=function(r,n){return this.labels[r]=ot(this,n),this},e.removeLabel=function(r){return delete this.labels[r],this},e.addPause=function(r,n,s){var a=B.delayedCall(0,n||te,s);return a.data="isPause",this._hasPause=1,lt(this,a,ot(this,r))},e.removePause=function(r){var n=this._first;for(r=ot(this,r);n;)n._start===r&&n.data==="isPause"&&Tt(n),n=n._next},e.killTweensOf=function(r,n,s){for(var a=this.getTweensOf(r,s),o=a.length;o--;)Pt!==a[o]&&a[o].kill(r,n);return this},e.getTweensOf=function(r,n){for(var s=[],a=ut(r),o=this._first,u=mt(n),h;o;)o instanceof B?Ur(o._targets,a)&&(u?(!Pt||o._initted&&o._ts)&&o.globalTime(0)<=n&&o.globalTime(o.totalDuration())>n:!n||o.isActive())&&s.push(o):(h=o.getTweensOf(a,n)).length&&s.push.apply(s,h),o=o._next;return s},e.tweenTo=function(r,n){n=n||{};var s=this,a=ot(s,r),o=n,u=o.startAt,h=o.onStart,l=o.onStartParams,c=o.immediateRender,d,p=B.to(s,at({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale())||M,onStart:function(){if(s.pause(),!d){var m=n.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale());p._dur!==m&&Gt(p,m,0,1).render(p._time,!0,!0),d=1}h&&h.apply(p,l||[])}},n));return c?p.render(0):p},e.tweenFromTo=function(r,n,s){return this.tweenTo(n,at({startAt:{time:ot(this,r)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),Wi(this,ot(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),Wi(this,ot(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+M)},e.shiftChildren=function(r,n,s){s===void 0&&(s=0);for(var a=this._first,o=this.labels,u;a;)a._start>=s&&(a._start+=r,a._end+=r),a=a._next;if(n)for(u in o)o[u]>=s&&(o[u]+=r);return Dt(this)},e.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return f.prototype.invalidate.call(this,r)},e.clear=function(r){r===void 0&&(r=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),Dt(this)},e.totalDuration=function(r){var n=0,s=this,a=s._last,o=st,u,h,l;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-r:r));if(s._dirty){for(l=s.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),h=a._start,h>o&&s._sort&&a._ts&&!s._lock?(s._lock=1,lt(s,a,h-a._delay,1)._lock=0):o=h,h<0&&a._ts&&(n-=h,(!l&&!s._dp||l&&l.smoothChildTiming)&&(s._start+=h/s._ts,s._time-=h,s._tTime-=h),s.shiftChildren(-h,!1,-1/0),o=0),a._end>n&&a._ts&&(n=a._end),a=u;Gt(s,s===z&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(r){if(z._ts&&(Mi(z,be(r,z)),Oi=nt.frame),nt.frame>=ki){ki+=tt.autoSleep||120;var n=z._first;if((!n||!n._ts)&&tt.autoSleep&&nt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||nt.sleep()}}},t}(ue);at(H.prototype,{_lock:0,_hasPause:0,_forcing:0});var _n=function(t,e,i,r,n,s,a){var o=new Z(this._pt,t,e,0,1,ur,null,n),u=0,h=0,l,c,d,p,_,m,y,x;for(o.b=i,o.e=r,i+="",r+="",(y=~r.indexOf("random("))&&(r=ne(r)),s&&(x=[i,r],s(x,t,e),i=x[0],r=x[1]),c=i.match(Fe)||[];l=Fe.exec(r);)p=l[0],_=r.substring(u,l.index),d?d=(d+1)%5:_.substr(-5)==="rgba("&&(d=1),p!==c[h++]&&(m=parseFloat(c[h-1])||0,o._pt={_next:o._pt,p:_||h===1?_:",",s:m,c:p.charAt(1)==="="?Xt(m,p)-m:parseFloat(p)-m,m:d&&d<4?Math.round:0},u=Fe.lastIndex);return o.c=u")}),T.duration();else{w={};for(S in p)S==="ease"||S==="easeEach"||pn(S,p[S],w,p.easeEach);for(S in w)for(A=w[S].sort(function(N,X){return N.t-X.t}),D=0,g=0;go-M&&!h?o:ru&&(c=u)),y=this._yoyo&&p&1,y&&(T=this._yEase,c=u-c),m=qt(this._tTime,_),c===a&&!s&&this._initted&&p===m)return this._tTime=l,this;p!==m&&(v&&this._yEase&&tr(v,y),this.vars.repeatRefresh&&!y&&!this._lock&&this._time!==_&&this._initted&&(this._lock=s=1,this.render(U(_*p),!0).invalidate()._lock=0))}if(!this._initted){if(Ii(this,h?r:c,s,n,l))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&p!==m))return this;if(u!==this._dur)return this.render(r,n,s)}if(this._tTime=l,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=x=(T||this._ease)(c/u),this._from&&(this.ratio=x=1-x),c&&!a&&!n&&!p&&(rt(this,"onStart"),this._tTime!==l))return this;for(d=this._pt;d;)d.r(x,d.d),d=d._next;v&&v.render(r<0?r:v._dur*v._ease(c/this._dur),n,s)||this._startAt&&(this._zTime=r),this._onUpdate&&!n&&(h&&qe(this,r,n,s),rt(this,"onUpdate")),this._repeat&&p!==m&&this.vars.onRepeat&&!n&&this.parent&&rt(this,"onRepeat"),(l===this._tDur||!l)&&this._tTime===l&&(h&&!this._onUpdate&&qe(this,r,!0,!0),(r||!u)&&(l===this._tDur&&this._ts>0||!l&&this._ts<0)&&Tt(this,1),!n&&!(h&&!a)&&(l||a||y)&&(rt(this,l===o?"onComplete":"onReverseComplete",!0),this._prom&&!(l0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),f.prototype.invalidate.call(this,r)},e.resetTo=function(r,n,s,a,o){oe||nt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),h;return this._initted||ti(this,u),h=this._ease(u/this._dur),cn(this,r,n,s,a,h,u,o)?this.resetTo(r,n,s,a,1):(Pe(this,0),this.parent||Ei(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(r,n){if(n===void 0&&(n="all"),!r&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?se(this):this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,Pt&&Pt.vars.overwrite!==!0)._first||se(this),this.parent&&s!==this.timeline.totalDuration()&&Gt(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,o=r?ut(r):a,u=this._ptLookup,h=this._pt,l,c,d,p,_,m,y;if((!n||n==="all")&&Xr(a,o))return n==="all"&&(this._pt=0),se(this);for(l=this._op=this._op||[],n!=="all"&&(V(n)&&(_={},Q(n,function(x){return _[x]=1}),n=_),n=dn(a,n)),y=a.length;y--;)if(~o.indexOf(a[y])){c=u[y],n==="all"?(l[y]=n,p=c,d={}):(d=l[y]=l[y]||{},p=n);for(_ in p)m=c&&c[_],m&&((!("kill"in m.d)||m.d.kill(_)===!0)&&Te(this,m,"_pt"),delete c[_]),d!=="all"&&(d[_]=1)}return this._initted&&!this._pt&&h&&se(this),this},t.to=function(r,n){return new t(r,n,arguments[2])},t.from=function(r,n){return ie(1,arguments)},t.delayedCall=function(r,n,s,a){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(r,n,s){return ie(2,arguments)},t.set=function(r,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(r,n)},t.killTweensOf=function(r,n,s){return z.killTweensOf(r,n,s)},t}(ue);at(B.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Q("staggerTo,staggerFrom,staggerFromTo",function(f){B[f]=function(){var t=new H,e=We.call(arguments,0);return e.splice(f==="staggerFromTo"?5:4,0,0),t[f].apply(t,e)}});var ei=function(t,e,i){return t[e]=i},ar=function(t,e,i){return t[e](i)},mn=function(t,e,i,r){return t[e](r.fp,i)},gn=function(t,e,i){return t.setAttribute(e,i)},ii=function(t,e){return L(t[e])?ar:Re(t[e])&&t.setAttribute?gn:ei},or=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},yn=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ur=function(t,e){var i=e._pt,r="";if(!t&&e.b)r=e.b;else if(t===1&&e.e)r=e.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+r,i=i._next;r+=e.c}e.set(e.t,e.p,r,e)},ri=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},xn=function(t,e,i,r){for(var n=this._pt,s;n;)s=n._next,n.p===r&&n.modifier(t,e,i),n=s},vn=function(t){for(var e=this._pt,i,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?Te(this,e,"_pt"):e.dep||(i=1),e=r;return!i},Tn=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},fr=function(t){for(var e=t._pt,i,r,n,s;e;){for(i=e._next,r=n;r&&r.pr>e.pr;)r=r._next;(e._prev=r?r._prev:s)?e._prev._next=e:n=e,(e._next=r)?r._prev=e:s=e,e=i}t._pt=n},Z=function(){function f(e,i,r,n,s,a,o,u,h){this.t=i,this.s=n,this.c=s,this.p=r,this.r=a||or,this.d=o||this,this.set=u||ei,this.pr=h||0,this._next=e,e&&(e._prev=this)}var t=f.prototype;return t.modifier=function(i,r,n){this.mSet=this.mSet||this.set,this.set=Tn,this.m=i,this.mt=n,this.tween=r},f}();Q(Ye+"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(f){return Ne[f]=1}),et.TweenMax=et.TweenLite=B,et.TimelineLite=et.TimelineMax=H,z=new H({sortChildren:!1,defaults:Ut,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),tt.stringFilter=ji;var Et=[],Se={},bn=[],hr=0,wn=0,ni=function(t){return(Se[t]||bn).map(function(e){return e()})},si=function(){var t=Date.now(),e=[];t-hr>2&&(ni("matchMediaInit"),Et.forEach(function(i){var r=i.queries,n=i.conditions,s,a,o,u;for(a in r)s=_t.matchMedia(r[a]).matches,s&&(o=1),s!==n[a]&&(n[a]=s,u=1);u&&(i.revert(),o&&e.push(i))}),ni("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),hr=t,ni("matchMedia"))},_r=function(){function f(e,i){this.selector=i&&$e(i),this.data=[],this._r=[],this.isReverted=!1,this.id=wn++,e&&this.add(e)}var t=f.prototype;return t.add=function(i,r,n){L(i)&&(n=r,r=i,i=L);var s=this,a=function(){var u=R,h=s.selector,l;return u&&u!==s&&u.data.push(s),n&&(s.selector=$e(n)),R=s,l=r.apply(s,arguments),L(l)&&s._r.push(l),R=u,s.selector=h,s.isReverted=!1,l};return s.last=a,i===L?a(s,function(o){return s.add(null,o)}):i?s[i]=a:a},t.ignore=function(i){var r=R;R=null,i(this),R=r},t.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof f?i.push.apply(i,r.getTweens()):r instanceof B&&!(r.parent&&r.parent.data==="nested")&&i.push(r)}),i},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(i,r){var n=this;if(i?function(){for(var a=n.getTweens(),o=n.data.length,u;o--;)u=n.data[o],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(h){return a.splice(a.indexOf(h),1)}));for(a.map(function(h){return{g:h._dur||h._delay||h._sat&&!h._sat.vars.immediateRender?h.globalTime(0):-1/0,t:h}}).sort(function(h,l){return l.g-h.g||-1/0}).forEach(function(h){return h.t.revert(i)}),o=n.data.length;o--;)u=n.data[o],u instanceof H?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof B)&&u.revert&&u.revert(i);n._r.forEach(function(h){return h(i,n)}),n.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var s=Et.length;s--;)Et[s].id===this.id&&Et.splice(s,1)},t.revert=function(i){this.kill(i||{})},f}(),Pn=function(){function f(e){this.contexts=[],this.scope=e,R&&R.data.push(this)}var t=f.prototype;return t.add=function(i,r,n){ht(i)||(i={matches:i});var s=new _r(0,n||this.scope),a=s.conditions={},o,u,h;R&&!s.selector&&(s.selector=R.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=i;for(u in i)u==="all"?h=1:(o=_t.matchMedia(i[u]),o&&(Et.indexOf(s)<0&&Et.push(s),(a[u]=o.matches)&&(h=1),o.addListener?o.addListener(si):o.addEventListener("change",si)));return h&&r(s,function(l){return s.add(null,l)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},f}(),Oe={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i1){var r=t.map(function(h){return j.quickSetter(h,e,i)}),n=r.length;return function(h){for(var l=n;l--;)r[l](h)}}t=t[0]||{};var s=it[e],a=Ct(t),o=a.harness&&(a.harness.aliases||{})[e]||e,u=s?function(h){var l=new s;Wt._pt=0,l.init(t,i?h+i:h,Wt,0,[t]),l.render(1,l),Wt._pt&&ri(1,Wt)}:a.set(t,o);return s?u:function(h){return u(t,o,i?h+i:h,a,1)}},quickTo:function(t,e,i){var r,n=j.to(t,Mt((r={},r[e]="+=0.1",r.paused=!0,r),i||{})),s=function(o,u,h){return n.resetTo(e,o,u,h)};return s.tween=n,s},isTweening:function(t){return z.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=At(t.ease,Ut.ease)),Ri(Ut,t||{})},config:function(t){return Ri(tt,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,r=t.plugins,n=t.defaults,s=t.extendTimeline;(r||"").split(",").forEach(function(a){return a&&!it[a]&&!et[a]&&Jt(e+" effect requires "+a+" plugin.")}),Ue[e]=function(a,o,u){return i(ut(a),at(o||{},n),u)},s&&(H.prototype[e]=function(a,o,u){return this.add(Ue[e](a,ht(o)?o:(u=o)&&{},this),u)})},registerEase:function(t,e){O[t]=At(e)},parseEase:function(t,e){return arguments.length?At(t,e):O},getById:function(t){return z.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new H(t),r,n;for(i.smoothChildTiming=K(t.smoothChildTiming),z.remove(i),i._dp=0,i._time=i._tTime=z._time,r=z._first;r;)n=r._next,(e||!(!r._dur&&r instanceof B&&r.vars.onComplete===r._targets[0]))&<(i,r,r._start-r._delay),r=n;return lt(z,i,0),i},context:function(t,e){return t?new _r(t,e):R},matchMedia:function(t){return new Pn(t)},matchMediaRefresh:function(){return Et.forEach(function(t){var e=t.conditions,i,r;for(r in e)e[r]&&(e[r]=!1,i=1);i&&t.revert()})||si()},addEventListener:function(t,e){var i=Se[t]||(Se[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=Se[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:en,wrapYoyo:rn,distribute:Ui,random:Xi,snap:Yi,normalize:tn,getUnit:$,clamp:Qr,splitColor:Ki,toArray:ut,selector:$e,mapRange:Gi,pipe:jr,unitize:Jr,interpolate:nn,shuffle:Vi},install:Pi,effects:Ue,ticker:nt,updateRoot:H.updateRoot,plugins:it,globalTimeline:z,core:{PropTween:Z,globals:Si,Tween:B,Timeline:H,Animation:ue,getCache:Ct,_removeLinkedListItem:Te,reverting:function(){return G},context:function(t){return t&&R&&(R.data.push(t),t._ctx=R),R},suppressOverwrites:function(t){return De=t}}};Q("to,from,fromTo,delayedCall,set,killTweensOf",function(f){return Oe[f]=B[f]}),nt.add(H.updateRoot),Wt=Oe.to({},{duration:0});var Sn=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},On=function(t,e){var i=t._targets,r,n,s;for(r in e)for(n=i.length;n--;)s=t._ptLookup[n][r],s&&(s=s.d)&&(s._pt&&(s=Sn(s,r)),s&&s.modifier&&s.modifier(e[r],t,i[n],r))},ai=function(t,e){return{name:t,rawVars:1,init:function(r,n,s){s._onInit=function(a){var o,u;if(V(n)&&(o={},Q(n,function(h){return o[h]=1}),n=o),e){o={};for(u in n)o[u]=e(n[u]);n=o}On(a,n)}}}},j=Oe.registerPlugin({name:"attr",init:function(t,e,i,r,n){var s,a,o;this.tween=i;for(s in e)o=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(o||0)+"",e[s],r,n,0,0,s),a.op=s,a.b=o,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)G?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},ai("roundProps",He),ai("modifiers"),ai("snap",Yi))||Oe;B.version=H.version=j.version="3.12.5",wi=1,Ee()&&$t(),O.Power0,O.Power1,O.Power2,O.Power3,O.Power4,O.Linear,O.Quad,O.Cubic,O.Quart,O.Quint,O.Strong,O.Elastic,O.Back,O.SteppedEase,O.Bounce,O.Sine,O.Expo,O.Circ;/*! 11 | * CSSPlugin 3.12.5 12 | * https://gsap.com 13 | * 14 | * Copyright 2008-2024, GreenSock. All rights reserved. 15 | * Subject to the terms at https://gsap.com/standard-license or for 16 | * Club GSAP members, the agreement issued with that membership. 17 | * @author: Jack Doyle, jack@greensock.com 18 | */var lr,St,Ht,oi,zt,cr,ui,kn=function(){return typeof window<"u"},gt={},Ft=180/Math.PI,Kt=Math.PI/180,Qt=Math.atan2,dr=1e8,fi=/([A-Z])/g,Cn=/(left|right|width|margin|padding|x)/i,Mn=/[\s,\(]\S/,ct={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},hi=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},Dn=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},An=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},Rn=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},pr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},mr=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},En=function(t,e,i){return t.style[e]=i},zn=function(t,e,i){return t.style.setProperty(e,i)},Fn=function(t,e,i){return t._gsap[e]=i},Ln=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},In=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},Bn=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},F="transform",J=F+"Origin",Nn=function f(t,e){var i=this,r=this.target,n=r.style,s=r._gsap;if(t in gt&&n){if(this.tfm=this.tfm||{},t!=="transform")t=ct[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return i.tfm[a]=yt(r,a)}):this.tfm[t]=s.x?s[t]:yt(r,t),t===J&&(this.tfm.zOrigin=s.zOrigin);else return ct.transform.split(",").forEach(function(a){return f.call(i,a,e)});if(this.props.indexOf(F)>=0)return;s.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(J,e,"")),t=F}(n||e)&&this.props.push(t,e,n[t])},gr=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Vn=function(){var t=this.props,e=this.target,i=e.style,r=e._gsap,n,s;for(n=0;n=0?vr[s]:"")+t},li=function(){kn()&&window.document&&(lr=window,St=lr.document,Ht=St.documentElement,zt=_i("div")||{style:{}},_i("div"),F=Zt(F),J=F+"Origin",zt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",xr=!!Zt("perspective"),ui=j.core.reverting,oi=1)},ci=function f(t){var e=_i("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,r=this.nextSibling,n=this.style.cssText,s;if(Ht.appendChild(e),e.appendChild(this),this.style.display="block",t)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=f}catch{}else this._gsapBBox&&(s=this._gsapBBox());return i&&(r?i.insertBefore(this,r):i.appendChild(this)),Ht.removeChild(e),this.style.cssText=n,s},Tr=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},br=function(t){var e;try{e=t.getBBox()}catch{e=ci.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===ci||(e=ci.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+Tr(t,["x","cx","x1"])||0,y:+Tr(t,["y","cy","y1"])||0,width:0,height:0}:e},wr=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&br(t))},Lt=function(t,e){if(e){var i=t.style,r;e in gt&&e!==J&&(e=F),i.removeProperty?(r=e.substr(0,2),(r==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(r==="--"?e:e.replace(fi,"-$1").toLowerCase())):i.removeAttribute(e)}},Ot=function(t,e,i,r,n,s){var a=new Z(t._pt,e,i,0,1,s?mr:pr);return t._pt=a,a.b=r,a.e=n,t._props.push(i),a},Pr={deg:1,rad:1,turn:1},Un={grid:1,flex:1},kt=function f(t,e,i,r){var n=parseFloat(i)||0,s=(i+"").trim().substr((n+"").length)||"px",a=zt.style,o=Cn.test(e),u=t.tagName.toLowerCase()==="svg",h=(u?"client":"offset")+(o?"Width":"Height"),l=100,c=r==="px",d=r==="%",p,_,m,y;if(r===s||!n||Pr[r]||Pr[s])return n;if(s!=="px"&&!c&&(n=f(t,e,i,"px")),y=t.getCTM&&wr(t),(d||s==="%")&&(gt[e]||~e.indexOf("adius")))return p=y?t.getBBox()[o?"width":"height"]:t[h],I(d?n/p*l:n/100*p);if(a[o?"width":"height"]=l+(c?s:r),_=~e.indexOf("adius")||r==="em"&&t.appendChild&&!u?t:t.parentNode,y&&(_=(t.ownerSVGElement||{}).parentNode),(!_||_===St||!_.appendChild)&&(_=St.body),m=_._gsap,m&&d&&m.width&&o&&m.time===nt.time&&!m.uncache)return I(n/m.width*l);if(d&&(e==="height"||e==="width")){var x=t.style[e];t.style[e]=l+r,p=t[h],x?t.style[e]=x:Lt(t,e)}else(d||s==="%")&&!Un[dt(_,"display")]&&(a.position=dt(t,"position")),_===t&&(a.position="static"),_.appendChild(zt),p=zt[h],_.removeChild(zt),a.position="absolute";return o&&d&&(m=Ct(_),m.time=nt.time,m.width=_[h]),I(c?p*n/l:p&&n?l/p*n:0)},yt=function(t,e,i,r){var n;return oi||li(),e in ct&&e!=="transform"&&(e=ct[e],~e.indexOf(",")&&(e=e.split(",")[0])),gt[e]&&e!=="transform"?(n=_e(t,r),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Ce(dt(t,J))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=ke[e]&&ke[e](t,e,i)||dt(t,e)||Ci(t,e)||(e==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?kt(t,e,n,i)+i:n},Yn=function(t,e,i,r){if(!i||i==="none"){var n=Zt(e,t,1),s=n&&dt(t,n,1);s&&s!==i?(e=n,i=s):e==="borderColor"&&(i=dt(t,"borderTopColor"))}var a=new Z(this._pt,t.style,e,0,1,ur),o=0,u=0,h,l,c,d,p,_,m,y,x,v,T,g;if(a.b=i,a.e=r,i+="",r+="",r==="auto"&&(_=t.style[e],t.style[e]=r,r=dt(t,e)||r,_?t.style[e]=_:Lt(t,e)),h=[i,r],ji(h),i=h[0],r=h[1],c=i.match(Yt)||[],g=r.match(Yt)||[],g.length){for(;l=Yt.exec(r);)m=l[0],x=r.substring(o,l.index),p?p=(p+1)%5:(x.substr(-5)==="rgba("||x.substr(-5)==="hsla(")&&(p=1),m!==(_=c[u++]||"")&&(d=parseFloat(_)||0,T=_.substr((d+"").length),m.charAt(1)==="="&&(m=Xt(d,m)+T),y=parseFloat(m),v=m.substr((y+"").length),o=Yt.lastIndex-v.length,v||(v=v||tt.units[e]||T,o===r.length&&(r+=v,a.e+=v)),T!==v&&(d=kt(t,e,_,v)||0),a._pt={_next:a._pt,p:x||u===1?x:",",s:d,c:y-d,m:p&&p<4||e==="zIndex"?Math.round:0});a.c=o-1;)a=n[u],gt[a]&&(o=1,a=a==="transformOrigin"?J:F),Lt(i,a);o&&(Lt(i,F),s&&(s.svg&&i.removeAttribute("transform"),_e(i,1),s.uncache=1,gr(r)))}},ke={clearProps:function(t,e,i,r,n){if(n.data!=="isFromStart"){var s=t._pt=new Z(t._pt,e,i,0,0,qn);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},he=[1,0,0,1,0,0],Or={},kr=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Cr=function(t){var e=dt(t,F);return kr(e)?he:e.substr(7).match(vi).map(I)},di=function(t,e){var i=t._gsap||Ct(t),r=t.style,n=Cr(t),s,a,o,u;return i.svg&&t.getAttribute("transform")?(o=t.transform.baseVal.consolidate().matrix,n=[o.a,o.b,o.c,o.d,o.e,o.f],n.join(",")==="1,0,0,1,0,0"?he:n):(n===he&&!t.offsetParent&&t!==Ht&&!i.svg&&(o=r.display,r.display="block",s=t.parentNode,(!s||!t.offsetParent)&&(u=1,a=t.nextElementSibling,Ht.appendChild(t)),n=Cr(t),o?r.display=o:Lt(t,"display"),u&&(a?s.insertBefore(t,a):s?s.appendChild(t):Ht.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},pi=function(t,e,i,r,n,s){var a=t._gsap,o=n||di(t,!0),u=a.xOrigin||0,h=a.yOrigin||0,l=a.xOffset||0,c=a.yOffset||0,d=o[0],p=o[1],_=o[2],m=o[3],y=o[4],x=o[5],v=e.split(" "),T=parseFloat(v[0])||0,g=parseFloat(v[1])||0,w,P,S,b;i?o!==he&&(P=d*m-p*_)&&(S=T*(m/P)+g*(-_/P)+(_*x-m*y)/P,b=T*(-p/P)+g*(d/P)-(d*x-p*y)/P,T=S,g=b):(w=br(t),T=w.x+(~v[0].indexOf("%")?T/100*w.width:T),g=w.y+(~(v[1]||v[0]).indexOf("%")?g/100*w.height:g)),r||r!==!1&&a.smooth?(y=T-u,x=g-h,a.xOffset=l+(y*d+x*_)-y,a.yOffset=c+(y*p+x*m)-x):a.xOffset=a.yOffset=0,a.xOrigin=T,a.yOrigin=g,a.smooth=!!r,a.origin=e,a.originIsAbsolute=!!i,t.style[J]="0px 0px",s&&(Ot(s,a,"xOrigin",u,T),Ot(s,a,"yOrigin",h,g),Ot(s,a,"xOffset",l,a.xOffset),Ot(s,a,"yOffset",c,a.yOffset)),t.setAttribute("data-svg-origin",T+" "+g)},_e=function(t,e){var i=t._gsap||new ir(t);if("x"in i&&!e&&!i.uncache)return i;var r=t.style,n=i.scaleX<0,s="px",a="deg",o=getComputedStyle(t),u=dt(t,J)||"0",h,l,c,d,p,_,m,y,x,v,T,g,w,P,S,b,k,E,D,A,q,Y,N,X,ft,Me,ce,de,Nt,Er,xt,Vt;return h=l=c=_=m=y=x=v=T=0,d=p=1,i.svg=!!(t.getCTM&&wr(t)),o.translate&&((o.translate!=="none"||o.scale!=="none"||o.rotate!=="none")&&(r[F]=(o.translate!=="none"?"translate3d("+(o.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(o.rotate!=="none"?"rotate("+o.rotate+") ":"")+(o.scale!=="none"?"scale("+o.scale.split(" ").join(",")+") ":"")+(o[F]!=="none"?o[F]:"")),r.scale=r.rotate=r.translate="none"),P=di(t,i.svg),i.svg&&(i.uncache?(ft=t.getBBox(),u=i.xOrigin-ft.x+"px "+(i.yOrigin-ft.y)+"px",X=""):X=!e&&t.getAttribute("data-svg-origin"),pi(t,X||u,!!X||i.originIsAbsolute,i.smooth!==!1,P)),g=i.xOrigin||0,w=i.yOrigin||0,P!==he&&(E=P[0],D=P[1],A=P[2],q=P[3],h=Y=P[4],l=N=P[5],P.length===6?(d=Math.sqrt(E*E+D*D),p=Math.sqrt(q*q+A*A),_=E||D?Qt(D,E)*Ft:0,x=A||q?Qt(A,q)*Ft+_:0,x&&(p*=Math.abs(Math.cos(x*Kt))),i.svg&&(h-=g-(g*E+w*A),l-=w-(g*D+w*q))):(Vt=P[6],Er=P[7],ce=P[8],de=P[9],Nt=P[10],xt=P[11],h=P[12],l=P[13],c=P[14],S=Qt(Vt,Nt),m=S*Ft,S&&(b=Math.cos(-S),k=Math.sin(-S),X=Y*b+ce*k,ft=N*b+de*k,Me=Vt*b+Nt*k,ce=Y*-k+ce*b,de=N*-k+de*b,Nt=Vt*-k+Nt*b,xt=Er*-k+xt*b,Y=X,N=ft,Vt=Me),S=Qt(-A,Nt),y=S*Ft,S&&(b=Math.cos(-S),k=Math.sin(-S),X=E*b-ce*k,ft=D*b-de*k,Me=A*b-Nt*k,xt=q*k+xt*b,E=X,D=ft,A=Me),S=Qt(D,E),_=S*Ft,S&&(b=Math.cos(S),k=Math.sin(S),X=E*b+D*k,ft=Y*b+N*k,D=D*b-E*k,N=N*b-Y*k,E=X,Y=ft),m&&Math.abs(m)+Math.abs(_)>359.9&&(m=_=0,y=180-y),d=I(Math.sqrt(E*E+D*D+A*A)),p=I(Math.sqrt(N*N+Vt*Vt)),S=Qt(Y,N),x=Math.abs(S)>2e-4?S*Ft:0,T=xt?1/(xt<0?-xt:xt):0),i.svg&&(X=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!kr(dt(t,F)),X&&t.setAttribute("transform",X))),Math.abs(x)>90&&Math.abs(x)<270&&(n?(d*=-1,x+=_<=0?180:-180,_+=_<=0?180:-180):(p*=-1,x+=x<=0?180:-180)),e=e||i.uncache,i.x=h-((i.xPercent=h&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-h)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+s,i.y=l-((i.yPercent=l&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-l)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+s,i.z=c+s,i.scaleX=I(d),i.scaleY=I(p),i.rotation=I(_)+a,i.rotationX=I(m)+a,i.rotationY=I(y)+a,i.skewX=x+a,i.skewY=v+a,i.transformPerspective=T+s,(i.zOrigin=parseFloat(u.split(" ")[2])||!e&&i.zOrigin||0)&&(r[J]=Ce(u)),i.xOffset=i.yOffset=0,i.force3D=tt.force3D,i.renderTransform=i.svg?Wn:xr?Mr:Gn,i.uncache=0,i},Ce=function(t){return(t=t.split(" "))[0]+" "+t[1]},mi=function(t,e,i){var r=$(e);return I(parseFloat(e)+parseFloat(kt(t,"x",i+"px",r)))+r},Gn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Mr(t,e)},It="0deg",le="0px",Bt=") ",Mr=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,o=i.z,u=i.rotation,h=i.rotationY,l=i.rotationX,c=i.skewX,d=i.skewY,p=i.scaleX,_=i.scaleY,m=i.transformPerspective,y=i.force3D,x=i.target,v=i.zOrigin,T="",g=y==="auto"&&t&&t!==1||y===!0;if(v&&(l!==It||h!==It)){var w=parseFloat(h)*Kt,P=Math.sin(w),S=Math.cos(w),b;w=parseFloat(l)*Kt,b=Math.cos(w),s=mi(x,s,P*b*-v),a=mi(x,a,-Math.sin(w)*-v),o=mi(x,o,S*b*-v+v)}m!==le&&(T+="perspective("+m+Bt),(r||n)&&(T+="translate("+r+"%, "+n+"%) "),(g||s!==le||a!==le||o!==le)&&(T+=o!==le||g?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+Bt),u!==It&&(T+="rotate("+u+Bt),h!==It&&(T+="rotateY("+h+Bt),l!==It&&(T+="rotateX("+l+Bt),(c!==It||d!==It)&&(T+="skew("+c+", "+d+Bt),(p!==1||_!==1)&&(T+="scale("+p+", "+_+Bt),x.style[F]=T||"translate(0, 0)"},Wn=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,o=i.rotation,u=i.skewX,h=i.skewY,l=i.scaleX,c=i.scaleY,d=i.target,p=i.xOrigin,_=i.yOrigin,m=i.xOffset,y=i.yOffset,x=i.forceCSS,v=parseFloat(s),T=parseFloat(a),g,w,P,S,b;o=parseFloat(o),u=parseFloat(u),h=parseFloat(h),h&&(h=parseFloat(h),u+=h,o+=h),o||u?(o*=Kt,u*=Kt,g=Math.cos(o)*l,w=Math.sin(o)*l,P=Math.sin(o-u)*-c,S=Math.cos(o-u)*c,u&&(h*=Kt,b=Math.tan(u-h),b=Math.sqrt(1+b*b),P*=b,S*=b,h&&(b=Math.tan(h),b=Math.sqrt(1+b*b),g*=b,w*=b)),g=I(g),w=I(w),P=I(P),S=I(S)):(g=l,S=c,w=P=0),(v&&!~(s+"").indexOf("px")||T&&!~(a+"").indexOf("px"))&&(v=kt(d,"x",s,"px"),T=kt(d,"y",a,"px")),(p||_||m||y)&&(v=I(v+p-(p*g+_*P)+m),T=I(T+_-(p*w+_*S)+y)),(r||n)&&(b=d.getBBox(),v=I(v+r/100*b.width),T=I(T+n/100*b.height)),b="matrix("+g+","+w+","+P+","+S+","+v+","+T+")",d.setAttribute("transform",b),x&&(d.style[F]=b)},$n=function(t,e,i,r,n){var s=360,a=V(n),o=parseFloat(n)*(a&&~n.indexOf("rad")?Ft:1),u=o-r,h=r+u+"deg",l,c;return a&&(l=n.split("_")[1],l==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),l==="cw"&&u<0?u=(u+s*dr)%s-~~(u/s)*s:l==="ccw"&&u>0&&(u=(u-s*dr)%s-~~(u/s)*s)),t._pt=c=new Z(t._pt,e,i,r,u,Dn),c.e=h,c.u="deg",t._props.push(i),c},Dr=function(t,e){for(var i in e)t[i]=e[i];return t},Hn=function(t,e,i){var r=Dr({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,o,u,h,l,c,d,p;r.svg?(u=i.getAttribute("transform"),i.setAttribute("transform",""),s[F]=e,a=_e(i,1),Lt(i,F),i.setAttribute("transform",u)):(u=getComputedStyle(i)[F],s[F]=e,a=_e(i,1),s[F]=u);for(o in gt)u=r[o],h=a[o],u!==h&&n.indexOf(o)<0&&(d=$(u),p=$(h),l=d!==p?kt(i,o,u,p):parseFloat(u),c=parseFloat(h),t._pt=new Z(t._pt,a,o,l,c-l,hi),t._pt.u=p||0,t._props.push(o));Dr(a,r)};Q("padding,margin,Width,Radius",function(f,t){var e="Top",i="Right",r="Bottom",n="Left",s=(t<3?[e,i,r,n]:[e+n,e+i,r+i,r+n]).map(function(a){return t<2?f+a:"border"+a+f});ke[t>1?"border"+f:f]=function(a,o,u,h,l){var c,d;if(arguments.length<4)return c=s.map(function(p){return yt(a,p,u)}),d=c.join(" "),d.split(c[0]).length===5?c[0]:d;c=(h+"").split(" "),d={},s.forEach(function(p,_){return d[p]=c[_]=c[_]||c[(_-1)/2|0]}),a.init(o,d,l)}});var Ar={name:"css",register:li,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,n){var s=this._props,a=t.style,o=i.vars.startAt,u,h,l,c,d,p,_,m,y,x,v,T,g,w,P,S;oi||li(),this.styles=this.styles||yr(t),S=this.styles.props,this.tween=i;for(_ in e)if(_!=="autoRound"&&(h=e[_],!(it[_]&&rr(_,e,i,r,t,n)))){if(d=typeof h,p=ke[_],d==="function"&&(h=h.call(i,r,t,n),d=typeof h),d==="string"&&~h.indexOf("random(")&&(h=ne(h)),p)p(this,t,_,h,i)&&(P=1);else if(_.substr(0,2)==="--")u=(getComputedStyle(t).getPropertyValue(_)+"").trim(),h+="",wt.lastIndex=0,wt.test(u)||(m=$(u),y=$(h)),y?m!==y&&(u=kt(t,_,u,y)+y):m&&(h+=m),this.add(a,"setProperty",u,h,r,n,0,0,_),s.push(_),S.push(_,0,a[_]);else if(d!=="undefined"){if(o&&_ in o?(u=typeof o[_]=="function"?o[_].call(i,r,t,n):o[_],V(u)&&~u.indexOf("random(")&&(u=ne(u)),$(u+"")||u==="auto"||(u+=tt.units[_]||$(yt(t,_))||""),(u+"").charAt(1)==="="&&(u=yt(t,_))):u=yt(t,_),c=parseFloat(u),x=d==="string"&&h.charAt(1)==="="&&h.substr(0,2),x&&(h=h.substr(2)),l=parseFloat(h),_ in ct&&(_==="autoAlpha"&&(c===1&&yt(t,"visibility")==="hidden"&&l&&(c=0),S.push("visibility",0,a.visibility),Ot(this,a,"visibility",c?"inherit":"hidden",l?"inherit":"hidden",!l)),_!=="scale"&&_!=="transform"&&(_=ct[_],~_.indexOf(",")&&(_=_.split(",")[0]))),v=_ in gt,v){if(this.styles.save(_),T||(g=t._gsap,g.renderTransform&&!e.parseTransform||_e(t,e.parseTransform),w=e.smoothOrigin!==!1&&g.smooth,T=this._pt=new Z(this._pt,a,F,0,1,g.renderTransform,g,0,-1),T.dep=1),_==="scale")this._pt=new Z(this._pt,g,"scaleY",g.scaleY,(x?Xt(g.scaleY,x+l):l)-g.scaleY||0,hi),this._pt.u=0,s.push("scaleY",_),_+="X";else if(_==="transformOrigin"){S.push(J,0,a[J]),h=Xn(h),g.svg?pi(t,h,0,w,0,this):(y=parseFloat(h.split(" ")[2])||0,y!==g.zOrigin&&Ot(this,g,"zOrigin",g.zOrigin,y),Ot(this,a,_,Ce(u),Ce(h)));continue}else if(_==="svgOrigin"){pi(t,h,1,w,0,this);continue}else if(_ in Or){$n(this,g,_,c,x?Xt(c,x+h):h);continue}else if(_==="smoothOrigin"){Ot(this,g,"smooth",g.smooth,h);continue}else if(_==="force3D"){g[_]=h;continue}else if(_==="transform"){Hn(this,h,t);continue}}else _ in a||(_=Zt(_)||_);if(v||(l||l===0)&&(c||c===0)&&!Mn.test(h)&&_ in a)m=(u+"").substr((c+"").length),l||(l=0),y=$(h)||(_ in tt.units?tt.units[_]:m),m!==y&&(c=kt(t,_,u,y)),this._pt=new Z(this._pt,v?g:a,_,c,(x?Xt(c,x+l):l)-c,!v&&(y==="px"||_==="zIndex")&&e.autoRound!==!1?Rn:hi),this._pt.u=y||0,m!==y&&y!=="%"&&(this._pt.b=u,this._pt.r=An);else if(_ in a)Yn.call(this,t,_,u,x?x+h:h);else if(_ in t)this.add(t,_,u||t[_],x?x+h:h,r,n);else if(_!=="parseTransform"){Be(_,h);continue}v||(_ in a?S.push(_,0,a[_]):S.push(_,1,u||t[_])),s.push(_)}}P&&fr(this)},render:function(t,e){if(e.tween._time||!ui())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:yt,aliases:ct,getSetter:function(t,e,i){var r=ct[e];return r&&r.indexOf(",")<0&&(e=r),e in gt&&e!==J&&(t._gsap.x||yt(t,"x"))?i&&cr===i?e==="scale"?Ln:Fn:(cr=i||{})&&(e==="scale"?In:Bn):t.style&&!Re(t.style[e])?En:~e.indexOf("-")?zn:ii(t,e)},core:{_removeProperty:Lt,_getMatrix:di}};j.utils.checkPrefix=Zt,j.core.getStyleSaver=yr,function(f,t,e,i){var r=Q(f+","+t+","+e,function(n){gt[n]=1});Q(t,function(n){tt.units[n]="deg",Or[n]=1}),ct[r[13]]=f+","+t,Q(i,function(n){var s=n.split(":");ct[s[1]]=r[s[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),Q("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(f){tt.units[f]="px"}),j.registerPlugin(Ar);var Rr=j.registerPlugin(Ar)||j;Rr.core.Tween,(()=>{Rr.to("body",{duration:.5,autoAlpha:1}),console.log("show body")})(),console.log("Hello, Vite!")}); 19 | -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Vite App 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 35 | 36 | 37 | 38 |
39 |

Hello Vite

40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /src/js/animations/starter.js: -------------------------------------------------------------------------------- 1 | import gsap from "gsap"; 2 | 3 | const showBody = () => { 4 | gsap.to("body", { duration: 0.5, autoAlpha: 1 }); 5 | 6 | console.log("show body"); 7 | }; 8 | 9 | export { showBody }; 10 | -------------------------------------------------------------------------------- /src/js/index.js: -------------------------------------------------------------------------------- 1 | import "../styles/index.css"; 2 | import { showBody } from "./animations/starter"; 3 | 4 | showBody(); 5 | 6 | console.log("Hello, Vite!"); 7 | -------------------------------------------------------------------------------- /src/js/utils/bind.js: -------------------------------------------------------------------------------- 1 | // Gets all non-builtin properties up the prototype chain. 2 | const getAllProperties = (object) => { 3 | const properties = new Set(); 4 | 5 | do { 6 | for (const key of Reflect.ownKeys(object)) { 7 | properties.add([object, key]); 8 | } 9 | } while ( 10 | (object = Reflect.getPrototypeOf(object)) && 11 | object !== Object.prototype 12 | ); 13 | 14 | return properties; 15 | }; 16 | 17 | export default function AutoBind(self, { include, exclude } = {}) { 18 | const filter = (key) => { 19 | const match = (pattern) => 20 | typeof pattern === "string" ? key === pattern : pattern.test(key); 21 | 22 | if (include) { 23 | return include.some(match); // eslint-disable-line unicorn/no-array-callback-reference 24 | } 25 | 26 | if (exclude) { 27 | return !exclude.some(match); // eslint-disable-line unicorn/no-array-callback-reference 28 | } 29 | 30 | return true; 31 | }; 32 | 33 | for (const [object, key] of getAllProperties(self.constructor.prototype)) { 34 | if (key === "constructor" || !filter(key)) { 35 | continue; 36 | } 37 | 38 | const descriptor = Reflect.getOwnPropertyDescriptor(object, key); 39 | if (descriptor && typeof descriptor.value === "function") { 40 | self[key] = self[key].bind(self); 41 | } 42 | } 43 | 44 | return self; 45 | } 46 | -------------------------------------------------------------------------------- /src/js/utils/breakpoints.js: -------------------------------------------------------------------------------- 1 | export const BREAKPOINT_PHONE = 425; 2 | export const BREAKPOINT_TABLET = 768; 3 | export const BREAKPOINT_DESKTOP = 1440; 4 | -------------------------------------------------------------------------------- /src/js/utils/dom.js: -------------------------------------------------------------------------------- 1 | const map = (array, iteratee) => { 2 | let index = -1; 3 | const length = array == null ? 0 : array.length; 4 | const result = new Array(length); 5 | 6 | while (++index < length) { 7 | result[index] = iteratee(array[index], index, array); 8 | } 9 | return result; 10 | }; 11 | 12 | export const findAncestor = (element, selector) => { 13 | while ( 14 | (element = element.parentElement) && 15 | !(element.matches || element.matchesSelector).call(element, selector) 16 | ) { 17 | return element; 18 | } 19 | }; 20 | 21 | export const getOffset = (element, scroll = 0) => { 22 | const box = element.getBoundingClientRect(); 23 | 24 | return { 25 | bottom: box.bottom, 26 | height: box.height, 27 | left: box.left, 28 | right: box.right, 29 | top: box.top + scroll, 30 | width: box.width, 31 | }; 32 | }; 33 | 34 | export function getIndex(node) { 35 | let index = 0; 36 | 37 | while ((node = node.previousElementSibling)) { 38 | index++; 39 | } 40 | 41 | return index; 42 | } 43 | 44 | export function mapEach(element, callback) { 45 | if (element instanceof window.HTMLElement) { 46 | return [callback(element)]; 47 | } 48 | 49 | return map(element, callback); 50 | } 51 | 52 | export const getNextElement = (elem, selector) => { 53 | let sibling = elem.nextElementSibling; 54 | if (!selector) return sibling; 55 | 56 | while (sibling) { 57 | if (sibling.matches(selector)) return sibling; 58 | sibling = sibling.nextElementSibling; 59 | } 60 | }; 61 | 62 | export const easing = `cubic-bezier(0.19, 1, 0.22, 1)`; 63 | -------------------------------------------------------------------------------- /src/js/utils/math.js: -------------------------------------------------------------------------------- 1 | import GSAP from 'gsap' 2 | 3 | export function lerp (p1, p2, t) { 4 | return p1 + (p2 - p1) * t 5 | } 6 | 7 | export function easeInOut (t) { 8 | return t < 0.5 ? 4 * t * t * t : (t - 1) * (2 * t - 2) * (2 * t - 2) + 1; 9 | } 10 | 11 | export function interpolate (start, end, value) { 12 | return (start * (1.0 - value)) + (end * value) 13 | } 14 | 15 | export function clamp (min, max, number) { 16 | return Math.max(min, Math.min(number, max)) 17 | } 18 | 19 | export function random (min, max) { 20 | return Math.random() * (max - min) + min 21 | } 22 | 23 | export function delay (ms) { 24 | return new Promise(res => GSAP.delayedCall(ms / 1000, res)) 25 | } 26 | -------------------------------------------------------------------------------- /src/styles/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | padding: 0; 4 | } 5 | -------------------------------------------------------------------------------- /src/vite.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | root: "src", 3 | server: { 4 | cors: "*", 5 | hmr: {}, 6 | }, 7 | build: { 8 | minify: true, 9 | outDir: "../src/dist", 10 | emptyOutDir: true, 11 | rollupOptions: { 12 | input: "/js/index.js", 13 | output: { 14 | format: "umd", 15 | entryFileNames: "index.js", 16 | compact: true, 17 | }, 18 | }, 19 | }, 20 | envDir: "../", 21 | }; 22 | -------------------------------------------------------------------------------- /tag: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@esbuild/aix-ppc64@0.24.0": 6 | version "0.24.0" 7 | resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.24.0.tgz#b57697945b50e99007b4c2521507dc613d4a648c" 8 | integrity sha512-WtKdFM7ls47zkKHFVzMz8opM7LkcsIp9amDUBIAWirg70RM71WRSjdILPsY5Uv1D42ZpUfaPILDlfactHgsRkw== 9 | 10 | "@esbuild/android-arm64@0.24.0": 11 | version "0.24.0" 12 | resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.24.0.tgz#1add7e0af67acefd556e407f8497e81fddad79c0" 13 | integrity sha512-Vsm497xFM7tTIPYK9bNTYJyF/lsP590Qc1WxJdlB6ljCbdZKU9SY8i7+Iin4kyhV/KV5J2rOKsBQbB77Ab7L/w== 14 | 15 | "@esbuild/android-arm@0.24.0": 16 | version "0.24.0" 17 | resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.24.0.tgz#ab7263045fa8e090833a8e3c393b60d59a789810" 18 | integrity sha512-arAtTPo76fJ/ICkXWetLCc9EwEHKaeya4vMrReVlEIUCAUncH7M4bhMQ+M9Vf+FFOZJdTNMXNBrWwW+OXWpSew== 19 | 20 | "@esbuild/android-x64@0.24.0": 21 | version "0.24.0" 22 | resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.24.0.tgz#e8f8b196cfdfdd5aeaebbdb0110983460440e705" 23 | integrity sha512-t8GrvnFkiIY7pa7mMgJd7p8p8qqYIz1NYiAoKc75Zyv73L3DZW++oYMSHPRarcotTKuSs6m3hTOa5CKHaS02TQ== 24 | 25 | "@esbuild/darwin-arm64@0.24.0": 26 | version "0.24.0" 27 | resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.24.0.tgz#2d0d9414f2acbffd2d86e98253914fca603a53dd" 28 | integrity sha512-CKyDpRbK1hXwv79soeTJNHb5EiG6ct3efd/FTPdzOWdbZZfGhpbcqIpiD0+vwmpu0wTIL97ZRPZu8vUt46nBSw== 29 | 30 | "@esbuild/darwin-x64@0.24.0": 31 | version "0.24.0" 32 | resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.24.0.tgz#33087aab31a1eb64c89daf3d2cf8ce1775656107" 33 | integrity sha512-rgtz6flkVkh58od4PwTRqxbKH9cOjaXCMZgWD905JOzjFKW+7EiUObfd/Kav+A6Gyud6WZk9w+xu6QLytdi2OA== 34 | 35 | "@esbuild/freebsd-arm64@0.24.0": 36 | version "0.24.0" 37 | resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.0.tgz#bb76e5ea9e97fa3c753472f19421075d3a33e8a7" 38 | integrity sha512-6Mtdq5nHggwfDNLAHkPlyLBpE5L6hwsuXZX8XNmHno9JuL2+bg2BX5tRkwjyfn6sKbxZTq68suOjgWqCicvPXA== 39 | 40 | "@esbuild/freebsd-x64@0.24.0": 41 | version "0.24.0" 42 | resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.24.0.tgz#e0e2ce9249fdf6ee29e5dc3d420c7007fa579b93" 43 | integrity sha512-D3H+xh3/zphoX8ck4S2RxKR6gHlHDXXzOf6f/9dbFt/NRBDIE33+cVa49Kil4WUjxMGW0ZIYBYtaGCa2+OsQwQ== 44 | 45 | "@esbuild/linux-arm64@0.24.0": 46 | version "0.24.0" 47 | resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.24.0.tgz#d1b2aa58085f73ecf45533c07c82d81235388e75" 48 | integrity sha512-TDijPXTOeE3eaMkRYpcy3LarIg13dS9wWHRdwYRnzlwlA370rNdZqbcp0WTyyV/k2zSxfko52+C7jU5F9Tfj1g== 49 | 50 | "@esbuild/linux-arm@0.24.0": 51 | version "0.24.0" 52 | resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.24.0.tgz#8e4915df8ea3e12b690a057e77a47b1d5935ef6d" 53 | integrity sha512-gJKIi2IjRo5G6Glxb8d3DzYXlxdEj2NlkixPsqePSZMhLudqPhtZ4BUrpIuTjJYXxvF9njql+vRjB2oaC9XpBw== 54 | 55 | "@esbuild/linux-ia32@0.24.0": 56 | version "0.24.0" 57 | resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.24.0.tgz#8200b1110666c39ab316572324b7af63d82013fb" 58 | integrity sha512-K40ip1LAcA0byL05TbCQ4yJ4swvnbzHscRmUilrmP9Am7//0UjPreh4lpYzvThT2Quw66MhjG//20mrufm40mA== 59 | 60 | "@esbuild/linux-loong64@0.24.0": 61 | version "0.24.0" 62 | resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.24.0.tgz#6ff0c99cf647504df321d0640f0d32e557da745c" 63 | integrity sha512-0mswrYP/9ai+CU0BzBfPMZ8RVm3RGAN/lmOMgW4aFUSOQBjA31UP8Mr6DDhWSuMwj7jaWOT0p0WoZ6jeHhrD7g== 64 | 65 | "@esbuild/linux-mips64el@0.24.0": 66 | version "0.24.0" 67 | resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.24.0.tgz#3f720ccd4d59bfeb4c2ce276a46b77ad380fa1f3" 68 | integrity sha512-hIKvXm0/3w/5+RDtCJeXqMZGkI2s4oMUGj3/jM0QzhgIASWrGO5/RlzAzm5nNh/awHE0A19h/CvHQe6FaBNrRA== 69 | 70 | "@esbuild/linux-ppc64@0.24.0": 71 | version "0.24.0" 72 | resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.24.0.tgz#9d6b188b15c25afd2e213474bf5f31e42e3aa09e" 73 | integrity sha512-HcZh5BNq0aC52UoocJxaKORfFODWXZxtBaaZNuN3PUX3MoDsChsZqopzi5UupRhPHSEHotoiptqikjN/B77mYQ== 74 | 75 | "@esbuild/linux-riscv64@0.24.0": 76 | version "0.24.0" 77 | resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.24.0.tgz#f989fdc9752dfda286c9cd87c46248e4dfecbc25" 78 | integrity sha512-bEh7dMn/h3QxeR2KTy1DUszQjUrIHPZKyO6aN1X4BCnhfYhuQqedHaa5MxSQA/06j3GpiIlFGSsy1c7Gf9padw== 79 | 80 | "@esbuild/linux-s390x@0.24.0": 81 | version "0.24.0" 82 | resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.24.0.tgz#29ebf87e4132ea659c1489fce63cd8509d1c7319" 83 | integrity sha512-ZcQ6+qRkw1UcZGPyrCiHHkmBaj9SiCD8Oqd556HldP+QlpUIe2Wgn3ehQGVoPOvZvtHm8HPx+bH20c9pvbkX3g== 84 | 85 | "@esbuild/linux-x64@0.24.0": 86 | version "0.24.0" 87 | resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.24.0.tgz#4af48c5c0479569b1f359ffbce22d15f261c0cef" 88 | integrity sha512-vbutsFqQ+foy3wSSbmjBXXIJ6PL3scghJoM8zCL142cGaZKAdCZHyf+Bpu/MmX9zT9Q0zFBVKb36Ma5Fzfa8xA== 89 | 90 | "@esbuild/netbsd-x64@0.24.0": 91 | version "0.24.0" 92 | resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.24.0.tgz#1ae73d23cc044a0ebd4f198334416fb26c31366c" 93 | integrity sha512-hjQ0R/ulkO8fCYFsG0FZoH+pWgTTDreqpqY7UnQntnaKv95uP5iW3+dChxnx7C3trQQU40S+OgWhUVwCjVFLvg== 94 | 95 | "@esbuild/openbsd-arm64@0.24.0": 96 | version "0.24.0" 97 | resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.0.tgz#5d904a4f5158c89859fd902c427f96d6a9e632e2" 98 | integrity sha512-MD9uzzkPQbYehwcN583yx3Tu5M8EIoTD+tUgKF982WYL9Pf5rKy9ltgD0eUgs8pvKnmizxjXZyLt0z6DC3rRXg== 99 | 100 | "@esbuild/openbsd-x64@0.24.0": 101 | version "0.24.0" 102 | resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.24.0.tgz#4c8aa88c49187c601bae2971e71c6dc5e0ad1cdf" 103 | integrity sha512-4ir0aY1NGUhIC1hdoCzr1+5b43mw99uNwVzhIq1OY3QcEwPDO3B7WNXBzaKY5Nsf1+N11i1eOfFcq+D/gOS15Q== 104 | 105 | "@esbuild/sunos-x64@0.24.0": 106 | version "0.24.0" 107 | resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.24.0.tgz#8ddc35a0ea38575fa44eda30a5ee01ae2fa54dd4" 108 | integrity sha512-jVzdzsbM5xrotH+W5f1s+JtUy1UWgjU0Cf4wMvffTB8m6wP5/kx0KiaLHlbJO+dMgtxKV8RQ/JvtlFcdZ1zCPA== 109 | 110 | "@esbuild/win32-arm64@0.24.0": 111 | version "0.24.0" 112 | resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.24.0.tgz#6e79c8543f282c4539db684a207ae0e174a9007b" 113 | integrity sha512-iKc8GAslzRpBytO2/aN3d2yb2z8XTVfNV0PjGlCxKo5SgWmNXx82I/Q3aG1tFfS+A2igVCY97TJ8tnYwpUWLCA== 114 | 115 | "@esbuild/win32-ia32@0.24.0": 116 | version "0.24.0" 117 | resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.24.0.tgz#057af345da256b7192d18b676a02e95d0fa39103" 118 | integrity sha512-vQW36KZolfIudCcTnaTpmLQ24Ha1RjygBo39/aLkM2kmjkWmZGEJ5Gn9l5/7tzXA42QGIoWbICfg6KLLkIw6yw== 119 | 120 | "@esbuild/win32-x64@0.24.0": 121 | version "0.24.0" 122 | resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.24.0.tgz#168ab1c7e1c318b922637fad8f339d48b01e1244" 123 | integrity sha512-7IAFPrjSQIJrGsK6flwg7NFmwBoSTyF3rl7If0hNUFQU4ilTsEPL6GuMuU9BfIWVVGuRnuIidkSMC+c0Otu8IA== 124 | 125 | "@rollup/rollup-android-arm-eabi@4.28.0": 126 | version "4.28.0" 127 | resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.28.0.tgz#462e7ecdd60968bc9eb95a20d185e74f8243ec1b" 128 | integrity sha512-wLJuPLT6grGZsy34g4N1yRfYeouklTgPhH1gWXCYspenKYD0s3cR99ZevOGw5BexMNywkbV3UkjADisozBmpPQ== 129 | 130 | "@rollup/rollup-android-arm64@4.28.0": 131 | version "4.28.0" 132 | resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.28.0.tgz#78a2b8a8a55f71a295eb860a654ae90a2b168f40" 133 | integrity sha512-eiNkznlo0dLmVG/6wf+Ifi/v78G4d4QxRhuUl+s8EWZpDewgk7PX3ZyECUXU0Zq/Ca+8nU8cQpNC4Xgn2gFNDA== 134 | 135 | "@rollup/rollup-darwin-arm64@4.28.0": 136 | version "4.28.0" 137 | resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.28.0.tgz#5b783af714f434f1e66e3cdfa3817e0b99216d84" 138 | integrity sha512-lmKx9yHsppblnLQZOGxdO66gT77bvdBtr/0P+TPOseowE7D9AJoBw8ZDULRasXRWf1Z86/gcOdpBrV6VDUY36Q== 139 | 140 | "@rollup/rollup-darwin-x64@4.28.0": 141 | version "4.28.0" 142 | resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.28.0.tgz#f72484e842521a5261978034e18e20f778a2850d" 143 | integrity sha512-8hxgfReVs7k9Js1uAIhS6zq3I+wKQETInnWQtgzt8JfGx51R1N6DRVy3F4o0lQwumbErRz52YqwjfvuwRxGv1w== 144 | 145 | "@rollup/rollup-freebsd-arm64@4.28.0": 146 | version "4.28.0" 147 | resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.28.0.tgz#3c919dff72b2fe344811a609c674a8347b033f62" 148 | integrity sha512-lA1zZB3bFx5oxu9fYud4+g1mt+lYXCoch0M0V/xhqLoGatbzVse0wlSQ1UYOWKpuSu3gyN4qEc0Dxf/DII1bhQ== 149 | 150 | "@rollup/rollup-freebsd-x64@4.28.0": 151 | version "4.28.0" 152 | resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.28.0.tgz#b62a3a8365b363b3fdfa6da11a9188b6ab4dca7c" 153 | integrity sha512-aI2plavbUDjCQB/sRbeUZWX9qp12GfYkYSJOrdYTL/C5D53bsE2/nBPuoiJKoWp5SN78v2Vr8ZPnB+/VbQ2pFA== 154 | 155 | "@rollup/rollup-linux-arm-gnueabihf@4.28.0": 156 | version "4.28.0" 157 | resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.28.0.tgz#0d02cc55bd229bd8ca5c54f65f916ba5e0591c94" 158 | integrity sha512-WXveUPKtfqtaNvpf0iOb0M6xC64GzUX/OowbqfiCSXTdi/jLlOmH0Ba94/OkiY2yTGTwteo4/dsHRfh5bDCZ+w== 159 | 160 | "@rollup/rollup-linux-arm-musleabihf@4.28.0": 161 | version "4.28.0" 162 | resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.28.0.tgz#c51d379263201e88a60e92bd8e90878f0c044425" 163 | integrity sha512-yLc3O2NtOQR67lI79zsSc7lk31xjwcaocvdD1twL64PK1yNaIqCeWI9L5B4MFPAVGEVjH5k1oWSGuYX1Wutxpg== 164 | 165 | "@rollup/rollup-linux-arm64-gnu@4.28.0": 166 | version "4.28.0" 167 | resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.28.0.tgz#93ce2addc337b5cfa52b84f8e730d2e36eb4339b" 168 | integrity sha512-+P9G9hjEpHucHRXqesY+3X9hD2wh0iNnJXX/QhS/J5vTdG6VhNYMxJ2rJkQOxRUd17u5mbMLHM7yWGZdAASfcg== 169 | 170 | "@rollup/rollup-linux-arm64-musl@4.28.0": 171 | version "4.28.0" 172 | resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.28.0.tgz#730af6ddc091a5ba5baac28a3510691725dc808b" 173 | integrity sha512-1xsm2rCKSTpKzi5/ypT5wfc+4bOGa/9yI/eaOLW0oMs7qpC542APWhl4A37AENGZ6St6GBMWhCCMM6tXgTIplw== 174 | 175 | "@rollup/rollup-linux-powerpc64le-gnu@4.28.0": 176 | version "4.28.0" 177 | resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.28.0.tgz#b5565aac20b4de60ca1e557f525e76478b5436af" 178 | integrity sha512-zgWxMq8neVQeXL+ouSf6S7DoNeo6EPgi1eeqHXVKQxqPy1B2NvTbaOUWPn/7CfMKL7xvhV0/+fq/Z/J69g1WAQ== 179 | 180 | "@rollup/rollup-linux-riscv64-gnu@4.28.0": 181 | version "4.28.0" 182 | resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.28.0.tgz#d488290bf9338bad4ae9409c4aa8a1728835a20b" 183 | integrity sha512-VEdVYacLniRxbRJLNtzwGt5vwS0ycYshofI7cWAfj7Vg5asqj+pt+Q6x4n+AONSZW/kVm+5nklde0qs2EUwU2g== 184 | 185 | "@rollup/rollup-linux-s390x-gnu@4.28.0": 186 | version "4.28.0" 187 | resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.28.0.tgz#eb2e3f3a06acf448115045c11a5a96868c95a556" 188 | integrity sha512-LQlP5t2hcDJh8HV8RELD9/xlYtEzJkm/aWGsauvdO2ulfl3QYRjqrKW+mGAIWP5kdNCBheqqqYIGElSRCaXfpw== 189 | 190 | "@rollup/rollup-linux-x64-gnu@4.28.0": 191 | version "4.28.0" 192 | resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.28.0.tgz#065952ef2aea7e837dc7e02aa500feeaff4fc507" 193 | integrity sha512-Nl4KIzteVEKE9BdAvYoTkW19pa7LR/RBrT6F1dJCV/3pbjwDcaOq+edkP0LXuJ9kflW/xOK414X78r+K84+msw== 194 | 195 | "@rollup/rollup-linux-x64-musl@4.28.0": 196 | version "4.28.0" 197 | resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.28.0.tgz#3435d484d05f5c4d1ffd54541b4facce2887103a" 198 | integrity sha512-eKpJr4vBDOi4goT75MvW+0dXcNUqisK4jvibY9vDdlgLx+yekxSm55StsHbxUsRxSTt3JEQvlr3cGDkzcSP8bw== 199 | 200 | "@rollup/rollup-win32-arm64-msvc@4.28.0": 201 | version "4.28.0" 202 | resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.28.0.tgz#69682a2a10d9fedc334f87583cfca83c39c08077" 203 | integrity sha512-Vi+WR62xWGsE/Oj+mD0FNAPY2MEox3cfyG0zLpotZdehPFXwz6lypkGs5y38Jd/NVSbOD02aVad6q6QYF7i8Bg== 204 | 205 | "@rollup/rollup-win32-ia32-msvc@4.28.0": 206 | version "4.28.0" 207 | resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.28.0.tgz#b64470f9ac79abb386829c56750b9a4711be3332" 208 | integrity sha512-kN/Vpip8emMLn/eOza+4JwqDZBL6MPNpkdaEsgUtW1NYN3DZvZqSQrbKzJcTL6hd8YNmFTn7XGWMwccOcJBL0A== 209 | 210 | "@rollup/rollup-win32-x64-msvc@4.28.0": 211 | version "4.28.0" 212 | resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.28.0.tgz#cb313feef9ac6e3737067fdf34f42804ac65a6f2" 213 | integrity sha512-Bvno2/aZT6usSa7lRDL2+hMjVAGjuqaymF1ApZm31JXzniR/hvr14jpU+/z4X6Gt5BPlzosscyJZGUvguXIqeQ== 214 | 215 | "@types/estree@1.0.6": 216 | version "1.0.6" 217 | resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50" 218 | integrity sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw== 219 | 220 | esbuild@^0.24.0: 221 | version "0.24.0" 222 | resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.24.0.tgz#f2d470596885fcb2e91c21eb3da3b3c89c0b55e7" 223 | integrity sha512-FuLPevChGDshgSicjisSooU0cemp/sGXR841D5LHMB7mTVOmsEHcAxaH3irL53+8YDIeVNQEySh4DaYU/iuPqQ== 224 | optionalDependencies: 225 | "@esbuild/aix-ppc64" "0.24.0" 226 | "@esbuild/android-arm" "0.24.0" 227 | "@esbuild/android-arm64" "0.24.0" 228 | "@esbuild/android-x64" "0.24.0" 229 | "@esbuild/darwin-arm64" "0.24.0" 230 | "@esbuild/darwin-x64" "0.24.0" 231 | "@esbuild/freebsd-arm64" "0.24.0" 232 | "@esbuild/freebsd-x64" "0.24.0" 233 | "@esbuild/linux-arm" "0.24.0" 234 | "@esbuild/linux-arm64" "0.24.0" 235 | "@esbuild/linux-ia32" "0.24.0" 236 | "@esbuild/linux-loong64" "0.24.0" 237 | "@esbuild/linux-mips64el" "0.24.0" 238 | "@esbuild/linux-ppc64" "0.24.0" 239 | "@esbuild/linux-riscv64" "0.24.0" 240 | "@esbuild/linux-s390x" "0.24.0" 241 | "@esbuild/linux-x64" "0.24.0" 242 | "@esbuild/netbsd-x64" "0.24.0" 243 | "@esbuild/openbsd-arm64" "0.24.0" 244 | "@esbuild/openbsd-x64" "0.24.0" 245 | "@esbuild/sunos-x64" "0.24.0" 246 | "@esbuild/win32-arm64" "0.24.0" 247 | "@esbuild/win32-ia32" "0.24.0" 248 | "@esbuild/win32-x64" "0.24.0" 249 | 250 | fsevents@~2.3.2, fsevents@~2.3.3: 251 | version "2.3.3" 252 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" 253 | integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== 254 | 255 | gsap@^3.12.5: 256 | version "3.12.5" 257 | resolved "https://registry.yarnpkg.com/gsap/-/gsap-3.12.5.tgz#136c02dad4c673b441bdb1ca00104bfcb4eae7f4" 258 | integrity sha512-srBfnk4n+Oe/ZnMIOXt3gT605BX9x5+rh/prT2F1SsNJsU1XuMiP0E2aptW481OnonOGACZWBqseH5Z7csHxhQ== 259 | 260 | nanoid@^3.3.7: 261 | version "3.3.7" 262 | resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8" 263 | integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g== 264 | 265 | picocolors@^1.1.1: 266 | version "1.1.1" 267 | resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" 268 | integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== 269 | 270 | postcss@^8.4.49: 271 | version "8.4.49" 272 | resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.49.tgz#4ea479048ab059ab3ae61d082190fabfd994fe19" 273 | integrity sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA== 274 | dependencies: 275 | nanoid "^3.3.7" 276 | picocolors "^1.1.1" 277 | source-map-js "^1.2.1" 278 | 279 | rollup@^4.23.0: 280 | version "4.28.0" 281 | resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.28.0.tgz#eb8d28ed43ef60a18f21d0734d230ee79dd0de77" 282 | integrity sha512-G9GOrmgWHBma4YfCcX8PjH0qhXSdH8B4HDE2o4/jaxj93S4DPCIDoLcXz99eWMji4hB29UFCEd7B2gwGJDR9cQ== 283 | dependencies: 284 | "@types/estree" "1.0.6" 285 | optionalDependencies: 286 | "@rollup/rollup-android-arm-eabi" "4.28.0" 287 | "@rollup/rollup-android-arm64" "4.28.0" 288 | "@rollup/rollup-darwin-arm64" "4.28.0" 289 | "@rollup/rollup-darwin-x64" "4.28.0" 290 | "@rollup/rollup-freebsd-arm64" "4.28.0" 291 | "@rollup/rollup-freebsd-x64" "4.28.0" 292 | "@rollup/rollup-linux-arm-gnueabihf" "4.28.0" 293 | "@rollup/rollup-linux-arm-musleabihf" "4.28.0" 294 | "@rollup/rollup-linux-arm64-gnu" "4.28.0" 295 | "@rollup/rollup-linux-arm64-musl" "4.28.0" 296 | "@rollup/rollup-linux-powerpc64le-gnu" "4.28.0" 297 | "@rollup/rollup-linux-riscv64-gnu" "4.28.0" 298 | "@rollup/rollup-linux-s390x-gnu" "4.28.0" 299 | "@rollup/rollup-linux-x64-gnu" "4.28.0" 300 | "@rollup/rollup-linux-x64-musl" "4.28.0" 301 | "@rollup/rollup-win32-arm64-msvc" "4.28.0" 302 | "@rollup/rollup-win32-ia32-msvc" "4.28.0" 303 | "@rollup/rollup-win32-x64-msvc" "4.28.0" 304 | fsevents "~2.3.2" 305 | 306 | source-map-js@^1.2.1: 307 | version "1.2.1" 308 | resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46" 309 | integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA== 310 | 311 | vite@^6.0.1: 312 | version "6.0.1" 313 | resolved "https://registry.yarnpkg.com/vite/-/vite-6.0.1.tgz#24c9caf24998f0598de37bed67e50ec5b9dfeaf0" 314 | integrity sha512-Ldn6gorLGr4mCdFnmeAOLweJxZ34HjKnDm4HGo6P66IEqTxQb36VEdFJQENKxWjupNfoIjvRUnswjn1hpYEpjQ== 315 | dependencies: 316 | esbuild "^0.24.0" 317 | postcss "^8.4.49" 318 | rollup "^4.23.0" 319 | optionalDependencies: 320 | fsevents "~2.3.3" 321 | --------------------------------------------------------------------------------