scope360-core 0.0.41 → 0.0.42

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.
@@ -14,7 +14,7 @@
14
14
  * Subject to the terms at https://gsap.com/standard-license or for
15
15
  * Club GSAP members, the agreement issued with that membership.
16
16
  * @author: Jack Doyle, jack@greensock.com
17
- */var ml,cn,Qn,Ao,Bn,_l,No,hf=function(){return typeof window<"u"},qt={},Pn=180/Math.PI,Jn=Math.PI/180,er=Math.atan2,gl=1e8,Ro=/([A-Z])/g,ff=/(left|right|width|margin|padding|x)/i,pf=/[\s,\(]\S/,Lt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Fo=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},mf=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},_f=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},gf=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},yl=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},wl=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},yf=function(e,t,r){return e.style[t]=r},wf=function(e,t,r){return e.style.setProperty(t,r)},bf=function(e,t,r){return e._gsap[t]=r},Cf=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},kf=function(e,t,r,o,i){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},vf=function(e,t,r,o,i){var s=e._gsap;s[t]=r,s.renderTransform(i,s)},Pe="transform",nt=Pe+"Origin",xf=function n(e,t){var r=this,o=this.target,i=o.style,s=o._gsap;if(e in qt&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Lt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return r.tfm[l]=Zt(o,l)}):this.tfm[e]=s.x?s[e]:Zt(o,e),e===nt&&(this.tfm.zOrigin=s.zOrigin);else return Lt.transform.split(",").forEach(function(l){return n.call(r,l,t)});if(this.props.indexOf(Pe)>=0)return;s.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(nt,t,"")),e=Pe}(i||t)&&this.props.push(e,t,i[e])},bl=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Mf=function(){var e=this.props,t=this.target,r=t.style,o=t._gsap,i,s;for(i=0;i<e.length;i+=3)e[i+1]?t[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Ro,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)o[s]=this.tfm[s];o.svg&&(o.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=No(),(!i||!i.isStart)&&!r[Pe]&&(bl(r),o.zOrigin&&r[nt]&&(r[nt]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},Cl=function(e,t){var r={target:e,props:[],revert:Mf,save:xf};return e._gsap||tt.core.getCache(e),t&&t.split(",").forEach(function(o){return r.save(o)}),r},kl,Io=function(e,t){var r=cn.createElementNS?cn.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):cn.createElement(e);return r&&r.style?r:cn.createElement(e)},At=function n(e,t,r){var o=getComputedStyle(e);return o[t]||o.getPropertyValue(t.replace(Ro,"-$1").toLowerCase())||o.getPropertyValue(t)||!r&&n(e,tr(t)||t,1)||""},vl="O,Moz,ms,Ms,Webkit".split(","),tr=function(e,t,r){var o=t||Bn,i=o.style,s=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(vl[s]+e in i););return s<0?null:(s===3?"ms":s>=0?vl[s]:"")+e},Ho=function(){hf()&&window.document&&(ml=window,cn=ml.document,Qn=cn.documentElement,Bn=Io("div")||{style:{}},Io("div"),Pe=tr(Pe),nt=Pe+"Origin",Bn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",kl=!!tr("perspective"),No=tt.core.reverting,Ao=1)},zo=function n(e){var t=Io("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,o=this.nextSibling,i=this.style.cssText,s;if(Qn.appendChild(t),t.appendChild(this),this.style.display="block",e)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=n}catch{}else this._gsapBBox&&(s=this._gsapBBox());return r&&(o?r.insertBefore(this,o):r.appendChild(this)),Qn.removeChild(t),this.style.cssText=i,s},xl=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Ml=function(e){var t;try{t=e.getBBox()}catch{t=zo.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===zo||(t=zo.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+xl(e,["x","cx","x1"])||0,y:+xl(e,["y","cy","y1"])||0,width:0,height:0}:t},Sl=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ml(e))},En=function(e,t){if(t){var r=e.style,o;t in qt&&t!==nt&&(t=Pe),r.removeProperty?(o=t.substr(0,2),(o==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(o==="--"?t:t.replace(Ro,"-$1").toLowerCase())):r.removeAttribute(t)}},dn=function(e,t,r,o,i,s){var l=new et(e._pt,t,r,0,1,s?wl:yl);return e._pt=l,l.b=o,l.e=i,e._props.push(r),l},Tl={deg:1,rad:1,turn:1},Sf={grid:1,flex:1},un=function n(e,t,r,o){var i=parseFloat(r)||0,s=(r+"").trim().substr((i+"").length)||"px",l=Bn.style,c=ff.test(t),u=e.tagName.toLowerCase()==="svg",d=(u?"client":"offset")+(c?"Width":"Height"),h=100,p=o==="px",_=o==="%",m,f,C,S;if(o===s||!i||Tl[o]||Tl[s])return i;if(s!=="px"&&!p&&(i=n(e,t,r,"px")),S=e.getCTM&&Sl(e),(_||s==="%")&&(qt[t]||~t.indexOf("adius")))return m=S?e.getBBox()[c?"width":"height"]:e[d],Re(_?i/m*h:i/100*m);if(l[c?"width":"height"]=h+(p?s:o),f=~t.indexOf("adius")||o==="em"&&e.appendChild&&!u?e:e.parentNode,S&&(f=(e.ownerSVGElement||{}).parentNode),(!f||f===cn||!f.appendChild)&&(f=cn.body),C=f._gsap,C&&_&&C.width&&c&&C.time===ct.time&&!C.uncache)return Re(i/C.width*h);if(_&&(t==="height"||t==="width")){var M=e.style[t];e.style[t]=h+o,m=e[d],M?e.style[t]=M:En(e,t)}else(_||s==="%")&&!Sf[At(f,"display")]&&(l.position=At(e,"position")),f===e&&(l.position="static"),f.appendChild(Bn),m=Bn[d],f.removeChild(Bn),l.position="absolute";return c&&_&&(C=kn(f),C.time=ct.time,C.width=f[d]),Re(p?m*i/h:m&&i?h/m*i:0)},Zt=function(e,t,r,o){var i;return Ao||Ho(),t in Lt&&t!=="transform"&&(t=Lt[t],~t.indexOf(",")&&(t=t.split(",")[0])),qt[t]&&t!=="transform"?(i=Br(e,o),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:oa(At(e,nt))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||o||~(i+"").indexOf("calc("))&&(i=aa[t]&&aa[t](e,t,r)||At(e,t)||$s(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?un(e,t,i,r)+r:i},Tf=function(e,t,r,o){if(!r||r==="none"){var i=tr(t,e,1),s=i&&At(e,i,1);s&&s!==r?(t=i,r=s):t==="borderColor"&&(r=At(e,"borderTopColor"))}var l=new et(this._pt,e.style,t,0,1,ul),c=0,u=0,d,h,p,_,m,f,C,S,M,b,x,T;if(l.b=r,l.e=o,r+="",o+="",o==="auto"&&(f=e.style[t],e.style[t]=o,o=At(e,t)||o,f?e.style[t]=f:En(e,t)),d=[r,o],tl(d),r=d[0],o=d[1],p=r.match(Zn)||[],T=o.match(Zn)||[],T.length){for(;h=Zn.exec(o);)C=h[0],M=o.substring(c,h.index),m?m=(m+1)%5:(M.substr(-5)==="rgba("||M.substr(-5)==="hsla(")&&(m=1),C!==(f=p[u++]||"")&&(_=parseFloat(f)||0,x=f.substr((_+"").length),C.charAt(1)==="="&&(C=Un(_,C)+x),S=parseFloat(C),b=C.substr((S+"").length),c=Zn.lastIndex-b.length,b||(b=b||ot.units[t]||x,c===o.length&&(o+=b,l.e+=b)),x!==b&&(_=un(e,t,f,b)||0),l._pt={_next:l._pt,p:M||u===1?M:",",s:_,c:S-_,m:m&&m<4||t==="zIndex"?Math.round:0});l.c=c<o.length?o.substring(c,o.length):""}else l.r=t==="display"&&o==="none"?wl:yl;return xs.test(o)&&(l.e=0),this._pt=l,l},Bl={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Bf=function(e){var t=e.split(" "),r=t[0],o=t[1]||"50%";return(r==="top"||r==="bottom"||o==="left"||o==="right")&&(e=r,r=o,o=e),t[0]=Bl[r]||r,t[1]=Bl[o]||o,t.join(" ")},Pf=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,o=r.style,i=t.u,s=r._gsap,l,c,u;if(i==="all"||i===!0)o.cssText="",c=1;else for(i=i.split(","),u=i.length;--u>-1;)l=i[u],qt[l]&&(c=1,l=l==="transformOrigin"?nt:Pe),En(r,l);c&&(En(r,Pe),s&&(s.svg&&r.removeAttribute("transform"),Br(r,1),s.uncache=1,bl(o)))}},aa={clearProps:function(e,t,r,o,i){if(i.data!=="isFromStart"){var s=e._pt=new et(e._pt,t,r,0,0,Pf);return s.u=o,s.pr=-10,s.tween=i,e._props.push(r),1}}},Tr=[1,0,0,1,0,0],Pl={},El=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},$l=function(e){var t=At(e,Pe);return El(t)?Tr:t.substr(7).match(vs).map(Re)},Yo=function(e,t){var r=e._gsap||kn(e),o=e.style,i=$l(e),s,l,c,u;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,i=[c.a,c.b,c.c,c.d,c.e,c.f],i.join(",")==="1,0,0,1,0,0"?Tr:i):(i===Tr&&!e.offsetParent&&e!==Qn&&!r.svg&&(c=o.display,o.display="block",s=e.parentNode,(!s||!e.offsetParent)&&(u=1,l=e.nextElementSibling,Qn.appendChild(e)),i=$l(e),c?o.display=c:En(e,"display"),u&&(l?s.insertBefore(e,l):s?s.appendChild(e):Qn.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},jo=function(e,t,r,o,i,s){var l=e._gsap,c=i||Yo(e,!0),u=l.xOrigin||0,d=l.yOrigin||0,h=l.xOffset||0,p=l.yOffset||0,_=c[0],m=c[1],f=c[2],C=c[3],S=c[4],M=c[5],b=t.split(" "),x=parseFloat(b[0])||0,T=parseFloat(b[1])||0,B,k,P,E;r?c!==Tr&&(k=_*C-m*f)&&(P=x*(C/k)+T*(-f/k)+(f*M-C*S)/k,E=x*(-m/k)+T*(_/k)-(_*M-m*S)/k,x=P,T=E):(B=Ml(e),x=B.x+(~b[0].indexOf("%")?x/100*B.width:x),T=B.y+(~(b[1]||b[0]).indexOf("%")?T/100*B.height:T)),o||o!==!1&&l.smooth?(S=x-u,M=T-d,l.xOffset=h+(S*_+M*f)-S,l.yOffset=p+(S*m+M*C)-M):l.xOffset=l.yOffset=0,l.xOrigin=x,l.yOrigin=T,l.smooth=!!o,l.origin=t,l.originIsAbsolute=!!r,e.style[nt]="0px 0px",s&&(dn(s,l,"xOrigin",u,x),dn(s,l,"yOrigin",d,T),dn(s,l,"xOffset",h,l.xOffset),dn(s,l,"yOffset",p,l.yOffset)),e.setAttribute("data-svg-origin",x+" "+T)},Br=function(e,t){var r=e._gsap||new ol(e);if("x"in r&&!t&&!r.uncache)return r;var o=e.style,i=r.scaleX<0,s="px",l="deg",c=getComputedStyle(e),u=At(e,nt)||"0",d,h,p,_,m,f,C,S,M,b,x,T,B,k,P,E,Y,X,D,F,G,v,w,A,q,J,U,O,N,y,g,R;return d=h=p=f=C=S=M=b=x=0,_=m=1,r.svg=!!(e.getCTM&&Sl(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(o[Pe]=(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[Pe]!=="none"?c[Pe]:"")),o.scale=o.rotate=o.translate="none"),k=Yo(e,r.svg),r.svg&&(r.uncache?(q=e.getBBox(),u=r.xOrigin-q.x+"px "+(r.yOrigin-q.y)+"px",A=""):A=!t&&e.getAttribute("data-svg-origin"),jo(e,A||u,!!A||r.originIsAbsolute,r.smooth!==!1,k)),T=r.xOrigin||0,B=r.yOrigin||0,k!==Tr&&(X=k[0],D=k[1],F=k[2],G=k[3],d=v=k[4],h=w=k[5],k.length===6?(_=Math.sqrt(X*X+D*D),m=Math.sqrt(G*G+F*F),f=X||D?er(D,X)*Pn:0,M=F||G?er(F,G)*Pn+f:0,M&&(m*=Math.abs(Math.cos(M*Jn))),r.svg&&(d-=T-(T*X+B*F),h-=B-(T*D+B*G))):(R=k[6],y=k[7],U=k[8],O=k[9],N=k[10],g=k[11],d=k[12],h=k[13],p=k[14],P=er(R,N),C=P*Pn,P&&(E=Math.cos(-P),Y=Math.sin(-P),A=v*E+U*Y,q=w*E+O*Y,J=R*E+N*Y,U=v*-Y+U*E,O=w*-Y+O*E,N=R*-Y+N*E,g=y*-Y+g*E,v=A,w=q,R=J),P=er(-F,N),S=P*Pn,P&&(E=Math.cos(-P),Y=Math.sin(-P),A=X*E-U*Y,q=D*E-O*Y,J=F*E-N*Y,g=G*Y+g*E,X=A,D=q,F=J),P=er(D,X),f=P*Pn,P&&(E=Math.cos(P),Y=Math.sin(P),A=X*E+D*Y,q=v*E+w*Y,D=D*E-X*Y,w=w*E-v*Y,X=A,v=q),C&&Math.abs(C)+Math.abs(f)>359.9&&(C=f=0,S=180-S),_=Re(Math.sqrt(X*X+D*D+F*F)),m=Re(Math.sqrt(w*w+R*R)),P=er(v,w),M=Math.abs(P)>2e-4?P*Pn:0,x=g?1/(g<0?-g:g):0),r.svg&&(A=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!El(At(e,Pe)),A&&e.setAttribute("transform",A))),Math.abs(M)>90&&Math.abs(M)<270&&(i?(_*=-1,M+=f<=0?180:-180,f+=f<=0?180:-180):(m*=-1,M+=M<=0?180:-180)),t=t||r.uncache,r.x=d-((r.xPercent=d&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-d)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=h-((r.yPercent=h&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=Re(_),r.scaleY=Re(m),r.rotation=Re(f)+l,r.rotationX=Re(C)+l,r.rotationY=Re(S)+l,r.skewX=M+l,r.skewY=b+l,r.transformPerspective=x+s,(r.zOrigin=parseFloat(u.split(" ")[2])||!t&&r.zOrigin||0)&&(o[nt]=oa(u)),r.xOffset=r.yOffset=0,r.force3D=ot.force3D,r.renderTransform=r.svg?$f:kl?Ol:Ef,r.uncache=0,r},oa=function(e){return(e=e.split(" "))[0]+" "+e[1]},qo=function(e,t,r){var o=Ge(t);return Re(parseFloat(t)+parseFloat(un(e,"x",r+"px",o)))+o},Ef=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ol(e,t)},$n="0deg",Pr="0px",On=") ",Ol=function(e,t){var r=t||this,o=r.xPercent,i=r.yPercent,s=r.x,l=r.y,c=r.z,u=r.rotation,d=r.rotationY,h=r.rotationX,p=r.skewX,_=r.skewY,m=r.scaleX,f=r.scaleY,C=r.transformPerspective,S=r.force3D,M=r.target,b=r.zOrigin,x="",T=S==="auto"&&e&&e!==1||S===!0;if(b&&(h!==$n||d!==$n)){var B=parseFloat(d)*Jn,k=Math.sin(B),P=Math.cos(B),E;B=parseFloat(h)*Jn,E=Math.cos(B),s=qo(M,s,k*E*-b),l=qo(M,l,-Math.sin(B)*-b),c=qo(M,c,P*E*-b+b)}C!==Pr&&(x+="perspective("+C+On),(o||i)&&(x+="translate("+o+"%, "+i+"%) "),(T||s!==Pr||l!==Pr||c!==Pr)&&(x+=c!==Pr||T?"translate3d("+s+", "+l+", "+c+") ":"translate("+s+", "+l+On),u!==$n&&(x+="rotate("+u+On),d!==$n&&(x+="rotateY("+d+On),h!==$n&&(x+="rotateX("+h+On),(p!==$n||_!==$n)&&(x+="skew("+p+", "+_+On),(m!==1||f!==1)&&(x+="scale("+m+", "+f+On),M.style[Pe]=x||"translate(0, 0)"},$f=function(e,t){var r=t||this,o=r.xPercent,i=r.yPercent,s=r.x,l=r.y,c=r.rotation,u=r.skewX,d=r.skewY,h=r.scaleX,p=r.scaleY,_=r.target,m=r.xOrigin,f=r.yOrigin,C=r.xOffset,S=r.yOffset,M=r.forceCSS,b=parseFloat(s),x=parseFloat(l),T,B,k,P,E;c=parseFloat(c),u=parseFloat(u),d=parseFloat(d),d&&(d=parseFloat(d),u+=d,c+=d),c||u?(c*=Jn,u*=Jn,T=Math.cos(c)*h,B=Math.sin(c)*h,k=Math.sin(c-u)*-p,P=Math.cos(c-u)*p,u&&(d*=Jn,E=Math.tan(u-d),E=Math.sqrt(1+E*E),k*=E,P*=E,d&&(E=Math.tan(d),E=Math.sqrt(1+E*E),T*=E,B*=E)),T=Re(T),B=Re(B),k=Re(k),P=Re(P)):(T=h,P=p,B=k=0),(b&&!~(s+"").indexOf("px")||x&&!~(l+"").indexOf("px"))&&(b=un(_,"x",s,"px"),x=un(_,"y",l,"px")),(m||f||C||S)&&(b=Re(b+m-(m*T+f*k)+C),x=Re(x+f-(m*B+f*P)+S)),(o||i)&&(E=_.getBBox(),b=Re(b+o/100*E.width),x=Re(x+i/100*E.height)),E="matrix("+T+","+B+","+k+","+P+","+b+","+x+")",_.setAttribute("transform",E),M&&(_.style[Pe]=E)},Of=function(e,t,r,o,i){var s=360,l=Ye(i),c=parseFloat(i)*(l&&~i.indexOf("rad")?Pn:1),u=c-o,d=o+u+"deg",h,p;return l&&(h=i.split("_")[1],h==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),h==="cw"&&u<0?u=(u+s*gl)%s-~~(u/s)*s:h==="ccw"&&u>0&&(u=(u-s*gl)%s-~~(u/s)*s)),e._pt=p=new et(e._pt,t,r,o,u,mf),p.e=d,p.u="deg",e._props.push(r),p},Dl=function(e,t){for(var r in t)e[r]=t[r];return e},Df=function(e,t,r){var o=Dl({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,l,c,u,d,h,p,_,m;o.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),s[Pe]=t,l=Br(r,1),En(r,Pe),r.setAttribute("transform",u)):(u=getComputedStyle(r)[Pe],s[Pe]=t,l=Br(r,1),s[Pe]=u);for(c in qt)u=o[c],d=l[c],u!==d&&i.indexOf(c)<0&&(_=Ge(u),m=Ge(d),h=_!==m?un(r,c,u,m):parseFloat(u),p=parseFloat(d),e._pt=new et(e._pt,l,c,h,p-h,Fo),e._pt.u=m||0,e._props.push(c));Dl(l,o)};Je("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",o="Bottom",i="Left",s=(e<3?[t,r,o,i]:[t+i,t+r,o+r,o+i]).map(function(l){return e<2?n+l:"border"+l+n});aa[e>1?"border"+n:n]=function(l,c,u,d,h){var p,_;if(arguments.length<4)return p=s.map(function(m){return Zt(l,m,u)}),_=p.join(" "),_.split(p[0]).length===5?p[0]:_;p=(d+"").split(" "),_={},s.forEach(function(m,f){return _[m]=p[f]=p[f]||p[(f-1)/2|0]}),l.init(c,_,h)}});var Vl={name:"css",register:Ho,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,o,i){var s=this._props,l=e.style,c=r.vars.startAt,u,d,h,p,_,m,f,C,S,M,b,x,T,B,k,P;Ao||Ho(),this.styles=this.styles||Cl(e),P=this.styles.props,this.tween=r;for(f in t)if(f!=="autoRound"&&(d=t[f],!(st[f]&&il(f,t,r,o,e,i)))){if(_=typeof d,m=aa[f],_==="function"&&(d=d.call(r,o,e,i),_=typeof d),_==="string"&&~d.indexOf("random(")&&(d=Cr(d)),m)m(this,e,f,d,r)&&(k=1);else if(f.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(f)+"").trim(),d+="",sn.lastIndex=0,sn.test(u)||(C=Ge(u),S=Ge(d)),S?C!==S&&(u=un(e,f,u,S)+S):C&&(d+=C),this.add(l,"setProperty",u,d,o,i,0,0,f),s.push(f),P.push(f,0,l[f]);else if(_!=="undefined"){if(c&&f in c?(u=typeof c[f]=="function"?c[f].call(r,o,e,i):c[f],Ye(u)&&~u.indexOf("random(")&&(u=Cr(u)),Ge(u+"")||u==="auto"||(u+=ot.units[f]||Ge(Zt(e,f))||""),(u+"").charAt(1)==="="&&(u=Zt(e,f))):u=Zt(e,f),p=parseFloat(u),M=_==="string"&&d.charAt(1)==="="&&d.substr(0,2),M&&(d=d.substr(2)),h=parseFloat(d),f in Lt&&(f==="autoAlpha"&&(p===1&&Zt(e,"visibility")==="hidden"&&h&&(p=0),P.push("visibility",0,l.visibility),dn(this,l,"visibility",p?"inherit":"hidden",h?"inherit":"hidden",!h)),f!=="scale"&&f!=="transform"&&(f=Lt[f],~f.indexOf(",")&&(f=f.split(",")[0]))),b=f in qt,b){if(this.styles.save(f),x||(T=e._gsap,T.renderTransform&&!t.parseTransform||Br(e,t.parseTransform),B=t.smoothOrigin!==!1&&T.smooth,x=this._pt=new et(this._pt,l,Pe,0,1,T.renderTransform,T,0,-1),x.dep=1),f==="scale")this._pt=new et(this._pt,T,"scaleY",T.scaleY,(M?Un(T.scaleY,M+h):h)-T.scaleY||0,Fo),this._pt.u=0,s.push("scaleY",f),f+="X";else if(f==="transformOrigin"){P.push(nt,0,l[nt]),d=Bf(d),T.svg?jo(e,d,0,B,0,this):(S=parseFloat(d.split(" ")[2])||0,S!==T.zOrigin&&dn(this,T,"zOrigin",T.zOrigin,S),dn(this,l,f,oa(u),oa(d)));continue}else if(f==="svgOrigin"){jo(e,d,1,B,0,this);continue}else if(f in Pl){Of(this,T,f,p,M?Un(p,M+d):d);continue}else if(f==="smoothOrigin"){dn(this,T,"smooth",T.smooth,d);continue}else if(f==="force3D"){T[f]=d;continue}else if(f==="transform"){Df(this,d,e);continue}}else f in l||(f=tr(f)||f);if(b||(h||h===0)&&(p||p===0)&&!pf.test(d)&&f in l)C=(u+"").substr((p+"").length),h||(h=0),S=Ge(d)||(f in ot.units?ot.units[f]:C),C!==S&&(p=un(e,f,u,S)),this._pt=new et(this._pt,b?T:l,f,p,(M?Un(p,M+h):h)-p,!b&&(S==="px"||f==="zIndex")&&t.autoRound!==!1?gf:Fo),this._pt.u=S||0,C!==S&&S!=="%"&&(this._pt.b=u,this._pt.r=_f);else if(f in l)Tf.call(this,e,f,u,M?M+d:d);else if(f in e)this.add(e,f,u||e[f],M?M+d:d,o,i);else if(f!=="parseTransform"){ho(f,d);continue}b||(f in l?P.push(f,0,l[f]):P.push(f,1,u||e[f])),s.push(f)}}k&&hl(this)},render:function(e,t){if(t.tween._time||!No())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Zt,aliases:Lt,getSetter:function(e,t,r){var o=Lt[t];return o&&o.indexOf(",")<0&&(t=o),t in qt&&t!==nt&&(e._gsap.x||Zt(e,"x"))?r&&_l===r?t==="scale"?Cf:bf:(_l=r||{})&&(t==="scale"?kf:vf):e.style&&!oo(e.style[t])?yf:~t.indexOf("-")?wf:Eo(e,t)},core:{_removeProperty:En,_getMatrix:Yo}};tt.utils.checkPrefix=tr,tt.core.getStyleSaver=Cl,function(n,e,t,r){var o=Je(n+","+e+","+t,function(i){qt[i]=1});Je(e,function(i){ot.units[i]="deg",Pl[i]=1}),Lt[o[13]]=n+","+e,Je(r,function(i){var s=i.split(":");Lt[s[1]]=o[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"),Je("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){ot.units[n]="px"}),tt.registerPlugin(Vl);var hn=tt.registerPlugin(Vl)||tt;hn.core.Tween;const Vf={__name:"Confetti",setup(n){function e(r){let o=100,i=r.offsetWidth,s=r.offsetHeight;for(let d=0;d<o;d++){let h=document.createElement("div");h.classList.add("dot"),r.append(h),hn.set(h,{x:c(i),y:u(-100,100),opacity:1,scale:c(.5)+.5,backgroundColor:"hsl("+u(170,360)+",50%,50%)"}),l(h)}function l(d){hn.set(r,{display:"block"}),hn.to(r,{autoAlpha:1,duration:2,delay:1}),hn.to(d,c(5)+4,{y:s,ease:uf.easeNone,repeat:-1,delay:-5}),hn.to(d,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Lo.easeInOut}),hn.to(d,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Lo.easeInOut}),hn.to(d,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Lo.easeInOut})}function c(d){return Math.random()*d}function u(d,h){return d+Math.floor(Math.random()*(h-d))}}const t=a.ref(null);return a.onMounted(()=>{t.value&&e(t.value)}),(r,o)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"confetti",ref:t,class:"confetti"},null,512))}},Ll=n=>(a.pushScopeId("data-v-c0a90d49"),n=n(),a.popScopeId(),n),Lf={class:"sidebar-popup-container"},Af={class:"sidebar-popup__profile-info"},Nf=["src"],Rf={class:"sidebar-popup__profile-info__wrapper"},Ff={class:"sidebar-popup__profile-info__name"},If={class:"sidebar-popup__profile-info__e-mail"},Hf=Ll(()=>a.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),zf={class:"sidebar-popup__tabs"},Yf=["onClick"],jf={class:"sidebar-popup__tab__icon-wrapper"},qf={class:"sidebar-popup__tab__name"},Zf=Ll(()=>a.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),Uf={class:"sidebar-popup__actions-buttons"},Wf=ut({__name:"SidebarPopup",props:{activeSection:String,user:Object},emits:["logout"],setup(n,{emit:e}){const t=e,r=a.ref(!1),o=a.ref(null),i=a.reactive([{name:"futures",isActive:!0},{name:"charts",isActive:!0},{name:"spot",isActive:!1},{name:"trading terminal",isActive:!1}]),s=()=>{if(window!==void 0){const d=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${d}/settings/profile`,"_self")}},l=d=>{d.isActive&&window.open(`https://${d.name}.scope360.io/`)},c=()=>{r.value=!r.value},u=d=>{o.value&&!o.value.contains(d.target)&&c()};return a.onMounted(()=>{document.addEventListener("click",u)}),a.onUnmounted(()=>{document.removeEventListener("click",u)}),(d,h)=>(a.openBlock(),a.createElementBlock("div",Lf,[a.createElementVNode("div",{class:a.normalizeClass(["sidebar-popup-container__icon-wrapper",{"-is-active":r.value}]),onClick:a.withModifiers(c,["stop"]),name:"popup-icon-wrapper"},[a.createVNode(yt,{icon:"pop-up_opener"})],2),r.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:"sidebar-popup",ref_key:"popupRef",ref:o},[a.createElementVNode("div",Af,[a.createElementVNode("img",{src:n.user.image||"https://static.wixstatic.com/media/38bd8f_7eabf2bc8f4a452eb20de68e514f64ff~mv2.jpg/v1/fill/w_759,h_498,al_c/38bd8f_7eabf2bc8f4a452eb20de68e514f64ff~mv2.jpg",class:"sidebar-popup__profile-info__photo"},null,8,Nf),a.createElementVNode("div",Rf,[a.createElementVNode("div",Ff,a.toDisplayString(n.user.name),1),a.createElementVNode("div",If,a.toDisplayString(n.user.email),1)])]),Hf,a.createElementVNode("div",zf,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i,p=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["sidebar-popup__tab",{"-is-active":p.name===n.activeSection},{"-is-disable":!p.isActive}]),onClick:_=>l(p)},[a.createElementVNode("div",jf,[a.createVNode(yt,{icon:p.name.split(" ").join("_")},null,8,["icon"])]),a.createElementVNode("div",qf,a.toDisplayString(p.name),1)],10,Yf))),256))]),Zf,a.createElementVNode("div",Uf,[a.createElementVNode("div",{class:a.normalizeClass(["sidebar-popup__settings",{"-is-active":n.activeSection==="settings"}]),onClick:s}," Settings ",2),a.createElementVNode("div",{class:"sidebar-popup__logout",onClick:h[0]||(h[0]=p=>t("logout"))},"Log out")])],512)):a.createCommentVNode("",!0)]))}},[["__scopeId","data-v-c0a90d49"]]);/*! js-cookie v3.0.5 | MIT */function ia(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)n[r]=t[r]}return n}var Gf={read:function(n){return n[0]==='"'&&(n=n.slice(1,-1)),n.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(n){return encodeURIComponent(n).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Zo(n,e){function t(o,i,s){if(!(typeof document>"u")){s=ia({},e,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var c in s)s[c]&&(l+="; "+c,s[c]!==!0&&(l+="="+s[c].split(";")[0]));return document.cookie=o+"="+n.write(i,o)+l}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var i=document.cookie?document.cookie.split("; "):[],s={},l=0;l<i.length;l++){var c=i[l].split("="),u=c.slice(1).join("=");try{var d=decodeURIComponent(c[0]);if(s[d]=n.read(u,d),o===d)break}catch{}}return o?s[o]:s}}return Object.create({set:t,get:r,remove:function(o,i){t(o,"",ia({},i,{expires:-1}))},withAttributes:function(o){return Zo(this.converter,ia({},this.attributes,o))},withConverter:function(o){return Zo(ia({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(n)}})}var nr=Zo(Gf,{path:"/"});class dt{static setItem(e,t,r=Date.now()+31449600){nr.set(e,t,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io",expires:new Date(r*1e3),secure:!0,sameSite:"strict"})}static getItem(e){return nr.get(e)}static removeItem(e){nr.remove(e,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static clear(){const e=Object.keys(nr.get());for(const t of e)nr.remove(t,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static getAll(){return nr.get()}}function Al(n,e){return function(){return n.apply(e,arguments)}}const{toString:Kf}=Object.prototype,{getPrototypeOf:Uo}=Object,sa=(n=>e=>{const t=Kf.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),Nt=n=>(n=n.toLowerCase(),e=>sa(e)===n),la=n=>e=>typeof e===n,{isArray:rr}=Array,Er=la("undefined");function Xf(n){return n!==null&&!Er(n)&&n.constructor!==null&&!Er(n.constructor)&&_t(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const Nl=Nt("ArrayBuffer");function Qf(n){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(n):e=n&&n.buffer&&Nl(n.buffer),e}const Jf=la("string"),_t=la("function"),Rl=la("number"),ca=n=>n!==null&&typeof n=="object",e3=n=>n===!0||n===!1,da=n=>{if(sa(n)!=="object")return!1;const e=Uo(n);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},t3=Nt("Date"),n3=Nt("File"),r3=Nt("Blob"),a3=Nt("FileList"),o3=n=>ca(n)&&_t(n.pipe),i3=n=>{let e;return n&&(typeof FormData=="function"&&n instanceof FormData||_t(n.append)&&((e=sa(n))==="formdata"||e==="object"&&_t(n.toString)&&n.toString()==="[object FormData]"))},s3=Nt("URLSearchParams"),l3=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function $r(n,e,{allOwnKeys:t=!1}={}){if(n===null||typeof n>"u")return;let r,o;if(typeof n!="object"&&(n=[n]),rr(n))for(r=0,o=n.length;r<o;r++)e.call(null,n[r],r,n);else{const i=t?Object.getOwnPropertyNames(n):Object.keys(n),s=i.length;let l;for(r=0;r<s;r++)l=i[r],e.call(null,n[l],l,n)}}function Fl(n,e){e=e.toLowerCase();const t=Object.keys(n);let r=t.length,o;for(;r-- >0;)if(o=t[r],e===o.toLowerCase())return o;return null}const Il=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Hl=n=>!Er(n)&&n!==Il;function Wo(){const{caseless:n}=Hl(this)&&this||{},e={},t=(r,o)=>{const i=n&&Fl(e,o)||o;da(e[i])&&da(r)?e[i]=Wo(e[i],r):da(r)?e[i]=Wo({},r):rr(r)?e[i]=r.slice():e[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&$r(arguments[r],t);return e}const c3=(n,e,t,{allOwnKeys:r}={})=>($r(e,(o,i)=>{t&&_t(o)?n[i]=Al(o,t):n[i]=o},{allOwnKeys:r}),n),d3=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),u3=(n,e,t,r)=>{n.prototype=Object.create(e.prototype,r),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:e.prototype}),t&&Object.assign(n.prototype,t)},h3=(n,e,t,r)=>{let o,i,s;const l={};if(e=e||{},n==null)return e;do{for(o=Object.getOwnPropertyNames(n),i=o.length;i-- >0;)s=o[i],(!r||r(s,n,e))&&!l[s]&&(e[s]=n[s],l[s]=!0);n=t!==!1&&Uo(n)}while(n&&(!t||t(n,e))&&n!==Object.prototype);return e},f3=(n,e,t)=>{n=String(n),(t===void 0||t>n.length)&&(t=n.length),t-=e.length;const r=n.indexOf(e,t);return r!==-1&&r===t},p3=n=>{if(!n)return null;if(rr(n))return n;let e=n.length;if(!Rl(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=n[e];return t},m3=(n=>e=>n&&e instanceof n)(typeof Uint8Array<"u"&&Uo(Uint8Array)),_3=(n,e)=>{const r=(n&&n[Symbol.iterator]).call(n);let o;for(;(o=r.next())&&!o.done;){const i=o.value;e.call(n,i[0],i[1])}},g3=(n,e)=>{let t;const r=[];for(;(t=n.exec(e))!==null;)r.push(t);return r},y3=Nt("HTMLFormElement"),w3=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,o){return r.toUpperCase()+o}),zl=(({hasOwnProperty:n})=>(e,t)=>n.call(e,t))(Object.prototype),b3=Nt("RegExp"),Yl=(n,e)=>{const t=Object.getOwnPropertyDescriptors(n),r={};$r(t,(o,i)=>{let s;(s=e(o,i,n))!==!1&&(r[i]=s||o)}),Object.defineProperties(n,r)},C3=n=>{Yl(n,(e,t)=>{if(_t(n)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const r=n[t];if(_t(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},k3=(n,e)=>{const t={},r=o=>{o.forEach(i=>{t[i]=!0})};return rr(n)?r(n):r(String(n).split(e)),t},v3=()=>{},x3=(n,e)=>(n=+n,Number.isFinite(n)?n:e),Go="abcdefghijklmnopqrstuvwxyz",jl="0123456789",ql={DIGIT:jl,ALPHA:Go,ALPHA_DIGIT:Go+Go.toUpperCase()+jl},M3=(n=16,e=ql.ALPHA_DIGIT)=>{let t="";const{length:r}=e;for(;n--;)t+=e[Math.random()*r|0];return t};function S3(n){return!!(n&&_t(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}const T3=n=>{const e=new Array(10),t=(r,o)=>{if(ca(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const i=rr(r)?[]:{};return $r(r,(s,l)=>{const c=t(s,o+1);!Er(c)&&(i[l]=c)}),e[o]=void 0,i}}return r};return t(n,0)},B3=Nt("AsyncFunction"),z={isArray:rr,isArrayBuffer:Nl,isBuffer:Xf,isFormData:i3,isArrayBufferView:Qf,isString:Jf,isNumber:Rl,isBoolean:e3,isObject:ca,isPlainObject:da,isUndefined:Er,isDate:t3,isFile:n3,isBlob:r3,isRegExp:b3,isFunction:_t,isStream:o3,isURLSearchParams:s3,isTypedArray:m3,isFileList:a3,forEach:$r,merge:Wo,extend:c3,trim:l3,stripBOM:d3,inherits:u3,toFlatObject:h3,kindOf:sa,kindOfTest:Nt,endsWith:f3,toArray:p3,forEachEntry:_3,matchAll:g3,isHTMLForm:y3,hasOwnProperty:zl,hasOwnProp:zl,reduceDescriptors:Yl,freezeMethods:C3,toObjectSet:k3,toCamelCase:w3,noop:v3,toFiniteNumber:x3,findKey:Fl,global:Il,isContextDefined:Hl,ALPHABET:ql,generateString:M3,isSpecCompliantForm:S3,toJSONObject:T3,isAsyncFn:B3,isThenable:n=>n&&(ca(n)||_t(n))&&_t(n.then)&&_t(n.catch)};function me(n,e,t,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),r&&(this.request=r),o&&(this.response=o)}z.inherits(me,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Zl=me.prototype,Ul={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{Ul[n]={value:n}}),Object.defineProperties(me,Ul),Object.defineProperty(Zl,"isAxiosError",{value:!0}),me.from=(n,e,t,r,o,i)=>{const s=Object.create(Zl);return z.toFlatObject(n,s,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),me.call(s,n.message,e,t,r,o),s.cause=n,s.name=n.name,i&&Object.assign(s,i),s};const P3=null;function Ko(n){return z.isPlainObject(n)||z.isArray(n)}function Wl(n){return z.endsWith(n,"[]")?n.slice(0,-2):n}function Gl(n,e,t){return n?n.concat(e).map(function(o,i){return o=Wl(o),!t&&i?"["+o+"]":o}).join(t?".":""):e}function E3(n){return z.isArray(n)&&!n.some(Ko)}const $3=z.toFlatObject(z,{},null,function(e){return/^is[A-Z]/.test(e)});function ua(n,e,t){if(!z.isObject(n))throw new TypeError("target must be an object");e=e||new FormData,t=z.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,C){return!z.isUndefined(C[f])});const r=t.metaTokens,o=t.visitor||d,i=t.dots,s=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(e);if(!z.isFunction(o))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(z.isDate(m))return m.toISOString();if(!c&&z.isBlob(m))throw new me("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(m)||z.isTypedArray(m)?c&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,f,C){let S=m;if(m&&!C&&typeof m=="object"){if(z.endsWith(f,"{}"))f=r?f:f.slice(0,-2),m=JSON.stringify(m);else if(z.isArray(m)&&E3(m)||(z.isFileList(m)||z.endsWith(f,"[]"))&&(S=z.toArray(m)))return f=Wl(f),S.forEach(function(b,x){!(z.isUndefined(b)||b===null)&&e.append(s===!0?Gl([f],x,i):s===null?f:f+"[]",u(b))}),!1}return Ko(m)?!0:(e.append(Gl(C,f,i),u(m)),!1)}const h=[],p=Object.assign($3,{defaultVisitor:d,convertValue:u,isVisitable:Ko});function _(m,f){if(!z.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+f.join("."));h.push(m),z.forEach(m,function(S,M){(!(z.isUndefined(S)||S===null)&&o.call(e,S,z.isString(M)?M.trim():M,f,p))===!0&&_(S,f?f.concat(M):[M])}),h.pop()}}if(!z.isObject(n))throw new TypeError("data must be an object");return _(n),e}function Kl(n){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Xo(n,e){this._pairs=[],n&&ua(n,this,e)}const Xl=Xo.prototype;Xl.append=function(e,t){this._pairs.push([e,t])},Xl.toString=function(e){const t=e?function(r){return e.call(this,r,Kl)}:Kl;return this._pairs.map(function(o){return t(o[0])+"="+t(o[1])},"").join("&")};function O3(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ql(n,e,t){if(!e)return n;const r=t&&t.encode||O3,o=t&&t.serialize;let i;if(o?i=o(e,t):i=z.isURLSearchParams(e)?e.toString():new Xo(e,t).toString(r),i){const s=n.indexOf("#");s!==-1&&(n=n.slice(0,s)),n+=(n.indexOf("?")===-1?"?":"&")+i}return n}class Jl{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){z.forEach(this.handlers,function(r){r!==null&&e(r)})}}const e1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},D3={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Xo,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},t1=typeof window<"u"&&typeof document<"u",V3=(n=>t1&&["ReactNative","NativeScript","NS"].indexOf(n)<0)(typeof navigator<"u"&&navigator.product),L3=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Rt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:t1,hasStandardBrowserEnv:V3,hasStandardBrowserWebWorkerEnv:L3},Symbol.toStringTag,{value:"Module"})),...D3};function A3(n,e){return ua(n,new Rt.classes.URLSearchParams,Object.assign({visitor:function(t,r,o,i){return Rt.isNode&&z.isBuffer(t)?(this.append(r,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function N3(n){return z.matchAll(/\w+|\[(\w*)]/g,n).map(e=>e[0]==="[]"?"":e[1]||e[0])}function R3(n){const e={},t=Object.keys(n);let r;const o=t.length;let i;for(r=0;r<o;r++)i=t[r],e[i]=n[i];return e}function n1(n){function e(t,r,o,i){let s=t[i++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),c=i>=t.length;return s=!s&&z.isArray(o)?o.length:s,c?(z.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!z.isObject(o[s]))&&(o[s]=[]),e(t,r,o[s],i)&&z.isArray(o[s])&&(o[s]=R3(o[s])),!l)}if(z.isFormData(n)&&z.isFunction(n.entries)){const t={};return z.forEachEntry(n,(r,o)=>{e(N3(r),o,t,0)}),t}return null}function F3(n,e,t){if(z.isString(n))try{return(e||JSON.parse)(n),z.trim(n)}catch(r){if(r.name!=="SyntaxError")throw r}return(t||JSON.stringify)(n)}const Qo={transitional:e1,adapter:["xhr","http"],transformRequest:[function(e,t){const r=t.getContentType()||"",o=r.indexOf("application/json")>-1,i=z.isObject(e);if(i&&z.isHTMLForm(e)&&(e=new FormData(e)),z.isFormData(e))return o?JSON.stringify(n1(e)):e;if(z.isArrayBuffer(e)||z.isBuffer(e)||z.isStream(e)||z.isFile(e)||z.isBlob(e))return e;if(z.isArrayBufferView(e))return e.buffer;if(z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return A3(e,this.formSerializer).toString();if((l=z.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ua(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),F3(e)):e}],transformResponse:[function(e){const t=this.transitional||Qo.transitional,r=t&&t.forcedJSONParsing,o=this.responseType==="json";if(e&&z.isString(e)&&(r&&!this.responseType||o)){const s=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(l){if(s)throw l.name==="SyntaxError"?me.from(l,me.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Rt.classes.FormData,Blob:Rt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],n=>{Qo.headers[n]={}});const Jo=Qo,I3=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),H3=n=>{const e={};let t,r,o;return n&&n.split(`
17
+ */var ml,cn,Qn,Ao,Bn,_l,No,hf=function(){return typeof window<"u"},qt={},Pn=180/Math.PI,Jn=Math.PI/180,er=Math.atan2,gl=1e8,Ro=/([A-Z])/g,ff=/(left|right|width|margin|padding|x)/i,pf=/[\s,\(]\S/,Lt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Fo=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},mf=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},_f=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},gf=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},yl=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},wl=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},yf=function(e,t,r){return e.style[t]=r},wf=function(e,t,r){return e.style.setProperty(t,r)},bf=function(e,t,r){return e._gsap[t]=r},Cf=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},kf=function(e,t,r,o,i){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},vf=function(e,t,r,o,i){var s=e._gsap;s[t]=r,s.renderTransform(i,s)},Pe="transform",nt=Pe+"Origin",xf=function n(e,t){var r=this,o=this.target,i=o.style,s=o._gsap;if(e in qt&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Lt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return r.tfm[l]=Zt(o,l)}):this.tfm[e]=s.x?s[e]:Zt(o,e),e===nt&&(this.tfm.zOrigin=s.zOrigin);else return Lt.transform.split(",").forEach(function(l){return n.call(r,l,t)});if(this.props.indexOf(Pe)>=0)return;s.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(nt,t,"")),e=Pe}(i||t)&&this.props.push(e,t,i[e])},bl=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Mf=function(){var e=this.props,t=this.target,r=t.style,o=t._gsap,i,s;for(i=0;i<e.length;i+=3)e[i+1]?t[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Ro,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)o[s]=this.tfm[s];o.svg&&(o.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=No(),(!i||!i.isStart)&&!r[Pe]&&(bl(r),o.zOrigin&&r[nt]&&(r[nt]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},Cl=function(e,t){var r={target:e,props:[],revert:Mf,save:xf};return e._gsap||tt.core.getCache(e),t&&t.split(",").forEach(function(o){return r.save(o)}),r},kl,Io=function(e,t){var r=cn.createElementNS?cn.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):cn.createElement(e);return r&&r.style?r:cn.createElement(e)},At=function n(e,t,r){var o=getComputedStyle(e);return o[t]||o.getPropertyValue(t.replace(Ro,"-$1").toLowerCase())||o.getPropertyValue(t)||!r&&n(e,tr(t)||t,1)||""},vl="O,Moz,ms,Ms,Webkit".split(","),tr=function(e,t,r){var o=t||Bn,i=o.style,s=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(vl[s]+e in i););return s<0?null:(s===3?"ms":s>=0?vl[s]:"")+e},Ho=function(){hf()&&window.document&&(ml=window,cn=ml.document,Qn=cn.documentElement,Bn=Io("div")||{style:{}},Io("div"),Pe=tr(Pe),nt=Pe+"Origin",Bn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",kl=!!tr("perspective"),No=tt.core.reverting,Ao=1)},zo=function n(e){var t=Io("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,o=this.nextSibling,i=this.style.cssText,s;if(Qn.appendChild(t),t.appendChild(this),this.style.display="block",e)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=n}catch{}else this._gsapBBox&&(s=this._gsapBBox());return r&&(o?r.insertBefore(this,o):r.appendChild(this)),Qn.removeChild(t),this.style.cssText=i,s},xl=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Ml=function(e){var t;try{t=e.getBBox()}catch{t=zo.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===zo||(t=zo.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+xl(e,["x","cx","x1"])||0,y:+xl(e,["y","cy","y1"])||0,width:0,height:0}:t},Sl=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ml(e))},En=function(e,t){if(t){var r=e.style,o;t in qt&&t!==nt&&(t=Pe),r.removeProperty?(o=t.substr(0,2),(o==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(o==="--"?t:t.replace(Ro,"-$1").toLowerCase())):r.removeAttribute(t)}},dn=function(e,t,r,o,i,s){var l=new et(e._pt,t,r,0,1,s?wl:yl);return e._pt=l,l.b=o,l.e=i,e._props.push(r),l},Tl={deg:1,rad:1,turn:1},Sf={grid:1,flex:1},un=function n(e,t,r,o){var i=parseFloat(r)||0,s=(r+"").trim().substr((i+"").length)||"px",l=Bn.style,c=ff.test(t),u=e.tagName.toLowerCase()==="svg",d=(u?"client":"offset")+(c?"Width":"Height"),h=100,p=o==="px",_=o==="%",m,f,C,S;if(o===s||!i||Tl[o]||Tl[s])return i;if(s!=="px"&&!p&&(i=n(e,t,r,"px")),S=e.getCTM&&Sl(e),(_||s==="%")&&(qt[t]||~t.indexOf("adius")))return m=S?e.getBBox()[c?"width":"height"]:e[d],Re(_?i/m*h:i/100*m);if(l[c?"width":"height"]=h+(p?s:o),f=~t.indexOf("adius")||o==="em"&&e.appendChild&&!u?e:e.parentNode,S&&(f=(e.ownerSVGElement||{}).parentNode),(!f||f===cn||!f.appendChild)&&(f=cn.body),C=f._gsap,C&&_&&C.width&&c&&C.time===ct.time&&!C.uncache)return Re(i/C.width*h);if(_&&(t==="height"||t==="width")){var M=e.style[t];e.style[t]=h+o,m=e[d],M?e.style[t]=M:En(e,t)}else(_||s==="%")&&!Sf[At(f,"display")]&&(l.position=At(e,"position")),f===e&&(l.position="static"),f.appendChild(Bn),m=Bn[d],f.removeChild(Bn),l.position="absolute";return c&&_&&(C=kn(f),C.time=ct.time,C.width=f[d]),Re(p?m*i/h:m&&i?h/m*i:0)},Zt=function(e,t,r,o){var i;return Ao||Ho(),t in Lt&&t!=="transform"&&(t=Lt[t],~t.indexOf(",")&&(t=t.split(",")[0])),qt[t]&&t!=="transform"?(i=Br(e,o),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:oa(At(e,nt))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||o||~(i+"").indexOf("calc("))&&(i=aa[t]&&aa[t](e,t,r)||At(e,t)||$s(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?un(e,t,i,r)+r:i},Tf=function(e,t,r,o){if(!r||r==="none"){var i=tr(t,e,1),s=i&&At(e,i,1);s&&s!==r?(t=i,r=s):t==="borderColor"&&(r=At(e,"borderTopColor"))}var l=new et(this._pt,e.style,t,0,1,ul),c=0,u=0,d,h,p,_,m,f,C,S,M,b,x,T;if(l.b=r,l.e=o,r+="",o+="",o==="auto"&&(f=e.style[t],e.style[t]=o,o=At(e,t)||o,f?e.style[t]=f:En(e,t)),d=[r,o],tl(d),r=d[0],o=d[1],p=r.match(Zn)||[],T=o.match(Zn)||[],T.length){for(;h=Zn.exec(o);)C=h[0],M=o.substring(c,h.index),m?m=(m+1)%5:(M.substr(-5)==="rgba("||M.substr(-5)==="hsla(")&&(m=1),C!==(f=p[u++]||"")&&(_=parseFloat(f)||0,x=f.substr((_+"").length),C.charAt(1)==="="&&(C=Un(_,C)+x),S=parseFloat(C),b=C.substr((S+"").length),c=Zn.lastIndex-b.length,b||(b=b||ot.units[t]||x,c===o.length&&(o+=b,l.e+=b)),x!==b&&(_=un(e,t,f,b)||0),l._pt={_next:l._pt,p:M||u===1?M:",",s:_,c:S-_,m:m&&m<4||t==="zIndex"?Math.round:0});l.c=c<o.length?o.substring(c,o.length):""}else l.r=t==="display"&&o==="none"?wl:yl;return xs.test(o)&&(l.e=0),this._pt=l,l},Bl={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Bf=function(e){var t=e.split(" "),r=t[0],o=t[1]||"50%";return(r==="top"||r==="bottom"||o==="left"||o==="right")&&(e=r,r=o,o=e),t[0]=Bl[r]||r,t[1]=Bl[o]||o,t.join(" ")},Pf=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,o=r.style,i=t.u,s=r._gsap,l,c,u;if(i==="all"||i===!0)o.cssText="",c=1;else for(i=i.split(","),u=i.length;--u>-1;)l=i[u],qt[l]&&(c=1,l=l==="transformOrigin"?nt:Pe),En(r,l);c&&(En(r,Pe),s&&(s.svg&&r.removeAttribute("transform"),Br(r,1),s.uncache=1,bl(o)))}},aa={clearProps:function(e,t,r,o,i){if(i.data!=="isFromStart"){var s=e._pt=new et(e._pt,t,r,0,0,Pf);return s.u=o,s.pr=-10,s.tween=i,e._props.push(r),1}}},Tr=[1,0,0,1,0,0],Pl={},El=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},$l=function(e){var t=At(e,Pe);return El(t)?Tr:t.substr(7).match(vs).map(Re)},Yo=function(e,t){var r=e._gsap||kn(e),o=e.style,i=$l(e),s,l,c,u;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,i=[c.a,c.b,c.c,c.d,c.e,c.f],i.join(",")==="1,0,0,1,0,0"?Tr:i):(i===Tr&&!e.offsetParent&&e!==Qn&&!r.svg&&(c=o.display,o.display="block",s=e.parentNode,(!s||!e.offsetParent)&&(u=1,l=e.nextElementSibling,Qn.appendChild(e)),i=$l(e),c?o.display=c:En(e,"display"),u&&(l?s.insertBefore(e,l):s?s.appendChild(e):Qn.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},jo=function(e,t,r,o,i,s){var l=e._gsap,c=i||Yo(e,!0),u=l.xOrigin||0,d=l.yOrigin||0,h=l.xOffset||0,p=l.yOffset||0,_=c[0],m=c[1],f=c[2],C=c[3],S=c[4],M=c[5],b=t.split(" "),x=parseFloat(b[0])||0,T=parseFloat(b[1])||0,B,k,P,E;r?c!==Tr&&(k=_*C-m*f)&&(P=x*(C/k)+T*(-f/k)+(f*M-C*S)/k,E=x*(-m/k)+T*(_/k)-(_*M-m*S)/k,x=P,T=E):(B=Ml(e),x=B.x+(~b[0].indexOf("%")?x/100*B.width:x),T=B.y+(~(b[1]||b[0]).indexOf("%")?T/100*B.height:T)),o||o!==!1&&l.smooth?(S=x-u,M=T-d,l.xOffset=h+(S*_+M*f)-S,l.yOffset=p+(S*m+M*C)-M):l.xOffset=l.yOffset=0,l.xOrigin=x,l.yOrigin=T,l.smooth=!!o,l.origin=t,l.originIsAbsolute=!!r,e.style[nt]="0px 0px",s&&(dn(s,l,"xOrigin",u,x),dn(s,l,"yOrigin",d,T),dn(s,l,"xOffset",h,l.xOffset),dn(s,l,"yOffset",p,l.yOffset)),e.setAttribute("data-svg-origin",x+" "+T)},Br=function(e,t){var r=e._gsap||new ol(e);if("x"in r&&!t&&!r.uncache)return r;var o=e.style,i=r.scaleX<0,s="px",l="deg",c=getComputedStyle(e),u=At(e,nt)||"0",d,h,p,_,m,f,C,S,M,b,x,T,B,k,P,E,Y,X,D,F,G,v,w,A,q,J,U,O,N,y,g,R;return d=h=p=f=C=S=M=b=x=0,_=m=1,r.svg=!!(e.getCTM&&Sl(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(o[Pe]=(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[Pe]!=="none"?c[Pe]:"")),o.scale=o.rotate=o.translate="none"),k=Yo(e,r.svg),r.svg&&(r.uncache?(q=e.getBBox(),u=r.xOrigin-q.x+"px "+(r.yOrigin-q.y)+"px",A=""):A=!t&&e.getAttribute("data-svg-origin"),jo(e,A||u,!!A||r.originIsAbsolute,r.smooth!==!1,k)),T=r.xOrigin||0,B=r.yOrigin||0,k!==Tr&&(X=k[0],D=k[1],F=k[2],G=k[3],d=v=k[4],h=w=k[5],k.length===6?(_=Math.sqrt(X*X+D*D),m=Math.sqrt(G*G+F*F),f=X||D?er(D,X)*Pn:0,M=F||G?er(F,G)*Pn+f:0,M&&(m*=Math.abs(Math.cos(M*Jn))),r.svg&&(d-=T-(T*X+B*F),h-=B-(T*D+B*G))):(R=k[6],y=k[7],U=k[8],O=k[9],N=k[10],g=k[11],d=k[12],h=k[13],p=k[14],P=er(R,N),C=P*Pn,P&&(E=Math.cos(-P),Y=Math.sin(-P),A=v*E+U*Y,q=w*E+O*Y,J=R*E+N*Y,U=v*-Y+U*E,O=w*-Y+O*E,N=R*-Y+N*E,g=y*-Y+g*E,v=A,w=q,R=J),P=er(-F,N),S=P*Pn,P&&(E=Math.cos(-P),Y=Math.sin(-P),A=X*E-U*Y,q=D*E-O*Y,J=F*E-N*Y,g=G*Y+g*E,X=A,D=q,F=J),P=er(D,X),f=P*Pn,P&&(E=Math.cos(P),Y=Math.sin(P),A=X*E+D*Y,q=v*E+w*Y,D=D*E-X*Y,w=w*E-v*Y,X=A,v=q),C&&Math.abs(C)+Math.abs(f)>359.9&&(C=f=0,S=180-S),_=Re(Math.sqrt(X*X+D*D+F*F)),m=Re(Math.sqrt(w*w+R*R)),P=er(v,w),M=Math.abs(P)>2e-4?P*Pn:0,x=g?1/(g<0?-g:g):0),r.svg&&(A=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!El(At(e,Pe)),A&&e.setAttribute("transform",A))),Math.abs(M)>90&&Math.abs(M)<270&&(i?(_*=-1,M+=f<=0?180:-180,f+=f<=0?180:-180):(m*=-1,M+=M<=0?180:-180)),t=t||r.uncache,r.x=d-((r.xPercent=d&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-d)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=h-((r.yPercent=h&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=Re(_),r.scaleY=Re(m),r.rotation=Re(f)+l,r.rotationX=Re(C)+l,r.rotationY=Re(S)+l,r.skewX=M+l,r.skewY=b+l,r.transformPerspective=x+s,(r.zOrigin=parseFloat(u.split(" ")[2])||!t&&r.zOrigin||0)&&(o[nt]=oa(u)),r.xOffset=r.yOffset=0,r.force3D=ot.force3D,r.renderTransform=r.svg?$f:kl?Ol:Ef,r.uncache=0,r},oa=function(e){return(e=e.split(" "))[0]+" "+e[1]},qo=function(e,t,r){var o=Ge(t);return Re(parseFloat(t)+parseFloat(un(e,"x",r+"px",o)))+o},Ef=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ol(e,t)},$n="0deg",Pr="0px",On=") ",Ol=function(e,t){var r=t||this,o=r.xPercent,i=r.yPercent,s=r.x,l=r.y,c=r.z,u=r.rotation,d=r.rotationY,h=r.rotationX,p=r.skewX,_=r.skewY,m=r.scaleX,f=r.scaleY,C=r.transformPerspective,S=r.force3D,M=r.target,b=r.zOrigin,x="",T=S==="auto"&&e&&e!==1||S===!0;if(b&&(h!==$n||d!==$n)){var B=parseFloat(d)*Jn,k=Math.sin(B),P=Math.cos(B),E;B=parseFloat(h)*Jn,E=Math.cos(B),s=qo(M,s,k*E*-b),l=qo(M,l,-Math.sin(B)*-b),c=qo(M,c,P*E*-b+b)}C!==Pr&&(x+="perspective("+C+On),(o||i)&&(x+="translate("+o+"%, "+i+"%) "),(T||s!==Pr||l!==Pr||c!==Pr)&&(x+=c!==Pr||T?"translate3d("+s+", "+l+", "+c+") ":"translate("+s+", "+l+On),u!==$n&&(x+="rotate("+u+On),d!==$n&&(x+="rotateY("+d+On),h!==$n&&(x+="rotateX("+h+On),(p!==$n||_!==$n)&&(x+="skew("+p+", "+_+On),(m!==1||f!==1)&&(x+="scale("+m+", "+f+On),M.style[Pe]=x||"translate(0, 0)"},$f=function(e,t){var r=t||this,o=r.xPercent,i=r.yPercent,s=r.x,l=r.y,c=r.rotation,u=r.skewX,d=r.skewY,h=r.scaleX,p=r.scaleY,_=r.target,m=r.xOrigin,f=r.yOrigin,C=r.xOffset,S=r.yOffset,M=r.forceCSS,b=parseFloat(s),x=parseFloat(l),T,B,k,P,E;c=parseFloat(c),u=parseFloat(u),d=parseFloat(d),d&&(d=parseFloat(d),u+=d,c+=d),c||u?(c*=Jn,u*=Jn,T=Math.cos(c)*h,B=Math.sin(c)*h,k=Math.sin(c-u)*-p,P=Math.cos(c-u)*p,u&&(d*=Jn,E=Math.tan(u-d),E=Math.sqrt(1+E*E),k*=E,P*=E,d&&(E=Math.tan(d),E=Math.sqrt(1+E*E),T*=E,B*=E)),T=Re(T),B=Re(B),k=Re(k),P=Re(P)):(T=h,P=p,B=k=0),(b&&!~(s+"").indexOf("px")||x&&!~(l+"").indexOf("px"))&&(b=un(_,"x",s,"px"),x=un(_,"y",l,"px")),(m||f||C||S)&&(b=Re(b+m-(m*T+f*k)+C),x=Re(x+f-(m*B+f*P)+S)),(o||i)&&(E=_.getBBox(),b=Re(b+o/100*E.width),x=Re(x+i/100*E.height)),E="matrix("+T+","+B+","+k+","+P+","+b+","+x+")",_.setAttribute("transform",E),M&&(_.style[Pe]=E)},Of=function(e,t,r,o,i){var s=360,l=Ye(i),c=parseFloat(i)*(l&&~i.indexOf("rad")?Pn:1),u=c-o,d=o+u+"deg",h,p;return l&&(h=i.split("_")[1],h==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),h==="cw"&&u<0?u=(u+s*gl)%s-~~(u/s)*s:h==="ccw"&&u>0&&(u=(u-s*gl)%s-~~(u/s)*s)),e._pt=p=new et(e._pt,t,r,o,u,mf),p.e=d,p.u="deg",e._props.push(r),p},Dl=function(e,t){for(var r in t)e[r]=t[r];return e},Df=function(e,t,r){var o=Dl({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,l,c,u,d,h,p,_,m;o.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),s[Pe]=t,l=Br(r,1),En(r,Pe),r.setAttribute("transform",u)):(u=getComputedStyle(r)[Pe],s[Pe]=t,l=Br(r,1),s[Pe]=u);for(c in qt)u=o[c],d=l[c],u!==d&&i.indexOf(c)<0&&(_=Ge(u),m=Ge(d),h=_!==m?un(r,c,u,m):parseFloat(u),p=parseFloat(d),e._pt=new et(e._pt,l,c,h,p-h,Fo),e._pt.u=m||0,e._props.push(c));Dl(l,o)};Je("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",o="Bottom",i="Left",s=(e<3?[t,r,o,i]:[t+i,t+r,o+r,o+i]).map(function(l){return e<2?n+l:"border"+l+n});aa[e>1?"border"+n:n]=function(l,c,u,d,h){var p,_;if(arguments.length<4)return p=s.map(function(m){return Zt(l,m,u)}),_=p.join(" "),_.split(p[0]).length===5?p[0]:_;p=(d+"").split(" "),_={},s.forEach(function(m,f){return _[m]=p[f]=p[f]||p[(f-1)/2|0]}),l.init(c,_,h)}});var Vl={name:"css",register:Ho,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,o,i){var s=this._props,l=e.style,c=r.vars.startAt,u,d,h,p,_,m,f,C,S,M,b,x,T,B,k,P;Ao||Ho(),this.styles=this.styles||Cl(e),P=this.styles.props,this.tween=r;for(f in t)if(f!=="autoRound"&&(d=t[f],!(st[f]&&il(f,t,r,o,e,i)))){if(_=typeof d,m=aa[f],_==="function"&&(d=d.call(r,o,e,i),_=typeof d),_==="string"&&~d.indexOf("random(")&&(d=Cr(d)),m)m(this,e,f,d,r)&&(k=1);else if(f.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(f)+"").trim(),d+="",sn.lastIndex=0,sn.test(u)||(C=Ge(u),S=Ge(d)),S?C!==S&&(u=un(e,f,u,S)+S):C&&(d+=C),this.add(l,"setProperty",u,d,o,i,0,0,f),s.push(f),P.push(f,0,l[f]);else if(_!=="undefined"){if(c&&f in c?(u=typeof c[f]=="function"?c[f].call(r,o,e,i):c[f],Ye(u)&&~u.indexOf("random(")&&(u=Cr(u)),Ge(u+"")||u==="auto"||(u+=ot.units[f]||Ge(Zt(e,f))||""),(u+"").charAt(1)==="="&&(u=Zt(e,f))):u=Zt(e,f),p=parseFloat(u),M=_==="string"&&d.charAt(1)==="="&&d.substr(0,2),M&&(d=d.substr(2)),h=parseFloat(d),f in Lt&&(f==="autoAlpha"&&(p===1&&Zt(e,"visibility")==="hidden"&&h&&(p=0),P.push("visibility",0,l.visibility),dn(this,l,"visibility",p?"inherit":"hidden",h?"inherit":"hidden",!h)),f!=="scale"&&f!=="transform"&&(f=Lt[f],~f.indexOf(",")&&(f=f.split(",")[0]))),b=f in qt,b){if(this.styles.save(f),x||(T=e._gsap,T.renderTransform&&!t.parseTransform||Br(e,t.parseTransform),B=t.smoothOrigin!==!1&&T.smooth,x=this._pt=new et(this._pt,l,Pe,0,1,T.renderTransform,T,0,-1),x.dep=1),f==="scale")this._pt=new et(this._pt,T,"scaleY",T.scaleY,(M?Un(T.scaleY,M+h):h)-T.scaleY||0,Fo),this._pt.u=0,s.push("scaleY",f),f+="X";else if(f==="transformOrigin"){P.push(nt,0,l[nt]),d=Bf(d),T.svg?jo(e,d,0,B,0,this):(S=parseFloat(d.split(" ")[2])||0,S!==T.zOrigin&&dn(this,T,"zOrigin",T.zOrigin,S),dn(this,l,f,oa(u),oa(d)));continue}else if(f==="svgOrigin"){jo(e,d,1,B,0,this);continue}else if(f in Pl){Of(this,T,f,p,M?Un(p,M+d):d);continue}else if(f==="smoothOrigin"){dn(this,T,"smooth",T.smooth,d);continue}else if(f==="force3D"){T[f]=d;continue}else if(f==="transform"){Df(this,d,e);continue}}else f in l||(f=tr(f)||f);if(b||(h||h===0)&&(p||p===0)&&!pf.test(d)&&f in l)C=(u+"").substr((p+"").length),h||(h=0),S=Ge(d)||(f in ot.units?ot.units[f]:C),C!==S&&(p=un(e,f,u,S)),this._pt=new et(this._pt,b?T:l,f,p,(M?Un(p,M+h):h)-p,!b&&(S==="px"||f==="zIndex")&&t.autoRound!==!1?gf:Fo),this._pt.u=S||0,C!==S&&S!=="%"&&(this._pt.b=u,this._pt.r=_f);else if(f in l)Tf.call(this,e,f,u,M?M+d:d);else if(f in e)this.add(e,f,u||e[f],M?M+d:d,o,i);else if(f!=="parseTransform"){ho(f,d);continue}b||(f in l?P.push(f,0,l[f]):P.push(f,1,u||e[f])),s.push(f)}}k&&hl(this)},render:function(e,t){if(t.tween._time||!No())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Zt,aliases:Lt,getSetter:function(e,t,r){var o=Lt[t];return o&&o.indexOf(",")<0&&(t=o),t in qt&&t!==nt&&(e._gsap.x||Zt(e,"x"))?r&&_l===r?t==="scale"?Cf:bf:(_l=r||{})&&(t==="scale"?kf:vf):e.style&&!oo(e.style[t])?yf:~t.indexOf("-")?wf:Eo(e,t)},core:{_removeProperty:En,_getMatrix:Yo}};tt.utils.checkPrefix=tr,tt.core.getStyleSaver=Cl,function(n,e,t,r){var o=Je(n+","+e+","+t,function(i){qt[i]=1});Je(e,function(i){ot.units[i]="deg",Pl[i]=1}),Lt[o[13]]=n+","+e,Je(r,function(i){var s=i.split(":");Lt[s[1]]=o[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"),Je("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){ot.units[n]="px"}),tt.registerPlugin(Vl);var hn=tt.registerPlugin(Vl)||tt;hn.core.Tween;const Vf={__name:"Confetti",setup(n){function e(r){let o=100,i=r.offsetWidth,s=r.offsetHeight;for(let d=0;d<o;d++){let h=document.createElement("div");h.classList.add("dot"),r.append(h),hn.set(h,{x:c(i),y:u(-100,100),opacity:1,scale:c(.5)+.5,backgroundColor:"hsl("+u(170,360)+",50%,50%)"}),l(h)}function l(d){hn.set(r,{display:"block"}),hn.to(r,{autoAlpha:1,duration:2,delay:1}),hn.to(d,c(5)+4,{y:s,ease:uf.easeNone,repeat:-1,delay:-5}),hn.to(d,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Lo.easeInOut}),hn.to(d,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Lo.easeInOut}),hn.to(d,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Lo.easeInOut})}function c(d){return Math.random()*d}function u(d,h){return d+Math.floor(Math.random()*(h-d))}}const t=a.ref(null);return a.onMounted(()=>{t.value&&e(t.value)}),(r,o)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"confetti",ref:t,class:"confetti"},null,512))}},Ll=n=>(a.pushScopeId("data-v-0213a2dd"),n=n(),a.popScopeId(),n),Lf={class:"sidebar-popup-container"},Af={class:"sidebar-popup__profile-info"},Nf=["src"],Rf={class:"sidebar-popup__profile-info__wrapper"},Ff={class:"sidebar-popup__profile-info__name"},If={class:"sidebar-popup__profile-info__e-mail"},Hf=Ll(()=>a.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),zf={class:"sidebar-popup__tabs"},Yf=["onClick"],jf={class:"sidebar-popup__tab__icon-wrapper"},qf={class:"sidebar-popup__tab__name"},Zf=Ll(()=>a.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),Uf={class:"sidebar-popup__actions-buttons"},Wf=ut({__name:"SidebarPopup",props:{activeSection:String,user:Object},emits:["logout"],setup(n,{emit:e}){const t=e,r=a.ref(!1),o=a.ref(null),i=a.reactive([{name:"charts",isActive:!0},{name:"futures",isActive:!1},{name:"spot",isActive:!1},{name:"trading terminal",isActive:!1}]),s=()=>{if(window!==void 0){const d=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${d}/settings/profile`,"_self")}},l=d=>{d.isActive&&window.open(`https://${d.name}.scope360.io/`)},c=()=>{r.value=!r.value},u=d=>{o.value&&!o.value.contains(d.target)&&c()};return a.onMounted(()=>{document.addEventListener("click",u)}),a.onUnmounted(()=>{document.removeEventListener("click",u)}),(d,h)=>(a.openBlock(),a.createElementBlock("div",Lf,[a.createElementVNode("div",{class:a.normalizeClass(["sidebar-popup-container__icon-wrapper",{"-is-active":r.value}]),onClick:a.withModifiers(c,["stop"]),name:"popup-icon-wrapper"},[a.createVNode(yt,{icon:"pop-up_opener"})],2),r.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:"sidebar-popup",ref_key:"popupRef",ref:o},[a.createElementVNode("div",Af,[a.createElementVNode("img",{src:n.user.image||"https://static.wixstatic.com/media/38bd8f_7eabf2bc8f4a452eb20de68e514f64ff~mv2.jpg/v1/fill/w_759,h_498,al_c/38bd8f_7eabf2bc8f4a452eb20de68e514f64ff~mv2.jpg",class:"sidebar-popup__profile-info__photo"},null,8,Nf),a.createElementVNode("div",Rf,[a.createElementVNode("div",Ff,a.toDisplayString(n.user.name),1),a.createElementVNode("div",If,a.toDisplayString(n.user.email),1)])]),Hf,a.createElementVNode("div",zf,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i,p=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["sidebar-popup__tab",{"-is-active":p.name===n.activeSection},{"-is-disable":!p.isActive}]),onClick:_=>l(p)},[a.createElementVNode("div",jf,[a.createVNode(yt,{icon:p.name.split(" ").join("_")},null,8,["icon"])]),a.createElementVNode("div",qf,a.toDisplayString(p.name),1)],10,Yf))),256))]),Zf,a.createElementVNode("div",Uf,[a.createElementVNode("div",{class:a.normalizeClass(["sidebar-popup__settings",{"-is-active":n.activeSection==="settings"}]),onClick:s}," Settings ",2),a.createElementVNode("div",{class:"sidebar-popup__logout",onClick:h[0]||(h[0]=p=>t("logout"))},"Log out")])],512)):a.createCommentVNode("",!0)]))}},[["__scopeId","data-v-0213a2dd"]]);/*! js-cookie v3.0.5 | MIT */function ia(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)n[r]=t[r]}return n}var Gf={read:function(n){return n[0]==='"'&&(n=n.slice(1,-1)),n.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(n){return encodeURIComponent(n).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Zo(n,e){function t(o,i,s){if(!(typeof document>"u")){s=ia({},e,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var c in s)s[c]&&(l+="; "+c,s[c]!==!0&&(l+="="+s[c].split(";")[0]));return document.cookie=o+"="+n.write(i,o)+l}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var i=document.cookie?document.cookie.split("; "):[],s={},l=0;l<i.length;l++){var c=i[l].split("="),u=c.slice(1).join("=");try{var d=decodeURIComponent(c[0]);if(s[d]=n.read(u,d),o===d)break}catch{}}return o?s[o]:s}}return Object.create({set:t,get:r,remove:function(o,i){t(o,"",ia({},i,{expires:-1}))},withAttributes:function(o){return Zo(this.converter,ia({},this.attributes,o))},withConverter:function(o){return Zo(ia({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(n)}})}var nr=Zo(Gf,{path:"/"});class dt{static setItem(e,t,r=Date.now()+31449600){nr.set(e,t,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io",expires:new Date(r*1e3),secure:!0,sameSite:"strict"})}static getItem(e){return nr.get(e)}static removeItem(e){nr.remove(e,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static clear(){const e=Object.keys(nr.get());for(const t of e)nr.remove(t,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static getAll(){return nr.get()}}function Al(n,e){return function(){return n.apply(e,arguments)}}const{toString:Kf}=Object.prototype,{getPrototypeOf:Uo}=Object,sa=(n=>e=>{const t=Kf.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),Nt=n=>(n=n.toLowerCase(),e=>sa(e)===n),la=n=>e=>typeof e===n,{isArray:rr}=Array,Er=la("undefined");function Xf(n){return n!==null&&!Er(n)&&n.constructor!==null&&!Er(n.constructor)&&_t(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const Nl=Nt("ArrayBuffer");function Qf(n){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(n):e=n&&n.buffer&&Nl(n.buffer),e}const Jf=la("string"),_t=la("function"),Rl=la("number"),ca=n=>n!==null&&typeof n=="object",e3=n=>n===!0||n===!1,da=n=>{if(sa(n)!=="object")return!1;const e=Uo(n);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},t3=Nt("Date"),n3=Nt("File"),r3=Nt("Blob"),a3=Nt("FileList"),o3=n=>ca(n)&&_t(n.pipe),i3=n=>{let e;return n&&(typeof FormData=="function"&&n instanceof FormData||_t(n.append)&&((e=sa(n))==="formdata"||e==="object"&&_t(n.toString)&&n.toString()==="[object FormData]"))},s3=Nt("URLSearchParams"),l3=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function $r(n,e,{allOwnKeys:t=!1}={}){if(n===null||typeof n>"u")return;let r,o;if(typeof n!="object"&&(n=[n]),rr(n))for(r=0,o=n.length;r<o;r++)e.call(null,n[r],r,n);else{const i=t?Object.getOwnPropertyNames(n):Object.keys(n),s=i.length;let l;for(r=0;r<s;r++)l=i[r],e.call(null,n[l],l,n)}}function Fl(n,e){e=e.toLowerCase();const t=Object.keys(n);let r=t.length,o;for(;r-- >0;)if(o=t[r],e===o.toLowerCase())return o;return null}const Il=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Hl=n=>!Er(n)&&n!==Il;function Wo(){const{caseless:n}=Hl(this)&&this||{},e={},t=(r,o)=>{const i=n&&Fl(e,o)||o;da(e[i])&&da(r)?e[i]=Wo(e[i],r):da(r)?e[i]=Wo({},r):rr(r)?e[i]=r.slice():e[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&$r(arguments[r],t);return e}const c3=(n,e,t,{allOwnKeys:r}={})=>($r(e,(o,i)=>{t&&_t(o)?n[i]=Al(o,t):n[i]=o},{allOwnKeys:r}),n),d3=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),u3=(n,e,t,r)=>{n.prototype=Object.create(e.prototype,r),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:e.prototype}),t&&Object.assign(n.prototype,t)},h3=(n,e,t,r)=>{let o,i,s;const l={};if(e=e||{},n==null)return e;do{for(o=Object.getOwnPropertyNames(n),i=o.length;i-- >0;)s=o[i],(!r||r(s,n,e))&&!l[s]&&(e[s]=n[s],l[s]=!0);n=t!==!1&&Uo(n)}while(n&&(!t||t(n,e))&&n!==Object.prototype);return e},f3=(n,e,t)=>{n=String(n),(t===void 0||t>n.length)&&(t=n.length),t-=e.length;const r=n.indexOf(e,t);return r!==-1&&r===t},p3=n=>{if(!n)return null;if(rr(n))return n;let e=n.length;if(!Rl(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=n[e];return t},m3=(n=>e=>n&&e instanceof n)(typeof Uint8Array<"u"&&Uo(Uint8Array)),_3=(n,e)=>{const r=(n&&n[Symbol.iterator]).call(n);let o;for(;(o=r.next())&&!o.done;){const i=o.value;e.call(n,i[0],i[1])}},g3=(n,e)=>{let t;const r=[];for(;(t=n.exec(e))!==null;)r.push(t);return r},y3=Nt("HTMLFormElement"),w3=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,o){return r.toUpperCase()+o}),zl=(({hasOwnProperty:n})=>(e,t)=>n.call(e,t))(Object.prototype),b3=Nt("RegExp"),Yl=(n,e)=>{const t=Object.getOwnPropertyDescriptors(n),r={};$r(t,(o,i)=>{let s;(s=e(o,i,n))!==!1&&(r[i]=s||o)}),Object.defineProperties(n,r)},C3=n=>{Yl(n,(e,t)=>{if(_t(n)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const r=n[t];if(_t(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},k3=(n,e)=>{const t={},r=o=>{o.forEach(i=>{t[i]=!0})};return rr(n)?r(n):r(String(n).split(e)),t},v3=()=>{},x3=(n,e)=>(n=+n,Number.isFinite(n)?n:e),Go="abcdefghijklmnopqrstuvwxyz",jl="0123456789",ql={DIGIT:jl,ALPHA:Go,ALPHA_DIGIT:Go+Go.toUpperCase()+jl},M3=(n=16,e=ql.ALPHA_DIGIT)=>{let t="";const{length:r}=e;for(;n--;)t+=e[Math.random()*r|0];return t};function S3(n){return!!(n&&_t(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}const T3=n=>{const e=new Array(10),t=(r,o)=>{if(ca(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const i=rr(r)?[]:{};return $r(r,(s,l)=>{const c=t(s,o+1);!Er(c)&&(i[l]=c)}),e[o]=void 0,i}}return r};return t(n,0)},B3=Nt("AsyncFunction"),z={isArray:rr,isArrayBuffer:Nl,isBuffer:Xf,isFormData:i3,isArrayBufferView:Qf,isString:Jf,isNumber:Rl,isBoolean:e3,isObject:ca,isPlainObject:da,isUndefined:Er,isDate:t3,isFile:n3,isBlob:r3,isRegExp:b3,isFunction:_t,isStream:o3,isURLSearchParams:s3,isTypedArray:m3,isFileList:a3,forEach:$r,merge:Wo,extend:c3,trim:l3,stripBOM:d3,inherits:u3,toFlatObject:h3,kindOf:sa,kindOfTest:Nt,endsWith:f3,toArray:p3,forEachEntry:_3,matchAll:g3,isHTMLForm:y3,hasOwnProperty:zl,hasOwnProp:zl,reduceDescriptors:Yl,freezeMethods:C3,toObjectSet:k3,toCamelCase:w3,noop:v3,toFiniteNumber:x3,findKey:Fl,global:Il,isContextDefined:Hl,ALPHABET:ql,generateString:M3,isSpecCompliantForm:S3,toJSONObject:T3,isAsyncFn:B3,isThenable:n=>n&&(ca(n)||_t(n))&&_t(n.then)&&_t(n.catch)};function me(n,e,t,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),r&&(this.request=r),o&&(this.response=o)}z.inherits(me,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Zl=me.prototype,Ul={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{Ul[n]={value:n}}),Object.defineProperties(me,Ul),Object.defineProperty(Zl,"isAxiosError",{value:!0}),me.from=(n,e,t,r,o,i)=>{const s=Object.create(Zl);return z.toFlatObject(n,s,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),me.call(s,n.message,e,t,r,o),s.cause=n,s.name=n.name,i&&Object.assign(s,i),s};const P3=null;function Ko(n){return z.isPlainObject(n)||z.isArray(n)}function Wl(n){return z.endsWith(n,"[]")?n.slice(0,-2):n}function Gl(n,e,t){return n?n.concat(e).map(function(o,i){return o=Wl(o),!t&&i?"["+o+"]":o}).join(t?".":""):e}function E3(n){return z.isArray(n)&&!n.some(Ko)}const $3=z.toFlatObject(z,{},null,function(e){return/^is[A-Z]/.test(e)});function ua(n,e,t){if(!z.isObject(n))throw new TypeError("target must be an object");e=e||new FormData,t=z.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,C){return!z.isUndefined(C[f])});const r=t.metaTokens,o=t.visitor||d,i=t.dots,s=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(e);if(!z.isFunction(o))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(z.isDate(m))return m.toISOString();if(!c&&z.isBlob(m))throw new me("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(m)||z.isTypedArray(m)?c&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,f,C){let S=m;if(m&&!C&&typeof m=="object"){if(z.endsWith(f,"{}"))f=r?f:f.slice(0,-2),m=JSON.stringify(m);else if(z.isArray(m)&&E3(m)||(z.isFileList(m)||z.endsWith(f,"[]"))&&(S=z.toArray(m)))return f=Wl(f),S.forEach(function(b,x){!(z.isUndefined(b)||b===null)&&e.append(s===!0?Gl([f],x,i):s===null?f:f+"[]",u(b))}),!1}return Ko(m)?!0:(e.append(Gl(C,f,i),u(m)),!1)}const h=[],p=Object.assign($3,{defaultVisitor:d,convertValue:u,isVisitable:Ko});function _(m,f){if(!z.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+f.join("."));h.push(m),z.forEach(m,function(S,M){(!(z.isUndefined(S)||S===null)&&o.call(e,S,z.isString(M)?M.trim():M,f,p))===!0&&_(S,f?f.concat(M):[M])}),h.pop()}}if(!z.isObject(n))throw new TypeError("data must be an object");return _(n),e}function Kl(n){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Xo(n,e){this._pairs=[],n&&ua(n,this,e)}const Xl=Xo.prototype;Xl.append=function(e,t){this._pairs.push([e,t])},Xl.toString=function(e){const t=e?function(r){return e.call(this,r,Kl)}:Kl;return this._pairs.map(function(o){return t(o[0])+"="+t(o[1])},"").join("&")};function O3(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ql(n,e,t){if(!e)return n;const r=t&&t.encode||O3,o=t&&t.serialize;let i;if(o?i=o(e,t):i=z.isURLSearchParams(e)?e.toString():new Xo(e,t).toString(r),i){const s=n.indexOf("#");s!==-1&&(n=n.slice(0,s)),n+=(n.indexOf("?")===-1?"?":"&")+i}return n}class Jl{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){z.forEach(this.handlers,function(r){r!==null&&e(r)})}}const e1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},D3={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Xo,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},t1=typeof window<"u"&&typeof document<"u",V3=(n=>t1&&["ReactNative","NativeScript","NS"].indexOf(n)<0)(typeof navigator<"u"&&navigator.product),L3=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Rt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:t1,hasStandardBrowserEnv:V3,hasStandardBrowserWebWorkerEnv:L3},Symbol.toStringTag,{value:"Module"})),...D3};function A3(n,e){return ua(n,new Rt.classes.URLSearchParams,Object.assign({visitor:function(t,r,o,i){return Rt.isNode&&z.isBuffer(t)?(this.append(r,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function N3(n){return z.matchAll(/\w+|\[(\w*)]/g,n).map(e=>e[0]==="[]"?"":e[1]||e[0])}function R3(n){const e={},t=Object.keys(n);let r;const o=t.length;let i;for(r=0;r<o;r++)i=t[r],e[i]=n[i];return e}function n1(n){function e(t,r,o,i){let s=t[i++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),c=i>=t.length;return s=!s&&z.isArray(o)?o.length:s,c?(z.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!z.isObject(o[s]))&&(o[s]=[]),e(t,r,o[s],i)&&z.isArray(o[s])&&(o[s]=R3(o[s])),!l)}if(z.isFormData(n)&&z.isFunction(n.entries)){const t={};return z.forEachEntry(n,(r,o)=>{e(N3(r),o,t,0)}),t}return null}function F3(n,e,t){if(z.isString(n))try{return(e||JSON.parse)(n),z.trim(n)}catch(r){if(r.name!=="SyntaxError")throw r}return(t||JSON.stringify)(n)}const Qo={transitional:e1,adapter:["xhr","http"],transformRequest:[function(e,t){const r=t.getContentType()||"",o=r.indexOf("application/json")>-1,i=z.isObject(e);if(i&&z.isHTMLForm(e)&&(e=new FormData(e)),z.isFormData(e))return o?JSON.stringify(n1(e)):e;if(z.isArrayBuffer(e)||z.isBuffer(e)||z.isStream(e)||z.isFile(e)||z.isBlob(e))return e;if(z.isArrayBufferView(e))return e.buffer;if(z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return A3(e,this.formSerializer).toString();if((l=z.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ua(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),F3(e)):e}],transformResponse:[function(e){const t=this.transitional||Qo.transitional,r=t&&t.forcedJSONParsing,o=this.responseType==="json";if(e&&z.isString(e)&&(r&&!this.responseType||o)){const s=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(l){if(s)throw l.name==="SyntaxError"?me.from(l,me.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Rt.classes.FormData,Blob:Rt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],n=>{Qo.headers[n]={}});const Jo=Qo,I3=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),H3=n=>{const e={};let t,r,o;return n&&n.split(`
18
18
  `).forEach(function(s){o=s.indexOf(":"),t=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!t||e[t]&&I3[t])&&(t==="set-cookie"?e[t]?e[t].push(r):e[t]=[r]:e[t]=e[t]?e[t]+", "+r:r)}),e},r1=Symbol("internals");function Or(n){return n&&String(n).trim().toLowerCase()}function ha(n){return n===!1||n==null?n:z.isArray(n)?n.map(ha):String(n)}function z3(n){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=t.exec(n);)e[r[1]]=r[2];return e}const Y3=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function ei(n,e,t,r,o){if(z.isFunction(r))return r.call(this,e,t);if(o&&(e=t),!!z.isString(e)){if(z.isString(r))return e.indexOf(r)!==-1;if(z.isRegExp(r))return r.test(e)}}function j3(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}function q3(n,e){const t=z.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(n,r+t,{value:function(o,i,s){return this[r].call(this,e,o,i,s)},configurable:!0})})}class fa{constructor(e){e&&this.set(e)}set(e,t,r){const o=this;function i(l,c,u){const d=Or(c);if(!d)throw new Error("header name must be a non-empty string");const h=z.findKey(o,d);(!h||o[h]===void 0||u===!0||u===void 0&&o[h]!==!1)&&(o[h||c]=ha(l))}const s=(l,c)=>z.forEach(l,(u,d)=>i(u,d,c));return z.isPlainObject(e)||e instanceof this.constructor?s(e,t):z.isString(e)&&(e=e.trim())&&!Y3(e)?s(H3(e),t):e!=null&&i(t,e,r),this}get(e,t){if(e=Or(e),e){const r=z.findKey(this,e);if(r){const o=this[r];if(!t)return o;if(t===!0)return z3(o);if(z.isFunction(t))return t.call(this,o,r);if(z.isRegExp(t))return t.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Or(e),e){const r=z.findKey(this,e);return!!(r&&this[r]!==void 0&&(!t||ei(this,this[r],r,t)))}return!1}delete(e,t){const r=this;let o=!1;function i(s){if(s=Or(s),s){const l=z.findKey(r,s);l&&(!t||ei(r,r[l],l,t))&&(delete r[l],o=!0)}}return z.isArray(e)?e.forEach(i):i(e),o}clear(e){const t=Object.keys(this);let r=t.length,o=!1;for(;r--;){const i=t[r];(!e||ei(this,this[i],i,e,!0))&&(delete this[i],o=!0)}return o}normalize(e){const t=this,r={};return z.forEach(this,(o,i)=>{const s=z.findKey(r,i);if(s){t[s]=ha(o),delete t[i];return}const l=e?j3(i):String(i).trim();l!==i&&delete t[i],t[l]=ha(o),r[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return z.forEach(this,(r,o)=>{r!=null&&r!==!1&&(t[o]=e&&z.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(`
19
19
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach(o=>r.set(o)),r}static accessor(e){const r=(this[r1]=this[r1]={accessors:{}}).accessors,o=this.prototype;function i(s){const l=Or(s);r[l]||(q3(o,s),r[l]=!0)}return z.isArray(e)?e.forEach(i):i(e),this}}fa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),z.reduceDescriptors(fa.prototype,({value:n},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>n,set(r){this[t]=r}}}),z.freezeMethods(fa);const Ut=fa;function ti(n,e){const t=this||Jo,r=e||t,o=Ut.from(r.headers);let i=r.data;return z.forEach(n,function(l){i=l.call(t,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function a1(n){return!!(n&&n.__CANCEL__)}function Dr(n,e,t){me.call(this,n??"canceled",me.ERR_CANCELED,e,t),this.name="CanceledError"}z.inherits(Dr,me,{__CANCEL__:!0});function Z3(n,e,t){const r=t.config.validateStatus;!t.status||!r||r(t.status)?n(t):e(new me("Request failed with status code "+t.status,[me.ERR_BAD_REQUEST,me.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}const U3=Rt.hasStandardBrowserEnv?{write(n,e,t,r,o,i){const s=[n+"="+encodeURIComponent(e)];z.isNumber(t)&&s.push("expires="+new Date(t).toGMTString()),z.isString(r)&&s.push("path="+r),z.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(n){const e=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function W3(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function G3(n,e){return e?n.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):n}function o1(n,e){return n&&!W3(e)?G3(n,e):e}const K3=Rt.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let r;function o(i){let s=i;return e&&(t.setAttribute("href",s),s=t.href),t.setAttribute("href",s),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return r=o(window.location.href),function(s){const l=z.isString(s)?o(s):s;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function X3(n){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return e&&e[1]||""}function Q3(n,e){n=n||10;const t=new Array(n),r=new Array(n);let o=0,i=0,s;return e=e!==void 0?e:1e3,function(c){const u=Date.now(),d=r[i];s||(s=u),t[o]=c,r[o]=u;let h=i,p=0;for(;h!==o;)p+=t[h++],h=h%n;if(o=(o+1)%n,o===i&&(i=(i+1)%n),u-s<e)return;const _=d&&u-d;return _?Math.round(p*1e3/_):void 0}}function i1(n,e){let t=0;const r=Q3(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,l=i-t,c=r(l),u=i<=s;t=i;const d={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-i)/c:void 0,event:o};d[e?"download":"upload"]=!0,n(d)}}const ni={http:P3,xhr:typeof XMLHttpRequest<"u"&&function(n){return new Promise(function(t,r){let o=n.data;const i=Ut.from(n.headers).normalize();let{responseType:s,withXSRFToken:l}=n,c;function u(){n.cancelToken&&n.cancelToken.unsubscribe(c),n.signal&&n.signal.removeEventListener("abort",c)}let d;if(z.isFormData(o)){if(Rt.hasStandardBrowserEnv||Rt.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((d=i.getContentType())!==!1){const[f,...C]=d?d.split(";").map(S=>S.trim()).filter(Boolean):[];i.setContentType([f||"multipart/form-data",...C].join("; "))}}let h=new XMLHttpRequest;if(n.auth){const f=n.auth.username||"",C=n.auth.password?unescape(encodeURIComponent(n.auth.password)):"";i.set("Authorization","Basic "+btoa(f+":"+C))}const p=o1(n.baseURL,n.url);h.open(n.method.toUpperCase(),Ql(p,n.params,n.paramsSerializer),!0),h.timeout=n.timeout;function _(){if(!h)return;const f=Ut.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),S={data:!s||s==="text"||s==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:f,config:n,request:h};Z3(function(b){t(b),u()},function(b){r(b),u()},S),h=null}if("onloadend"in h?h.onloadend=_:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(_)},h.onabort=function(){h&&(r(new me("Request aborted",me.ECONNABORTED,n,h)),h=null)},h.onerror=function(){r(new me("Network Error",me.ERR_NETWORK,n,h)),h=null},h.ontimeout=function(){let C=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const S=n.transitional||e1;n.timeoutErrorMessage&&(C=n.timeoutErrorMessage),r(new me(C,S.clarifyTimeoutError?me.ETIMEDOUT:me.ECONNABORTED,n,h)),h=null},Rt.hasStandardBrowserEnv&&(l&&z.isFunction(l)&&(l=l(n)),l||l!==!1&&K3(p))){const f=n.xsrfHeaderName&&n.xsrfCookieName&&U3.read(n.xsrfCookieName);f&&i.set(n.xsrfHeaderName,f)}o===void 0&&i.setContentType(null),"setRequestHeader"in h&&z.forEach(i.toJSON(),function(C,S){h.setRequestHeader(S,C)}),z.isUndefined(n.withCredentials)||(h.withCredentials=!!n.withCredentials),s&&s!=="json"&&(h.responseType=n.responseType),typeof n.onDownloadProgress=="function"&&h.addEventListener("progress",i1(n.onDownloadProgress,!0)),typeof n.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",i1(n.onUploadProgress)),(n.cancelToken||n.signal)&&(c=f=>{h&&(r(!f||f.type?new Dr(null,n,h):f),h.abort(),h=null)},n.cancelToken&&n.cancelToken.subscribe(c),n.signal&&(n.signal.aborted?c():n.signal.addEventListener("abort",c)));const m=X3(p);if(m&&Rt.protocols.indexOf(m)===-1){r(new me("Unsupported protocol "+m+":",me.ERR_BAD_REQUEST,n));return}h.send(o||null)})}};z.forEach(ni,(n,e)=>{if(n){try{Object.defineProperty(n,"name",{value:e})}catch{}Object.defineProperty(n,"adapterName",{value:e})}});const s1=n=>`- ${n}`,J3=n=>z.isFunction(n)||n===null||n===!1,l1={getAdapter:n=>{n=z.isArray(n)?n:[n];const{length:e}=n;let t,r;const o={};for(let i=0;i<e;i++){t=n[i];let s;if(r=t,!J3(t)&&(r=ni[(s=String(t)).toLowerCase()],r===void 0))throw new me(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+i]=r}if(!r){const i=Object.entries(o).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=e?i.length>1?`since :
20
20
  `+i.map(s1).join(`