UNPKG

@xcpcio/board-app

Version:
9 lines 78.9 kB
import{d as ar,f as je,p as dt,c as Q,o as Z,n as si,h as D,b as nt,k as pt,F as Qt,E as ur,s as de,j as Re,A as mn,u as gn,m as yn,C as He,Y as vn,a3 as De,W as xn,a as Vi,w as Tn,T as wn}from"./index-CYsJ2gG-.js";import{_ as lr}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as bn,b as Pn,d as Sn,o as kn}from"./index-BYh7ktqe.js";import{d as Yi}from"./constant-2MSuUQN9.js";import{u as On}from"./query-DfOnN8jV.js";const Cn={"w-20":"",flex:"","flex-shrink-0":"","justify-center":"","items-center":""},Mn={flex:"","flex-1":"","flex-col":"","justify-center":"","items-start":"","gap-y-3":""},An={class:"resolver-team-name",truncate:"","overflow-hidden":""},Rn={flex:"","flex-row":"","text-sm":"","items-start":"","gap-x-2":""},Dn={"w-48":"",flex:"","flex-shrink-0":"","flex-row":"","justify-start":"","items-center":""},En={class:"w-1/3"},Fn={class:"w-2/3"},zn=ar({__name:"ResolverTeamRow",props:{index:null,team:null,resolver:null},setup(u){const t=u,e=je(()=>t.index),i=je(()=>t.team),r=je(()=>t.resolver),n=dt(null);function s(o){return[o.organization,o.name].filter(a=>a).join(" - ")}return(o,l)=>(Z(),Q("div",{ref_key:"el",ref:n,"h-24":""},[(Z(),Q("div",{key:0,"h-24":"",flex:"","flex-row":"","gap-x-4":"","font-mono":"","text-4xl":"",class:si([D(e)%2===0?"bg-resolver-bg-zero":"bg-resolver-bg-one",D(r).duringAnimation&&D(r).currentTeamId===D(i).id?"bg-resolver-selected":"",!D(r).duringAnimation&&D(e)===D(r).currentIndex?"bg-resolver-selected":""])},[nt("div",Cn,[nt("div",null,pt(D(i).rank),1)]),nt("div",Mn,[nt("div",An,pt(s(D(i))),1),nt("div",Rn,[(Z(!0),Q(Qt,null,ur(D(i).problemStatistics,(a,f)=>(Z(),Q("div",{key:a.problem.id,class:si(["rounded w-22 h-7 flex justify-center items-center",[a.isAccepted?"bg-resolver-ac":"",a.isWrongAnswer?"bg-resolver-wa":"",a.isPending?"bg-resolver-pending":"",a.isUnSubmitted?"bg-resolver-untouched":"",D(r).problemFlashingEnded===!1&&D(e)===D(r).currentIndex&&D(r).currentProblemIndex===f?"resolver-uncover":""]])},[a.isAccepted?(Z(),Q(Qt,{key:0},[Re(pt(`${a.failedCount+Number(a.isAccepted)}/${Math.floor(a.lastSubmitTimestamp/60)}`),1)],64)):de("",!0),a.isWrongAnswer?(Z(),Q(Qt,{key:1},[Re(pt(`${a.failedCount}/${Math.floor(a.lastSubmitTimestamp/60)}`),1)],64)):de("",!0),a.isPending?(Z(),Q(Qt,{key:2},[Re(pt(`${a.failedCount} + ${a.pendingCount}`),1)],64)):de("",!0),a.isUnSubmitted?(Z(),Q(Qt,{key:3},[Re(pt(a.problem.label),1)],64)):de("",!0)],2))),128))])]),nt("div",Dn,[nt("div",En,pt(D(i).solvedProblemNum),1),nt("div",Fn,pt(D(i).penaltyToMinute),1)])],2))],512))}}),In=lr(zn,[["__scopeId","data-v-642e4b0a"]]);function Pt(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function fr(u,t){u.prototype=Object.create(t.prototype),u.prototype.constructor=u,u.__proto__=t}/*! * GSAP 3.12.7 * https://gsap.com * * @license Copyright 2008-2025, 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 ut={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ne={duration:.5,overwrite:!1,delay:0},wi,G,E,xt=1e8,K=1/xt,oi=Math.PI*2,Ln=oi/4,Nn=0,_r=Math.sqrt,Bn=Math.cos,Vn=Math.sin,X=function(t){return typeof t=="string"},I=function(t){return typeof t=="function"},Ot=function(t){return typeof t=="number"},bi=function(t){return typeof t>"u"},wt=function(t){return typeof t=="object"},J=function(t){return t!==!1},Pi=function(){return typeof window<"u"},Ee=function(t){return I(t)||X(t)},hr=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},j=Array.isArray,ai=/(?:-?\.?\d|\.)+/gi,cr=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Zt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Qe=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,dr=/[+-]=-?[.\d]+/,pr=/[^,'"\[\]\s]+/gi,Yn=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,F,mt,ui,Si,lt={},Be={},mr,gr=function(t){return(Be=se(t,lt))&&rt},ki=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},xe=function(t,e){return!e&&console.warn(t)},yr=function(t,e){return t&&(lt[t]=e)&&Be&&(Be[t]=e)||lt},Te=function(){return 0},Un={suppressEvents:!0,isStart:!0,kill:!1},ze={suppressEvents:!0,kill:!1},Xn={suppressEvents:!0},Oi={},Dt=[],li={},vr,st={},Ze={},Ui=30,Ie=[],Ci="",Mi=function(t){var e=t[0],i,r;if(wt(e)||I(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(r=Ie.length;r--&&!Ie[r].targetTest(e););i=Ie[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Xr(t[r],i)))||t.splice(r,1);return t},$t=function(t){return t._gsap||Mi(ht(t))[0]._gsap},xr=function(t,e,i){return(i=t[e])&&I(i)?t[e]():bi(i)&&t.getAttribute&&t.getAttribute(e)||i},tt=function(t,e){return(t=t.split(",")).forEach(e)||t},L=function(t){return Math.round(t*1e5)/1e5||0},V=function(t){return Math.round(t*1e7)/1e7||0},te=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},$n=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++r<i;);return r<i},Ve=function(){var t=Dt.length,e=Dt.slice(0),i,r;for(li={},Dt.length=0,i=0;i<t;i++)r=e[i],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},Tr=function(t,e,i,r){Dt.length&&!G&&Ve(),t.render(e,i,G&&e<0&&(t._initted||t._startAt)),Dt.length&&!G&&Ve()},wr=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(pr).length<2?e:X(t)?t.trim():t},br=function(t){return t},ft=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},Gn=function(t){return function(e,i){for(var r in i)r in e||r==="duration"&&t||r==="ease"||(e[r]=i[r])}},se=function(t,e){for(var i in e)t[i]=e[i];return t},Xi=function u(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=wt(e[i])?u(t[i]||(t[i]={}),e[i]):e[i]);return t},Ye=function(t,e){var i={},r;for(r in t)r in e||(i[r]=t[r]);return i},ge=function(t){var e=t.parent||F,i=t.keyframes?Gn(j(t.keyframes)):ft;if(J(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},Wn=function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0},Pr=function(t,e,i,r,n){var s=t[r],o;if(n)for(o=e[n];s&&s[n]>o;)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},We=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},zt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Gt=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},qn=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},fi=function(t,e,i,r){return t._startAt&&(G?t._startAt.revert(ze):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},Kn=function u(t){return!t||t._ts&&u(t.parent)},$i=function(t){return t._repeat?oe(t._tTime,t=t.duration()+t._rDelay)*t:0},oe=function(t,e){var i=Math.floor(t=V(t/e));return t&&i===t?i-1:i},Ue=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},qe=function(t){return t._end=V(t._start+(t._tDur/Math.abs(t._ts||t._rts||K)||0))},Ke=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=V(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),qe(t),i._dirty||Gt(i,t)),t},Sr=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=Ue(t.rawTime(),e),(!e._dur||Me(0,e.totalDuration(),i)-e._tTime>K)&&e.render(i,!0)),Gt(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=-1e-8}},gt=function(t,e,i,r){return e.parent&&zt(e),e._start=V((Ot(i)?i:i||t!==F?_t(t,i,e):t._time)+e._delay),e._end=V(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Pr(t,e,"_first","_last",t._sort?"_start":0),_i(e)||(t._recent=e),r||Sr(t,e),t._ts<0&&Ke(t,t._tTime),t},kr=function(t,e){return(lt.ScrollTrigger||ki("scrollTrigger",e))&&lt.ScrollTrigger.create(e,t)},Or=function(t,e,i,r,n){if(Ri(t,e,n),!t._initted)return 1;if(!i&&t._pt&&!G&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&vr!==ot.frame)return Dt.push(t),t._lazy=[n,r],1},jn=function u(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||u(e))},_i=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},Hn=function(t,e,i,r){var n=t.ratio,s=e<0||!e&&(!t._start&&jn(t)&&!(!t._initted&&_i(t))||(t._ts<0||t._dp._ts<0)&&!_i(t))?0:1,o=t._rDelay,l=0,a,f,h;if(o&&t._repeat&&(l=Me(0,t._tDur,e),f=oe(l,o),t._yoyo&&f&1&&(s=1-s),f!==oe(t._tTime,o)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||G||r||t._zTime===K||!e&&t._zTime){if(!t._initted&&Or(t,e,r,i,l))return;for(h=t._zTime,t._zTime=e||(i?K:0),i||(i=e&&!h),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=l,a=t._pt;a;)a.r(s,a.d),a=a._next;e<0&&fi(t,e,i,!0),t._onUpdate&&!i&&at(t,"onUpdate"),l&&t._repeat&&!i&&t.parent&&at(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&zt(t,1),!i&&!G&&(at(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},Qn=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}},ae=function(t,e,i,r){var n=t._repeat,s=V(e)||0,o=t._tTime/t._tDur;return o&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:V(s*(n+1)+t._rDelay*n):s,o>0&&!r&&Ke(t,t._tTime=t._tDur*o),t.parent&&qe(t),i||Gt(t.parent,t),t},Gi=function(t){return t instanceof H?Gt(t):ae(t,t._dur)},Zn={_start:0,endTime:Te,totalDuration:Te},_t=function u(t,e,i){var r=t.labels,n=t._recent||Zn,s=t.duration()>=xt?n.endTime(!1):t._dur,o,l,a;return X(e)&&(isNaN(e)||e in r)?(l=e.charAt(0),a=e.substr(-1)==="%",o=e.indexOf("="),l==="<"||l===">"?(o>=0&&(e=e.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(a?(o<0?n:i).totalDuration()/100:1)):o<0?(e in r||(r[e]=s),r[e]):(l=parseFloat(e.charAt(o-1)+e.substr(o+1)),a&&i&&(l=l/100*(j(i)?i[0]:i).totalDuration()),o>1?u(t,e.substr(0,o-1),i)+l:s+l)):e==null?s:+e},ye=function(t,e,i){var r=Ot(e[1]),n=(r?2:1)+(t<2?0:1),s=e[n],o,l;if(r&&(s.duration=e[1]),s.parent=i,t){for(o=s,l=i;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=J(l.vars.inherit)&&l.parent;s.immediateRender=J(o.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new B(e[0],s,e[n+1])},Lt=function(t,e){return t||t===0?e(t):e},Me=function(t,e,i){return i<t?t:i>e?e:i},W=function(t,e){return!X(t)||!(e=Yn.exec(t))?"":e[1]},Jn=function(t,e,i){return Lt(i,function(r){return Me(t,e,r)})},hi=[].slice,Cr=function(t,e){return t&&wt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&wt(t[0]))&&!t.nodeType&&t!==mt},ts=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(r){var n;return X(r)&&!e||Cr(r,1)?(n=i).push.apply(n,ht(r)):i.push(r)})||i},ht=function(t,e,i){return E&&!e&&E.selector?E.selector(t):X(t)&&!i&&(ui||!ue())?hi.call((e||Si).querySelectorAll(t),0):j(t)?ts(t,i):Cr(t)?hi.call(t,0):t?[t]:[]},ci=function(t){return t=ht(t)[0]||xe("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return ht(e,i.querySelectorAll?i:i===t?xe("Invalid scope")||Si.createElement("div"):t)}},Mr=function(t){return t.sort(function(){return .5-Math.random()})},Ar=function(t){if(I(t))return t;var e=wt(t)?t:{each:t},i=Wt(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},o=r>0&&r<1,l=isNaN(r)||o,a=e.axis,f=r,h=r;return X(r)?f=h={center:.5,edges:.5,end:1}[r]||0:!o&&l&&(f=r[0],h=r[1]),function(c,d,m){var _=(m||e).length,p=s[_],v,g,x,T,y,b,P,S,w;if(!p){if(w=e.grid==="auto"?0:(e.grid||[1,xt])[1],!w){for(P=-1e8;P<(P=m[w++].getBoundingClientRect().left)&&w<_;);w<_&&w--}for(p=s[_]=[],v=l?Math.min(w,_)*f-.5:r%w,g=w===xt?0:l?_*h/w-.5:r/w|0,P=0,S=xt,b=0;b<_;b++)x=b%w-v,T=g-(b/w|0),p[b]=y=a?Math.abs(a==="y"?T:x):_r(x*x+T*T),y>P&&(P=y),y<S&&(S=y);r==="random"&&Mr(p),p.max=P-S,p.min=S,p.v=_=(parseFloat(e.amount)||parseFloat(e.each)*(w>_?_-1:a?a==="y"?_/w:w:Math.max(w,_/w))||0)*(r==="edges"?-1:1),p.b=_<0?n-_:n,p.u=W(e.amount||e.each)||0,i=i&&_<0?Vr(i):i}return _=(p[c]-p.min)/p.max||0,V(p.b+(i?i(_):_)*p.v)+p.u}},di=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=V(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(Ot(i)?0:W(i))}},Rr=function(t,e){var i=j(t),r,n;return!i&&wt(t)&&(r=i=t.radius||xt,t.values?(t=ht(t.values),(n=!Ot(t[0]))&&(r*=r)):t=di(t.increment)),Lt(e,i?I(t)?function(s){return n=t(s),Math.abs(n-s)<=r?n:s}:function(s){for(var o=parseFloat(n?s.x:s),l=parseFloat(n?s.y:0),a=xt,f=0,h=t.length,c,d;h--;)n?(c=t[h].x-o,d=t[h].y-l,c=c*c+d*d):c=Math.abs(t[h]-o),c<a&&(a=c,f=h);return f=!r||a<=r?t[f]:s,n||f===s||Ot(s)?f:f+W(s)}:di(t))},Dr=function(t,e,i,r){return Lt(j(t)?!e:i===!0?!!(i=0):!r,function(){return j(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})},es=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)}},is=function(t,e){return function(i){return t(parseFloat(i))+(e||W(i))}},rs=function(t,e,i){return Fr(t,e,0,1,i)},Er=function(t,e,i){return Lt(i,function(r){return t[~~e(r)]})},ns=function u(t,e,i){var r=e-t;return j(t)?Er(t,u(0,t.length),e):Lt(i,function(n){return(r+(n-t)%r)%r+t})},ss=function u(t,e,i){var r=e-t,n=r*2;return j(t)?Er(t,u(0,t.length-1),e):Lt(i,function(s){return s=(n+(s-t)%n)%n||0,t+(s>r?n-s:s)})},we=function(t){for(var e=0,i="",r,n,s,o;~(r=t.indexOf("random(",e));)s=t.indexOf(")",r),o=t.charAt(r+7)==="[",n=t.substr(r+7,s-r-7).match(o?pr:ai),i+=t.substr(e,r-e)+Dr(o?n:+n[0],o?0:+n[1],+n[2]||1e-5),e=s+1;return i+t.substr(e,t.length-e)},Fr=function(t,e,i,r,n){var s=e-t,o=r-i;return Lt(n,function(l){return i+((l-t)/s*o||0)})},os=function u(t,e,i,r){var n=isNaN(t+e)?0:function(d){return(1-d)*t+d*e};if(!n){var s=X(t),o={},l,a,f,h,c;if(i===!0&&(r=1)&&(i=null),s)t={p:t},e={p:e};else if(j(t)&&!j(e)){for(f=[],h=t.length,c=h-2,a=1;a<h;a++)f.push(u(t[a-1],t[a]));h--,n=function(m){m*=h;var _=Math.min(c,~~m);return f[_](m-_)},i=e}else r||(t=se(j(t)?[]:{},t));if(!f){for(l in e)Ai.call(o,t,l,"get",e[l]);n=function(m){return Fi(m,o)||(s?t.p:t)}}}return Lt(i,n)},Wi=function(t,e,i){var r=t.labels,n=xt,s,o,l;for(s in r)o=r[s]-e,o<0==!!i&&o&&n>(o=Math.abs(o))&&(l=s,n=o);return l},at=function(t,e,i){var r=t.vars,n=r[e],s=E,o=t._ctx,l,a,f;if(n)return l=r[e+"Params"],a=r.callbackScope||t,i&&Dt.length&&Ve(),o&&(E=o),f=l?n.apply(a,l):n.call(a),E=s,f},pe=function(t){return zt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!G),t.progress()<1&&at(t,"onInterrupt"),t},Jt,zr=[],Ir=function(t){if(t)if(t=!t.name&&t.default||t,Pi()||t.headless){var e=t.name,i=I(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:Te,render:Fi,add:Ai,kill:ws,modifier:Ts,rawVars:0},s={targetTest:0,get:0,getSetter:Ei,aliases:{},register:0};if(ue(),t!==r){if(st[e])return;ft(r,ft(Ye(t,n),s)),se(r.prototype,se(n,Ye(t,s))),st[r.prop=e]=r,t.targetTest&&(Ie.push(r),Oi[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}yr(e,r),t.register&&t.register(rt,r,et)}else zr.push(t)},C=255,me={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]},Je=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},Lr=function(t,e,i){var r=t?Ot(t)?[t>>16,t>>8&C,t&C]:0:me.black,n,s,o,l,a,f,h,c,d,m;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),me[t])r=me[t];else if(t.charAt(0)==="#"){if(t.length<6&&(n=t.charAt(1),s=t.charAt(2),o=t.charAt(3),t="#"+n+n+s+s+o+o+(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=m=t.match(ai),!e)l=+r[0]%360/360,a=+r[1]/100,f=+r[2]/100,s=f<=.5?f*(a+1):f+a-f*a,n=f*2-s,r.length>3&&(r[3]*=1),r[0]=Je(l+1/3,n,s),r[1]=Je(l,n,s),r[2]=Je(l-1/3,n,s);else if(~t.indexOf("="))return r=t.match(cr),i&&r.length<4&&(r[3]=1),r}else r=t.match(ai)||me.transparent;r=r.map(Number)}return e&&!m&&(n=r[0]/C,s=r[1]/C,o=r[2]/C,h=Math.max(n,s,o),c=Math.min(n,s,o),f=(h+c)/2,h===c?l=a=0:(d=h-c,a=f>.5?d/(2-h-c):d/(h+c),l=h===n?(s-o)/d+(s<o?6:0):h===s?(o-n)/d+2:(n-s)/d+4,l*=60),r[0]=~~(l+.5),r[1]=~~(a*100+.5),r[2]=~~(f*100+.5)),i&&r.length<4&&(r[3]=1),r},Nr=function(t){var e=[],i=[],r=-1;return t.split(Et).forEach(function(n){var s=n.match(Zt)||[];e.push.apply(e,s),i.push(r+=s.length+1)}),e.c=i,e},qi=function(t,e,i){var r="",n=(t+r).match(Et),s=e?"hsla(":"rgba(",o=0,l,a,f,h;if(!n)return t;if(n=n.map(function(c){return(c=Lr(c,e,1))&&s+(e?c[0]+","+c[1]+"%,"+c[2]+"%,"+c[3]:c.join(","))+")"}),i&&(f=Nr(t),l=i.c,l.join(r)!==f.c.join(r)))for(a=t.replace(Et,"1").split(Zt),h=a.length-1;o<h;o++)r+=a[o]+(~l.indexOf(o)?n.shift()||s+"0,0,0,0)":(f.length?f:n.length?n:i).shift());if(!a)for(a=t.split(Et),h=a.length-1;o<h;o++)r+=a[o]+n[o];return r+a[h]},Et=function(){var u="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in me)u+="|"+t+"\\b";return new RegExp(u+")","gi")}(),as=/hsl[a]?\(/,Br=function(t){var e=t.join(" "),i;if(Et.lastIndex=0,Et.test(e))return i=as.test(e),t[1]=qi(t[1],i),t[0]=qi(t[0],i,Nr(t[1])),!0},be,ot=function(){var u=Date.now,t=500,e=33,i=u(),r=i,n=1e3/240,s=n,o=[],l,a,f,h,c,d,m=function _(p){var v=u()-r,g=p===!0,x,T,y,b;if((v>t||v<0)&&(i+=v-e),r+=v,y=r-i,x=y-s,(x>0||g)&&(b=++h.frame,c=y-h.time*1e3,h.time=y=y/1e3,s+=x+(x>=n?4:n-x),T=1),g||(l=a(_)),T)for(d=0;d<o.length;d++)o[d](y,c,b,p)};return h={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(p){return c/(1e3/(p||60))},wake:function(){mr&&(!ui&&Pi()&&(mt=ui=window,Si=mt.document||{},lt.gsap=rt,(mt.gsapVersions||(mt.gsapVersions=[])).push(rt.version),gr(Be||mt.GreenSockGlobals||!mt.gsap&&mt||{}),zr.forEach(Ir)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&h.sleep(),a=f||function(p){return setTimeout(p,s-h.time*1e3+1|0)},be=1,m(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(l),be=0,a=Te},lagSmoothing:function(p,v){t=p||1/0,e=Math.min(v||33,t)},fps:function(p){n=1e3/(p||240),s=h.time*1e3+n},add:function(p,v,g){var x=v?function(T,y,b,P){p(T,y,b,P),h.remove(x)}:p;return h.remove(p),o[g?"unshift":"push"](x),ue(),x},remove:function(p,v){~(v=o.indexOf(p))&&o.splice(v,1)&&d>=v&&d--},_listeners:o},h}(),ue=function(){return!be&&ot.wake()},k={},us=/^[\d.\-M][\d.\-,\s]/,ls=/["']/g,fs=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),r=i[0],n=1,s=i.length,o,l,a;n<s;n++)l=i[n],o=n!==s-1?l.lastIndexOf(","):l.length,a=l.substr(0,o),e[r]=isNaN(a)?a.replace(ls,"").trim():+a,r=l.substr(o+1).trim();return e},_s=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)},hs=function(t){var e=(t+"").split("("),i=k[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[fs(e[1])]:_s(t).split(",").map(wr)):k._CE&&us.test(t)?k._CE("",t):i},Vr=function(t){return function(e){return 1-t(1-e)}},Yr=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},Wt=function(t,e){return t&&(I(t)?t:k[t]||hs(t))||e},jt=function(t,e,i,r){i===void 0&&(i=function(l){return 1-e(1-l)}),r===void 0&&(r=function(l){return l<.5?e(l*2)/2:1-e((1-l)*2)/2});var n={easeIn:e,easeOut:i,easeInOut:r},s;return tt(t,function(o){k[o]=lt[o]=n,k[s=o.toLowerCase()]=i;for(var l in n)k[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=k[o+"."+l]=n[l]}),n},Ur=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},ti=function u(t,e,i){var r=e>=1?e:1,n=(i||(t?.3:.45))/(e<1?e:1),s=n/oi*(Math.asin(1/r)||0),o=function(f){return f===1?1:r*Math.pow(2,-10*f)*Vn((f-s)*n)+1},l=t==="out"?o:t==="in"?function(a){return 1-o(1-a)}:Ur(o);return n=oi/n,l.config=function(a,f){return u(t,a,f)},l},ei=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)}:Ur(i);return r.config=function(n){return u(t,n)},r};tt("Linear,Quad,Cubic,Quart,Quint,Strong",function(u,t){var e=t<5?t+1:t;jt(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})});k.Linear.easeNone=k.none=k.Linear.easeIn;jt("Elastic",ti("in"),ti("out"),ti());(function(u,t){var e=1/t,i=2*e,r=2.5*e,n=function(o){return o<e?u*o*o:o<i?u*Math.pow(o-1.5/t,2)+.75:o<r?u*(o-=2.25/t)*o+.9375:u*Math.pow(o-2.625/t,2)+.984375};jt("Bounce",function(s){return 1-n(1-s)},n)})(7.5625,2.75);jt("Expo",function(u){return Math.pow(2,10*(u-1))*u+u*u*u*u*u*u*(1-u)});jt("Circ",function(u){return-(_r(1-u*u)-1)});jt("Sine",function(u){return u===1?1:-Bn(u*Ln)+1});jt("Back",ei("in"),ei("out"),ei());k.SteppedEase=k.steps=lt.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-K;return function(o){return((r*Me(0,s,o)|0)+n)*i}}};ne.ease=k["quad.out"];tt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(u){return Ci+=u+","+u+"Params,"});var Xr=function(t,e){this.id=Nn++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:xr,this.set=e?e.getSetter:Ei},Pe=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,ae(this,+e.duration,1,1),this.data=e.data,E&&(this._ctx=E,E.data.push(this)),be||ot.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,ae(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,r){if(ue(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Ke(this,i),!n._dp||n.parent||Sr(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)&&gt(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===K||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Tr(this,i,r)),this},t.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+$i(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&&this._initted?1:0},t.progress=function(i,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+$i(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?oe(this._tTime,n)+1:1},t.timeScale=function(i,r){if(!arguments.length)return this._rts===-1e-8?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?Ue(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-1e-8?0:this._rts,this.totalTime(Me(-Math.abs(this._delay),this._tDur,n),r!==!1),qe(this),qn(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):(ue(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==K&&(this._tTime-=K)))),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)&&gt(r,this,i-this._delay),this}return this._start},t.endTime=function(i){return this._start+(J(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?Ue(r.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=Xn);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,Gi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,Gi(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(_t(this,i),J(r))},t.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,J(r)),this._dur||(this._zTime=-1e-8),this},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?-1e-8:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},t.isActive=function(){var 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)-K)},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:br,o=function(){var a=r.then;r.then=null,I(s)&&(s=s(r))&&(s.then||s===r)&&(r.then=a),n(s),r.then=a};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?o():r._prom=o})},t.kill=function(){pe(this)},u}();ft(Pe.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var H=function(u){fr(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=J(i.sortChildren),F&&gt(i.parent||F,Pt(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&kr(Pt(n),i.scrollTrigger),n}var e=t.prototype;return e.to=function(r,n,s){return ye(0,arguments,this),this},e.from=function(r,n,s){return ye(1,arguments,this),this},e.fromTo=function(r,n,s,o){return ye(2,arguments,this),this},e.set=function(r,n,s){return n.duration=0,n.parent=this,ge(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new B(r,n,_t(this,s),1),this},e.call=function(r,n,s){return gt(this,B.delayedCall(0,r,n),s)},e.staggerTo=function(r,n,s,o,l,a,f){return s.duration=n,s.stagger=s.stagger||o,s.onComplete=a,s.onCompleteParams=f,s.parent=this,new B(r,s,_t(this,l)),this},e.staggerFrom=function(r,n,s,o,l,a,f){return s.runBackwards=1,ge(s).immediateRender=J(s.immediateRender),this.staggerTo(r,n,s,o,l,a,f)},e.staggerFromTo=function(r,n,s,o,l,a,f,h){return o.startAt=s,ge(o).immediateRender=J(o.immediateRender),this.staggerTo(r,n,o,l,a,f,h)},e.render=function(r,n,s){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,a=this._dur,f=r<=0?0:V(r),h=this._zTime<0!=r<0&&(this._initted||!a),c,d,m,_,p,v,g,x,T,y,b,P;if(this!==F&&f>l&&r>=0&&(f=l),f!==this._tTime||s||h){if(o!==this._time&&a&&(f+=this._time-o,r+=this._time-o),c=f,T=this._start,x=this._ts,v=!x,h&&(a||(o=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(b=this._yoyo,p=a+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(p*100+r,n,s);if(c=V(f%p),f===l?(_=this._repeat,c=a):(y=V(f/p),_=~~y,_&&_===y&&(c=a,_--),c>a&&(c=a)),y=oe(this._tTime,p),!o&&this._tTime&&y!==_&&this._tTime-y*p-this._dur<=0&&(y=_),b&&_&1&&(c=a-c,P=1),_!==y&&!this._lock){var S=b&&y&1,w=S===(b&&_&1);if(_<y&&(S=!S),o=S?0:f%a?a:f,this._lock=1,this.render(o||(P?0:V(_*p)),n,!a)._lock=0,this._tTime=f,!n&&this.parent&&at(this,"onRepeat"),this.vars.repeatRefresh&&!P&&(this.invalidate()._lock=1),o&&o!==this._time||v!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(a=this._dur,l=this._tDur,w&&(this._lock=2,o=S?a:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!P&&this.invalidate()),this._lock=0,!this._ts&&!v)return this;Yr(this,P)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(g=Qn(this,V(o),V(c)),g&&(f-=c-(c=g._start))),this._tTime=f,this._time=c,this._act=!x,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,o=0),!o&&c&&!n&&!_&&(at(this,"onStart"),this._tTime!==f))return this;if(c>=o&&r>=0)for(d=this._first;d;){if(m=d._next,(d._act||c>=d._start)&&d._ts&&g!==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&&!v){g=0,m&&(f+=this._zTime=-1e-8);break}}d=m}else{d=this._last;for(var O=r<0?r:c;d;){if(m=d._prev,(d._act||O<=d._end)&&d._ts&&g!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(O-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(O-d._start)*d._ts,n,s||G&&(d._initted||d._startAt)),c!==this._time||!this._ts&&!v){g=0,m&&(f+=this._zTime=O?-1e-8:K);break}}d=m}}if(g&&!n&&(this.pause(),g.render(c>=o?0:-1e-8)._zTime=c>=o?1:-1,this._ts))return this._start=T,qe(this),this.render(r,n,s);this._onUpdate&&!n&&at(this,"onUpdate",!0),(f===l&&this._tTime>=this.totalDuration()||!f&&o)&&(T===this._start||Math.abs(x)!==Math.abs(this._ts))&&(this._lock||((r||!a)&&(f===l&&this._ts>0||!f&&this._ts<0)&&zt(this,1),!n&&!(r<0&&!o)&&(f||o||!l)&&(at(this,f===l&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(r,n){var s=this;if(Ot(n)||(n=_t(this,n,r)),!(r instanceof Pe)){if(j(r))return r.forEach(function(o){return s.add(o,n)}),this;if(X(r))return this.addLabel(r,n);if(I(r))r=B.delayedCall(0,r);else return this}return this!==r?gt(this,r,n):this},e.getChildren=function(r,n,s,o){r===void 0&&(r=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=-1e8);for(var l=[],a=this._first;a;)a._start>=o&&(a instanceof B?n&&l.push(a):(s&&l.push(a),r&&l.push.apply(l,a.getChildren(!0,n,s)))),a=a._next;return l},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 X(r)?this.removeLabel(r):I(r)?this.killTweensOf(r):(r.parent===this&&We(this,r),r===this._recent&&(this._recent=this._last),Gt(this))},e.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=V(ot.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]=_t(this,n),this},e.removeLabel=function(r){return delete this.labels[r],this},e.addPause=function(r,n,s){var o=B.delayedCall(0,n||Te,s);return o.data="isPause",this._hasPause=1,gt(this,o,_t(this,r))},e.removePause=function(r){var n=this._first;for(r=_t(this,r);n;)n._start===r&&n.data==="isPause"&&zt(n),n=n._next},e.killTweensOf=function(r,n,s){for(var o=this.getTweensOf(r,s),l=o.length;l--;)Mt!==o[l]&&o[l].kill(r,n);return this},e.getTweensOf=function(r,n){for(var s=[],o=ht(r),l=this._first,a=Ot(n),f;l;)l instanceof B?$n(l._targets,o)&&(a?(!Mt||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&s.push(l):(f=l.getTweensOf(o,n)).length&&s.push.apply(s,f),l=l._next;return s},e.tweenTo=function(r,n){n=n||{};var s=this,o=_t(s,r),l=n,a=l.startAt,f=l.onStart,h=l.onStartParams,c=l.immediateRender,d,m=B.to(s,ft({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:n.duration||Math.abs((o-(a&&"time"in a?a.time:s._time))/s.timeScale())||K,onStart:function(){if(s.pause(),!d){var p=n.duration||Math.abs((o-(a&&"time"in a?a.time:s._time))/s.timeScale());m._dur!==p&&ae(m,p,0,1).render(m._time,!0,!0),d=1}f&&f.apply(m,h||[])}},n));return c?m.render(0):m},e.tweenFromTo=function(r,n,s){return this.tweenTo(n,ft({startAt:{time:_t(this,r)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),Wi(this,_t(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),Wi(this,_t(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+K)},e.shiftChildren=function(r,n,s){s===void 0&&(s=0);for(var o=this._first,l=this.labels,a;o;)o._start>=s&&(o._start+=r,o._end+=r),o=o._next;if(n)for(a in l)l[a]>=s&&(l[a]+=r);return Gt(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={}),Gt(this)},e.totalDuration=function(r){var n=0,s=this,o=s._last,l=xt,a,f,h;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-r:r));if(s._dirty){for(h=s.parent;o;)a=o._prev,o._dirty&&o.totalDuration(),f=o._start,f>l&&s._sort&&o._ts&&!s._lock?(s._lock=1,gt(s,o,f-o._delay,1)._lock=0):l=f,f<0&&o._ts&&(n-=f,(!h&&!s._dp||h&&h.smoothChildTiming)&&(s._start+=f/s._ts,s._time-=f,s._tTime-=f),s.shiftChildren(-f,!1,-1/0),l=0),o._end>n&&o._ts&&(n=o._end),o=a;ae(s,s===F&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(r){if(F._ts&&(Tr(F,Ue(r,F)),vr=ot.frame),ot.frame>=Ui){Ui+=ut.autoSleep||120;var n=F._first;if((!n||!n._ts)&&ut.autoSleep&&ot._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||ot.sleep()}}},t}(Pe);ft(H.prototype,{_lock:0,_hasPause:0,_forcing:0});var cs=function(t,e,i,r,n,s,o){var l=new et(this._pt,t,e,0,1,jr,null,n),a=0,f=0,h,c,d,m,_,p,v,g;for(l.b=i,l.e=r,i+="",r+="",(v=~r.indexOf("random("))&&(r=we(r)),s&&(g=[i,r],s(g,t,e),i=g[0],r=g[1]),c=i.match(Qe)||[];h=Qe.exec(r);)m=h[0],_=r.substring(a,h.index),d?d=(d+1)%5:_.substr(-5)==="rgba("&&(d=1),m!==c[f++]&&(p=parseFloat(c[f-1])||0,l._pt={_next:l._pt,p:_||f===1?_:",",s:p,c:m.charAt(1)==="="?te(p,m)-p:parseFloat(m)-p,m:d&&d<4?Math.round:0},a=Qe.lastIndex);return l.c=a<r.length?r.substring(a,r.length):"",l.fp=o,(dr.test(r)||v)&&(l.e=0),this._pt=l,l},Ai=function(t,e,i,r,n,s,o,l,a,f){I(r)&&(r=r(n||0,t,s));var h=t[e],c=i!=="get"?i:I(h)?a?t[e.indexOf("set")||!I(t["get"+e.substr(3)])?e:"get"+e.substr(3)](a):t[e]():h,d=I(h)?a?ys:qr:Di,m;if(X(r)&&(~r.indexOf("random(")&&(r=we(r)),r.charAt(1)==="="&&(m=te(c,r)+(W(c)||0),(m||m===0)&&(r=m))),!f||c!==r||pi)return!isNaN(c*r)&&r!==""?(m=new et(this._pt,t,e,+c||0,r-(c||0),typeof h=="boolean"?xs:Kr,0,d),a&&(m.fp=a),o&&m.modifier(o,this,t),this._pt=m):(!h&&!(e in t)&&ki(e,r),cs.call(this,t,e,c,r,d,l||ut.stringFilter,a))},ds=function(t,e,i,r,n){if(I(t)&&(t=ve(t,n,e,i,r)),!wt(t)||t.style&&t.nodeType||j(t)||hr(t))return X(t)?ve(t,n,e,i,r):t;var s={},o;for(o in t)s[o]=ve(t[o],n,e,i,r);return s},$r=function(t,e,i,r,n,s){var o,l,a,f;if(st[t]&&(o=new st[t]).init(n,o.rawVars?e[t]:ds(e[t],r,n,s,i),i,r,s)!==!1&&(i._pt=l=new et(i._pt,n,t,0,1,o.render,o,0,o.priority),i!==Jt))for(a=i._ptLookup[i._targets.indexOf(n)],f=o._props.length;f--;)a[o._props[f]]=l;return o},Mt,pi,Ri=function u(t,e,i){var r=t.vars,n=r.ease,s=r.startAt,o=r.immediateRender,l=r.lazy,a=r.onUpdate,f=r.runBackwards,h=r.yoyoEase,c=r.keyframes,d=r.autoRevert,m=t._dur,_=t._startAt,p=t._targets,v=t.parent,g=v&&v.data==="nested"?v.vars.targets:p,x=t._overwrite==="auto"&&!wi,T=t.timeline,y,b,P,S,w,O,R,M,A,$,Y,N,U;if(T&&(!c||!n)&&(n="none"),t._ease=Wt(n,ne.ease),t._yEase=h?Vr(Wt(h===!0?n:h,ne.ease)):0,h&&t._yoyo&&!t._repeat&&(h=t._yEase,t._yEase=t._ease,t._ease=h),t._from=!T&&!!r.runBackwards,!T||c&&!r.stagger){if(M=p[0]?$t(p[0]).harness:0,N=M&&r[M.prop],y=Ye(r,Oi),_&&(_._zTime<0&&_.progress(1),e<0&&f&&o&&!d?_.render(-1,!0):_.revert(f&&m?ze:Un),_._lazy=0),s){if(zt(t._startAt=B.set(p,ft({data:"isStart",overwrite:!1,parent:v,immediateRender:!0,lazy:!_&&J(l),startAt:null,delay:0,onUpdate:a&&function(){return at(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(G||!o&&!d)&&t._startAt.revert(ze),o&&m&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(f&&m&&!_){if(e&&(o=!1),P=ft({overwrite:!1,data:"isFromStart",lazy:o&&!_&&J(l),immediateRender:o,stagger:0,parent:v},y),N&&(P[M.prop]=N),zt(t._startAt=B.set(p,P)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(G?t._startAt.revert(ze):t._startAt.render(-1,!0)),t._zTime=e,!o)u(t._startAt,K,K);else if(!e)return}for(t._pt=t._ptCache=0,l=m&&J(l)||l&&!m,b=0;b<p.length;b++){if(w=p[b],R=w._gsap||Mi(p)[b]._gsap,t._ptLookup[b]=$={},li[R.id]&&Dt.length&&Ve(),Y=g===p?b:g.indexOf(w),M&&(A=new M).init(w,N||y,t,Y,g)!==!1&&(t._pt=S=new et(t._pt,w,A.name,0,1,A.render,A,0,A.priority),A._props.forEach(function(ct){$[ct]=S}),A.priority&&(O=1)),!M||N)for(P in y)st[P]&&(A=$r(P,y,t,Y,w,g))?A.priority&&(O=1):$[P]=S=Ai.call(t,w,P,"get",y[P],Y,g,0,r.stringFilter);t._op&&t._op[b]&&t.kill(w,t._op[b]),x&&t._pt&&(Mt=t,F.killTweensOf(w,$,t.globalTime(e)),U=!t.parent,Mt=0),t._pt&&l&&(li[R.id]=1)}O&&Hr(t),t._onInit&&t._onInit(t)}t._onUpdate=a,t._initted=(!t._op||t._pt)&&!U,c&&e<=0&&T.render(xt,!0,!0)},ps=function(t,e,i,r,n,s,o,l){var a=(t._pt&&t._ptCache||(t._ptCache={}))[e],f,h,c,d;if(!a)for(a=t._ptCache[e]=[],c=t._ptLookup,d=t._targets.length;d--;){if(f=c[d][e],f&&f.d&&f.d._pt)for(f=f.d._pt;f&&f.p!==e&&f.fp!==e;)f=f._next;if(!f)return pi=1,t.vars[e]="+=0",Ri(t,o),pi=0,l?xe(e+" not eligible for reset"):1;a.push(f)}for(d=a.length;d--;)h=a[d],f=h._pt||h,f.s=(r||r===0)&&!n?r:f.s+(r||0)+s*f.c,f.c=i-f.s,h.e&&(h.e=L(i)+W(h.e)),h.b&&(h.b=f.s+W(h.b))},ms=function(t,e){var i=t[0]?$t(t[0]).harness:0,r=i&&i.aliases,n,s,o,l;if(!r)return e;n=se({},e);for(s in r)if(s in n)for(l=r[s].split(","),o=l.length;o--;)n[l[o]]=n[s];return n},gs=function(t,e,i,r){var n=e.ease||r||"power1.inOut",s,o;if(j(e))o=i[t]||(i[t]=[]),e.forEach(function(l,a){return o.push({t:a/(e.length-1)*100,v:l,e:n})});else for(s in e)o=i[s]||(i[s]=[]),s==="ease"||o.push({t:parseFloat(t),v:e[s],e:n})},ve=function(t,e,i,r,n){return I(t)?t.call(e,i,r,n):X(t)&&~t.indexOf("random(")?we(t):t},Gr=Ci+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Wr={};tt(Gr+",id,stagger,delay,duration,paused,scrollTrigger",function(u){return Wr[u]=1});var B=function(u){fr(t,u);function t(i,r,n,s){var o;typeof r=="number"&&(n.duration=r,r=n,n=null),o=u.call(this,s?r:ge(r))||this;var l=o.vars,a=l.duration,f=l.delay,h=l.immediateRender,c=l.stagger,d=l.overwrite,m=l.keyframes,_=l.defaults,p=l.scrollTrigger,v=l.yoyoEase,g=r.parent||F,x=(j(i)||hr(i)?Ot(i[0]):"length"in r)?[i]:ht(i),T,y,b,P,S,w,O,R;if(o._targets=x.length?Mi(x):xe("GSAP target "+i+" not found. https://gsap.com",!ut.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=d,m||c||Ee(a)||Ee(f)){if(r=o.vars,T=o.timeline=new H({data:"nested",defaults:_||{},targets:g&&g.data==="nested"?g.vars.targets:x}),T.kill(),T.parent=T._dp=Pt(o),T._start=0,c||Ee(a)||Ee(f)){if(P=x.length,O=c&&Ar(c),wt(c))for(S in c)~Gr.indexOf(S)&&(R||(R={}),R[S]=c[S]);for(y=0;y<P;y++)b=Ye(r,Wr),b.stagger=0,v&&(b.yoyoEase=v),R&&se(b,R),w=x[y],b.duration=+ve(a,Pt(o),y,w,x),b.delay=(+ve(f,Pt(o),y,w,x)||0)-o._delay,!c&&P===1&&b.delay&&(o._delay=f=b.delay,o._start+=f,b.delay=0),T.to(w,b,O?O(y,w,x):0),T._ease=k.none;T.duration()?a=f=0:o.timeline=0}else if(m){ge(ft(T.vars.defaults,{ease:"none"})),T._ease=Wt(m.ease||r.ease||"none");var M=0,A,$,Y;if(j(m))m.forEach(function(N){return T.to(x,N,">")}),T.duration();else{b={};for(S in m)S==="ease"||S==="easeEach"||gs(S,m[S],b,m.easeEach);for(S in b)for(A=b[S].sort(function(N,U){return N.t-U.t}),M=0,y=0;y<A.length;y++)$=A[y],Y={ease:$.e,duration:($.t-(y?A[y-1].t:0))/100*a},Y[S]=$.v,T.to(x,Y,M),M+=Y.duration;T.duration()<a&&T.to({},{duration:a-T.duration()})}}a||o.duration(a=T.duration())}else o.timeline=0;return d===!0&&!wi&&(Mt=Pt(o),F.killTweensOf(x),Mt=0),gt(g,Pt(o),n),r.reversed&&o.reverse(),r.paused&&o.paused(!0),(h||!a&&!m&&o._start===V(g._time)&&J(h)&&Kn(Pt(o))&&g.data!=="nested")&&(o._tTime=-1e-8,o.render(Math.max(0,-f)||0)),p&&kr(Pt(o),p),o}var e=t.prototype;return e.render=function(r,n,s){var o=this._time,l=this._tDur,a=this._dur,f=r<0,h=r>l-K&&!f?l:r<K?0:r,c,d,m,_,p,v,g,x,T;if(!a)Hn(this,r,n,s);else if(h!==this._tTime||!r||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f||this._lazy){if(c=h,x=this.timeline,this._repeat){if(_=a+this._rDelay,this._repeat<-1&&f)return this.totalTime(_*100+r,n,s);if(c=V(h%_),h===l?(m=this._repeat,c=a):(p=V(h/_),m=~~p,m&&m===p?(c=a,m--):c>a&&(c=a)),v=this._yoyo&&m&1,v&&(T=this._yEase,c=a-c),p=oe(this._tTime,_),c===o&&!s&&this._initted&&m===p)return this._tTime=h,this;m!==p&&(x&&this._yEase&&Yr(x,v),this.vars.repeatRefresh&&!v&&!this._lock&&c!==_&&this._initted&&(this._lock=s=1,this.render(V(_*m),!0).invalidate()._lock=0))}if(!this._initted){if(Or(this,f?r:c,s,n,h))return this._tTime=0,this;if(o!==this._time&&!(s&&this.vars.repeatRefresh&&m!==p))return this;if(a!==this._dur)return this.render(r,n,s)}if(this._tTime=h,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=g=(T||this._ease)(c/a),this._from&&(this.ratio=g=1-g),c&&!o&&!n&&!m&&(at(this,"onStart"),this._tTime!==h))return this;for(d=this._pt;d;)d.r(g,d.d),d=d._next;x&&x.render(r<0?r:x._dur*x._ease(c/this._dur),n,s)||this._startAt&&(this._zTime=r),this._onUpdate&&!n&&(f&&fi(this,r,n,s),at(this,"onUpdate")),this._repeat&&m!==p&&this.vars.onRepeat&&!n&&this.parent&&at(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(f&&!this._onUpdate&&fi(this,r,!0,!0),(r||!a)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&zt(this,1),!n&&!(f&&!o)&&(h||o||v)&&(at(this,h===l?"onComplete":"onReverseComplete",!0),this._prom&&!(h<l&&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,o,l){be||ot.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||Ri(this,a),f=this._ease(a/this._dur),ps(this,r,n,s,o,f,a,l)?this.resetTo(r,n,s,o,1):(Ke(this,0),this.parent||Pr(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?pe(this):this.scrollTrigger&&this.scrollTrigger.kill(!!G),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,Mt&&Mt.vars.overwrite!==!0)._first||pe(this),this.parent&&s!==this.timeline.totalDuration()&&ae(this,this._dur*this.timeline._tDur/s,0,1),this}var o=this._targets,l=r?ht(r):o,a=this._ptLookup,f=this._pt,h,c,d,m,_,p,v;if((!n||n==="all")&&Wn(o,l))return n==="all"&&(this._pt=0),pe(this);for(h=this._op=this._op||[],n!=="all"&&(X(n)&&(_={},tt(n,function(g){return _[g]=1}),n=_),n=ms(o,n)),v=o.length;v--;)if(~l.indexOf(o[v])){c=a[v],n==="all"?(h[v]=n,m=c,d={}):(d=h[v]=h[v]||{},m=n);for(_ in m)p=c&&c[_],p&&((!("kill"in p.d)||p.d.kill(_)===!0)&&We(this,p,"_pt"),delete c[_]),d!=="all"&&(d[_]=1)}return this._initted&&!this._pt&&f&&pe(this),this},t.to=function(r,n){return new t(r,n,arguments[2])},t.from=function(r,n){return ye(1,arguments)},t.delayedCall=function(r,n,s,o){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:o})},t.fromTo=function(r,n,s){return ye(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 F.killTweensOf(r,n,s)},t}(Pe);ft(B.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});tt("staggerTo,staggerFrom,staggerFromTo",function(u){B[u]=function(){var t=new H,e=hi.call(arguments,0);return e.splice(u==="staggerFromTo"?5:4,0,0),t[u].apply(t,e)}});var Di=function(t,e,i){return t[e]=i},qr=function(t,e,i){return t[e](i)},ys=function(t,e,i,r){return t[e](r.fp,i)},vs=function(t,e,i){return t.setAttribute(e,i)},Ei=function(t,e){return I(t[e])?qr:bi(t[e])&&t.setAttribute?vs:Di},Kr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},xs=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},jr=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)},Fi=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},Ts=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},ws=function(t){for(var e=this._pt,i,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?We(this,e,"_pt"):e.dep||(i=1),e=r;return!i},bs=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},Hr=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},et=function(){function u(e,i,r,n,s,o,l,a,f){this.t=i,this.s=n,this.c=s,this.p=r,this.r=o||Kr,this.d=l||this,this.set=a||Di,this.pr=f||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=bs,this.m=i,this.mt=n,this.tween=r},u}();tt(Ci+"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 Oi[u]=1});lt.TweenMax=lt.TweenLite=B;lt.TimelineLite=lt.TimelineMax=H;F=new H({sortChildren:!1,defaults:ne,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});ut.stringFilter=Br;var qt=[],Le={},Ps=[],Ki=0,Ss=0,ii=function(t){return(Le[t]||Ps).map(function(e){return e()})},mi=function(){var t=Date.now(),e=[];t-Ki>2&&(ii("matchMediaInit"),qt.forEach(function(i){var r=i.queries,n=i.conditions,s,o,l,a;for(o in r)s=mt.matchMedia(r[o]).matches,s&&(l=1),s!==n[o]&&(n[o]=s,a=1);a&&(i.revert(),l&&e.push(i))}),ii("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),Ki=t,ii("matchMedia"))},Qr=function(){function u(e,i){this.selector=i&&ci(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Ss++,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,o=function(){var a=E,f=s.selector,h;return a&&a!==s&&a.data.push(s),n&&(s.selector=ci(n)),E=s,h=r.apply(s,arguments),I(h)&&s._r.push(h),E=a,s.selector=f,s.isReverted=!1,h};return s.last=o,i===I?o(s,function(l){return s.add(null,l)}):i?s[i]=o:o},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 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 o=n.getTweens(),l=n.data.length,a;l--;)a=n.data[l],a.data==="isFlip"&&(a.revert(),a.getChildren(!0,!0,!1).forEach(function(f){return o.splice(o.indexOf(f),1)}));for(o.map(function(f){return{g:f._dur||f._delay||f._sat&&!f._sat.vars.immediateRender?f.globalTime(0):-1/0,t:f}}).sort(function(f,h){return h.g-f.g||-1/0}).forEach(function(f){return f.t.revert(i)}),l=n.data.length;l--;)a=n.data[l],a instanceof H?a.data!=="nested"&&(a.scrollTrigger&&a.scrollTrigger.revert(),a.kill()):!(a instanceof B)&&a.revert&&a.revert(i);n._r.forEach(function(f){return f(i,n)}),n.isReverted=!0}():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),r)for(var s=qt.length;s--;)qt[s].id===this.id&&qt.splice(s,1)},t.revert=function(i){this.kill(i||{})},u}(),ks=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){wt(i)||(i={matches:i});var s=new Qr(0,n||this.scope),o=s.conditions={},l,a,f;E&&!s.selector&&(s.selector=E.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=i;for(a in i)a==="all"?f=1:(l=mt.matchMedia(i[a]),l&&(qt.indexOf(s)<0&&qt.push(s),(o[a]=l.matches)&&(f=1),l.addListener?l.addListener(mi):l.addEventListener("change",mi)));return f&&r(s,function(h){return s.add(null,h)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},u}(),Xe={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 Ir(r)})},timeline:function(t){return new H(t)},getTween