import{g as Lr,q as Br,t as it,D as tt,I as bt,H as Nr,P as Vr,B as Ur,C as Yr,A as Ti}from"./vendor-element-DTCXjjzf.js";import{_ as qr}from"./index-CWGis7N1.js";const Xr={},ee=u=>(Ur("data-v-fd8b9e6e"),u=u(),Yr(),u),Gr={class:"footer"},Wr={class:"footer-l"},$r=ee(()=>it("div",{class:"footer-info"},[Ti(" 公司地址：上海市徐汇区长乐路989号世纪商贸广场710室"),it("br"),Ti(" 联系电话：400-662-6623 ")],-1)),Hr=ee(()=>it("div",{class:"footer-ICP"},"沪ICP备18005877号",-1)),Kr={class:"footer-r"},Qr={class:"url"},Zr=ee(()=>it("div",null,"官方微博",-1)),jr={class:"url"},Jr=ee(()=>it("div",null,"微信公众号",-1)),tn={class:"url"},en=ee(()=>it("div",null,"小红书",-1)),rn={class:"url"},nn=ee(()=>it("div",null,"抖音",-1));function sn(u,t){const e=Nr,i=Vr;return Lr(),Br("footer",Gr,[it("div",Wr,[tt(e,{class:"brand-img",src:"https://cdn.icitybox.cn/citybox/wap/home/img_logo.png",alt:""}),$r,Hr]),it("div",Kr,[tt(i,{placement:"top",trigger:"hover"},{reference:bt(()=>[it("div",Qr,[tt(e,{class:"url-img",src:"https://cdn.icitybox.cn/citybox/webnet.png",fit:"contain",alt:""}),Zr])]),default:bt(()=>[tt(e,{src:"https://cdn.icitybox.cn/citybox/webnet-qr.png",fit:"contain",alt:""})]),_:1}),tt(i,{placement:"top",trigger:"hover"},{reference:bt(()=>[it("div",jr,[tt(e,{class:"url-img",src:"https://cdn.icitybox.cn/citybox/wechat.png",fit:"contain",alt:""}),Jr])]),default:bt(()=>[tt(e,{src:"https://cdn.icitybox.cn/citybox/wechat-qr.png",fit:"contain",alt:""})]),_:1}),tt(i,{placement:"top",trigger:"hover"},{reference:bt(()=>[it("div",tn,[tt(e,{class:"url-img",src:"https://cdn.icitybox.cn/citybox/redbook.png",fit:"contain",alt:""}),en])]),default:bt(()=>[tt(e,{src:"https://cdn.icitybox.cn/citybox/redbook-qr.png",fit:"contain",alt:""})]),_:1}),tt(i,{placement:"top",trigger:"hover"},{reference:bt(()=>[it("div",rn,[tt(e,{class:"url-img",src:"https://cdn.icitybox.cn/citybox/tiktok.png",fit:"contain",alt:""}),nn])]),default:bt(()=>[tt(e,{src:"https://cdn.icitybox.cn/citybox/tiktok-qr.png",fit:"contain",alt:""})]),_:1})])])}const ws=qr(Xr,[["render",sn],["__scopeId","data-v-fd8b9e6e"]]);function yt(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function Bi(u,t){u.prototype=Object.create(t.prototype),u.prototype.constructor=u,u.__proto__=t}/*!
 * GSAP 3.12.5
 * https://gsap.com
 *
 * @license Copyright 2008-2024, GreenSock. All rights reserved.
 * Subject to the terms at https://gsap.com/standard-license or for
 * Club GSAP members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/var st={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Qt={duration:.5,overwrite:!1,delay:0},ri,W,E,ut=1e8,A=1/ut,Ye=Math.PI*2,an=Ye/4,on=0,Ni=Math.sqrt,un=Math.cos,fn=Math.sin,q=function(t){return typeof t=="string"},I=function(t){return typeof t=="function"},vt=function(t){return typeof t=="number"},ni=function(t){return typeof t>"u"},mt=function(t){return typeof t=="object"},K=function(t){return t!==!1},si=function(){return typeof window<"u"},xe=function(t){return I(t)||q(t)},Vi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},$=Array.isArray,qe=/(?:-?\.?\d|\.)+/gi,Ui=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Gt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ee=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Yi=/[+-]=-?[.\d]+/,qi=/[^,'"\[\]\s]+/gi,_n=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,z,lt,Xe,ai,at={},we={},Xi,Gi=function(t){return(we=Ut(t,at))&&J},oi=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},_e=function(t,e){return!e&&console.warn(t)},Wi=function(t,e){return t&&(at[t]=e)&&we&&(we[t]=e)||at},he=function(){return 0},hn={suppressEvents:!0,isStart:!0,kill:!1},ve={suppressEvents:!0,kill:!1},ln={suppressEvents:!0},ui={},Ot=[],Ge={},$i,et={},ze={},bi=30,Te=[],fi="",_i=function(t){var e=t[0],i,r;if(mt(e)||I(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(r=Te.length;r--&&!Te[r].targetTest(e););i=Te[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new gr(t[r],i)))||t.splice(r,1);return t},Lt=function(t){return t._gsap||_i(ft(t))[0]._gsap},Hi=function(t,e,i){return(i=t[e])&&I(i)?t[e]():ni(i)&&t.getAttribute&&t.getAttribute(e)||i},Q=function(t,e){return(t=t.split(",")).forEach(e)||t},L=function(t){return Math.round(t*1e5)/1e5||0},Y=function(t){return Math.round(t*1e7)/1e7||0},$t=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},cn=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++r<i;);return r<i},Pe=function(){var t=Ot.length,e=Ot.slice(0),i,r;for(Ge={},Ot.length=0,i=0;i<t;i++)r=e[i],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},Ki=function(t,e,i,r){Ot.length&&!W&&Pe(),t.render(e,i,W&&e<0&&(t._initted||t._startAt)),Ot.length&&!W&&Pe()},Qi=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(qi).length<2?e:q(t)?t.trim():t},Zi=function(t){return t},_t=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},dn=function(t){return function(e,i){for(var r in i)r in e||r==="duration"&&t||r==="ease"||(e[r]=i[r])}},Ut=function(t,e){for(var i in e)t[i]=e[i];return t},wi=function u(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=mt(e[i])?u(t[i]||(t[i]={}),e[i]):e[i]);return t},Se=function(t,e){var i={},r;for(r in t)r in e||(i[r]=t[r]);return i},oe=function(t){var e=t.parent||z,i=t.keyframes?dn($(t.keyframes)):_t;if(K(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},pn=function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0},ji=function(t,e,i,r,n){var s=t[r],a;if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t,e},De=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},Ct=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Bt=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},mn=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},We=function(t,e,i,r){return t._startAt&&(W?t._startAt.revert(ve):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},gn=function u(t){return!t||t._ts&&u(t.parent)},Pi=function(t){return t._repeat?Zt(t._tTime,t=t.duration()+t._rDelay)*t:0},Zt=function(t,e){var i=Math.floor(t/=e);return t&&i===t?i-1:i},Oe=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Ae=function(t){return t._end=Y(t._start+(t._tDur/Math.abs(t._ts||t._rts||A)||0))},Re=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=Y(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ae(t),i._dirty||Bt(i,t)),t},Ji=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=Oe(t.rawTime(),e),(!e._dur||ge(0,e.totalDuration(),i)-e._tTime>A)&&e.render(i,!0)),Bt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-A}},ct=function(t,e,i,r){return e.parent&&Ct(e),e._start=Y((vt(i)?i:i||t!==z?ot(t,i,e):t._time)+e._delay),e._end=Y(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),ji(t,e,"_first","_last",t._sort?"_start":0),$e(e)||(t._recent=e),r||Ji(t,e),t._ts<0&&Re(t,t._tTime),t},tr=function(t,e){return(at.ScrollTrigger||oi("scrollTrigger",e))&&at.ScrollTrigger.create(e,t)},er=function(t,e,i,r,n){if(li(t,e,n),!t._initted)return 1;if(!i&&t._pt&&!W&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&$i!==rt.frame)return Ot.push(t),t._lazy=[n,r],1},yn=function u(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||u(e))},$e=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},xn=function(t,e,i,r){var n=t.ratio,s=e<0||!e&&(!t._start&&yn(t)&&!(!t._initted&&$e(t))||(t._ts<0||t._dp._ts<0)&&!$e(t))?0:1,a=t._rDelay,o=0,f,_,l;if(a&&t._repeat&&(o=ge(0,t._tDur,e),_=Zt(o,a),t._yoyo&&_&1&&(s=1-s),_!==Zt(t._tTime,a)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||W||r||t._zTime===A||!e&&t._zTime){if(!t._initted&&er(t,e,r,i,o))return;for(l=t._zTime,t._zTime=e||(i?A:0),i||(i=e&&!l),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=o,f=t._pt;f;)f.r(s,f.d),f=f._next;e<0&&We(t,e,i,!0),t._onUpdate&&!i&&nt(t,"onUpdate"),o&&t._repeat&&!i&&t.parent&&nt(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&Ct(t,1),!i&&!W&&(nt(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},vn=function(t,e,i){var r;if(i>e)for(r=t._first;r&&r._start<=i;){if(r.data==="isPause"&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=i;){if(r.data==="isPause"&&r._start<e)return r;r=r._prev}},jt=function(t,e,i,r){var n=t._repeat,s=Y(e)||0,a=t._tTime/t._tDur;return a&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:Y(s*(n+1)+t._rDelay*n):s,a>0&&!r&&Re(t,t._tTime=t._tDur*a),t.parent&&Ae(t),i||Bt(t.parent,t),t},Si=function(t){return t instanceof H?Bt(t):jt(t,t._dur)},Tn={_start:0,endTime:he,totalDuration:he},ot=function u(t,e,i){var r=t.labels,n=t._recent||Tn,s=t.duration()>=ut?n.endTime(!1):t._dur,a,o,f;return q(e)&&(isNaN(e)||e in r)?(o=e.charAt(0),f=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)*(f?(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)),f&&i&&(o=o/100*($(i)?i[0]:i).totalDuration()),a>1?u(t,e.substr(0,a-1),i)+o:s+o)):e==null?s:+e},ue=function(t,e,i){var r=vt(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 N(e[0],s,e[n+1])},Dt=function(t,e){return t||t===0?e(t):e},ge=function(t,e,i){return i<t?t:i>e?e:i},G=function(t,e){return!q(t)||!(e=_n.exec(t))?"":e[1]},bn=function(t,e,i){return Dt(i,function(r){return ge(t,e,r)})},He=[].slice,ir=function(t,e){return t&&mt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&mt(t[0]))&&!t.nodeType&&t!==lt},wn=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(r){var n;return q(r)&&!e||ir(r,1)?(n=i).push.apply(n,ft(r)):i.push(r)})||i},ft=function(t,e,i){return E&&!e&&E.selector?E.selector(t):q(t)&&!i&&(Xe||!Jt())?He.call((e||ai).querySelectorAll(t),0):$(t)?wn(t,i):ir(t)?He.call(t,0):t?[t]:[]},Ke=function(t){return t=ft(t)[0]||_e("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return ft(e,i.querySelectorAll?i:i===t?_e("Invalid scope")||ai.createElement("div"):t)}},rr=function(t){return t.sort(function(){return .5-Math.random()})},nr=function(t){if(I(t))return t;var e=mt(t)?t:{each:t},i=Nt(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},a=r>0&&r<1,o=isNaN(r)||a,f=e.axis,_=r,l=r;return q(r)?_=l={center:.5,edges:.5,end:1}[r]||0:!a&&o&&(_=r[0],l=r[1]),function(c,d,p){var h=(p||e).length,m=s[h],y,x,v,T,g,w,P,S,b;if(!m){if(b=e.grid==="auto"?0:(e.grid||[1,ut])[1],!b){for(P=-ut;P<(P=p[b++].getBoundingClientRect().left)&&b<h;);b<h&&b--}for(m=s[h]=[],y=o?Math.min(b,h)*_-.5:r%b,x=b===ut?0:o?h*l/b-.5:r/b|0,P=0,S=ut,w=0;w<h;w++)v=w%b-y,T=x-(w/b|0),m[w]=g=f?Math.abs(f==="y"?T:v):Ni(v*v+T*T),g>P&&(P=g),g<S&&(S=g);r==="random"&&rr(m),m.max=P-S,m.min=S,m.v=h=(parseFloat(e.amount)||parseFloat(e.each)*(b>h?h-1:f?f==="y"?h/b:b:Math.max(b,h/b))||0)*(r==="edges"?-1:1),m.b=h<0?n-h:n,m.u=G(e.amount||e.each)||0,i=i&&h<0?dr(i):i}return h=(m[c]-m.min)/m.max||0,Y(m.b+(i?i(h):h)*m.v)+m.u}},Qe=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=Y(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(vt(i)?0:G(i))}},sr=function(t,e){var i=$(t),r,n;return!i&&mt(t)&&(r=i=t.radius||ut,t.values?(t=ft(t.values),(n=!vt(t[0]))&&(r*=r)):t=Qe(t.increment)),Dt(e,i?I(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),f=ut,_=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),c<f&&(f=c,_=l);return _=!r||f<=r?t[_]:s,n||_===s||vt(s)?_:_+G(s)}:Qe(t))},ar=function(t,e,i,r){return Dt($(t)?!e:i===!0?!!(i=0):!r,function(){return $(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(r=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+i*.99))/i)*i*r)/r})},Pn=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(r){return e.reduce(function(n,s){return s(n)},r)}},Sn=function(t,e){return function(i){return t(parseFloat(i))+(e||G(i))}},On=function(t,e,i){return ur(t,e,0,1,i)},or=function(t,e,i){return Dt(i,function(r){return t[~~e(r)]})},kn=function u(t,e,i){var r=e-t;return $(t)?or(t,u(0,t.length),e):Dt(i,function(n){return(r+(n-t)%r)%r+t})},Cn=function u(t,e,i){var r=e-t,n=r*2;return $(t)?or(t,u(0,t.length-1),e):Dt(i,function(s){return s=(n+(s-t)%n)%n||0,t+(s>r?n-s:s)})},le=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?qi:qe),i+=t.substr(e,r-e)+ar(a?n:+n[0],a?0:+n[1],+n[2]||1e-5),e=s+1;return i+t.substr(e,t.length-e)},ur=function(t,e,i,r,n){var s=e-t,a=r-i;return Dt(n,function(o){return i+((o-t)/s*a||0)})},Mn=function u(t,e,i,r){var n=isNaN(t+e)?0:function(d){return(1-d)*t+d*e};if(!n){var s=q(t),a={},o,f,_,l,c;if(i===!0&&(r=1)&&(i=null),s)t={p:t},e={p:e};else if($(t)&&!$(e)){for(_=[],l=t.length,c=l-2,f=1;f<l;f++)_.push(u(t[f-1],t[f]));l--,n=function(p){p*=l;var h=Math.min(c,~~p);return _[h](p-h)},i=e}else r||(t=Ut($(t)?[]:{},t));if(!_){for(o in e)hi.call(a,t,o,"get",e[o]);n=function(p){return pi(p,a)||(s?t.p:t)}}}return Dt(i,n)},Oi=function(t,e,i){var r=t.labels,n=ut,s,a,o;for(s in r)a=r[s]-e,a<0==!!i&&a&&n>(a=Math.abs(a))&&(o=s,n=a);return o},nt=function(t,e,i){var r=t.vars,n=r[e],s=E,a=t._ctx,o,f,_;if(n)return o=r[e+"Params"],f=r.callbackScope||t,i&&Ot.length&&Pe(),a&&(E=a),_=o?n.apply(f,o):n.call(f),E=s,_},se=function(t){return Ct(t),t.scrollTrigger&&t.scrollTrigger.kill(!!W),t.progress()<1&&nt(t,"onInterrupt"),t},Wt,fr=[],_r=function(t){if(t)if(t=!t.name&&t.default||t,si()||t.headless){var e=t.name,i=I(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:he,render:pi,add:hi,kill:Gn,modifier:Xn,rawVars:0},s={targetTest:0,get:0,getSetter:di,aliases:{},register:0};if(Jt(),t!==r){if(et[e])return;_t(r,_t(Se(t,n),s)),Ut(r.prototype,Ut(n,Se(t,s))),et[r.prop=e]=r,t.targetTest&&(Te.push(r),ui[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Wi(e,r),t.register&&t.register(J,r,Z)}else fr.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]},Fe=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},hr=function(t,e,i){var r=t?vt(t)?[t>>16,t>>8&C,t&C]:0:ae.black,n,s,a,o,f,_,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(qe),!e)o=+r[0]%360/360,f=+r[1]/100,_=+r[2]/100,s=_<=.5?_*(f+1):_+f-_*f,n=_*2-s,r.length>3&&(r[3]*=1),r[0]=Fe(o+1/3,n,s),r[1]=Fe(o,n,s),r[2]=Fe(o-1/3,n,s);else if(~t.indexOf("="))return r=t.match(Ui),i&&r.length<4&&(r[3]=1),r}else r=t.match(qe)||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),_=(l+c)/2,l===c?o=f=0:(d=l-c,f=_>.5?d/(2-l-c):d/(l+c),o=l===n?(s-a)/d+(s<a?6:0):l===s?(a-n)/d+2:(n-s)/d+4,o*=60),r[0]=~~(o+.5),r[1]=~~(f*100+.5),r[2]=~~(_*100+.5)),i&&r.length<4&&(r[3]=1),r},lr=function(t){var e=[],i=[],r=-1;return t.split(kt).forEach(function(n){var s=n.match(Gt)||[];e.push.apply(e,s),i.push(r+=s.length+1)}),e.c=i,e},ki=function(t,e,i){var r="",n=(t+r).match(kt),s=e?"hsla(":"rgba(",a=0,o,f,_,l;if(!n)return t;if(n=n.map(function(c){return(c=hr(c,e,1))&&s+(e?c[0]+","+c[1]+"%,"+c[2]+"%,"+c[3]:c.join(","))+")"}),i&&(_=lr(t),o=i.c,o.join(r)!==_.c.join(r)))for(f=t.replace(kt,"1").split(Gt),l=f.length-1;a<l;a++)r+=f[a]+(~o.indexOf(a)?n.shift()||s+"0,0,0,0)":(_.length?_:n.length?n:i).shift());if(!f)for(f=t.split(kt),l=f.length-1;a<l;a++)r+=f[a]+n[a];return r+f[l]},kt=function(){var u="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in ae)u+="|"+t+"\\b";return new RegExp(u+")","gi")}(),Dn=/hsl[a]?\(/,cr=function(t){var e=t.join(" "),i;if(kt.lastIndex=0,kt.test(e))return i=Dn.test(e),t[1]=ki(t[1],i),t[0]=ki(t[0],i,lr(t[1])),!0},ce,rt=function(){var u=Date.now,t=500,e=33,i=u(),r=i,n=1e3/240,s=n,a=[],o,f,_,l,c,d,p=function h(m){var y=u()-r,x=m===!0,v,T,g,w;if((y>t||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=f(h)),T)for(d=0;d<a.length;d++)a[d](g,c,w,m)};return l={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(m){return c/(1e3/(m||60))},wake:function(){Xi&&(!Xe&&si()&&(lt=Xe=window,ai=lt.document||{},at.gsap=J,(lt.gsapVersions||(lt.gsapVersions=[])).push(J.version),Gi(we||lt.GreenSockGlobals||!lt.gsap&&lt||{}),fr.forEach(_r)),_=typeof requestAnimationFrame<"u"&&requestAnimationFrame,o&&l.sleep(),f=_||function(m){return setTimeout(m,s-l.time*1e3+1|0)},ce=1,p(2))},sleep:function(){(_?cancelAnimationFrame:clearTimeout)(o),ce=0,f=he},lagSmoothing:function(m,y){t=m||1/0,e=Math.min(y||33,t)},fps:function(m){n=1e3/(m||240),s=l.time*1e3+n},add:function(m,y,x){var v=y?function(T,g,w,P){m(T,g,w,P),l.remove(v)}:m;return l.remove(m),a[x?"unshift":"push"](v),Jt(),v},remove:function(m,y){~(y=a.indexOf(m))&&a.splice(y,1)&&d>=y&&d--},_listeners:a},l}(),Jt=function(){return!ce&&rt.wake()},O={},An=/^[\d.\-M][\d.\-,\s]/,Rn=/["']/g,En=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),r=i[0],n=1,s=i.length,a,o,f;n<s;n++)o=i[n],a=n!==s-1?o.lastIndexOf(","):o.length,f=o.substr(0,a),e[r]=isNaN(f)?f.replace(Rn,"").trim():+f,r=o.substr(a+1).trim();return e},zn=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<i?t.indexOf(")",i+1):i)},Fn=function(t){var e=(t+"").split("("),i=O[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[En(e[1])]:zn(t).split(",").map(Qi)):O._CE&&An.test(t)?O._CE("",t):i},dr=function(t){return function(e){return 1-t(1-e)}},pr=function u(t,e){for(var i=t._first,r;i;)i instanceof H?u(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?u(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next},Nt=function(t,e){return t&&(I(t)?t:O[t]||Fn(t))||e},qt=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]=at[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},mr=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},Ie=function u(t,e,i){var r=e>=1?e:1,n=(i||(t?.3:.45))/(e<1?e:1),s=n/Ye*(Math.asin(1/r)||0),a=function(_){return _===1?1:r*Math.pow(2,-10*_)*fn((_-s)*n)+1},o=t==="out"?a:t==="in"?function(f){return 1-a(1-f)}:mr(a);return n=Ye/n,o.config=function(f,_){return u(t,f,_)},o},Le=function u(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)}:mr(i);return r.config=function(n){return u(t,n)},r};Q("Linear,Quad,Cubic,Quart,Quint,Strong",function(u,t){var e=t<5?t+1:t;qt(u+",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;qt("Elastic",Ie("in"),Ie("out"),Ie());(function(u,t){var e=1/t,i=2*e,r=2.5*e,n=function(a){return a<e?u*a*a:a<i?u*Math.pow(a-1.5/t,2)+.75:a<r?u*(a-=2.25/t)*a+.9375:u*Math.pow(a-2.625/t,2)+.984375};qt("Bounce",function(s){return 1-n(1-s)},n)})(7.5625,2.75);qt("Expo",function(u){return u?Math.pow(2,10*(u-1)):0});qt("Circ",function(u){return-(Ni(1-u*u)-1)});qt("Sine",function(u){return u===1?1:-un(u*an)+1});qt("Back",Le("in"),Le("out"),Le());O.SteppedEase=O.steps=at.SteppedEase={config:function(t,e){t===void 0&&(t=1);var i=1/t,r=t+(e?0:1),n=e?1:0,s=1-A;return function(a){return((r*ge(0,s,a)|0)+n)*i}}};Qt.ease=O["quad.out"];Q("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(u){return fi+=u+","+u+"Params,"});var gr=function(t,e){this.id=on++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Hi,this.set=e?e.getSetter:di},de=function(){function u(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,jt(this,+e.duration,1,1),this.data=e.data,E&&(this._ctx=E,E.data.push(this)),ce||rt.wake()}var t=u.prototype;return t.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},t.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,jt(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,r){if(Jt(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Re(this,i),!n._dp||n.parent||Ji(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&ct(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===A||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Ki(this,i,r)),this},t.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+Pi(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)+Pi(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?Zt(this._tTime,n)+1:1},t.timeScale=function(i,r){if(!arguments.length)return this._rts===-A?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?Oe(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-A?0:this._rts,this.totalTime(ge(-Math.abs(this._delay),this._tDur,n),r!==!1),Ae(this),mn(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):(Jt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==A&&(this._tTime-=A)))),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)&&ct(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?Oe(r.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=ln);var r=W;return W=i,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),W=r,this},t.globalTime=function(i){for(var r=this,n=arguments.length?i:r.rawTime();r;)n=r._start+n/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(i):n},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,Si(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,Si(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?-A:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-A,this},t.isActive=function(){var i=this.parent||this._dp,r=this._start,n;return!!(!i||this._ts&&this._initted&&i.isActive()&&(n=i.rawTime(!0))>=r&&n<this.endTime(!0)-A)},t.eventCallback=function(i,r,n){var s=this.vars;return arguments.length>1?(r?(s[i]=r,n&&(s[i+"Params"]=n),i==="onUpdate"&&(this._onUpdate=r)):delete s[i],this):s[i]},t.then=function(i){var r=this;return new Promise(function(n){var s=I(i)?i:Zi,a=function(){var f=r.then;r.then=null,I(s)&&(s=s(r))&&(s.then||s===r)&&(r.then=f),n(s),r.then=f};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?a():r._prom=a})},t.kill=function(){se(this)},u}();_t(de.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:-A,_prom:0,_ps:!1,_rts:1});var H=function(u){Bi(t,u);function t(i,r){var n;return i===void 0&&(i={}),n=u.call(this,i)||this,n.labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=K(i.sortChildren),z&&ct(i.parent||z,yt(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&tr(yt(n),i.scrollTrigger),n}var e=t.prototype;return e.to=function(r,n,s){return ue(0,arguments,this),this},e.from=function(r,n,s){return ue(1,arguments,this),this},e.fromTo=function(r,n,s,a){return ue(2,arguments,this),this},e.set=function(r,n,s){return n.duration=0,n.parent=this,oe(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new N(r,n,ot(this,s),1),this},e.call=function(r,n,s){return ct(this,N.delayedCall(0,r,n),s)},e.staggerTo=function(r,n,s,a,o,f,_){return s.duration=n,s.stagger=s.stagger||a,s.onComplete=f,s.onCompleteParams=_,s.parent=this,new N(r,s,ot(this,o)),this},e.staggerFrom=function(r,n,s,a,o,f,_){return s.runBackwards=1,oe(s).immediateRender=K(s.immediateRender),this.staggerTo(r,n,s,a,o,f,_)},e.staggerFromTo=function(r,n,s,a,o,f,_,l){return a.startAt=s,oe(a).immediateRender=K(a.immediateRender),this.staggerTo(r,n,a,o,f,_,l)},e.render=function(r,n,s){var a=this._time,o=this._dirty?this.totalDuration():this._tDur,f=this._dur,_=r<=0?0:Y(r),l=this._zTime<0!=r<0&&(this._initted||!f),c,d,p,h,m,y,x,v,T,g,w,P;if(this!==z&&_>o&&r>=0&&(_=o),_!==this._tTime||s||l){if(a!==this._time&&f&&(_+=this._time-a,r+=this._time-a),c=_,T=this._start,v=this._ts,y=!v,l&&(f||(a=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(w=this._yoyo,m=f+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(m*100+r,n,s);if(c=Y(_%m),_===o?(h=this._repeat,c=f):(h=~~(_/m),h&&h===_/m&&(c=f,h--),c>f&&(c=f)),g=Zt(this._tTime,m),!a&&this._tTime&&g!==h&&this._tTime-g*m-this._dur<=0&&(g=h),w&&h&1&&(c=f-c,P=1),h!==g&&!this._lock){var S=w&&g&1,b=S===(w&&h&1);if(h<g&&(S=!S),a=S?0:_%f?f:_,this._lock=1,this.render(a||(P?0:Y(h*m)),n,!f)._lock=0,this._tTime=_,!n&&this.parent&&nt(this,"onRepeat"),this.vars.repeatRefresh&&!P&&(this.invalidate()._lock=1),a&&a!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(f=this._dur,o=this._tDur,b&&(this._lock=2,a=S?f:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!P&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;pr(this,P)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(x=vn(this,Y(a),Y(c)),x&&(_-=c-(c=x._start))),this._tTime=_,this._time=c,this._act=!v,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,a=0),!a&&c&&!n&&!h&&(nt(this,"onStart"),this._tTime!==_))return this;if(c>=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&&(_+=this._zTime=-A);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||W&&(d._initted||d._startAt)),c!==this._time||!this._ts&&!y){x=0,p&&(_+=this._zTime=k?-A:A);break}}d=p}}if(x&&!n&&(this.pause(),x.render(c>=a?0:-A)._zTime=c>=a?1:-1,this._ts))return this._start=T,Ae(this),this.render(r,n,s);this._onUpdate&&!n&&nt(this,"onUpdate",!0),(_===o&&this._tTime>=this.totalDuration()||!_&&a)&&(T===this._start||Math.abs(v)!==Math.abs(this._ts))&&(this._lock||((r||!f)&&(_===o&&this._ts>0||!_&&this._ts<0)&&Ct(this,1),!n&&!(r<0&&!a)&&(_||a||!o)&&(nt(this,_===o&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(_<o&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(r,n){var s=this;if(vt(n)||(n=ot(this,n,r)),!(r instanceof de)){if($(r))return r.forEach(function(a){return s.add(a,n)}),this;if(q(r))return this.addLabel(r,n);if(I(r))r=N.delayedCall(0,r);else return this}return this!==r?ct(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=-ut);for(var o=[],f=this._first;f;)f._start>=a&&(f instanceof N?n&&o.push(f):(s&&o.push(f),r&&o.push.apply(o,f.getChildren(!0,n,s)))),f=f._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 q(r)?this.removeLabel(r):I(r)?this.killTweensOf(r):(De(this,r),r===this._recent&&(this._recent=this._last),Bt(this))},e.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Y(rt.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),u.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=N.delayedCall(0,n||he,s);return a.data="isPause",this._hasPause=1,ct(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"&&Ct(n),n=n._next},e.killTweensOf=function(r,n,s){for(var a=this.getTweensOf(r,s),o=a.length;o--;)wt!==a[o]&&a[o].kill(r,n);return this},e.getTweensOf=function(r,n){for(var s=[],a=ft(r),o=this._first,f=vt(n),_;o;)o instanceof N?cn(o._targets,a)&&(f?(!wt||o._initted&&o._ts)&&o.globalTime(0)<=n&&o.globalTime(o.totalDuration())>n:!n||o.isActive())&&s.push(o):(_=o.getTweensOf(a,n)).length&&s.push.apply(s,_),o=o._next;return s},e.tweenTo=function(r,n){n=n||{};var s=this,a=ot(s,r),o=n,f=o.startAt,_=o.onStart,l=o.onStartParams,c=o.immediateRender,d,p=N.to(s,_t({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(f&&"time"in f?f.time:s._time))/s.timeScale())||A,onStart:function(){if(s.pause(),!d){var m=n.duration||Math.abs((a-(f&&"time"in f?f.time:s._time))/s.timeScale());p._dur!==m&&jt(p,m,0,1).render(p._time,!0,!0),d=1}_&&_.apply(p,l||[])}},n));return c?p.render(0):p},e.tweenFromTo=function(r,n,s){return this.tweenTo(n,_t({startAt:{time:ot(this,r)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),Oi(this,ot(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),Oi(this,ot(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+A)},e.shiftChildren=function(r,n,s){s===void 0&&(s=0);for(var a=this._first,o=this.labels,f;a;)a._start>=s&&(a._start+=r,a._end+=r),a=a._next;if(n)for(f in o)o[f]>=s&&(o[f]+=r);return Bt(this)},e.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return u.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={}),Bt(this)},e.totalDuration=function(r){var n=0,s=this,a=s._last,o=ut,f,_,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;)f=a._prev,a._dirty&&a.totalDuration(),_=a._start,_>o&&s._sort&&a._ts&&!s._lock?(s._lock=1,ct(s,a,_-a._delay,1)._lock=0):o=_,_<0&&a._ts&&(n-=_,(!l&&!s._dp||l&&l.smoothChildTiming)&&(s._start+=_/s._ts,s._time-=_,s._tTime-=_),s.shiftChildren(-_,!1,-1/0),o=0),a._end>n&&a._ts&&(n=a._end),a=f;jt(s,s===z&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(r){if(z._ts&&(Ki(z,Oe(r,z)),$i=rt.frame),rt.frame>=bi){bi+=st.autoSleep||120;var n=z._first;if((!n||!n._ts)&&st.autoSleep&&rt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||rt.sleep()}}},t}(de);_t(H.prototype,{_lock:0,_hasPause:0,_forcing:0});var In=function(t,e,i,r,n,s,a){var o=new Z(this._pt,t,e,0,1,wr,null,n),f=0,_=0,l,c,d,p,h,m,y,x;for(o.b=i,o.e=r,i+="",r+="",(y=~r.indexOf("random("))&&(r=le(r)),s&&(x=[i,r],s(x,t,e),i=x[0],r=x[1]),c=i.match(Ee)||[];l=Ee.exec(r);)p=l[0],h=r.substring(f,l.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),p!==c[_++]&&(m=parseFloat(c[_-1])||0,o._pt={_next:o._pt,p:h||_===1?h:",",s:m,c:p.charAt(1)==="="?$t(m,p)-m:parseFloat(p)-m,m:d&&d<4?Math.round:0},f=Ee.lastIndex);return o.c=f<r.length?r.substring(f,r.length):"",o.fp=a,(Yi.test(r)||y)&&(o.e=0),this._pt=o,o},hi=function(t,e,i,r,n,s,a,o,f,_){I(r)&&(r=r(n||0,t,s));var l=t[e],c=i!=="get"?i:I(l)?f?t[e.indexOf("set")||!I(t["get"+e.substr(3)])?e:"get"+e.substr(3)](f):t[e]():l,d=I(l)?f?Un:Tr:ci,p;if(q(r)&&(~r.indexOf("random(")&&(r=le(r)),r.charAt(1)==="="&&(p=$t(c,r)+(G(c)||0),(p||p===0)&&(r=p))),!_||c!==r||Ze)return!isNaN(c*r)&&r!==""?(p=new Z(this._pt,t,e,+c||0,r-(c||0),typeof l=="boolean"?qn:br,0,d),f&&(p.fp=f),a&&p.modifier(a,this,t),this._pt=p):(!l&&!(e in t)&&oi(e,r),In.call(this,t,e,c,r,d,o||st.stringFilter,f))},Ln=function(t,e,i,r,n){if(I(t)&&(t=fe(t,n,e,i,r)),!mt(t)||t.style&&t.nodeType||$(t)||Vi(t))return q(t)?fe(t,n,e,i,r):t;var s={},a;for(a in t)s[a]=fe(t[a],n,e,i,r);return s},yr=function(t,e,i,r,n,s){var a,o,f,_;if(et[t]&&(a=new et[t]).init(n,a.rawVars?e[t]:Ln(e[t],r,n,s,i),i,r,s)!==!1&&(i._pt=o=new Z(i._pt,n,t,0,1,a.render,a,0,a.priority),i!==Wt))for(f=i._ptLookup[i._targets.indexOf(n)],_=a._props.length;_--;)f[a._props[_]]=o;return a},wt,Ze,li=function u(t,e,i){var r=t.vars,n=r.ease,s=r.startAt,a=r.immediateRender,o=r.lazy,f=r.onUpdate,_=r.runBackwards,l=r.yoyoEase,c=r.keyframes,d=r.autoRevert,p=t._dur,h=t._startAt,m=t._targets,y=t.parent,x=y&&y.data==="nested"?y.vars.targets:m,v=t._overwrite==="auto"&&!ri,T=t.timeline,g,w,P,S,b,k,R,M,D,X,V,B,U;if(T&&(!c||!n)&&(n="none"),t._ease=Nt(n,Qt.ease),t._yEase=l?dr(Nt(l===!0?n:l,Qt.ease)):0,l&&t._yoyo&&!t._repeat&&(l=t._yEase,t._yEase=t._ease,t._ease=l),t._from=!T&&!!r.runBackwards,!T||c&&!r.stagger){if(M=m[0]?Lt(m[0]).harness:0,B=M&&r[M.prop],g=Se(r,ui),h&&(h._zTime<0&&h.progress(1),e<0&&_&&a&&!d?h.render(-1,!0):h.revert(_&&p?ve:hn),h._lazy=0),s){if(Ct(t._startAt=N.set(m,_t({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!h&&K(o),startAt:null,delay:0,onUpdate:f&&function(){return nt(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(W||!a&&!d)&&t._startAt.revert(ve),a&&p&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(_&&p&&!h){if(e&&(a=!1),P=_t({overwrite:!1,data:"isFromStart",lazy:a&&!h&&K(o),immediateRender:a,stagger:0,parent:y},g),B&&(P[M.prop]=B),Ct(t._startAt=N.set(m,P)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(W?t._startAt.revert(ve):t._startAt.render(-1,!0)),t._zTime=e,!a)u(t._startAt,A,A);else if(!e)return}for(t._pt=t._ptCache=0,o=p&&K(o)||o&&!p,w=0;w<m.length;w++){if(b=m[w],R=b._gsap||_i(m)[w]._gsap,t._ptLookup[w]=X={},Ge[R.id]&&Ot.length&&Pe(),V=x===m?w:x.indexOf(b),M&&(D=new M).init(b,B||g,t,V,x)!==!1&&(t._pt=S=new Z(t._pt,b,D.name,0,1,D.render,D,0,D.priority),D._props.forEach(function(ht){X[ht]=S}),D.priority&&(k=1)),!M||B)for(P in g)et[P]&&(D=yr(P,g,t,V,b,x))?D.priority&&(k=1):X[P]=S=hi.call(t,b,P,"get",g[P],V,x,0,r.stringFilter);t._op&&t._op[w]&&t.kill(b,t._op[w]),v&&t._pt&&(wt=t,z.killTweensOf(b,X,t.globalTime(e)),U=!t.parent,wt=0),t._pt&&o&&(Ge[R.id]=1)}k&&Pr(t),t._onInit&&t._onInit(t)}t._onUpdate=f,t._initted=(!t._op||t._pt)&&!U,c&&e<=0&&T.render(ut,!0,!0)},Bn=function(t,e,i,r,n,s,a,o){var f=(t._pt&&t._ptCache||(t._ptCache={}))[e],_,l,c,d;if(!f)for(f=t._ptCache[e]=[],c=t._ptLookup,d=t._targets.length;d--;){if(_=c[d][e],_&&_.d&&_.d._pt)for(_=_.d._pt;_&&_.p!==e&&_.fp!==e;)_=_._next;if(!_)return Ze=1,t.vars[e]="+=0",li(t,a),Ze=0,o?_e(e+" not eligible for reset"):1;f.push(_)}for(d=f.length;d--;)l=f[d],_=l._pt||l,_.s=(r||r===0)&&!n?r:_.s+(r||0)+s*_.c,_.c=i-_.s,l.e&&(l.e=L(i)+G(l.e)),l.b&&(l.b=_.s+G(l.b))},Nn=function(t,e){var i=t[0]?Lt(t[0]).harness:0,r=i&&i.aliases,n,s,a,o;if(!r)return e;n=Ut({},e);for(s in r)if(s in n)for(o=r[s].split(","),a=o.length;a--;)n[o[a]]=n[s];return n},Vn=function(t,e,i,r){var n=e.ease||r||"power1.inOut",s,a;if($(e))a=i[t]||(i[t]=[]),e.forEach(function(o,f){return a.push({t:f/(e.length-1)*100,v:o,e:n})});else for(s in e)a=i[s]||(i[s]=[]),s==="ease"||a.push({t:parseFloat(t),v:e[s],e:n})},fe=function(t,e,i,r,n){return I(t)?t.call(e,i,r,n):q(t)&&~t.indexOf("random(")?le(t):t},xr=fi+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",vr={};Q(xr+",id,stagger,delay,duration,paused,scrollTrigger",function(u){return vr[u]=1});var N=function(u){Bi(t,u);function t(i,r,n,s){var a;typeof r=="number"&&(n.duration=r,r=n,n=null),a=u.call(this,s?r:oe(r))||this;var o=a.vars,f=o.duration,_=o.delay,l=o.immediateRender,c=o.stagger,d=o.overwrite,p=o.keyframes,h=o.defaults,m=o.scrollTrigger,y=o.yoyoEase,x=r.parent||z,v=($(i)||Vi(i)?vt(i[0]):"length"in r)?[i]:ft(i),T,g,w,P,S,b,k,R;if(a._targets=v.length?_i(v):_e("GSAP target "+i+" not found. https://gsap.com",!st.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,p||c||xe(f)||xe(_)){if(r=a.vars,T=a.timeline=new H({data:"nested",defaults:h||{},targets:x&&x.data==="nested"?x.vars.targets:v}),T.kill(),T.parent=T._dp=yt(a),T._start=0,c||xe(f)||xe(_)){if(P=v.length,k=c&&nr(c),mt(c))for(S in c)~xr.indexOf(S)&&(R||(R={}),R[S]=c[S]);for(g=0;g<P;g++)w=Se(r,vr),w.stagger=0,y&&(w.yoyoEase=y),R&&Ut(w,R),b=v[g],w.duration=+fe(f,yt(a),g,b,v),w.delay=(+fe(_,yt(a),g,b,v)||0)-a._delay,!c&&P===1&&w.delay&&(a._delay=_=w.delay,a._start+=_,w.delay=0),T.to(b,w,k?k(g,b,v):0),T._ease=O.none;T.duration()?f=_=0:a.timeline=0}else if(p){oe(_t(T.vars.defaults,{ease:"none"})),T._ease=Nt(p.ease||r.ease||"none");var M=0,D,X,V;if($(p))p.forEach(function(B){return T.to(v,B,">")}),T.duration();else{w={};for(S in p)S==="ease"||S==="easeEach"||Vn(S,p[S],w,p.easeEach);for(S in w)for(D=w[S].sort(function(B,U){return B.t-U.t}),M=0,g=0;g<D.length;g++)X=D[g],V={ease:X.e,duration:(X.t-(g?D[g-1].t:0))/100*f},V[S]=X.v,T.to(v,V,M),M+=V.duration;T.duration()<f&&T.to({},{duration:f-T.duration()})}}f||a.duration(f=T.duration())}else a.timeline=0;return d===!0&&!ri&&(wt=yt(a),z.killTweensOf(v),wt=0),ct(x,yt(a),n),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(l||!f&&!p&&a._start===Y(x._time)&&K(l)&&gn(yt(a))&&x.data!=="nested")&&(a._tTime=-A,a.render(Math.max(0,-_)||0)),m&&tr(yt(a),m),a}var e=t.prototype;return e.render=function(r,n,s){var a=this._time,o=this._tDur,f=this._dur,_=r<0,l=r>o-A&&!_?o:r<A?0:r,c,d,p,h,m,y,x,v,T;if(!f)xn(this,r,n,s);else if(l!==this._tTime||!r||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==_){if(c=l,v=this.timeline,this._repeat){if(h=f+this._rDelay,this._repeat<-1&&_)return this.totalTime(h*100+r,n,s);if(c=Y(l%h),l===o?(p=this._repeat,c=f):(p=~~(l/h),p&&p===Y(l/h)&&(c=f,p--),c>f&&(c=f)),y=this._yoyo&&p&1,y&&(T=this._yEase,c=f-c),m=Zt(this._tTime,h),c===a&&!s&&this._initted&&p===m)return this._tTime=l,this;p!==m&&(v&&this._yEase&&pr(v,y),this.vars.repeatRefresh&&!y&&!this._lock&&this._time!==h&&this._initted&&(this._lock=s=1,this.render(Y(h*p),!0).invalidate()._lock=0))}if(!this._initted){if(er(this,_?r:c,s,n,l))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&p!==m))return this;if(f!==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/f),this._from&&(this.ratio=x=1-x),c&&!a&&!n&&!p&&(nt(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&&(_&&We(this,r,n,s),nt(this,"onUpdate")),this._repeat&&p!==m&&this.vars.onRepeat&&!n&&this.parent&&nt(this,"onRepeat"),(l===this._tDur||!l)&&this._tTime===l&&(_&&!this._onUpdate&&We(this,r,!0,!0),(r||!f)&&(l===this._tDur&&this._ts>0||!l&&this._ts<0)&&Ct(this,1),!n&&!(_&&!a)&&(l||a||y)&&(nt(this,l===o?"onComplete":"onReverseComplete",!0),this._prom&&!(l<o&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),u.prototype.invalidate.call(this,r)},e.resetTo=function(r,n,s,a,o){ce||rt.wake(),this._ts||this.play();var f=Math.min(this._dur,(this._dp._time-this._start)*this._ts),_;return this._initted||li(this,f),_=this._ease(f/this._dur),Bn(this,r,n,s,a,_,f,o)?this.resetTo(r,n,s,a,1):(Re(this,0),this.parent||ji(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,wt&&wt.vars.overwrite!==!0)._first||se(this),this.parent&&s!==this.timeline.totalDuration()&&jt(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,o=r?ft(r):a,f=this._ptLookup,_=this._pt,l,c,d,p,h,m,y;if((!n||n==="all")&&pn(a,o))return n==="all"&&(this._pt=0),se(this);for(l=this._op=this._op||[],n!=="all"&&(q(n)&&(h={},Q(n,function(x){return h[x]=1}),n=h),n=Nn(a,n)),y=a.length;y--;)if(~o.indexOf(a[y])){c=f[y],n==="all"?(l[y]=n,p=c,d={}):(d=l[y]=l[y]||{},p=n);for(h in p)m=c&&c[h],m&&((!("kill"in m.d)||m.d.kill(h)===!0)&&De(this,m,"_pt"),delete c[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&_&&se(this),this},t.to=function(r,n){return new t(r,n,arguments[2])},t.from=function(r,n){return ue(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 ue(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}(de);_t(N.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Q("staggerTo,staggerFrom,staggerFromTo",function(u){N[u]=function(){var t=new H,e=He.call(arguments,0);return e.splice(u==="staggerFromTo"?5:4,0,0),t[u].apply(t,e)}});var ci=function(t,e,i){return t[e]=i},Tr=function(t,e,i){return t[e](i)},Un=function(t,e,i,r){return t[e](r.fp,i)},Yn=function(t,e,i){return t.setAttribute(e,i)},di=function(t,e){return I(t[e])?Tr:ni(t[e])&&t.setAttribute?Yn:ci},br=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},qn=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},wr=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)},pi=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},Gn=function(t){for(var e=this._pt,i,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?De(this,e,"_pt"):e.dep||(i=1),e=r;return!i},Wn=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},Pr=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 u(e,i,r,n,s,a,o,f,_){this.t=i,this.s=n,this.c=s,this.p=r,this.r=a||br,this.d=o||this,this.set=f||ci,this.pr=_||0,this._next=e,e&&(e._prev=this)}var t=u.prototype;return t.modifier=function(i,r,n){this.mSet=this.mSet||this.set,this.set=Wn,this.m=i,this.mt=n,this.tween=r},u}();Q(fi+"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(u){return ui[u]=1});at.TweenMax=at.TweenLite=N;at.TimelineLite=at.TimelineMax=H;z=new H({sortChildren:!1,defaults:Qt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});st.stringFilter=cr;var Vt=[],be={},$n=[],Ci=0,Hn=0,Be=function(t){return(be[t]||$n).map(function(e){return e()})},je=function(){var t=Date.now(),e=[];t-Ci>2&&(Be("matchMediaInit"),Vt.forEach(function(i){var r=i.queries,n=i.conditions,s,a,o,f;for(a in r)s=lt.matchMedia(r[a]).matches,s&&(o=1),s!==n[a]&&(n[a]=s,f=1);f&&(i.revert(),o&&e.push(i))}),Be("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),Ci=t,Be("matchMedia"))},Sr=function(){function u(e,i){this.selector=i&&Ke(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Hn++,e&&this.add(e)}var t=u.prototype;return t.add=function(i,r,n){I(i)&&(n=r,r=i,i=I);var s=this,a=function(){var f=E,_=s.selector,l;return f&&f!==s&&f.data.push(s),n&&(s.selector=Ke(n)),E=s,l=r.apply(s,arguments),I(l)&&s._r.push(l),E=f,s.selector=_,s.isReverted=!1,l};return s.last=a,i===I?a(s,function(o){return s.add(null,o)}):i?s[i]=a:a},t.ignore=function(i){var r=E;E=null,i(this),E=r},t.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof u?i.push.apply(i,r.getTweens()):r instanceof N&&!(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,f;o--;)f=n.data[o],f.data==="isFlip"&&(f.revert(),f.getChildren(!0,!0,!1).forEach(function(_){return a.splice(a.indexOf(_),1)}));for(a.map(function(_){return{g:_._dur||_._delay||_._sat&&!_._sat.vars.immediateRender?_.globalTime(0):-1/0,t:_}}).sort(function(_,l){return l.g-_.g||-1/0}).forEach(function(_){return _.t.revert(i)}),o=n.data.length;o--;)f=n.data[o],f instanceof H?f.data!=="nested"&&(f.scrollTrigger&&f.scrollTrigger.revert(),f.kill()):!(f instanceof N)&&f.revert&&f.revert(i);n._r.forEach(function(_){return _(i,n)}),n.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var s=Vt.length;s--;)Vt[s].id===this.id&&Vt.splice(s,1)},t.revert=function(i){this.kill(i||{})},u}(),Kn=function(){function u(e){this.contexts=[],this.scope=e,E&&E.data.push(this)}var t=u.prototype;return t.add=function(i,r,n){mt(i)||(i={matches:i});var s=new Sr(0,n||this.scope),a=s.conditions={},o,f,_;E&&!s.selector&&(s.selector=E.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=i;for(f in i)f==="all"?_=1:(o=lt.matchMedia(i[f]),o&&(Vt.indexOf(s)<0&&Vt.push(s),(a[f]=o.matches)&&(_=1),o.addListener?o.addListener(je):o.addEventListener("change",je)));return _&&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)})},u}(),ke={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(r){return _r(r)})},timeline:function(t){return new H(t)},getTweensOf:function(t,e){return z.getTweensOf(t,e)},getProperty:function(t,e,i,r){q(t)&&(t=ft(t)[0]);var n=Lt(t||{}).get,s=i?Zi:Qi;return i==="native"&&(i=""),t&&(e?s((et[e]&&et[e].get||n)(t,e,i,r)):function(a,o,f){return s((et[a]&&et[a].get||n)(t,a,o,f))})},quickSetter:function(t,e,i){if(t=ft(t),t.length>1){var r=t.map(function(_){return J.quickSetter(_,e,i)}),n=r.length;return function(_){for(var l=n;l--;)r[l](_)}}t=t[0]||{};var s=et[e],a=Lt(t),o=a.harness&&(a.harness.aliases||{})[e]||e,f=s?function(_){var l=new s;Wt._pt=0,l.init(t,i?_+i:_,Wt,0,[t]),l.render(1,l),Wt._pt&&pi(1,Wt)}:a.set(t,o);return s?f:function(_){return f(t,o,i?_+i:_,a,1)}},quickTo:function(t,e,i){var r,n=J.to(t,Ut((r={},r[e]="+=0.1",r.paused=!0,r),i||{})),s=function(o,f,_){return n.resetTo(e,o,f,_)};return s.tween=n,s},isTweening:function(t){return z.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Nt(t.ease,Qt.ease)),wi(Qt,t||{})},config:function(t){return wi(st,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&&!et[a]&&!at[a]&&_e(e+" effect requires "+a+" plugin.")}),ze[e]=function(a,o,f){return i(ft(a),_t(o||{},n),f)},s&&(H.prototype[e]=function(a,o,f){return this.add(ze[e](a,mt(o)?o:(f=o)&&{},this),f)})},registerEase:function(t,e){O[t]=Nt(e)},parseEase:function(t,e){return arguments.length?Nt(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 N&&r.vars.onComplete===r._targets[0]))&&ct(i,r,r._start-r._delay),r=n;return ct(z,i,0),i},context:function(t,e){return t?new Sr(t,e):E},matchMedia:function(t){return new Kn(t)},matchMediaRefresh:function(){return Vt.forEach(function(t){var e=t.conditions,i,r;for(r in e)e[r]&&(e[r]=!1,i=1);i&&t.revert()})||je()},addEventListener:function(t,e){var i=be[t]||(be[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=be[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:kn,wrapYoyo:Cn,distribute:nr,random:ar,snap:sr,normalize:On,getUnit:G,clamp:bn,splitColor:hr,toArray:ft,selector:Ke,mapRange:ur,pipe:Pn,unitize:Sn,interpolate:Mn,shuffle:rr},install:Gi,effects:ze,ticker:rt,updateRoot:H.updateRoot,plugins:et,globalTimeline:z,core:{PropTween:Z,globals:Wi,Tween:N,Timeline:H,Animation:de,getCache:Lt,_removeLinkedListItem:De,reverting:function(){return W},context:function(t){return t&&E&&(E.data.push(t),t._ctx=E),E},suppressOverwrites:function(t){return ri=t}}};Q("to,from,fromTo,delayedCall,set,killTweensOf",function(u){return ke[u]=N[u]});rt.add(H.updateRoot);Wt=ke.to({},{duration:0});var Qn=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},Zn=function(t,e){var i=t._targets,r,n,s;for(r in e)for(n=i.length;n--;)s=t._ptLookup[n][r],s&&(s=s.d)&&(s._pt&&(s=Qn(s,r)),s&&s.modifier&&s.modifier(e[r],t,i[n],r))},Ne=function(t,e){return{name:t,rawVars:1,init:function(r,n,s){s._onInit=function(a){var o,f;if(q(n)&&(o={},Q(n,function(_){return o[_]=1}),n=o),e){o={};for(f in n)o[f]=e(n[f]);n=o}Zn(a,n)}}}},J=ke.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;)W?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)}},Ne("roundProps",Qe),Ne("modifiers"),Ne("snap",sr))||ke;N.version=H.version=J.version="3.12.5";Xi=1;si()&&Jt();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;/*!
 * CSSPlugin 3.12.5
 * https://gsap.com
 *
 * Copyright 2008-2024, GreenSock. All rights reserved.
 * Subject to the terms at https://gsap.com/standard-license or for
 * Club GSAP members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/var Mi,Pt,Ht,mi,It,Di,gi,jn=function(){return typeof window<"u"},Tt={},Ft=180/Math.PI,Kt=Math.PI/180,Xt=Math.atan2,Ai=1e8,yi=/([A-Z])/g,Jn=/(left|right|width|margin|padding|x)/i,ts=/[\s,\(]\S/,dt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Je=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},es=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)},is=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)},rs=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Or=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},kr=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},ns=function(t,e,i){return t.style[e]=i},ss=function(t,e,i){return t.style.setProperty(e,i)},as=function(t,e,i){return t._gsap[e]=i},os=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},us=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},fs=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},F="transform",j=F+"Origin",_s=function u(t,e){var i=this,r=this.target,n=r.style,s=r._gsap;if(t in Tt&&n){if(this.tfm=this.tfm||{},t!=="transform")t=dt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return i.tfm[a]=xt(r,a)}):this.tfm[t]=s.x?s[t]:xt(r,t),t===j&&(this.tfm.zOrigin=s.zOrigin);else return dt.transform.split(",").forEach(function(a){return u.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])},Cr=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},hs=function(){var t=this.props,e=this.target,i=e.style,r=e._gsap,n,s;for(n=0;n<t.length;n+=3)t[n+1]?e[t[n]]=t[n+2]:t[n+2]?i[t[n]]=t[n+2]:i.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(yi,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)r[s]=this.tfm[s];r.svg&&(r.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=gi(),(!n||!n.isStart)&&!i[F]&&(Cr(i),r.zOrigin&&i[j]&&(i[j]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},Mr=function(t,e){var i={target:t,props:[],revert:hs,save:_s};return t._gsap||J.core.getCache(t),e&&e.split(",").forEach(function(r){return i.save(r)}),i},Dr,ti=function(t,e){var i=Pt.createElementNS?Pt.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Pt.createElement(t);return i&&i.style?i:Pt.createElement(t)},pt=function u(t,e,i){var r=getComputedStyle(t);return r[e]||r.getPropertyValue(e.replace(yi,"-$1").toLowerCase())||r.getPropertyValue(e)||!i&&u(t,te(e)||e,1)||""},Ri="O,Moz,ms,Ms,Webkit".split(","),te=function(t,e,i){var r=e||It,n=r.style,s=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Ri[s]+t in n););return s<0?null:(s===3?"ms":s>=0?Ri[s]:"")+t},ei=function(){jn()&&window.document&&(Mi=window,Pt=Mi.document,Ht=Pt.documentElement,It=ti("div")||{style:{}},ti("div"),F=te(F),j=F+"Origin",It.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Dr=!!te("perspective"),gi=J.core.reverting,mi=1)},Ve=function u(t){var e=ti("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=u}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},Ei=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Ar=function(t){var e;try{e=t.getBBox()}catch{e=Ve.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Ve||(e=Ve.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+Ei(t,["x","cx","x1"])||0,y:+Ei(t,["y","cy","y1"])||0,width:0,height:0}:e},Rr=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Ar(t))},Yt=function(t,e){if(e){var i=t.style,r;e in Tt&&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(yi,"-$1").toLowerCase())):i.removeAttribute(e)}},St=function(t,e,i,r,n,s){var a=new Z(t._pt,e,i,0,1,s?kr:Or);return t._pt=a,a.b=r,a.e=n,t._props.push(i),a},zi={deg:1,rad:1,turn:1},ls={grid:1,flex:1},Mt=function u(t,e,i,r){var n=parseFloat(i)||0,s=(i+"").trim().substr((n+"").length)||"px",a=It.style,o=Jn.test(e),f=t.tagName.toLowerCase()==="svg",_=(f?"client":"offset")+(o?"Width":"Height"),l=100,c=r==="px",d=r==="%",p,h,m,y;if(r===s||!n||zi[r]||zi[s])return n;if(s!=="px"&&!c&&(n=u(t,e,i,"px")),y=t.getCTM&&Rr(t),(d||s==="%")&&(Tt[e]||~e.indexOf("adius")))return p=y?t.getBBox()[o?"width":"height"]:t[_],L(d?n/p*l:n/100*p);if(a[o?"width":"height"]=l+(c?s:r),h=~e.indexOf("adius")||r==="em"&&t.appendChild&&!f?t:t.parentNode,y&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===Pt||!h.appendChild)&&(h=Pt.body),m=h._gsap,m&&d&&m.width&&o&&m.time===rt.time&&!m.uncache)return L(n/m.width*l);if(d&&(e==="height"||e==="width")){var x=t.style[e];t.style[e]=l+r,p=t[_],x?t.style[e]=x:Yt(t,e)}else(d||s==="%")&&!ls[pt(h,"display")]&&(a.position=pt(t,"position")),h===t&&(a.position="static"),h.appendChild(It),p=It[_],h.removeChild(It),a.position="absolute";return o&&d&&(m=Lt(h),m.time=rt.time,m.width=h[_]),L(c?p*n/l:p&&n?l/p*n:0)},xt=function(t,e,i,r){var n;return mi||ei(),e in dt&&e!=="transform"&&(e=dt[e],~e.indexOf(",")&&(e=e.split(",")[0])),Tt[e]&&e!=="transform"?(n=me(t,r),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Me(pt(t,j))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=Ce[e]&&Ce[e](t,e,i)||pt(t,e)||Hi(t,e)||(e==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?Mt(t,e,n,i)+i:n},cs=function(t,e,i,r){if(!i||i==="none"){var n=te(e,t,1),s=n&&pt(t,n,1);s&&s!==i?(e=n,i=s):e==="borderColor"&&(i=pt(t,"borderTopColor"))}var a=new Z(this._pt,t.style,e,0,1,wr),o=0,f=0,_,l,c,d,p,h,m,y,x,v,T,g;if(a.b=i,a.e=r,i+="",r+="",r==="auto"&&(h=t.style[e],t.style[e]=r,r=pt(t,e)||r,h?t.style[e]=h:Yt(t,e)),_=[i,r],cr(_),i=_[0],r=_[1],c=i.match(Gt)||[],g=r.match(Gt)||[],g.length){for(;l=Gt.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!==(h=c[f++]||"")&&(d=parseFloat(h)||0,T=h.substr((d+"").length),m.charAt(1)==="="&&(m=$t(d,m)+T),y=parseFloat(m),v=m.substr((y+"").length),o=Gt.lastIndex-v.length,v||(v=v||st.units[e]||T,o===r.length&&(r+=v,a.e+=v)),T!==v&&(d=Mt(t,e,h,v)||0),a._pt={_next:a._pt,p:x||f===1?x:",",s:d,c:y-d,m:p&&p<4||e==="zIndex"?Math.round:0});a.c=o<r.length?r.substring(o,r.length):""}else a.r=e==="display"&&r==="none"?kr:Or;return Yi.test(r)&&(a.e=0),this._pt=a,a},Fi={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ds=function(t){var e=t.split(" "),i=e[0],r=e[1]||"50%";return(i==="top"||i==="bottom"||r==="left"||r==="right")&&(t=i,i=r,r=t),e[0]=Fi[i]||i,e[1]=Fi[r]||r,e.join(" ")},ps=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,r=i.style,n=e.u,s=i._gsap,a,o,f;if(n==="all"||n===!0)r.cssText="",o=1;else for(n=n.split(","),f=n.length;--f>-1;)a=n[f],Tt[a]&&(o=1,a=a==="transformOrigin"?j:F),Yt(i,a);o&&(Yt(i,F),s&&(s.svg&&i.removeAttribute("transform"),me(i,1),s.uncache=1,Cr(r)))}},Ce={clearProps:function(t,e,i,r,n){if(n.data!=="isFromStart"){var s=t._pt=new Z(t._pt,e,i,0,0,ps);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},pe=[1,0,0,1,0,0],Er={},zr=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Ii=function(t){var e=pt(t,F);return zr(e)?pe:e.substr(7).match(Ui).map(L)},xi=function(t,e){var i=t._gsap||Lt(t),r=t.style,n=Ii(t),s,a,o,f;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"?pe:n):(n===pe&&!t.offsetParent&&t!==Ht&&!i.svg&&(o=r.display,r.display="block",s=t.parentNode,(!s||!t.offsetParent)&&(f=1,a=t.nextElementSibling,Ht.appendChild(t)),n=Ii(t),o?r.display=o:Yt(t,"display"),f&&(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)},ii=function(t,e,i,r,n,s){var a=t._gsap,o=n||xi(t,!0),f=a.xOrigin||0,_=a.yOrigin||0,l=a.xOffset||0,c=a.yOffset||0,d=o[0],p=o[1],h=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!==pe&&(P=d*m-p*h)&&(S=T*(m/P)+g*(-h/P)+(h*x-m*y)/P,b=T*(-p/P)+g*(d/P)-(d*x-p*y)/P,T=S,g=b):(w=Ar(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-f,x=g-_,a.xOffset=l+(y*d+x*h)-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&&(St(s,a,"xOrigin",f,T),St(s,a,"yOrigin",_,g),St(s,a,"xOffset",l,a.xOffset),St(s,a,"yOffset",c,a.yOffset)),t.setAttribute("data-svg-origin",T+" "+g)},me=function(t,e){var i=t._gsap||new gr(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),f=pt(t,j)||"0",_,l,c,d,p,h,m,y,x,v,T,g,w,P,S,b,k,R,M,D,X,V,B,U,ht,ye,ie,re,At,vi,gt,Rt;return _=l=c=h=m=y=x=v=T=0,d=p=1,i.svg=!!(t.getCTM&&Rr(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=xi(t,i.svg),i.svg&&(i.uncache?(ht=t.getBBox(),f=i.xOrigin-ht.x+"px "+(i.yOrigin-ht.y)+"px",U=""):U=!e&&t.getAttribute("data-svg-origin"),ii(t,U||f,!!U||i.originIsAbsolute,i.smooth!==!1,P)),g=i.xOrigin||0,w=i.yOrigin||0,P!==pe&&(R=P[0],M=P[1],D=P[2],X=P[3],_=V=P[4],l=B=P[5],P.length===6?(d=Math.sqrt(R*R+M*M),p=Math.sqrt(X*X+D*D),h=R||M?Xt(M,R)*Ft:0,x=D||X?Xt(D,X)*Ft+h:0,x&&(p*=Math.abs(Math.cos(x*Kt))),i.svg&&(_-=g-(g*R+w*D),l-=w-(g*M+w*X))):(Rt=P[6],vi=P[7],ie=P[8],re=P[9],At=P[10],gt=P[11],_=P[12],l=P[13],c=P[14],S=Xt(Rt,At),m=S*Ft,S&&(b=Math.cos(-S),k=Math.sin(-S),U=V*b+ie*k,ht=B*b+re*k,ye=Rt*b+At*k,ie=V*-k+ie*b,re=B*-k+re*b,At=Rt*-k+At*b,gt=vi*-k+gt*b,V=U,B=ht,Rt=ye),S=Xt(-D,At),y=S*Ft,S&&(b=Math.cos(-S),k=Math.sin(-S),U=R*b-ie*k,ht=M*b-re*k,ye=D*b-At*k,gt=X*k+gt*b,R=U,M=ht,D=ye),S=Xt(M,R),h=S*Ft,S&&(b=Math.cos(S),k=Math.sin(S),U=R*b+M*k,ht=V*b+B*k,M=M*b-R*k,B=B*b-V*k,R=U,V=ht),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,y=180-y),d=L(Math.sqrt(R*R+M*M+D*D)),p=L(Math.sqrt(B*B+Rt*Rt)),S=Xt(V,B),x=Math.abs(S)>2e-4?S*Ft:0,T=gt?1/(gt<0?-gt:gt):0),i.svg&&(U=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!zr(pt(t,F)),U&&t.setAttribute("transform",U))),Math.abs(x)>90&&Math.abs(x)<270&&(n?(d*=-1,x+=h<=0?180:-180,h+=h<=0?180:-180):(p*=-1,x+=x<=0?180:-180)),e=e||i.uncache,i.x=_-((i.xPercent=_&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-_)?-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=L(d),i.scaleY=L(p),i.rotation=L(h)+a,i.rotationX=L(m)+a,i.rotationY=L(y)+a,i.skewX=x+a,i.skewY=v+a,i.transformPerspective=T+s,(i.zOrigin=parseFloat(f.split(" ")[2])||!e&&i.zOrigin||0)&&(r[j]=Me(f)),i.xOffset=i.yOffset=0,i.force3D=st.force3D,i.renderTransform=i.svg?gs:Dr?Fr:ms,i.uncache=0,i},Me=function(t){return(t=t.split(" "))[0]+" "+t[1]},Ue=function(t,e,i){var r=G(e);return L(parseFloat(e)+parseFloat(Mt(t,"x",i+"px",r)))+r},ms=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Fr(t,e)},Et="0deg",ne="0px",zt=") ",Fr=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,o=i.z,f=i.rotation,_=i.rotationY,l=i.rotationX,c=i.skewX,d=i.skewY,p=i.scaleX,h=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!==Et||_!==Et)){var w=parseFloat(_)*Kt,P=Math.sin(w),S=Math.cos(w),b;w=parseFloat(l)*Kt,b=Math.cos(w),s=Ue(x,s,P*b*-v),a=Ue(x,a,-Math.sin(w)*-v),o=Ue(x,o,S*b*-v+v)}m!==ne&&(T+="perspective("+m+zt),(r||n)&&(T+="translate("+r+"%, "+n+"%) "),(g||s!==ne||a!==ne||o!==ne)&&(T+=o!==ne||g?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+zt),f!==Et&&(T+="rotate("+f+zt),_!==Et&&(T+="rotateY("+_+zt),l!==Et&&(T+="rotateX("+l+zt),(c!==Et||d!==Et)&&(T+="skew("+c+", "+d+zt),(p!==1||h!==1)&&(T+="scale("+p+", "+h+zt),x.style[F]=T||"translate(0, 0)"},gs=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,o=i.rotation,f=i.skewX,_=i.skewY,l=i.scaleX,c=i.scaleY,d=i.target,p=i.xOrigin,h=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),f=parseFloat(f),_=parseFloat(_),_&&(_=parseFloat(_),f+=_,o+=_),o||f?(o*=Kt,f*=Kt,g=Math.cos(o)*l,w=Math.sin(o)*l,P=Math.sin(o-f)*-c,S=Math.cos(o-f)*c,f&&(_*=Kt,b=Math.tan(f-_),b=Math.sqrt(1+b*b),P*=b,S*=b,_&&(b=Math.tan(_),b=Math.sqrt(1+b*b),g*=b,w*=b)),g=L(g),w=L(w),P=L(P),S=L(S)):(g=l,S=c,w=P=0),(v&&!~(s+"").indexOf("px")||T&&!~(a+"").indexOf("px"))&&(v=Mt(d,"x",s,"px"),T=Mt(d,"y",a,"px")),(p||h||m||y)&&(v=L(v+p-(p*g+h*P)+m),T=L(T+h-(p*w+h*S)+y)),(r||n)&&(b=d.getBBox(),v=L(v+r/100*b.width),T=L(T+n/100*b.height)),b="matrix("+g+","+w+","+P+","+S+","+v+","+T+")",d.setAttribute("transform",b),x&&(d.style[F]=b)},ys=function(t,e,i,r,n){var s=360,a=q(n),o=parseFloat(n)*(a&&~n.indexOf("rad")?Ft:1),f=o-r,_=r+f+"deg",l,c;return a&&(l=n.split("_")[1],l==="short"&&(f%=s,f!==f%(s/2)&&(f+=f<0?s:-s)),l==="cw"&&f<0?f=(f+s*Ai)%s-~~(f/s)*s:l==="ccw"&&f>0&&(f=(f-s*Ai)%s-~~(f/s)*s)),t._pt=c=new Z(t._pt,e,i,r,f,es),c.e=_,c.u="deg",t._props.push(i),c},Li=function(t,e){for(var i in e)t[i]=e[i];return t},xs=function(t,e,i){var r=Li({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,o,f,_,l,c,d,p;r.svg?(f=i.getAttribute("transform"),i.setAttribute("transform",""),s[F]=e,a=me(i,1),Yt(i,F),i.setAttribute("transform",f)):(f=getComputedStyle(i)[F],s[F]=e,a=me(i,1),s[F]=f);for(o in Tt)f=r[o],_=a[o],f!==_&&n.indexOf(o)<0&&(d=G(f),p=G(_),l=d!==p?Mt(i,o,f,p):parseFloat(f),c=parseFloat(_),t._pt=new Z(t._pt,a,o,l,c-l,Je),t._pt.u=p||0,t._props.push(o));Li(a,r)};Q("padding,margin,Width,Radius",function(u,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?u+a:"border"+a+u});Ce[t>1?"border"+u:u]=function(a,o,f,_,l){var c,d;if(arguments.length<4)return c=s.map(function(p){return xt(a,p,f)}),d=c.join(" "),d.split(c[0]).length===5?c[0]:d;c=(_+"").split(" "),d={},s.forEach(function(p,h){return d[p]=c[h]=c[h]||c[(h-1)/2|0]}),a.init(o,d,l)}});var Ir={name:"css",register:ei,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,f,_,l,c,d,p,h,m,y,x,v,T,g,w,P,S;mi||ei(),this.styles=this.styles||Mr(t),S=this.styles.props,this.tween=i;for(h in e)if(h!=="autoRound"&&(_=e[h],!(et[h]&&yr(h,e,i,r,t,n)))){if(d=typeof _,p=Ce[h],d==="function"&&(_=_.call(i,r,t,n),d=typeof _),d==="string"&&~_.indexOf("random(")&&(_=le(_)),p)p(this,t,h,_,i)&&(P=1);else if(h.substr(0,2)==="--")f=(getComputedStyle(t).getPropertyValue(h)+"").trim(),_+="",kt.lastIndex=0,kt.test(f)||(m=G(f),y=G(_)),y?m!==y&&(f=Mt(t,h,f,y)+y):m&&(_+=m),this.add(a,"setProperty",f,_,r,n,0,0,h),s.push(h),S.push(h,0,a[h]);else if(d!=="undefined"){if(o&&h in o?(f=typeof o[h]=="function"?o[h].call(i,r,t,n):o[h],q(f)&&~f.indexOf("random(")&&(f=le(f)),G(f+"")||f==="auto"||(f+=st.units[h]||G(xt(t,h))||""),(f+"").charAt(1)==="="&&(f=xt(t,h))):f=xt(t,h),c=parseFloat(f),x=d==="string"&&_.charAt(1)==="="&&_.substr(0,2),x&&(_=_.substr(2)),l=parseFloat(_),h in dt&&(h==="autoAlpha"&&(c===1&&xt(t,"visibility")==="hidden"&&l&&(c=0),S.push("visibility",0,a.visibility),St(this,a,"visibility",c?"inherit":"hidden",l?"inherit":"hidden",!l)),h!=="scale"&&h!=="transform"&&(h=dt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),v=h in Tt,v){if(this.styles.save(h),T||(g=t._gsap,g.renderTransform&&!e.parseTransform||me(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),h==="scale")this._pt=new Z(this._pt,g,"scaleY",g.scaleY,(x?$t(g.scaleY,x+l):l)-g.scaleY||0,Je),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){S.push(j,0,a[j]),_=ds(_),g.svg?ii(t,_,0,w,0,this):(y=parseFloat(_.split(" ")[2])||0,y!==g.zOrigin&&St(this,g,"zOrigin",g.zOrigin,y),St(this,a,h,Me(f),Me(_)));continue}else if(h==="svgOrigin"){ii(t,_,1,w,0,this);continue}else if(h in Er){ys(this,g,h,c,x?$t(c,x+_):_);continue}else if(h==="smoothOrigin"){St(this,g,"smooth",g.smooth,_);continue}else if(h==="force3D"){g[h]=_;continue}else if(h==="transform"){xs(this,_,t);continue}}else h in a||(h=te(h)||h);if(v||(l||l===0)&&(c||c===0)&&!ts.test(_)&&h in a)m=(f+"").substr((c+"").length),l||(l=0),y=G(_)||(h in st.units?st.units[h]:m),m!==y&&(c=Mt(t,h,f,y)),this._pt=new Z(this._pt,v?g:a,h,c,(x?$t(c,x+l):l)-c,!v&&(y==="px"||h==="zIndex")&&e.autoRound!==!1?rs:Je),this._pt.u=y||0,m!==y&&y!=="%"&&(this._pt.b=f,this._pt.r=is);else if(h in a)cs.call(this,t,h,f,x?x+_:_);else if(h in t)this.add(t,h,f||t[h],x?x+_:_,r,n);else if(h!=="parseTransform"){oi(h,_);continue}v||(h in a?S.push(h,0,a[h]):S.push(h,1,f||t[h])),s.push(h)}}P&&Pr(this)},render:function(t,e){if(e.tween._time||!gi())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:xt,aliases:dt,getSetter:function(t,e,i){var r=dt[e];return r&&r.indexOf(",")<0&&(e=r),e in Tt&&e!==j&&(t._gsap.x||xt(t,"x"))?i&&Di===i?e==="scale"?os:as:(Di=i||{})&&(e==="scale"?us:fs):t.style&&!ni(t.style[e])?ns:~e.indexOf("-")?ss:di(t,e)},core:{_removeProperty:Yt,_getMatrix:xi}};J.utils.checkPrefix=te;J.core.getStyleSaver=Mr;(function(u,t,e,i){var r=Q(u+","+t+","+e,function(n){Tt[n]=1});Q(t,function(n){st.units[n]="deg",Er[n]=1}),dt[r[13]]=u+","+t,Q(i,function(n){var s=n.split(":");dt[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(u){st.units[u]="px"});J.registerPlugin(Ir);var vs=J.registerPlugin(Ir)||J;vs.core.Tween;export{ws as _,vs as g};
