@spotpatch/vite 1.15.5 → 1.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,51 +1,22 @@
1
- function Et(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function Ui(o,t){o.prototype=Object.create(t.prototype),o.prototype.constructor=o,o.__proto__=t}var ut={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},fe={duration:.5,overwrite:!1,delay:0},ni,J,V,mt=1e8,z=1/mt,qe=Math.PI*2,$n=qe/4,Zn=0,Hi=Math.sqrt,jn=Math.cos,Qn=Math.sin,j=function(t){return typeof t=="string"},Y=function(t){return typeof t=="function"},Ot=function(t){return typeof t=="number"},ke=function(t){return typeof t>"u"},Tt=function(t){return typeof t=="object"},ct=function(t){return t!==!1},ri=function(){return typeof window<"u"},be=function(t){return Y(t)||j(t)},Gi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},it=Array.isArray,Jn=/random\([^)]+\)/g,tr=/,\s*/g,Di=/(?:-?\.?\d|\.)+/gi,si=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Gt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ve=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ai=/[+-]=-?[.\d]+/,er=/[^,'"\[\]\s]+/gi,ir=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,H,vt,Ke,oi,ht={},Me={},Wi,Yi=function(t){return(Me=jt(t,ht))&&nt},Ae=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},de=function(t,e){return!e&&console.warn(t)},Xi=function(t,e){return t&&(ht[t]=e)&&Me&&(Me[t]=e)||ht},he=function(){return 0},nr={suppressEvents:!0,isStart:!0,kill:!1},Te={suppressEvents:!0,kill:!1},rr={suppressEvents:!0},ci={},Rt=[],$e={},qi,at={},Ue={},Fi=30,we=[],ui="",li=function(t){var e=t[0],i,n;if(Tt(e)||Y(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(n=we.length;n--&&!we[n].targetTest(e););i=we[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new pi(t[n],i)))||t.splice(n,1);return t},Dt=function(t){return t._gsap||li(xt(t))[0]._gsap},fi=function(t,e,i){return(i=t[e])&&Y(i)?t[e]():ke(i)&&t.getAttribute&&t.getAttribute(e)||i},rt=function(t,e){return(t=t.split(",")).forEach(e)||t},X=function(t){return Math.round(t*1e5)/1e5||0},U=function(t){return Math.round(t*1e7)/1e7||0},Wt=function(t,e){var i=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),i==="+"?t+n:i==="-"?t-n:i==="*"?t*n:t/n},sr=function(t,e){for(var i=e.length,n=0;t.indexOf(e[n])<0&&++n<i;);return n<i},Ee=function(){var t=Rt.length,e=Rt.slice(0),i,n;for($e={},Rt.length=0,i=0;i<t;i++)n=e[i],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},di=function(t){return!!(t._initted||t._startAt||t.add)},Ki=function(t,e,i,n){Rt.length&&!J&&Ee(),t.render(e,i,n||!!(J&&e<0&&di(t))),Rt.length&&!J&&Ee()},$i=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(er).length<2?e:j(t)?t.trim():t},Zi=function(t){return t},pt=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},ar=function(t){return function(e,i){for(var n in i)n in e||n==="duration"&&t||n==="ease"||(e[n]=i[n])}},jt=function(t,e){for(var i in e)t[i]=e[i];return t},Li=function o(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=Tt(e[i])?o(t[i]||(t[i]={}),e[i]):e[i]);return t},Pe=function(t,e){var i={},n;for(n in t)n in e||(i[n]=t[n]);return i},ce=function(t){var e=t.parent||H,i=t.keyframes?ar(it(t.keyframes)):pt;if(ct(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},or=function(t,e){for(var i=t.length,n=i===e.length;n&&i--&&t[i]===e[i];);return i<0},ji=function(t,e,i,n,r){i===void 0&&(i="_first"),n===void 0&&(n="_last");var s=t[n],a;if(r)for(a=e[r];s&&s[r]>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[n]=e,e._prev=s,e.parent=e._dp=t,e},Re=function(t,e,i,n){i===void 0&&(i="_first"),n===void 0&&(n="_last");var r=e._prev,s=e._next;r?r._next=s:t[i]===e&&(t[i]=s),s?s._prev=r:t[n]===e&&(t[n]=r),e._next=e._prev=e.parent=null},Ft=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Vt=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},cr=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Ze=function(t,e,i,n){return t._startAt&&(J?t._startAt.revert(Te):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},ur=function o(t){return!t||t._ts&&o(t.parent)},Ni=function(t){return t._repeat?Qt(t._tTime,t=t.duration()+t._rDelay)*t:0},Qt=function(t,e){var i=Math.floor(t=U(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)},De=function(t){return t._end=U(t._start+(t._tDur/Math.abs(t._ts||t._rts||z)||0))},Fe=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=U(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),De(t),i._dirty||Vt(i,t)),t},Qi=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>z)&&e.render(i,!0)),Vt(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=-z}},bt=function(t,e,i,n){return e.parent&&Ft(e),e._start=U((Ot(i)?i:i||t!==H?gt(t,i,e):t._time)+e._delay),e._end=U(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),ji(t,e,"_first","_last",t._sort?"_start":0),je(e)||(t._recent=e),n||Qi(t,e),t._ts<0&&Fe(t,t._tTime),t},Ji=function(t,e){return(ht.ScrollTrigger||Ae("scrollTrigger",e))&&ht.ScrollTrigger.create(e,t)},tn=function(t,e,i,n,r){if(mi(t,e,r),!t._initted)return 1;if(!i&&t._pt&&!J&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&qi!==ot.frame)return Rt.push(t),t._lazy=[r,n],1},lr=function o(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||o(e))},je=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},fr=function(t,e,i,n){var r=t.ratio,s=e<0||!e&&(!t._start&&lr(t)&&!(!t._initted&&je(t))||(t._ts<0||t._dp._ts<0)&&!je(t))?0:1,a=t._rDelay,c=0,u,l,d;if(a&&t._repeat&&(c=ge(0,t._tDur,e),l=Qt(c,a),t._yoyo&&l&1&&(s=1-s),l!==Qt(t._tTime,a)&&(r=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==r||J||n||t._zTime===z||!e&&t._zTime){if(!t._initted&&tn(t,e,n,i,c))return;for(d=t._zTime,t._zTime=e||(i?z:0),i||(i=e&&!d),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=c,u=t._pt;u;)u.r(s,u.d),u=u._next;e<0&&Ze(t,e,i,!0),t._onUpdate&&!i&&dt(t,"onUpdate"),c&&t._repeat&&!i&&t.parent&&dt(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&Ft(t,1),!i&&!J&&(dt(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},dr=function(t,e,i){var n;if(i>e)for(n=t._first;n&&n._start<=i;){if(n.data==="isPause"&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=i;){if(n.data==="isPause"&&n._start<e)return n;n=n._prev}},Jt=function(t,e,i,n){var r=t._repeat,s=U(e)||0,a=t._tTime/t._tDur;return a&&!n&&(t._time*=s/t._dur),t._dur=s,t._tDur=r?r<0?1e10:U(s*(r+1)+t._rDelay*r):s,a>0&&!n&&Fe(t,t._tTime=t._tDur*a),t.parent&&De(t),i||Vt(t.parent,t),t},zi=function(t){return t instanceof et?Vt(t):Jt(t,t._dur)},hr={_start:0,endTime:he,totalDuration:he},gt=function o(t,e,i){var n=t.labels,r=t._recent||hr,s=t.duration()>=mt?r.endTime(!1):t._dur,a,c,u;return j(e)&&(isNaN(e)||e in n)?(c=e.charAt(0),u=e.substr(-1)==="%",a=e.indexOf("="),c==="<"||c===">"?(a>=0&&(e=e.replace(/=/,"")),(c==="<"?r._start:r.endTime(r._repeat>=0))+(parseFloat(e.substr(1))||0)*(u?(a<0?r:i).totalDuration()/100:1)):a<0?(e in n||(n[e]=s),n[e]):(c=parseFloat(e.charAt(a-1)+e.substr(a+1)),u&&i&&(c=c/100*(it(i)?i[0]:i).totalDuration()),a>1?o(t,e.substr(0,a-1),i)+c:s+c)):e==null?s:+e},ue=function(t,e,i){var n=Ot(e[1]),r=(n?2:1)+(t<2?0:1),s=e[r],a,c;if(n&&(s.duration=e[1]),s.parent=i,t){for(a=s,c=i;c&&!("immediateRender"in a);)a=c.vars.defaults||{},c=ct(c.vars.inherit)&&c.parent;s.immediateRender=ct(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[r-1]}return new K(e[0],s,e[r+1])},Lt=function(t,e){return t||t===0?e(t):e},ge=function(t,e,i){return i<t?t:i>e?e:i},tt=function(t,e){return!j(t)||!(e=ir.exec(t))?"":e[1]},pr=function(t,e,i){return Lt(i,function(n){return ge(t,e,n)})},Qe=[].slice,en=function(t,e){return t&&Tt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&Tt(t[0]))&&!t.nodeType&&t!==vt},_r=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(n){var r;return j(n)&&!e||en(n,1)?(r=i).push.apply(r,xt(n)):i.push(n)})||i},xt=function(t,e,i){return V&&!e&&V.selector?V.selector(t):j(t)&&!i&&(Ke||!te())?Qe.call((e||oi).querySelectorAll(t),0):it(t)?_r(t,i):en(t)?Qe.call(t,0):t?[t]:[]},Je=function(t){return t=xt(t)[0]||de("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return xt(e,i.querySelectorAll?i:i===t?de("Invalid scope")||oi.createElement("div"):t)}},nn=function(t){return t.sort(function(){return .5-Math.random()})},rn=function(t){if(Y(t))return t;var e=Tt(t)?t:{each:t},i=Ut(e.ease),n=e.from||0,r=parseFloat(e.base)||0,s={},a=n>0&&n<1,c=isNaN(n)||a,u=e.axis,l=n,d=n;return j(n)?l=d={center:.5,edges:.5,end:1}[n]||0:!a&&c&&(l=n[0],d=n[1]),function(h,p,_){var f=(_||e).length,g=s[f],y,m,v,w,x,E,b,S,T;if(!g){if(T=e.grid==="auto"?0:(e.grid||[1,mt])[1],!T){for(b=-mt;b<(b=_[T++].getBoundingClientRect().left)&&T<f;);T<f&&T--}for(g=s[f]=[],y=c?Math.min(T,f)*l-.5:n%T,m=T===mt?0:c?f*d/T-.5:n/T|0,b=0,S=mt,E=0;E<f;E++)v=E%T-y,w=m-(E/T|0),g[E]=x=u?Math.abs(u==="y"?w:v):Hi(v*v+w*w),x>b&&(b=x),x<S&&(S=x);n==="random"&&nn(g),g.max=b-S,g.min=S,g.v=f=(parseFloat(e.amount)||parseFloat(e.each)*(T>f?f-1:u?u==="y"?f/T:T:Math.max(T,f/T))||0)*(n==="edges"?-1:1),g.b=f<0?r-f:r,g.u=tt(e.amount||e.each)||0,i=i&&f<0?Or(i):i}return f=(g[h]-g.min)/g.max||0,U(g.b+(i?i(f):f)*g.v)+g.u}},ti=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var n=U(Math.round(parseFloat(i)/t)*t*e);return(n-n%1)/e+(Ot(i)?0:tt(i))}},sn=function(t,e){var i=it(t),n,r;return!i&&Tt(t)&&(n=i=t.radius||mt,t.values?(t=xt(t.values),(r=!Ot(t[0]))&&(n*=n)):t=ti(t.increment)),Lt(e,i?Y(t)?function(s){return r=t(s),Math.abs(r-s)<=n?r:s}:function(s){for(var a=parseFloat(r?s.x:s),c=parseFloat(r?s.y:0),u=mt,l=0,d=t.length,h,p;d--;)r?(h=t[d].x-a,p=t[d].y-c,h=h*h+p*p):h=Math.abs(t[d]-a),h<u&&(u=h,l=d);return l=!n||u<=n?t[l]:s,r||l===s||Ot(s)?l:l+tt(s)}:ti(t))},an=function(t,e,i,n){return Lt(it(t)?!e:i===!0?!!(i=0):!n,function(){return it(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(n=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+i*.99))/i)*i*n)/n})},gr=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(n){return e.reduce(function(r,s){return s(r)},n)}},mr=function(t,e){return function(i){return t(parseFloat(i))+(e||tt(i))}},xr=function(t,e,i){return cn(t,e,0,1,i)},on=function(t,e,i){return Lt(i,function(n){return t[~~e(n)]})},yr=function o(t,e,i){var n=e-t;return it(t)?on(t,o(0,t.length),e):Lt(i,function(r){return(n+(r-t)%n)%n+t})},vr=function o(t,e,i){var n=e-t,r=n*2;return it(t)?on(t,o(0,t.length-1),e):Lt(i,function(s){return s=(r+(s-t)%r)%r||0,t+(s>n?r-s:s)})},ee=function(t){return t.replace(Jn,function(e){var i=e.indexOf("[")+1,n=e.substring(i||7,i?e.indexOf("]"):e.length-1).split(tr);return an(i?n:+n[0],i?0:+n[1],+n[2]||1e-5)})},cn=function(t,e,i,n,r){var s=e-t,a=n-i;return Lt(r,function(c){return i+((c-t)/s*a||0)})},br=function o(t,e,i,n){var r=isNaN(t+e)?0:function(p){return(1-p)*t+p*e};if(!r){var s=j(t),a={},c,u,l,d,h;if(i===!0&&(n=1)&&(i=null),s)t={p:t},e={p:e};else if(it(t)&&!it(e)){for(l=[],d=t.length,h=d-2,u=1;u<d;u++)l.push(o(t[u-1],t[u]));d--,r=function(_){_*=d;var f=Math.min(h,~~_);return l[f](_-f)},i=e}else n||(t=jt(it(t)?[]:{},t));if(!l){for(c in e)_i.call(a,t,c,"get",e[c]);r=function(_){return vi(_,a)||(s?t.p:t)}}}return Lt(i,r)},Ii=function(t,e,i){var n=t.labels,r=mt,s,a,c;for(s in n)a=n[s]-e,a<0==!!i&&a&&r>(a=Math.abs(a))&&(c=s,r=a);return c},dt=function(t,e,i){var n=t.vars,r=n[e],s=V,a=t._ctx,c,u,l;if(r)return c=n[e+"Params"],u=n.callbackScope||t,i&&Rt.length&&Ee(),a&&(V=a),l=c?r.apply(u,c):r.call(u),V=s,l},ae=function(t){return Ft(t),t.scrollTrigger&&t.scrollTrigger.kill(!!J),t.progress()<1&&dt(t,"onInterrupt"),t},Zt,un=[],ln=function(t){if(t)if(t=!t.name&&t.default||t,ri()||t.headless){var e=t.name,i=Y(t),n=e&&!i&&t.init?function(){this._props=[]}:t,r={init:he,render:vi,add:_i,kill:Ir,modifier:zr,rawVars:0},s={targetTest:0,get:0,getSetter:Le,aliases:{},register:0};if(te(),t!==n){if(at[e])return;pt(n,pt(Pe(t,r),s)),jt(n.prototype,jt(r,Pe(t,s))),at[n.prop=e]=n,t.targetTest&&(we.push(n),ci[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Xi(e,n),t.register&&t.register(nt,n,st)}else un.push(t)},N=255,oe={aqua:[0,N,N],lime:[0,N,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,N],navy:[0,0,128],white:[N,N,N],olive:[128,128,0],yellow:[N,N,0],orange:[N,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[N,0,0],pink:[N,192,203],cyan:[0,N,N],transparent:[N,N,N,0]},He=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)*N+.5|0},fn=function(t,e,i){var n=t?Ot(t)?[t>>16,t>>8&N,t&N]:0:oe.black,r,s,a,c,u,l,d,h,p,_;if(!n){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),oe[t])n=oe[t];else if(t.charAt(0)==="#"){if(t.length<6&&(r=t.charAt(1),s=t.charAt(2),a=t.charAt(3),t="#"+r+r+s+s+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return n=parseInt(t.substr(1,6),16),[n>>16,n>>8&N,n&N,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),n=[t>>16,t>>8&N,t&N]}else if(t.substr(0,3)==="hsl"){if(n=_=t.match(Di),!e)c=+n[0]%360/360,u=+n[1]/100,l=+n[2]/100,s=l<=.5?l*(u+1):l+u-l*u,r=l*2-s,n.length>3&&(n[3]*=1),n[0]=He(c+1/3,r,s),n[1]=He(c,r,s),n[2]=He(c-1/3,r,s);else if(~t.indexOf("="))return n=t.match(si),i&&n.length<4&&(n[3]=1),n}else n=t.match(Di)||oe.transparent;n=n.map(Number)}return e&&!_&&(r=n[0]/N,s=n[1]/N,a=n[2]/N,d=Math.max(r,s,a),h=Math.min(r,s,a),l=(d+h)/2,d===h?c=u=0:(p=d-h,u=l>.5?p/(2-d-h):p/(d+h),c=d===r?(s-a)/p+(s<a?6:0):d===s?(a-r)/p+2:(r-s)/p+4,c*=60),n[0]=~~(c+.5),n[1]=~~(u*100+.5),n[2]=~~(l*100+.5)),i&&n.length<4&&(n[3]=1),n},dn=function(t){var e=[],i=[],n=-1;return t.split(Pt).forEach(function(r){var s=r.match(Gt)||[];e.push.apply(e,s),i.push(n+=s.length+1)}),e.c=i,e},Bi=function(t,e,i){var n="",r=(t+n).match(Pt),s=e?"hsla(":"rgba(",a=0,c,u,l,d;if(!r)return t;if(r=r.map(function(h){return(h=fn(h,e,1))&&s+(e?h[0]+","+h[1]+"%,"+h[2]+"%,"+h[3]:h.join(","))+")"}),i&&(l=dn(t),c=i.c,c.join(n)!==l.c.join(n)))for(u=t.replace(Pt,"1").split(Gt),d=u.length-1;a<d;a++)n+=u[a]+(~c.indexOf(a)?r.shift()||s+"0,0,0,0)":(l.length?l:r.length?r:i).shift());if(!u)for(u=t.split(Pt),d=u.length-1;a<d;a++)n+=u[a]+r[a];return n+u[d]},Pt=(function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in oe)o+="|"+t+"\\b";return new RegExp(o+")","gi")})(),Tr=/hsl[a]?\(/,hi=function(t){var e=t.join(" "),i;if(Pt.lastIndex=0,Pt.test(e))return i=Tr.test(e),t[1]=Bi(t[1],i),t[0]=Bi(t[0],i,dn(t[1])),!0},pe,ot=(function(){var o=Date.now,t=500,e=33,i=o(),n=i,r=1e3/240,s=r,a=[],c,u,l,d,h,p,_=function f(g){var y=o()-n,m=g===!0,v,w,x,E;if((y>t||y<0)&&(i+=y-e),n+=y,x=n-i,v=x-s,(v>0||m)&&(E=++d.frame,h=x-d.time*1e3,d.time=x=x/1e3,s+=v+(v>=r?4:r-v),w=1),m||(c=u(f)),w)for(p=0;p<a.length;p++)a[p](x,h,E,g)};return d={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return h/(1e3/(g||60))},wake:function(){Wi&&(!Ke&&ri()&&(vt=Ke=window,oi=vt.document||{},ht.gsap=nt,(vt.gsapVersions||(vt.gsapVersions=[])).push(nt.version),Yi(Me||vt.GreenSockGlobals||!vt.gsap&&vt||{}),un.forEach(ln)),l=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&d.sleep(),u=l||function(g){return setTimeout(g,s-d.time*1e3+1|0)},pe=1,_(2))},sleep:function(){(l?cancelAnimationFrame:clearTimeout)(c),pe=0,u=he},lagSmoothing:function(g,y){t=g||1/0,e=Math.min(y||33,t)},fps:function(g){r=1e3/(g||240),s=d.time*1e3+r},add:function(g,y,m){var v=y?function(w,x,E,b){g(w,x,E,b),d.remove(v)}:g;return d.remove(g),a[m?"unshift":"push"](v),te(),v},remove:function(g,y){~(y=a.indexOf(g))&&a.splice(y,1)&&p>=y&&p--},_listeners:a},d})(),te=function(){return!pe&&ot.wake()},R={},wr=/^[\d.\-M][\d.\-,\s]/,Sr=/["']/g,Mr=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),n=i[0],r=1,s=i.length,a,c,u;r<s;r++)c=i[r],a=r!==s-1?c.lastIndexOf(","):c.length,u=c.substr(0,a),e[n]=isNaN(u)?u.replace(Sr,"").trim():+u,n=c.substr(a+1).trim();return e},Er=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),n=t.indexOf("(",e);return t.substring(e,~n&&n<i?t.indexOf(")",i+1):i)},Pr=function(t){var e=(t+"").split("("),i=R[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[Mr(e[1])]:Er(t).split(",").map($i)):R._CE&&wr.test(t)?R._CE("",t):i},Or=function(t){return function(e){return 1-t(1-e)}},Ut=function(t,e){return t&&(Y(t)?t:R[t]||Pr(t))||e},Yt=function(t,e,i,n){i===void 0&&(i=function(c){return 1-e(1-c)}),n===void 0&&(n=function(c){return c<.5?e(c*2)/2:1-e((1-c)*2)/2});var r={easeIn:e,easeOut:i,easeInOut:n},s;return rt(t,function(a){R[a]=ht[a]=r,R[s=a.toLowerCase()]=i;for(var c in r)R[s+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=R[a+"."+c]=r[c]}),r},hn=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},Ge=function o(t,e,i){var n=e>=1?e:1,r=(i||(t?.3:.45))/(e<1?e:1),s=r/qe*(Math.asin(1/n)||0),a=function(l){return l===1?1:n*Math.pow(2,-10*l)*Qn((l-s)*r)+1},c=t==="out"?a:t==="in"?function(u){return 1-a(1-u)}:hn(a);return r=qe/r,c.config=function(u,l){return o(t,u,l)},c},We=function o(t,e){e===void 0&&(e=1.70158);var i=function(s){return s?--s*s*((e+1)*s+e)+1:0},n=t==="out"?i:t==="in"?function(r){return 1-i(1-r)}:hn(i);return n.config=function(r){return o(t,r)},n};rt("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,t){var e=t<5?t+1:t;Yt(o+",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})});R.Linear.easeNone=R.none=R.Linear.easeIn;Yt("Elastic",Ge("in"),Ge("out"),Ge());(function(o,t){var e=1/t,i=2*e,n=2.5*e,r=function(a){return a<e?o*a*a:a<i?o*Math.pow(a-1.5/t,2)+.75:a<n?o*(a-=2.25/t)*a+.9375:o*Math.pow(a-2.625/t,2)+.984375};Yt("Bounce",function(s){return 1-r(1-s)},r)})(7.5625,2.75);Yt("Expo",function(o){return Math.pow(2,10*(o-1))*o+o*o*o*o*o*o*(1-o)});Yt("Circ",function(o){return-(Hi(1-o*o)-1)});Yt("Sine",function(o){return o===1?1:-jn(o*$n)+1});Yt("Back",We("in"),We("out"),We());R.SteppedEase=R.steps=ht.SteppedEase={config:function(t,e){t===void 0&&(t=1);var i=1/t,n=t+(e?0:1),r=e?1:0,s=1-z;return function(a){return((n*ge(0,s,a)|0)+r)*i}}};fe.ease=R["quad.out"];rt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return ui+=o+","+o+"Params,"});var pi=function(t,e){this.id=Zn++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:fi,this.set=e?e.getSetter:Le},_e=(function(){function o(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,V&&(this._ctx=V,V.data.push(this)),pe||ot.wake()}var t=o.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,n){if(te(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Fe(this,i),!r._dp||r.parent||Qi(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&bt(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===z||!this._initted&&this._dur&&i||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Ki(this,i,n)),this},t.time=function(i,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+Ni(this))%(this._dur+this._rDelay)||(i?this._dur:0),n):this._time},t.totalProgress=function(i,n){return arguments.length?this.totalTime(this.totalDuration()*i,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(i,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+Ni(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(i,n){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*r,n):this._repeat?Qt(this._tTime,r)+1:1},t.timeScale=function(i,n){if(!arguments.length)return this._rts===-z?0:this._rts;if(this._rts===i)return this;var r=this.parent&&this._ts?Oe(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-z?0:this._rts,this.totalTime(ge(-Math.abs(this._delay),this.totalDuration(),r),n!==!1),De(this),cr(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):(te(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==z&&(this._tTime-=z)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=U(i);var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&bt(n,this,this._start-this._delay),this}return this._start},t.endTime=function(i){return this._start+(ct(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(i){var n=this.parent||this._dp;return n?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Oe(n.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=rr);var n=J;return J=i,di(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),J=n,this},t.globalTime=function(i){for(var n=this,r=arguments.length?i:n.rawTime();n;)r=n._start+r/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(i):r},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,zi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var n=this._time;return this._rDelay=i,zi(this),n?this.time(n):this}return this._rDelay},t.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},t.seek=function(i,n){return this.totalTime(gt(this,i),ct(n))},t.restart=function(i,n){return this.play().totalTime(i?-this._delay:0,ct(n)),this._dur||(this._zTime=-z),this},t.play=function(i,n){return i!=null&&this.seek(i,n),this.reversed(!1).paused(!1)},t.reverse=function(i,n){return i!=null&&this.seek(i||this.totalDuration(),n),this.reversed(!0).paused(!1)},t.pause=function(i,n){return i!=null&&this.seek(i,n),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?-z:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-z,this},t.isActive=function(){var i=this.parent||this._dp,n=this._start,r;return!!(!i||this._ts&&this._initted&&i.isActive()&&(r=i.rawTime(!0))>=n&&r<this.endTime(!0)-z)},t.eventCallback=function(i,n,r){var s=this.vars;return arguments.length>1?(n?(s[i]=n,r&&(s[i+"Params"]=r),i==="onUpdate"&&(this._onUpdate=n)):delete s[i],this):s[i]},t.then=function(i){var n=this,r=n._prom;return new Promise(function(s){var a=Y(i)?i:Zi,c=function(){var l=n.then;n.then=null,r&&r(),Y(a)&&(a=a(n))&&(a.then||a===n)&&(n.then=l),s(a),n.then=l};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?c():n._prom=c})},t.kill=function(){ae(this)},o})();pt(_e.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:-z,_prom:0,_ps:!1,_rts:1});var et=(function(o){Ui(t,o);function t(i,n){var r;return i===void 0&&(i={}),r=o.call(this,i)||this,r.labels={},r.smoothChildTiming=!!i.smoothChildTiming,r.autoRemoveChildren=!!i.autoRemoveChildren,r._sort=ct(i.sortChildren),H&&bt(i.parent||H,Et(r),n),i.reversed&&r.reverse(),i.paused&&r.paused(!0),i.scrollTrigger&&Ji(Et(r),i.scrollTrigger),r}var e=t.prototype;return e.to=function(n,r,s){return ue(0,arguments,this),this},e.from=function(n,r,s){return ue(1,arguments,this),this},e.fromTo=function(n,r,s,a){return ue(2,arguments,this),this},e.set=function(n,r,s){return r.duration=0,r.parent=this,ce(r).repeatDelay||(r.repeat=0),r.immediateRender=!!r.immediateRender,new K(n,r,gt(this,s),1),this},e.call=function(n,r,s){return bt(this,K.delayedCall(0,n,r),s)},e.staggerTo=function(n,r,s,a,c,u,l){return s.duration=r,s.stagger=s.stagger||a,s.onComplete=u,s.onCompleteParams=l,s.parent=this,new K(n,s,gt(this,c)),this},e.staggerFrom=function(n,r,s,a,c,u,l){return s.runBackwards=1,ce(s).immediateRender=ct(s.immediateRender),this.staggerTo(n,r,s,a,c,u,l)},e.staggerFromTo=function(n,r,s,a,c,u,l,d){return a.startAt=s,ce(a).immediateRender=ct(a.immediateRender),this.staggerTo(n,r,a,c,u,l,d)},e.render=function(n,r,s){var a=this._time,c=this._dirty?this.totalDuration():this._tDur,u=this._dur,l=n<=0?0:U(n),d=this._zTime<0!=n<0&&(this._initted||!u),h,p,_,f,g,y,m,v,w,x,E,b;if(this!==H&&l>c&&n>=0&&(l=c),l!==this._tTime||s||d){if(a!==this._time&&u&&(l+=this._time-a,n+=this._time-a),h=l,w=this._start,v=this._ts,y=!v,d&&(u||(a=this._zTime),(n||!r)&&(this._zTime=n)),this._repeat){if(E=this._yoyo,g=u+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,r,s);if(h=U(l%g),l===c?(f=this._repeat,h=u):(x=U(l/g),f=~~x,f&&f===x&&(h=u,f--),h>u&&(h=u)),x=Qt(this._tTime,g),!a&&this._tTime&&x!==f&&this._tTime-x*g-this._dur<=0&&(x=f),E&&f&1&&(h=u-h,b=1),f!==x&&!this._lock){var S=E&&x&1,T=S===(E&&f&1);if(f<x&&(S=!S),a=S?0:l%u?u:l,this._lock=1,this.render(a||(b?0:U(f*g)),r,!u)._lock=0,this._tTime=l,!r&&this.parent&&dt(this,"onRepeat"),this.vars.repeatRefresh&&!b&&(this.invalidate()._lock=1,x=f),a&&a!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,c=this._tDur,T&&(this._lock=2,a=S?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!b&&this.invalidate()),this._lock=0,!this._ts&&!y)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=dr(this,U(a),U(h)),m&&(l-=h-(h=m._start))),this._tTime=l,this._time=h,this._act=!!v,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&l&&u&&!r&&!x&&(dt(this,"onStart"),this._tTime!==l))return this;if(h>=a&&n>=0)for(p=this._first;p;){if(_=p._next,(p._act||h>=p._start)&&p._ts&&m!==p){if(p.parent!==this)return this.render(n,r,s);if(p.render(p._ts>0?(h-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(h-p._start)*p._ts,r,s),h!==this._time||!this._ts&&!y){m=0,_&&(l+=this._zTime=-z);break}}p=_}else{p=this._last;for(var O=n<0?n:h;p;){if(_=p._prev,(p._act||O<=p._end)&&p._ts&&m!==p){if(p.parent!==this)return this.render(n,r,s);if(p.render(p._ts>0?(O-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(O-p._start)*p._ts,r,s||J&&di(p)),h!==this._time||!this._ts&&!y){m=0,_&&(l+=this._zTime=O?-z:z);break}}p=_}}if(m&&!r&&(this.pause(),m.render(h>=a?0:-z)._zTime=h>=a?1:-1,this._ts))return this._start=w,De(this),this.render(n,r,s);this._onUpdate&&!r&&dt(this,"onUpdate",!0),(l===c&&this._tTime>=this.totalDuration()||!l&&a)&&(w===this._start||Math.abs(v)!==Math.abs(this._ts))&&(this._lock||((n||!u)&&(l===c&&this._ts>0||!l&&this._ts<0)&&Ft(this,1),!r&&!(n<0&&!a)&&(l||a||!c)&&(dt(this,l===c&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(l<c&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(n,r){var s=this;if(Ot(r)||(r=gt(this,r,n)),!(n instanceof _e)){if(it(n))return n.forEach(function(a){return s.add(a,r)}),this;if(j(n))return this.addLabel(n,r);if(Y(n))n=K.delayedCall(0,n);else return this}return this!==n?bt(this,n,r):this},e.getChildren=function(n,r,s,a){n===void 0&&(n=!0),r===void 0&&(r=!0),s===void 0&&(s=!0),a===void 0&&(a=-mt);for(var c=[],u=this._first;u;)u._start>=a&&(u instanceof K?r&&c.push(u):(s&&c.push(u),n&&c.push.apply(c,u.getChildren(!0,r,s)))),u=u._next;return c},e.getById=function(n){for(var r=this.getChildren(1,1,1),s=r.length;s--;)if(r[s].vars.id===n)return r[s]},e.remove=function(n){return j(n)?this.removeLabel(n):Y(n)?this.killTweensOf(n):(n.parent===this&&Re(this,n),n===this._recent&&(this._recent=this._last),Vt(this))},e.totalTime=function(n,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=U(ot.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),o.prototype.totalTime.call(this,n,r),this._forcing=0,this):this._tTime},e.addLabel=function(n,r){return this.labels[n]=gt(this,r),this},e.removeLabel=function(n){return delete this.labels[n],this},e.addPause=function(n,r,s){var a=K.delayedCall(0,r||he,s);return a.data="isPause",this._hasPause=1,bt(this,a,gt(this,n))},e.removePause=function(n){var r=this._first;for(n=gt(this,n);r;)r._start===n&&r.data==="isPause"&&Ft(r),r=r._next},e.killTweensOf=function(n,r,s){for(var a=this.getTweensOf(n,s),c=a.length;c--;)At!==a[c]&&a[c].kill(n,r);return this},e.getTweensOf=function(n,r){for(var s=[],a=xt(n),c=this._first,u=Ot(r),l;c;)c instanceof K?sr(c._targets,a)&&(u?(!At||c._initted&&c._ts)&&c.globalTime(0)<=r&&c.globalTime(c.totalDuration())>r:!r||c.isActive())&&s.push(c):(l=c.getTweensOf(a,r)).length&&s.push.apply(s,l),c=c._next;return s},e.tweenTo=function(n,r){r=r||{};var s=this,a=gt(s,n),c=r,u=c.startAt,l=c.onStart,d=c.onStartParams,h=c.immediateRender,p,_=K.to(s,pt({ease:r.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:r.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale())||z,onStart:function(){if(s.pause(),!p){var g=r.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale());_._dur!==g&&Jt(_,g,0,1).render(_._time,!0,!0),p=1}l&&l.apply(_,d||[])}},r));return h?_.render(0):_},e.tweenFromTo=function(n,r,s){return this.tweenTo(r,pt({startAt:{time:gt(this,n)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(n){return n===void 0&&(n=this._time),Ii(this,gt(this,n))},e.previousLabel=function(n){return n===void 0&&(n=this._time),Ii(this,gt(this,n),1)},e.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+z)},e.shiftChildren=function(n,r,s){s===void 0&&(s=0);var a=this._first,c=this.labels,u;for(n=U(n);a;)a._start>=s&&(a._start+=n,a._end+=n),a=a._next;if(r)for(u in c)c[u]>=s&&(c[u]+=n);return Vt(this)},e.invalidate=function(n){var r=this._first;for(this._lock=0;r;)r.invalidate(n),r=r._next;return o.prototype.invalidate.call(this,n)},e.clear=function(n){n===void 0&&(n=!0);for(var r=this._first,s;r;)s=r._next,this.remove(r),r=s;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Vt(this)},e.totalDuration=function(n){var r=0,s=this,a=s._last,c=mt,u,l,d;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-n:n));if(s._dirty){for(d=s.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),l=a._start,l>c&&s._sort&&a._ts&&!s._lock?(s._lock=1,bt(s,a,l-a._delay,1)._lock=0):c=l,l<0&&a._ts&&(r-=l,(!d&&!s._dp||d&&d.smoothChildTiming)&&(s._start+=U(l/s._ts),s._time-=l,s._tTime-=l),s.shiftChildren(-l,!1,-1/0),c=0),a._end>r&&a._ts&&(r=a._end),a=u;Jt(s,s===H&&s._time>r?s._time:r,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(n){if(H._ts&&(Ki(H,Oe(n,H)),qi=ot.frame),ot.frame>=Fi){Fi+=ut.autoSleep||120;var r=H._first;if((!r||!r._ts)&&ut.autoSleep&&ot._listeners.length<2){for(;r&&!r._ts;)r=r._next;r||ot.sleep()}}},t})(_e);pt(et.prototype,{_lock:0,_hasPause:0,_forcing:0});var Cr=function(t,e,i,n,r,s,a){var c=new st(this._pt,t,e,0,1,yi,null,r),u=0,l=0,d,h,p,_,f,g,y,m;for(c.b=i,c.e=n,i+="",n+="",(y=~n.indexOf("random("))&&(n=ee(n)),s&&(m=[i,n],s(m,t,e),i=m[0],n=m[1]),h=i.match(Ve)||[];d=Ve.exec(n);)_=d[0],f=n.substring(u,d.index),p?p=(p+1)%5:f.substr(-5)==="rgba("&&(p=1),_!==h[l++]&&(g=parseFloat(h[l-1])||0,c._pt={_next:c._pt,p:f||l===1?f:",",s:g,c:_.charAt(1)==="="?Wt(g,_)-g:parseFloat(_)-g,m:p&&p<4?Math.round:0},u=Ve.lastIndex);return c.c=u<n.length?n.substring(u,n.length):"",c.fp=a,(ai.test(n)||y)&&(c.e=0),this._pt=c,c},_i=function(t,e,i,n,r,s,a,c,u,l){Y(n)&&(n=n(r||0,t,s));var d=t[e],h=i!=="get"?i:Y(d)?u?t[e.indexOf("set")||!Y(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():d,p=Y(d)?u?Fr:gn:xi,_;if(j(n)&&(~n.indexOf("random(")&&(n=ee(n)),n.charAt(1)==="="&&(_=Wt(h,n)+(tt(h)||0),(_||_===0)&&(n=_))),!l||h!==n||ei)return!isNaN(h*n)&&n!==""?(_=new st(this._pt,t,e,+h||0,n-(h||0),typeof d=="boolean"?Nr:mn,0,p),u&&(_.fp=u),a&&_.modifier(a,this,t),this._pt=_):(!d&&!(e in t)&&Ae(e,n),Cr.call(this,t,e,h,n,p,c||ut.stringFilter,u))},kr=function(t,e,i,n,r){if(Y(t)&&(t=le(t,r,e,i,n)),!Tt(t)||t.style&&t.nodeType||it(t)||Gi(t))return j(t)?le(t,r,e,i,n):t;var s={},a;for(a in t)s[a]=le(t[a],r,e,i,n);return s},gi=function(t,e,i,n,r,s){var a,c,u,l;if(at[t]&&(a=new at[t]).init(r,a.rawVars?e[t]:kr(e[t],n,r,s,i),i,n,s)!==!1&&(i._pt=c=new st(i._pt,r,t,0,1,a.render,a,0,a.priority),i!==Zt))for(u=i._ptLookup[i._targets.indexOf(r)],l=a._props.length;l--;)u[a._props[l]]=c;return a},At,ei,mi=function o(t,e,i){var n=t.vars,r=n.ease,s=n.startAt,a=n.immediateRender,c=n.lazy,u=n.onUpdate,l=n.runBackwards,d=n.yoyoEase,h=n.keyframes,p=n.autoRevert,_=t._dur,f=t._startAt,g=t._targets,y=t.parent,m=y&&y.data==="nested"?y.vars.targets:g,v=t._overwrite==="auto"&&!ni,w=t.timeline,x=n.easeReverse||d,E,b,S,T,O,I,M,P,C,F,D,A,W;if(w&&(!h||!r)&&(r="none"),t._ease=Ut(r,fe.ease),t._rEase=x&&(Ut(x)||t._ease),t._from=!w&&!!n.runBackwards,t._from&&(t.ratio=1),!w||h&&!n.stagger){if(P=g[0]?Dt(g[0]).harness:0,A=P&&n[P.prop],E=Pe(n,ci),f&&(f._zTime<0&&f.progress(1),e<0&&l&&a&&!p?f.render(-1,!0):f.revert(l&&_?Te:nr),f._lazy=0),s){if(Ft(t._startAt=K.set(g,pt({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!f&&ct(c),startAt:null,delay:0,onUpdate:u&&function(){return dt(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(J||!a&&!p)&&t._startAt.revert(Te),a&&_&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(l&&_&&!f){if(e&&(a=!1),S=pt({overwrite:!1,data:"isFromStart",lazy:a&&!f&&ct(c),immediateRender:a,stagger:0,parent:y},E),A&&(S[P.prop]=A),Ft(t._startAt=K.set(g,S)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(J?t._startAt.revert(Te):t._startAt.render(-1,!0)),t._zTime=e,!a)o(t._startAt,z,z);else if(!e)return}for(t._pt=t._ptCache=0,c=_&&ct(c)||c&&!_,b=0;b<g.length;b++){if(O=g[b],M=O._gsap||li(g)[b]._gsap,t._ptLookup[b]=F={},$e[M.id]&&Rt.length&&Ee(),D=m===g?b:m.indexOf(O),P&&(C=new P).init(O,A||E,t,D,m)!==!1&&(t._pt=T=new st(t._pt,O,C.name,0,1,C.render,C,0,C.priority),C._props.forEach(function(k){F[k]=T}),C.priority&&(I=1)),!P||A)for(S in E)at[S]&&(C=gi(S,E,t,D,O,m))?C.priority&&(I=1):F[S]=T=_i.call(t,O,S,"get",E[S],D,m,0,n.stringFilter);t._op&&t._op[b]&&t.kill(O,t._op[b]),v&&t._pt&&(At=t,H.killTweensOf(O,F,t.globalTime(e)),W=!t.parent,At=0),t._pt&&c&&($e[M.id]=1)}I&&bi(t),t._onInit&&t._onInit(t)}t._onUpdate=u,t._initted=(!t._op||t._pt)&&!W,h&&e<=0&&w.render(mt,!0,!0)},Ar=function(t,e,i,n,r,s,a,c){var u=(t._pt&&t._ptCache||(t._ptCache={}))[e],l,d,h,p;if(!u)for(u=t._ptCache[e]=[],h=t._ptLookup,p=t._targets.length;p--;){if(l=h[p][e],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return ei=1,t.vars[e]="+=0",mi(t,a),ei=0,c?de(e+" not eligible for reset. Try splitting into individual properties"):1;u.push(l)}for(p=u.length;p--;)d=u[p],l=d._pt||d,l.s=(n||n===0)&&!r?n:l.s+(n||0)+s*l.c,l.c=i-l.s,d.e&&(d.e=X(i)+tt(d.e)),d.b&&(d.b=l.s+tt(d.b))},Rr=function(t,e){var i=t[0]?Dt(t[0]).harness:0,n=i&&i.aliases,r,s,a,c;if(!n)return e;r=jt({},e);for(s in n)if(s in r)for(c=n[s].split(","),a=c.length;a--;)r[c[a]]=r[s];return r},Dr=function(t,e,i,n){var r=e.ease||n||"power1.inOut",s,a;if(it(e))a=i[t]||(i[t]=[]),e.forEach(function(c,u){return a.push({t:u/(e.length-1)*100,v:c,e:r})});else for(s in e)a=i[s]||(i[s]=[]),s==="ease"||a.push({t:parseFloat(t),v:e[s],e:r})},le=function(t,e,i,n,r){return Y(t)?t.call(e,i,n,r):j(t)&&~t.indexOf("random(")?ee(t):t},pn=ui+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",_n={};rt(pn+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return _n[o]=1});var K=(function(o){Ui(t,o);function t(i,n,r,s){var a;typeof n=="number"&&(r.duration=n,n=r,r=null),a=o.call(this,s?n:ce(n))||this;var c=a.vars,u=c.duration,l=c.delay,d=c.immediateRender,h=c.stagger,p=c.overwrite,_=c.keyframes,f=c.defaults,g=c.scrollTrigger,y=n.parent||H,m=(it(i)||Gi(i)?Ot(i[0]):"length"in n)?[i]:xt(i),v,w,x,E,b,S,T,O;if(a._targets=m.length?li(m):de("GSAP target "+i+" not found. https://gsap.com",!ut.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=p,_||h||be(u)||be(l)){n=a.vars;var I=n.easeReverse||n.yoyoEase;if(v=a.timeline=new et({data:"nested",defaults:f||{},targets:y&&y.data==="nested"?y.vars.targets:m}),v.kill(),v.parent=v._dp=Et(a),v._start=0,h||be(u)||be(l)){if(E=m.length,T=h&&rn(h),Tt(h))for(b in h)~pn.indexOf(b)&&(O||(O={}),O[b]=h[b]);for(w=0;w<E;w++)x=Pe(n,_n),x.stagger=0,I&&(x.easeReverse=I),O&&jt(x,O),S=m[w],x.duration=+le(u,Et(a),w,S,m),x.delay=(+le(l,Et(a),w,S,m)||0)-a._delay,!h&&E===1&&x.delay&&(a._delay=l=x.delay,a._start+=l,x.delay=0),v.to(S,x,T?T(w,S,m):0),v._ease=R.none;v.duration()?u=l=0:a.timeline=0}else if(_){ce(pt(v.vars.defaults,{ease:"none"})),v._ease=Ut(_.ease||n.ease||"none");var M=0,P,C,F;if(it(_))_.forEach(function(D){return v.to(m,D,">")}),v.duration();else{x={};for(b in _)b==="ease"||b==="easeEach"||Dr(b,_[b],x,_.easeEach);for(b in x)for(P=x[b].sort(function(D,A){return D.t-A.t}),M=0,w=0;w<P.length;w++)C=P[w],F={ease:C.e,duration:(C.t-(w?P[w-1].t:0))/100*u},F[b]=C.v,v.to(m,F,M),M+=F.duration;v.duration()<u&&v.to({},{duration:u-v.duration()})}}u||a.duration(u=v.duration())}else a.timeline=0;return p===!0&&!ni&&(At=Et(a),H.killTweensOf(m),At=0),bt(y,Et(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(d||!u&&!_&&a._start===U(y._time)&&ct(d)&&ur(Et(a))&&y.data!=="nested")&&(a._tTime=-z,a.render(Math.max(0,-l)||0)),g&&Ji(Et(a),g),a}var e=t.prototype;return e.render=function(n,r,s){var a=this._time,c=this._tDur,u=this._dur,l=n<0,d=n>c-z&&!l?c:n<z?0:n,h,p,_,f,g,y,m,v;if(!u)fr(this,n,r,s);else if(d!==this._tTime||!n||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==l||this._lazy){if(h=d,v=this.timeline,this._repeat){if(f=u+this._rDelay,this._repeat<-1&&l)return this.totalTime(f*100+n,r,s);if(h=U(d%f),d===c?(_=this._repeat,h=u):(g=U(d/f),_=~~g,_&&_===g?(h=u,_--):h>u&&(h=u)),y=this._yoyo&&_&1,y&&(h=u-h),g=Qt(this._tTime,f),h===a&&!s&&this._initted&&_===g)return this._tTime=d,this;_!==g&&this.vars.repeatRefresh&&!y&&!this._lock&&h!==f&&this._initted&&(this._lock=s=1,this.render(U(f*_),!0).invalidate()._lock=0)}if(!this._initted){if(tn(this,l?n:h,s,r,d))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&_!==g))return this;if(u!==this._dur)return this.render(n,r,s)}if(this._rEase){var w=h<a;if(w!==this._inv){var x=w?a:u-a;this._inv=w,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=a,this._invRecip=x?(w?-1:1)/x:0,this._invScale=w?-this.ratio:1-this.ratio,this._invEase=w?this._rEase:this._ease}this.ratio=m=this._invRatio+this._invScale*this._invEase((h-this._invTime)*this._invRecip)}else this.ratio=m=this._ease(h/u);if(this._from&&(this.ratio=m=1-m),this._tTime=d,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),!a&&d&&!r&&!g&&(dt(this,"onStart"),this._tTime!==d))return this;for(p=this._pt;p;)p.r(m,p.d),p=p._next;v&&v.render(n<0?n:v._dur*v._ease(h/this._dur),r,s)||this._startAt&&(this._zTime=n),this._onUpdate&&!r&&(l&&Ze(this,n,r,s),dt(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!r&&this.parent&&dt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(l&&!this._onUpdate&&Ze(this,n,!0,!0),(n||!u)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&Ft(this,1),!r&&!(l&&!a)&&(d||a||y)&&(dt(this,d===c?"onComplete":"onReverseComplete",!0),this._prom&&!(d<c&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),o.prototype.invalidate.call(this,n)},e.resetTo=function(n,r,s,a,c){pe||ot.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),l;return this._initted||mi(this,u),l=this._ease(u/this._dur),Ar(this,n,r,s,a,l,u,c)?this.resetTo(n,r,s,a,1):(Fe(this,0),this.parent||ji(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(n,r){if(r===void 0&&(r="all"),!n&&(!r||r==="all"))return this._lazy=this._pt=0,this.parent?ae(this):this.scrollTrigger&&this.scrollTrigger.kill(!!J),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(n,r,At&&At.vars.overwrite!==!0)._first||ae(this),this.parent&&s!==this.timeline.totalDuration()&&Jt(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,c=n?xt(n):a,u=this._ptLookup,l=this._pt,d,h,p,_,f,g,y;if((!r||r==="all")&&or(a,c))return r==="all"&&(this._pt=0),ae(this);for(d=this._op=this._op||[],r!=="all"&&(j(r)&&(f={},rt(r,function(m){return f[m]=1}),r=f),r=Rr(a,r)),y=a.length;y--;)if(~c.indexOf(a[y])){h=u[y],r==="all"?(d[y]=r,_=h,p={}):(p=d[y]=d[y]||{},_=r);for(f in _)g=h&&h[f],g&&((!("kill"in g.d)||g.d.kill(f)===!0)&&Re(this,g,"_pt"),delete h[f]),p!=="all"&&(p[f]=1)}return this._initted&&!this._pt&&l&&ae(this),this},t.to=function(n,r){return new t(n,r,arguments[2])},t.from=function(n,r){return ue(1,arguments)},t.delayedCall=function(n,r,s,a){return new t(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:r,onReverseComplete:r,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(n,r,s){return ue(2,arguments)},t.set=function(n,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new t(n,r)},t.killTweensOf=function(n,r,s){return H.killTweensOf(n,r,s)},t})(_e);pt(K.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});rt("staggerTo,staggerFrom,staggerFromTo",function(o){K[o]=function(){var t=new et,e=Qe.call(arguments,0);return e.splice(o==="staggerFromTo"?5:4,0,0),t[o].apply(t,e)}});var xi=function(t,e,i){return t[e]=i},gn=function(t,e,i){return t[e](i)},Fr=function(t,e,i,n){return t[e](n.fp,i)},Lr=function(t,e,i){return t.setAttribute(e,i)},Le=function(t,e){return Y(t[e])?gn:ke(t[e])&&t.setAttribute?Lr:xi},mn=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},Nr=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},yi=function(t,e){var i=e._pt,n="";if(!t&&e.b)n=e.b;else if(t===1&&e.e)n=e.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+n,i=i._next;n+=e.c}e.set(e.t,e.p,n,e)},vi=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},zr=function(t,e,i,n){for(var r=this._pt,s;r;)s=r._next,r.p===n&&r.modifier(t,e,i),r=s},Ir=function(t){for(var e=this._pt,i,n;e;)n=e._next,e.p===t&&!e.op||e.op===t?Re(this,e,"_pt"):e.dep||(i=1),e=n;return!i},Br=function(t,e,i,n){n.mSet(t,e,n.m.call(n.tween,i,n.mt),n)},bi=function(t){for(var e=t._pt,i,n,r,s;e;){for(i=e._next,n=r;n&&n.pr>e.pr;)n=n._next;(e._prev=n?n._prev:s)?e._prev._next=e:r=e,(e._next=n)?n._prev=e:s=e,e=i}t._pt=r},st=(function(){function o(e,i,n,r,s,a,c,u,l){this.t=i,this.s=r,this.c=s,this.p=n,this.r=a||mn,this.d=c||this,this.set=u||xi,this.pr=l||0,this._next=e,e&&(e._prev=this)}var t=o.prototype;return t.modifier=function(i,n,r){this.mSet=this.mSet||this.set,this.set=Br,this.m=i,this.mt=r,this.tween=n},o})();rt(ui+"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,easeReverse",function(o){return ci[o]=1});ht.TweenMax=ht.TweenLite=K;ht.TimelineLite=ht.TimelineMax=et;H=new et({sortChildren:!1,defaults:fe,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});ut.stringFilter=hi;var Ht=[],Se={},Vr=[],Vi=0,Ur=0,Ye=function(t){return(Se[t]||Vr).map(function(e){return e()})},ii=function(){var t=Date.now(),e=[];t-Vi>2&&(Ye("matchMediaInit"),Ht.forEach(function(i){var n=i.queries,r=i.conditions,s,a,c,u;for(a in n)s=vt.matchMedia(n[a]).matches,s&&(c=1),s!==r[a]&&(r[a]=s,u=1);u&&(i.revert(),c&&e.push(i))}),Ye("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(n){return i.add(null,n)})}),Vi=t,Ye("matchMedia"))},xn=(function(){function o(e,i){this.selector=i&&Je(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Ur++,e&&this.add(e)}var t=o.prototype;return t.add=function(i,n,r){Y(i)&&(r=n,n=i,i=Y);var s=this,a=function(){var u=V,l=s.selector,d;return u&&u!==s&&u.data.push(s),r&&(s.selector=Je(r)),V=s,d=n.apply(s,arguments),Y(d)&&s._r.push(d),V=u,s.selector=l,s.isReverted=!1,d};return s.last=a,i===Y?a(s,function(c){return s.add(null,c)}):i?s[i]=a:a},t.ignore=function(i){var n=V;V=null,i(this),V=n},t.getTweens=function(){var i=[];return this.data.forEach(function(n){return n instanceof o?i.push.apply(i,n.getTweens()):n instanceof K&&!(n.parent&&n.parent.data==="nested")&&i.push(n)}),i},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(i,n){var r=this;if(i?(function(){for(var a=r.getTweens(),c=r.data.length,u;c--;)u=r.data[c],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(l){return a.splice(a.indexOf(l),1)}));for(a.map(function(l){return{g:l._dur||l._delay||l._sat&&!l._sat.vars.immediateRender?l.globalTime(0):-1/0,t:l}}).sort(function(l,d){return d.g-l.g||-1/0}).forEach(function(l){return l.t.revert(i)}),c=r.data.length;c--;)u=r.data[c],u instanceof et?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof K)&&u.revert&&u.revert(i);r._r.forEach(function(l){return l(i,r)}),r.isReverted=!0})():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var s=Ht.length;s--;)Ht[s].id===this.id&&Ht.splice(s,1)},t.revert=function(i){this.kill(i||{})},o})(),Hr=(function(){function o(e){this.contexts=[],this.scope=e,V&&V.data.push(this)}var t=o.prototype;return t.add=function(i,n,r){Tt(i)||(i={matches:i});var s=new xn(0,r||this.scope),a=s.conditions={},c,u,l;V&&!s.selector&&(s.selector=V.selector),this.contexts.push(s),n=s.add("onMatch",n),s.queries=i;for(u in i)u==="all"?l=1:(c=vt.matchMedia(i[u]),c&&(Ht.indexOf(s)<0&&Ht.push(s),(a[u]=c.matches)&&(l=1),c.addListener?c.addListener(ii):c.addEventListener("change",ii)));return l&&n(s,function(d){return s.add(null,d)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(n){return n.kill(i,!0)})},o})(),Ce={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(n){return ln(n)})},timeline:function(t){return new et(t)},getTweensOf:function(t,e){return H.getTweensOf(t,e)},getProperty:function(t,e,i,n){j(t)&&(t=xt(t)[0]);var r=Dt(t||{}).get,s=i?Zi:$i;return i==="native"&&(i=""),t&&(e?s((at[e]&&at[e].get||r)(t,e,i,n)):function(a,c,u){return s((at[a]&&at[a].get||r)(t,a,c,u))})},quickSetter:function(t,e,i){if(t=xt(t),t.length>1){var n=t.map(function(l){return nt.quickSetter(l,e,i)}),r=n.length;return function(l){for(var d=r;d--;)n[d](l)}}t=t[0]||{};var s=at[e],a=Dt(t),c=a.harness&&(a.harness.aliases||{})[e]||e,u=s?function(l){var d=new s;Zt._pt=0,d.init(t,i?l+i:l,Zt,0,[t]),d.render(1,d),Zt._pt&&vi(1,Zt)}:a.set(t,c);return s?u:function(l){return u(t,c,i?l+i:l,a,1)}},quickTo:function(t,e,i){var n,r=nt.to(t,pt((n={},n[e]="+=0.1",n.paused=!0,n.stagger=0,n),i||{})),s=function(c,u,l){return r.resetTo(e,c,u,l)};return s.tween=r,s},isTweening:function(t){return H.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Ut(t.ease,fe.ease)),Li(fe,t||{})},config:function(t){return Li(ut,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,n=t.plugins,r=t.defaults,s=t.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!at[a]&&!ht[a]&&de(e+" effect requires "+a+" plugin.")}),Ue[e]=function(a,c,u){return i(xt(a),pt(c||{},r),u)},s&&(et.prototype[e]=function(a,c,u){return this.add(Ue[e](a,Tt(c)?c:(u=c)&&{},this),u)})},registerEase:function(t,e){R[t]=Ut(e)},parseEase:function(t,e){return arguments.length?Ut(t,e):R},getById:function(t){return H.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new et(t),n,r;for(i.smoothChildTiming=ct(t.smoothChildTiming),H.remove(i),i._dp=0,i._time=i._tTime=H._time,n=H._first;n;)r=n._next,(e||!(!n._dur&&n instanceof K&&n.vars.onComplete===n._targets[0]))&&bt(i,n,n._start-n._delay),n=r;return bt(H,i,0),i},context:function(t,e){return t?new xn(t,e):V},matchMedia:function(t){return new Hr(t)},matchMediaRefresh:function(){return Ht.forEach(function(t){var e=t.conditions,i,n;for(n in e)e[n]&&(e[n]=!1,i=1);i&&t.revert()})||ii()},addEventListener:function(t,e){var i=Se[t]||(Se[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=Se[t],n=i&&i.indexOf(e);n>=0&&i.splice(n,1)},utils:{wrap:yr,wrapYoyo:vr,distribute:rn,random:an,snap:sn,normalize:xr,getUnit:tt,clamp:pr,splitColor:fn,toArray:xt,selector:Je,mapRange:cn,pipe:gr,unitize:mr,interpolate:br,shuffle:nn},install:Yi,effects:Ue,ticker:ot,updateRoot:et.updateRoot,plugins:at,globalTimeline:H,core:{PropTween:st,globals:Xi,Tween:K,Timeline:et,Animation:_e,getCache:Dt,_removeLinkedListItem:Re,reverting:function(){return J},context:function(t){return t&&V&&(V.data.push(t),t._ctx=V),V},suppressOverwrites:function(t){return ni=t}}};rt("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Ce[o]=K[o]});ot.add(et.updateRoot);Zt=Ce.to({},{duration:0});var Gr=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},Wr=function(t,e){var i=t._targets,n,r,s;for(n in e)for(r=i.length;r--;)s=t._ptLookup[r][n],s&&(s=s.d)&&(s._pt&&(s=Gr(s,n)),s&&s.modifier&&s.modifier(e[n],t,i[r],n))},Xe=function(t,e){return{name:t,headless:1,rawVars:1,init:function(n,r,s){s._onInit=function(a){var c,u;if(j(r)&&(c={},rt(r,function(l){return c[l]=1}),r=c),e){c={};for(u in r)c[u]=e(r[u]);r=c}Wr(a,r)}}}},nt=Ce.registerPlugin({name:"attr",init:function(t,e,i,n,r){var s,a,c;this.tween=i;for(s in e)c=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(c||0)+"",e[s],n,r,0,0,s),a.op=s,a.b=c,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)J?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",headless:1,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)}},Xe("roundProps",ti),Xe("modifiers"),Xe("snap",sn))||Ce;K.version=et.version=nt.version="3.15.0";Wi=1;ri()&&te();var Yr=R.Power0,Xr=R.Power1,qr=R.Power2,Kr=R.Power3,$r=R.Power4,Zr=R.Linear,jr=R.Quad,Qr=R.Cubic,Jr=R.Quart,ts=R.Quint,es=R.Strong,is=R.Elastic,ns=R.Back,rs=R.SteppedEase,ss=R.Bounce,as=R.Sine,os=R.Expo,cs=R.Circ;var yn,Nt,ne,Pi,$t,us,vn,Oi,ls=function(){return typeof window<"u"},kt={},Kt=180/Math.PI,re=Math.PI/180,ie=Math.atan2,bn=1e8,Ci=/([A-Z])/g,fs=/(left|right|width|margin|padding|x)/i,ds=/[\s,\(]\S/,wt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},wi=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},hs=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)},ps=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)},_s=function(t,e){return e.set(e.t,e.p,t===1?e.e:t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},gs=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Cn=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},kn=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},ms=function(t,e,i){return t.style[e]=i},xs=function(t,e,i){return t.style.setProperty(e,i)},ys=function(t,e,i){return t._gsap[e]=i},vs=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},bs=function(t,e,i,n,r){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(r,s)},Ts=function(t,e,i,n,r){var s=t._gsap;s[e]=i,s.renderTransform(r,s)},G="transform",lt=G+"Origin",ws=function o(t,e){var i=this,n=this.target,r=n.style,s=n._gsap;if(t in kt&&r){if(this.tfm=this.tfm||{},t!=="transform")t=wt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return i.tfm[a]=Ct(n,a)}):this.tfm[t]=s.x?s[t]:Ct(n,t),t===lt&&(this.tfm.zOrigin=s.zOrigin);else return wt.transform.split(",").forEach(function(a){return o.call(i,a,e)});if(this.props.indexOf(G)>=0)return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(lt,e,"")),t=G}(r||e)&&this.props.push(t,e,r[t])},An=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Ss=function(){var t=this.props,e=this.target,i=e.style,n=e._gsap,r,s;for(r=0;r<t.length;r+=3)t[r+1]?t[r+1]===2?e[t[r]](t[r+2]):e[t[r]]=t[r+2]:t[r+2]?i[t[r]]=t[r+2]:i.removeProperty(t[r].substr(0,2)==="--"?t[r]:t[r].replace(Ci,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)n[s]=this.tfm[s];n.svg&&(n.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),r=Oi(),(!r||!r.isStart)&&!i[G]&&(An(i),n.zOrigin&&i[lt]&&(i[lt]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},Rn=function(t,e){var i={target:t,props:[],revert:Ss,save:ws};return t._gsap||nt.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(n){return i.save(n)}),i},Dn,Si=function(t,e){var i=Nt.createElementNS?Nt.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Nt.createElement(t);return i&&i.style?i:Nt.createElement(t)},_t=function o(t,e,i){var n=getComputedStyle(t);return n[e]||n.getPropertyValue(e.replace(Ci,"-$1").toLowerCase())||n.getPropertyValue(e)||!i&&o(t,se(e)||e,1)||""},Tn="O,Moz,ms,Ms,Webkit".split(","),se=function(t,e,i){var n=e||$t,r=n.style,s=5;if(t in r&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Tn[s]+t in r););return s<0?null:(s===3?"ms":s>=0?Tn[s]:"")+t},Mi=function(){ls()&&window.document&&(yn=window,Nt=yn.document,ne=Nt.documentElement,$t=Si("div")||{style:{}},us=Si("div"),G=se(G),lt=G+"Origin",$t.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Dn=!!se("perspective"),Oi=nt.core.reverting,Pi=1)},wn=function(t){var e=t.ownerSVGElement,i=Si("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=t.cloneNode(!0),r;n.style.display="block",i.appendChild(n),ne.appendChild(i);try{r=n.getBBox()}catch{}return i.removeChild(n),ne.removeChild(i),r},Sn=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Fn=function(t){var e,i;try{e=t.getBBox()}catch{e=wn(t),i=1}return e&&(e.width||e.height)||i||(e=wn(t)),e&&!e.width&&!e.x&&!e.y?{x:+Sn(t,["x","cx","x1"])||0,y:+Sn(t,["y","cy","y1"])||0,width:0,height:0}:e},Ln=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Fn(t))},It=function(t,e){if(e){var i=t.style,n;e in kt&&e!==lt&&(e=G),i.removeProperty?(n=e.substr(0,2),(n==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(n==="--"?e:e.replace(Ci,"-$1").toLowerCase())):i.removeAttribute(e)}},zt=function(t,e,i,n,r,s){var a=new st(t._pt,e,i,0,1,s?kn:Cn);return t._pt=a,a.b=n,a.e=r,t._props.push(i),a},Mn={deg:1,rad:1,turn:1},Ms={grid:1,flex:1},Bt=function o(t,e,i,n){var r=parseFloat(i)||0,s=(i+"").trim().substr((r+"").length)||"px",a=$t.style,c=fs.test(e),u=t.tagName.toLowerCase()==="svg",l=(u?"client":"offset")+(c?"Width":"Height"),d=100,h=n==="px",p=n==="%",_,f,g,y;if(n===s||!r||Mn[n]||Mn[s])return r;if(s!=="px"&&!h&&(r=o(t,e,i,"px")),y=t.getCTM&&Ln(t),(p||s==="%")&&(kt[e]||~e.indexOf("adius")))return _=y?t.getBBox()[c?"width":"height"]:t[l],X(p?r/_*d:r/100*_);if(a[c?"width":"height"]=d+(h?s:n),f=n!=="rem"&&~e.indexOf("adius")||n==="em"&&t.appendChild&&!u?t:t.parentNode,y&&(f=(t.ownerSVGElement||{}).parentNode),(!f||f===Nt||!f.appendChild)&&(f=Nt.body),g=f._gsap,g&&p&&g.width&&c&&g.time===ot.time&&!g.uncache)return X(r/g.width*d);if(p&&(e==="height"||e==="width")){var m=t.style[e];t.style[e]=d+n,_=t[l],m?t.style[e]=m:It(t,e)}else(p||s==="%")&&!Ms[_t(f,"display")]&&(a.position=_t(t,"position")),f===t&&(a.position="static"),f.appendChild($t),_=$t[l],f.removeChild($t),a.position="absolute";return c&&p&&(g=Dt(f),g.time=ot.time,g.width=f[l]),X(h?_*r/d:_&&r?d/_*r:0)},Ct=function(t,e,i,n){var r;return Pi||Mi(),e in wt&&e!=="transform"&&(e=wt[e],~e.indexOf(",")&&(e=e.split(",")[0])),kt[e]&&e!=="transform"?(r=ye(t,n),r=e!=="transformOrigin"?r[e]:r.svg?r.origin:ze(_t(t,lt))+" "+r.zOrigin+"px"):(r=t.style[e],(!r||r==="auto"||n||~(r+"").indexOf("calc("))&&(r=Ne[e]&&Ne[e](t,e,i)||_t(t,e)||fi(t,e)||(e==="opacity"?1:0))),i&&!~(r+"").trim().indexOf(" ")?Bt(t,e,r,i)+i:r},Es=function(t,e,i,n){if(!i||i==="none"){var r=se(e,t,1),s=r&&_t(t,r,1);s&&s!==i?(e=r,i=s):e==="borderColor"&&(i=_t(t,"borderTopColor"))}var a=new st(this._pt,t.style,e,0,1,yi),c=0,u=0,l,d,h,p,_,f,g,y,m,v,w,x;if(a.b=i,a.e=n,i+="",n+="",n.substring(0,6)==="var(--"&&(n=_t(t,n.substring(4,n.indexOf(")")))),n==="auto"&&(f=t.style[e],t.style[e]=n,n=_t(t,e)||n,f?t.style[e]=f:It(t,e)),l=[i,n],hi(l),i=l[0],n=l[1],h=i.match(Gt)||[],x=n.match(Gt)||[],x.length){for(;d=Gt.exec(n);)g=d[0],m=n.substring(c,d.index),_?_=(_+1)%5:(m.substr(-5)==="rgba("||m.substr(-5)==="hsla(")&&(_=1),g!==(f=h[u++]||"")&&(p=parseFloat(f)||0,w=f.substr((p+"").length),g.charAt(1)==="="&&(g=Wt(p,g)+w),y=parseFloat(g),v=g.substr((y+"").length),c=Gt.lastIndex-v.length,v||(v=v||ut.units[e]||w,c===n.length&&(n+=v,a.e+=v)),w!==v&&(p=Bt(t,e,f,v)||0),a._pt={_next:a._pt,p:m||u===1?m:",",s:p,c:y-p,m:_&&_<4||e==="zIndex"?Math.round:0});a.c=c<n.length?n.substring(c,n.length):""}else a.r=e==="display"&&n==="none"?kn:Cn;return ai.test(n)&&(a.e=0),this._pt=a,a},En={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ps=function(t){var e=t.split(" "),i=e[0],n=e[1]||"50%";return(i==="top"||i==="bottom"||n==="left"||n==="right")&&(t=i,i=n,n=t),e[0]=En[i]||i,e[1]=En[n]||n,e.join(" ")},Os=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,n=i.style,r=e.u,s=i._gsap,a,c,u;if(r==="all"||r===!0)n.cssText="",c=1;else for(r=r.split(","),u=r.length;--u>-1;)a=r[u],kt[a]&&(c=1,a=a==="transformOrigin"?lt:G),It(i,a);c&&(It(i,G),s&&(s.svg&&i.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",ye(i,1),s.uncache=1,An(n)))}},Ne={clearProps:function(t,e,i,n,r){if(r.data!=="isFromStart"){var s=t._pt=new st(t._pt,e,i,0,0,Os);return s.u=n,s.pr=-10,s.tween=r,t._props.push(i),1}}},xe=[1,0,0,1,0,0],Nn={},zn=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Pn=function(t){var e=_t(t,G);return zn(e)?xe:e.substr(7).match(si).map(X)},ki=function(t,e){var i=t._gsap||Dt(t),n=t.style,r=Pn(t),s,a,c,u;return i.svg&&t.getAttribute("transform")?(c=t.transform.baseVal.consolidate().matrix,r=[c.a,c.b,c.c,c.d,c.e,c.f],r.join(",")==="1,0,0,1,0,0"?xe:r):(r===xe&&!t.offsetParent&&t!==ne&&!i.svg&&(c=n.display,n.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(u=1,a=t.nextElementSibling,ne.appendChild(t)),r=Pn(t),c?n.display=c:It(t,"display"),u&&(a?s.insertBefore(t,a):s?s.appendChild(t):ne.removeChild(t))),e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r)},Ei=function(t,e,i,n,r,s){var a=t._gsap,c=r||ki(t,!0),u=a.xOrigin||0,l=a.yOrigin||0,d=a.xOffset||0,h=a.yOffset||0,p=c[0],_=c[1],f=c[2],g=c[3],y=c[4],m=c[5],v=e.split(" "),w=parseFloat(v[0])||0,x=parseFloat(v[1])||0,E,b,S,T;i?c!==xe&&(b=p*g-_*f)&&(S=w*(g/b)+x*(-f/b)+(f*m-g*y)/b,T=w*(-_/b)+x*(p/b)-(p*m-_*y)/b,w=S,x=T):(E=Fn(t),w=E.x+(~v[0].indexOf("%")?w/100*E.width:w),x=E.y+(~(v[1]||v[0]).indexOf("%")?x/100*E.height:x)),n||n!==!1&&a.smooth?(y=w-u,m=x-l,a.xOffset=d+(y*p+m*f)-y,a.yOffset=h+(y*_+m*g)-m):a.xOffset=a.yOffset=0,a.xOrigin=w,a.yOrigin=x,a.smooth=!!n,a.origin=e,a.originIsAbsolute=!!i,t.style[lt]="0px 0px",s&&(zt(s,a,"xOrigin",u,w),zt(s,a,"yOrigin",l,x),zt(s,a,"xOffset",d,a.xOffset),zt(s,a,"yOffset",h,a.yOffset)),t.setAttribute("data-svg-origin",w+" "+x)},ye=function(t,e){var i=t._gsap||new pi(t);if("x"in i&&!e&&!i.uncache)return i;var n=t.style,r=i.scaleX<0,s="px",a="deg",c=getComputedStyle(t),u=_t(t,lt)||"0",l,d,h,p,_,f,g,y,m,v,w,x,E,b,S,T,O,I,M,P,C,F,D,A,W,k,L,B,q,yt,Z,Mt;return l=d=h=f=g=y=m=v=w=0,p=_=1,i.svg=!!(t.getCTM&&Ln(t)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(n[G]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[G]!=="none"?c[G]:"")),n.scale=n.rotate=n.translate="none"),b=ki(t,i.svg),i.svg&&(i.uncache?(W=t.getBBox(),u=i.xOrigin-W.x+"px "+(i.yOrigin-W.y)+"px",A=""):A=!e&&t.getAttribute("data-svg-origin"),Ei(t,A||u,!!A||i.originIsAbsolute,i.smooth!==!1,b)),x=i.xOrigin||0,E=i.yOrigin||0,b!==xe&&(I=b[0],M=b[1],P=b[2],C=b[3],l=F=b[4],d=D=b[5],b.length===6?(p=Math.sqrt(I*I+M*M),_=Math.sqrt(C*C+P*P),f=I||M?ie(M,I)*Kt:0,m=P||C?ie(P,C)*Kt+f:0,m&&(_*=Math.abs(Math.cos(m*re))),i.svg&&(l-=x-(x*I+E*P),d-=E-(x*M+E*C))):(Mt=b[6],yt=b[7],L=b[8],B=b[9],q=b[10],Z=b[11],l=b[12],d=b[13],h=b[14],S=ie(Mt,q),g=S*Kt,S&&(T=Math.cos(-S),O=Math.sin(-S),A=F*T+L*O,W=D*T+B*O,k=Mt*T+q*O,L=F*-O+L*T,B=D*-O+B*T,q=Mt*-O+q*T,Z=yt*-O+Z*T,F=A,D=W,Mt=k),S=ie(-P,q),y=S*Kt,S&&(T=Math.cos(-S),O=Math.sin(-S),A=I*T-L*O,W=M*T-B*O,k=P*T-q*O,Z=C*O+Z*T,I=A,M=W,P=k),S=ie(M,I),f=S*Kt,S&&(T=Math.cos(S),O=Math.sin(S),A=I*T+M*O,W=F*T+D*O,M=M*T-I*O,D=D*T-F*O,I=A,F=W),g&&Math.abs(g)+Math.abs(f)>359.9&&(g=f=0,y=180-y),p=X(Math.sqrt(I*I+M*M+P*P)),_=X(Math.sqrt(D*D+Mt*Mt)),S=ie(F,D),m=Math.abs(S)>2e-4?S*Kt:0,w=Z?1/(Z<0?-Z:Z):0),i.svg&&(A=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!zn(_t(t,G)),A&&t.setAttribute("transform",A))),Math.abs(m)>90&&Math.abs(m)<270&&(r?(p*=-1,m+=f<=0?180:-180,f+=f<=0?180:-180):(_*=-1,m+=m<=0?180:-180)),e=e||i.uncache,i.x=l-((i.xPercent=l&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-l)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+s,i.y=d-((i.yPercent=d&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-d)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+s,i.z=h+s,i.scaleX=X(p),i.scaleY=X(_),i.rotation=X(f)+a,i.rotationX=X(g)+a,i.rotationY=X(y)+a,i.skewX=m+a,i.skewY=v+a,i.transformPerspective=w+s,(i.zOrigin=parseFloat(u.split(" ")[2])||!e&&i.zOrigin||0)&&(n[lt]=ze(u)),i.xOffset=i.yOffset=0,i.force3D=ut.force3D,i.renderTransform=i.svg?ks:Dn?In:Cs,i.uncache=0,i},ze=function(t){return(t=t.split(" "))[0]+" "+t[1]},Ti=function(t,e,i){var n=tt(e);return X(parseFloat(e)+parseFloat(Bt(t,"x",i+"px",n)))+n},Cs=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,In(t,e)},Xt="0deg",me="0px",qt=") ",In=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,s=i.x,a=i.y,c=i.z,u=i.rotation,l=i.rotationY,d=i.rotationX,h=i.skewX,p=i.skewY,_=i.scaleX,f=i.scaleY,g=i.transformPerspective,y=i.force3D,m=i.target,v=i.zOrigin,w="",x=y==="auto"&&t&&t!==1||y===!0;if(v&&(d!==Xt||l!==Xt)){var E=parseFloat(l)*re,b=Math.sin(E),S=Math.cos(E),T;E=parseFloat(d)*re,T=Math.cos(E),s=Ti(m,s,b*T*-v),a=Ti(m,a,-Math.sin(E)*-v),c=Ti(m,c,S*T*-v+v)}g!==me&&(w+="perspective("+g+qt),(n||r)&&(w+="translate("+n+"%, "+r+"%) "),(x||s!==me||a!==me||c!==me)&&(w+=c!==me||x?"translate3d("+s+", "+a+", "+c+") ":"translate("+s+", "+a+qt),u!==Xt&&(w+="rotate("+u+qt),l!==Xt&&(w+="rotateY("+l+qt),d!==Xt&&(w+="rotateX("+d+qt),(h!==Xt||p!==Xt)&&(w+="skew("+h+", "+p+qt),(_!==1||f!==1)&&(w+="scale("+_+", "+f+qt),m.style[G]=w||"translate(0, 0)"},ks=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,s=i.x,a=i.y,c=i.rotation,u=i.skewX,l=i.skewY,d=i.scaleX,h=i.scaleY,p=i.target,_=i.xOrigin,f=i.yOrigin,g=i.xOffset,y=i.yOffset,m=i.forceCSS,v=parseFloat(s),w=parseFloat(a),x,E,b,S,T;c=parseFloat(c),u=parseFloat(u),l=parseFloat(l),l&&(l=parseFloat(l),u+=l,c+=l),c||u?(c*=re,u*=re,x=Math.cos(c)*d,E=Math.sin(c)*d,b=Math.sin(c-u)*-h,S=Math.cos(c-u)*h,u&&(l*=re,T=Math.tan(u-l),T=Math.sqrt(1+T*T),b*=T,S*=T,l&&(T=Math.tan(l),T=Math.sqrt(1+T*T),x*=T,E*=T)),x=X(x),E=X(E),b=X(b),S=X(S)):(x=d,S=h,E=b=0),(v&&!~(s+"").indexOf("px")||w&&!~(a+"").indexOf("px"))&&(v=Bt(p,"x",s,"px"),w=Bt(p,"y",a,"px")),(_||f||g||y)&&(v=X(v+_-(_*x+f*b)+g),w=X(w+f-(_*E+f*S)+y)),(n||r)&&(T=p.getBBox(),v=X(v+n/100*T.width),w=X(w+r/100*T.height)),T="matrix("+x+","+E+","+b+","+S+","+v+","+w+")",p.setAttribute("transform",T),m&&(p.style[G]=T)},As=function(t,e,i,n,r){var s=360,a=j(r),c=parseFloat(r)*(a&&~r.indexOf("rad")?Kt:1),u=c-n,l=n+u+"deg",d,h;return a&&(d=r.split("_")[1],d==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),d==="cw"&&u<0?u=(u+s*bn)%s-~~(u/s)*s:d==="ccw"&&u>0&&(u=(u-s*bn)%s-~~(u/s)*s)),t._pt=h=new st(t._pt,e,i,n,u,hs),h.e=l,h.u="deg",t._props.push(i),h},On=function(t,e){for(var i in e)t[i]=e[i];return t},Rs=function(t,e,i){var n=On({},i._gsap),r="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,c,u,l,d,h,p,_;n.svg?(u=i.getAttribute("transform"),i.setAttribute("transform",""),s[G]=e,a=ye(i,1),It(i,G),i.setAttribute("transform",u)):(u=getComputedStyle(i)[G],s[G]=e,a=ye(i,1),s[G]=u);for(c in kt)u=n[c],l=a[c],u!==l&&r.indexOf(c)<0&&(p=tt(u),_=tt(l),d=p!==_?Bt(i,c,u,_):parseFloat(u),h=parseFloat(l),t._pt=new st(t._pt,a,c,d,h-d,wi),t._pt.u=_||0,t._props.push(c));On(a,n)};rt("padding,margin,Width,Radius",function(o,t){var e="Top",i="Right",n="Bottom",r="Left",s=(t<3?[e,i,n,r]:[e+r,e+i,n+i,n+r]).map(function(a){return t<2?o+a:"border"+a+o});Ne[t>1?"border"+o:o]=function(a,c,u,l,d){var h,p;if(arguments.length<4)return h=s.map(function(_){return Ct(a,_,u)}),p=h.join(" "),p.split(h[0]).length===5?h[0]:p;h=(l+"").split(" "),p={},s.forEach(function(_,f){return p[_]=h[f]=h[f]||h[(f-1)/2|0]}),a.init(c,p,d)}});var Ai={name:"css",register:Mi,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,n,r){var s=this._props,a=t.style,c=i.vars.startAt,u,l,d,h,p,_,f,g,y,m,v,w,x,E,b,S,T;Pi||Mi(),this.styles=this.styles||Rn(t),S=this.styles.props,this.tween=i;for(f in e)if(f!=="autoRound"&&(l=e[f],!(at[f]&&gi(f,e,i,n,t,r)))){if(p=typeof l,_=Ne[f],p==="function"&&(l=l.call(i,n,t,r),p=typeof l),p==="string"&&~l.indexOf("random(")&&(l=ee(l)),_)_(this,t,f,l,i)&&(b=1);else if(f.substr(0,2)==="--")u=(getComputedStyle(t).getPropertyValue(f)+"").trim(),l+="",Pt.lastIndex=0,Pt.test(u)||(g=tt(u),y=tt(l),y?g!==y&&(u=Bt(t,f,u,y)+y):g&&(l+=g)),this.add(a,"setProperty",u,l,n,r,0,0,f),s.push(f),S.push(f,0,a[f]);else if(p!=="undefined"){if(c&&f in c?(u=typeof c[f]=="function"?c[f].call(i,n,t,r):c[f],j(u)&&~u.indexOf("random(")&&(u=ee(u)),tt(u+"")||u==="auto"||(u+=ut.units[f]||tt(Ct(t,f))||""),(u+"").charAt(1)==="="&&(u=Ct(t,f))):u=Ct(t,f),h=parseFloat(u),m=p==="string"&&l.charAt(1)==="="&&l.substr(0,2),m&&(l=l.substr(2)),d=parseFloat(l),f in wt&&(f==="autoAlpha"&&(h===1&&Ct(t,"visibility")==="hidden"&&d&&(h=0),S.push("visibility",0,a.visibility),zt(this,a,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),f!=="scale"&&f!=="transform"&&(f=wt[f],~f.indexOf(",")&&(f=f.split(",")[0]))),v=f in kt,v){if(this.styles.save(f),T=l,p==="string"&&l.substring(0,6)==="var(--"){if(l=_t(t,l.substring(4,l.indexOf(")"))),l.substring(0,5)==="calc("){var O=t.style.perspective;t.style.perspective=l,l=_t(t,"perspective"),O?t.style.perspective=O:It(t,"perspective")}d=parseFloat(l)}if(w||(x=t._gsap,x.renderTransform&&!e.parseTransform||ye(t,e.parseTransform),E=e.smoothOrigin!==!1&&x.smooth,w=this._pt=new st(this._pt,a,G,0,1,x.renderTransform,x,0,-1),w.dep=1),f==="scale")this._pt=new st(this._pt,x,"scaleY",x.scaleY,(m?Wt(x.scaleY,m+d):d)-x.scaleY||0,wi),this._pt.u=0,s.push("scaleY",f),f+="X";else if(f==="transformOrigin"){S.push(lt,0,a[lt]),l=Ps(l),x.svg?Ei(t,l,0,E,0,this):(y=parseFloat(l.split(" ")[2])||0,y!==x.zOrigin&&zt(this,x,"zOrigin",x.zOrigin,y),zt(this,a,f,ze(u),ze(l)));continue}else if(f==="svgOrigin"){Ei(t,l,1,E,0,this);continue}else if(f in Nn){As(this,x,f,h,m?Wt(h,m+l):l);continue}else if(f==="smoothOrigin"){zt(this,x,"smooth",x.smooth,l);continue}else if(f==="force3D"){x[f]=l;continue}else if(f==="transform"){Rs(this,l,t);continue}}else f in a||(f=se(f)||f);if(v||(d||d===0)&&(h||h===0)&&!ds.test(l)&&f in a)g=(u+"").substr((h+"").length),d||(d=0),y=tt(l)||(f in ut.units?ut.units[f]:g),g!==y&&(h=Bt(t,f,u,y)),this._pt=new st(this._pt,v?x:a,f,h,(m?Wt(h,m+d):d)-h,!v&&(y==="px"||f==="zIndex")&&e.autoRound!==!1?gs:wi),this._pt.u=y||0,v&&T!==l?(this._pt.b=u,this._pt.e=T,this._pt.r=_s):g!==y&&y!=="%"&&(this._pt.b=u,this._pt.r=ps);else if(f in a)Es.call(this,t,f,u,m?m+l:l);else if(f in t)this.add(t,f,u||t[f],m?m+l:l,n,r);else if(f!=="parseTransform"){Ae(f,l);continue}v||(f in a?S.push(f,0,a[f]):typeof t[f]=="function"?S.push(f,2,t[f]()):S.push(f,1,u||t[f])),s.push(f)}}b&&bi(this)},render:function(t,e){if(e.tween._time||!Oi())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:Ct,aliases:wt,getSetter:function(t,e,i){var n=wt[e];return n&&n.indexOf(",")<0&&(e=n),e in kt&&e!==lt&&(t._gsap.x||Ct(t,"x"))?i&&vn===i?e==="scale"?vs:ys:(vn=i||{})&&(e==="scale"?bs:Ts):t.style&&!ke(t.style[e])?ms:~e.indexOf("-")?xs:Le(t,e)},core:{_removeProperty:It,_getMatrix:ki}};nt.utils.checkPrefix=se;nt.core.getStyleSaver=Rn;(function(o,t,e,i){var n=rt(o+","+t+","+e,function(r){kt[r]=1});rt(t,function(r){ut.units[r]="deg",Nn[r]=1}),wt[n[13]]=o+","+t,rt(i,function(r){var s=r.split(":");wt[s[1]]=n[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");rt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){ut.units[o]="px"});nt.registerPlugin(Ai);var Q=nt.registerPlugin(Ai)||nt,ta=Q.core.Tween;var ft=Object.freeze({contentMilliseconds:220,detailRevealDelaySeconds:.1,detailRevealSeconds:.3,detailRetireSeconds:.15,dispatchSeconds:.54,expandSeconds:.54,morphSeconds:.48,pressSeconds:.12,revealSeconds:.26,sceneRevealDelaySeconds:.06,sweepSeconds:.68,targetFeedbackDelaySeconds:.08,targetFeedbackSeconds:.22}),St=Object.freeze({checkingWidth:440,compactHeight:62,dispatchingWidth:448,expandedHeight:164,expandedWidth:520,failedWidth:440,receivingWidth:430,runningWidth:468,successWidth:356});function Ie(o){return o==="pill"||o==="capturing"?"pill":o==="planner"?"planner":"execution"}function Ds(o,t){let e=t.scene==="pill"||t.scene==="capturing",i=t.scene==="planner",n=!e&&!i;return o.pill.hidden=!e,o.pill.inert=!e,o.planner.hidden=!i,o.planner.inert=!i,o.planner.setAttribute("aria-hidden",String(!i)),o.execution.root.hidden=!n,o.execution.root.inert=!n,o.execution.root.setAttribute("aria-hidden",String(!n)),e?o.pill:i?o.planner:o.execution.root}function Ri(o){return o.defaultView?.matchMedia("(prefers-reduced-motion: reduce)").matches!==!0}function ve(o){return Number.isFinite(o.left)&&Number.isFinite(o.top)&&o.width>0&&o.height>0}function Fs(o,t){return Math.abs(o.left-t.left)>.5||Math.abs(o.top-t.top)>.5||Math.abs(o.width-t.width)>.5||Math.abs(o.height-t.height)>.5}function Ls(o,t){if(o===void 0||o.length===0)return"0px";let e=Number.parseFloat(o);return!Number.isFinite(e)||!ve(t)?o:`${String(Math.min(e,t.width/2,t.height/2))}px`}function Ns(o){return o.scene==="agent-charging"?St.receivingWidth:o.scene==="handoff"?St.dispatchingWidth:o.scene==="success"?St.successWidth:o.scene==="failed"?St.failedWidth:o.scene==="running"&&o.activity?.kind==="check"?St.checkingWidth:St.runningWidth}function Bn(o){let t=o.createElement("style");return t.textContent=`
1
+ function Et(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function Gi(o,t){o.prototype=Object.create(t.prototype),o.prototype.constructor=o,o.__proto__=t}var lt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},fe={duration:.5,overwrite:!1,delay:0},ni,tt,V,mt=1e8,z=1/mt,qe=Math.PI*2,Qn=qe/4,Jn=0,Wi=Math.sqrt,tr=Math.cos,er=Math.sin,Q=function(t){return typeof t=="string"},Y=function(t){return typeof t=="function"},Pt=function(t){return typeof t=="number"},ke=function(t){return typeof t>"u"},Tt=function(t){return typeof t=="object"},ut=function(t){return t!==!1},ri=function(){return typeof window<"u"},be=function(t){return Y(t)||Q(t)},Yi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},nt=Array.isArray,ir=/random\([^)]+\)/g,nr=/,\s*/g,Li=/(?:-?\.?\d|\.)+/gi,si=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Gt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ve=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ai=/[+-]=-?[.\d]+/,rr=/[^,'"\[\]\s]+/gi,sr=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,U,vt,Ke,oi,dt={},Me={},Xi,qi=function(t){return(Me=Zt(t,dt))&&rt},Ae=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},he=function(t,e){return!e&&console.warn(t)},Ki=function(t,e){return t&&(dt[t]=e)&&Me&&(Me[t]=e)||dt},de=function(){return 0},ar={suppressEvents:!0,isStart:!0,kill:!1},Te={suppressEvents:!0,kill:!1},or={suppressEvents:!0},ci={},Rt=[],$e={},$i,ot={},He={},Ni=30,Se=[],ui="",li=function(t){var e=t[0],i,n;if(Tt(e)||Y(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(n=Se.length;n--&&!Se[n].targetTest(e););i=Se[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new pi(t[n],i)))||t.splice(n,1);return t},Dt=function(t){return t._gsap||li(xt(t))[0]._gsap},fi=function(t,e,i){return(i=t[e])&&Y(i)?t[e]():ke(i)&&t.getAttribute&&t.getAttribute(e)||i},st=function(t,e){return(t=t.split(",")).forEach(e)||t},X=function(t){return Math.round(t*1e5)/1e5||0},H=function(t){return Math.round(t*1e7)/1e7||0},Wt=function(t,e){var i=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),i==="+"?t+n:i==="-"?t-n:i==="*"?t*n:t/n},cr=function(t,e){for(var i=e.length,n=0;t.indexOf(e[n])<0&&++n<i;);return n<i},Ee=function(){var t=Rt.length,e=Rt.slice(0),i,n;for($e={},Rt.length=0,i=0;i<t;i++)n=e[i],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},hi=function(t){return!!(t._initted||t._startAt||t.add)},ji=function(t,e,i,n){Rt.length&&!tt&&Ee(),t.render(e,i,n||!!(tt&&e<0&&hi(t))),Rt.length&&!tt&&Ee()},Zi=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(rr).length<2?e:Q(t)?t.trim():t},Qi=function(t){return t},pt=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},ur=function(t){return function(e,i){for(var n in i)n in e||n==="duration"&&t||n==="ease"||(e[n]=i[n])}},Zt=function(t,e){for(var i in e)t[i]=e[i];return t},zi=function o(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=Tt(e[i])?o(t[i]||(t[i]={}),e[i]):e[i]);return t},Oe=function(t,e){var i={},n;for(n in t)n in e||(i[n]=t[n]);return i},ce=function(t){var e=t.parent||U,i=t.keyframes?ur(nt(t.keyframes)):pt;if(ut(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},lr=function(t,e){for(var i=t.length,n=i===e.length;n&&i--&&t[i]===e[i];);return i<0},Ji=function(t,e,i,n,r){i===void 0&&(i="_first"),n===void 0&&(n="_last");var s=t[n],a;if(r)for(a=e[r];s&&s[r]>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[n]=e,e._prev=s,e.parent=e._dp=t,e},Re=function(t,e,i,n){i===void 0&&(i="_first"),n===void 0&&(n="_last");var r=e._prev,s=e._next;r?r._next=s:t[i]===e&&(t[i]=s),s?s._prev=r:t[n]===e&&(t[n]=r),e._next=e._prev=e.parent=null},Ft=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Vt=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},fr=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},je=function(t,e,i,n){return t._startAt&&(tt?t._startAt.revert(Te):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},hr=function o(t){return!t||t._ts&&o(t.parent)},Ii=function(t){return t._repeat?Qt(t._tTime,t=t.duration()+t._rDelay)*t:0},Qt=function(t,e){var i=Math.floor(t=H(t/e));return t&&i===t?i-1:i},Pe=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},De=function(t){return t._end=H(t._start+(t._tDur/Math.abs(t._ts||t._rts||z)||0))},Fe=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=H(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),De(t),i._dirty||Vt(i,t)),t},tn=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=Pe(t.rawTime(),e),(!e._dur||ge(0,e.totalDuration(),i)-e._tTime>z)&&e.render(i,!0)),Vt(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=-z}},bt=function(t,e,i,n){return e.parent&&Ft(e),e._start=H((Pt(i)?i:i||t!==U?gt(t,i,e):t._time)+e._delay),e._end=H(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ji(t,e,"_first","_last",t._sort?"_start":0),Ze(e)||(t._recent=e),n||tn(t,e),t._ts<0&&Fe(t,t._tTime),t},en=function(t,e){return(dt.ScrollTrigger||Ae("scrollTrigger",e))&&dt.ScrollTrigger.create(e,t)},nn=function(t,e,i,n,r){if(mi(t,e,r),!t._initted)return 1;if(!i&&t._pt&&!tt&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&$i!==ct.frame)return Rt.push(t),t._lazy=[r,n],1},dr=function o(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||o(e))},Ze=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},pr=function(t,e,i,n){var r=t.ratio,s=e<0||!e&&(!t._start&&dr(t)&&!(!t._initted&&Ze(t))||(t._ts<0||t._dp._ts<0)&&!Ze(t))?0:1,a=t._rDelay,c=0,u,l,h;if(a&&t._repeat&&(c=ge(0,t._tDur,e),l=Qt(c,a),t._yoyo&&l&1&&(s=1-s),l!==Qt(t._tTime,a)&&(r=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==r||tt||n||t._zTime===z||!e&&t._zTime){if(!t._initted&&nn(t,e,n,i,c))return;for(h=t._zTime,t._zTime=e||(i?z:0),i||(i=e&&!h),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=c,u=t._pt;u;)u.r(s,u.d),u=u._next;e<0&&je(t,e,i,!0),t._onUpdate&&!i&&ht(t,"onUpdate"),c&&t._repeat&&!i&&t.parent&&ht(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&Ft(t,1),!i&&!tt&&(ht(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},_r=function(t,e,i){var n;if(i>e)for(n=t._first;n&&n._start<=i;){if(n.data==="isPause"&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=i;){if(n.data==="isPause"&&n._start<e)return n;n=n._prev}},Jt=function(t,e,i,n){var r=t._repeat,s=H(e)||0,a=t._tTime/t._tDur;return a&&!n&&(t._time*=s/t._dur),t._dur=s,t._tDur=r?r<0?1e10:H(s*(r+1)+t._rDelay*r):s,a>0&&!n&&Fe(t,t._tTime=t._tDur*a),t.parent&&De(t),i||Vt(t.parent,t),t},Bi=function(t){return t instanceof it?Vt(t):Jt(t,t._dur)},gr={_start:0,endTime:de,totalDuration:de},gt=function o(t,e,i){var n=t.labels,r=t._recent||gr,s=t.duration()>=mt?r.endTime(!1):t._dur,a,c,u;return Q(e)&&(isNaN(e)||e in n)?(c=e.charAt(0),u=e.substr(-1)==="%",a=e.indexOf("="),c==="<"||c===">"?(a>=0&&(e=e.replace(/=/,"")),(c==="<"?r._start:r.endTime(r._repeat>=0))+(parseFloat(e.substr(1))||0)*(u?(a<0?r:i).totalDuration()/100:1)):a<0?(e in n||(n[e]=s),n[e]):(c=parseFloat(e.charAt(a-1)+e.substr(a+1)),u&&i&&(c=c/100*(nt(i)?i[0]:i).totalDuration()),a>1?o(t,e.substr(0,a-1),i)+c:s+c)):e==null?s:+e},ue=function(t,e,i){var n=Pt(e[1]),r=(n?2:1)+(t<2?0:1),s=e[r],a,c;if(n&&(s.duration=e[1]),s.parent=i,t){for(a=s,c=i;c&&!("immediateRender"in a);)a=c.vars.defaults||{},c=ut(c.vars.inherit)&&c.parent;s.immediateRender=ut(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[r-1]}return new K(e[0],s,e[r+1])},Lt=function(t,e){return t||t===0?e(t):e},ge=function(t,e,i){return i<t?t:i>e?e:i},et=function(t,e){return!Q(t)||!(e=sr.exec(t))?"":e[1]},mr=function(t,e,i){return Lt(i,function(n){return ge(t,e,n)})},Qe=[].slice,rn=function(t,e){return t&&Tt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&Tt(t[0]))&&!t.nodeType&&t!==vt},xr=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(n){var r;return Q(n)&&!e||rn(n,1)?(r=i).push.apply(r,xt(n)):i.push(n)})||i},xt=function(t,e,i){return V&&!e&&V.selector?V.selector(t):Q(t)&&!i&&(Ke||!te())?Qe.call((e||oi).querySelectorAll(t),0):nt(t)?xr(t,i):rn(t)?Qe.call(t,0):t?[t]:[]},Je=function(t){return t=xt(t)[0]||he("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return xt(e,i.querySelectorAll?i:i===t?he("Invalid scope")||oi.createElement("div"):t)}},sn=function(t){return t.sort(function(){return .5-Math.random()})},an=function(t){if(Y(t))return t;var e=Tt(t)?t:{each:t},i=Ht(e.ease),n=e.from||0,r=parseFloat(e.base)||0,s={},a=n>0&&n<1,c=isNaN(n)||a,u=e.axis,l=n,h=n;return Q(n)?l=h={center:.5,edges:.5,end:1}[n]||0:!a&&c&&(l=n[0],h=n[1]),function(d,p,_){var f=(_||e).length,g=s[f],y,m,v,S,x,E,b,w,T;if(!g){if(T=e.grid==="auto"?0:(e.grid||[1,mt])[1],!T){for(b=-mt;b<(b=_[T++].getBoundingClientRect().left)&&T<f;);T<f&&T--}for(g=s[f]=[],y=c?Math.min(T,f)*l-.5:n%T,m=T===mt?0:c?f*h/T-.5:n/T|0,b=0,w=mt,E=0;E<f;E++)v=E%T-y,S=m-(E/T|0),g[E]=x=u?Math.abs(u==="y"?S:v):Wi(v*v+S*S),x>b&&(b=x),x<w&&(w=x);n==="random"&&sn(g),g.max=b-w,g.min=w,g.v=f=(parseFloat(e.amount)||parseFloat(e.each)*(T>f?f-1:u?u==="y"?f/T:T:Math.max(T,f/T))||0)*(n==="edges"?-1:1),g.b=f<0?r-f:r,g.u=et(e.amount||e.each)||0,i=i&&f<0?Ar(i):i}return f=(g[d]-g.min)/g.max||0,H(g.b+(i?i(f):f)*g.v)+g.u}},ti=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var n=H(Math.round(parseFloat(i)/t)*t*e);return(n-n%1)/e+(Pt(i)?0:et(i))}},on=function(t,e){var i=nt(t),n,r;return!i&&Tt(t)&&(n=i=t.radius||mt,t.values?(t=xt(t.values),(r=!Pt(t[0]))&&(n*=n)):t=ti(t.increment)),Lt(e,i?Y(t)?function(s){return r=t(s),Math.abs(r-s)<=n?r:s}:function(s){for(var a=parseFloat(r?s.x:s),c=parseFloat(r?s.y:0),u=mt,l=0,h=t.length,d,p;h--;)r?(d=t[h].x-a,p=t[h].y-c,d=d*d+p*p):d=Math.abs(t[h]-a),d<u&&(u=d,l=h);return l=!n||u<=n?t[l]:s,r||l===s||Pt(s)?l:l+et(s)}:ti(t))},cn=function(t,e,i,n){return Lt(nt(t)?!e:i===!0?!!(i=0):!n,function(){return nt(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(n=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+i*.99))/i)*i*n)/n})},yr=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(n){return e.reduce(function(r,s){return s(r)},n)}},vr=function(t,e){return function(i){return t(parseFloat(i))+(e||et(i))}},br=function(t,e,i){return ln(t,e,0,1,i)},un=function(t,e,i){return Lt(i,function(n){return t[~~e(n)]})},Tr=function o(t,e,i){var n=e-t;return nt(t)?un(t,o(0,t.length),e):Lt(i,function(r){return(n+(r-t)%n)%n+t})},Sr=function o(t,e,i){var n=e-t,r=n*2;return nt(t)?un(t,o(0,t.length-1),e):Lt(i,function(s){return s=(r+(s-t)%r)%r||0,t+(s>n?r-s:s)})},ee=function(t){return t.replace(ir,function(e){var i=e.indexOf("[")+1,n=e.substring(i||7,i?e.indexOf("]"):e.length-1).split(nr);return cn(i?n:+n[0],i?0:+n[1],+n[2]||1e-5)})},ln=function(t,e,i,n,r){var s=e-t,a=n-i;return Lt(r,function(c){return i+((c-t)/s*a||0)})},wr=function o(t,e,i,n){var r=isNaN(t+e)?0:function(p){return(1-p)*t+p*e};if(!r){var s=Q(t),a={},c,u,l,h,d;if(i===!0&&(n=1)&&(i=null),s)t={p:t},e={p:e};else if(nt(t)&&!nt(e)){for(l=[],h=t.length,d=h-2,u=1;u<h;u++)l.push(o(t[u-1],t[u]));h--,r=function(_){_*=h;var f=Math.min(d,~~_);return l[f](_-f)},i=e}else n||(t=Zt(nt(t)?[]:{},t));if(!l){for(c in e)_i.call(a,t,c,"get",e[c]);r=function(_){return vi(_,a)||(s?t.p:t)}}}return Lt(i,r)},Vi=function(t,e,i){var n=t.labels,r=mt,s,a,c;for(s in n)a=n[s]-e,a<0==!!i&&a&&r>(a=Math.abs(a))&&(c=s,r=a);return c},ht=function(t,e,i){var n=t.vars,r=n[e],s=V,a=t._ctx,c,u,l;if(r)return c=n[e+"Params"],u=n.callbackScope||t,i&&Rt.length&&Ee(),a&&(V=a),l=c?r.apply(u,c):r.call(u),V=s,l},ae=function(t){return Ft(t),t.scrollTrigger&&t.scrollTrigger.kill(!!tt),t.progress()<1&&ht(t,"onInterrupt"),t},jt,fn=[],hn=function(t){if(t)if(t=!t.name&&t.default||t,ri()||t.headless){var e=t.name,i=Y(t),n=e&&!i&&t.init?function(){this._props=[]}:t,r={init:de,render:vi,add:_i,kill:Hr,modifier:Vr,rawVars:0},s={targetTest:0,get:0,getSetter:Le,aliases:{},register:0};if(te(),t!==n){if(ot[e])return;pt(n,pt(Oe(t,r),s)),Zt(n.prototype,Zt(r,Oe(t,s))),ot[n.prop=e]=n,t.targetTest&&(Se.push(n),ci[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Ki(e,n),t.register&&t.register(rt,n,at)}else fn.push(t)},N=255,oe={aqua:[0,N,N],lime:[0,N,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,N],navy:[0,0,128],white:[N,N,N],olive:[128,128,0],yellow:[N,N,0],orange:[N,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[N,0,0],pink:[N,192,203],cyan:[0,N,N],transparent:[N,N,N,0]},Ue=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)*N+.5|0},dn=function(t,e,i){var n=t?Pt(t)?[t>>16,t>>8&N,t&N]:0:oe.black,r,s,a,c,u,l,h,d,p,_;if(!n){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),oe[t])n=oe[t];else if(t.charAt(0)==="#"){if(t.length<6&&(r=t.charAt(1),s=t.charAt(2),a=t.charAt(3),t="#"+r+r+s+s+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return n=parseInt(t.substr(1,6),16),[n>>16,n>>8&N,n&N,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),n=[t>>16,t>>8&N,t&N]}else if(t.substr(0,3)==="hsl"){if(n=_=t.match(Li),!e)c=+n[0]%360/360,u=+n[1]/100,l=+n[2]/100,s=l<=.5?l*(u+1):l+u-l*u,r=l*2-s,n.length>3&&(n[3]*=1),n[0]=Ue(c+1/3,r,s),n[1]=Ue(c,r,s),n[2]=Ue(c-1/3,r,s);else if(~t.indexOf("="))return n=t.match(si),i&&n.length<4&&(n[3]=1),n}else n=t.match(Li)||oe.transparent;n=n.map(Number)}return e&&!_&&(r=n[0]/N,s=n[1]/N,a=n[2]/N,h=Math.max(r,s,a),d=Math.min(r,s,a),l=(h+d)/2,h===d?c=u=0:(p=h-d,u=l>.5?p/(2-h-d):p/(h+d),c=h===r?(s-a)/p+(s<a?6:0):h===s?(a-r)/p+2:(r-s)/p+4,c*=60),n[0]=~~(c+.5),n[1]=~~(u*100+.5),n[2]=~~(l*100+.5)),i&&n.length<4&&(n[3]=1),n},pn=function(t){var e=[],i=[],n=-1;return t.split(Ot).forEach(function(r){var s=r.match(Gt)||[];e.push.apply(e,s),i.push(n+=s.length+1)}),e.c=i,e},Hi=function(t,e,i){var n="",r=(t+n).match(Ot),s=e?"hsla(":"rgba(",a=0,c,u,l,h;if(!r)return t;if(r=r.map(function(d){return(d=dn(d,e,1))&&s+(e?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),i&&(l=pn(t),c=i.c,c.join(n)!==l.c.join(n)))for(u=t.replace(Ot,"1").split(Gt),h=u.length-1;a<h;a++)n+=u[a]+(~c.indexOf(a)?r.shift()||s+"0,0,0,0)":(l.length?l:r.length?r:i).shift());if(!u)for(u=t.split(Ot),h=u.length-1;a<h;a++)n+=u[a]+r[a];return n+u[h]},Ot=(function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in oe)o+="|"+t+"\\b";return new RegExp(o+")","gi")})(),Mr=/hsl[a]?\(/,di=function(t){var e=t.join(" "),i;if(Ot.lastIndex=0,Ot.test(e))return i=Mr.test(e),t[1]=Hi(t[1],i),t[0]=Hi(t[0],i,pn(t[1])),!0},pe,ct=(function(){var o=Date.now,t=500,e=33,i=o(),n=i,r=1e3/240,s=r,a=[],c,u,l,h,d,p,_=function f(g){var y=o()-n,m=g===!0,v,S,x,E;if((y>t||y<0)&&(i+=y-e),n+=y,x=n-i,v=x-s,(v>0||m)&&(E=++h.frame,d=x-h.time*1e3,h.time=x=x/1e3,s+=v+(v>=r?4:r-v),S=1),m||(c=u(f)),S)for(p=0;p<a.length;p++)a[p](x,d,E,g)};return h={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return d/(1e3/(g||60))},wake:function(){Xi&&(!Ke&&ri()&&(vt=Ke=window,oi=vt.document||{},dt.gsap=rt,(vt.gsapVersions||(vt.gsapVersions=[])).push(rt.version),qi(Me||vt.GreenSockGlobals||!vt.gsap&&vt||{}),fn.forEach(hn)),l=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&h.sleep(),u=l||function(g){return setTimeout(g,s-h.time*1e3+1|0)},pe=1,_(2))},sleep:function(){(l?cancelAnimationFrame:clearTimeout)(c),pe=0,u=de},lagSmoothing:function(g,y){t=g||1/0,e=Math.min(y||33,t)},fps:function(g){r=1e3/(g||240),s=h.time*1e3+r},add:function(g,y,m){var v=y?function(S,x,E,b){g(S,x,E,b),h.remove(v)}:g;return h.remove(g),a[m?"unshift":"push"](v),te(),v},remove:function(g,y){~(y=a.indexOf(g))&&a.splice(y,1)&&p>=y&&p--},_listeners:a},h})(),te=function(){return!pe&&ct.wake()},R={},Er=/^[\d.\-M][\d.\-,\s]/,Or=/["']/g,Pr=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),n=i[0],r=1,s=i.length,a,c,u;r<s;r++)c=i[r],a=r!==s-1?c.lastIndexOf(","):c.length,u=c.substr(0,a),e[n]=isNaN(u)?u.replace(Or,"").trim():+u,n=c.substr(a+1).trim();return e},Cr=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),n=t.indexOf("(",e);return t.substring(e,~n&&n<i?t.indexOf(")",i+1):i)},kr=function(t){var e=(t+"").split("("),i=R[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[Pr(e[1])]:Cr(t).split(",").map(Zi)):R._CE&&Er.test(t)?R._CE("",t):i},Ar=function(t){return function(e){return 1-t(1-e)}},Ht=function(t,e){return t&&(Y(t)?t:R[t]||kr(t))||e},Yt=function(t,e,i,n){i===void 0&&(i=function(c){return 1-e(1-c)}),n===void 0&&(n=function(c){return c<.5?e(c*2)/2:1-e((1-c)*2)/2});var r={easeIn:e,easeOut:i,easeInOut:n},s;return st(t,function(a){R[a]=dt[a]=r,R[s=a.toLowerCase()]=i;for(var c in r)R[s+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=R[a+"."+c]=r[c]}),r},_n=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},Ge=function o(t,e,i){var n=e>=1?e:1,r=(i||(t?.3:.45))/(e<1?e:1),s=r/qe*(Math.asin(1/n)||0),a=function(l){return l===1?1:n*Math.pow(2,-10*l)*er((l-s)*r)+1},c=t==="out"?a:t==="in"?function(u){return 1-a(1-u)}:_n(a);return r=qe/r,c.config=function(u,l){return o(t,u,l)},c},We=function o(t,e){e===void 0&&(e=1.70158);var i=function(s){return s?--s*s*((e+1)*s+e)+1:0},n=t==="out"?i:t==="in"?function(r){return 1-i(1-r)}:_n(i);return n.config=function(r){return o(t,r)},n};st("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,t){var e=t<5?t+1:t;Yt(o+",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})});R.Linear.easeNone=R.none=R.Linear.easeIn;Yt("Elastic",Ge("in"),Ge("out"),Ge());(function(o,t){var e=1/t,i=2*e,n=2.5*e,r=function(a){return a<e?o*a*a:a<i?o*Math.pow(a-1.5/t,2)+.75:a<n?o*(a-=2.25/t)*a+.9375:o*Math.pow(a-2.625/t,2)+.984375};Yt("Bounce",function(s){return 1-r(1-s)},r)})(7.5625,2.75);Yt("Expo",function(o){return Math.pow(2,10*(o-1))*o+o*o*o*o*o*o*(1-o)});Yt("Circ",function(o){return-(Wi(1-o*o)-1)});Yt("Sine",function(o){return o===1?1:-tr(o*Qn)+1});Yt("Back",We("in"),We("out"),We());R.SteppedEase=R.steps=dt.SteppedEase={config:function(t,e){t===void 0&&(t=1);var i=1/t,n=t+(e?0:1),r=e?1:0,s=1-z;return function(a){return((n*ge(0,s,a)|0)+r)*i}}};fe.ease=R["quad.out"];st("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return ui+=o+","+o+"Params,"});var pi=function(t,e){this.id=Jn++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:fi,this.set=e?e.getSetter:Le},_e=(function(){function o(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,V&&(this._ctx=V,V.data.push(this)),pe||ct.wake()}var t=o.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,n){if(te(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Fe(this,i),!r._dp||r.parent||tn(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&bt(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===z||!this._initted&&this._dur&&i||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),ji(this,i,n)),this},t.time=function(i,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+Ii(this))%(this._dur+this._rDelay)||(i?this._dur:0),n):this._time},t.totalProgress=function(i,n){return arguments.length?this.totalTime(this.totalDuration()*i,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(i,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+Ii(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(i,n){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*r,n):this._repeat?Qt(this._tTime,r)+1:1},t.timeScale=function(i,n){if(!arguments.length)return this._rts===-z?0:this._rts;if(this._rts===i)return this;var r=this.parent&&this._ts?Pe(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-z?0:this._rts,this.totalTime(ge(-Math.abs(this._delay),this.totalDuration(),r),n!==!1),De(this),fr(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):(te(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==z&&(this._tTime-=z)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=H(i);var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&bt(n,this,this._start-this._delay),this}return this._start},t.endTime=function(i){return this._start+(ut(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(i){var n=this.parent||this._dp;return n?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Pe(n.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=or);var n=tt;return tt=i,hi(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),tt=n,this},t.globalTime=function(i){for(var n=this,r=arguments.length?i:n.rawTime();n;)r=n._start+r/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(i):r},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,Bi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var n=this._time;return this._rDelay=i,Bi(this),n?this.time(n):this}return this._rDelay},t.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},t.seek=function(i,n){return this.totalTime(gt(this,i),ut(n))},t.restart=function(i,n){return this.play().totalTime(i?-this._delay:0,ut(n)),this._dur||(this._zTime=-z),this},t.play=function(i,n){return i!=null&&this.seek(i,n),this.reversed(!1).paused(!1)},t.reverse=function(i,n){return i!=null&&this.seek(i||this.totalDuration(),n),this.reversed(!0).paused(!1)},t.pause=function(i,n){return i!=null&&this.seek(i,n),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?-z:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-z,this},t.isActive=function(){var i=this.parent||this._dp,n=this._start,r;return!!(!i||this._ts&&this._initted&&i.isActive()&&(r=i.rawTime(!0))>=n&&r<this.endTime(!0)-z)},t.eventCallback=function(i,n,r){var s=this.vars;return arguments.length>1?(n?(s[i]=n,r&&(s[i+"Params"]=r),i==="onUpdate"&&(this._onUpdate=n)):delete s[i],this):s[i]},t.then=function(i){var n=this,r=n._prom;return new Promise(function(s){var a=Y(i)?i:Qi,c=function(){var l=n.then;n.then=null,r&&r(),Y(a)&&(a=a(n))&&(a.then||a===n)&&(n.then=l),s(a),n.then=l};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?c():n._prom=c})},t.kill=function(){ae(this)},o})();pt(_e.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:-z,_prom:0,_ps:!1,_rts:1});var it=(function(o){Gi(t,o);function t(i,n){var r;return i===void 0&&(i={}),r=o.call(this,i)||this,r.labels={},r.smoothChildTiming=!!i.smoothChildTiming,r.autoRemoveChildren=!!i.autoRemoveChildren,r._sort=ut(i.sortChildren),U&&bt(i.parent||U,Et(r),n),i.reversed&&r.reverse(),i.paused&&r.paused(!0),i.scrollTrigger&&en(Et(r),i.scrollTrigger),r}var e=t.prototype;return e.to=function(n,r,s){return ue(0,arguments,this),this},e.from=function(n,r,s){return ue(1,arguments,this),this},e.fromTo=function(n,r,s,a){return ue(2,arguments,this),this},e.set=function(n,r,s){return r.duration=0,r.parent=this,ce(r).repeatDelay||(r.repeat=0),r.immediateRender=!!r.immediateRender,new K(n,r,gt(this,s),1),this},e.call=function(n,r,s){return bt(this,K.delayedCall(0,n,r),s)},e.staggerTo=function(n,r,s,a,c,u,l){return s.duration=r,s.stagger=s.stagger||a,s.onComplete=u,s.onCompleteParams=l,s.parent=this,new K(n,s,gt(this,c)),this},e.staggerFrom=function(n,r,s,a,c,u,l){return s.runBackwards=1,ce(s).immediateRender=ut(s.immediateRender),this.staggerTo(n,r,s,a,c,u,l)},e.staggerFromTo=function(n,r,s,a,c,u,l,h){return a.startAt=s,ce(a).immediateRender=ut(a.immediateRender),this.staggerTo(n,r,a,c,u,l,h)},e.render=function(n,r,s){var a=this._time,c=this._dirty?this.totalDuration():this._tDur,u=this._dur,l=n<=0?0:H(n),h=this._zTime<0!=n<0&&(this._initted||!u),d,p,_,f,g,y,m,v,S,x,E,b;if(this!==U&&l>c&&n>=0&&(l=c),l!==this._tTime||s||h){if(a!==this._time&&u&&(l+=this._time-a,n+=this._time-a),d=l,S=this._start,v=this._ts,y=!v,h&&(u||(a=this._zTime),(n||!r)&&(this._zTime=n)),this._repeat){if(E=this._yoyo,g=u+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,r,s);if(d=H(l%g),l===c?(f=this._repeat,d=u):(x=H(l/g),f=~~x,f&&f===x&&(d=u,f--),d>u&&(d=u)),x=Qt(this._tTime,g),!a&&this._tTime&&x!==f&&this._tTime-x*g-this._dur<=0&&(x=f),E&&f&1&&(d=u-d,b=1),f!==x&&!this._lock){var w=E&&x&1,T=w===(E&&f&1);if(f<x&&(w=!w),a=w?0:l%u?u:l,this._lock=1,this.render(a||(b?0:H(f*g)),r,!u)._lock=0,this._tTime=l,!r&&this.parent&&ht(this,"onRepeat"),this.vars.repeatRefresh&&!b&&(this.invalidate()._lock=1,x=f),a&&a!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,c=this._tDur,T&&(this._lock=2,a=w?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!b&&this.invalidate()),this._lock=0,!this._ts&&!y)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=_r(this,H(a),H(d)),m&&(l-=d-(d=m._start))),this._tTime=l,this._time=d,this._act=!!v,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&l&&u&&!r&&!x&&(ht(this,"onStart"),this._tTime!==l))return this;if(d>=a&&n>=0)for(p=this._first;p;){if(_=p._next,(p._act||d>=p._start)&&p._ts&&m!==p){if(p.parent!==this)return this.render(n,r,s);if(p.render(p._ts>0?(d-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(d-p._start)*p._ts,r,s),d!==this._time||!this._ts&&!y){m=0,_&&(l+=this._zTime=-z);break}}p=_}else{p=this._last;for(var P=n<0?n:d;p;){if(_=p._prev,(p._act||P<=p._end)&&p._ts&&m!==p){if(p.parent!==this)return this.render(n,r,s);if(p.render(p._ts>0?(P-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(P-p._start)*p._ts,r,s||tt&&hi(p)),d!==this._time||!this._ts&&!y){m=0,_&&(l+=this._zTime=P?-z:z);break}}p=_}}if(m&&!r&&(this.pause(),m.render(d>=a?0:-z)._zTime=d>=a?1:-1,this._ts))return this._start=S,De(this),this.render(n,r,s);this._onUpdate&&!r&&ht(this,"onUpdate",!0),(l===c&&this._tTime>=this.totalDuration()||!l&&a)&&(S===this._start||Math.abs(v)!==Math.abs(this._ts))&&(this._lock||((n||!u)&&(l===c&&this._ts>0||!l&&this._ts<0)&&Ft(this,1),!r&&!(n<0&&!a)&&(l||a||!c)&&(ht(this,l===c&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(l<c&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(n,r){var s=this;if(Pt(r)||(r=gt(this,r,n)),!(n instanceof _e)){if(nt(n))return n.forEach(function(a){return s.add(a,r)}),this;if(Q(n))return this.addLabel(n,r);if(Y(n))n=K.delayedCall(0,n);else return this}return this!==n?bt(this,n,r):this},e.getChildren=function(n,r,s,a){n===void 0&&(n=!0),r===void 0&&(r=!0),s===void 0&&(s=!0),a===void 0&&(a=-mt);for(var c=[],u=this._first;u;)u._start>=a&&(u instanceof K?r&&c.push(u):(s&&c.push(u),n&&c.push.apply(c,u.getChildren(!0,r,s)))),u=u._next;return c},e.getById=function(n){for(var r=this.getChildren(1,1,1),s=r.length;s--;)if(r[s].vars.id===n)return r[s]},e.remove=function(n){return Q(n)?this.removeLabel(n):Y(n)?this.killTweensOf(n):(n.parent===this&&Re(this,n),n===this._recent&&(this._recent=this._last),Vt(this))},e.totalTime=function(n,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=H(ct.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),o.prototype.totalTime.call(this,n,r),this._forcing=0,this):this._tTime},e.addLabel=function(n,r){return this.labels[n]=gt(this,r),this},e.removeLabel=function(n){return delete this.labels[n],this},e.addPause=function(n,r,s){var a=K.delayedCall(0,r||de,s);return a.data="isPause",this._hasPause=1,bt(this,a,gt(this,n))},e.removePause=function(n){var r=this._first;for(n=gt(this,n);r;)r._start===n&&r.data==="isPause"&&Ft(r),r=r._next},e.killTweensOf=function(n,r,s){for(var a=this.getTweensOf(n,s),c=a.length;c--;)At!==a[c]&&a[c].kill(n,r);return this},e.getTweensOf=function(n,r){for(var s=[],a=xt(n),c=this._first,u=Pt(r),l;c;)c instanceof K?cr(c._targets,a)&&(u?(!At||c._initted&&c._ts)&&c.globalTime(0)<=r&&c.globalTime(c.totalDuration())>r:!r||c.isActive())&&s.push(c):(l=c.getTweensOf(a,r)).length&&s.push.apply(s,l),c=c._next;return s},e.tweenTo=function(n,r){r=r||{};var s=this,a=gt(s,n),c=r,u=c.startAt,l=c.onStart,h=c.onStartParams,d=c.immediateRender,p,_=K.to(s,pt({ease:r.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:r.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale())||z,onStart:function(){if(s.pause(),!p){var g=r.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale());_._dur!==g&&Jt(_,g,0,1).render(_._time,!0,!0),p=1}l&&l.apply(_,h||[])}},r));return d?_.render(0):_},e.tweenFromTo=function(n,r,s){return this.tweenTo(r,pt({startAt:{time:gt(this,n)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(n){return n===void 0&&(n=this._time),Vi(this,gt(this,n))},e.previousLabel=function(n){return n===void 0&&(n=this._time),Vi(this,gt(this,n),1)},e.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+z)},e.shiftChildren=function(n,r,s){s===void 0&&(s=0);var a=this._first,c=this.labels,u;for(n=H(n);a;)a._start>=s&&(a._start+=n,a._end+=n),a=a._next;if(r)for(u in c)c[u]>=s&&(c[u]+=n);return Vt(this)},e.invalidate=function(n){var r=this._first;for(this._lock=0;r;)r.invalidate(n),r=r._next;return o.prototype.invalidate.call(this,n)},e.clear=function(n){n===void 0&&(n=!0);for(var r=this._first,s;r;)s=r._next,this.remove(r),r=s;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Vt(this)},e.totalDuration=function(n){var r=0,s=this,a=s._last,c=mt,u,l,h;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-n:n));if(s._dirty){for(h=s.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),l=a._start,l>c&&s._sort&&a._ts&&!s._lock?(s._lock=1,bt(s,a,l-a._delay,1)._lock=0):c=l,l<0&&a._ts&&(r-=l,(!h&&!s._dp||h&&h.smoothChildTiming)&&(s._start+=H(l/s._ts),s._time-=l,s._tTime-=l),s.shiftChildren(-l,!1,-1/0),c=0),a._end>r&&a._ts&&(r=a._end),a=u;Jt(s,s===U&&s._time>r?s._time:r,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(n){if(U._ts&&(ji(U,Pe(n,U)),$i=ct.frame),ct.frame>=Ni){Ni+=lt.autoSleep||120;var r=U._first;if((!r||!r._ts)&&lt.autoSleep&&ct._listeners.length<2){for(;r&&!r._ts;)r=r._next;r||ct.sleep()}}},t})(_e);pt(it.prototype,{_lock:0,_hasPause:0,_forcing:0});var Rr=function(t,e,i,n,r,s,a){var c=new at(this._pt,t,e,0,1,yi,null,r),u=0,l=0,h,d,p,_,f,g,y,m;for(c.b=i,c.e=n,i+="",n+="",(y=~n.indexOf("random("))&&(n=ee(n)),s&&(m=[i,n],s(m,t,e),i=m[0],n=m[1]),d=i.match(Ve)||[];h=Ve.exec(n);)_=h[0],f=n.substring(u,h.index),p?p=(p+1)%5:f.substr(-5)==="rgba("&&(p=1),_!==d[l++]&&(g=parseFloat(d[l-1])||0,c._pt={_next:c._pt,p:f||l===1?f:",",s:g,c:_.charAt(1)==="="?Wt(g,_)-g:parseFloat(_)-g,m:p&&p<4?Math.round:0},u=Ve.lastIndex);return c.c=u<n.length?n.substring(u,n.length):"",c.fp=a,(ai.test(n)||y)&&(c.e=0),this._pt=c,c},_i=function(t,e,i,n,r,s,a,c,u,l){Y(n)&&(n=n(r||0,t,s));var h=t[e],d=i!=="get"?i:Y(h)?u?t[e.indexOf("set")||!Y(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():h,p=Y(h)?u?zr:xn:xi,_;if(Q(n)&&(~n.indexOf("random(")&&(n=ee(n)),n.charAt(1)==="="&&(_=Wt(d,n)+(et(d)||0),(_||_===0)&&(n=_))),!l||d!==n||ei)return!isNaN(d*n)&&n!==""?(_=new at(this._pt,t,e,+d||0,n-(d||0),typeof h=="boolean"?Br:yn,0,p),u&&(_.fp=u),a&&_.modifier(a,this,t),this._pt=_):(!h&&!(e in t)&&Ae(e,n),Rr.call(this,t,e,d,n,p,c||lt.stringFilter,u))},Dr=function(t,e,i,n,r){if(Y(t)&&(t=le(t,r,e,i,n)),!Tt(t)||t.style&&t.nodeType||nt(t)||Yi(t))return Q(t)?le(t,r,e,i,n):t;var s={},a;for(a in t)s[a]=le(t[a],r,e,i,n);return s},gi=function(t,e,i,n,r,s){var a,c,u,l;if(ot[t]&&(a=new ot[t]).init(r,a.rawVars?e[t]:Dr(e[t],n,r,s,i),i,n,s)!==!1&&(i._pt=c=new at(i._pt,r,t,0,1,a.render,a,0,a.priority),i!==jt))for(u=i._ptLookup[i._targets.indexOf(r)],l=a._props.length;l--;)u[a._props[l]]=c;return a},At,ei,mi=function o(t,e,i){var n=t.vars,r=n.ease,s=n.startAt,a=n.immediateRender,c=n.lazy,u=n.onUpdate,l=n.runBackwards,h=n.yoyoEase,d=n.keyframes,p=n.autoRevert,_=t._dur,f=t._startAt,g=t._targets,y=t.parent,m=y&&y.data==="nested"?y.vars.targets:g,v=t._overwrite==="auto"&&!ni,S=t.timeline,x=n.easeReverse||h,E,b,w,T,P,I,M,O,C,D,F,A,W;if(S&&(!d||!r)&&(r="none"),t._ease=Ht(r,fe.ease),t._rEase=x&&(Ht(x)||t._ease),t._from=!S&&!!n.runBackwards,t._from&&(t.ratio=1),!S||d&&!n.stagger){if(O=g[0]?Dt(g[0]).harness:0,A=O&&n[O.prop],E=Oe(n,ci),f&&(f._zTime<0&&f.progress(1),e<0&&l&&a&&!p?f.render(-1,!0):f.revert(l&&_?Te:ar),f._lazy=0),s){if(Ft(t._startAt=K.set(g,pt({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!f&&ut(c),startAt:null,delay:0,onUpdate:u&&function(){return ht(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(tt||!a&&!p)&&t._startAt.revert(Te),a&&_&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(l&&_&&!f){if(e&&(a=!1),w=pt({overwrite:!1,data:"isFromStart",lazy:a&&!f&&ut(c),immediateRender:a,stagger:0,parent:y},E),A&&(w[O.prop]=A),Ft(t._startAt=K.set(g,w)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(tt?t._startAt.revert(Te):t._startAt.render(-1,!0)),t._zTime=e,!a)o(t._startAt,z,z);else if(!e)return}for(t._pt=t._ptCache=0,c=_&&ut(c)||c&&!_,b=0;b<g.length;b++){if(P=g[b],M=P._gsap||li(g)[b]._gsap,t._ptLookup[b]=D={},$e[M.id]&&Rt.length&&Ee(),F=m===g?b:m.indexOf(P),O&&(C=new O).init(P,A||E,t,F,m)!==!1&&(t._pt=T=new at(t._pt,P,C.name,0,1,C.render,C,0,C.priority),C._props.forEach(function(k){D[k]=T}),C.priority&&(I=1)),!O||A)for(w in E)ot[w]&&(C=gi(w,E,t,F,P,m))?C.priority&&(I=1):D[w]=T=_i.call(t,P,w,"get",E[w],F,m,0,n.stringFilter);t._op&&t._op[b]&&t.kill(P,t._op[b]),v&&t._pt&&(At=t,U.killTweensOf(P,D,t.globalTime(e)),W=!t.parent,At=0),t._pt&&c&&($e[M.id]=1)}I&&bi(t),t._onInit&&t._onInit(t)}t._onUpdate=u,t._initted=(!t._op||t._pt)&&!W,d&&e<=0&&S.render(mt,!0,!0)},Fr=function(t,e,i,n,r,s,a,c){var u=(t._pt&&t._ptCache||(t._ptCache={}))[e],l,h,d,p;if(!u)for(u=t._ptCache[e]=[],d=t._ptLookup,p=t._targets.length;p--;){if(l=d[p][e],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return ei=1,t.vars[e]="+=0",mi(t,a),ei=0,c?he(e+" not eligible for reset. Try splitting into individual properties"):1;u.push(l)}for(p=u.length;p--;)h=u[p],l=h._pt||h,l.s=(n||n===0)&&!r?n:l.s+(n||0)+s*l.c,l.c=i-l.s,h.e&&(h.e=X(i)+et(h.e)),h.b&&(h.b=l.s+et(h.b))},Lr=function(t,e){var i=t[0]?Dt(t[0]).harness:0,n=i&&i.aliases,r,s,a,c;if(!n)return e;r=Zt({},e);for(s in n)if(s in r)for(c=n[s].split(","),a=c.length;a--;)r[c[a]]=r[s];return r},Nr=function(t,e,i,n){var r=e.ease||n||"power1.inOut",s,a;if(nt(e))a=i[t]||(i[t]=[]),e.forEach(function(c,u){return a.push({t:u/(e.length-1)*100,v:c,e:r})});else for(s in e)a=i[s]||(i[s]=[]),s==="ease"||a.push({t:parseFloat(t),v:e[s],e:r})},le=function(t,e,i,n,r){return Y(t)?t.call(e,i,n,r):Q(t)&&~t.indexOf("random(")?ee(t):t},gn=ui+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",mn={};st(gn+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return mn[o]=1});var K=(function(o){Gi(t,o);function t(i,n,r,s){var a;typeof n=="number"&&(r.duration=n,n=r,r=null),a=o.call(this,s?n:ce(n))||this;var c=a.vars,u=c.duration,l=c.delay,h=c.immediateRender,d=c.stagger,p=c.overwrite,_=c.keyframes,f=c.defaults,g=c.scrollTrigger,y=n.parent||U,m=(nt(i)||Yi(i)?Pt(i[0]):"length"in n)?[i]:xt(i),v,S,x,E,b,w,T,P;if(a._targets=m.length?li(m):he("GSAP target "+i+" not found. https://gsap.com",!lt.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=p,_||d||be(u)||be(l)){n=a.vars;var I=n.easeReverse||n.yoyoEase;if(v=a.timeline=new it({data:"nested",defaults:f||{},targets:y&&y.data==="nested"?y.vars.targets:m}),v.kill(),v.parent=v._dp=Et(a),v._start=0,d||be(u)||be(l)){if(E=m.length,T=d&&an(d),Tt(d))for(b in d)~gn.indexOf(b)&&(P||(P={}),P[b]=d[b]);for(S=0;S<E;S++)x=Oe(n,mn),x.stagger=0,I&&(x.easeReverse=I),P&&Zt(x,P),w=m[S],x.duration=+le(u,Et(a),S,w,m),x.delay=(+le(l,Et(a),S,w,m)||0)-a._delay,!d&&E===1&&x.delay&&(a._delay=l=x.delay,a._start+=l,x.delay=0),v.to(w,x,T?T(S,w,m):0),v._ease=R.none;v.duration()?u=l=0:a.timeline=0}else if(_){ce(pt(v.vars.defaults,{ease:"none"})),v._ease=Ht(_.ease||n.ease||"none");var M=0,O,C,D;if(nt(_))_.forEach(function(F){return v.to(m,F,">")}),v.duration();else{x={};for(b in _)b==="ease"||b==="easeEach"||Nr(b,_[b],x,_.easeEach);for(b in x)for(O=x[b].sort(function(F,A){return F.t-A.t}),M=0,S=0;S<O.length;S++)C=O[S],D={ease:C.e,duration:(C.t-(S?O[S-1].t:0))/100*u},D[b]=C.v,v.to(m,D,M),M+=D.duration;v.duration()<u&&v.to({},{duration:u-v.duration()})}}u||a.duration(u=v.duration())}else a.timeline=0;return p===!0&&!ni&&(At=Et(a),U.killTweensOf(m),At=0),bt(y,Et(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(h||!u&&!_&&a._start===H(y._time)&&ut(h)&&hr(Et(a))&&y.data!=="nested")&&(a._tTime=-z,a.render(Math.max(0,-l)||0)),g&&en(Et(a),g),a}var e=t.prototype;return e.render=function(n,r,s){var a=this._time,c=this._tDur,u=this._dur,l=n<0,h=n>c-z&&!l?c:n<z?0:n,d,p,_,f,g,y,m,v;if(!u)pr(this,n,r,s);else if(h!==this._tTime||!n||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==l||this._lazy){if(d=h,v=this.timeline,this._repeat){if(f=u+this._rDelay,this._repeat<-1&&l)return this.totalTime(f*100+n,r,s);if(d=H(h%f),h===c?(_=this._repeat,d=u):(g=H(h/f),_=~~g,_&&_===g?(d=u,_--):d>u&&(d=u)),y=this._yoyo&&_&1,y&&(d=u-d),g=Qt(this._tTime,f),d===a&&!s&&this._initted&&_===g)return this._tTime=h,this;_!==g&&this.vars.repeatRefresh&&!y&&!this._lock&&d!==f&&this._initted&&(this._lock=s=1,this.render(H(f*_),!0).invalidate()._lock=0)}if(!this._initted){if(nn(this,l?n:d,s,r,h))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&_!==g))return this;if(u!==this._dur)return this.render(n,r,s)}if(this._rEase){var S=d<a;if(S!==this._inv){var x=S?a:u-a;this._inv=S,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=a,this._invRecip=x?(S?-1:1)/x:0,this._invScale=S?-this.ratio:1-this.ratio,this._invEase=S?this._rEase:this._ease}this.ratio=m=this._invRatio+this._invScale*this._invEase((d-this._invTime)*this._invRecip)}else this.ratio=m=this._ease(d/u);if(this._from&&(this.ratio=m=1-m),this._tTime=h,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),!a&&h&&!r&&!g&&(ht(this,"onStart"),this._tTime!==h))return this;for(p=this._pt;p;)p.r(m,p.d),p=p._next;v&&v.render(n<0?n:v._dur*v._ease(d/this._dur),r,s)||this._startAt&&(this._zTime=n),this._onUpdate&&!r&&(l&&je(this,n,r,s),ht(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!r&&this.parent&&ht(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(l&&!this._onUpdate&&je(this,n,!0,!0),(n||!u)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&Ft(this,1),!r&&!(l&&!a)&&(h||a||y)&&(ht(this,h===c?"onComplete":"onReverseComplete",!0),this._prom&&!(h<c&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),o.prototype.invalidate.call(this,n)},e.resetTo=function(n,r,s,a,c){pe||ct.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),l;return this._initted||mi(this,u),l=this._ease(u/this._dur),Fr(this,n,r,s,a,l,u,c)?this.resetTo(n,r,s,a,1):(Fe(this,0),this.parent||Ji(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(n,r){if(r===void 0&&(r="all"),!n&&(!r||r==="all"))return this._lazy=this._pt=0,this.parent?ae(this):this.scrollTrigger&&this.scrollTrigger.kill(!!tt),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(n,r,At&&At.vars.overwrite!==!0)._first||ae(this),this.parent&&s!==this.timeline.totalDuration()&&Jt(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,c=n?xt(n):a,u=this._ptLookup,l=this._pt,h,d,p,_,f,g,y;if((!r||r==="all")&&lr(a,c))return r==="all"&&(this._pt=0),ae(this);for(h=this._op=this._op||[],r!=="all"&&(Q(r)&&(f={},st(r,function(m){return f[m]=1}),r=f),r=Lr(a,r)),y=a.length;y--;)if(~c.indexOf(a[y])){d=u[y],r==="all"?(h[y]=r,_=d,p={}):(p=h[y]=h[y]||{},_=r);for(f in _)g=d&&d[f],g&&((!("kill"in g.d)||g.d.kill(f)===!0)&&Re(this,g,"_pt"),delete d[f]),p!=="all"&&(p[f]=1)}return this._initted&&!this._pt&&l&&ae(this),this},t.to=function(n,r){return new t(n,r,arguments[2])},t.from=function(n,r){return ue(1,arguments)},t.delayedCall=function(n,r,s,a){return new t(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:r,onReverseComplete:r,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(n,r,s){return ue(2,arguments)},t.set=function(n,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new t(n,r)},t.killTweensOf=function(n,r,s){return U.killTweensOf(n,r,s)},t})(_e);pt(K.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});st("staggerTo,staggerFrom,staggerFromTo",function(o){K[o]=function(){var t=new it,e=Qe.call(arguments,0);return e.splice(o==="staggerFromTo"?5:4,0,0),t[o].apply(t,e)}});var xi=function(t,e,i){return t[e]=i},xn=function(t,e,i){return t[e](i)},zr=function(t,e,i,n){return t[e](n.fp,i)},Ir=function(t,e,i){return t.setAttribute(e,i)},Le=function(t,e){return Y(t[e])?xn:ke(t[e])&&t.setAttribute?Ir:xi},yn=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},Br=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},yi=function(t,e){var i=e._pt,n="";if(!t&&e.b)n=e.b;else if(t===1&&e.e)n=e.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+n,i=i._next;n+=e.c}e.set(e.t,e.p,n,e)},vi=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},Vr=function(t,e,i,n){for(var r=this._pt,s;r;)s=r._next,r.p===n&&r.modifier(t,e,i),r=s},Hr=function(t){for(var e=this._pt,i,n;e;)n=e._next,e.p===t&&!e.op||e.op===t?Re(this,e,"_pt"):e.dep||(i=1),e=n;return!i},Ur=function(t,e,i,n){n.mSet(t,e,n.m.call(n.tween,i,n.mt),n)},bi=function(t){for(var e=t._pt,i,n,r,s;e;){for(i=e._next,n=r;n&&n.pr>e.pr;)n=n._next;(e._prev=n?n._prev:s)?e._prev._next=e:r=e,(e._next=n)?n._prev=e:s=e,e=i}t._pt=r},at=(function(){function o(e,i,n,r,s,a,c,u,l){this.t=i,this.s=r,this.c=s,this.p=n,this.r=a||yn,this.d=c||this,this.set=u||xi,this.pr=l||0,this._next=e,e&&(e._prev=this)}var t=o.prototype;return t.modifier=function(i,n,r){this.mSet=this.mSet||this.set,this.set=Ur,this.m=i,this.mt=r,this.tween=n},o})();st(ui+"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,easeReverse",function(o){return ci[o]=1});dt.TweenMax=dt.TweenLite=K;dt.TimelineLite=dt.TimelineMax=it;U=new it({sortChildren:!1,defaults:fe,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});lt.stringFilter=di;var Ut=[],we={},Gr=[],Ui=0,Wr=0,Ye=function(t){return(we[t]||Gr).map(function(e){return e()})},ii=function(){var t=Date.now(),e=[];t-Ui>2&&(Ye("matchMediaInit"),Ut.forEach(function(i){var n=i.queries,r=i.conditions,s,a,c,u;for(a in n)s=vt.matchMedia(n[a]).matches,s&&(c=1),s!==r[a]&&(r[a]=s,u=1);u&&(i.revert(),c&&e.push(i))}),Ye("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(n){return i.add(null,n)})}),Ui=t,Ye("matchMedia"))},vn=(function(){function o(e,i){this.selector=i&&Je(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Wr++,e&&this.add(e)}var t=o.prototype;return t.add=function(i,n,r){Y(i)&&(r=n,n=i,i=Y);var s=this,a=function(){var u=V,l=s.selector,h;return u&&u!==s&&u.data.push(s),r&&(s.selector=Je(r)),V=s,h=n.apply(s,arguments),Y(h)&&s._r.push(h),V=u,s.selector=l,s.isReverted=!1,h};return s.last=a,i===Y?a(s,function(c){return s.add(null,c)}):i?s[i]=a:a},t.ignore=function(i){var n=V;V=null,i(this),V=n},t.getTweens=function(){var i=[];return this.data.forEach(function(n){return n instanceof o?i.push.apply(i,n.getTweens()):n instanceof K&&!(n.parent&&n.parent.data==="nested")&&i.push(n)}),i},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(i,n){var r=this;if(i?(function(){for(var a=r.getTweens(),c=r.data.length,u;c--;)u=r.data[c],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(l){return a.splice(a.indexOf(l),1)}));for(a.map(function(l){return{g:l._dur||l._delay||l._sat&&!l._sat.vars.immediateRender?l.globalTime(0):-1/0,t:l}}).sort(function(l,h){return h.g-l.g||-1/0}).forEach(function(l){return l.t.revert(i)}),c=r.data.length;c--;)u=r.data[c],u instanceof it?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof K)&&u.revert&&u.revert(i);r._r.forEach(function(l){return l(i,r)}),r.isReverted=!0})():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var s=Ut.length;s--;)Ut[s].id===this.id&&Ut.splice(s,1)},t.revert=function(i){this.kill(i||{})},o})(),Yr=(function(){function o(e){this.contexts=[],this.scope=e,V&&V.data.push(this)}var t=o.prototype;return t.add=function(i,n,r){Tt(i)||(i={matches:i});var s=new vn(0,r||this.scope),a=s.conditions={},c,u,l;V&&!s.selector&&(s.selector=V.selector),this.contexts.push(s),n=s.add("onMatch",n),s.queries=i;for(u in i)u==="all"?l=1:(c=vt.matchMedia(i[u]),c&&(Ut.indexOf(s)<0&&Ut.push(s),(a[u]=c.matches)&&(l=1),c.addListener?c.addListener(ii):c.addEventListener("change",ii)));return l&&n(s,function(h){return s.add(null,h)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(n){return n.kill(i,!0)})},o})(),Ce={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(n){return hn(n)})},timeline:function(t){return new it(t)},getTweensOf:function(t,e){return U.getTweensOf(t,e)},getProperty:function(t,e,i,n){Q(t)&&(t=xt(t)[0]);var r=Dt(t||{}).get,s=i?Qi:Zi;return i==="native"&&(i=""),t&&(e?s((ot[e]&&ot[e].get||r)(t,e,i,n)):function(a,c,u){return s((ot[a]&&ot[a].get||r)(t,a,c,u))})},quickSetter:function(t,e,i){if(t=xt(t),t.length>1){var n=t.map(function(l){return rt.quickSetter(l,e,i)}),r=n.length;return function(l){for(var h=r;h--;)n[h](l)}}t=t[0]||{};var s=ot[e],a=Dt(t),c=a.harness&&(a.harness.aliases||{})[e]||e,u=s?function(l){var h=new s;jt._pt=0,h.init(t,i?l+i:l,jt,0,[t]),h.render(1,h),jt._pt&&vi(1,jt)}:a.set(t,c);return s?u:function(l){return u(t,c,i?l+i:l,a,1)}},quickTo:function(t,e,i){var n,r=rt.to(t,pt((n={},n[e]="+=0.1",n.paused=!0,n.stagger=0,n),i||{})),s=function(c,u,l){return r.resetTo(e,c,u,l)};return s.tween=r,s},isTweening:function(t){return U.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Ht(t.ease,fe.ease)),zi(fe,t||{})},config:function(t){return zi(lt,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,n=t.plugins,r=t.defaults,s=t.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!ot[a]&&!dt[a]&&he(e+" effect requires "+a+" plugin.")}),He[e]=function(a,c,u){return i(xt(a),pt(c||{},r),u)},s&&(it.prototype[e]=function(a,c,u){return this.add(He[e](a,Tt(c)?c:(u=c)&&{},this),u)})},registerEase:function(t,e){R[t]=Ht(e)},parseEase:function(t,e){return arguments.length?Ht(t,e):R},getById:function(t){return U.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new it(t),n,r;for(i.smoothChildTiming=ut(t.smoothChildTiming),U.remove(i),i._dp=0,i._time=i._tTime=U._time,n=U._first;n;)r=n._next,(e||!(!n._dur&&n instanceof K&&n.vars.onComplete===n._targets[0]))&&bt(i,n,n._start-n._delay),n=r;return bt(U,i,0),i},context:function(t,e){return t?new vn(t,e):V},matchMedia:function(t){return new Yr(t)},matchMediaRefresh:function(){return Ut.forEach(function(t){var e=t.conditions,i,n;for(n in e)e[n]&&(e[n]=!1,i=1);i&&t.revert()})||ii()},addEventListener:function(t,e){var i=we[t]||(we[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=we[t],n=i&&i.indexOf(e);n>=0&&i.splice(n,1)},utils:{wrap:Tr,wrapYoyo:Sr,distribute:an,random:cn,snap:on,normalize:br,getUnit:et,clamp:mr,splitColor:dn,toArray:xt,selector:Je,mapRange:ln,pipe:yr,unitize:vr,interpolate:wr,shuffle:sn},install:qi,effects:He,ticker:ct,updateRoot:it.updateRoot,plugins:ot,globalTimeline:U,core:{PropTween:at,globals:Ki,Tween:K,Timeline:it,Animation:_e,getCache:Dt,_removeLinkedListItem:Re,reverting:function(){return tt},context:function(t){return t&&V&&(V.data.push(t),t._ctx=V),V},suppressOverwrites:function(t){return ni=t}}};st("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Ce[o]=K[o]});ct.add(it.updateRoot);jt=Ce.to({},{duration:0});var Xr=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},qr=function(t,e){var i=t._targets,n,r,s;for(n in e)for(r=i.length;r--;)s=t._ptLookup[r][n],s&&(s=s.d)&&(s._pt&&(s=Xr(s,n)),s&&s.modifier&&s.modifier(e[n],t,i[r],n))},Xe=function(t,e){return{name:t,headless:1,rawVars:1,init:function(n,r,s){s._onInit=function(a){var c,u;if(Q(r)&&(c={},st(r,function(l){return c[l]=1}),r=c),e){c={};for(u in r)c[u]=e(r[u]);r=c}qr(a,r)}}}},rt=Ce.registerPlugin({name:"attr",init:function(t,e,i,n,r){var s,a,c;this.tween=i;for(s in e)c=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(c||0)+"",e[s],n,r,0,0,s),a.op=s,a.b=c,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)tt?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",headless:1,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)}},Xe("roundProps",ti),Xe("modifiers"),Xe("snap",on))||Ce;K.version=it.version=rt.version="3.15.0";Xi=1;ri()&&te();var Kr=R.Power0,$r=R.Power1,jr=R.Power2,Zr=R.Power3,Qr=R.Power4,Jr=R.Linear,ts=R.Quad,es=R.Cubic,is=R.Quart,ns=R.Quint,rs=R.Strong,ss=R.Elastic,as=R.Back,os=R.SteppedEase,cs=R.Bounce,us=R.Sine,ls=R.Expo,fs=R.Circ;var bn,Nt,ne,Oi,$t,hs,Tn,Pi,ds=function(){return typeof window<"u"},kt={},Kt=180/Math.PI,re=Math.PI/180,ie=Math.atan2,Sn=1e8,Ci=/([A-Z])/g,ps=/(left|right|width|margin|padding|x)/i,_s=/[\s,\(]\S/,St={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Si=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},gs=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)},ms=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)},xs=function(t,e){return e.set(e.t,e.p,t===1?e.e:t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},ys=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},An=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Rn=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},vs=function(t,e,i){return t.style[e]=i},bs=function(t,e,i){return t.style.setProperty(e,i)},Ts=function(t,e,i){return t._gsap[e]=i},Ss=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},ws=function(t,e,i,n,r){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(r,s)},Ms=function(t,e,i,n,r){var s=t._gsap;s[e]=i,s.renderTransform(r,s)},G="transform",ft=G+"Origin",Es=function o(t,e){var i=this,n=this.target,r=n.style,s=n._gsap;if(t in kt&&r){if(this.tfm=this.tfm||{},t!=="transform")t=St[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return i.tfm[a]=Ct(n,a)}):this.tfm[t]=s.x?s[t]:Ct(n,t),t===ft&&(this.tfm.zOrigin=s.zOrigin);else return St.transform.split(",").forEach(function(a){return o.call(i,a,e)});if(this.props.indexOf(G)>=0)return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(ft,e,"")),t=G}(r||e)&&this.props.push(t,e,r[t])},Dn=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Os=function(){var t=this.props,e=this.target,i=e.style,n=e._gsap,r,s;for(r=0;r<t.length;r+=3)t[r+1]?t[r+1]===2?e[t[r]](t[r+2]):e[t[r]]=t[r+2]:t[r+2]?i[t[r]]=t[r+2]:i.removeProperty(t[r].substr(0,2)==="--"?t[r]:t[r].replace(Ci,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)n[s]=this.tfm[s];n.svg&&(n.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),r=Pi(),(!r||!r.isStart)&&!i[G]&&(Dn(i),n.zOrigin&&i[ft]&&(i[ft]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},Fn=function(t,e){var i={target:t,props:[],revert:Os,save:Es};return t._gsap||rt.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(n){return i.save(n)}),i},Ln,wi=function(t,e){var i=Nt.createElementNS?Nt.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Nt.createElement(t);return i&&i.style?i:Nt.createElement(t)},_t=function o(t,e,i){var n=getComputedStyle(t);return n[e]||n.getPropertyValue(e.replace(Ci,"-$1").toLowerCase())||n.getPropertyValue(e)||!i&&o(t,se(e)||e,1)||""},wn="O,Moz,ms,Ms,Webkit".split(","),se=function(t,e,i){var n=e||$t,r=n.style,s=5;if(t in r&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(wn[s]+t in r););return s<0?null:(s===3?"ms":s>=0?wn[s]:"")+t},Mi=function(){ds()&&window.document&&(bn=window,Nt=bn.document,ne=Nt.documentElement,$t=wi("div")||{style:{}},hs=wi("div"),G=se(G),ft=G+"Origin",$t.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ln=!!se("perspective"),Pi=rt.core.reverting,Oi=1)},Mn=function(t){var e=t.ownerSVGElement,i=wi("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=t.cloneNode(!0),r;n.style.display="block",i.appendChild(n),ne.appendChild(i);try{r=n.getBBox()}catch{}return i.removeChild(n),ne.removeChild(i),r},En=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Nn=function(t){var e,i;try{e=t.getBBox()}catch{e=Mn(t),i=1}return e&&(e.width||e.height)||i||(e=Mn(t)),e&&!e.width&&!e.x&&!e.y?{x:+En(t,["x","cx","x1"])||0,y:+En(t,["y","cy","y1"])||0,width:0,height:0}:e},zn=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Nn(t))},It=function(t,e){if(e){var i=t.style,n;e in kt&&e!==ft&&(e=G),i.removeProperty?(n=e.substr(0,2),(n==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(n==="--"?e:e.replace(Ci,"-$1").toLowerCase())):i.removeAttribute(e)}},zt=function(t,e,i,n,r,s){var a=new at(t._pt,e,i,0,1,s?Rn:An);return t._pt=a,a.b=n,a.e=r,t._props.push(i),a},On={deg:1,rad:1,turn:1},Ps={grid:1,flex:1},Bt=function o(t,e,i,n){var r=parseFloat(i)||0,s=(i+"").trim().substr((r+"").length)||"px",a=$t.style,c=ps.test(e),u=t.tagName.toLowerCase()==="svg",l=(u?"client":"offset")+(c?"Width":"Height"),h=100,d=n==="px",p=n==="%",_,f,g,y;if(n===s||!r||On[n]||On[s])return r;if(s!=="px"&&!d&&(r=o(t,e,i,"px")),y=t.getCTM&&zn(t),(p||s==="%")&&(kt[e]||~e.indexOf("adius")))return _=y?t.getBBox()[c?"width":"height"]:t[l],X(p?r/_*h:r/100*_);if(a[c?"width":"height"]=h+(d?s:n),f=n!=="rem"&&~e.indexOf("adius")||n==="em"&&t.appendChild&&!u?t:t.parentNode,y&&(f=(t.ownerSVGElement||{}).parentNode),(!f||f===Nt||!f.appendChild)&&(f=Nt.body),g=f._gsap,g&&p&&g.width&&c&&g.time===ct.time&&!g.uncache)return X(r/g.width*h);if(p&&(e==="height"||e==="width")){var m=t.style[e];t.style[e]=h+n,_=t[l],m?t.style[e]=m:It(t,e)}else(p||s==="%")&&!Ps[_t(f,"display")]&&(a.position=_t(t,"position")),f===t&&(a.position="static"),f.appendChild($t),_=$t[l],f.removeChild($t),a.position="absolute";return c&&p&&(g=Dt(f),g.time=ct.time,g.width=f[l]),X(d?_*r/h:_&&r?h/_*r:0)},Ct=function(t,e,i,n){var r;return Oi||Mi(),e in St&&e!=="transform"&&(e=St[e],~e.indexOf(",")&&(e=e.split(",")[0])),kt[e]&&e!=="transform"?(r=ye(t,n),r=e!=="transformOrigin"?r[e]:r.svg?r.origin:ze(_t(t,ft))+" "+r.zOrigin+"px"):(r=t.style[e],(!r||r==="auto"||n||~(r+"").indexOf("calc("))&&(r=Ne[e]&&Ne[e](t,e,i)||_t(t,e)||fi(t,e)||(e==="opacity"?1:0))),i&&!~(r+"").trim().indexOf(" ")?Bt(t,e,r,i)+i:r},Cs=function(t,e,i,n){if(!i||i==="none"){var r=se(e,t,1),s=r&&_t(t,r,1);s&&s!==i?(e=r,i=s):e==="borderColor"&&(i=_t(t,"borderTopColor"))}var a=new at(this._pt,t.style,e,0,1,yi),c=0,u=0,l,h,d,p,_,f,g,y,m,v,S,x;if(a.b=i,a.e=n,i+="",n+="",n.substring(0,6)==="var(--"&&(n=_t(t,n.substring(4,n.indexOf(")")))),n==="auto"&&(f=t.style[e],t.style[e]=n,n=_t(t,e)||n,f?t.style[e]=f:It(t,e)),l=[i,n],di(l),i=l[0],n=l[1],d=i.match(Gt)||[],x=n.match(Gt)||[],x.length){for(;h=Gt.exec(n);)g=h[0],m=n.substring(c,h.index),_?_=(_+1)%5:(m.substr(-5)==="rgba("||m.substr(-5)==="hsla(")&&(_=1),g!==(f=d[u++]||"")&&(p=parseFloat(f)||0,S=f.substr((p+"").length),g.charAt(1)==="="&&(g=Wt(p,g)+S),y=parseFloat(g),v=g.substr((y+"").length),c=Gt.lastIndex-v.length,v||(v=v||lt.units[e]||S,c===n.length&&(n+=v,a.e+=v)),S!==v&&(p=Bt(t,e,f,v)||0),a._pt={_next:a._pt,p:m||u===1?m:",",s:p,c:y-p,m:_&&_<4||e==="zIndex"?Math.round:0});a.c=c<n.length?n.substring(c,n.length):""}else a.r=e==="display"&&n==="none"?Rn:An;return ai.test(n)&&(a.e=0),this._pt=a,a},Pn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ks=function(t){var e=t.split(" "),i=e[0],n=e[1]||"50%";return(i==="top"||i==="bottom"||n==="left"||n==="right")&&(t=i,i=n,n=t),e[0]=Pn[i]||i,e[1]=Pn[n]||n,e.join(" ")},As=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,n=i.style,r=e.u,s=i._gsap,a,c,u;if(r==="all"||r===!0)n.cssText="",c=1;else for(r=r.split(","),u=r.length;--u>-1;)a=r[u],kt[a]&&(c=1,a=a==="transformOrigin"?ft:G),It(i,a);c&&(It(i,G),s&&(s.svg&&i.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",ye(i,1),s.uncache=1,Dn(n)))}},Ne={clearProps:function(t,e,i,n,r){if(r.data!=="isFromStart"){var s=t._pt=new at(t._pt,e,i,0,0,As);return s.u=n,s.pr=-10,s.tween=r,t._props.push(i),1}}},xe=[1,0,0,1,0,0],In={},Bn=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Cn=function(t){var e=_t(t,G);return Bn(e)?xe:e.substr(7).match(si).map(X)},ki=function(t,e){var i=t._gsap||Dt(t),n=t.style,r=Cn(t),s,a,c,u;return i.svg&&t.getAttribute("transform")?(c=t.transform.baseVal.consolidate().matrix,r=[c.a,c.b,c.c,c.d,c.e,c.f],r.join(",")==="1,0,0,1,0,0"?xe:r):(r===xe&&!t.offsetParent&&t!==ne&&!i.svg&&(c=n.display,n.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(u=1,a=t.nextElementSibling,ne.appendChild(t)),r=Cn(t),c?n.display=c:It(t,"display"),u&&(a?s.insertBefore(t,a):s?s.appendChild(t):ne.removeChild(t))),e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r)},Ei=function(t,e,i,n,r,s){var a=t._gsap,c=r||ki(t,!0),u=a.xOrigin||0,l=a.yOrigin||0,h=a.xOffset||0,d=a.yOffset||0,p=c[0],_=c[1],f=c[2],g=c[3],y=c[4],m=c[5],v=e.split(" "),S=parseFloat(v[0])||0,x=parseFloat(v[1])||0,E,b,w,T;i?c!==xe&&(b=p*g-_*f)&&(w=S*(g/b)+x*(-f/b)+(f*m-g*y)/b,T=S*(-_/b)+x*(p/b)-(p*m-_*y)/b,S=w,x=T):(E=Nn(t),S=E.x+(~v[0].indexOf("%")?S/100*E.width:S),x=E.y+(~(v[1]||v[0]).indexOf("%")?x/100*E.height:x)),n||n!==!1&&a.smooth?(y=S-u,m=x-l,a.xOffset=h+(y*p+m*f)-y,a.yOffset=d+(y*_+m*g)-m):a.xOffset=a.yOffset=0,a.xOrigin=S,a.yOrigin=x,a.smooth=!!n,a.origin=e,a.originIsAbsolute=!!i,t.style[ft]="0px 0px",s&&(zt(s,a,"xOrigin",u,S),zt(s,a,"yOrigin",l,x),zt(s,a,"xOffset",h,a.xOffset),zt(s,a,"yOffset",d,a.yOffset)),t.setAttribute("data-svg-origin",S+" "+x)},ye=function(t,e){var i=t._gsap||new pi(t);if("x"in i&&!e&&!i.uncache)return i;var n=t.style,r=i.scaleX<0,s="px",a="deg",c=getComputedStyle(t),u=_t(t,ft)||"0",l,h,d,p,_,f,g,y,m,v,S,x,E,b,w,T,P,I,M,O,C,D,F,A,W,k,L,B,q,yt,j,Mt;return l=h=d=f=g=y=m=v=S=0,p=_=1,i.svg=!!(t.getCTM&&zn(t)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(n[G]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[G]!=="none"?c[G]:"")),n.scale=n.rotate=n.translate="none"),b=ki(t,i.svg),i.svg&&(i.uncache?(W=t.getBBox(),u=i.xOrigin-W.x+"px "+(i.yOrigin-W.y)+"px",A=""):A=!e&&t.getAttribute("data-svg-origin"),Ei(t,A||u,!!A||i.originIsAbsolute,i.smooth!==!1,b)),x=i.xOrigin||0,E=i.yOrigin||0,b!==xe&&(I=b[0],M=b[1],O=b[2],C=b[3],l=D=b[4],h=F=b[5],b.length===6?(p=Math.sqrt(I*I+M*M),_=Math.sqrt(C*C+O*O),f=I||M?ie(M,I)*Kt:0,m=O||C?ie(O,C)*Kt+f:0,m&&(_*=Math.abs(Math.cos(m*re))),i.svg&&(l-=x-(x*I+E*O),h-=E-(x*M+E*C))):(Mt=b[6],yt=b[7],L=b[8],B=b[9],q=b[10],j=b[11],l=b[12],h=b[13],d=b[14],w=ie(Mt,q),g=w*Kt,w&&(T=Math.cos(-w),P=Math.sin(-w),A=D*T+L*P,W=F*T+B*P,k=Mt*T+q*P,L=D*-P+L*T,B=F*-P+B*T,q=Mt*-P+q*T,j=yt*-P+j*T,D=A,F=W,Mt=k),w=ie(-O,q),y=w*Kt,w&&(T=Math.cos(-w),P=Math.sin(-w),A=I*T-L*P,W=M*T-B*P,k=O*T-q*P,j=C*P+j*T,I=A,M=W,O=k),w=ie(M,I),f=w*Kt,w&&(T=Math.cos(w),P=Math.sin(w),A=I*T+M*P,W=D*T+F*P,M=M*T-I*P,F=F*T-D*P,I=A,D=W),g&&Math.abs(g)+Math.abs(f)>359.9&&(g=f=0,y=180-y),p=X(Math.sqrt(I*I+M*M+O*O)),_=X(Math.sqrt(F*F+Mt*Mt)),w=ie(D,F),m=Math.abs(w)>2e-4?w*Kt:0,S=j?1/(j<0?-j:j):0),i.svg&&(A=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Bn(_t(t,G)),A&&t.setAttribute("transform",A))),Math.abs(m)>90&&Math.abs(m)<270&&(r?(p*=-1,m+=f<=0?180:-180,f+=f<=0?180:-180):(_*=-1,m+=m<=0?180:-180)),e=e||i.uncache,i.x=l-((i.xPercent=l&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-l)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+s,i.y=h-((i.yPercent=h&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-h)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+s,i.z=d+s,i.scaleX=X(p),i.scaleY=X(_),i.rotation=X(f)+a,i.rotationX=X(g)+a,i.rotationY=X(y)+a,i.skewX=m+a,i.skewY=v+a,i.transformPerspective=S+s,(i.zOrigin=parseFloat(u.split(" ")[2])||!e&&i.zOrigin||0)&&(n[ft]=ze(u)),i.xOffset=i.yOffset=0,i.force3D=lt.force3D,i.renderTransform=i.svg?Ds:Ln?Vn:Rs,i.uncache=0,i},ze=function(t){return(t=t.split(" "))[0]+" "+t[1]},Ti=function(t,e,i){var n=et(e);return X(parseFloat(e)+parseFloat(Bt(t,"x",i+"px",n)))+n},Rs=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Vn(t,e)},Xt="0deg",me="0px",qt=") ",Vn=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,s=i.x,a=i.y,c=i.z,u=i.rotation,l=i.rotationY,h=i.rotationX,d=i.skewX,p=i.skewY,_=i.scaleX,f=i.scaleY,g=i.transformPerspective,y=i.force3D,m=i.target,v=i.zOrigin,S="",x=y==="auto"&&t&&t!==1||y===!0;if(v&&(h!==Xt||l!==Xt)){var E=parseFloat(l)*re,b=Math.sin(E),w=Math.cos(E),T;E=parseFloat(h)*re,T=Math.cos(E),s=Ti(m,s,b*T*-v),a=Ti(m,a,-Math.sin(E)*-v),c=Ti(m,c,w*T*-v+v)}g!==me&&(S+="perspective("+g+qt),(n||r)&&(S+="translate("+n+"%, "+r+"%) "),(x||s!==me||a!==me||c!==me)&&(S+=c!==me||x?"translate3d("+s+", "+a+", "+c+") ":"translate("+s+", "+a+qt),u!==Xt&&(S+="rotate("+u+qt),l!==Xt&&(S+="rotateY("+l+qt),h!==Xt&&(S+="rotateX("+h+qt),(d!==Xt||p!==Xt)&&(S+="skew("+d+", "+p+qt),(_!==1||f!==1)&&(S+="scale("+_+", "+f+qt),m.style[G]=S||"translate(0, 0)"},Ds=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,s=i.x,a=i.y,c=i.rotation,u=i.skewX,l=i.skewY,h=i.scaleX,d=i.scaleY,p=i.target,_=i.xOrigin,f=i.yOrigin,g=i.xOffset,y=i.yOffset,m=i.forceCSS,v=parseFloat(s),S=parseFloat(a),x,E,b,w,T;c=parseFloat(c),u=parseFloat(u),l=parseFloat(l),l&&(l=parseFloat(l),u+=l,c+=l),c||u?(c*=re,u*=re,x=Math.cos(c)*h,E=Math.sin(c)*h,b=Math.sin(c-u)*-d,w=Math.cos(c-u)*d,u&&(l*=re,T=Math.tan(u-l),T=Math.sqrt(1+T*T),b*=T,w*=T,l&&(T=Math.tan(l),T=Math.sqrt(1+T*T),x*=T,E*=T)),x=X(x),E=X(E),b=X(b),w=X(w)):(x=h,w=d,E=b=0),(v&&!~(s+"").indexOf("px")||S&&!~(a+"").indexOf("px"))&&(v=Bt(p,"x",s,"px"),S=Bt(p,"y",a,"px")),(_||f||g||y)&&(v=X(v+_-(_*x+f*b)+g),S=X(S+f-(_*E+f*w)+y)),(n||r)&&(T=p.getBBox(),v=X(v+n/100*T.width),S=X(S+r/100*T.height)),T="matrix("+x+","+E+","+b+","+w+","+v+","+S+")",p.setAttribute("transform",T),m&&(p.style[G]=T)},Fs=function(t,e,i,n,r){var s=360,a=Q(r),c=parseFloat(r)*(a&&~r.indexOf("rad")?Kt:1),u=c-n,l=n+u+"deg",h,d;return a&&(h=r.split("_")[1],h==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),h==="cw"&&u<0?u=(u+s*Sn)%s-~~(u/s)*s:h==="ccw"&&u>0&&(u=(u-s*Sn)%s-~~(u/s)*s)),t._pt=d=new at(t._pt,e,i,n,u,gs),d.e=l,d.u="deg",t._props.push(i),d},kn=function(t,e){for(var i in e)t[i]=e[i];return t},Ls=function(t,e,i){var n=kn({},i._gsap),r="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,c,u,l,h,d,p,_;n.svg?(u=i.getAttribute("transform"),i.setAttribute("transform",""),s[G]=e,a=ye(i,1),It(i,G),i.setAttribute("transform",u)):(u=getComputedStyle(i)[G],s[G]=e,a=ye(i,1),s[G]=u);for(c in kt)u=n[c],l=a[c],u!==l&&r.indexOf(c)<0&&(p=et(u),_=et(l),h=p!==_?Bt(i,c,u,_):parseFloat(u),d=parseFloat(l),t._pt=new at(t._pt,a,c,h,d-h,Si),t._pt.u=_||0,t._props.push(c));kn(a,n)};st("padding,margin,Width,Radius",function(o,t){var e="Top",i="Right",n="Bottom",r="Left",s=(t<3?[e,i,n,r]:[e+r,e+i,n+i,n+r]).map(function(a){return t<2?o+a:"border"+a+o});Ne[t>1?"border"+o:o]=function(a,c,u,l,h){var d,p;if(arguments.length<4)return d=s.map(function(_){return Ct(a,_,u)}),p=d.join(" "),p.split(d[0]).length===5?d[0]:p;d=(l+"").split(" "),p={},s.forEach(function(_,f){return p[_]=d[f]=d[f]||d[(f-1)/2|0]}),a.init(c,p,h)}});var Ai={name:"css",register:Mi,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,n,r){var s=this._props,a=t.style,c=i.vars.startAt,u,l,h,d,p,_,f,g,y,m,v,S,x,E,b,w,T;Oi||Mi(),this.styles=this.styles||Fn(t),w=this.styles.props,this.tween=i;for(f in e)if(f!=="autoRound"&&(l=e[f],!(ot[f]&&gi(f,e,i,n,t,r)))){if(p=typeof l,_=Ne[f],p==="function"&&(l=l.call(i,n,t,r),p=typeof l),p==="string"&&~l.indexOf("random(")&&(l=ee(l)),_)_(this,t,f,l,i)&&(b=1);else if(f.substr(0,2)==="--")u=(getComputedStyle(t).getPropertyValue(f)+"").trim(),l+="",Ot.lastIndex=0,Ot.test(u)||(g=et(u),y=et(l),y?g!==y&&(u=Bt(t,f,u,y)+y):g&&(l+=g)),this.add(a,"setProperty",u,l,n,r,0,0,f),s.push(f),w.push(f,0,a[f]);else if(p!=="undefined"){if(c&&f in c?(u=typeof c[f]=="function"?c[f].call(i,n,t,r):c[f],Q(u)&&~u.indexOf("random(")&&(u=ee(u)),et(u+"")||u==="auto"||(u+=lt.units[f]||et(Ct(t,f))||""),(u+"").charAt(1)==="="&&(u=Ct(t,f))):u=Ct(t,f),d=parseFloat(u),m=p==="string"&&l.charAt(1)==="="&&l.substr(0,2),m&&(l=l.substr(2)),h=parseFloat(l),f in St&&(f==="autoAlpha"&&(d===1&&Ct(t,"visibility")==="hidden"&&h&&(d=0),w.push("visibility",0,a.visibility),zt(this,a,"visibility",d?"inherit":"hidden",h?"inherit":"hidden",!h)),f!=="scale"&&f!=="transform"&&(f=St[f],~f.indexOf(",")&&(f=f.split(",")[0]))),v=f in kt,v){if(this.styles.save(f),T=l,p==="string"&&l.substring(0,6)==="var(--"){if(l=_t(t,l.substring(4,l.indexOf(")"))),l.substring(0,5)==="calc("){var P=t.style.perspective;t.style.perspective=l,l=_t(t,"perspective"),P?t.style.perspective=P:It(t,"perspective")}h=parseFloat(l)}if(S||(x=t._gsap,x.renderTransform&&!e.parseTransform||ye(t,e.parseTransform),E=e.smoothOrigin!==!1&&x.smooth,S=this._pt=new at(this._pt,a,G,0,1,x.renderTransform,x,0,-1),S.dep=1),f==="scale")this._pt=new at(this._pt,x,"scaleY",x.scaleY,(m?Wt(x.scaleY,m+h):h)-x.scaleY||0,Si),this._pt.u=0,s.push("scaleY",f),f+="X";else if(f==="transformOrigin"){w.push(ft,0,a[ft]),l=ks(l),x.svg?Ei(t,l,0,E,0,this):(y=parseFloat(l.split(" ")[2])||0,y!==x.zOrigin&&zt(this,x,"zOrigin",x.zOrigin,y),zt(this,a,f,ze(u),ze(l)));continue}else if(f==="svgOrigin"){Ei(t,l,1,E,0,this);continue}else if(f in In){Fs(this,x,f,d,m?Wt(d,m+l):l);continue}else if(f==="smoothOrigin"){zt(this,x,"smooth",x.smooth,l);continue}else if(f==="force3D"){x[f]=l;continue}else if(f==="transform"){Ls(this,l,t);continue}}else f in a||(f=se(f)||f);if(v||(h||h===0)&&(d||d===0)&&!_s.test(l)&&f in a)g=(u+"").substr((d+"").length),h||(h=0),y=et(l)||(f in lt.units?lt.units[f]:g),g!==y&&(d=Bt(t,f,u,y)),this._pt=new at(this._pt,v?x:a,f,d,(m?Wt(d,m+h):h)-d,!v&&(y==="px"||f==="zIndex")&&e.autoRound!==!1?ys:Si),this._pt.u=y||0,v&&T!==l?(this._pt.b=u,this._pt.e=T,this._pt.r=xs):g!==y&&y!=="%"&&(this._pt.b=u,this._pt.r=ms);else if(f in a)Cs.call(this,t,f,u,m?m+l:l);else if(f in t)this.add(t,f,u||t[f],m?m+l:l,n,r);else if(f!=="parseTransform"){Ae(f,l);continue}v||(f in a?w.push(f,0,a[f]):typeof t[f]=="function"?w.push(f,2,t[f]()):w.push(f,1,u||t[f])),s.push(f)}}b&&bi(this)},render:function(t,e){if(e.tween._time||!Pi())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:Ct,aliases:St,getSetter:function(t,e,i){var n=St[e];return n&&n.indexOf(",")<0&&(e=n),e in kt&&e!==ft&&(t._gsap.x||Ct(t,"x"))?i&&Tn===i?e==="scale"?Ss:Ts:(Tn=i||{})&&(e==="scale"?ws:Ms):t.style&&!ke(t.style[e])?vs:~e.indexOf("-")?bs:Le(t,e)},core:{_removeProperty:It,_getMatrix:ki}};rt.utils.checkPrefix=se;rt.core.getStyleSaver=Fn;(function(o,t,e,i){var n=st(o+","+t+","+e,function(r){kt[r]=1});st(t,function(r){lt.units[r]="deg",In[r]=1}),St[n[13]]=o+","+t,st(i,function(r){var s=r.split(":");St[s[1]]=n[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");st("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){lt.units[o]="px"});rt.registerPlugin(Ai);var J=rt.registerPlugin(Ai)||rt,ra=J.core.Tween;var Ri=Object.freeze({dispatchGlowRest:"0 0 0 0 rgb(124 77 255 / 0%)",dispatchGlow:"0 0 0 4px rgb(124 77 255 / 22%)"});var Z=Object.freeze({contentMilliseconds:220,detailRevealDelaySeconds:.1,detailRevealSeconds:.3,detailRetireSeconds:.15,dispatchSeconds:.54,expandSeconds:.54,morphSeconds:.48,pressSeconds:.12,revealSeconds:.36,revealStaggerSeconds:.05,sceneRevealDelaySeconds:.12,sweepSeconds:.68,targetFeedbackDelaySeconds:.08,targetFeedbackSeconds:.22}),Ns=3;function Hn(o){return`${String(Math.round(o*1e3))}ms`}function Di(o){return Hn(Z.sceneRevealDelaySeconds+Z.revealStaggerSeconds*o)}var wt=Object.freeze({checkingWidth:440,compactHeight:62,dispatchingWidth:448,expandedHeight:164,expandedWidth:520,failedWidth:440,receivingWidth:430,runningWidth:468,successWidth:356});function Ie(o){return o==="pill"||o==="capturing"?"pill":o==="planner"?"planner":"execution"}function zs(o,t){let e=t.scene==="pill"||t.scene==="capturing",i=t.scene==="planner",n=!e&&!i;return o.pill.hidden=!e,o.pill.inert=!e,o.planner.hidden=!i,o.planner.inert=!i,o.planner.setAttribute("aria-hidden",String(!i)),o.execution.root.hidden=!n,o.execution.root.inert=!n,o.execution.root.setAttribute("aria-hidden",String(!n)),e?o.pill:i?o.planner:o.execution.root}function Fi(o){return o.defaultView?.matchMedia("(prefers-reduced-motion: reduce)").matches!==!0}function ve(o){return Number.isFinite(o.left)&&Number.isFinite(o.top)&&o.width>0&&o.height>0}function Is(o,t){return Math.abs(o.left-t.left)>.5||Math.abs(o.top-t.top)>.5||Math.abs(o.width-t.width)>.5||Math.abs(o.height-t.height)>.5}function Bs(o,t){if(o===void 0||o.length===0)return"0px";let e=Number.parseFloat(o);return!Number.isFinite(e)||!ve(t)?o:`${String(Math.min(e,t.width/2,t.height/2))}px`}function Vs(o){return o.scene==="agent-charging"?wt.receivingWidth:o.scene==="handoff"?wt.dispatchingWidth:o.scene==="success"?wt.successWidth:o.scene==="failed"?wt.failedWidth:o.scene==="running"&&o.activity?.kind==="check"?wt.checkingWidth:wt.runningWidth}function Un(o){let t=o.createElement("style");return t.textContent=`
2
2
  .spotpatch-floating-surface {
3
- --spotpatch-island-surface: #050608;
4
- --spotpatch-island-primary: #f7f7fb;
5
- --spotpatch-island-subtle: #5f646e;
6
- --spotpatch-island-line: rgb(255 255 255 / 10%);
7
- --spotpatch-island-violet: #8b67ff;
8
- --spotpatch-island-cyan: #4dc8ff;
9
- --spotpatch-island-mint: #59dcb6;
10
- --spotpatch-island-error: #ef6f88;
11
- --spotpatch-island-compact-height: ${String(St.compactHeight)}px;
12
- --spotpatch-island-compact-width: ${String(St.runningWidth)}px;
13
- --spotpatch-island-expanded-height: ${String(St.expandedHeight)}px;
14
- --spotpatch-island-expanded-width: ${String(St.expandedWidth)}px;
15
- --spotpatch-island-ease: cubic-bezier(.22, 1, .36, 1);
16
- position: fixed;
17
- box-sizing: border-box;
18
- color-scheme: dark;
19
- -webkit-font-smoothing: antialiased;
20
- overflow: hidden;
21
- border: 1px solid var(--spotpatch-island-line);
22
- background:
23
- linear-gradient(180deg, rgb(255 255 255 / 2.8%), transparent 24%),
24
- rgb(5 6 8 / 98.8%);
25
- box-shadow:
26
- 0 24px 60px rgb(13 17 28 / 18%),
27
- 0 3px 10px rgb(13 17 28 / 10%),
28
- inset 0 1px rgb(255 255 255 / 6.5%),
29
- inset 0 0 0 1px rgb(255 255 255 / 1.2%);
30
- transform-origin: 100% 100%;
3
+ --spotpatch-island-compact-height: ${String(wt.compactHeight)}px;
4
+ --spotpatch-island-compact-width: ${String(wt.runningWidth)}px;
5
+ --spotpatch-island-expanded-height: ${String(wt.expandedHeight)}px;
6
+ --spotpatch-island-expanded-width: ${String(wt.expandedWidth)}px;
31
7
  }
32
8
  .spotpatch-floating-surface::before {
33
9
  position: absolute;
34
10
  z-index: 0;
35
11
  inset: 0;
36
12
  background:
37
- radial-gradient(180px 70px at 0% 50%, rgb(139 103 255 / 7%), transparent 72%),
38
- radial-gradient(180px 70px at 100% 50%, rgb(77 200 255 / 4.5%), transparent 72%);
13
+ radial-gradient(160px 70px at 0% 50%, var(--spotpatch-accent-tint), transparent 72%),
14
+ radial-gradient(160px 70px at 100% 50%, var(--spotpatch-cyan-tint), transparent 72%);
39
15
  content: "";
40
16
  opacity: 0;
41
17
  pointer-events: none;
18
+ transition: opacity var(--spotpatch-duration-slow) ease;
42
19
  }
43
- .spotpatch-floating-surface[data-scene="pill"],
44
- .spotpatch-floating-surface[data-scene="capturing"] {
45
- width: max-content;
46
- border-radius: 999px;
47
- }
48
- .spotpatch-floating-surface[data-scene="planner"] { border-radius: 18px; }
49
20
  .spotpatch-floating-surface[data-scene="agent-charging"],
50
21
  .spotpatch-floating-surface[data-scene="handoff"],
51
22
  .spotpatch-floating-surface[data-scene="running"],
@@ -54,17 +25,17 @@ function Et(o){if(o===void 0)throw new ReferenceError("this hasn't been initiali
54
25
  width: min(var(--spotpatch-island-compact-width), calc(100vw - 32px));
55
26
  height: var(--spotpatch-island-compact-height);
56
27
  max-width: calc(100vw - 32px);
57
- border-radius: 31px;
28
+ border-radius: var(--spotpatch-radius-pill);
58
29
  }
59
30
  .spotpatch-floating-surface[data-scene="agent-charging"]::before,
60
31
  .spotpatch-floating-surface[data-scene="handoff"]::before,
61
- .spotpatch-floating-surface[data-scene="running"]::before,
62
- .spotpatch-floating-surface[data-scene="success"]::before,
63
- .spotpatch-floating-surface[data-scene="failed"]::before { opacity: .82; }
32
+ .spotpatch-floating-surface[data-scene="running"]::before { opacity: 1; }
33
+ .spotpatch-floating-surface[data-scene="success"] { border-color: color-mix(in srgb, var(--spotpatch-success) 32%, transparent); }
34
+ .spotpatch-floating-surface[data-scene="failed"] { border-color: var(--spotpatch-danger-line); }
64
35
  .spotpatch-floating-surface:has(.spotpatch-execution-island[data-expanded="true"]) {
65
36
  width: min(var(--spotpatch-island-expanded-width), calc(100vw - 32px));
66
37
  height: min(var(--spotpatch-island-expanded-height), calc(100vh - 32px));
67
- border-radius: 30px;
38
+ border-radius: 28px;
68
39
  }
69
40
  .spotpatch-floating-surface > .spotpatch-trigger,
70
41
  .spotpatch-floating-surface > .spotpatch-dialog,
@@ -72,75 +43,8 @@ function Et(o){if(o===void 0)throw new ReferenceError("this hasn't been initiali
72
43
  position: relative;
73
44
  z-index: 1;
74
45
  }
75
- .spotpatch-floating-surface > .spotpatch-trigger {
76
- display: inline-flex;
77
- min-height: 44px;
78
- align-items: center;
79
- gap: 10px;
80
- border: 0;
81
- border-radius: 999px;
82
- padding: 10px 17px;
83
- color: #f8fafc;
84
- background: transparent;
85
- box-shadow: none;
86
- cursor: pointer;
87
- font-size: 14px;
88
- font-weight: 650;
89
- touch-action: none;
90
- user-select: none;
91
- }
92
- .spotpatch-trigger::before {
93
- width: 9px;
94
- height: 9px;
95
- border-radius: 999px;
96
- background: var(--spotpatch-accent);
97
- box-shadow: 0 0 0 4px rgb(99 102 241 / 10%);
98
- content: "";
99
- }
100
- .spotpatch-trigger:hover { transform: translateY(-1px); }
101
- .spotpatch-trigger[aria-pressed="true"] { background: rgb(139 123 255 / 14%); }
102
- .spotpatch-trigger[aria-pressed="true"]::before {
103
- animation: spotpatch-motion-pill-pulse 1.8s ease-in-out infinite;
104
- }
105
- .spotpatch-trigger[data-dragging="true"] {
106
- cursor: grabbing;
107
- transform: scale(.98);
108
- }
109
- .spotpatch-floating-surface .spotpatch-dialog { filter: none; }
110
- .spotpatch-floating-surface .spotpatch-shell {
111
- border: 0;
112
- border-radius: 0;
113
- background: transparent;
114
- box-shadow: none;
115
- }
116
- .spotpatch-brand-name {
117
- color: #fff;
118
- font-size: 13.5px;
119
- font-weight: 680;
120
- letter-spacing: -.01em;
121
- }
122
- .spotpatch-brand-context {
123
- color: #8e98aa;
124
- font-size: 10.5px;
125
- font-weight: 560;
126
- letter-spacing: .02em;
127
- }
128
- .spotpatch-title {
129
- margin: 0;
130
- color: #fff;
131
- font-size: 18px;
132
- font-weight: 680;
133
- letter-spacing: -.015em;
134
- }
135
- .spotpatch-subtitle {
136
- max-width: 390px;
137
- margin: 4px 0 0;
138
- color: var(--spotpatch-text-secondary);
139
- font-size: 12.5px;
140
- line-height: 1.5;
141
- }
46
+
142
47
  .spotpatch-execution-island {
143
- position: relative;
144
48
  display: grid;
145
49
  box-sizing: border-box;
146
50
  width: 100%;
@@ -152,7 +56,7 @@ function Et(o){if(o===void 0)throw new ReferenceError("this hasn't been initiali
152
56
  border: 0;
153
57
  border-radius: inherit;
154
58
  padding: 0 18px;
155
- color: var(--spotpatch-island-primary);
59
+ color: var(--spotpatch-text);
156
60
  background: transparent;
157
61
  cursor: pointer;
158
62
  text-align: left;
@@ -160,17 +64,15 @@ function Et(o){if(o===void 0)throw new ReferenceError("this hasn't been initiali
160
64
  }
161
65
  .spotpatch-execution-island[data-expanded="true"] {
162
66
  min-height: var(--spotpatch-island-expanded-height);
163
- grid-template-columns: auto minmax(0, 1fr) auto;
164
67
  grid-template-rows: auto 1fr;
165
68
  align-items: start;
166
69
  row-gap: 16px;
167
- border-radius: 30px;
168
70
  padding: 18px 20px 16px;
169
71
  }
170
72
  .spotpatch-execution-mark {
171
73
  display: grid;
172
- width: 23px;
173
- height: 23px;
74
+ width: 24px;
75
+ height: 24px;
174
76
  flex: none;
175
77
  place-items: center;
176
78
  }
@@ -178,7 +80,11 @@ function Et(o){if(o===void 0)throw new ReferenceError("this hasn't been initiali
178
80
  width: 22px;
179
81
  height: 22px;
180
82
  overflow: visible;
181
- filter: drop-shadow(0 0 7px rgb(139 103 255 / 16%));
83
+ }
84
+ [data-execution-scene="agent-charging"] .spotpatch-execution-logo,
85
+ [data-execution-scene="handoff"] .spotpatch-execution-logo,
86
+ [data-execution-scene="running"] .spotpatch-execution-logo {
87
+ animation: spotpatch-motion-logo-glow 2.4s ease-in-out infinite;
182
88
  }
183
89
  .spotpatch-execution-content {
184
90
  display: flex;
@@ -207,17 +113,15 @@ function Et(o){if(o===void 0)throw new ReferenceError("this hasn't been initiali
207
113
  }
208
114
  .spotpatch-execution-headline,
209
115
  .spotpatch-execution-headline-outgoing {
210
- color: var(--spotpatch-island-primary);
211
- font-size: 15px;
212
- font-weight: 690;
213
- letter-spacing: -.018em;
116
+ font-size: 14.5px;
117
+ font-weight: 650;
118
+ letter-spacing: -.015em;
214
119
  line-height: 1.35;
215
120
  }
216
121
  .spotpatch-execution-action,
217
122
  .spotpatch-execution-action-outgoing {
218
- color: #696f79;
219
- font-size: 11px;
220
- font-weight: 400;
123
+ color: var(--spotpatch-text-muted);
124
+ font-size: 11.5px;
221
125
  line-height: 1.35;
222
126
  }
223
127
  .spotpatch-execution-headline-outgoing,
@@ -229,21 +133,21 @@ function Et(o){if(o===void 0)throw new ReferenceError("this hasn't been initiali
229
133
  }
230
134
  .spotpatch-execution-copy-changing .spotpatch-execution-headline,
231
135
  .spotpatch-execution-copy-changing .spotpatch-execution-action {
232
- animation: spotpatch-motion-copy-in ${String(ft.contentMilliseconds)}ms var(--spotpatch-island-ease) both;
136
+ animation: spotpatch-motion-copy-in ${String(Z.contentMilliseconds)}ms var(--spotpatch-ease-out) both;
233
137
  }
234
138
  .spotpatch-execution-copy-changing .spotpatch-execution-headline-outgoing,
235
139
  .spotpatch-execution-copy-changing .spotpatch-execution-action-outgoing {
236
- animation: spotpatch-motion-copy-out ${String(ft.contentMilliseconds)}ms ease-in both;
140
+ animation: spotpatch-motion-copy-out ${String(Z.contentMilliseconds)}ms ease-in both;
237
141
  }
238
142
  .spotpatch-execution-meta {
239
143
  display: inline-flex;
144
+ flex: none;
240
145
  align-items: center;
241
146
  justify-content: flex-end;
242
147
  gap: 10px;
243
- flex: none;
244
- color: #989da8;
245
- font-size: 11px;
246
- font-weight: 620;
148
+ color: var(--spotpatch-text-secondary);
149
+ font-size: 11.5px;
150
+ font-weight: 600;
247
151
  white-space: nowrap;
248
152
  }
249
153
  .spotpatch-execution-meta-dot {
@@ -251,49 +155,53 @@ function Et(o){if(o===void 0)throw new ReferenceError("this hasn't been initiali
251
155
  height: 6px;
252
156
  flex: none;
253
157
  border-radius: 50%;
254
- background: var(--spotpatch-island-violet);
255
- box-shadow: 0 0 8px rgb(139 103 255 / 38%);
158
+ background: var(--spotpatch-accent);
159
+ box-shadow: 0 0 10px var(--spotpatch-accent-line);
256
160
  }
257
161
  [data-execution-scene="agent-charging"] .spotpatch-execution-meta-dot,
258
162
  [data-execution-scene="handoff"] .spotpatch-execution-meta-dot,
259
163
  [data-execution-scene="running"] .spotpatch-execution-meta-dot {
260
164
  animation: spotpatch-motion-status-breathe 1.8s ease-in-out infinite;
261
165
  }
166
+ .spotpatch-execution-meta[data-tone="success"] { color: var(--spotpatch-success-text); }
262
167
  .spotpatch-execution-meta[data-tone="success"] .spotpatch-execution-meta-dot {
263
- background: var(--spotpatch-island-mint);
264
- box-shadow: 0 0 8px rgb(89 220 182 / 24%);
168
+ background: var(--spotpatch-success);
169
+ box-shadow: 0 0 10px color-mix(in srgb, var(--spotpatch-success) 45%, transparent);
265
170
  }
171
+ .spotpatch-execution-meta[data-tone="danger"] { color: var(--spotpatch-danger-text); }
266
172
  .spotpatch-execution-meta[data-tone="danger"] .spotpatch-execution-meta-dot {
267
- background: var(--spotpatch-island-error);
268
- box-shadow: 0 0 8px rgb(239 111 136 / 22%);
173
+ background: var(--spotpatch-danger);
174
+ box-shadow: 0 0 10px var(--spotpatch-danger-line);
269
175
  }
270
176
  .spotpatch-execution-timer {
271
- width: 34px;
272
- color: #737985;
273
- font: 400 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
177
+ width: 36px;
178
+ color: var(--spotpatch-text-muted);
179
+ font: 500 11px/1 var(--spotpatch-font-mono);
180
+ font-variant-numeric: tabular-nums;
274
181
  text-align: right;
275
182
  }
276
183
  .spotpatch-execution-more {
277
184
  display: grid;
278
185
  width: 24px;
279
186
  height: 24px;
280
- padding: 0;
187
+ place-items: center;
281
188
  border: 0;
189
+ border-radius: 50%;
190
+ padding: 0;
191
+ color: var(--spotpatch-text-muted);
282
192
  background: transparent;
283
- color: #686e78;
284
193
  font-size: 15px;
285
194
  line-height: 1;
286
- place-items: center;
195
+ transition: background var(--spotpatch-duration-fast) ease;
287
196
  }
197
+ .spotpatch-execution-island:hover .spotpatch-execution-more { background: var(--spotpatch-hover); }
288
198
  [data-expanded="true"] .spotpatch-execution-meta-dot,
289
199
  [data-expanded="true"] .spotpatch-execution-meta-label,
290
200
  [data-expanded="true"] .spotpatch-execution-timer { display: none; }
291
201
  [data-expanded="true"] .spotpatch-execution-more {
292
202
  width: 28px;
293
203
  height: 28px;
294
- border-radius: 50%;
295
- background: rgb(255 255 255 / 4.5%);
296
- color: #828894;
204
+ background: var(--spotpatch-hover);
297
205
  }
298
206
  .spotpatch-execution-recent {
299
207
  position: absolute;
@@ -301,82 +209,75 @@ function Et(o){if(o===void 0)throw new ReferenceError("this hasn't been initiali
301
209
  right: 20px;
302
210
  left: 20px;
303
211
  display: grid;
304
- margin-top: 0;
305
212
  }
306
- .spotpatch-execution-recent[hidden] { display: none; }
307
213
  .spotpatch-execution-recent-item {
308
214
  display: grid;
309
215
  min-height: 28px;
310
- grid-template-columns: 52px minmax(0, 1fr) auto;
216
+ grid-template-columns: 56px minmax(0, 1fr) auto;
311
217
  align-items: center;
312
- border-top: 1px solid rgb(255 255 255 / 5.5%);
218
+ border-top: 1px solid var(--spotpatch-border-subtle);
313
219
  }
314
220
  .spotpatch-execution-recent-item:first-child { border-top: 0; }
315
- .spotpatch-execution-recent-kind {
316
- color: #666c76;
317
- font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
318
- text-transform: uppercase;
221
+ .spotpatch-execution-recent-kind,
222
+ .spotpatch-execution-recent-state {
223
+ color: var(--spotpatch-text-muted);
224
+ font: 500 10.5px/1 var(--spotpatch-font-mono);
319
225
  }
226
+ .spotpatch-execution-recent-kind { text-transform: uppercase; }
320
227
  .spotpatch-execution-recent-detail {
321
228
  overflow: hidden;
322
- color: #b2b6bf;
323
- font-size: 11px;
229
+ color: var(--spotpatch-text-secondary);
230
+ font-size: 11.5px;
324
231
  text-overflow: ellipsis;
325
232
  white-space: nowrap;
326
233
  }
327
- .spotpatch-execution-recent-state {
328
- color: #626974;
329
- font: 500 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
330
- }
331
- .spotpatch-execution-recent-item[data-state="active"] .spotpatch-execution-recent-kind {
332
- color: var(--spotpatch-island-violet);
333
- }
334
- .spotpatch-execution-recent-item[data-state="active"] .spotpatch-execution-recent-detail {
335
- color: #f2f3f7;
336
- }
337
- .spotpatch-execution-recent-item[data-state="failure"] .spotpatch-execution-recent-kind {
338
- color: var(--spotpatch-island-error);
339
- }
234
+ .spotpatch-execution-recent-item[data-state="active"] .spotpatch-execution-recent-kind { color: var(--spotpatch-accent-soft); }
235
+ .spotpatch-execution-recent-item[data-state="active"] .spotpatch-execution-recent-detail { color: var(--spotpatch-text); }
236
+ .spotpatch-execution-recent-item[data-state="failure"] .spotpatch-execution-recent-kind { color: var(--spotpatch-danger-text); }
340
237
  .spotpatch-island-sweep {
341
238
  position: absolute;
342
239
  z-index: 2;
343
240
  bottom: 0;
344
241
  left: 44px;
345
- width: 20%;
242
+ width: 22%;
346
243
  height: 1px;
347
- border-radius: 999px;
348
- background: linear-gradient(90deg, transparent, var(--spotpatch-island-violet), var(--spotpatch-island-cyan), transparent);
349
- box-shadow: 0 0 7px rgb(139 103 255 / 18%);
244
+ border-radius: var(--spotpatch-radius-pill);
245
+ background: linear-gradient(90deg, transparent, var(--spotpatch-accent), var(--spotpatch-accent-cyan), transparent);
246
+ box-shadow: 0 0 8px var(--spotpatch-accent-line);
350
247
  opacity: 0;
351
248
  pointer-events: none;
352
249
  transform: translate3d(-160%, 0, 0);
353
250
  }
251
+ [data-motion-reveal="true"] .spotpatch-shell > * {
252
+ animation: spotpatch-motion-section-in ${Hn(Z.revealSeconds)} var(--spotpatch-ease-out) both;
253
+ animation-delay: ${Di(0)};
254
+ }
255
+ [data-motion-reveal="true"] .spotpatch-shell > :nth-child(2) { animation-delay: ${Di(1)}; }
256
+ [data-motion-reveal="true"] .spotpatch-shell > :nth-child(3) { animation-delay: ${Di(2)}; }
257
+ @keyframes spotpatch-motion-section-in {
258
+ from { opacity: 0; transform: translate3d(0, 8px, 0); }
259
+ }
354
260
  @keyframes spotpatch-motion-copy-in {
355
- from { opacity: 0; filter: blur(2px); transform: translate3d(0, 3px, 0); }
356
- to { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0); }
261
+ from { opacity: 0; filter: blur(2px); transform: translate3d(0, 4px, 0); }
357
262
  }
358
263
  @keyframes spotpatch-motion-copy-out {
359
- from { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0); }
360
- to { opacity: 0; filter: blur(2px); transform: translate3d(0, -3px, 0); }
264
+ to { opacity: 0; filter: blur(2px); transform: translate3d(0, -4px, 0); }
361
265
  }
362
266
  @keyframes spotpatch-motion-status-breathe {
363
- 50% { opacity: .42; transform: scale(.82); }
267
+ 50% { opacity: .4; transform: scale(.8); }
364
268
  }
365
- @keyframes spotpatch-motion-pill-pulse {
366
- 50% { box-shadow: 0 0 0 6px rgb(99 102 241 / 5%); opacity: .72; }
269
+ @keyframes spotpatch-motion-logo-glow {
270
+ 50% { filter: drop-shadow(0 0 7px var(--spotpatch-accent-line)); }
367
271
  }
368
- .spotpatch-floating-surface[data-motion-paused="true"] .spotpatch-execution-meta-dot,
369
- .spotpatch-floating-surface[data-motion-paused="true"] .spotpatch-trigger::before {
272
+ .spotpatch-floating-surface[data-motion-paused="true"] *,
273
+ .spotpatch-floating-surface[data-motion-paused="true"] *::before {
370
274
  animation-play-state: paused;
371
275
  }
372
276
  @media (prefers-reduced-motion: reduce) {
373
- .spotpatch-trigger::before,
374
- .spotpatch-execution-meta-dot,
375
277
  .spotpatch-execution-headline,
376
278
  .spotpatch-execution-headline-outgoing,
377
279
  .spotpatch-execution-action,
378
280
  .spotpatch-execution-action-outgoing {
379
- animation: none !important;
380
281
  filter: none !important;
381
282
  transform: none !important;
382
283
  }
@@ -384,7 +285,6 @@ function Et(o){if(o===void 0)throw new ReferenceError("this hasn't been initiali
384
285
  }
385
286
  @media (max-width: 520px) {
386
287
  .spotpatch-execution-island {
387
- grid-template-columns: auto minmax(0, 1fr) auto;
388
288
  gap: 10px;
389
289
  padding-right: 14px;
390
290
  padding-left: 14px;
@@ -393,7 +293,7 @@ function Et(o){if(o===void 0)throw new ReferenceError("this hasn't been initiali
393
293
  .spotpatch-execution-recent-item { grid-template-columns: 48px minmax(0, 1fr); }
394
294
  .spotpatch-execution-recent-state { display: none; }
395
295
  }
396
- `,t}function Vn(o,t,e){let i,n,r,s,a,c,u,l=!1,d=()=>{t.surface.dataset.motionPaused=String(o.hidden)};o.addEventListener("visibilitychange",d),d();let h=[t.surface,t.pill,t.planner,t.execution.root,t.execution.mark,t.execution.content,t.execution.meta,t.execution.recent],p=[t.execution.mark,t.execution.content,t.execution.meta];function _(M=!1){let P=t.surface.getBoundingClientRect(),C=o.defaultView?.getComputedStyle(t.surface).borderRadius.trim(),F=new Map;if(M&&ve(P))for(let D of p){let A=D.getBoundingClientRect();ve(A)&&F.set(D,Object.freeze({x:A.left-P.left,y:A.top-P.top}))}return Object.freeze({geometry:Object.freeze({borderRadius:Ls(C,P),rect:P}),sharedOffsets:F})}function f(){t.execution.recent.hidden=t.execution.root.dataset.expanded!=="true"}function g(){Q.set(h,{clearProps:"borderRadius,filter,height,opacity,transform,visibility,width,willChange"}),delete t.surface.dataset.motionMorphing,f()}function y(){r?.kill(),r=void 0,Q.killTweensOf(h),g()}function m(M=!1){r?.kill(),r=void 0,Q.killTweensOf(h);let P=_(M);return g(),P}function v(){s?.kill(),s=void 0,c!==void 0&&(Q.killTweensOf(c),Q.set(c,{clearProps:"filter,transform"}),c=void 0),u!==void 0&&(Q.killTweensOf(u),Q.set(u,{clearProps:"boxShadow"}),u=void 0),t.surface.dataset.agentCharging="false"}function w(){s=void 0,c!==void 0&&(Q.set(c,{clearProps:"filter,transform"}),c=void 0),u!==void 0&&(Q.set(u,{clearProps:"boxShadow"}),u=void 0),t.surface.dataset.agentCharging="false"}function x(){!Ri(o)||o.hidden||(Q.killTweensOf(t.execution.sweep),Q.fromTo(t.execution.sweep,{autoAlpha:0,xPercent:-160},{autoAlpha:.72,xPercent:620,duration:ft.sweepSeconds,ease:"power2.inOut",onComplete:()=>{Q.set(t.execution.sweep,{clearProps:"opacity,transform,visibility"})}}))}function E(M,P,C,F,D){let A=Fs(M.geometry.rect,P.geometry.rect)||M.geometry.borderRadius!==P.geometry.borderRadius,W=p.some(L=>{let B=M.sharedOffsets.get(L),q=P.sharedOffsets.get(L);return B!==void 0&&q!==void 0&&(Math.abs(B.x-q.x)>.5||Math.abs(B.y-q.y)>.5)});if(!Ri(o)||!ve(M.geometry.rect)||!ve(P.geometry.rect)||!A&&!W&&D===void 0){g();return}let k=D==="expand"?ft.expandSeconds:ft.morphSeconds;t.surface.dataset.motionMorphing="true",r=Q.timeline({defaults:{overwrite:"auto"},onComplete:()=>{g(),e(),r=void 0}}),A&&r.fromTo(t.surface,{borderRadius:M.geometry.borderRadius,height:M.geometry.rect.height,width:M.geometry.rect.width,x:M.geometry.rect.left-P.geometry.rect.left,y:M.geometry.rect.top-P.geometry.rect.top,willChange:"width,height,transform"},{borderRadius:P.geometry.borderRadius,height:P.geometry.rect.height,width:P.geometry.rect.width,x:0,y:0,duration:k,ease:"expo.inOut"},0);for(let L of p){let B=M.sharedOffsets.get(L),q=P.sharedOffsets.get(L);if(B===void 0||q===void 0)continue;let yt=B.x-q.x,Z=B.y-q.y;Math.abs(yt)<=.5&&Math.abs(Z)<=.5||r.fromTo(L,{x:yt,y:Z,willChange:"transform"},{x:0,y:0,duration:k,ease:"expo.inOut"},0)}D==="expand"?r.fromTo(t.execution.recent,{autoAlpha:0,filter:"blur(4px)",y:6},{autoAlpha:1,filter:"blur(0px)",y:0,duration:ft.detailRevealSeconds,ease:"power3.out"},ft.detailRevealDelaySeconds):D==="collapse"&&r.fromTo(t.execution.recent,{autoAlpha:1,filter:"blur(0px)",y:0},{autoAlpha:0,filter:"blur(3px)",y:-4,duration:ft.detailRetireSeconds,ease:"power2.in"},0),F&&r.fromTo(C,{autoAlpha:0,y:4},{autoAlpha:1,y:0,duration:ft.revealSeconds,ease:"power2.out",clearProps:"transform,opacity,visibility"},ft.sceneRevealDelaySeconds)}function b(M,P){if(l)return;let C=i,F=C!==M.scene,D=C===void 0||Ie(C)!==Ie(M.scene),A=t.execution.root.dataset.expanded==="true",W=C!==void 0&&Ie(C)==="execution"&&Ie(M.scene)==="execution",k=W&&(A||r?.isActive()===!0),L=m(k),B=n!==M.activity?.key;t.surface.dataset.scene=M.scene,t.surface.dataset.tone=M.tone,t.surface.style.setProperty("--spotpatch-island-compact-width",`${String(Ns(M))}px`),P();let q=Ds(t,M),yt=t.execution.root.dataset.expanded==="true",Z=W&&A&&!yt?"collapse":void 0;Z==="collapse"&&(t.execution.recent.hidden=!1),e();let Mt=_(k||Z!==void 0);i=M.scene,n=M.activity?.key,E(L,Mt,q,D,Z),(M.scene==="handoff"||M.scene==="running"||M.scene==="success"||M.scene==="failed")&&(F||B)&&x()}function S(M){if(l)return;let P=t.execution.root.dataset.expanded==="true",C=m(!0);M();let F=t.execution.root.dataset.expanded==="true",D=P?F?void 0:"collapse":F?"expand":void 0;D==="collapse"&&(t.execution.recent.hidden=!1),e();let A=_(!0),W=t.execution.root.hidden?t.planner.hidden?t.pill:t.planner:t.execution.root;E(C,A,W,!1,D)}function T(){a=void 0,y(),v(),Q.killTweensOf(t.execution.sweep),Q.set(t.execution.sweep,{clearProps:"opacity,transform,visibility"})}function O(M,P){if(l)return;let C=s?.isActive()===!0,F=M.scene!=="planner"&&M.scene!=="agent-charging";if(C&&i==="agent-charging"&&F){a=Object.freeze({projection:M,renderContent:P});return}C&&M.scene!=="agent-charging"&&(a=void 0,v()),b(M,P)}function I(M,P){l||s?.isActive()===!0||Ri(o)&&(v(),c=M,u=P,t.surface.dataset.agentCharging="true",s=Q.timeline({onComplete:()=>{let C=a;a=void 0,w(),C!==void 0&&b(C.projection,C.renderContent)}}),s.fromTo(M,{filter:"brightness(1)",scaleX:1,scaleY:1},{filter:"brightness(1.06)",scaleX:.995,scaleY:.97,duration:ft.pressSeconds,ease:"power2.out",yoyo:!0,repeat:1,clearProps:"filter,transform"},0),s.fromTo(P,{boxShadow:"0 0 0 rgb(100 120 255 / 0%)"},{boxShadow:"0 0 18px rgb(100 120 255 / 14%)",duration:ft.targetFeedbackSeconds,yoyo:!0,repeat:1,clearProps:"boxShadow"},ft.targetFeedbackDelaySeconds),s.to({},{duration:ft.dispatchSeconds},0))}return Object.freeze({cancel:T,dispatch:I,render:O,updateLayout:S,dispose(){l||(l=!0,T(),o.removeEventListener("visibilitychange",d))}})}var Un="data-spotpatch-ui",ra=Object.freeze({highlight:2147483646,controls:2147483647}),sa=Object.freeze({compactInset:8,compactViewportWidth:520,desktopInset:24,dragActivationDistance:6,edgeSnapDistance:20,workbenchMaxHeight:620,workbenchMaxWidth:460});function $(o,t){let e=o.createElement(t);return e.setAttribute(Un,""),e}function Hn(o,t,e=""){let i=$(o,"button");return i.type="button",i.className=e,i.textContent=t,i}var Be=`
296
+ `,t}function Gn(o,t,e){let i,n,r,s,a,c,u,l=!1,h=()=>{t.surface.dataset.motionPaused=String(o.hidden)};o.addEventListener("visibilitychange",h),h();let d=[t.surface,t.pill,t.planner,t.execution.root,t.execution.mark,t.execution.content,t.execution.meta,t.execution.recent],p=[t.execution.mark,t.execution.content,t.execution.meta];function _(M=!1){let O=t.surface.getBoundingClientRect(),C=o.defaultView?.getComputedStyle(t.surface).borderRadius.trim(),D=new Map;if(M&&ve(O))for(let F of p){let A=F.getBoundingClientRect();ve(A)&&D.set(F,Object.freeze({x:A.left-O.left,y:A.top-O.top}))}return Object.freeze({geometry:Object.freeze({borderRadius:Bs(C,O),rect:O}),sharedOffsets:D})}function f(){t.execution.recent.hidden=t.execution.root.dataset.expanded!=="true"}function g(){J.set(d,{clearProps:"borderRadius,filter,height,opacity,transform,visibility,width,willChange"}),delete t.surface.dataset.motionMorphing,delete t.planner.dataset.motionReveal,f()}function y(){r?.kill(),r=void 0,J.killTweensOf(d),g()}function m(M=!1){r?.kill(),r=void 0,J.killTweensOf(d);let O=_(M);return g(),O}function v(){s?.kill(),s=void 0,c!==void 0&&(J.killTweensOf(c),J.set(c,{clearProps:"filter,transform"}),c=void 0),u!==void 0&&(J.killTweensOf(u),J.set(u,{clearProps:"boxShadow"}),u=void 0),t.surface.dataset.agentCharging="false"}function S(){s=void 0,c!==void 0&&(J.set(c,{clearProps:"filter,transform"}),c=void 0),u!==void 0&&(J.set(u,{clearProps:"boxShadow"}),u=void 0),t.surface.dataset.agentCharging="false"}function x(){!Fi(o)||o.hidden||(J.killTweensOf(t.execution.sweep),J.fromTo(t.execution.sweep,{autoAlpha:0,xPercent:-160},{autoAlpha:.72,xPercent:620,duration:Z.sweepSeconds,ease:"power2.inOut",onComplete:()=>{J.set(t.execution.sweep,{clearProps:"opacity,transform,visibility"})}}))}function E(M,O,C,D,F){let A=Is(M.geometry.rect,O.geometry.rect)||M.geometry.borderRadius!==O.geometry.borderRadius,W=p.some(L=>{let B=M.sharedOffsets.get(L),q=O.sharedOffsets.get(L);return B!==void 0&&q!==void 0&&(Math.abs(B.x-q.x)>.5||Math.abs(B.y-q.y)>.5)});if(!Fi(o)||!ve(M.geometry.rect)||!ve(O.geometry.rect)||!A&&!W&&F===void 0){g();return}let k=F==="expand"?Z.expandSeconds:Z.morphSeconds;t.surface.dataset.motionMorphing="true",r=J.timeline({defaults:{overwrite:"auto"},onComplete:()=>{g(),e(),r=void 0}}),A&&r.fromTo(t.surface,{borderRadius:M.geometry.borderRadius,height:M.geometry.rect.height,width:M.geometry.rect.width,x:M.geometry.rect.left-O.geometry.rect.left,y:M.geometry.rect.top-O.geometry.rect.top,willChange:"width,height,transform"},{borderRadius:O.geometry.borderRadius,height:O.geometry.rect.height,width:O.geometry.rect.width,x:0,y:0,duration:k,ease:"expo.inOut"},0);for(let L of p){let B=M.sharedOffsets.get(L),q=O.sharedOffsets.get(L);if(B===void 0||q===void 0)continue;let yt=B.x-q.x,j=B.y-q.y;Math.abs(yt)<=.5&&Math.abs(j)<=.5||r.fromTo(L,{x:yt,y:j,willChange:"transform"},{x:0,y:0,duration:k,ease:"expo.inOut"},0)}F==="expand"?r.fromTo(t.execution.recent,{autoAlpha:0,filter:"blur(4px)",y:6},{autoAlpha:1,filter:"blur(0px)",y:0,duration:Z.detailRevealSeconds,ease:"power3.out"},Z.detailRevealDelaySeconds):F==="collapse"&&r.fromTo(t.execution.recent,{autoAlpha:1,filter:"blur(0px)",y:0},{autoAlpha:0,filter:"blur(3px)",y:-4,duration:Z.detailRetireSeconds,ease:"power2.in"},0),D&&C===t.planner?(t.planner.dataset.motionReveal="true",r.call(()=>{},[],Z.sceneRevealDelaySeconds+Z.revealSeconds+Z.revealStaggerSeconds*(Ns-1))):D&&r.fromTo(C,{autoAlpha:0,y:8},{autoAlpha:1,y:0,duration:Z.revealSeconds,ease:"power3.out",clearProps:"transform,opacity,visibility"},Z.sceneRevealDelaySeconds)}function b(M,O){if(l)return;let C=i,D=C!==M.scene,F=C===void 0||Ie(C)!==Ie(M.scene),A=t.execution.root.dataset.expanded==="true",W=C!==void 0&&Ie(C)==="execution"&&Ie(M.scene)==="execution",k=W&&(A||r?.isActive()===!0),L=m(k),B=n!==M.activity?.key;t.surface.dataset.scene=M.scene,t.surface.dataset.tone=M.tone,t.surface.style.setProperty("--spotpatch-island-compact-width",`${String(Vs(M))}px`),O();let q=zs(t,M),yt=t.execution.root.dataset.expanded==="true",j=W&&A&&!yt?"collapse":void 0;j==="collapse"&&(t.execution.recent.hidden=!1),e();let Mt=_(k||j!==void 0);i=M.scene,n=M.activity?.key,E(L,Mt,q,F,j),(M.scene==="handoff"||M.scene==="running"||M.scene==="success"||M.scene==="failed")&&(D||B)&&x()}function w(M){if(l)return;let O=t.execution.root.dataset.expanded==="true",C=m(!0);M();let D=t.execution.root.dataset.expanded==="true",F=O?D?void 0:"collapse":D?"expand":void 0;F==="collapse"&&(t.execution.recent.hidden=!1),e();let A=_(!0),W=t.execution.root.hidden?t.planner.hidden?t.pill:t.planner:t.execution.root;E(C,A,W,!1,F)}function T(){a=void 0,y(),v(),J.killTweensOf(t.execution.sweep),J.set(t.execution.sweep,{clearProps:"opacity,transform,visibility"})}function P(M,O){if(l)return;let C=s?.isActive()===!0,D=M.scene!=="planner"&&M.scene!=="agent-charging";if(C&&i==="agent-charging"&&D){a=Object.freeze({projection:M,renderContent:O});return}C&&M.scene!=="agent-charging"&&(a=void 0,v()),b(M,O)}function I(M,O){l||s?.isActive()===!0||Fi(o)&&(v(),c=M,u=O,t.surface.dataset.agentCharging="true",s=J.timeline({onComplete:()=>{let C=a;a=void 0,S(),C!==void 0&&b(C.projection,C.renderContent)}}),s.fromTo(M,{filter:"brightness(1)",scaleX:1,scaleY:1},{filter:"brightness(1.06)",scaleX:.995,scaleY:.97,duration:Z.pressSeconds,ease:"power2.out",yoyo:!0,repeat:1,clearProps:"filter,transform"},0),s.fromTo(O,{boxShadow:Ri.dispatchGlowRest},{boxShadow:Ri.dispatchGlow,duration:Z.targetFeedbackSeconds,yoyo:!0,repeat:1,clearProps:"boxShadow"},Z.targetFeedbackDelaySeconds),s.to({},{duration:Z.dispatchSeconds},0))}return Object.freeze({cancel:T,dispatch:I,render:P,updateLayout:w,dispose(){l||(l=!0,T(),o.removeEventListener("visibilitychange",h))}})}var Wn="data-spotpatch-ui",la=Object.freeze({highlight:2147483646,controls:2147483647}),fa=Object.freeze({compactInset:8,compactViewportWidth:520,desktopInset:24,dragActivationDistance:6,edgeSnapDistance:20,workbenchMaxHeight:620,workbenchMaxWidth:460});function $(o,t){let e=o.createElement(t);return e.setAttribute(Wn,""),e}function Yn(o,t,e=""){let i=$(o,"button");return i.type="button",i.className=e,i.textContent=t,i}var Be=`
397
297
  <defs>
398
298
  <linearGradient id="locator-gradient" x1="76" y1="92" x2="436" y2="374" gradientUnits="userSpaceOnUse">
399
299
  <stop offset="0" stop-color="#B61CFF" />
@@ -436,7 +336,7 @@ function Et(o){if(o===void 0)throw new ReferenceError("this hasn't been initiali
436
336
  d="M283 108L232 212L266 253L238 369L302 237L267 198L283 108Z"
437
337
  fill="url(#bolt-gradient)"
438
338
  />
439
- `;var Gn="http://www.w3.org/2000/svg",zs="";function Is(o){if(o!==void 0)return{content:o,viewBox:"0 0 512 512"};let t=typeof __SPOTPATCH_BRAND_MARK_CONTENT__=="string"?__SPOTPATCH_BRAND_MARK_CONTENT__:void 0;return typeof t=="string"?{content:t,viewBox:"0 0 512 512"}:__SPOTPATCH_INLINE_BRAND_MARK__?{content:Be,viewBox:"0 0 512 512"}:{content:zs,viewBox:"0 0 1 1"}}function Bs(o,t,e){let i=o.createElementNS(Gn,t);for(let[n,r]of Object.entries(e))i.setAttribute(n,r);return i}function Vs(o,t){let e=t.replace(/[^a-zA-Z0-9_-]/gu,"-"),i=new Map;for(let n of o.querySelectorAll("[id]")){let r=n.id,s=`${e}-${r}`;i.set(r,s),n.id=s}for(let n of[o,...o.querySelectorAll("*")])for(let r of[...n.attributes]){let s=r.value;for(let[a,c]of i)s=s.replaceAll(`url(#${a})`,`url(#${c})`),s===`#${a}`&&(s=`#${c}`);s!==r.value&&n.setAttribute(r.name,s)}}function Wn(o,t,e){let i=Is(t),n=Bs(o,"svg",{xmlns:Gn,class:"spotpatch-brand-mark",viewBox:i.viewBox,"aria-hidden":"true",focusable:"false"});return n.innerHTML=i.content,e!==void 0&&Vs(n,e),n}var Yn=1e3;function Us(o){let t=Math.max(0,Math.floor(o/Yn)),e=t%60,i=Math.floor(t/60),n=i%60,r=Math.floor(i/60),s=a=>String(a).padStart(2,"0");return r>0?`${s(r)}:${s(n)}:${s(e)}`:`${s(i)}:${s(e)}`}function Hs(o){if(o===void 0)return;let t=Date.parse(o);return Number.isFinite(t)?t:void 0}function Gs(o){let t=Reflect.get(o,"matchMedia");if(typeof t!="function")return!1;let e=Reflect.apply(t,o,["(prefers-reduced-motion: reduce)"]);return typeof e=="object"&&e!==null&&"matches"in e&&e.matches===!0}function Xn(o,t=Date.now){let e=o.defaultView;if(e===null)throw new Error("SpotPatch Execution Island requires an associated window.");let i=Hn(o,"","spotpatch-execution-island");i.hidden=!0,i.setAttribute("aria-hidden","true"),i.setAttribute("aria-expanded","false");let n=Wn(o,Be,"spotpatch-execution-island");n.classList.add("spotpatch-execution-logo");let r=$(o,"span");r.className="spotpatch-execution-mark",r.append(n);let s=$(o,"span");s.className="spotpatch-execution-content",s.setAttribute("role","status"),s.setAttribute("aria-live","polite"),s.setAttribute("aria-atomic","true");let a=$(o,"span");a.className="spotpatch-execution-headline-wrap";let c=$(o,"strong");c.className="spotpatch-execution-headline";let u=$(o,"strong");u.className="spotpatch-execution-headline-outgoing",u.setAttribute("aria-hidden","true"),a.append(u,c);let l=$(o,"span");l.className="spotpatch-execution-action-wrap";let d=$(o,"span");d.className="spotpatch-execution-action";let h=$(o,"span");h.className="spotpatch-execution-action-outgoing",h.setAttribute("aria-hidden","true"),l.append(h,d);let p=$(o,"span");p.className="spotpatch-execution-recent",s.append(a,l);let _=$(o,"span");_.className="spotpatch-execution-meta";let f=$(o,"span");f.className="spotpatch-execution-meta-dot",f.setAttribute("aria-hidden","true");let g=$(o,"span");g.className="spotpatch-execution-meta-label";let y=$(o,"span");y.className="spotpatch-execution-timer",y.hidden=!0,_.append(f,g,y);let m=$(o,"span");m.className="spotpatch-execution-more",m.textContent="•••",m.setAttribute("aria-hidden","true"),_.append(m);let v=$(o,"span");v.className="spotpatch-island-sweep",v.setAttribute("aria-hidden","true"),i.append(r,s,_,p,v);let w=Object.freeze({action:d,actionOutgoing:h,content:s,headline:c,headlineOutgoing:u,logo:n,mark:r,meta:_,metaDot:f,metaLabel:g,more:m,recent:p,root:i,sweep:v,timer:y}),x,E=!1,b=!1,S,T,O=!1,I=()=>{b=E&&b,i.dataset.expandable=String(E),i.dataset.expanded=String(b),i.setAttribute("aria-expanded",String(b)),m.textContent=b?"×":"•••",p.hidden=!b},M=(k,L,B)=>{k.textContent!==B&&(L.textContent=k.textContent,k.textContent=B,i.classList.remove("spotpatch-execution-copy-changing"),Gs(e)||(i.offsetWidth,i.classList.add("spotpatch-execution-copy-changing")))},P=k=>{let L=b?k.expandedHeadline??k.headline:k.headline,B=b?k.expandedAction??k.action:k.action;M(c,u,L),M(d,h,B),i.setAttribute("aria-label",[L,B,k.meta].filter(Boolean).join(". "))},C=()=>{S!==void 0&&(e.clearInterval(S),S=void 0)},F=()=>{T!==void 0&&(y.textContent=Us(t()-T))},D=()=>{S!==void 0||T===void 0||o.hidden||(F(),S=e.setInterval(F,Yn))},A=k=>{C(),T=k.scene==="running"?Hs(k.startedAt):void 0;let L=T!==void 0;y.hidden=!L,g.textContent=k.meta,L&&D()},W=()=>{o.hidden?C():x!==void 0&&A(x)};return o.addEventListener("visibilitychange",W),Object.freeze({canExpand:()=>E,elements:w,isExpanded:()=>b,root:i,setExpanded(k){b=k,I(),x!==void 0&&P(x)},render(k){O||(x=k,i.dataset.executionScene=k.scene,_.dataset.tone=k.tone,A(k),p.replaceChildren(...k.recentActivities.slice(-3).map(L=>{let B=$(o,"span");B.className="spotpatch-execution-recent-item",B.dataset.state=L.state;let q=$(o,"span");q.className="spotpatch-execution-recent-kind",q.textContent=L.kind;let yt=$(o,"span");yt.className="spotpatch-execution-recent-detail",yt.textContent=L.detail??L.label;let Z=$(o,"span");return Z.className="spotpatch-execution-recent-state",Z.textContent=L.state,B.append(q,yt,Z),B})),E=k.recentActivities.length>0,(k.scene==="success"||k.scene==="failed")&&(b=!1),I(),P(k))},dispose(){O||(O=!0,C(),o.removeEventListener("visibilitychange",W))}})}var Ws=Symbol.for("spotpatch.motion.v1");function qn(o){globalThis[Ws]=o}var Ys=Object.freeze({createExecutionIsland:Xn,createController:Vn,createStyles:Bn});function Kn(){qn(Ys)}Kn();
339
+ `;var Xn="http://www.w3.org/2000/svg",Hs="";function Us(o){if(o!==void 0)return{content:o,viewBox:"0 0 512 512"};let t=typeof __SPOTPATCH_BRAND_MARK_CONTENT__=="string"?__SPOTPATCH_BRAND_MARK_CONTENT__:void 0;return typeof t=="string"?{content:t,viewBox:"0 0 512 512"}:__SPOTPATCH_INLINE_BRAND_MARK__?{content:Be,viewBox:"0 0 512 512"}:{content:Hs,viewBox:"0 0 1 1"}}function Gs(o,t,e){let i=o.createElementNS(Xn,t);for(let[n,r]of Object.entries(e))i.setAttribute(n,r);return i}function Ws(o,t){let e=t.replace(/[^a-zA-Z0-9_-]/gu,"-"),i=new Map;for(let n of o.querySelectorAll("[id]")){let r=n.id,s=`${e}-${r}`;i.set(r,s),n.id=s}for(let n of[o,...o.querySelectorAll("*")])for(let r of[...n.attributes]){let s=r.value;for(let[a,c]of i)s=s.replaceAll(`url(#${a})`,`url(#${c})`),s===`#${a}`&&(s=`#${c}`);s!==r.value&&n.setAttribute(r.name,s)}}function qn(o,t,e){let i=Us(t),n=Gs(o,"svg",{xmlns:Xn,class:"spotpatch-brand-mark",viewBox:i.viewBox,"aria-hidden":"true",focusable:"false"});return n.innerHTML=i.content,e!==void 0&&Ws(n,e),n}var Kn=1e3;function Ys(o){let t=Math.max(0,Math.floor(o/Kn)),e=t%60,i=Math.floor(t/60),n=i%60,r=Math.floor(i/60),s=a=>String(a).padStart(2,"0");return r>0?`${s(r)}:${s(n)}:${s(e)}`:`${s(i)}:${s(e)}`}function Xs(o){if(o===void 0)return;let t=Date.parse(o);return Number.isFinite(t)?t:void 0}function qs(o){let t=Reflect.get(o,"matchMedia");if(typeof t!="function")return!1;let e=Reflect.apply(t,o,["(prefers-reduced-motion: reduce)"]);return typeof e=="object"&&e!==null&&"matches"in e&&e.matches===!0}function $n(o,t=Date.now){let e=o.defaultView;if(e===null)throw new Error("SpotPatch Execution Island requires an associated window.");let i=Yn(o,"","spotpatch-execution-island");i.hidden=!0,i.setAttribute("aria-hidden","true"),i.setAttribute("aria-expanded","false");let n=qn(o,Be,"spotpatch-execution-island");n.classList.add("spotpatch-execution-logo");let r=$(o,"span");r.className="spotpatch-execution-mark",r.append(n);let s=$(o,"span");s.className="spotpatch-execution-content",s.setAttribute("role","status"),s.setAttribute("aria-live","polite"),s.setAttribute("aria-atomic","true");let a=$(o,"span");a.className="spotpatch-execution-headline-wrap";let c=$(o,"strong");c.className="spotpatch-execution-headline";let u=$(o,"strong");u.className="spotpatch-execution-headline-outgoing",u.setAttribute("aria-hidden","true"),a.append(u,c);let l=$(o,"span");l.className="spotpatch-execution-action-wrap";let h=$(o,"span");h.className="spotpatch-execution-action";let d=$(o,"span");d.className="spotpatch-execution-action-outgoing",d.setAttribute("aria-hidden","true"),l.append(d,h);let p=$(o,"span");p.className="spotpatch-execution-recent",s.append(a,l);let _=$(o,"span");_.className="spotpatch-execution-meta";let f=$(o,"span");f.className="spotpatch-execution-meta-dot",f.setAttribute("aria-hidden","true");let g=$(o,"span");g.className="spotpatch-execution-meta-label";let y=$(o,"span");y.className="spotpatch-execution-timer",y.hidden=!0,_.append(f,g,y);let m=$(o,"span");m.className="spotpatch-execution-more",m.textContent="•••",m.setAttribute("aria-hidden","true"),_.append(m);let v=$(o,"span");v.className="spotpatch-island-sweep",v.setAttribute("aria-hidden","true"),i.append(r,s,_,p,v);let S=Object.freeze({action:h,actionOutgoing:d,content:s,headline:c,headlineOutgoing:u,logo:n,mark:r,meta:_,metaDot:f,metaLabel:g,more:m,recent:p,root:i,sweep:v,timer:y}),x,E=!1,b=!1,w,T,P=!1,I=()=>{b=E&&b,i.dataset.expandable=String(E),i.dataset.expanded=String(b),i.setAttribute("aria-expanded",String(b)),m.textContent=b?"×":"•••",p.hidden=!b},M=(k,L,B)=>{k.textContent!==B&&(L.textContent=k.textContent,k.textContent=B,i.classList.remove("spotpatch-execution-copy-changing"),qs(e)||(i.offsetWidth,i.classList.add("spotpatch-execution-copy-changing")))},O=k=>{let L=b?k.expandedHeadline??k.headline:k.headline,B=b?k.expandedAction??k.action:k.action;M(c,u,L),M(h,d,B),i.setAttribute("aria-label",[L,B,k.meta].filter(Boolean).join(". "))},C=()=>{w!==void 0&&(e.clearInterval(w),w=void 0)},D=()=>{T!==void 0&&(y.textContent=Ys(t()-T))},F=()=>{w!==void 0||T===void 0||o.hidden||(D(),w=e.setInterval(D,Kn))},A=k=>{C(),T=k.scene==="running"?Xs(k.startedAt):void 0;let L=T!==void 0;y.hidden=!L,g.textContent=k.meta,L&&F()},W=()=>{o.hidden?C():x!==void 0&&A(x)};return o.addEventListener("visibilitychange",W),Object.freeze({canExpand:()=>E,elements:S,isExpanded:()=>b,root:i,setExpanded(k){b=k,I(),x!==void 0&&O(x)},render(k){P||(x=k,i.dataset.executionScene=k.scene,_.dataset.tone=k.tone,A(k),p.replaceChildren(...k.recentActivities.slice(-3).map(L=>{let B=$(o,"span");B.className="spotpatch-execution-recent-item",B.dataset.state=L.state;let q=$(o,"span");q.className="spotpatch-execution-recent-kind",q.textContent=L.kind;let yt=$(o,"span");yt.className="spotpatch-execution-recent-detail",yt.textContent=L.detail??L.label;let j=$(o,"span");return j.className="spotpatch-execution-recent-state",j.textContent=L.state,B.append(q,yt,j),B})),E=k.recentActivities.length>0,(k.scene==="success"||k.scene==="failed")&&(b=!1),I(),O(k))},dispose(){P||(P=!0,C(),o.removeEventListener("visibilitychange",W))}})}var Ks=Symbol.for("spotpatch.motion.v1");function jn(o){globalThis[Ks]=o}var $s=Object.freeze({createExecutionIsland:$n,createController:Gn,createStyles:Un});function Zn(){jn($s)}Zn();
440
340
  /*! Bundled license information:
441
341
 
442
342
  gsap/gsap-core.js: