You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
767 lines
1.0 MiB
767 lines
1.0 MiB
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./jsx-DuZiukum-Ci4WOsQs.js","./index-bVOhw2NF.js","./index-DB_sRdQO.css"])))=>i.map(i=>d[i]);
|
|
import{s as Pt,c as os,ap as Su,D as Dv,Y as NT,d as nn,aq as Fv,ar as Bv,al as Go,P as bd,B as OT,o as At,b as Ht,q as Ks,w as Kh,E as $v,t as zs,_ as Jp,i as fi,e as ft,M as Ed,h as jv,n as Td,y as ic,z as Kp,K as Ln,u as Ge,k as Kr,F as di,r as Uv,f as ko,g as Yr,N as LT,T as RT,v as MT,x as DT,a5 as FT,an as xd}from"./index-bVOhw2NF.js";const Ei=Symbol("props"),qv=Symbol("preview-ref");var Mt=Uint8Array,br=Uint16Array,Yp=Int32Array,oc=new Mt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),ac=new Mt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Yh=new Mt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Vv=function(e,t){for(var r=new br(31),s=0;s<31;++s)r[s]=t+=1<<e[s-1];for(var i=new Yp(r[30]),s=1;s<30;++s)for(var o=r[s];o<r[s+1];++o)i[o]=o-r[s]<<5|s;return{b:r,r:i}},Wv=Vv(oc,2),Gv=Wv.b,Qh=Wv.r;Gv[28]=258,Qh[258]=28;var zv=Vv(ac,0),BT=zv.b,kd=zv.r,Zh=new br(32768);for(var yt=0;yt<32768;++yt){var Us=(yt&43690)>>1|(yt&21845)<<1;Us=(Us&52428)>>2|(Us&13107)<<2,Us=(Us&61680)>>4|(Us&3855)<<4,Zh[yt]=((Us&65280)>>8|(Us&255)<<8)>>1}var as=function(e,t,r){for(var s=e.length,i=0,o=new br(t);i<s;++i)e[i]&&++o[e[i]-1];var a=new br(t);for(i=1;i<t;++i)a[i]=a[i-1]+o[i-1]<<1;var h;if(r){h=new br(1<<t);var l=15-t;for(i=0;i<s;++i)if(e[i])for(var f=i<<4|e[i],d=t-e[i],g=a[e[i]-1]++<<d,y=g|(1<<d)-1;g<=y;++g)h[Zh[g]>>l]=f}else for(h=new br(s),i=0;i<s;++i)e[i]&&(h[i]=Zh[a[e[i]-1]++]>>15-e[i]);return h},en=new Mt(288);for(var yt=0;yt<144;++yt)en[yt]=8;for(var yt=144;yt<256;++yt)en[yt]=9;for(var yt=256;yt<280;++yt)en[yt]=7;for(var yt=280;yt<288;++yt)en[yt]=8;var Po=new Mt(32);for(var yt=0;yt<32;++yt)Po[yt]=5;var $T=as(en,9,0),jT=as(en,9,1),UT=as(Po,5,0),qT=as(Po,5,1),_u=function(e){for(var t=e[0],r=1;r<e.length;++r)e[r]>t&&(t=e[r]);return t},Rr=function(e,t,r){var s=t/8|0;return(e[s]|e[s+1]<<8)>>(t&7)&r},wu=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(t&7)},Qp=function(e){return(e+7)/8|0},lc=function(e,t,r){return(t==null||t<0)&&(t=0),(r==null||r>e.length)&&(r=e.length),new Mt(e.subarray(t,r))},VT=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Or=function(e,t,r){var s=new Error(t||VT[e]);if(s.code=e,Error.captureStackTrace&&Error.captureStackTrace(s,Or),!r)throw s;return s},WT=function(e,t,r,s){var i=e.length,o=0;if(!i||t.f&&!t.l)return r||new Mt(0);var a=!r,h=a||t.i!=2,l=t.i;a&&(r=new Mt(i*3));var f=function(pe){var ve=r.length;if(pe>ve){var xe=new Mt(Math.max(ve*2,pe));xe.set(r),r=xe}},d=t.f||0,g=t.p||0,y=t.b||0,v=t.l,w=t.d,_=t.m,S=t.n,k=i*8;do{if(!v){d=Rr(e,g,1);var E=Rr(e,g+1,3);if(g+=3,E)if(E==1)v=jT,w=qT,_=9,S=5;else if(E==2){var M=Rr(e,g,31)+257,F=Rr(e,g+10,15)+4,x=M+Rr(e,g+5,31)+1;g+=14;for(var I=new Mt(x),R=new Mt(19),L=0;L<F;++L)R[Yh[L]]=Rr(e,g+L*3,7);g+=F*3;for(var z=_u(R),J=(1<<z)-1,re=as(R,z,1),L=0;L<x;){var V=re[Rr(e,g,J)];g+=V&15;var P=V>>4;if(P<16)I[L++]=P;else{var ee=0,G=0;for(P==16?(G=3+Rr(e,g,3),g+=2,ee=I[L-1]):P==17?(G=3+Rr(e,g,7),g+=3):P==18&&(G=11+Rr(e,g,127),g+=7);G--;)I[L++]=ee}}var Q=I.subarray(0,M),ie=I.subarray(M);_=_u(Q),S=_u(ie),v=as(Q,_,1),w=as(ie,S,1)}else Or(1);else{var P=Qp(g)+4,O=e[P-4]|e[P-3]<<8,A=P+O;if(A>i){l&&Or(0);break}h&&f(y+O),r.set(e.subarray(P,A),y),t.b=y+=O,t.p=g=A*8,t.f=d;continue}if(g>k){l&&Or(0);break}}h&&f(y+131072);for(var ce=(1<<_)-1,ne=(1<<S)-1,W=g;;W=g){var ee=v[wu(e,g)&ce],K=ee>>4;if(g+=ee&15,g>k){l&&Or(0);break}if(ee||Or(2),K<256)r[y++]=K;else if(K==256){W=g,v=null;break}else{var j=K-254;if(K>264){var L=K-257,B=oc[L];j=Rr(e,g,(1<<B)-1)+Gv[L],g+=B}var Z=w[wu(e,g)&ne],U=Z>>4;Z||Or(3),g+=Z&15;var ie=BT[U];if(U>3){var B=ac[U];ie+=wu(e,g)&(1<<B)-1,g+=B}if(g>k){l&&Or(0);break}h&&f(y+131072);var se=y+j;if(y<ie){var ae=o-ie,de=Math.min(ie,se);for(ae+y<0&&Or(3);y<de;++y)r[y]=s[ae+y]}for(;y<se;++y)r[y]=r[y-ie]}}t.l=v,t.p=W,t.b=y,t.f=d,v&&(d=1,t.m=_,t.d=w,t.n=S)}while(!d);return y!=r.length&&a?lc(r,0,y):r.subarray(0,y)},_s=function(e,t,r){r<<=t&7;var s=t/8|0;e[s]|=r,e[s+1]|=r>>8},Xi=function(e,t,r){r<<=t&7;var s=t/8|0;e[s]|=r,e[s+1]|=r>>8,e[s+2]|=r>>16},bu=function(e,t){for(var r=[],s=0;s<e.length;++s)e[s]&&r.push({s,f:e[s]});var i=r.length,o=r.slice();if(!i)return{t:Xv,l:0};if(i==1){var a=new Mt(r[0].s+1);return a[r[0].s]=1,{t:a,l:1}}r.sort(function(A,M){return A.f-M.f}),r.push({s:-1,f:25001});var h=r[0],l=r[1],f=0,d=1,g=2;for(r[0]={s:-1,f:h.f+l.f,l:h,r:l};d!=i-1;)h=r[r[f].f<r[g].f?f++:g++],l=r[f!=d&&r[f].f<r[g].f?f++:g++],r[d++]={s:-1,f:h.f+l.f,l:h,r:l};for(var y=o[0].s,s=1;s<i;++s)o[s].s>y&&(y=o[s].s);var v=new br(y+1),w=ep(r[d-1],v,0);if(w>t){var s=0,_=0,S=w-t,k=1<<S;for(o.sort(function(M,F){return v[F.s]-v[M.s]||M.f-F.f});s<i;++s){var E=o[s].s;if(v[E]>t)_+=k-(1<<w-v[E]),v[E]=t;else break}for(_>>=S;_>0;){var P=o[s].s;v[P]<t?_-=1<<t-v[P]++-1:++s}for(;s>=0&&_;--s){var O=o[s].s;v[O]==t&&(--v[O],++_)}w=t}return{t:new Mt(v),l:w}},ep=function(e,t,r){return e.s==-1?Math.max(ep(e.l,t,r+1),ep(e.r,t,r+1)):t[e.s]=r},Pd=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new br(++t),s=0,i=e[0],o=1,a=function(l){r[s++]=l},h=1;h<=t;++h)if(e[h]==i&&h!=t)++o;else{if(!i&&o>2){for(;o>138;o-=138)a(32754);o>2&&(a(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(a(i),--o;o>6;o-=6)a(8304);o>2&&(a(o-3<<5|8208),o=0)}for(;o--;)a(i);o=1,i=e[h]}return{c:r.subarray(0,s),n:t}},Ji=function(e,t){for(var r=0,s=0;s<t.length;++s)r+=e[s]*t[s];return r},Hv=function(e,t,r){var s=r.length,i=Qp(t+2);e[i]=s&255,e[i+1]=s>>8,e[i+2]=e[i]^255,e[i+3]=e[i+1]^255;for(var o=0;o<s;++o)e[i+o+4]=r[o];return(i+4+s)*8},Ad=function(e,t,r,s,i,o,a,h,l,f,d){_s(t,d++,r),++i[256];for(var g=bu(i,15),y=g.t,v=g.l,w=bu(o,15),_=w.t,S=w.l,k=Pd(y),E=k.c,P=k.n,O=Pd(_),A=O.c,M=O.n,F=new br(19),x=0;x<E.length;++x)++F[E[x]&31];for(var x=0;x<A.length;++x)++F[A[x]&31];for(var I=bu(F,7),R=I.t,L=I.l,z=19;z>4&&!R[Yh[z-1]];--z);var J=f+5<<3,re=Ji(i,en)+Ji(o,Po)+a,V=Ji(i,y)+Ji(o,_)+a+14+3*z+Ji(F,R)+2*F[16]+3*F[17]+7*F[18];if(l>=0&&J<=re&&J<=V)return Hv(t,d,e.subarray(l,l+f));var ee,G,Q,ie;if(_s(t,d,1+(V<re)),d+=2,V<re){ee=as(y,v,0),G=y,Q=as(_,S,0),ie=_;var ce=as(R,L,0);_s(t,d,P-257),_s(t,d+5,M-1),_s(t,d+10,z-4),d+=14;for(var x=0;x<z;++x)_s(t,d+3*x,R[Yh[x]]);d+=3*z;for(var ne=[E,A],W=0;W<2;++W)for(var K=ne[W],x=0;x<K.length;++x){var j=K[x]&31;_s(t,d,ce[j]),d+=R[j],j>15&&(_s(t,d,K[x]>>5&127),d+=K[x]>>12)}}else ee=$T,G=en,Q=UT,ie=Po;for(var x=0;x<h;++x){var B=s[x];if(B>255){var j=B>>18&31;Xi(t,d,ee[j+257]),d+=G[j+257],j>7&&(_s(t,d,B>>23&31),d+=oc[j]);var Z=B&31;Xi(t,d,Q[Z]),d+=ie[Z],Z>3&&(Xi(t,d,B>>5&8191),d+=ac[Z])}else Xi(t,d,ee[B]),d+=G[B]}return Xi(t,d,ee[256]),d+G[256]},GT=new Yp([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Xv=new Mt(0),zT=function(e,t,r,s,i,o){var a=o.z||e.length,h=new Mt(s+a+5*(1+Math.ceil(a/7e3))+i),l=h.subarray(s,h.length-i),f=o.l,d=(o.r||0)&7;if(t){d&&(l[0]=o.r>>3);for(var g=GT[t-1],y=g>>13,v=g&8191,w=(1<<r)-1,_=o.p||new br(32768),S=o.h||new br(w+1),k=Math.ceil(r/3),E=2*k,P=function(we){return(e[we]^e[we+1]<<k^e[we+2]<<E)&w},O=new Yp(25e3),A=new br(288),M=new br(32),F=0,x=0,I=o.i||0,R=0,L=o.w||0,z=0;I+2<a;++I){var J=P(I),re=I&32767,V=S[J];if(_[re]=V,S[J]=re,L<=I){var ee=a-I;if((F>7e3||R>24576)&&(ee>423||!f)){d=Ad(e,l,0,O,A,M,x,R,z,I-z,d),R=F=x=0,z=I;for(var G=0;G<286;++G)A[G]=0;for(var G=0;G<30;++G)M[G]=0}var Q=2,ie=0,ce=v,ne=re-V&32767;if(ee>2&&J==P(I-ne))for(var W=Math.min(y,ee)-1,K=Math.min(32767,I),j=Math.min(258,ee);ne<=K&&--ce&&re!=V;){if(e[I+Q]==e[I+Q-ne]){for(var B=0;B<j&&e[I+B]==e[I+B-ne];++B);if(B>Q){if(Q=B,ie=ne,B>W)break;for(var Z=Math.min(ne,B-2),U=0,G=0;G<Z;++G){var se=I-ne+G&32767,ae=_[se],de=se-ae&32767;de>U&&(U=de,V=se)}}}re=V,V=_[re],ne+=re-V&32767}if(ie){O[R++]=268435456|Qh[Q]<<18|kd[ie];var pe=Qh[Q]&31,ve=kd[ie]&31;x+=oc[pe]+ac[ve],++A[257+pe],++M[ve],L=I+Q,++F}else O[R++]=e[I],++A[e[I]]}}for(I=Math.max(I,L);I<a;++I)O[R++]=e[I],++A[e[I]];d=Ad(e,l,f,O,A,M,x,R,z,I-z,d),f||(o.r=d&7|l[d/8|0]<<3,d-=7,o.h=S,o.p=_,o.i=I,o.w=L)}else{for(var I=o.w||0;I<a+f;I+=65535){var xe=I+65535;xe>=a&&(l[d/8|0]=f,xe=a),d=Hv(l,d+1,e.subarray(I,xe))}o.i=a}return lc(h,0,s+Qp(d)+i)},Jv=function(){var e=1,t=0;return{p:function(r){for(var s=e,i=t,o=r.length|0,a=0;a!=o;){for(var h=Math.min(a+2655,o);a<h;++a)i+=s+=r[a];s=(s&65535)+15*(s>>16),i=(i&65535)+15*(i>>16)}e=s,t=i},d:function(){return e%=65521,t%=65521,(e&255)<<24|(e&65280)<<8|(t&255)<<8|t>>8}}},HT=function(e,t,r,s,i){if(!i&&(i={l:1},t.dictionary)){var o=t.dictionary.subarray(-32768),a=new Mt(o.length+e.length);a.set(o),a.set(e,o.length),e=a,i.w=o.length}return zT(e,t.level==null?6:t.level,t.mem==null?i.l?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):20:12+t.mem,r,s,i)},Kv=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},XT=function(e,t){var r=t.level,s=r==0?0:r<6?1:r==9?3:2;if(e[0]=120,e[1]=s<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var i=Jv();i.p(t.dictionary),Kv(e,2,i.d())}},JT=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&Or(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&Or(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function KT(e,t){t||(t={});var r=Jv();r.p(e);var s=HT(e,t,t.dictionary?6:2,4);return XT(s,t),Kv(s,s.length-4,r.d()),s}function YT(e,t){return WT(e.subarray(JT(e,t),-4),{i:2},t,t)}var Id=typeof TextEncoder<"u"&&new TextEncoder,tp=typeof TextDecoder<"u"&&new TextDecoder,QT=0;try{tp.decode(Xv,{stream:!0}),QT=1}catch{}var ZT=function(e){for(var t="",r=0;;){var s=e[r++],i=(s>127)+(s>223)+(s>239);if(r+i>e.length)return{s:t,r:lc(e,r-1)};i?i==3?(s=((s&15)<<18|(e[r++]&63)<<12|(e[r++]&63)<<6|e[r++]&63)-65536,t+=String.fromCharCode(55296|s>>10,56320|s&1023)):i&1?t+=String.fromCharCode((s&31)<<6|e[r++]&63):t+=String.fromCharCode((s&15)<<12|(e[r++]&63)<<6|e[r++]&63):t+=String.fromCharCode(s)}};function Yv(e,t){if(t){for(var r=new Mt(e.length),s=0;s<e.length;++s)r[s]=e.charCodeAt(s);return r}if(Id)return Id.encode(e);for(var i=e.length,o=new Mt(e.length+(e.length>>1)),a=0,h=function(d){o[a++]=d},s=0;s<i;++s){if(a+5>o.length){var l=new Mt(a+8+(i-s<<1));l.set(o),o=l}var f=e.charCodeAt(s);f<128||t?h(f):f<2048?(h(192|f>>6),h(128|f&63)):f>55295&&f<57344?(f=65536+(f&1047552)|e.charCodeAt(++s)&1023,h(240|f>>18),h(128|f>>12&63),h(128|f>>6&63),h(128|f&63)):(h(224|f>>12),h(128|f>>6&63),h(128|f&63))}return lc(o,0,a)}function Qv(e,t){if(t){for(var r="",s=0;s<e.length;s+=16384)r+=String.fromCharCode.apply(null,e.subarray(s,s+16384));return r}else{if(tp)return tp.decode(e);var i=ZT(e),o=i.s,r=i.r;return r.length&&Or(8),o}}function e0(e,t=100){let r;return(...s)=>{r&&clearTimeout(r),r=setTimeout(()=>{e(...s)},t)}}function t0(e){const t=Yv(e),r=KT(t,{level:9}),s=Qv(r,!0);return btoa(s)}function r0(e){const t=atob(e);if(t.startsWith("xÚ")){const r=Yv(t,!0),s=YT(r);return Qv(s)}return decodeURIComponent(escape(t))}/**
|
|
* @vue/compiler-sfc v3.5.13
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**//*! #__NO_SIDE_EFFECTS__ */function Kt(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const s0=Object.freeze({}),Eu=()=>{},co=()=>!1,Zv=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ls=Object.assign,n0=Object.prototype.hasOwnProperty,Zp=(e,t)=>n0.call(e,t),jt=Array.isArray,i0=e=>ef(e)==="[object Map]",o0=e=>ef(e)==="[object Set]",eS=e=>typeof e=="function",Ke=e=>typeof e=="string",on=e=>typeof e=="symbol",an=e=>e!==null&&typeof e=="object",tS=Object.prototype.toString,ef=e=>tS.call(e),rS=e=>ef(e)==="[object Object]",Cd=Kt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),tf=Kt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),cc=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},a0=/-(\w)/g,ur=cc(e=>e.replace(a0,(t,r)=>r?r.toUpperCase():"")),l0=/\B([A-Z])/g,c0=cc(e=>e.replace(l0,"-$1").toLowerCase()),tn=cc(e=>e.charAt(0).toUpperCase()+e.slice(1)),u0=cc(e=>e?`on${tn(e)}`:""),h0=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function El(e){return h0.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function p0(e,t){return e+JSON.stringify(t,(r,s)=>typeof s=="function"?s.toString():s)}const al={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},f0={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},d0="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",sS=Kt(d0),Nd=2;function Ti(e,t=0,r=e.length){if(t=Math.max(0,Math.min(t,e.length)),r=Math.max(0,Math.min(r,e.length)),t>r)return"";let s=e.split(/(\r?\n)/);const i=s.filter((h,l)=>l%2===1);s=s.filter((h,l)=>l%2===0);let o=0;const a=[];for(let h=0;h<s.length;h++)if(o+=s[h].length+(i[h]&&i[h].length||0),o>=t){for(let l=h-Nd;l<=h+Nd||r>o;l++){if(l<0||l>=s.length)continue;const f=l+1;a.push(`${f}${" ".repeat(Math.max(3-String(f).length,0))}| ${s[l]}`);const d=s[l].length,g=i[l]&&i[l].length||0;if(l===h){const y=t-(o-(d+g)),v=Math.max(1,r>o?d-y:r-t);a.push(" | "+" ".repeat(y)+"^".repeat(v))}else if(l>h){if(r>o){const y=Math.max(Math.min(r-o,d),1);a.push(" | "+"^".repeat(y))}o+=d+g}}break}return a.join(`
|
|
`)}function nS(e){if(jt(e)){const t={};for(let r=0;r<e.length;r++){const s=e[r],i=Ke(s)?iS(s):nS(s);if(i)for(const o in i)t[o]=i[o]}return t}else if(Ke(e)||an(e))return e}const m0=/;(?![^(]*\))/g,g0=/:([^]+)/,y0=/\/\*[^]*?\*\//g;function iS(e){const t={};return e.replace(y0,"").split(m0).forEach(r=>{if(r){const s=r.split(g0);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function v0(e){if(!e)return"";if(Ke(e))return e;let t="";for(const r in e){const s=e[r];if(Ke(s)||typeof s=="number"){const i=r.startsWith("--")?r:c0(r);t+=`${i}:${s};`}}return t}function oS(e){let t="";if(Ke(e))t=e;else if(jt(e))for(let r=0;r<e.length;r++){const s=oS(e[r]);s&&(t+=s+" ")}else if(an(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const S0="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",_0="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",w0="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",b0="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",E0=Kt(S0),T0=Kt(_0),x0=Kt(w0),aS=Kt(b0),k0="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",lS=Kt(k0+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),P0=/[>/="'\u0009\u000a\u000c\u0020]/,Tu={};function A0(e){if(Tu.hasOwnProperty(e))return Tu[e];const t=P0.test(e);return t&&console.error(`unsafe attribute name: ${e}`),Tu[e]=!t}const I0={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},C0=Kt("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),N0=Kt("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),O0=Kt("accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns"),L0=/["'&<>]/;function ts(e){const t=""+e,r=L0.exec(t);if(!r)return t;let s="",i,o,a=0;for(o=r.index;o<t.length;o++){switch(t.charCodeAt(o)){case 34:i=""";break;case 38:i="&";break;case 39:i="'";break;case 60:i="<";break;case 62:i=">";break;default:continue}a!==o&&(s+=t.slice(a,o)),a=o+1,s+=i}return a!==o?s+t.slice(a,o):s}const R0=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function M0(e,t){return e.replace(R0,r=>t?r==='"'?'\\\\\\"':`\\\\${r}`:`\\${r}`)}const cS=e=>!!(e&&e.__v_isRef===!0),uc=e=>Ke(e)?e:e==null?"":jt(e)||an(e)&&(e.toString===tS||!eS(e.toString))?cS(e)?uc(e.value):JSON.stringify(e,uS,2):String(e),uS=(e,t)=>cS(t)?uS(e,t.value):i0(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[s,i],o)=>(r[xu(s,o)+" =>"]=i,r),{})}:o0(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>xu(r))}:on(t)?xu(t):an(t)&&!jt(t)&&!rS(t)?String(t):t,xu=(e,t="")=>{var r;return on(e)?`Symbol(${(r=e.description)!=null?r:t})`:e},mi=Symbol("Fragment"),In=Symbol("Teleport"),xi=Symbol("Suspense"),Ao=Symbol("KeepAlive"),rf=Symbol("BaseTransition"),rn=Symbol("openBlock"),sf=Symbol("createBlock"),nf=Symbol("createElementBlock"),zo=Symbol("createVNode"),hc=Symbol("createElementVNode"),ki=Symbol("createCommentVNode"),pc=Symbol("createTextVNode"),fc=Symbol("createStaticVNode"),Io=Symbol("resolveComponent"),Ho=Symbol("resolveDynamicComponent"),dc=Symbol("resolveDirective"),hS=Symbol("resolveFilter"),mc=Symbol("withDirectives"),gc=Symbol("renderList"),of=Symbol("renderSlot"),af=Symbol("createSlots"),Xo=Symbol("toDisplayString"),Rn=Symbol("mergeProps"),yc=Symbol("normalizeClass"),vc=Symbol("normalizeStyle"),gi=Symbol("normalizeProps"),Pi=Symbol("guardReactiveProps"),Sc=Symbol("toHandlers"),Tl=Symbol("camelize"),pS=Symbol("capitalize"),xl=Symbol("toHandlerKey"),Co=Symbol("setBlockTracking"),fS=Symbol("pushScopeId"),dS=Symbol("popScopeId"),_c=Symbol("withCtx"),yi=Symbol("unref"),No=Symbol("isRef"),wc=Symbol("withMemo"),lf=Symbol("isMemoSame"),cr={[mi]:"Fragment",[In]:"Teleport",[xi]:"Suspense",[Ao]:"KeepAlive",[rf]:"BaseTransition",[rn]:"openBlock",[sf]:"createBlock",[nf]:"createElementBlock",[zo]:"createVNode",[hc]:"createElementVNode",[ki]:"createCommentVNode",[pc]:"createTextVNode",[fc]:"createStaticVNode",[Io]:"resolveComponent",[Ho]:"resolveDynamicComponent",[dc]:"resolveDirective",[hS]:"resolveFilter",[mc]:"withDirectives",[gc]:"renderList",[of]:"renderSlot",[af]:"createSlots",[Xo]:"toDisplayString",[Rn]:"mergeProps",[yc]:"normalizeClass",[vc]:"normalizeStyle",[gi]:"normalizeProps",[Pi]:"guardReactiveProps",[Sc]:"toHandlers",[Tl]:"camelize",[pS]:"capitalize",[xl]:"toHandlerKey",[Co]:"setBlockTracking",[fS]:"pushScopeId",[dS]:"popScopeId",[_c]:"withCtx",[yi]:"unref",[No]:"isRef",[wc]:"withMemo",[lf]:"isMemoSame"};function cf(e){Object.getOwnPropertySymbols(e).forEach(t=>{cr[t]=e[t]})}const D0={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},F0={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},B0={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},$0={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},Et={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Un(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Et}}function vi(e,t,r,s,i,o,a,h=!1,l=!1,f=!1,d=Et){return e&&(h?(e.helper(rn),e.helper(Dn(e.inSSR,f))):e.helper(Mn(e.inSSR,f)),a&&e.helper(mc)),{type:13,tag:t,props:r,children:s,patchFlag:i,dynamicProps:o,directives:a,isBlock:h,disableTracking:l,isComponent:f,loc:d}}function ks(e,t=Et){return{type:17,loc:t,elements:e}}function hr(e,t=Et){return{type:15,loc:t,properties:e}}function at(e,t){return{type:16,loc:Et,key:Ke(e)?Te(e,!0):e,value:t}}function Te(e,t=!1,r=Et,s=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:s}}function kl(e,t){return{type:5,loc:t,content:Ke(e)?Te(e,!1,t):e}}function Bt(e,t=Et){return{type:8,loc:t,children:e}}function Re(e,t=[],r=Et){return{type:14,loc:r,callee:e,arguments:t}}function xr(e,t=void 0,r=!1,s=!1,i=Et){return{type:18,params:e,returns:t,newline:r,isSlot:s,loc:i}}function Br(e,t,r,s=!0){return{type:19,test:e,consequent:t,alternate:r,newline:s,loc:Et}}function mS(e,t,r=!1,s=!1){return{type:20,index:e,value:t,needPauseTracking:r,inVOnce:s,needArraySpread:!1,loc:Et}}function Jo(e){return{type:21,body:e,loc:Et}}function uf(e){return{type:22,elements:e,loc:Et}}function Pl(e,t,r){return{type:23,test:e,consequent:t,alternate:r,loc:Et}}function ll(e,t){return{type:24,left:e,right:t,loc:Et}}function gS(e){return{type:25,expressions:e,loc:Et}}function yS(e){return{type:26,returns:e,loc:Et}}function Mn(e,t){return e||t?zo:hc}function Dn(e,t){return e||t?sf:nf}function bc(e,{helper:t,removeHelper:r,inSSR:s}){e.isBlock||(e.isBlock=!0,r(Mn(s,e.isComponent)),t(rn),t(Dn(s,e.isComponent)))}var vS=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),j0=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0))),ku;const U0=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),rp=(ku=String.fromCodePoint)!==null&&ku!==void 0?ku:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function q0(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=U0.get(e))!==null&&t!==void 0?t:e}var $t;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})($t||($t={}));const V0=32;var Hs;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Hs||(Hs={}));function sp(e){return e>=$t.ZERO&&e<=$t.NINE}function W0(e){return e>=$t.UPPER_A&&e<=$t.UPPER_F||e>=$t.LOWER_A&&e<=$t.LOWER_F}function G0(e){return e>=$t.UPPER_A&&e<=$t.UPPER_Z||e>=$t.LOWER_A&&e<=$t.LOWER_Z||sp(e)}function z0(e){return e===$t.EQUALS||G0(e)}var Ft;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Ft||(Ft={}));var Qr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Qr||(Qr={}));class SS{constructor(t,r,s){this.decodeTree=t,this.emitCodePoint=r,this.errors=s,this.state=Ft.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Qr.Strict}startEntity(t){this.decodeMode=t,this.state=Ft.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case Ft.EntityStart:return t.charCodeAt(r)===$t.NUM?(this.state=Ft.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=Ft.NamedEntity,this.stateNamedEntity(t,r));case Ft.NumericStart:return this.stateNumericStart(t,r);case Ft.NumericDecimal:return this.stateNumericDecimal(t,r);case Ft.NumericHex:return this.stateNumericHex(t,r);case Ft.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|V0)===$t.LOWER_X?(this.state=Ft.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=Ft.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,s,i){if(r!==s){const o=s-r;this.result=this.result*Math.pow(i,o)+parseInt(t.substr(r,o),i),this.consumed+=o}}stateNumericHex(t,r){const s=r;for(;r<t.length;){const i=t.charCodeAt(r);if(sp(i)||W0(i))r+=1;else return this.addToNumericResult(t,s,r,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,s,r,16),-1}stateNumericDecimal(t,r){const s=r;for(;r<t.length;){const i=t.charCodeAt(r);if(sp(i))r+=1;else return this.addToNumericResult(t,s,r,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,s,r,10),-1}emitNumericEntity(t,r){var s;if(this.consumed<=r)return(s=this.errors)===null||s===void 0||s.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===$t.SEMI)this.consumed+=1;else if(this.decodeMode===Qr.Strict)return 0;return this.emitCodePoint(q0(this.result),this.consumed),this.errors&&(t!==$t.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:s}=this;let i=s[this.treeIndex],o=(i&Hs.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const a=t.charCodeAt(r);if(this.treeIndex=H0(s,i,this.treeIndex+Math.max(1,o),a),this.treeIndex<0)return this.result===0||this.decodeMode===Qr.Attribute&&(o===0||z0(a))?0:this.emitNotTerminatedNamedEntity();if(i=s[this.treeIndex],o=(i&Hs.VALUE_LENGTH)>>14,o!==0){if(a===$t.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Qr.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:s}=this,i=(s[r]&Hs.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,s){const{decodeTree:i}=this;return this.emitCodePoint(r===1?i[t]&~Hs.VALUE_LENGTH:i[t+1],s),r===3&&this.emitCodePoint(i[t+2],s),s}end(){var t;switch(this.state){case Ft.NamedEntity:return this.result!==0&&(this.decodeMode!==Qr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ft.NumericDecimal:return this.emitNumericEntity(0,2);case Ft.NumericHex:return this.emitNumericEntity(0,3);case Ft.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ft.EntityStart:return 0}}}function _S(e){let t="";const r=new SS(e,s=>t+=rp(s));return function(i,o){let a=0,h=0;for(;(h=i.indexOf("&",h))>=0;){t+=i.slice(a,h),r.startEntity(o);const f=r.write(i,h+1);if(f<0){a=h+r.end();break}a=h+f,h=f===0?a+1:a}const l=t+i.slice(a);return t="",l}}function H0(e,t,r,s){const i=(t&Hs.BRANCH_LENGTH)>>7,o=t&Hs.JUMP_TABLE;if(i===0)return o!==0&&s===o?r:-1;if(o){const l=s-o;return l<0||l>=i?-1:e[r+l]-1}let a=r,h=a+i-1;for(;a<=h;){const l=a+h>>>1,f=e[l];if(f<s)a=l+1;else if(f>s)h=l-1;else return e[l+i]}return-1}const X0=_S(vS);_S(j0);function J0(e,t=Qr.Legacy){return X0(e,t)}const Od=new Uint8Array([123,123]),Ld=new Uint8Array([125,125]);function Rd(e){return e>=97&&e<=122||e>=65&&e<=90}function _r(e){return e===32||e===10||e===9||e===12||e===13}function qs(e){return e===47||e===62||_r(e)}function Al(e){const t=new Uint8Array(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}const Wt={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class K0{constructor(t,r){this.stack=t,this.cbs=r,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Od,this.delimiterClose=Ld,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new SS(vS,(s,i)=>this.emitCodePoint(s,i))}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Od,this.delimiterClose=Ld}getPos(t){let r=1,s=t+1;for(let i=this.newlines.length-1;i>=0;i--){const o=this.newlines[i];if(t>o){r=i+2,s=t-o;break}}return{column:s,line:r,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):t===38?this.startEntity():!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const r=this.index+1-this.delimiterOpen.length;r>this.sectionStart&&this.cbs.ontext(this.sectionStart,r),this.state=3,this.sectionStart=r}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const r=this.sequenceIndex===this.currentSequence.length;if(!(r?qs(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||_r(t)){const r=this.index-this.currentSequence.length;if(this.sectionStart<r){const s=this.index;this.index=r,this.cbs.ontext(this.sectionStart,r),this.index=s}this.sectionStart=r+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Wt.TitleEnd||this.currentSequence===Wt.TextareaEnd&&!this.inSFCRoot?t===38?this.startEntity():!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===Wt.Cdata[this.sequenceIndex]?++this.sequenceIndex===Wt.Cdata.length&&(this.state=28,this.currentSequence=Wt.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);if(r===10&&this.newlines.push(this.index),r===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Wt.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,r){this.enterRCDATA(t,r),this.state=31}enterRCDATA(t,r){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=r}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):Rd(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){qs(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(qs(t)){const r=this.buffer.slice(this.sectionStart,this.index);r!=="template"&&this.enterRCDATA(Al("</"+r),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){_r(t)||(t===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=Rd(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||_r(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?(this.state=7,this.peek()!==62&&this.cbs.onerr(22,this.index)):t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):_r(t)||(t===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(t))}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):_r(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){t===61||qs(t)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):(t===34||t===39||t===60)&&this.cbs.onerr(17,this.index)}stateInDirName(t){t===61||qs(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||qs(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||qs(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t),this.cbs.onerr(27,this.index))}stateInDirModifier(t){t===61||qs(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):_r(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):_r(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,r){t===r?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r===34?3:2,this.index+1),this.state=11):t===38&&this.startEntity()}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){_r(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):t===34||t===39||t===60||t===61||t===96?this.cbs.onerr(18,this.index):t===38&&this.startEntity()}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=Wt.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===Wt.ScriptEnd[3]?this.startSpecial(Wt.ScriptEnd,4):t===Wt.StyleEnd[3]?this.startSpecial(Wt.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===Wt.TitleEnd[3]?this.startSpecial(Wt.TitleEnd,4):t===Wt.TextareaEnd[3]?this.startSpecial(Wt.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){this.baseState=this.state,this.state=33,this.entityStart=this.index,this.entityDecoder.startEntity(this.baseState===1||this.baseState===32?Qr.Legacy:Qr.Attribute)}stateInEntity(){{const t=this.entityDecoder.write(this.buffer,this.index);t>=0?(this.state=this.baseState,t===0&&(this.index=this.entityStart)):this.index=this.buffer.length-1}}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);switch(r===10&&this.newlines.push(this.index),this.state){case 1:{this.stateText(r);break}case 2:{this.stateInterpolationOpen(r);break}case 3:{this.stateInterpolation(r);break}case 4:{this.stateInterpolationClose(r);break}case 31:{this.stateSpecialStartSequence(r);break}case 32:{this.stateInRCDATA(r);break}case 26:{this.stateCDATASequence(r);break}case 19:{this.stateInAttrValueDoubleQuotes(r);break}case 12:{this.stateInAttrName(r);break}case 13:{this.stateInDirName(r);break}case 14:{this.stateInDirArg(r);break}case 15:{this.stateInDynamicDirArg(r);break}case 16:{this.stateInDirModifier(r);break}case 28:{this.stateInCommentLike(r);break}case 27:{this.stateInSpecialComment(r);break}case 11:{this.stateBeforeAttrName(r);break}case 6:{this.stateInTagName(r);break}case 34:{this.stateInSFCRootTagName(r);break}case 9:{this.stateInClosingTagName(r);break}case 5:{this.stateBeforeTagName(r);break}case 17:{this.stateAfterAttrName(r);break}case 20:{this.stateInAttrValueSingleQuotes(r);break}case 18:{this.stateBeforeAttrValue(r);break}case 8:{this.stateBeforeClosingTagName(r);break}case 10:{this.stateAfterClosingTagName(r);break}case 29:{this.stateBeforeSpecialS(r);break}case 30:{this.stateBeforeSpecialT(r);break}case 21:{this.stateInAttrValueNoQuotes(r);break}case 7:{this.stateInSelfClosingTag(r);break}case 23:{this.stateInDeclaration(r);break}case 22:{this.stateBeforeDeclaration(r);break}case 25:{this.stateBeforeComment(r);break}case 24:{this.stateInProcessingInstruction(r);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.state===33&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===Wt.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,r){this.baseState!==1&&this.baseState!==32?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+r,this.index=this.sectionStart-1,this.cbs.onattribentity(rp(t),this.entityStart,this.sectionStart)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+r,this.index=this.sectionStart-1,this.cbs.ontextentity(rp(t),this.entityStart,this.sectionStart))}}const Y0={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},Q0={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function np(e,{compatConfig:t}){const r=t&&t[e];return e==="MODE"?r||3:r}function Z0(e,t){const r=np("MODE",t),s=np(e,t);return r===3?s===!0:s!==!1}function ex(e,t,r,...s){const i=Z0(e,t);return i&&wS(e,t,r,...s),i}function wS(e,t,r,...s){if(np(e,t)==="suppress-warning")return;const{message:o,link:a}=Q0[e],h=`(deprecation ${e}) ${typeof o=="function"?o(...s):o}${a?`
|
|
Details: ${a}`:""}`,l=new SyntaxError(h);l.code=e,r&&(l.loc=r),t.onWarn(l)}function hf(e){throw e}function bS(e){console.warn(`[Vue warn] ${e.message}`)}function it(e,t,r,s){const i=(r||pf)[e]+(s||""),o=new SyntaxError(String(i));return o.code=e,o.loc=t,o}const tx={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_INVALID_EXPRESSION:45,45:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:46,46:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:47,47:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:48,48:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:49,49:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:50,50:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:51,51:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:53,53:"__EXTEND_POINT__"},pf={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",52:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",51:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',53:""};function Ec(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Tc(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function s(){return this instanceof s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var i=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(r,s,i.get?i:{enumerable:!0,get:function(){return e[s]}})}),r}var ei={},Md;function rx(){if(Md)return ei;Md=1,Object.defineProperty(ei,"__esModule",{value:!0});function e(C,c){if(C==null)return{};var n={};for(var u in C)if({}.hasOwnProperty.call(C,u)){if(c.includes(u))continue;n[u]=C[u]}return n}class t{constructor(c,n,u){this.line=void 0,this.column=void 0,this.index=void 0,this.line=c,this.column=n,this.index=u}}class r{constructor(c,n){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=c,this.end=n}}function s(C,c){const{line:n,column:u,index:m}=C;return new t(n,u+c,m+c)}const i="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var o={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:i},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:i}};const a={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},h=C=>C.type==="UpdateExpression"?a.UpdateExpression[`${C.prefix}`]:a[C.type];var l={AccessorIsGenerator:({kind:C})=>`A ${C}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:C})=>`Missing initializer in ${C} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:C})=>`\`${C}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:C})=>`'import.${C}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:C,exportName:c})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
- Did you mean \`export { '${C}' as '${c}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:C})=>`'${C==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:C})=>`Unsyntactic ${C==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:C})=>`A string literal cannot be used as an imported binding.
|
|
- Did you mean \`import { "${C}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:C})=>`\`import()\` requires exactly ${C===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:C})=>`Expected number in radix ${C}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:C})=>`Escape sequence in keyword ${C}.`,InvalidIdentifier:({identifierName:C})=>`Invalid identifier ${C}.`,InvalidLhs:({ancestor:C})=>`Invalid left-hand side in ${h(C)}.`,InvalidLhsBinding:({ancestor:C})=>`Binding invalid left-hand side in ${h(C)}.`,InvalidLhsOptionalChaining:({ancestor:C})=>`Invalid optional chaining in the left-hand side of ${h(C)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:C})=>`Unexpected character '${C}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:C})=>`Private name #${C} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:C})=>`Label '${C}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:C})=>`This experimental syntax requires enabling the parser plugin: ${C.map(c=>JSON.stringify(c)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:C})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${C.map(c=>JSON.stringify(c)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:C})=>`Duplicate key "${C}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:C})=>`An export name cannot include a lone surrogate, found '\\u${C.toString(16)}'.`,ModuleExportUndefined:({localName:C})=>`Export '${C}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:C})=>`Private names are only allowed in property accesses (\`obj.#${C}\`) or in \`in\` expressions (\`#${C} in obj\`).`,PrivateNameRedeclaration:({identifierName:C})=>`Duplicate private name #${C}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:C})=>`Unexpected keyword '${C}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:C})=>`Unexpected reserved word '${C}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:C,unexpected:c})=>`Unexpected token${c?` '${c}'.`:""}${C?`, expected "${C}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:C,onlyValidPropertyName:c})=>`The only valid meta property for ${C} is ${C}.${c}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:C})=>`Identifier '${C}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},f={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:C})=>`Assigning to '${C}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:C})=>`Binding '${C}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."};const d=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var g={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:C})=>`Invalid topic token ${C}. In order to use ${C} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${C}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:C})=>`Hack-style pipe body cannot be an unparenthesized ${h({type:C})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'};const y=["message"];function v(C,c,n){Object.defineProperty(C,c,{enumerable:!1,configurable:!0,value:n})}function w({toMessage:C,code:c,reasonCode:n,syntaxPlugin:u}){const m=n==="MissingPlugin"||n==="MissingOneOfPlugins";return function b(N,D){const q=new SyntaxError;return q.code=c,q.reasonCode=n,q.loc=N,q.pos=N.index,q.syntaxPlugin=u,m&&(q.missingPlugin=D.missingPlugin),v(q,"clone",function(X={}){var fe;const{line:be,column:Ee,index:Ie}=(fe=X.loc)!=null?fe:N;return b(new t(be,Ee,Ie),Object.assign({},D,X.details))}),v(q,"details",D),Object.defineProperty(q,"message",{configurable:!0,get(){const Y=`${C(D)} (${N.line}:${N.column})`;return this.message=Y,Y},set(Y){Object.defineProperty(this,"message",{value:Y,writable:!0})}}),q}}function _(C,c){if(Array.isArray(C))return u=>_(u,C[0]);const n={};for(const u of Object.keys(C)){const m=C[u],b=typeof m=="string"?{message:()=>m}:typeof m=="function"?{message:m}:m,{message:N}=b,D=e(b,y),q=typeof N=="string"?()=>N:N;n[u]=w(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:u,toMessage:q},c?{syntaxPlugin:c}:{},D))}return n}const S=Object.assign({},_(o),_(l),_(f),_`pipelineOperator`(g)),{defineProperty:k}=Object,E=(C,c)=>{C&&k(C,c,{enumerable:!1,value:C[c]})};function P(C){return E(C.loc.start,"index"),E(C.loc.end,"index"),C}var O=C=>class extends C{parse(){const n=P(super.parse());return this.options.tokens&&(n.tokens=n.tokens.map(P)),n}parseRegExpLiteral({pattern:n,flags:u}){let m=null;try{m=new RegExp(n,u)}catch{}const b=this.estreeParseLiteral(m);return b.regex={pattern:n,flags:u},b}parseBigIntLiteral(n){let u;try{u=BigInt(n)}catch{u=null}const m=this.estreeParseLiteral(u);return m.bigint=String(m.value||n),m}parseDecimalLiteral(n){const m=this.estreeParseLiteral(null);return m.decimal=String(m.value||n),m}estreeParseLiteral(n){return this.parseLiteral(n,"Literal")}parseStringLiteral(n){return this.estreeParseLiteral(n)}parseNumericLiteral(n){return this.estreeParseLiteral(n)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(n){return this.estreeParseLiteral(n)}directiveToStmt(n){const u=n.value;delete n.value,u.type="Literal",u.raw=u.extra.raw,u.value=u.extra.expressionValue;const m=n;return m.type="ExpressionStatement",m.expression=u,m.directive=u.extra.rawValue,delete u.extra,m}initFunction(n,u){super.initFunction(n,u),n.expression=!1}checkDeclaration(n){n!=null&&this.isObjectProperty(n)?this.checkDeclaration(n.value):super.checkDeclaration(n)}getObjectOrClassMethodParams(n){return n.value.params}isValidDirective(n){var u;return n.type==="ExpressionStatement"&&n.expression.type==="Literal"&&typeof n.expression.value=="string"&&!((u=n.expression.extra)!=null&&u.parenthesized)}parseBlockBody(n,u,m,b,N){super.parseBlockBody(n,u,m,b,N);const D=n.directives.map(q=>this.directiveToStmt(q));n.body=D.concat(n.body),delete n.directives}pushClassMethod(n,u,m,b,N,D){this.parseMethod(u,m,b,N,D,"ClassMethod",!0),u.typeParameters&&(u.value.typeParameters=u.typeParameters,delete u.typeParameters),n.body.push(u)}parsePrivateName(){const n=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(n):n}convertPrivateNameToPrivateIdentifier(n){const u=super.getPrivateNameSV(n);return n=n,delete n.id,n.name=u,n.type="PrivateIdentifier",n}isPrivateName(n){return this.getPluginOption("estree","classFeatures")?n.type==="PrivateIdentifier":super.isPrivateName(n)}getPrivateNameSV(n){return this.getPluginOption("estree","classFeatures")?n.name:super.getPrivateNameSV(n)}parseLiteral(n,u){const m=super.parseLiteral(n,u);return m.raw=m.extra.raw,delete m.extra,m}parseFunctionBody(n,u,m=!1){super.parseFunctionBody(n,u,m),n.expression=n.body.type!=="BlockStatement"}parseMethod(n,u,m,b,N,D,q=!1){let Y=this.startNode();return Y.kind=n.kind,Y=super.parseMethod(Y,u,m,b,N,D,q),Y.type="FunctionExpression",delete Y.kind,n.value=Y,D==="ClassPrivateMethod"&&(n.computed=!1),this.finishNode(n,"MethodDefinition")}nameIsConstructor(n){return n.type==="Literal"?n.value==="constructor":super.nameIsConstructor(n)}parseClassProperty(...n){const u=super.parseClassProperty(...n);return this.getPluginOption("estree","classFeatures")&&(u.type="PropertyDefinition"),u}parseClassPrivateProperty(...n){const u=super.parseClassPrivateProperty(...n);return this.getPluginOption("estree","classFeatures")&&(u.type="PropertyDefinition",u.computed=!1),u}parseObjectMethod(n,u,m,b,N){const D=super.parseObjectMethod(n,u,m,b,N);return D&&(D.type="Property",D.kind==="method"&&(D.kind="init"),D.shorthand=!1),D}parseObjectProperty(n,u,m,b){const N=super.parseObjectProperty(n,u,m,b);return N&&(N.kind="init",N.type="Property"),N}isValidLVal(n,u,m){return n==="Property"?"value":super.isValidLVal(n,u,m)}isAssignable(n,u){return n!=null&&this.isObjectProperty(n)?this.isAssignable(n.value,u):super.isAssignable(n,u)}toAssignable(n,u=!1){if(n!=null&&this.isObjectProperty(n)){const{key:m,value:b}=n;this.isPrivateName(m)&&this.classScope.usePrivateName(this.getPrivateNameSV(m),m.loc.start),this.toAssignable(b,u)}else super.toAssignable(n,u)}toAssignableObjectExpressionProp(n,u,m){n.type==="Property"&&(n.kind==="get"||n.kind==="set")?this.raise(S.PatternHasAccessor,n.key):n.type==="Property"&&n.method?this.raise(S.PatternHasMethod,n.key):super.toAssignableObjectExpressionProp(n,u,m)}finishCallExpression(n,u){const m=super.finishCallExpression(n,u);if(m.callee.type==="Import"){if(m.type="ImportExpression",m.source=m.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var b,N;m.options=(b=m.arguments[1])!=null?b:null,m.attributes=(N=m.arguments[1])!=null?N:null}delete m.arguments,delete m.callee}return m}toReferencedArguments(n){n.type!=="ImportExpression"&&super.toReferencedArguments(n)}parseExport(n,u){const m=this.state.lastTokStartLoc,b=super.parseExport(n,u);switch(b.type){case"ExportAllDeclaration":b.exported=null;break;case"ExportNamedDeclaration":b.specifiers.length===1&&b.specifiers[0].type==="ExportNamespaceSpecifier"&&(b.type="ExportAllDeclaration",b.exported=b.specifiers[0].exported,delete b.specifiers);case"ExportDefaultDeclaration":{var N;const{declaration:D}=b;(D==null?void 0:D.type)==="ClassDeclaration"&&((N=D.decorators)==null?void 0:N.length)>0&&D.start===b.start&&this.resetStartLocation(b,m)}break}return b}parseSubscript(n,u,m,b){const N=super.parseSubscript(n,u,m,b);if(b.optionalChainMember){if((N.type==="OptionalMemberExpression"||N.type==="OptionalCallExpression")&&(N.type=N.type.substring(8)),b.stop){const D=this.startNodeAtNode(N);return D.expression=N,this.finishNode(D,"ChainExpression")}}else(N.type==="MemberExpression"||N.type==="CallExpression")&&(N.optional=!1);return N}isOptionalMemberExpression(n){return n.type==="ChainExpression"?n.expression.type==="MemberExpression":super.isOptionalMemberExpression(n)}hasPropertyAsPrivateName(n){return n.type==="ChainExpression"&&(n=n.expression),super.hasPropertyAsPrivateName(n)}isObjectProperty(n){return n.type==="Property"&&n.kind==="init"&&!n.method}isObjectMethod(n){return n.type==="Property"&&(n.method||n.kind==="get"||n.kind==="set")}finishNodeAt(n,u,m){return P(super.finishNodeAt(n,u,m))}resetStartLocation(n,u){super.resetStartLocation(n,u),P(n)}resetEndLocation(n,u=this.state.lastTokEndLoc){super.resetEndLocation(n,u),P(n)}};class A{constructor(c,n){this.token=void 0,this.preserveSpace=void 0,this.token=c,this.preserveSpace=!!n}}const M={brace:new A("{"),j_oTag:new A("<tag"),j_cTag:new A("</tag"),j_expr:new A("<tag>...</tag>",!0)};M.template=new A("`",!0);const F=!0,x=!0,I=!0,R=!0,L=!0,z=!0;class J{constructor(c,n={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=c,this.keyword=n.keyword,this.beforeExpr=!!n.beforeExpr,this.startsExpr=!!n.startsExpr,this.rightAssociative=!!n.rightAssociative,this.isLoop=!!n.isLoop,this.isAssign=!!n.isAssign,this.prefix=!!n.prefix,this.postfix=!!n.postfix,this.binop=n.binop!=null?n.binop:null,this.updateContext=null}}const re=new Map;function V(C,c={}){c.keyword=C;const n=j(C,c);return re.set(C,n),n}function ee(C,c){return j(C,{beforeExpr:F,binop:c})}let G=-1;const Q=[],ie=[],ce=[],ne=[],W=[],K=[];function j(C,c={}){var n,u,m,b;return++G,ie.push(C),ce.push((n=c.binop)!=null?n:-1),ne.push((u=c.beforeExpr)!=null?u:!1),W.push((m=c.startsExpr)!=null?m:!1),K.push((b=c.prefix)!=null?b:!1),Q.push(new J(C,c)),G}function B(C,c={}){var n,u,m,b;return++G,re.set(C,G),ie.push(C),ce.push((n=c.binop)!=null?n:-1),ne.push((u=c.beforeExpr)!=null?u:!1),W.push((m=c.startsExpr)!=null?m:!1),K.push((b=c.prefix)!=null?b:!1),Q.push(new J("name",c)),G}const Z={bracketL:j("[",{beforeExpr:F,startsExpr:x}),bracketHashL:j("#[",{beforeExpr:F,startsExpr:x}),bracketBarL:j("[|",{beforeExpr:F,startsExpr:x}),bracketR:j("]"),bracketBarR:j("|]"),braceL:j("{",{beforeExpr:F,startsExpr:x}),braceBarL:j("{|",{beforeExpr:F,startsExpr:x}),braceHashL:j("#{",{beforeExpr:F,startsExpr:x}),braceR:j("}"),braceBarR:j("|}"),parenL:j("(",{beforeExpr:F,startsExpr:x}),parenR:j(")"),comma:j(",",{beforeExpr:F}),semi:j(";",{beforeExpr:F}),colon:j(":",{beforeExpr:F}),doubleColon:j("::",{beforeExpr:F}),dot:j("."),question:j("?",{beforeExpr:F}),questionDot:j("?."),arrow:j("=>",{beforeExpr:F}),template:j("template"),ellipsis:j("...",{beforeExpr:F}),backQuote:j("`",{startsExpr:x}),dollarBraceL:j("${",{beforeExpr:F,startsExpr:x}),templateTail:j("...`",{startsExpr:x}),templateNonTail:j("...${",{beforeExpr:F,startsExpr:x}),at:j("@"),hash:j("#",{startsExpr:x}),interpreterDirective:j("#!..."),eq:j("=",{beforeExpr:F,isAssign:R}),assign:j("_=",{beforeExpr:F,isAssign:R}),slashAssign:j("_=",{beforeExpr:F,isAssign:R}),xorAssign:j("_=",{beforeExpr:F,isAssign:R}),moduloAssign:j("_=",{beforeExpr:F,isAssign:R}),incDec:j("++/--",{prefix:L,postfix:z,startsExpr:x}),bang:j("!",{beforeExpr:F,prefix:L,startsExpr:x}),tilde:j("~",{beforeExpr:F,prefix:L,startsExpr:x}),doubleCaret:j("^^",{startsExpr:x}),doubleAt:j("@@",{startsExpr:x}),pipeline:ee("|>",0),nullishCoalescing:ee("??",1),logicalOR:ee("||",1),logicalAND:ee("&&",2),bitwiseOR:ee("|",3),bitwiseXOR:ee("^",4),bitwiseAND:ee("&",5),equality:ee("==/!=/===/!==",6),lt:ee("</>/<=/>=",7),gt:ee("</>/<=/>=",7),relational:ee("</>/<=/>=",7),bitShift:ee("<</>>/>>>",8),bitShiftL:ee("<</>>/>>>",8),bitShiftR:ee("<</>>/>>>",8),plusMin:j("+/-",{beforeExpr:F,binop:9,prefix:L,startsExpr:x}),modulo:j("%",{binop:10,startsExpr:x}),star:j("*",{binop:10}),slash:ee("/",10),exponent:j("**",{beforeExpr:F,binop:11,rightAssociative:!0}),_in:V("in",{beforeExpr:F,binop:7}),_instanceof:V("instanceof",{beforeExpr:F,binop:7}),_break:V("break"),_case:V("case",{beforeExpr:F}),_catch:V("catch"),_continue:V("continue"),_debugger:V("debugger"),_default:V("default",{beforeExpr:F}),_else:V("else",{beforeExpr:F}),_finally:V("finally"),_function:V("function",{startsExpr:x}),_if:V("if"),_return:V("return",{beforeExpr:F}),_switch:V("switch"),_throw:V("throw",{beforeExpr:F,prefix:L,startsExpr:x}),_try:V("try"),_var:V("var"),_const:V("const"),_with:V("with"),_new:V("new",{beforeExpr:F,startsExpr:x}),_this:V("this",{startsExpr:x}),_super:V("super",{startsExpr:x}),_class:V("class",{startsExpr:x}),_extends:V("extends",{beforeExpr:F}),_export:V("export"),_import:V("import",{startsExpr:x}),_null:V("null",{startsExpr:x}),_true:V("true",{startsExpr:x}),_false:V("false",{startsExpr:x}),_typeof:V("typeof",{beforeExpr:F,prefix:L,startsExpr:x}),_void:V("void",{beforeExpr:F,prefix:L,startsExpr:x}),_delete:V("delete",{beforeExpr:F,prefix:L,startsExpr:x}),_do:V("do",{isLoop:I,beforeExpr:F}),_for:V("for",{isLoop:I}),_while:V("while",{isLoop:I}),_as:B("as",{startsExpr:x}),_assert:B("assert",{startsExpr:x}),_async:B("async",{startsExpr:x}),_await:B("await",{startsExpr:x}),_defer:B("defer",{startsExpr:x}),_from:B("from",{startsExpr:x}),_get:B("get",{startsExpr:x}),_let:B("let",{startsExpr:x}),_meta:B("meta",{startsExpr:x}),_of:B("of",{startsExpr:x}),_sent:B("sent",{startsExpr:x}),_set:B("set",{startsExpr:x}),_source:B("source",{startsExpr:x}),_static:B("static",{startsExpr:x}),_using:B("using",{startsExpr:x}),_yield:B("yield",{startsExpr:x}),_asserts:B("asserts",{startsExpr:x}),_checks:B("checks",{startsExpr:x}),_exports:B("exports",{startsExpr:x}),_global:B("global",{startsExpr:x}),_implements:B("implements",{startsExpr:x}),_intrinsic:B("intrinsic",{startsExpr:x}),_infer:B("infer",{startsExpr:x}),_is:B("is",{startsExpr:x}),_mixins:B("mixins",{startsExpr:x}),_proto:B("proto",{startsExpr:x}),_require:B("require",{startsExpr:x}),_satisfies:B("satisfies",{startsExpr:x}),_keyof:B("keyof",{startsExpr:x}),_readonly:B("readonly",{startsExpr:x}),_unique:B("unique",{startsExpr:x}),_abstract:B("abstract",{startsExpr:x}),_declare:B("declare",{startsExpr:x}),_enum:B("enum",{startsExpr:x}),_module:B("module",{startsExpr:x}),_namespace:B("namespace",{startsExpr:x}),_interface:B("interface",{startsExpr:x}),_type:B("type",{startsExpr:x}),_opaque:B("opaque",{startsExpr:x}),name:j("name",{startsExpr:x}),string:j("string",{startsExpr:x}),num:j("num",{startsExpr:x}),bigint:j("bigint",{startsExpr:x}),decimal:j("decimal",{startsExpr:x}),regexp:j("regexp",{startsExpr:x}),privateName:j("#name",{startsExpr:x}),eof:j("eof"),jsxName:j("jsxName"),jsxText:j("jsxText",{beforeExpr:!0}),jsxTagStart:j("jsxTagStart",{startsExpr:!0}),jsxTagEnd:j("jsxTagEnd"),placeholder:j("%%",{startsExpr:!0})};function U(C){return C>=93&&C<=132}function se(C){return C<=92}function ae(C){return C>=58&&C<=132}function de(C){return C>=58&&C<=136}function pe(C){return ne[C]}function ve(C){return W[C]}function xe(C){return C>=29&&C<=33}function we(C){return C>=129&&C<=131}function De(C){return C>=90&&C<=92}function tt(C){return C>=58&&C<=92}function qe(C){return C>=39&&C<=59}function ze(C){return C===34}function Ve(C){return K[C]}function ht(C){return C>=121&&C<=123}function xt(C){return C>=124&&C<=130}function pt(C){return ie[C]}function oe(C){return ce[C]}function me(C){return C===57}function ye(C){return C>=24&&C<=25}function Se(C){return Q[C]}Q[8].updateContext=C=>{C.pop()},Q[5].updateContext=Q[7].updateContext=Q[23].updateContext=C=>{C.push(M.brace)},Q[22].updateContext=C=>{C[C.length-1]===M.template?C.pop():C.push(M.template)},Q[142].updateContext=C=>{C.push(M.j_expr,M.j_oTag)};let Oe="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",ke="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const We=new RegExp("["+Oe+"]"),Xe=new RegExp("["+Oe+ke+"]");Oe=ke=null;const Fe=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Ye=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function kt(C,c){let n=65536;for(let u=0,m=c.length;u<m;u+=2){if(n+=c[u],n>C)return!1;if(n+=c[u+1],n>=C)return!0}return!1}function Je(C){return C<65?C===36:C<=90?!0:C<97?C===95:C<=122?!0:C<=65535?C>=170&&We.test(String.fromCharCode(C)):kt(C,Fe)}function Qe(C){return C<48?C===36:C<58?!0:C<65?!1:C<=90?!0:C<97?C===95:C<=122?!0:C<=65535?C>=170&&Xe.test(String.fromCharCode(C)):kt(C,Fe)||kt(C,Ye)}const Tt={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Yt=new Set(Tt.keyword),yr=new Set(Tt.strict),Ar=new Set(Tt.strictBind);function vr(C,c){return c&&C==="await"||C==="enum"}function Wr(C,c){return vr(C,c)||yr.has(C)}function Rt(C){return Ar.has(C)}function Gr(C,c){return Wr(C,c)||Rt(C)}function Ls(C){return Yt.has(C)}function hn(C,c,n){return C===64&&c===64&&Je(n)}const Rs=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function gs(C){return Rs.has(C)}class rr{constructor(c){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=c}}class Ir{constructor(c,n){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=c,this.inModule=n}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){const c=this.currentThisScopeFlags();return(c&64)>0&&(c&2)===0}get inStaticBlock(){for(let c=this.scopeStack.length-1;;c--){const{flags:n}=this.scopeStack[c];if(n&128)return!0;if(n&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(c){return new rr(c)}enter(c){this.scopeStack.push(this.createScope(c))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(c){return!!(c.flags&130||!this.parser.inModule&&c.flags&1)}declareName(c,n,u){let m=this.currentScope();if(n&8||n&16){this.checkRedeclarationInScope(m,c,n,u);let b=m.names.get(c)||0;n&16?b=b|4:(m.firstLexicalName||(m.firstLexicalName=c),b=b|2),m.names.set(c,b),n&8&&this.maybeExportDefined(m,c)}else if(n&4)for(let b=this.scopeStack.length-1;b>=0&&(m=this.scopeStack[b],this.checkRedeclarationInScope(m,c,n,u),m.names.set(c,(m.names.get(c)||0)|1),this.maybeExportDefined(m,c),!(m.flags&387));--b);this.parser.inModule&&m.flags&1&&this.undefinedExports.delete(c)}maybeExportDefined(c,n){this.parser.inModule&&c.flags&1&&this.undefinedExports.delete(n)}checkRedeclarationInScope(c,n,u,m){this.isRedeclaredInScope(c,n,u)&&this.parser.raise(S.VarRedeclaration,m,{identifierName:n})}isRedeclaredInScope(c,n,u){if(!(u&1))return!1;if(u&8)return c.names.has(n);const m=c.names.get(n);return u&16?(m&2)>0||!this.treatFunctionsAsVarInScope(c)&&(m&1)>0:(m&2)>0&&!(c.flags&8&&c.firstLexicalName===n)||!this.treatFunctionsAsVarInScope(c)&&(m&4)>0}checkLocalExport(c){const{name:n}=c;this.scopeStack[0].names.has(n)||this.undefinedExports.set(n,c.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let c=this.scopeStack.length-1;;c--){const{flags:n}=this.scopeStack[c];if(n&387)return n}}currentThisScopeFlags(){for(let c=this.scopeStack.length-1;;c--){const{flags:n}=this.scopeStack[c];if(n&451&&!(n&4))return n}}}class Ms extends rr{constructor(...c){super(...c),this.declareFunctions=new Set}}class Ds extends Ir{createScope(c){return new Ms(c)}declareName(c,n,u){const m=this.currentScope();if(n&2048){this.checkRedeclarationInScope(m,c,n,u),this.maybeExportDefined(m,c),m.declareFunctions.add(c);return}super.declareName(c,n,u)}isRedeclaredInScope(c,n,u){if(super.isRedeclaredInScope(c,n,u))return!0;if(u&2048&&!c.declareFunctions.has(n)){const m=c.names.get(n);return(m&4)>0||(m&2)>0}return!1}checkLocalExport(c){this.scopeStack[0].declareFunctions.has(c.name)||super.checkLocalExport(c)}}class Fs{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(c){if(typeof c=="string")return this.plugins.has(c);{const[n,u]=c;if(!this.hasPlugin(n))return!1;const m=this.plugins.get(n);for(const b of Object.keys(u))if((m==null?void 0:m[b])!==u[b])return!1;return!0}}getPluginOption(c,n){var u;return(u=this.plugins.get(c))==null?void 0:u[n]}}function Jn(C,c){C.trailingComments===void 0?C.trailingComments=c:C.trailingComments.unshift(...c)}function ji(C,c){C.leadingComments===void 0?C.leadingComments=c:C.leadingComments.unshift(...c)}function ys(C,c){C.innerComments===void 0?C.innerComments=c:C.innerComments.unshift(...c)}function vs(C,c,n){let u=null,m=c.length;for(;u===null&&m>0;)u=c[--m];u===null||u.start>n.start?ys(C,n.comments):Jn(u,n.comments)}class Ui extends Fs{addComment(c){this.filename&&(c.loc.filename=this.filename);const{commentsLen:n}=this.state;this.comments.length!==n&&(this.comments.length=n),this.comments.push(c),this.state.commentsLen++}processComment(c){const{commentStack:n}=this.state,u=n.length;if(u===0)return;let m=u-1;const b=n[m];b.start===c.end&&(b.leadingNode=c,m--);const{start:N}=c;for(;m>=0;m--){const D=n[m],q=D.end;if(q>N)D.containingNode=c,this.finalizeComment(D),n.splice(m,1);else{q===N&&(D.trailingNode=c);break}}}finalizeComment(c){const{comments:n}=c;if(c.leadingNode!==null||c.trailingNode!==null)c.leadingNode!==null&&Jn(c.leadingNode,n),c.trailingNode!==null&&ji(c.trailingNode,n);else{const{containingNode:u,start:m}=c;if(this.input.charCodeAt(m-1)===44)switch(u.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":vs(u,u.properties,c);break;case"CallExpression":case"OptionalCallExpression":vs(u,u.arguments,c);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":vs(u,u.params,c);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":vs(u,u.elements,c);break;case"ExportNamedDeclaration":case"ImportDeclaration":vs(u,u.specifiers,c);break;default:ys(u,n)}else ys(u,n)}}finalizeRemainingComments(){const{commentStack:c}=this.state;for(let n=c.length-1;n>=0;n--)this.finalizeComment(c[n]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(c){const{commentStack:n}=this.state,{length:u}=n;if(u===0)return;const m=n[u-1];m.leadingNode===c&&(m.leadingNode=null)}resetPreviousIdentifierLeadingComments(c){const{commentStack:n}=this.state,{length:u}=n;u!==0&&(n[u-1].trailingNode===c?n[u-1].trailingNode=null:u>=2&&n[u-2].trailingNode===c&&(n[u-2].trailingNode=null))}takeSurroundingComments(c,n,u){const{commentStack:m}=this.state,b=m.length;if(b===0)return;let N=b-1;for(;N>=0;N--){const D=m[N],q=D.end;if(D.start===u)D.leadingNode=c;else if(q===n)D.trailingNode=c;else if(q<n)break}}}const qi=/\r\n|[\r\n\u2028\u2029]/,Bs=new RegExp(qi.source,"g");function zr(C){switch(C){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function Kn(C,c,n){for(let u=c;u<n;u++)if(zr(C.charCodeAt(u)))return!0;return!1}const pn=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,fn=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function Vi(C){switch(C){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class dn{constructor(){this.flags=1024,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[M.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(c){c?this.flags|=1:this.flags&=-2}init({strictMode:c,sourceType:n,startLine:u,startColumn:m}){this.strict=c===!1?!1:c===!0?!0:n==="module",this.curLine=u,this.lineStart=-m,this.startLoc=this.endLoc=new t(u,m,0)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(c){c?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(c){c?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(c){c?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(c){c?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(c){c?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(c){c?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(c){c?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(c){c?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(c){c?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(c){c?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(c){c?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(c){c?this.flags|=4096:this.flags&=-4097}curPosition(){return new t(this.curLine,this.pos-this.lineStart,this.pos)}clone(){const c=new dn;return c.flags=this.flags,c.curLine=this.curLine,c.lineStart=this.lineStart,c.startLoc=this.startLoc,c.endLoc=this.endLoc,c.errors=this.errors.slice(),c.potentialArrowAt=this.potentialArrowAt,c.noArrowAt=this.noArrowAt.slice(),c.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),c.topicContext=this.topicContext,c.labels=this.labels.slice(),c.commentsLen=this.commentsLen,c.commentStack=this.commentStack.slice(),c.pos=this.pos,c.type=this.type,c.value=this.value,c.start=this.start,c.end=this.end,c.lastTokEndLoc=this.lastTokEndLoc,c.lastTokStartLoc=this.lastTokStartLoc,c.context=this.context.slice(),c.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,c.strictErrors=this.strictErrors,c.tokensLength=this.tokensLength,c}}var Wi=function(c){return c>=48&&c<=57};const Yn={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},$s={bin:C=>C===48||C===49,oct:C=>C>=48&&C<=55,dec:C=>C>=48&&C<=57,hex:C=>C>=48&&C<=57||C>=65&&C<=70||C>=97&&C<=102};function la(C,c,n,u,m,b){const N=n,D=u,q=m;let Y="",X=null,fe=n;const{length:be}=c;for(;;){if(n>=be){b.unterminated(N,D,q),Y+=c.slice(fe,n);break}const Ee=c.charCodeAt(n);if(au(C,Ee,c,n)){Y+=c.slice(fe,n);break}if(Ee===92){Y+=c.slice(fe,n);const Ie=lu(c,n,u,m,C==="template",b);Ie.ch===null&&!X?X={pos:n,lineStart:u,curLine:m}:Y+=Ie.ch,{pos:n,lineStart:u,curLine:m}=Ie,fe=n}else Ee===8232||Ee===8233?(++n,++m,u=n):Ee===10||Ee===13?C==="template"?(Y+=c.slice(fe,n)+`
|
|
`,++n,Ee===13&&c.charCodeAt(n)===10&&++n,++m,fe=u=n):b.unterminated(N,D,q):++n}return{pos:n,str:Y,firstInvalidLoc:X,lineStart:u,curLine:m,containsInvalid:!!X}}function au(C,c,n,u){return C==="template"?c===96||c===36&&n.charCodeAt(u+1)===123:c===(C==="double"?34:39)}function lu(C,c,n,u,m,b){const N=!m;c++;const D=Y=>({pos:c,ch:Y,lineStart:n,curLine:u}),q=C.charCodeAt(c++);switch(q){case 110:return D(`
|
|
`);case 114:return D("\r");case 120:{let Y;return{code:Y,pos:c}=Gi(C,c,n,u,2,!1,N,b),D(Y===null?null:String.fromCharCode(Y))}case 117:{let Y;return{code:Y,pos:c}=ua(C,c,n,u,N,b),D(Y===null?null:String.fromCodePoint(Y))}case 116:return D(" ");case 98:return D("\b");case 118:return D("\v");case 102:return D("\f");case 13:C.charCodeAt(c)===10&&++c;case 10:n=c,++u;case 8232:case 8233:return D("");case 56:case 57:if(m)return D(null);b.strictNumericEscape(c-1,n,u);default:if(q>=48&&q<=55){const Y=c-1;let fe=/^[0-7]+/.exec(C.slice(Y,c+2))[0],be=parseInt(fe,8);be>255&&(fe=fe.slice(0,-1),be=parseInt(fe,8)),c+=fe.length-1;const Ee=C.charCodeAt(c);if(fe!=="0"||Ee===56||Ee===57){if(m)return D(null);b.strictNumericEscape(Y,n,u)}return D(String.fromCharCode(be))}return D(String.fromCharCode(q))}}function Gi(C,c,n,u,m,b,N,D){const q=c;let Y;return{n:Y,pos:c}=ca(C,c,n,u,16,m,b,!1,D,!N),Y===null&&(N?D.invalidEscapeSequence(q,n,u):c=q-1),{code:Y,pos:c}}function ca(C,c,n,u,m,b,N,D,q,Y){const X=c,fe=m===16?Yn.hex:Yn.decBinOct,be=m===16?$s.hex:m===10?$s.dec:m===8?$s.oct:$s.bin;let Ee=!1,Ie=0;for(let rt=0,ar=b??1/0;rt<ar;++rt){const Ze=C.charCodeAt(c);let St;if(Ze===95&&D!=="bail"){const ma=C.charCodeAt(c-1),Hi=C.charCodeAt(c+1);if(D){if(Number.isNaN(Hi)||!be(Hi)||fe.has(ma)||fe.has(Hi)){if(Y)return{n:null,pos:c};q.unexpectedNumericSeparator(c,n,u)}}else{if(Y)return{n:null,pos:c};q.numericSeparatorInEscapeSequence(c,n,u)}++c;continue}if(Ze>=97?St=Ze-97+10:Ze>=65?St=Ze-65+10:Wi(Ze)?St=Ze-48:St=1/0,St>=m){if(St<=9&&Y)return{n:null,pos:c};if(St<=9&&q.invalidDigit(c,n,u,m))St=0;else if(N)St=0,Ee=!0;else break}++c,Ie=Ie*m+St}return c===X||b!=null&&c-X!==b||Ee?{n:null,pos:c}:{n:Ie,pos:c}}function ua(C,c,n,u,m,b){const N=C.charCodeAt(c);let D;if(N===123){if(++c,{code:D,pos:c}=Gi(C,c,n,u,C.indexOf("}",c)-c,!0,m,b),++c,D!==null&&D>1114111)if(m)b.invalidCodePoint(c,n,u);else return{code:null,pos:c}}else({code:D,pos:c}=Gi(C,c,n,u,4,!1,m,b));return{code:D,pos:c}}function mn(C,c,n){return new t(n,C-c,C)}const cu=new Set([103,109,115,105,121,117,100,118]);class Hr{constructor(c){this.type=c.type,this.value=c.value,this.start=c.start,this.end=c.end,this.loc=new r(c.startLoc,c.endLoc)}}class uu extends Ui{constructor(c,n){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(u,m,b,N)=>this.options.errorRecovery?(this.raise(S.InvalidDigit,mn(u,m,b),{radix:N}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(S.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(S.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(S.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(S.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(u,m,b)=>{this.recordStrictModeErrors(S.StrictNumericEscape,mn(u,m,b))},unterminated:(u,m,b)=>{throw this.raise(S.UnterminatedString,mn(u-1,m,b))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(S.StrictNumericEscape),unterminated:(u,m,b)=>{throw this.raise(S.UnterminatedTemplate,mn(u,m,b))}}),this.state=new dn,this.state.init(c),this.input=n,this.length=n.length,this.comments=[],this.isLookahead=!1}pushToken(c){this.tokens.length=this.state.tokensLength,this.tokens.push(c),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Hr(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(c){return this.match(c)?(this.next(),!0):!1}match(c){return this.state.type===c}createLookaheadState(c){return{pos:c.pos,value:null,type:c.type,start:c.start,end:c.end,context:[this.curContext()],inType:c.inType,startLoc:c.startLoc,lastTokEndLoc:c.lastTokEndLoc,curLine:c.curLine,lineStart:c.lineStart,curPosition:c.curPosition}}lookahead(){const c=this.state;this.state=this.createLookaheadState(c),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const n=this.state;return this.state=c,n}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(c){return pn.lastIndex=c,pn.test(this.input)?pn.lastIndex:c}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(c){return fn.lastIndex=c,fn.test(this.input)?fn.lastIndex:c}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(c){let n=this.input.charCodeAt(c);if((n&64512)===55296&&++c<this.input.length){const u=this.input.charCodeAt(c);(u&64512)===56320&&(n=65536+((n&1023)<<10)+(u&1023))}return n}setStrict(c){this.state.strict=c,c&&(this.state.strictErrors.forEach(([n,u])=>this.raise(n,u)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(139);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(c){let n;this.isLookahead||(n=this.state.curPosition());const u=this.state.pos,m=this.input.indexOf(c,u+2);if(m===-1)throw this.raise(S.UnterminatedComment,this.state.curPosition());for(this.state.pos=m+c.length,Bs.lastIndex=u+2;Bs.test(this.input)&&Bs.lastIndex<=m;)++this.state.curLine,this.state.lineStart=Bs.lastIndex;if(this.isLookahead)return;const b={type:"CommentBlock",value:this.input.slice(u+2,m),start:u,end:m+c.length,loc:new r(n,this.state.curPosition())};return this.options.tokens&&this.pushToken(b),b}skipLineComment(c){const n=this.state.pos;let u;this.isLookahead||(u=this.state.curPosition());let m=this.input.charCodeAt(this.state.pos+=c);if(this.state.pos<this.length)for(;!zr(m)&&++this.state.pos<this.length;)m=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const b=this.state.pos,D={type:"CommentLine",value:this.input.slice(n+c,b),start:n,end:b,loc:new r(u,this.state.curPosition())};return this.options.tokens&&this.pushToken(D),D}skipSpace(){const c=this.state.pos,n=[];e:for(;this.state.pos<this.length;){const u=this.input.charCodeAt(this.state.pos);switch(u){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{const m=this.skipBlockComment("*/");m!==void 0&&(this.addComment(m),this.options.attachComment&&n.push(m));break}case 47:{const m=this.skipLineComment(2);m!==void 0&&(this.addComment(m),this.options.attachComment&&n.push(m));break}default:break e}break;default:if(Vi(u))++this.state.pos;else if(u===45&&!this.inModule&&this.options.annexB){const m=this.state.pos;if(this.input.charCodeAt(m+1)===45&&this.input.charCodeAt(m+2)===62&&(c===0||this.state.lineStart>c)){const b=this.skipLineComment(3);b!==void 0&&(this.addComment(b),this.options.attachComment&&n.push(b))}else break e}else if(u===60&&!this.inModule&&this.options.annexB){const m=this.state.pos;if(this.input.charCodeAt(m+1)===33&&this.input.charCodeAt(m+2)===45&&this.input.charCodeAt(m+3)===45){const b=this.skipLineComment(4);b!==void 0&&(this.addComment(b),this.options.attachComment&&n.push(b))}else break e}else break e}}if(n.length>0){const u=this.state.pos,m={start:c,end:u,comments:n,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(m)}}finishToken(c,n){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const u=this.state.type;this.state.type=c,this.state.value=n,this.isLookahead||this.updateContext(u)}replaceToken(c){this.state.type=c,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const c=this.state.pos+1,n=this.codePointAtPos(c);if(n>=48&&n<=57)throw this.raise(S.UnexpectedDigitAfterHash,this.state.curPosition());if(n===123||n===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(n===123?S.RecordExpressionHashIncorrectStartSyntaxType:S.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,n===123?this.finishToken(7):this.finishToken(1)}else Je(n)?(++this.state.pos,this.finishToken(138,this.readWord1(n))):n===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const c=this.input.charCodeAt(this.state.pos+1);if(c>=48&&c<=57){this.readNumber(!0);return}c===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let c=this.input.charCodeAt(this.state.pos+1);if(c!==33)return!1;const n=this.state.pos;for(this.state.pos+=1;!zr(c)&&++this.state.pos<this.length;)c=this.input.charCodeAt(this.state.pos);const u=this.input.slice(n+2,this.state.pos);return this.finishToken(28,u),!0}readToken_mult_modulo(c){let n=c===42?55:54,u=1,m=this.input.charCodeAt(this.state.pos+1);c===42&&m===42&&(u++,m=this.input.charCodeAt(this.state.pos+2),n=57),m===61&&!this.state.inType&&(u++,n=c===37?33:30),this.finishOp(n,u)}readToken_pipe_amp(c){const n=this.input.charCodeAt(this.state.pos+1);if(n===c){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(c===124?41:42,2);return}if(c===124){if(n===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&n===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&n===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(n===61){this.finishOp(30,2);return}this.finishOp(c===124?43:45,1)}readToken_caret(){const c=this.input.charCodeAt(this.state.pos+1);c===61&&!this.state.inType?this.finishOp(32,2):c===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(c){const n=this.input.charCodeAt(this.state.pos+1);if(n===c){this.finishOp(34,2);return}n===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){const{pos:c}=this.state,n=this.input.charCodeAt(c+1);if(n===60){if(this.input.charCodeAt(c+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(n===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){const{pos:c}=this.state,n=this.input.charCodeAt(c+1);if(n===62){const u=this.input.charCodeAt(c+2)===62?3:2;if(this.input.charCodeAt(c+u)===61){this.finishOp(30,u+1);return}this.finishOp(52,u);return}if(n===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(c){const n=this.input.charCodeAt(this.state.pos+1);if(n===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(c===61&&n===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(c===61?29:35,1)}readToken_question(){const c=this.input.charCodeAt(this.state.pos+1),n=this.input.charCodeAt(this.state.pos+2);c===63?n===61?this.finishOp(30,3):this.finishOp(40,2):c===46&&!(n>=48&&n<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(c){switch(c){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{const n=this.input.charCodeAt(this.state.pos+1);if(n===120||n===88){this.readRadixNumber(16);return}if(n===111||n===79){this.readRadixNumber(8);return}if(n===98||n===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(c);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(c);return;case 124:case 38:this.readToken_pipe_amp(c);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(c);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(c);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(Je(c)){this.readWord(c);return}}throw this.raise(S.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(c)})}finishOp(c,n){const u=this.input.slice(this.state.pos,this.state.pos+n);this.state.pos+=n,this.finishToken(c,u)}readRegexp(){const c=this.state.startLoc,n=this.state.start+1;let u,m,{pos:b}=this.state;for(;;++b){if(b>=this.length)throw this.raise(S.UnterminatedRegExp,s(c,1));const Y=this.input.charCodeAt(b);if(zr(Y))throw this.raise(S.UnterminatedRegExp,s(c,1));if(u)u=!1;else{if(Y===91)m=!0;else if(Y===93&&m)m=!1;else if(Y===47&&!m)break;u=Y===92}}const N=this.input.slice(n,b);++b;let D="";const q=()=>s(c,b+2-n);for(;b<this.length;){const Y=this.codePointAtPos(b),X=String.fromCharCode(Y);if(cu.has(Y))Y===118?D.includes("u")&&this.raise(S.IncompatibleRegExpUVFlags,q()):Y===117&&D.includes("v")&&this.raise(S.IncompatibleRegExpUVFlags,q()),D.includes(X)&&this.raise(S.DuplicateRegExpFlags,q());else if(Qe(Y)||Y===92)this.raise(S.MalformedRegExpFlags,q());else break;++b,D+=X}this.state.pos=b,this.finishToken(137,{pattern:N,flags:D})}readInt(c,n,u=!1,m=!0){const{n:b,pos:N}=ca(this.input,this.state.pos,this.state.lineStart,this.state.curLine,c,n,u,m,this.errorHandlers_readInt,!1);return this.state.pos=N,b}readRadixNumber(c){const n=this.state.curPosition();let u=!1;this.state.pos+=2;const m=this.readInt(c);m==null&&this.raise(S.InvalidDigit,s(n,2),{radix:c});const b=this.input.charCodeAt(this.state.pos);if(b===110)++this.state.pos,u=!0;else if(b===109)throw this.raise(S.InvalidDecimal,n);if(Je(this.codePointAtPos(this.state.pos)))throw this.raise(S.NumberIdentifier,this.state.curPosition());if(u){const N=this.input.slice(n.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,N);return}this.finishToken(134,m)}readNumber(c){const n=this.state.pos,u=this.state.curPosition();let m=!1,b=!1,N=!1,D=!1,q=!1;!c&&this.readInt(10)===null&&this.raise(S.InvalidNumber,this.state.curPosition());const Y=this.state.pos-n>=2&&this.input.charCodeAt(n)===48;if(Y){const Ee=this.input.slice(n,this.state.pos);if(this.recordStrictModeErrors(S.StrictOctalLiteral,u),!this.state.strict){const Ie=Ee.indexOf("_");Ie>0&&this.raise(S.ZeroDigitNumericSeparator,s(u,Ie))}q=Y&&!/[89]/.test(Ee)}let X=this.input.charCodeAt(this.state.pos);if(X===46&&!q&&(++this.state.pos,this.readInt(10),m=!0,X=this.input.charCodeAt(this.state.pos)),(X===69||X===101)&&!q&&(X=this.input.charCodeAt(++this.state.pos),(X===43||X===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(S.InvalidOrMissingExponent,u),m=!0,D=!0,X=this.input.charCodeAt(this.state.pos)),X===110&&((m||Y)&&this.raise(S.InvalidBigIntLiteral,u),++this.state.pos,b=!0),X===109&&(this.expectPlugin("decimal",this.state.curPosition()),(D||Y)&&this.raise(S.InvalidDecimal,u),++this.state.pos,N=!0),Je(this.codePointAtPos(this.state.pos)))throw this.raise(S.NumberIdentifier,this.state.curPosition());const fe=this.input.slice(n,this.state.pos).replace(/[_mn]/g,"");if(b){this.finishToken(135,fe);return}if(N){this.finishToken(136,fe);return}const be=q?parseInt(fe,8):parseFloat(fe);this.finishToken(134,be)}readCodePoint(c){const{code:n,pos:u}=ua(this.input,this.state.pos,this.state.lineStart,this.state.curLine,c,this.errorHandlers_readCodePoint);return this.state.pos=u,n}readString(c){const{str:n,pos:u,curLine:m,lineStart:b}=la(c===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=u+1,this.state.lineStart=b,this.state.curLine=m,this.finishToken(133,n)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const c=this.input[this.state.pos],{str:n,firstInvalidLoc:u,pos:m,curLine:b,lineStart:N}=la("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=m+1,this.state.lineStart=N,this.state.curLine=b,u&&(this.state.firstInvalidTemplateEscapePos=new t(u.curLine,u.pos-u.lineStart,u.pos)),this.input.codePointAt(m)===96?this.finishToken(24,u?null:c+n+"`"):(this.state.pos++,this.finishToken(25,u?null:c+n+"${"))}recordStrictModeErrors(c,n){const u=n.index;this.state.strict&&!this.state.strictErrors.has(u)?this.raise(c,n):this.state.strictErrors.set(u,[c,n])}readWord1(c){this.state.containsEsc=!1;let n="";const u=this.state.pos;let m=this.state.pos;for(c!==void 0&&(this.state.pos+=c<=65535?1:2);this.state.pos<this.length;){const b=this.codePointAtPos(this.state.pos);if(Qe(b))this.state.pos+=b<=65535?1:2;else if(b===92){this.state.containsEsc=!0,n+=this.input.slice(m,this.state.pos);const N=this.state.curPosition(),D=this.state.pos===u?Je:Qe;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(S.MissingUnicodeEscape,this.state.curPosition()),m=this.state.pos-1;continue}++this.state.pos;const q=this.readCodePoint(!0);q!==null&&(D(q)||this.raise(S.EscapedCharNotAnIdentifier,N),n+=String.fromCodePoint(q)),m=this.state.pos}else break}return n+this.input.slice(m,this.state.pos)}readWord(c){const n=this.readWord1(c),u=re.get(n);u!==void 0?this.finishToken(u,pt(u)):this.finishToken(132,n)}checkKeywordEscapes(){const{type:c}=this.state;tt(c)&&this.state.containsEsc&&this.raise(S.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:pt(c)})}raise(c,n,u={}){const m=n instanceof t?n:n.loc.start,b=c(m,u);if(!this.options.errorRecovery)throw b;return this.isLookahead||this.state.errors.push(b),b}raiseOverwrite(c,n,u={}){const m=n instanceof t?n:n.loc.start,b=m.index,N=this.state.errors;for(let D=N.length-1;D>=0;D--){const q=N[D];if(q.loc.index===b)return N[D]=c(m,u);if(q.loc.index<b)break}return this.raise(c,n,u)}updateContext(c){}unexpected(c,n){throw this.raise(S.UnexpectedToken,c??this.state.startLoc,{expected:n?pt(n):null})}expectPlugin(c,n){if(this.hasPlugin(c))return!0;throw this.raise(S.MissingPlugin,n??this.state.startLoc,{missingPlugin:[c]})}expectOnePlugin(c){if(!c.some(n=>this.hasPlugin(n)))throw this.raise(S.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:c})}errorBuilder(c){return(n,u,m)=>{this.raise(c,mn(n,u,m))}}}class hu{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class pu{constructor(c){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=c}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new hu)}exit(){const c=this.stack.pop(),n=this.current();for(const[u,m]of Array.from(c.undefinedPrivateNames))n?n.undefinedPrivateNames.has(u)||n.undefinedPrivateNames.set(u,m):this.parser.raise(S.InvalidPrivateFieldResolution,m,{identifierName:u})}declarePrivateName(c,n,u){const{privateNames:m,loneAccessors:b,undefinedPrivateNames:N}=this.current();let D=m.has(c);if(n&3){const q=D&&b.get(c);if(q){const Y=q&4,X=n&4,fe=q&3,be=n&3;D=fe===be||Y!==X,D||b.delete(c)}else D||b.set(c,n)}D&&this.parser.raise(S.PrivateNameRedeclaration,u,{identifierName:c}),m.add(c),N.delete(c)}usePrivateName(c,n){let u;for(u of this.stack)if(u.privateNames.has(c))return;u?u.undefinedPrivateNames.set(c,n):this.parser.raise(S.InvalidPrivateFieldResolution,n,{identifierName:c})}}class Qn{constructor(c=0){this.type=c}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class ha extends Qn{constructor(c){super(c),this.declarationErrors=new Map}recordDeclarationError(c,n){const u=n.index;this.declarationErrors.set(u,[c,n])}clearDeclarationError(c){this.declarationErrors.delete(c)}iterateErrors(c){this.declarationErrors.forEach(c)}}class fu{constructor(c){this.parser=void 0,this.stack=[new Qn],this.parser=c}enter(c){this.stack.push(c)}exit(){this.stack.pop()}recordParameterInitializerError(c,n){const u=n.loc.start,{stack:m}=this;let b=m.length-1,N=m[b];for(;!N.isCertainlyParameterDeclaration();){if(N.canBeArrowParameterDeclaration())N.recordDeclarationError(c,u);else return;N=m[--b]}this.parser.raise(c,u)}recordArrowParameterBindingError(c,n){const{stack:u}=this,m=u[u.length-1],b=n.loc.start;if(m.isCertainlyParameterDeclaration())this.parser.raise(c,b);else if(m.canBeArrowParameterDeclaration())m.recordDeclarationError(c,b);else return}recordAsyncArrowParametersError(c){const{stack:n}=this;let u=n.length-1,m=n[u];for(;m.canBeArrowParameterDeclaration();)m.type===2&&m.recordDeclarationError(S.AwaitBindingIdentifier,c),m=n[--u]}validateAsPattern(){const{stack:c}=this,n=c[c.length-1];n.canBeArrowParameterDeclaration()&&n.iterateErrors(([u,m])=>{this.parser.raise(u,m);let b=c.length-2,N=c[b];for(;N.canBeArrowParameterDeclaration();)N.clearDeclarationError(m.index),N=c[--b]})}}function du(){return new Qn(3)}function GE(){return new ha(1)}function zE(){return new ha(2)}function cd(){return new Qn}class HE{constructor(){this.stacks=[]}enter(c){this.stacks.push(c)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}}function pa(C,c){return(C?2:0)|(c?1:0)}class XE extends uu{addExtra(c,n,u,m=!0){if(!c)return;let{extra:b}=c;b==null&&(b={},c.extra=b),m?b[n]=u:Object.defineProperty(b,n,{enumerable:m,value:u})}isContextual(c){return this.state.type===c&&!this.state.containsEsc}isUnparsedContextual(c,n){const u=c+n.length;if(this.input.slice(c,u)===n){const m=this.input.charCodeAt(u);return!(Qe(m)||(m&64512)===55296)}return!1}isLookaheadContextual(c){const n=this.nextTokenStart();return this.isUnparsedContextual(n,c)}eatContextual(c){return this.isContextual(c)?(this.next(),!0):!1}expectContextual(c,n){if(!this.eatContextual(c)){if(n!=null)throw this.raise(n,this.state.startLoc);this.unexpected(null,c)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Kn(this.input,this.state.lastTokEndLoc.index,this.state.start)}hasFollowingLineBreak(){return Kn(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(c=!0){(c?this.isLineTerminator():this.eat(13))||this.raise(S.MissingSemicolon,this.state.lastTokEndLoc)}expect(c,n){this.eat(c)||this.unexpected(n,c)}tryParse(c,n=this.state.clone()){const u={node:null};try{const m=c((b=null)=>{throw u.node=b,u});if(this.state.errors.length>n.errors.length){const b=this.state;return this.state=n,this.state.tokensLength=b.tokensLength,{node:m,error:b.errors[n.errors.length],thrown:!1,aborted:!1,failState:b}}return{node:m,error:null,thrown:!1,aborted:!1,failState:null}}catch(m){const b=this.state;if(this.state=n,m instanceof SyntaxError)return{node:null,error:m,thrown:!0,aborted:!1,failState:b};if(m===u)return{node:u.node,error:null,thrown:!1,aborted:!0,failState:b};throw m}}checkExpressionErrors(c,n){if(!c)return!1;const{shorthandAssignLoc:u,doubleProtoLoc:m,privateKeyLoc:b,optionalParametersLoc:N}=c,D=!!u||!!m||!!N||!!b;if(!n)return D;u!=null&&this.raise(S.InvalidCoverInitializedName,u),m!=null&&this.raise(S.DuplicateProto,m),b!=null&&this.raise(S.UnexpectedPrivateField,b),N!=null&&this.unexpected(N)}isLiteralPropertyName(){return de(this.state.type)}isPrivateName(c){return c.type==="PrivateName"}getPrivateNameSV(c){return c.id.name}hasPropertyAsPrivateName(c){return(c.type==="MemberExpression"||c.type==="OptionalMemberExpression")&&this.isPrivateName(c.property)}isObjectProperty(c){return c.type==="ObjectProperty"}isObjectMethod(c){return c.type==="ObjectMethod"}initializeScopes(c=this.options.sourceType==="module"){const n=this.state.labels;this.state.labels=[];const u=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const m=this.inModule;this.inModule=c;const b=this.scope,N=this.getScopeHandler();this.scope=new N(this,c);const D=this.prodParam;this.prodParam=new HE;const q=this.classScope;this.classScope=new pu(this);const Y=this.expressionScope;return this.expressionScope=new fu(this),()=>{this.state.labels=n,this.exportedIdentifiers=u,this.inModule=m,this.scope=b,this.prodParam=D,this.classScope=q,this.expressionScope=Y}}enterInitialScopes(){let c=0;this.inModule&&(c|=2),this.scope.enter(1),this.prodParam.enter(c)}checkDestructuringPrivate(c){const{privateKeyLoc:n}=c;n!==null&&this.expectPlugin("destructuringPrivate",n)}}class fa{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class da{constructor(c,n,u){this.type="",this.start=n,this.end=0,this.loc=new r(u),c!=null&&c.options.ranges&&(this.range=[n,0]),c!=null&&c.filename&&(this.loc.filename=c.filename)}}const mu=da.prototype;mu.__clone=function(){const C=new da(void 0,this.start,this.loc.start),c=Object.keys(this);for(let n=0,u=c.length;n<u;n++){const m=c[n];m!=="leadingComments"&&m!=="trailingComments"&&m!=="innerComments"&&(C[m]=this[m])}return C};function JE(C){return Ss(C)}function Ss(C){const{type:c,start:n,end:u,loc:m,range:b,extra:N,name:D}=C,q=Object.create(mu);return q.type=c,q.start=n,q.end=u,q.loc=m,q.range=b,q.extra=N,q.name=D,c==="Placeholder"&&(q.expectedNode=C.expectedNode),q}function KE(C){const{type:c,start:n,end:u,loc:m,range:b,extra:N}=C;if(c==="Placeholder")return JE(C);const D=Object.create(mu);return D.type=c,D.start=n,D.end=u,D.loc=m,D.range=b,C.raw!==void 0?D.raw=C.raw:D.extra=N,D.value=C.value,D}class YE extends XE{startNode(){const c=this.state.startLoc;return new da(this,c.index,c)}startNodeAt(c){return new da(this,c.index,c)}startNodeAtNode(c){return this.startNodeAt(c.loc.start)}finishNode(c,n){return this.finishNodeAt(c,n,this.state.lastTokEndLoc)}finishNodeAt(c,n,u){return c.type=n,c.end=u.index,c.loc.end=u,this.options.ranges&&(c.range[1]=u.index),this.options.attachComment&&this.processComment(c),c}resetStartLocation(c,n){c.start=n.index,c.loc.start=n,this.options.ranges&&(c.range[0]=n.index)}resetEndLocation(c,n=this.state.lastTokEndLoc){c.end=n.index,c.loc.end=n,this.options.ranges&&(c.range[1]=n.index)}resetStartLocationFromNode(c,n){this.resetStartLocation(c,n.loc.start)}}const QE=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Le=_`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:C})=>`Cannot overwrite reserved type ${C}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:C,enumName:c})=>`Boolean enum members need to be initialized. Use either \`${C} = true,\` or \`${C} = false,\` in enum \`${c}\`.`,EnumDuplicateMemberName:({memberName:C,enumName:c})=>`Enum member names need to be unique, but the name \`${C}\` has already been used before in enum \`${c}\`.`,EnumInconsistentMemberValues:({enumName:C})=>`Enum \`${C}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:C,enumName:c})=>`Enum type \`${C}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${c}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:C})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${C}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:C,memberName:c,explicitType:n})=>`Enum \`${C}\` has type \`${n}\`, so the initializer of \`${c}\` needs to be a ${n} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:C,memberName:c})=>`Symbol enum members cannot be initialized. Use \`${c},\` in enum \`${C}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:C,memberName:c})=>`The enum member initializer for \`${c}\` needs to be a literal (either a boolean, number, or string) in enum \`${C}\`.`,EnumInvalidMemberName:({enumName:C,memberName:c,suggestion:n})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${c}\`, consider using \`${n}\`, in enum \`${C}\`.`,EnumNumberMemberNotInitialized:({enumName:C,memberName:c})=>`Number enum members need to be initialized, e.g. \`${c} = 1\` in enum \`${C}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:C})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${C}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:C})=>`Unexpected reserved type ${C}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:C,suggestion:c})=>`\`declare export ${C}\` is not supported. Use \`${c}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function ZE(C){return C.type==="DeclareExportAllDeclaration"||C.type==="DeclareExportDeclaration"&&(!C.declaration||C.declaration.type!=="TypeAlias"&&C.declaration.type!=="InterfaceDeclaration")}function ud(C){return C.importKind==="type"||C.importKind==="typeof"}const eT={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function tT(C,c){const n=[],u=[];for(let m=0;m<C.length;m++)(c(C[m],m,C)?n:u).push(C[m]);return[n,u]}const rT=/\*?\s*@((?:no)?flow)\b/;var sT=C=>class extends C{constructor(...n){super(...n),this.flowPragma=void 0}getScopeHandler(){return Ds}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(n,u){n!==133&&n!==13&&n!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(n,u)}addComment(n){if(this.flowPragma===void 0){const u=rT.exec(n.value);if(u)if(u[1]==="flow")this.flowPragma="flow";else if(u[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(n)}flowParseTypeInitialiser(n){const u=this.state.inType;this.state.inType=!0,this.expect(n||14);const m=this.flowParseType();return this.state.inType=u,m}flowParsePredicate(){const n=this.startNode(),u=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>u.index+1&&this.raise(Le.UnexpectedSpaceBetweenModuloChecks,u),this.eat(10)?(n.value=super.parseExpression(),this.expect(11),this.finishNode(n,"DeclaredPredicate")):this.finishNode(n,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const n=this.state.inType;this.state.inType=!0,this.expect(14);let u=null,m=null;return this.match(54)?(this.state.inType=n,m=this.flowParsePredicate()):(u=this.flowParseType(),this.state.inType=n,this.match(54)&&(m=this.flowParsePredicate())),[u,m]}flowParseDeclareClass(n){return this.next(),this.flowParseInterfaceish(n,!0),this.finishNode(n,"DeclareClass")}flowParseDeclareFunction(n){this.next();const u=n.id=this.parseIdentifier(),m=this.startNode(),b=this.startNode();this.match(47)?m.typeParameters=this.flowParseTypeParameterDeclaration():m.typeParameters=null,this.expect(10);const N=this.flowParseFunctionTypeParams();return m.params=N.params,m.rest=N.rest,m.this=N._this,this.expect(11),[m.returnType,n.predicate]=this.flowParseTypeAndPredicateInitialiser(),b.typeAnnotation=this.finishNode(m,"FunctionTypeAnnotation"),u.typeAnnotation=this.finishNode(b,"TypeAnnotation"),this.resetEndLocation(u),this.semicolon(),this.scope.declareName(n.id.name,2048,n.id.loc.start),this.finishNode(n,"DeclareFunction")}flowParseDeclare(n,u){if(this.match(80))return this.flowParseDeclareClass(n);if(this.match(68))return this.flowParseDeclareFunction(n);if(this.match(74))return this.flowParseDeclareVariable(n);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(n):(u&&this.raise(Le.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(n));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(n);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(n);if(this.isContextual(129))return this.flowParseDeclareInterface(n);if(this.match(82))return this.flowParseDeclareExportDeclaration(n,u);this.unexpected()}flowParseDeclareVariable(n){return this.next(),n.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(n.id.name,5,n.id.loc.start),this.semicolon(),this.finishNode(n,"DeclareVariable")}flowParseDeclareModule(n){this.scope.enter(0),this.match(133)?n.id=super.parseExprAtom():n.id=this.parseIdentifier();const u=n.body=this.startNode(),m=u.body=[];for(this.expect(5);!this.match(8);){let D=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(Le.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(D)):(this.expectContextual(125,Le.UnsupportedStatementInDeclareModule),D=this.flowParseDeclare(D,!0)),m.push(D)}this.scope.exit(),this.expect(8),this.finishNode(u,"BlockStatement");let b=null,N=!1;return m.forEach(D=>{ZE(D)?(b==="CommonJS"&&this.raise(Le.AmbiguousDeclareModuleKind,D),b="ES"):D.type==="DeclareModuleExports"&&(N&&this.raise(Le.DuplicateDeclareModuleExports,D),b==="ES"&&this.raise(Le.AmbiguousDeclareModuleKind,D),b="CommonJS",N=!0)}),n.kind=b||"CommonJS",this.finishNode(n,"DeclareModule")}flowParseDeclareExportDeclaration(n,u){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?n.declaration=this.flowParseDeclare(this.startNode()):(n.declaration=this.flowParseType(),this.semicolon()),n.default=!0,this.finishNode(n,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!u){const m=this.state.value;throw this.raise(Le.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:m,suggestion:eT[m]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return n.declaration=this.flowParseDeclare(this.startNode()),n.default=!1,this.finishNode(n,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return n=this.parseExport(n,null),n.type==="ExportNamedDeclaration"&&(n.type="ExportDeclaration",n.default=!1,delete n.exportKind),n.type="Declare"+n.type,n;this.unexpected()}flowParseDeclareModuleExports(n){return this.next(),this.expectContextual(111),n.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(n,"DeclareModuleExports")}flowParseDeclareTypeAlias(n){this.next();const u=this.flowParseTypeAlias(n);return u.type="DeclareTypeAlias",u}flowParseDeclareOpaqueType(n){this.next();const u=this.flowParseOpaqueType(n,!0);return u.type="DeclareOpaqueType",u}flowParseDeclareInterface(n){return this.next(),this.flowParseInterfaceish(n,!1),this.finishNode(n,"DeclareInterface")}flowParseInterfaceish(n,u){if(n.id=this.flowParseRestrictedIdentifier(!u,!0),this.scope.declareName(n.id.name,u?17:8201,n.id.loc.start),this.match(47)?n.typeParameters=this.flowParseTypeParameterDeclaration():n.typeParameters=null,n.extends=[],this.eat(81))do n.extends.push(this.flowParseInterfaceExtends());while(!u&&this.eat(12));if(u){if(n.implements=[],n.mixins=[],this.eatContextual(117))do n.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do n.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}n.body=this.flowParseObjectType({allowStatic:u,allowExact:!1,allowSpread:!1,allowProto:u,allowInexact:!1})}flowParseInterfaceExtends(){const n=this.startNode();return n.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?n.typeParameters=this.flowParseTypeParameterInstantiation():n.typeParameters=null,this.finishNode(n,"InterfaceExtends")}flowParseInterface(n){return this.flowParseInterfaceish(n,!1),this.finishNode(n,"InterfaceDeclaration")}checkNotUnderscore(n){n==="_"&&this.raise(Le.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(n,u,m){QE.has(n)&&this.raise(m?Le.AssignReservedType:Le.UnexpectedReservedType,u,{reservedType:n})}flowParseRestrictedIdentifier(n,u){return this.checkReservedType(this.state.value,this.state.startLoc,u),this.parseIdentifier(n)}flowParseTypeAlias(n){return n.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(n.id.name,8201,n.id.loc.start),this.match(47)?n.typeParameters=this.flowParseTypeParameterDeclaration():n.typeParameters=null,n.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(n,"TypeAlias")}flowParseOpaqueType(n,u){return this.expectContextual(130),n.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(n.id.name,8201,n.id.loc.start),this.match(47)?n.typeParameters=this.flowParseTypeParameterDeclaration():n.typeParameters=null,n.supertype=null,this.match(14)&&(n.supertype=this.flowParseTypeInitialiser(14)),n.impltype=null,u||(n.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(n,"OpaqueType")}flowParseTypeParameter(n=!1){const u=this.state.startLoc,m=this.startNode(),b=this.flowParseVariance(),N=this.flowParseTypeAnnotatableIdentifier();return m.name=N.name,m.variance=b,m.bound=N.typeAnnotation,this.match(29)?(this.eat(29),m.default=this.flowParseType()):n&&this.raise(Le.MissingTypeParamDefault,u),this.finishNode(m,"TypeParameter")}flowParseTypeParameterDeclaration(){const n=this.state.inType,u=this.startNode();u.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let m=!1;do{const b=this.flowParseTypeParameter(m);u.params.push(b),b.default&&(m=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=n,this.finishNode(u,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const n=this.startNode(),u=this.state.inType;n.params=[],this.state.inType=!0,this.expect(47);const m=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)n.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=m,this.expect(48),this.state.inType=u,this.finishNode(n,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const n=this.startNode(),u=this.state.inType;for(n.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)n.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=u,this.finishNode(n,"TypeParameterInstantiation")}flowParseInterfaceType(){const n=this.startNode();if(this.expectContextual(129),n.extends=[],this.eat(81))do n.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return n.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(n,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(n,u,m){return n.static=u,this.lookahead().type===14?(n.id=this.flowParseObjectPropertyKey(),n.key=this.flowParseTypeInitialiser()):(n.id=null,n.key=this.flowParseType()),this.expect(3),n.value=this.flowParseTypeInitialiser(),n.variance=m,this.finishNode(n,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(n,u){return n.static=u,n.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(n.method=!0,n.optional=!1,n.value=this.flowParseObjectTypeMethodish(this.startNodeAt(n.loc.start))):(n.method=!1,this.eat(17)&&(n.optional=!0),n.value=this.flowParseTypeInitialiser()),this.finishNode(n,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(n){for(n.params=[],n.rest=null,n.typeParameters=null,n.this=null,this.match(47)&&(n.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(n.this=this.flowParseFunctionTypeParam(!0),n.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)n.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(n.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),n.returnType=this.flowParseTypeInitialiser(),this.finishNode(n,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(n,u){const m=this.startNode();return n.static=u,n.value=this.flowParseObjectTypeMethodish(m),this.finishNode(n,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:n,allowExact:u,allowSpread:m,allowProto:b,allowInexact:N}){const D=this.state.inType;this.state.inType=!0;const q=this.startNode();q.callProperties=[],q.properties=[],q.indexers=[],q.internalSlots=[];let Y,X,fe=!1;for(u&&this.match(6)?(this.expect(6),Y=9,X=!0):(this.expect(5),Y=8,X=!1),q.exact=X;!this.match(Y);){let Ee=!1,Ie=null,rt=null;const ar=this.startNode();if(b&&this.isContextual(118)){const St=this.lookahead();St.type!==14&&St.type!==17&&(this.next(),Ie=this.state.startLoc,n=!1)}if(n&&this.isContextual(106)){const St=this.lookahead();St.type!==14&&St.type!==17&&(this.next(),Ee=!0)}const Ze=this.flowParseVariance();if(this.eat(0))Ie!=null&&this.unexpected(Ie),this.eat(0)?(Ze&&this.unexpected(Ze.loc.start),q.internalSlots.push(this.flowParseObjectTypeInternalSlot(ar,Ee))):q.indexers.push(this.flowParseObjectTypeIndexer(ar,Ee,Ze));else if(this.match(10)||this.match(47))Ie!=null&&this.unexpected(Ie),Ze&&this.unexpected(Ze.loc.start),q.callProperties.push(this.flowParseObjectTypeCallProperty(ar,Ee));else{let St="init";if(this.isContextual(99)||this.isContextual(104)){const Hi=this.lookahead();de(Hi.type)&&(St=this.state.value,this.next())}const ma=this.flowParseObjectTypeProperty(ar,Ee,Ie,Ze,St,m,N??!X);ma===null?(fe=!0,rt=this.state.lastTokStartLoc):q.properties.push(ma)}this.flowObjectTypeSemicolon(),rt&&!this.match(8)&&!this.match(9)&&this.raise(Le.UnexpectedExplicitInexactInObject,rt)}this.expect(Y),m&&(q.inexact=fe);const be=this.finishNode(q,"ObjectTypeAnnotation");return this.state.inType=D,be}flowParseObjectTypeProperty(n,u,m,b,N,D,q){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(D?q||this.raise(Le.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Le.InexactInsideNonObject,this.state.lastTokStartLoc),b&&this.raise(Le.InexactVariance,b),null):(D||this.raise(Le.UnexpectedSpreadType,this.state.lastTokStartLoc),m!=null&&this.unexpected(m),b&&this.raise(Le.SpreadVariance,b),n.argument=this.flowParseType(),this.finishNode(n,"ObjectTypeSpreadProperty"));{n.key=this.flowParseObjectPropertyKey(),n.static=u,n.proto=m!=null,n.kind=N;let Y=!1;return this.match(47)||this.match(10)?(n.method=!0,m!=null&&this.unexpected(m),b&&this.unexpected(b.loc.start),n.value=this.flowParseObjectTypeMethodish(this.startNodeAt(n.loc.start)),(N==="get"||N==="set")&&this.flowCheckGetterSetterParams(n),!D&&n.key.name==="constructor"&&n.value.this&&this.raise(Le.ThisParamBannedInConstructor,n.value.this)):(N!=="init"&&this.unexpected(),n.method=!1,this.eat(17)&&(Y=!0),n.value=this.flowParseTypeInitialiser(),n.variance=b),n.optional=Y,this.finishNode(n,"ObjectTypeProperty")}}flowCheckGetterSetterParams(n){const u=n.kind==="get"?0:1,m=n.value.params.length+(n.value.rest?1:0);n.value.this&&this.raise(n.kind==="get"?Le.GetterMayNotHaveThisParam:Le.SetterMayNotHaveThisParam,n.value.this),m!==u&&this.raise(n.kind==="get"?S.BadGetterArity:S.BadSetterArity,n),n.kind==="set"&&n.value.rest&&this.raise(S.BadSetterRestParameter,n)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(n,u){var m;(m=n)!=null||(n=this.state.startLoc);let b=u||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const N=this.startNodeAt(n);N.qualification=b,N.id=this.flowParseRestrictedIdentifier(!0),b=this.finishNode(N,"QualifiedTypeIdentifier")}return b}flowParseGenericType(n,u){const m=this.startNodeAt(n);return m.typeParameters=null,m.id=this.flowParseQualifiedTypeIdentifier(n,u),this.match(47)&&(m.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(m,"GenericTypeAnnotation")}flowParseTypeofType(){const n=this.startNode();return this.expect(87),n.argument=this.flowParsePrimaryType(),this.finishNode(n,"TypeofTypeAnnotation")}flowParseTupleType(){const n=this.startNode();for(n.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(n.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(n,"TupleTypeAnnotation")}flowParseFunctionTypeParam(n){let u=null,m=!1,b=null;const N=this.startNode(),D=this.lookahead(),q=this.state.type===78;return D.type===14||D.type===17?(q&&!n&&this.raise(Le.ThisParamMustBeFirst,N),u=this.parseIdentifier(q),this.eat(17)&&(m=!0,q&&this.raise(Le.ThisParamMayNotBeOptional,N)),b=this.flowParseTypeInitialiser()):b=this.flowParseType(),N.name=u,N.optional=m,N.typeAnnotation=b,this.finishNode(N,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(n){const u=this.startNodeAt(n.loc.start);return u.name=null,u.optional=!1,u.typeAnnotation=n,this.finishNode(u,"FunctionTypeParam")}flowParseFunctionTypeParams(n=[]){let u=null,m=null;for(this.match(78)&&(m=this.flowParseFunctionTypeParam(!0),m.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)n.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(u=this.flowParseFunctionTypeParam(!1)),{params:n,rest:u,_this:m}}flowIdentToTypeAnnotation(n,u,m){switch(m.name){case"any":return this.finishNode(u,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(u,"BooleanTypeAnnotation");case"mixed":return this.finishNode(u,"MixedTypeAnnotation");case"empty":return this.finishNode(u,"EmptyTypeAnnotation");case"number":return this.finishNode(u,"NumberTypeAnnotation");case"string":return this.finishNode(u,"StringTypeAnnotation");case"symbol":return this.finishNode(u,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(m.name),this.flowParseGenericType(n,m)}}flowParsePrimaryType(){const n=this.state.startLoc,u=this.startNode();let m,b,N=!1;const D=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,b=this.flowParseTupleType(),this.state.noAnonFunctionType=D,b;case 47:{const q=this.startNode();return q.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),m=this.flowParseFunctionTypeParams(),q.params=m.params,q.rest=m.rest,q.this=m._this,this.expect(11),this.expect(19),q.returnType=this.flowParseType(),this.finishNode(q,"FunctionTypeAnnotation")}case 10:{const q=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(U(this.state.type)||this.match(78)){const Y=this.lookahead().type;N=Y!==17&&Y!==14}else N=!0;if(N){if(this.state.noAnonFunctionType=!1,b=this.flowParseType(),this.state.noAnonFunctionType=D,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),b;this.eat(12)}return b?m=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(b)]):m=this.flowParseFunctionTypeParams(),q.params=m.params,q.rest=m.rest,q.this=m._this,this.expect(11),this.expect(19),q.returnType=this.flowParseType(),q.typeParameters=null,this.finishNode(q,"FunctionTypeAnnotation")}case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return u.value=this.match(85),this.next(),this.finishNode(u,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",u);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",u);throw this.raise(Le.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(u,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(u,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(u,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(u,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(tt(this.state.type)){const q=pt(this.state.type);return this.next(),super.createIdentifier(u,q)}else if(U(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(n,u,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const n=this.state.startLoc;let u=this.flowParsePrimaryType(),m=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const b=this.startNodeAt(n),N=this.eat(18);m=m||N,this.expect(0),!N&&this.match(3)?(b.elementType=u,this.next(),u=this.finishNode(b,"ArrayTypeAnnotation")):(b.objectType=u,b.indexType=this.flowParseType(),this.expect(3),m?(b.optional=N,u=this.finishNode(b,"OptionalIndexedAccessType")):u=this.finishNode(b,"IndexedAccessType"))}return u}flowParsePrefixType(){const n=this.startNode();return this.eat(17)?(n.typeAnnotation=this.flowParsePrefixType(),this.finishNode(n,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const n=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const u=this.startNodeAt(n.loc.start);return u.params=[this.reinterpretTypeAsFunctionTypeParam(n)],u.rest=null,u.this=null,u.returnType=this.flowParseType(),u.typeParameters=null,this.finishNode(u,"FunctionTypeAnnotation")}return n}flowParseIntersectionType(){const n=this.startNode();this.eat(45);const u=this.flowParseAnonFunctionWithoutParens();for(n.types=[u];this.eat(45);)n.types.push(this.flowParseAnonFunctionWithoutParens());return n.types.length===1?u:this.finishNode(n,"IntersectionTypeAnnotation")}flowParseUnionType(){const n=this.startNode();this.eat(43);const u=this.flowParseIntersectionType();for(n.types=[u];this.eat(43);)n.types.push(this.flowParseIntersectionType());return n.types.length===1?u:this.finishNode(n,"UnionTypeAnnotation")}flowParseType(){const n=this.state.inType;this.state.inType=!0;const u=this.flowParseUnionType();return this.state.inType=n,u}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){const n=this.state.startLoc,u=this.parseIdentifier();return this.flowParseGenericType(n,u)}else return this.flowParseType()}flowParseTypeAnnotation(){const n=this.startNode();return n.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(n,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(n){const u=n?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(u.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(u)),u}typeCastToParameter(n){return n.expression.typeAnnotation=n.typeAnnotation,this.resetEndLocation(n.expression,n.typeAnnotation.loc.end),n.expression}flowParseVariance(){let n=null;return this.match(53)?(n=this.startNode(),this.state.value==="+"?n.kind="plus":n.kind="minus",this.next(),this.finishNode(n,"Variance")):n}parseFunctionBody(n,u,m=!1){if(u){this.forwardNoArrowParamsConversionAt(n,()=>super.parseFunctionBody(n,!0,m));return}super.parseFunctionBody(n,!1,m)}parseFunctionBodyAndFinish(n,u,m=!1){if(this.match(14)){const b=this.startNode();[b.typeAnnotation,n.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.returnType=b.typeAnnotation?this.finishNode(b,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(n,u,m)}parseStatementLike(n){if(this.state.strict&&this.isContextual(129)){const m=this.lookahead();if(ae(m.type)){const b=this.startNode();return this.next(),this.flowParseInterface(b)}}else if(this.shouldParseEnums()&&this.isContextual(126)){const m=this.startNode();return this.next(),this.flowParseEnumDeclaration(m)}const u=super.parseStatementLike(n);return this.flowPragma===void 0&&!this.isValidDirective(u)&&(this.flowPragma=null),u}parseExpressionStatement(n,u,m){if(u.type==="Identifier"){if(u.name==="declare"){if(this.match(80)||U(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(n)}else if(U(this.state.type)){if(u.name==="interface")return this.flowParseInterface(n);if(u.name==="type")return this.flowParseTypeAlias(n);if(u.name==="opaque")return this.flowParseOpaqueType(n,!1)}}return super.parseExpressionStatement(n,u,m)}shouldParseExportDeclaration(){const{type:n}=this.state;return we(n)||this.shouldParseEnums()&&n===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:n}=this.state;return we(n)||this.shouldParseEnums()&&n===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){const n=this.startNode();return this.next(),this.flowParseEnumDeclaration(n)}return super.parseExportDefaultExpression()}parseConditional(n,u,m){if(!this.match(17))return n;if(this.state.maybeInArrowParameters){const be=this.lookaheadCharCode();if(be===44||be===61||be===58||be===41)return this.setOptionalParametersError(m),n}this.expect(17);const b=this.state.clone(),N=this.state.noArrowAt,D=this.startNodeAt(u);let{consequent:q,failed:Y}=this.tryParseConditionalConsequent(),[X,fe]=this.getArrowLikeExpressions(q);if(Y||fe.length>0){const be=[...N];if(fe.length>0){this.state=b,this.state.noArrowAt=be;for(let Ee=0;Ee<fe.length;Ee++)be.push(fe[Ee].start);({consequent:q,failed:Y}=this.tryParseConditionalConsequent()),[X,fe]=this.getArrowLikeExpressions(q)}Y&&X.length>1&&this.raise(Le.AmbiguousConditionalArrow,b.startLoc),Y&&X.length===1&&(this.state=b,be.push(X[0].start),this.state.noArrowAt=be,{consequent:q,failed:Y}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(q,!0),this.state.noArrowAt=N,this.expect(14),D.test=n,D.consequent=q,D.alternate=this.forwardNoArrowParamsConversionAt(D,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(D,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const n=this.parseMaybeAssignAllowIn(),u=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:n,failed:u}}getArrowLikeExpressions(n,u){const m=[n],b=[];for(;m.length!==0;){const N=m.pop();N.type==="ArrowFunctionExpression"&&N.body.type!=="BlockStatement"?(N.typeParameters||!N.returnType?this.finishArrowValidation(N):b.push(N),m.push(N.body)):N.type==="ConditionalExpression"&&(m.push(N.consequent),m.push(N.alternate))}return u?(b.forEach(N=>this.finishArrowValidation(N)),[b,[]]):tT(b,N=>N.params.every(D=>this.isAssignable(D,!0)))}finishArrowValidation(n){var u;this.toAssignableList(n.params,(u=n.extra)==null?void 0:u.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(n,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(n,u){let m;return this.state.noArrowParamsConversionAt.includes(n.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),m=u(),this.state.noArrowParamsConversionAt.pop()):m=u(),m}parseParenItem(n,u){const m=super.parseParenItem(n,u);if(this.eat(17)&&(m.optional=!0,this.resetEndLocation(n)),this.match(14)){const b=this.startNodeAt(u);return b.expression=m,b.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(b,"TypeCastExpression")}return m}assertModuleNodeAllowed(n){n.type==="ImportDeclaration"&&(n.importKind==="type"||n.importKind==="typeof")||n.type==="ExportNamedDeclaration"&&n.exportKind==="type"||n.type==="ExportAllDeclaration"&&n.exportKind==="type"||super.assertModuleNodeAllowed(n)}parseExportDeclaration(n){if(this.isContextual(130)){n.exportKind="type";const u=this.startNode();return this.next(),this.match(5)?(n.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(n),null):this.flowParseTypeAlias(u)}else if(this.isContextual(131)){n.exportKind="type";const u=this.startNode();return this.next(),this.flowParseOpaqueType(u,!1)}else if(this.isContextual(129)){n.exportKind="type";const u=this.startNode();return this.next(),this.flowParseInterface(u)}else if(this.shouldParseEnums()&&this.isContextual(126)){n.exportKind="value";const u=this.startNode();return this.next(),this.flowParseEnumDeclaration(u)}else return super.parseExportDeclaration(n)}eatExportStar(n){return super.eatExportStar(n)?!0:this.isContextual(130)&&this.lookahead().type===55?(n.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(n){const{startLoc:u}=this.state,m=super.maybeParseExportNamespaceSpecifier(n);return m&&n.exportKind==="type"&&this.unexpected(u),m}parseClassId(n,u,m){super.parseClassId(n,u,m),this.match(47)&&(n.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(n,u,m){const{startLoc:b}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(n,u))return;u.declare=!0}super.parseClassMember(n,u,m),u.declare&&(u.type!=="ClassProperty"&&u.type!=="ClassPrivateProperty"&&u.type!=="PropertyDefinition"?this.raise(Le.DeclareClassElement,b):u.value&&this.raise(Le.DeclareClassFieldInitializer,u.value))}isIterator(n){return n==="iterator"||n==="asyncIterator"}readIterator(){const n=super.readWord1(),u="@@"+n;(!this.isIterator(n)||!this.state.inType)&&this.raise(S.InvalidIdentifier,this.state.curPosition(),{identifierName:u}),this.finishToken(132,u)}getTokenFromCode(n){const u=this.input.charCodeAt(this.state.pos+1);n===123&&u===124?this.finishOp(6,2):this.state.inType&&(n===62||n===60)?this.finishOp(n===62?48:47,1):this.state.inType&&n===63?u===46?this.finishOp(18,2):this.finishOp(17,1):hn(n,u,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(n)}isAssignable(n,u){return n.type==="TypeCastExpression"?this.isAssignable(n.expression,u):super.isAssignable(n,u)}toAssignable(n,u=!1){!u&&n.type==="AssignmentExpression"&&n.left.type==="TypeCastExpression"&&(n.left=this.typeCastToParameter(n.left)),super.toAssignable(n,u)}toAssignableList(n,u,m){for(let b=0;b<n.length;b++){const N=n[b];(N==null?void 0:N.type)==="TypeCastExpression"&&(n[b]=this.typeCastToParameter(N))}super.toAssignableList(n,u,m)}toReferencedList(n,u){for(let b=0;b<n.length;b++){var m;const N=n[b];N&&N.type==="TypeCastExpression"&&!((m=N.extra)!=null&&m.parenthesized)&&(n.length>1||!u)&&this.raise(Le.TypeCastInPattern,N.typeAnnotation)}return n}parseArrayLike(n,u,m,b){const N=super.parseArrayLike(n,u,m,b);return u&&!this.state.maybeInArrowParameters&&this.toReferencedList(N.elements),N}isValidLVal(n,u,m){return n==="TypeCastExpression"||super.isValidLVal(n,u,m)}parseClassProperty(n){return this.match(14)&&(n.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(n)}parseClassPrivateProperty(n){return this.match(14)&&(n.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(n)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(n){return!this.match(14)&&super.isNonstaticConstructor(n)}pushClassMethod(n,u,m,b,N,D){if(u.variance&&this.unexpected(u.variance.loc.start),delete u.variance,this.match(47)&&(u.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(n,u,m,b,N,D),u.params&&N){const q=u.params;q.length>0&&this.isThisParam(q[0])&&this.raise(Le.ThisParamBannedInConstructor,u)}else if(u.type==="MethodDefinition"&&N&&u.value.params){const q=u.value.params;q.length>0&&this.isThisParam(q[0])&&this.raise(Le.ThisParamBannedInConstructor,u)}}pushClassPrivateMethod(n,u,m,b){u.variance&&this.unexpected(u.variance.loc.start),delete u.variance,this.match(47)&&(u.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(n,u,m,b)}parseClassSuper(n){if(super.parseClassSuper(n),n.superClass&&this.match(47)&&(n.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();const u=n.implements=[];do{const m=this.startNode();m.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?m.typeParameters=this.flowParseTypeParameterInstantiation():m.typeParameters=null,u.push(this.finishNode(m,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(n){super.checkGetterSetterParams(n);const u=this.getObjectOrClassMethodParams(n);if(u.length>0){const m=u[0];this.isThisParam(m)&&n.kind==="get"?this.raise(Le.GetterMayNotHaveThisParam,m):this.isThisParam(m)&&this.raise(Le.SetterMayNotHaveThisParam,m)}}parsePropertyNamePrefixOperator(n){n.variance=this.flowParseVariance()}parseObjPropValue(n,u,m,b,N,D,q){n.variance&&this.unexpected(n.variance.loc.start),delete n.variance;let Y;this.match(47)&&!D&&(Y=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const X=super.parseObjPropValue(n,u,m,b,N,D,q);return Y&&((X.value||X).typeParameters=Y),X}parseAssignableListItemTypes(n){return this.eat(17)&&(n.type!=="Identifier"&&this.raise(Le.PatternIsOptional,n),this.isThisParam(n)&&this.raise(Le.ThisParamMayNotBeOptional,n),n.optional=!0),this.match(14)?n.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(n)&&this.raise(Le.ThisParamAnnotationRequired,n),this.match(29)&&this.isThisParam(n)&&this.raise(Le.ThisParamNoDefault,n),this.resetEndLocation(n),n}parseMaybeDefault(n,u){const m=super.parseMaybeDefault(n,u);return m.type==="AssignmentPattern"&&m.typeAnnotation&&m.right.start<m.typeAnnotation.start&&this.raise(Le.TypeBeforeInitializer,m.typeAnnotation),m}checkImportReflection(n){super.checkImportReflection(n),n.module&&n.importKind!=="value"&&this.raise(Le.ImportReflectionHasImportType,n.specifiers[0].loc.start)}parseImportSpecifierLocal(n,u,m){u.local=ud(n)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),n.specifiers.push(this.finishImportSpecifier(u,m))}isPotentialImportPhase(n){if(super.isPotentialImportPhase(n))return!0;if(this.isContextual(130)){if(!n)return!0;const u=this.lookaheadCharCode();return u===123||u===42}return!n&&this.isContextual(87)}applyImportPhase(n,u,m,b){if(super.applyImportPhase(n,u,m,b),u){if(!m&&this.match(65))return;n.exportKind=m==="type"?m:"value"}else m==="type"&&this.match(55)&&this.unexpected(),n.importKind=m==="type"||m==="typeof"?m:"value"}parseImportSpecifier(n,u,m,b,N){const D=n.imported;let q=null;D.type==="Identifier"&&(D.name==="type"?q="type":D.name==="typeof"&&(q="typeof"));let Y=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const fe=this.parseIdentifier(!0);q!==null&&!ae(this.state.type)?(n.imported=fe,n.importKind=q,n.local=Ss(fe)):(n.imported=D,n.importKind=null,n.local=this.parseIdentifier())}else{if(q!==null&&ae(this.state.type))n.imported=this.parseIdentifier(!0),n.importKind=q;else{if(u)throw this.raise(S.ImportBindingIsString,n,{importName:D.value});n.imported=D,n.importKind=null}this.eatContextual(93)?n.local=this.parseIdentifier():(Y=!0,n.local=Ss(n.imported))}const X=ud(n);return m&&X&&this.raise(Le.ImportTypeShorthandOnlyInPureImport,n),(m||X)&&this.checkReservedType(n.local.name,n.local.loc.start,!0),Y&&!m&&!X&&this.checkReservedWord(n.local.name,n.loc.start,!0,!0),this.finishImportSpecifier(n,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(n,u){const m=n.kind;m!=="get"&&m!=="set"&&this.match(47)&&(n.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(n,u)}parseVarId(n,u){super.parseVarId(n,u),this.match(14)&&(n.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(n.id))}parseAsyncArrowFromCallExpression(n,u){if(this.match(14)){const m=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,n.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=m}return super.parseAsyncArrowFromCallExpression(n,u)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(n,u){var m;let b=null,N;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(b=this.state.clone(),N=this.tryParse(()=>super.parseMaybeAssign(n,u),b),!N.error)return N.node;const{context:Y}=this.state,X=Y[Y.length-1];(X===M.j_oTag||X===M.j_expr)&&Y.pop()}if((m=N)!=null&&m.error||this.match(47)){var D,q;b=b||this.state.clone();let Y;const X=this.tryParse(be=>{var Ee;Y=this.flowParseTypeParameterDeclaration();const Ie=this.forwardNoArrowParamsConversionAt(Y,()=>{const ar=super.parseMaybeAssign(n,u);return this.resetStartLocationFromNode(ar,Y),ar});(Ee=Ie.extra)!=null&&Ee.parenthesized&&be();const rt=this.maybeUnwrapTypeCastExpression(Ie);return rt.type!=="ArrowFunctionExpression"&&be(),rt.typeParameters=Y,this.resetStartLocationFromNode(rt,Y),Ie},b);let fe=null;if(X.node&&this.maybeUnwrapTypeCastExpression(X.node).type==="ArrowFunctionExpression"){if(!X.error&&!X.aborted)return X.node.async&&this.raise(Le.UnexpectedTypeParameterBeforeAsyncArrowFunction,Y),X.node;fe=X.node}if((D=N)!=null&&D.node)return this.state=N.failState,N.node;if(fe)return this.state=X.failState,fe;throw(q=N)!=null&&q.thrown?N.error:X.thrown?X.error:this.raise(Le.UnexpectedTokenAfterTypeParameter,Y)}return super.parseMaybeAssign(n,u)}parseArrow(n){if(this.match(14)){const u=this.tryParse(()=>{const m=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const b=this.startNode();return[b.typeAnnotation,n.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=m,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),b});if(u.thrown)return null;u.error&&(this.state=u.failState),n.returnType=u.node.typeAnnotation?this.finishNode(u.node,"TypeAnnotation"):null}return super.parseArrow(n)}shouldParseArrow(n){return this.match(14)||super.shouldParseArrow(n)}setArrowFunctionParameters(n,u){this.state.noArrowParamsConversionAt.includes(n.start)?n.params=u:super.setArrowFunctionParameters(n,u)}checkParams(n,u,m,b=!0){if(!(m&&this.state.noArrowParamsConversionAt.includes(n.start))){for(let N=0;N<n.params.length;N++)this.isThisParam(n.params[N])&&N>0&&this.raise(Le.ThisParamMustBeFirst,n.params[N]);super.checkParams(n,u,m,b)}}parseParenAndDistinguishExpression(n){return super.parseParenAndDistinguishExpression(n&&!this.state.noArrowAt.includes(this.state.start))}parseSubscripts(n,u,m){if(n.type==="Identifier"&&n.name==="async"&&this.state.noArrowAt.includes(u.index)){this.next();const b=this.startNodeAt(u);b.callee=n,b.arguments=super.parseCallExpressionArguments(11,!1),n=this.finishNode(b,"CallExpression")}else if(n.type==="Identifier"&&n.name==="async"&&this.match(47)){const b=this.state.clone(),N=this.tryParse(q=>this.parseAsyncArrowWithTypeParameters(u)||q(),b);if(!N.error&&!N.aborted)return N.node;const D=this.tryParse(()=>super.parseSubscripts(n,u,m),b);if(D.node&&!D.error)return D.node;if(N.node)return this.state=N.failState,N.node;if(D.node)return this.state=D.failState,D.node;throw N.error||D.error}return super.parseSubscripts(n,u,m)}parseSubscript(n,u,m,b){if(this.match(18)&&this.isLookaheadToken_lt()){if(b.optionalChainMember=!0,m)return b.stop=!0,n;this.next();const N=this.startNodeAt(u);return N.callee=n,N.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),N.arguments=this.parseCallExpressionArguments(11,!1),N.optional=!0,this.finishCallExpression(N,!0)}else if(!m&&this.shouldParseTypes()&&this.match(47)){const N=this.startNodeAt(u);N.callee=n;const D=this.tryParse(()=>(N.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),N.arguments=super.parseCallExpressionArguments(11,!1),b.optionalChainMember&&(N.optional=!1),this.finishCallExpression(N,b.optionalChainMember)));if(D.node)return D.error&&(this.state=D.failState),D.node}return super.parseSubscript(n,u,m,b)}parseNewCallee(n){super.parseNewCallee(n);let u=null;this.shouldParseTypes()&&this.match(47)&&(u=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),n.typeArguments=u}parseAsyncArrowWithTypeParameters(n){const u=this.startNodeAt(n);if(this.parseFunctionParams(u,!1),!!this.parseArrow(u))return super.parseArrowExpression(u,void 0,!0)}readToken_mult_modulo(n){const u=this.input.charCodeAt(this.state.pos+1);if(n===42&&u===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(n)}readToken_pipe_amp(n){const u=this.input.charCodeAt(this.state.pos+1);if(n===124&&u===125){this.finishOp(9,2);return}super.readToken_pipe_amp(n)}parseTopLevel(n,u){const m=super.parseTopLevel(n,u);return this.state.hasFlowComment&&this.raise(Le.UnterminatedFlowComment,this.state.curPosition()),m}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Le.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const n=this.skipFlowComment();n&&(this.state.pos+=n,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:n}=this.state;let u=2;for(;[32,9].includes(this.input.charCodeAt(n+u));)u++;const m=this.input.charCodeAt(u+n),b=this.input.charCodeAt(u+n+1);return m===58&&b===58?u+2:this.input.slice(u+n,u+n+12)==="flow-include"?u+12:m===58&&b!==58?u:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(S.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(n,{enumName:u,memberName:m}){this.raise(Le.EnumBooleanMemberNotInitialized,n,{memberName:m,enumName:u})}flowEnumErrorInvalidMemberInitializer(n,u){return this.raise(u.explicitType?u.explicitType==="symbol"?Le.EnumInvalidMemberInitializerSymbolType:Le.EnumInvalidMemberInitializerPrimaryType:Le.EnumInvalidMemberInitializerUnknownType,n,u)}flowEnumErrorNumberMemberNotInitialized(n,u){this.raise(Le.EnumNumberMemberNotInitialized,n,u)}flowEnumErrorStringMemberInconsistentlyInitialized(n,u){this.raise(Le.EnumStringMemberInconsistentlyInitialized,n,u)}flowEnumMemberInit(){const n=this.state.startLoc,u=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{const m=this.parseNumericLiteral(this.state.value);return u()?{type:"number",loc:m.loc.start,value:m}:{type:"invalid",loc:n}}case 133:{const m=this.parseStringLiteral(this.state.value);return u()?{type:"string",loc:m.loc.start,value:m}:{type:"invalid",loc:n}}case 85:case 86:{const m=this.parseBooleanLiteral(this.match(85));return u()?{type:"boolean",loc:m.loc.start,value:m}:{type:"invalid",loc:n}}default:return{type:"invalid",loc:n}}}flowEnumMemberRaw(){const n=this.state.startLoc,u=this.parseIdentifier(!0),m=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:n};return{id:u,init:m}}flowEnumCheckExplicitTypeMismatch(n,u,m){const{explicitType:b}=u;b!==null&&b!==m&&this.flowEnumErrorInvalidMemberInitializer(n,u)}flowEnumMembers({enumName:n,explicitType:u}){const m=new Set,b={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let N=!1;for(;!this.match(8);){if(this.eat(21)){N=!0;break}const D=this.startNode(),{id:q,init:Y}=this.flowEnumMemberRaw(),X=q.name;if(X==="")continue;/^[a-z]/.test(X)&&this.raise(Le.EnumInvalidMemberName,q,{memberName:X,suggestion:X[0].toUpperCase()+X.slice(1),enumName:n}),m.has(X)&&this.raise(Le.EnumDuplicateMemberName,q,{memberName:X,enumName:n}),m.add(X);const fe={enumName:n,explicitType:u,memberName:X};switch(D.id=q,Y.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(Y.loc,fe,"boolean"),D.init=Y.value,b.booleanMembers.push(this.finishNode(D,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(Y.loc,fe,"number"),D.init=Y.value,b.numberMembers.push(this.finishNode(D,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(Y.loc,fe,"string"),D.init=Y.value,b.stringMembers.push(this.finishNode(D,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(Y.loc,fe);case"none":switch(u){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(Y.loc,fe);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(Y.loc,fe);break;default:b.defaultedMembers.push(this.finishNode(D,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:b,hasUnknownMembers:N}}flowEnumStringMembers(n,u,{enumName:m}){if(n.length===0)return u;if(u.length===0)return n;if(u.length>n.length){for(const b of n)this.flowEnumErrorStringMemberInconsistentlyInitialized(b,{enumName:m});return u}else{for(const b of u)this.flowEnumErrorStringMemberInconsistentlyInitialized(b,{enumName:m});return n}}flowEnumParseExplicitType({enumName:n}){if(!this.eatContextual(102))return null;if(!U(this.state.type))throw this.raise(Le.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:n});const{value:u}=this.state;return this.next(),u!=="boolean"&&u!=="number"&&u!=="string"&&u!=="symbol"&&this.raise(Le.EnumInvalidExplicitType,this.state.startLoc,{enumName:n,invalidEnumType:u}),u}flowEnumBody(n,u){const m=u.name,b=u.loc.start,N=this.flowEnumParseExplicitType({enumName:m});this.expect(5);const{members:D,hasUnknownMembers:q}=this.flowEnumMembers({enumName:m,explicitType:N});switch(n.hasUnknownMembers=q,N){case"boolean":return n.explicitType=!0,n.members=D.booleanMembers,this.expect(8),this.finishNode(n,"EnumBooleanBody");case"number":return n.explicitType=!0,n.members=D.numberMembers,this.expect(8),this.finishNode(n,"EnumNumberBody");case"string":return n.explicitType=!0,n.members=this.flowEnumStringMembers(D.stringMembers,D.defaultedMembers,{enumName:m}),this.expect(8),this.finishNode(n,"EnumStringBody");case"symbol":return n.members=D.defaultedMembers,this.expect(8),this.finishNode(n,"EnumSymbolBody");default:{const Y=()=>(n.members=[],this.expect(8),this.finishNode(n,"EnumStringBody"));n.explicitType=!1;const X=D.booleanMembers.length,fe=D.numberMembers.length,be=D.stringMembers.length,Ee=D.defaultedMembers.length;if(!X&&!fe&&!be&&!Ee)return Y();if(!X&&!fe)return n.members=this.flowEnumStringMembers(D.stringMembers,D.defaultedMembers,{enumName:m}),this.expect(8),this.finishNode(n,"EnumStringBody");if(!fe&&!be&&X>=Ee){for(const Ie of D.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(Ie.loc.start,{enumName:m,memberName:Ie.id.name});return n.members=D.booleanMembers,this.expect(8),this.finishNode(n,"EnumBooleanBody")}else if(!X&&!be&&fe>=Ee){for(const Ie of D.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(Ie.loc.start,{enumName:m,memberName:Ie.id.name});return n.members=D.numberMembers,this.expect(8),this.finishNode(n,"EnumNumberBody")}else return this.raise(Le.EnumInconsistentMemberValues,b,{enumName:m}),Y()}}}flowParseEnumDeclaration(n){const u=this.parseIdentifier();return n.id=u,n.body=this.flowEnumBody(this.startNode(),u),this.finishNode(n,"EnumDeclaration")}isLookaheadToken_lt(){const n=this.nextTokenStart();if(this.input.charCodeAt(n)===60){const u=this.input.charCodeAt(n+1);return u!==60&&u!==61}return!1}maybeUnwrapTypeCastExpression(n){return n.type==="TypeCastExpression"?n.expression:n}};const nT={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},gn=_`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:C})=>`Expected corresponding JSX closing tag for <${C}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:C,HTMLEntity:c})=>`Unexpected token \`${C}\`. Did you mean \`${c}\` or \`{'${C}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function js(C){return C?C.type==="JSXOpeningFragment"||C.type==="JSXClosingFragment":!1}function Zn(C){if(C.type==="JSXIdentifier")return C.name;if(C.type==="JSXNamespacedName")return C.namespace.name+":"+C.name.name;if(C.type==="JSXMemberExpression")return Zn(C.object)+"."+Zn(C.property);throw new Error("Node had unexpected type: "+C.type)}var iT=C=>class extends C{jsxReadToken(){let n="",u=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(gn.UnterminatedJsxContent,this.state.startLoc);const m=this.input.charCodeAt(this.state.pos);switch(m){case 60:case 123:if(this.state.pos===this.state.start){m===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(m);return}n+=this.input.slice(u,this.state.pos),this.finishToken(141,n);return;case 38:n+=this.input.slice(u,this.state.pos),n+=this.jsxReadEntity(),u=this.state.pos;break;case 62:case 125:default:zr(m)?(n+=this.input.slice(u,this.state.pos),n+=this.jsxReadNewLine(!0),u=this.state.pos):++this.state.pos}}}jsxReadNewLine(n){const u=this.input.charCodeAt(this.state.pos);let m;return++this.state.pos,u===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,m=n?`
|
|
`:`\r
|
|
`):m=String.fromCharCode(u),++this.state.curLine,this.state.lineStart=this.state.pos,m}jsxReadString(n){let u="",m=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(S.UnterminatedString,this.state.startLoc);const b=this.input.charCodeAt(this.state.pos);if(b===n)break;b===38?(u+=this.input.slice(m,this.state.pos),u+=this.jsxReadEntity(),m=this.state.pos):zr(b)?(u+=this.input.slice(m,this.state.pos),u+=this.jsxReadNewLine(!1),m=this.state.pos):++this.state.pos}u+=this.input.slice(m,this.state.pos++),this.finishToken(133,u)}jsxReadEntity(){const n=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let u=10;this.codePointAtPos(this.state.pos)===120&&(u=16,++this.state.pos);const m=this.readInt(u,void 0,!1,"bail");if(m!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(m)}else{let u=0,m=!1;for(;u++<10&&this.state.pos<this.length&&!(m=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(m){const b=this.input.slice(n,this.state.pos),N=nT[b];if(++this.state.pos,N)return N}}return this.state.pos=n,"&"}jsxReadWord(){let n;const u=this.state.pos;do n=this.input.charCodeAt(++this.state.pos);while(Qe(n)||n===45);this.finishToken(140,this.input.slice(u,this.state.pos))}jsxParseIdentifier(){const n=this.startNode();return this.match(140)?n.name=this.state.value:tt(this.state.type)?n.name=pt(this.state.type):this.unexpected(),this.next(),this.finishNode(n,"JSXIdentifier")}jsxParseNamespacedName(){const n=this.state.startLoc,u=this.jsxParseIdentifier();if(!this.eat(14))return u;const m=this.startNodeAt(n);return m.namespace=u,m.name=this.jsxParseIdentifier(),this.finishNode(m,"JSXNamespacedName")}jsxParseElementName(){const n=this.state.startLoc;let u=this.jsxParseNamespacedName();if(u.type==="JSXNamespacedName")return u;for(;this.eat(16);){const m=this.startNodeAt(n);m.object=u,m.property=this.jsxParseIdentifier(),u=this.finishNode(m,"JSXMemberExpression")}return u}jsxParseAttributeValue(){let n;switch(this.state.type){case 5:return n=this.startNode(),this.setContext(M.brace),this.next(),n=this.jsxParseExpressionContainer(n,M.j_oTag),n.expression.type==="JSXEmptyExpression"&&this.raise(gn.AttributeIsEmpty,n),n;case 142:case 133:return this.parseExprAtom();default:throw this.raise(gn.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){const n=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(n,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(n){return this.next(),n.expression=this.parseExpression(),this.setContext(M.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(n,"JSXSpreadChild")}jsxParseExpressionContainer(n,u){if(this.match(8))n.expression=this.jsxParseEmptyExpression();else{const m=this.parseExpression();n.expression=m}return this.setContext(u),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(n,"JSXExpressionContainer")}jsxParseAttribute(){const n=this.startNode();return this.match(5)?(this.setContext(M.brace),this.next(),this.expect(21),n.argument=this.parseMaybeAssignAllowIn(),this.setContext(M.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(n,"JSXSpreadAttribute")):(n.name=this.jsxParseNamespacedName(),n.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(n,"JSXAttribute"))}jsxParseOpeningElementAt(n){const u=this.startNodeAt(n);return this.eat(143)?this.finishNode(u,"JSXOpeningFragment"):(u.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(u))}jsxParseOpeningElementAfterName(n){const u=[];for(;!this.match(56)&&!this.match(143);)u.push(this.jsxParseAttribute());return n.attributes=u,n.selfClosing=this.eat(56),this.expect(143),this.finishNode(n,"JSXOpeningElement")}jsxParseClosingElementAt(n){const u=this.startNodeAt(n);return this.eat(143)?this.finishNode(u,"JSXClosingFragment"):(u.name=this.jsxParseElementName(),this.expect(143),this.finishNode(u,"JSXClosingElement"))}jsxParseElementAt(n){const u=this.startNodeAt(n),m=[],b=this.jsxParseOpeningElementAt(n);let N=null;if(!b.selfClosing){e:for(;;)switch(this.state.type){case 142:if(n=this.state.startLoc,this.next(),this.eat(56)){N=this.jsxParseClosingElementAt(n);break e}m.push(this.jsxParseElementAt(n));break;case 141:m.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{const D=this.startNode();this.setContext(M.brace),this.next(),this.match(21)?m.push(this.jsxParseSpreadChild(D)):m.push(this.jsxParseExpressionContainer(D,M.j_expr));break}default:this.unexpected()}js(b)&&!js(N)&&N!==null?this.raise(gn.MissingClosingTagFragment,N):!js(b)&&js(N)?this.raise(gn.MissingClosingTagElement,N,{openingTagName:Zn(b.name)}):!js(b)&&!js(N)&&Zn(N.name)!==Zn(b.name)&&this.raise(gn.MissingClosingTagElement,N,{openingTagName:Zn(b.name)})}if(js(b)?(u.openingFragment=b,u.closingFragment=N):(u.openingElement=b,u.closingElement=N),u.children=m,this.match(47))throw this.raise(gn.UnwrappedAdjacentJSXElements,this.state.startLoc);return js(b)?this.finishNode(u,"JSXFragment"):this.finishNode(u,"JSXElement")}jsxParseElement(){const n=this.state.startLoc;return this.next(),this.jsxParseElementAt(n)}setContext(n){const{context:u}=this.state;u[u.length-1]=n}parseExprAtom(n){return this.match(142)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(142),this.jsxParseElement()):super.parseExprAtom(n)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(n){const u=this.curContext();if(u===M.j_expr){this.jsxReadToken();return}if(u===M.j_oTag||u===M.j_cTag){if(Je(n)){this.jsxReadWord();return}if(n===62){++this.state.pos,this.finishToken(143);return}if((n===34||n===39)&&u===M.j_oTag){this.jsxReadString(n);return}}if(n===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(142);return}super.getTokenFromCode(n)}updateContext(n){const{context:u,type:m}=this.state;if(m===56&&n===142)u.splice(-2,2,M.j_cTag),this.state.canStartJSXElement=!1;else if(m===142)u.push(M.j_oTag);else if(m===143){const b=u[u.length-1];b===M.j_oTag&&n===56||b===M.j_cTag?(u.pop(),this.state.canStartJSXElement=u[u.length-1]===M.j_expr):(this.setContext(M.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=pe(m)}};class oT extends rr{constructor(...c){super(...c),this.tsNames=new Map}}class aT extends Ir{constructor(...c){super(...c),this.importsStack=[]}createScope(c){return this.importsStack.push(new Set),new oT(c)}enter(c){c===256&&this.importsStack.push(new Set),super.enter(c)}exit(){const c=super.exit();return c===256&&this.importsStack.pop(),c}hasImport(c,n){const u=this.importsStack.length;if(this.importsStack[u-1].has(c))return!0;if(!n&&u>1){for(let m=0;m<u-1;m++)if(this.importsStack[m].has(c))return!0}return!1}declareName(c,n,u){if(n&4096){this.hasImport(c,!0)&&this.parser.raise(S.VarRedeclaration,u,{identifierName:c}),this.importsStack[this.importsStack.length-1].add(c);return}const m=this.currentScope();let b=m.tsNames.get(c)||0;if(n&1024){this.maybeExportDefined(m,c),m.tsNames.set(c,b|16);return}super.declareName(c,n,u),n&2&&(n&1||(this.checkRedeclarationInScope(m,c,n,u),this.maybeExportDefined(m,c)),b=b|1),n&256&&(b=b|2),n&512&&(b=b|4),n&128&&(b=b|8),b&&m.tsNames.set(c,b)}isRedeclaredInScope(c,n,u){const m=c.tsNames.get(n);if((m&2)>0){if(u&256){const b=!!(u&512),N=(m&4)>0;return b!==N}return!0}return u&128&&(m&8)>0?c.names.get(n)&2?!!(u&1):!1:u&2&&(m&1)>0?!0:super.isRedeclaredInScope(c,n,u)}checkLocalExport(c){const{name:n}=c;if(this.hasImport(n))return;const u=this.scopeStack.length;for(let m=u-1;m>=0;m--){const N=this.scopeStack[m].tsNames.get(n);if((N&1)>0||(N&16)>0)return}super.checkLocalExport(c)}}const hd=C=>C.type==="ParenthesizedExpression"?hd(C.expression):C;class lT extends YE{toAssignable(c,n=!1){var u,m;let b;switch((c.type==="ParenthesizedExpression"||(u=c.extra)!=null&&u.parenthesized)&&(b=hd(c),n?b.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(S.InvalidParenthesizedAssignment,c):b.type!=="MemberExpression"&&!this.isOptionalMemberExpression(b)&&this.raise(S.InvalidParenthesizedAssignment,c):this.raise(S.InvalidParenthesizedAssignment,c)),c.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":c.type="ObjectPattern";for(let D=0,q=c.properties.length,Y=q-1;D<q;D++){var N;const X=c.properties[D],fe=D===Y;this.toAssignableObjectExpressionProp(X,fe,n),fe&&X.type==="RestElement"&&(N=c.extra)!=null&&N.trailingCommaLoc&&this.raise(S.RestTrailingComma,c.extra.trailingCommaLoc)}break;case"ObjectProperty":{const{key:D,value:q}=c;this.isPrivateName(D)&&this.classScope.usePrivateName(this.getPrivateNameSV(D),D.loc.start),this.toAssignable(q,n);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":c.type="ArrayPattern",this.toAssignableList(c.elements,(m=c.extra)==null?void 0:m.trailingCommaLoc,n);break;case"AssignmentExpression":c.operator!=="="&&this.raise(S.MissingEqInAssignment,c.left.loc.end),c.type="AssignmentPattern",delete c.operator,this.toAssignable(c.left,n);break;case"ParenthesizedExpression":this.toAssignable(b,n);break}}toAssignableObjectExpressionProp(c,n,u){if(c.type==="ObjectMethod")this.raise(c.kind==="get"||c.kind==="set"?S.PatternHasAccessor:S.PatternHasMethod,c.key);else if(c.type==="SpreadElement"){c.type="RestElement";const m=c.argument;this.checkToRestConversion(m,!1),this.toAssignable(m,u),n||this.raise(S.RestTrailingComma,c)}else this.toAssignable(c,u)}toAssignableList(c,n,u){const m=c.length-1;for(let b=0;b<=m;b++){const N=c[b];if(N){if(N.type==="SpreadElement"){N.type="RestElement";const D=N.argument;this.checkToRestConversion(D,!0),this.toAssignable(D,u)}else this.toAssignable(N,u);N.type==="RestElement"&&(b<m?this.raise(S.RestTrailingComma,N):n&&this.raise(S.RestTrailingComma,n))}}}isAssignable(c,n){switch(c.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const u=c.properties.length-1;return c.properties.every((m,b)=>m.type!=="ObjectMethod"&&(b===u||m.type!=="SpreadElement")&&this.isAssignable(m))}case"ObjectProperty":return this.isAssignable(c.value);case"SpreadElement":return this.isAssignable(c.argument);case"ArrayExpression":return c.elements.every(u=>u===null||this.isAssignable(u));case"AssignmentExpression":return c.operator==="=";case"ParenthesizedExpression":return this.isAssignable(c.expression);case"MemberExpression":case"OptionalMemberExpression":return!n;default:return!1}}toReferencedList(c,n){return c}toReferencedListDeep(c,n){this.toReferencedList(c,n);for(const u of c)(u==null?void 0:u.type)==="ArrayExpression"&&this.toReferencedListDeep(u.elements)}parseSpread(c){const n=this.startNode();return this.next(),n.argument=this.parseMaybeAssignAllowIn(c,void 0),this.finishNode(n,"SpreadElement")}parseRestBinding(){const c=this.startNode();return this.next(),c.argument=this.parseBindingAtom(),this.finishNode(c,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const c=this.startNode();return this.next(),c.elements=this.parseBindingList(3,93,1),this.finishNode(c,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(c,n,u){const m=u&1,b=[];let N=!0;for(;!this.eat(c);)if(N?N=!1:this.expect(12),m&&this.match(12))b.push(null);else{if(this.eat(c))break;if(this.match(21)){if(b.push(this.parseAssignableListItemTypes(this.parseRestBinding(),u)),!this.checkCommaAfterRest(n)){this.expect(c);break}}else{const D=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(S.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)D.push(this.parseDecorator());b.push(this.parseAssignableListItem(u,D))}}return b}parseBindingRestProperty(c){return this.next(),c.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(c,"RestElement")}parseBindingProperty(){const{type:c,startLoc:n}=this.state;if(c===21)return this.parseBindingRestProperty(this.startNode());const u=this.startNode();return c===138?(this.expectPlugin("destructuringPrivate",n),this.classScope.usePrivateName(this.state.value,n),u.key=this.parsePrivateName()):this.parsePropertyName(u),u.method=!1,this.parseObjPropValue(u,n,!1,!1,!0,!1)}parseAssignableListItem(c,n){const u=this.parseMaybeDefault();this.parseAssignableListItemTypes(u,c);const m=this.parseMaybeDefault(u.loc.start,u);return n.length&&(u.decorators=n),m}parseAssignableListItemTypes(c,n){return c}parseMaybeDefault(c,n){var u,m;if((u=c)!=null||(c=this.state.startLoc),n=(m=n)!=null?m:this.parseBindingAtom(),!this.eat(29))return n;const b=this.startNodeAt(c);return b.left=n,b.right=this.parseMaybeAssignAllowIn(),this.finishNode(b,"AssignmentPattern")}isValidLVal(c,n,u){switch(c){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(c){return c.type==="OptionalMemberExpression"}checkLVal(c,n,u=64,m=!1,b=!1,N=!1){var D;const q=c.type;if(this.isObjectMethod(c))return;const Y=this.isOptionalMemberExpression(c);if(Y||q==="MemberExpression"){Y&&(this.expectPlugin("optionalChainingAssign",c.loc.start),n.type!=="AssignmentExpression"&&this.raise(S.InvalidLhsOptionalChaining,c,{ancestor:n})),u!==64&&this.raise(S.InvalidPropertyBindingPattern,c);return}if(q==="Identifier"){this.checkIdentifier(c,u,b);const{name:rt}=c;m&&(m.has(rt)?this.raise(S.ParamDupe,c):m.add(rt));return}const X=this.isValidLVal(q,!(N||(D=c.extra)!=null&&D.parenthesized)&&n.type==="AssignmentExpression",u);if(X===!0)return;if(X===!1){const rt=u===64?S.InvalidLhs:S.InvalidLhsBinding;this.raise(rt,c,{ancestor:n});return}let fe,be;typeof X=="string"?(fe=X,be=q==="ParenthesizedExpression"):[fe,be]=X;const Ee=q==="ArrayPattern"||q==="ObjectPattern"?{type:q}:n,Ie=c[fe];if(Array.isArray(Ie))for(const rt of Ie)rt&&this.checkLVal(rt,Ee,u,m,b,be);else Ie&&this.checkLVal(Ie,Ee,u,m,b,be)}checkIdentifier(c,n,u=!1){this.state.strict&&(u?Gr(c.name,this.inModule):Rt(c.name))&&(n===64?this.raise(S.StrictEvalArguments,c,{referenceName:c.name}):this.raise(S.StrictEvalArgumentsBinding,c,{bindingName:c.name})),n&8192&&c.name==="let"&&this.raise(S.LetInLexicalBinding,c),n&64||this.declareNameFromIdentifier(c,n)}declareNameFromIdentifier(c,n){this.scope.declareName(c.name,n,c.loc.start)}checkToRestConversion(c,n){switch(c.type){case"ParenthesizedExpression":this.checkToRestConversion(c.expression,n);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(n)break;default:this.raise(S.InvalidRestAssignmentPattern,c)}}checkCommaAfterRest(c){return this.match(12)?(this.raise(this.lookaheadCharCode()===c?S.RestTrailingComma:S.ElementAfterRest,this.state.startLoc),!0):!1}}function cT(C){if(C==null)throw new Error(`Unexpected ${C} value.`);return C}function pd(C){if(!C)throw new Error("Assert fail")}const Ae=_`typescript`({AbstractMethodHasImplementation:({methodName:C})=>`Method '${C}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:C})=>`Property '${C}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:C})=>`'declare' is not allowed in ${C}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:C})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:C})=>`Duplicate modifier: '${C}'.`,EmptyHeritageClauseType:({token:C})=>`'${C}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:C})=>`'${C[0]}' modifier cannot be used with '${C[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:C})=>`Index signatures cannot have an accessibility modifier ('${C}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:C})=>`'${C}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:C})=>`'${C}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:C})=>`'${C}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:C})=>`'${C[0]}' modifier must precede '${C[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:C})=>`Private elements cannot have an accessibility modifier ('${C}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:C})=>`Single type parameter ${C} should have a trailing comma. Example usage: <${C},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:C})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${C}.`});function uT(C){switch(C){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function fd(C){return C==="private"||C==="public"||C==="protected"}function hT(C){return C==="in"||C==="out"}var pT=C=>class extends C{constructor(...n){super(...n),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Ae.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Ae.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Ae.InvalidModifierOnTypeParameter})}getScopeHandler(){return aT}tsIsIdentifier(){return U(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(n,u){if(!U(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const m=this.state.value;if(n.includes(m)){if(u&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return m}}tsParseModifiers({allowedModifiers:n,disallowedModifiers:u,stopOnStartOfClassStaticBlock:m,errorTemplate:b=Ae.InvalidModifierOnTypeMember},N){const D=(Y,X,fe,be)=>{X===fe&&N[be]&&this.raise(Ae.InvalidModifiersOrder,Y,{orderedModifiers:[fe,be]})},q=(Y,X,fe,be)=>{(N[fe]&&X===be||N[be]&&X===fe)&&this.raise(Ae.IncompatibleModifiers,Y,{modifiers:[fe,be]})};for(;;){const{startLoc:Y}=this.state,X=this.tsParseModifier(n.concat(u??[]),m);if(!X)break;fd(X)?N.accessibility?this.raise(Ae.DuplicateAccessibilityModifier,Y,{modifier:X}):(D(Y,X,X,"override"),D(Y,X,X,"static"),D(Y,X,X,"readonly"),N.accessibility=X):hT(X)?(N[X]&&this.raise(Ae.DuplicateModifier,Y,{modifier:X}),N[X]=!0,D(Y,X,"in","out")):(hasOwnProperty.call(N,X)?this.raise(Ae.DuplicateModifier,Y,{modifier:X}):(D(Y,X,"static","readonly"),D(Y,X,"static","override"),D(Y,X,"override","readonly"),D(Y,X,"abstract","override"),q(Y,X,"declare","override"),q(Y,X,"static","abstract")),N[X]=!0),u!=null&&u.includes(X)&&this.raise(b,Y,{modifier:X})}}tsIsListTerminator(n){switch(n){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(n,u){const m=[];for(;!this.tsIsListTerminator(n);)m.push(u());return m}tsParseDelimitedList(n,u,m){return cT(this.tsParseDelimitedListWorker(n,u,!0,m))}tsParseDelimitedListWorker(n,u,m,b){const N=[];let D=-1;for(;!this.tsIsListTerminator(n);){D=-1;const q=u();if(q==null)return;if(N.push(q),this.eat(12)){D=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(n))break;m&&this.expect(12);return}return b&&(b.value=D),N}tsParseBracketedList(n,u,m,b,N){b||(m?this.expect(0):this.expect(47));const D=this.tsParseDelimitedList(n,u,N);return m?this.expect(3):this.expect(48),D}tsParseImportType(){const n=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(Ae.UnsupportedImportTypeArgument,this.state.startLoc),n.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(n.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(n.options=super.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.eat(16)&&(n.qualifier=this.tsParseEntityName()),this.match(47)&&(n.typeParameters=this.tsParseTypeArguments()),this.finishNode(n,"TSImportType")}tsParseEntityName(n=!0){let u=this.parseIdentifier(n);for(;this.eat(16);){const m=this.startNodeAtNode(u);m.left=u,m.right=this.parseIdentifier(n),u=this.finishNode(m,"TSQualifiedName")}return u}tsParseTypeReference(){const n=this.startNode();return n.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(n.typeParameters=this.tsParseTypeArguments()),this.finishNode(n,"TSTypeReference")}tsParseThisTypePredicate(n){this.next();const u=this.startNodeAtNode(n);return u.parameterName=n,u.typeAnnotation=this.tsParseTypeAnnotation(!1),u.asserts=!1,this.finishNode(u,"TSTypePredicate")}tsParseThisTypeNode(){const n=this.startNode();return this.next(),this.finishNode(n,"TSThisType")}tsParseTypeQuery(){const n=this.startNode();return this.expect(87),this.match(83)?n.exprName=this.tsParseImportType():n.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(n.typeParameters=this.tsParseTypeArguments()),this.finishNode(n,"TSTypeQuery")}tsParseTypeParameter(n){const u=this.startNode();return n(u),u.name=this.tsParseTypeParameterName(),u.constraint=this.tsEatThenParseType(81),u.default=this.tsEatThenParseType(29),this.finishNode(u,"TSTypeParameter")}tsTryParseTypeParameters(n){if(this.match(47))return this.tsParseTypeParameters(n)}tsParseTypeParameters(n){const u=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();const m={value:-1};return u.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,n),!1,!0,m),u.params.length===0&&this.raise(Ae.EmptyTypeParameters,u),m.value!==-1&&this.addExtra(u,"trailingComma",m.value),this.finishNode(u,"TSTypeParameterDeclaration")}tsFillSignature(n,u){const m=n===19,b="parameters",N="typeAnnotation";u.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),u[b]=this.tsParseBindingListForSignature(),m?u[N]=this.tsParseTypeOrTypePredicateAnnotation(n):this.match(n)&&(u[N]=this.tsParseTypeOrTypePredicateAnnotation(n))}tsParseBindingListForSignature(){const n=super.parseBindingList(11,41,2);for(const u of n){const{type:m}=u;(m==="AssignmentPattern"||m==="TSParameterProperty")&&this.raise(Ae.UnsupportedSignatureParameterKind,u,{type:m})}return n}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(n,u){return this.tsFillSignature(14,u),this.tsParseTypeMemberSemicolon(),this.finishNode(u,n)}tsIsUnambiguouslyIndexSignature(){return this.next(),U(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(n){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);const u=this.parseIdentifier();u.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(u),this.expect(3),n.parameters=[u];const m=this.tsTryParseTypeAnnotation();return m&&(n.typeAnnotation=m),this.tsParseTypeMemberSemicolon(),this.finishNode(n,"TSIndexSignature")}tsParsePropertyOrMethodSignature(n,u){this.eat(17)&&(n.optional=!0);const m=n;if(this.match(10)||this.match(47)){u&&this.raise(Ae.ReadonlyForMethodSignature,n);const b=m;b.kind&&this.match(47)&&this.raise(Ae.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,b),this.tsParseTypeMemberSemicolon();const N="parameters",D="typeAnnotation";if(b.kind==="get")b[N].length>0&&(this.raise(S.BadGetterArity,this.state.curPosition()),this.isThisParam(b[N][0])&&this.raise(Ae.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if(b.kind==="set"){if(b[N].length!==1)this.raise(S.BadSetterArity,this.state.curPosition());else{const q=b[N][0];this.isThisParam(q)&&this.raise(Ae.AccesorCannotDeclareThisParameter,this.state.curPosition()),q.type==="Identifier"&&q.optional&&this.raise(Ae.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),q.type==="RestElement"&&this.raise(Ae.SetAccesorCannotHaveRestParameter,this.state.curPosition())}b[D]&&this.raise(Ae.SetAccesorCannotHaveReturnType,b[D])}else b.kind="method";return this.finishNode(b,"TSMethodSignature")}else{const b=m;u&&(b.readonly=!0);const N=this.tsTryParseTypeAnnotation();return N&&(b.typeAnnotation=N),this.tsParseTypeMemberSemicolon(),this.finishNode(b,"TSPropertySignature")}}tsParseTypeMember(){const n=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",n);if(this.match(77)){const m=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",n):(n.key=this.createIdentifier(m,"new"),this.tsParsePropertyOrMethodSignature(n,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},n);const u=this.tsTryParseIndexSignature(n);return u||(super.parsePropertyName(n),!n.computed&&n.key.type==="Identifier"&&(n.key.name==="get"||n.key.name==="set")&&this.tsTokenCanFollowModifier()&&(n.kind=n.key.name,super.parsePropertyName(n)),this.tsParsePropertyOrMethodSignature(n,!!n.readonly))}tsParseTypeLiteral(){const n=this.startNode();return n.members=this.tsParseObjectTypeMembers(),this.finishNode(n,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const n=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),n}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){const n=this.startNode();return n.name=this.tsParseTypeParameterName(),n.constraint=this.tsExpectThenParseType(58),this.finishNode(n,"TSTypeParameter")}tsParseMappedType(){const n=this.startNode();return this.expect(5),this.match(53)?(n.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(n.readonly=!0),this.expect(0),n.typeParameter=this.tsParseMappedTypeParameter(),n.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(n.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(n.optional=!0),n.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(n,"TSMappedType")}tsParseTupleType(){const n=this.startNode();n.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let u=!1;return n.elementTypes.forEach(m=>{const{type:b}=m;u&&b!=="TSRestType"&&b!=="TSOptionalType"&&!(b==="TSNamedTupleMember"&&m.optional)&&this.raise(Ae.OptionalTypeBeforeRequired,m),u||(u=b==="TSNamedTupleMember"&&m.optional||b==="TSOptionalType")}),this.finishNode(n,"TSTupleType")}tsParseTupleElementType(){const{startLoc:n}=this.state,u=this.eat(21);let m,b,N,D;const Y=ae(this.state.type)?this.lookaheadCharCode():null;if(Y===58)m=!0,N=!1,b=this.parseIdentifier(!0),this.expect(14),D=this.tsParseType();else if(Y===63){N=!0;const X=this.state.startLoc,fe=this.state.value,be=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(m=!0,b=this.createIdentifier(this.startNodeAt(X),fe),this.expect(17),this.expect(14),D=this.tsParseType()):(m=!1,D=be,this.expect(17))}else D=this.tsParseType(),N=this.eat(17),m=this.eat(14);if(m){let X;b?(X=this.startNodeAtNode(b),X.optional=N,X.label=b,X.elementType=D,this.eat(17)&&(X.optional=!0,this.raise(Ae.TupleOptionalAfterType,this.state.lastTokStartLoc))):(X=this.startNodeAtNode(D),X.optional=N,this.raise(Ae.InvalidTupleMemberLabel,D),X.label=D,X.elementType=this.tsParseType()),D=this.finishNode(X,"TSNamedTupleMember")}else if(N){const X=this.startNodeAtNode(D);X.typeAnnotation=D,D=this.finishNode(X,"TSOptionalType")}if(u){const X=this.startNodeAt(n);X.typeAnnotation=D,D=this.finishNode(X,"TSRestType")}return D}tsParseParenthesizedType(){const n=this.startNode();return this.expect(10),n.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(n,"TSParenthesizedType")}tsParseFunctionOrConstructorType(n,u){const m=this.startNode();return n==="TSConstructorType"&&(m.abstract=!!u,u&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,m)),this.finishNode(m,n)}tsParseLiteralTypeNode(){const n=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:n.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(n,"TSLiteralType")}tsParseTemplateLiteralType(){const n=this.startNode();return n.literal=super.parseTemplate(!1),this.finishNode(n,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const n=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(n):n}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const n=this.startNode(),u=this.lookahead();return u.type!==134&&u.type!==135&&this.unexpected(),n.literal=this.parseMaybeUnary(),this.finishNode(n,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:n}=this.state;if(U(n)||n===88||n===84){const u=n===88?"TSVoidKeyword":n===84?"TSNullKeyword":uT(this.state.value);if(u!==void 0&&this.lookaheadCharCode()!==46){const m=this.startNode();return this.next(),this.finishNode(m,u)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let n=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const u=this.startNodeAtNode(n);u.elementType=n,this.expect(3),n=this.finishNode(u,"TSArrayType")}else{const u=this.startNodeAtNode(n);u.objectType=n,u.indexType=this.tsParseType(),this.expect(3),n=this.finishNode(u,"TSIndexedAccessType")}return n}tsParseTypeOperator(){const n=this.startNode(),u=this.state.value;return this.next(),n.operator=u,n.typeAnnotation=this.tsParseTypeOperatorOrHigher(),u==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(n),this.finishNode(n,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(n){switch(n.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Ae.UnexpectedReadonly,n)}}tsParseInferType(){const n=this.startNode();this.expectContextual(115);const u=this.startNode();return u.name=this.tsParseTypeParameterName(),u.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),n.typeParameter=this.finishNode(u,"TSTypeParameter"),this.finishNode(n,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const n=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return n}}tsParseTypeOperatorOrHigher(){return ht(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(n,u,m){const b=this.startNode(),N=this.eat(m),D=[];do D.push(u());while(this.eat(m));return D.length===1&&!N?D[0]:(b.types=D,this.finishNode(b,n))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(U(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:n}=this.state,u=n.length;try{return this.parseObjectLike(8,!0),n.length===u}catch{return!1}}if(this.match(0)){this.next();const{errors:n}=this.state,u=n.length;try{return super.parseBindingList(3,93,1),n.length===u}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(n){return this.tsInType(()=>{const u=this.startNode();this.expect(n);const m=this.startNode(),b=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(b&&this.match(78)){let q=this.tsParseThisTypeOrThisTypePredicate();return q.type==="TSThisType"?(m.parameterName=q,m.asserts=!0,m.typeAnnotation=null,q=this.finishNode(m,"TSTypePredicate")):(this.resetStartLocationFromNode(q,m),q.asserts=!0),u.typeAnnotation=q,this.finishNode(u,"TSTypeAnnotation")}const N=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!N)return b?(m.parameterName=this.parseIdentifier(),m.asserts=b,m.typeAnnotation=null,u.typeAnnotation=this.finishNode(m,"TSTypePredicate"),this.finishNode(u,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,u);const D=this.tsParseTypeAnnotation(!1);return m.parameterName=N,m.typeAnnotation=D,m.asserts=b,u.typeAnnotation=this.finishNode(m,"TSTypePredicate"),this.finishNode(u,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const n=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),n}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;const n=this.state.containsEsc;return this.next(),!U(this.state.type)&&!this.match(78)?!1:(n&&this.raise(S.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(n=!0,u=this.startNode()){return this.tsInType(()=>{n&&this.expect(14),u.typeAnnotation=this.tsParseType()}),this.finishNode(u,"TSTypeAnnotation")}tsParseType(){pd(this.state.inType);const n=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return n;const u=this.startNodeAtNode(n);return u.checkType=n,u.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),u.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),u.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(u,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Ae.ReservedTypeAssertion,this.state.startLoc);const n=this.startNode();return n.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),n.expression=this.parseMaybeUnary(),this.finishNode(n,"TSTypeAssertion")}tsParseHeritageClause(n){const u=this.state.startLoc,m=this.tsParseDelimitedList("HeritageClauseElement",()=>{const b=this.startNode();return b.expression=this.tsParseEntityName(),this.match(47)&&(b.typeParameters=this.tsParseTypeArguments()),this.finishNode(b,"TSExpressionWithTypeArguments")});return m.length||this.raise(Ae.EmptyHeritageClauseType,u,{token:n}),m}tsParseInterfaceDeclaration(n,u={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),u.declare&&(n.declare=!0),U(this.state.type)?(n.id=this.parseIdentifier(),this.checkIdentifier(n.id,130)):(n.id=null,this.raise(Ae.MissingInterfaceName,this.state.startLoc)),n.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(n.extends=this.tsParseHeritageClause("extends"));const m=this.startNode();return m.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),n.body=this.finishNode(m,"TSInterfaceBody"),this.finishNode(n,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(n){return n.id=this.parseIdentifier(),this.checkIdentifier(n.id,2),n.typeAnnotation=this.tsInType(()=>{if(n.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){const u=this.startNode();return this.next(),this.finishNode(u,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(n,"TSTypeAliasDeclaration")}tsInNoContext(n){const u=this.state.context;this.state.context=[u[0]];try{return n()}finally{this.state.context=u}}tsInType(n){const u=this.state.inType;this.state.inType=!0;try{return n()}finally{this.state.inType=u}}tsInDisallowConditionalTypesContext(n){const u=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return n()}finally{this.state.inDisallowConditionalTypesContext=u}}tsInAllowConditionalTypesContext(n){const u=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return n()}finally{this.state.inDisallowConditionalTypesContext=u}}tsEatThenParseType(n){if(this.match(n))return this.tsNextThenParseType()}tsExpectThenParseType(n){return this.tsInType(()=>(this.expect(n),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){const n=this.startNode();return n.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(n.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(n,"TSEnumMember")}tsParseEnumDeclaration(n,u={}){return u.const&&(n.const=!0),u.declare&&(n.declare=!0),this.expectContextual(126),n.id=this.parseIdentifier(),this.checkIdentifier(n.id,n.const?8971:8459),this.expect(5),n.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(n,"TSEnumDeclaration")}tsParseModuleBlock(){const n=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(n.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(n,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(n,u=!1){if(n.id=this.parseIdentifier(),u||this.checkIdentifier(n.id,1024),this.eat(16)){const m=this.startNode();this.tsParseModuleOrNamespaceDeclaration(m,!0),n.body=m}else this.scope.enter(256),this.prodParam.enter(0),n.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(n,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(n){return this.isContextual(112)?(n.global=!0,n.id=this.parseIdentifier()):this.match(133)?n.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),n.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(n,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(n,u,m){n.isExport=m||!1,n.id=u||this.parseIdentifier(),this.checkIdentifier(n.id,4096),this.expect(29);const b=this.tsParseModuleReference();return n.importKind==="type"&&b.type!=="TSExternalModuleReference"&&this.raise(Ae.ImportAliasHasImportType,b),n.moduleReference=b,this.semicolon(),this.finishNode(n,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const n=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),n.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(n,"TSExternalModuleReference")}tsLookAhead(n){const u=this.state.clone(),m=n();return this.state=u,m}tsTryParseAndCatch(n){const u=this.tryParse(m=>n()||m());if(!(u.aborted||!u.node))return u.error&&(this.state=u.failState),u.node}tsTryParse(n){const u=this.state.clone(),m=n();if(m!==void 0&&m!==!1)return m;this.state=u}tsTryParseDeclare(n){if(this.isLineTerminator())return;let u=this.state.type,m;return this.isContextual(100)&&(u=74,m="let"),this.tsInAmbientContext(()=>{switch(u){case 68:return n.declare=!0,super.parseFunctionStatement(n,!1,!1);case 80:return n.declare=!0,this.parseClass(n,!0,!1);case 126:return this.tsParseEnumDeclaration(n,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(n);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(n.declare=!0,this.parseVarStatement(n,m||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(n,{const:!0,declare:!0}));case 129:{const b=this.tsParseInterfaceDeclaration(n,{declare:!0});if(b)return b}default:if(U(u))return this.tsParseDeclaration(n,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(n,u,m){switch(u.name){case"declare":{const b=this.tsTryParseDeclare(n);return b&&(b.declare=!0),b}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const b=n;return b.global=!0,b.id=u,b.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(b,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(n,u.name,!1,m)}}tsParseDeclaration(n,u,m,b){switch(u){case"abstract":if(this.tsCheckLineTerminator(m)&&(this.match(80)||U(this.state.type)))return this.tsParseAbstractDeclaration(n,b);break;case"module":if(this.tsCheckLineTerminator(m)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(n);if(U(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(n)}break;case"namespace":if(this.tsCheckLineTerminator(m)&&U(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(n);break;case"type":if(this.tsCheckLineTerminator(m)&&U(this.state.type))return this.tsParseTypeAliasDeclaration(n);break}}tsCheckLineTerminator(n){return n?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(n){if(!this.match(47))return;const u=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const m=this.tsTryParseAndCatch(()=>{const b=this.startNodeAt(n);return b.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(b),b.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),b});if(this.state.maybeInArrowParameters=u,!!m)return super.parseArrowExpression(m,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){const n=this.startNode();return n.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),n.params.length===0?this.raise(Ae.EmptyTypeArguments,n):!this.state.inType&&this.curContext()===M.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(n,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return xt(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(n,u){const m=this.state.startLoc,b={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},b);const N=b.accessibility,D=b.override,q=b.readonly;!(n&4)&&(N||q||D)&&this.raise(Ae.UnexpectedParameterModifier,m);const Y=this.parseMaybeDefault();this.parseAssignableListItemTypes(Y,n);const X=this.parseMaybeDefault(Y.loc.start,Y);if(N||q||D){const fe=this.startNodeAt(m);return u.length&&(fe.decorators=u),N&&(fe.accessibility=N),q&&(fe.readonly=q),D&&(fe.override=D),X.type!=="Identifier"&&X.type!=="AssignmentPattern"&&this.raise(Ae.UnsupportedParameterPropertyKind,fe),fe.parameter=X,this.finishNode(fe,"TSParameterProperty")}return u.length&&(Y.decorators=u),X}isSimpleParameter(n){return n.type==="TSParameterProperty"&&super.isSimpleParameter(n.parameter)||super.isSimpleParameter(n)}tsDisallowOptionalPattern(n){for(const u of n.params)u.type!=="Identifier"&&u.optional&&!this.state.isAmbientContext&&this.raise(Ae.PatternIsOptional,u)}setArrowFunctionParameters(n,u,m){super.setArrowFunctionParameters(n,u,m),this.tsDisallowOptionalPattern(n)}parseFunctionBodyAndFinish(n,u,m=!1){this.match(14)&&(n.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const b=u==="FunctionDeclaration"?"TSDeclareFunction":u==="ClassMethod"||u==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return b&&!this.match(5)&&this.isLineTerminator()?this.finishNode(n,b):b==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Ae.DeclareFunctionHasImplementation,n),n.declare)?super.parseFunctionBodyAndFinish(n,b,m):(this.tsDisallowOptionalPattern(n),super.parseFunctionBodyAndFinish(n,u,m))}registerFunctionStatementId(n){!n.body&&n.id?this.checkIdentifier(n.id,1024):super.registerFunctionStatementId(n)}tsCheckForInvalidTypeCasts(n){n.forEach(u=>{(u==null?void 0:u.type)==="TSTypeCastExpression"&&this.raise(Ae.UnexpectedTypeAnnotation,u.typeAnnotation)})}toReferencedList(n,u){return this.tsCheckForInvalidTypeCasts(n),n}parseArrayLike(n,u,m,b){const N=super.parseArrayLike(n,u,m,b);return N.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(N.elements),N}parseSubscript(n,u,m,b){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const D=this.startNodeAt(u);return D.expression=n,this.finishNode(D,"TSNonNullExpression")}let N=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(m)return b.stop=!0,n;b.optionalChainMember=N=!0,this.next()}if(this.match(47)||this.match(51)){let D;const q=this.tsTryParseAndCatch(()=>{if(!m&&this.atPossibleAsyncArrow(n)){const be=this.tsTryParseGenericAsyncArrowFunction(u);if(be)return be}const Y=this.tsParseTypeArgumentsInExpression();if(!Y)return;if(N&&!this.match(10)){D=this.state.curPosition();return}if(ye(this.state.type)){const be=super.parseTaggedTemplateExpression(n,u,b);return be.typeParameters=Y,be}if(!m&&this.eat(10)){const be=this.startNodeAt(u);return be.callee=n,be.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(be.arguments),be.typeParameters=Y,b.optionalChainMember&&(be.optional=N),this.finishCallExpression(be,b.optionalChainMember)}const X=this.state.type;if(X===48||X===52||X!==10&&ve(X)&&!this.hasPrecedingLineBreak())return;const fe=this.startNodeAt(u);return fe.expression=n,fe.typeParameters=Y,this.finishNode(fe,"TSInstantiationExpression")});if(D&&this.unexpected(D,10),q)return q.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(Ae.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),q}return super.parseSubscript(n,u,m,b)}parseNewCallee(n){var u;super.parseNewCallee(n);const{callee:m}=n;m.type==="TSInstantiationExpression"&&!((u=m.extra)!=null&&u.parenthesized)&&(n.typeParameters=m.typeParameters,n.callee=m.expression)}parseExprOp(n,u,m){let b;if(oe(58)>m&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(b=this.isContextual(120)))){const N=this.startNodeAt(u);return N.expression=n,N.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(b&&this.raise(S.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(N,b?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(N,u,m)}return super.parseExprOp(n,u,m)}checkReservedWord(n,u,m,b){this.state.isAmbientContext||super.checkReservedWord(n,u,m,b)}checkImportReflection(n){super.checkImportReflection(n),n.module&&n.importKind!=="value"&&this.raise(Ae.ImportReflectionHasImportType,n.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(n){if(super.isPotentialImportPhase(n))return!0;if(this.isContextual(130)){const u=this.lookaheadCharCode();return n?u===123||u===42:u!==61}return!n&&this.isContextual(87)}applyImportPhase(n,u,m,b){super.applyImportPhase(n,u,m,b),u?n.exportKind=m==="type"?"type":"value":n.importKind=m==="type"||m==="typeof"?m:"value"}parseImport(n){if(this.match(133))return n.importKind="value",super.parseImport(n);let u;if(U(this.state.type)&&this.lookaheadCharCode()===61)return n.importKind="value",this.tsParseImportEqualsDeclaration(n);if(this.isContextual(130)){const m=this.parseMaybeImportPhase(n,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(n,m);u=super.parseImportSpecifiersAndAfter(n,m)}else u=super.parseImport(n);return u.importKind==="type"&&u.specifiers.length>1&&u.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Ae.TypeImportCannotSpecifyDefaultAndNamed,u),u}parseExport(n,u){if(this.match(83)){this.next();const m=n;let b=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?b=this.parseMaybeImportPhase(m,!1):m.importKind="value",this.tsParseImportEqualsDeclaration(m,b,!0)}else if(this.eat(29)){const m=n;return m.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(m,"TSExportAssignment")}else if(this.eatContextual(93)){const m=n;return this.expectContextual(128),m.id=this.parseIdentifier(),this.semicolon(),this.finishNode(m,"TSNamespaceExportDeclaration")}else return super.parseExport(n,u)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const n=this.startNode();return this.next(),n.abstract=!0,this.parseClass(n,!0,!0)}if(this.match(129)){const n=this.tsParseInterfaceDeclaration(this.startNode());if(n)return n}return super.parseExportDefaultExpression()}parseVarStatement(n,u,m=!1){const{isAmbientContext:b}=this.state,N=super.parseVarStatement(n,u,m||b);if(!b)return N;for(const{id:D,init:q}of N.declarations)q&&(u!=="const"||D.typeAnnotation?this.raise(Ae.InitializerNotAllowedInAmbientContext,q):dT(q,this.hasPlugin("estree"))||this.raise(Ae.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,q));return N}parseStatementContent(n,u){if(this.match(75)&&this.isLookaheadContextual("enum")){const m=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(m,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const m=this.tsParseInterfaceDeclaration(this.startNode());if(m)return m}return super.parseStatementContent(n,u)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(n,u){return u.some(m=>fd(m)?n.accessibility===m:!!n[m])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(n,u,m){const b=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:b,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Ae.InvalidModifierOnTypeParameterPositions},u);const N=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(u,b)&&this.raise(Ae.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(n,u)):this.parseClassMemberWithIsStatic(n,u,m,!!u.static)};u.declare?this.tsInAmbientContext(N):N()}parseClassMemberWithIsStatic(n,u,m,b){const N=this.tsTryParseIndexSignature(u);if(N){n.body.push(N),u.abstract&&this.raise(Ae.IndexSignatureHasAbstract,u),u.accessibility&&this.raise(Ae.IndexSignatureHasAccessibility,u,{modifier:u.accessibility}),u.declare&&this.raise(Ae.IndexSignatureHasDeclare,u),u.override&&this.raise(Ae.IndexSignatureHasOverride,u);return}!this.state.inAbstractClass&&u.abstract&&this.raise(Ae.NonAbstractClassHasAbstractMethod,u),u.override&&(m.hadSuperClass||this.raise(Ae.OverrideNotInSubClass,u)),super.parseClassMemberWithIsStatic(n,u,m,b)}parsePostMemberNameModifiers(n){this.eat(17)&&(n.optional=!0),n.readonly&&this.match(10)&&this.raise(Ae.ClassMethodHasReadonly,n),n.declare&&this.match(10)&&this.raise(Ae.ClassMethodHasDeclare,n)}parseExpressionStatement(n,u,m){return(u.type==="Identifier"?this.tsParseExpressionStatement(n,u,m):void 0)||super.parseExpressionStatement(n,u,m)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(n,u,m){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(n,u,m);const b=this.tryParse(()=>super.parseConditional(n,u));return b.node?(b.error&&(this.state=b.failState),b.node):(b.error&&super.setOptionalParametersError(m,b.error),n)}parseParenItem(n,u){const m=super.parseParenItem(n,u);if(this.eat(17)&&(m.optional=!0,this.resetEndLocation(n)),this.match(14)){const b=this.startNodeAt(u);return b.expression=n,b.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(b,"TSTypeCastExpression")}return n}parseExportDeclaration(n){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(n));const u=this.state.startLoc,m=this.eatContextual(125);if(m&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(Ae.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const N=U(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(n);return N?((N.type==="TSInterfaceDeclaration"||N.type==="TSTypeAliasDeclaration"||m)&&(n.exportKind="type"),m&&(this.resetStartLocation(N,u),N.declare=!0),N):null}parseClassId(n,u,m,b){if((!u||m)&&this.isContextual(113))return;super.parseClassId(n,u,m,n.declare?1024:8331);const N=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);N&&(n.typeParameters=N)}parseClassPropertyAnnotation(n){n.optional||(this.eat(35)?n.definite=!0:this.eat(17)&&(n.optional=!0));const u=this.tsTryParseTypeAnnotation();u&&(n.typeAnnotation=u)}parseClassProperty(n){if(this.parseClassPropertyAnnotation(n),this.state.isAmbientContext&&!(n.readonly&&!n.typeAnnotation)&&this.match(29)&&this.raise(Ae.DeclareClassFieldHasInitializer,this.state.startLoc),n.abstract&&this.match(29)){const{key:u}=n;this.raise(Ae.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:u.type==="Identifier"&&!n.computed?u.name:`[${this.input.slice(u.start,u.end)}]`})}return super.parseClassProperty(n)}parseClassPrivateProperty(n){return n.abstract&&this.raise(Ae.PrivateElementHasAbstract,n),n.accessibility&&this.raise(Ae.PrivateElementHasAccessibility,n,{modifier:n.accessibility}),this.parseClassPropertyAnnotation(n),super.parseClassPrivateProperty(n)}parseClassAccessorProperty(n){return this.parseClassPropertyAnnotation(n),n.optional&&this.raise(Ae.AccessorCannotBeOptional,n),super.parseClassAccessorProperty(n)}pushClassMethod(n,u,m,b,N,D){const q=this.tsTryParseTypeParameters(this.tsParseConstModifier);q&&N&&this.raise(Ae.ConstructorHasTypeParameters,q);const{declare:Y=!1,kind:X}=u;Y&&(X==="get"||X==="set")&&this.raise(Ae.DeclareAccessor,u,{kind:X}),q&&(u.typeParameters=q),super.pushClassMethod(n,u,m,b,N,D)}pushClassPrivateMethod(n,u,m,b){const N=this.tsTryParseTypeParameters(this.tsParseConstModifier);N&&(u.typeParameters=N),super.pushClassPrivateMethod(n,u,m,b)}declareClassPrivateMethodInScope(n,u){n.type!=="TSDeclareMethod"&&(n.type==="MethodDefinition"&&!hasOwnProperty.call(n.value,"body")||super.declareClassPrivateMethodInScope(n,u))}parseClassSuper(n){super.parseClassSuper(n),n.superClass&&(this.match(47)||this.match(51))&&(n.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(n.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(n,u,m,b,N,D,q){const Y=this.tsTryParseTypeParameters(this.tsParseConstModifier);return Y&&(n.typeParameters=Y),super.parseObjPropValue(n,u,m,b,N,D,q)}parseFunctionParams(n,u){const m=this.tsTryParseTypeParameters(this.tsParseConstModifier);m&&(n.typeParameters=m),super.parseFunctionParams(n,u)}parseVarId(n,u){super.parseVarId(n,u),n.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(n.definite=!0);const m=this.tsTryParseTypeAnnotation();m&&(n.id.typeAnnotation=m,this.resetEndLocation(n.id))}parseAsyncArrowFromCallExpression(n,u){return this.match(14)&&(n.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(n,u)}parseMaybeAssign(n,u){var m,b,N,D,q;let Y,X,fe;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(Y=this.state.clone(),X=this.tryParse(()=>super.parseMaybeAssign(n,u),Y),!X.error)return X.node;const{context:Ie}=this.state,rt=Ie[Ie.length-1];(rt===M.j_oTag||rt===M.j_expr)&&Ie.pop()}if(!((m=X)!=null&&m.error)&&!this.match(47))return super.parseMaybeAssign(n,u);(!Y||Y===this.state)&&(Y=this.state.clone());let be;const Ee=this.tryParse(Ie=>{var rt,ar;be=this.tsParseTypeParameters(this.tsParseConstModifier);const Ze=super.parseMaybeAssign(n,u);return(Ze.type!=="ArrowFunctionExpression"||(rt=Ze.extra)!=null&&rt.parenthesized)&&Ie(),((ar=be)==null?void 0:ar.params.length)!==0&&this.resetStartLocationFromNode(Ze,be),Ze.typeParameters=be,Ze},Y);if(!Ee.error&&!Ee.aborted)return be&&this.reportReservedArrowTypeParam(be),Ee.node;if(!X&&(pd(!this.hasPlugin("jsx")),fe=this.tryParse(()=>super.parseMaybeAssign(n,u),Y),!fe.error))return fe.node;if((b=X)!=null&&b.node)return this.state=X.failState,X.node;if(Ee.node)return this.state=Ee.failState,be&&this.reportReservedArrowTypeParam(be),Ee.node;if((N=fe)!=null&&N.node)return this.state=fe.failState,fe.node;throw((D=X)==null?void 0:D.error)||Ee.error||((q=fe)==null?void 0:q.error)}reportReservedArrowTypeParam(n){var u;n.params.length===1&&!n.params[0].constraint&&!((u=n.extra)!=null&&u.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Ae.ReservedArrowTypeParam,n)}parseMaybeUnary(n,u){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(n,u)}parseArrow(n){if(this.match(14)){const u=this.tryParse(m=>{const b=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&m(),b});if(u.aborted)return;u.thrown||(u.error&&(this.state=u.failState),n.returnType=u.node)}return super.parseArrow(n)}parseAssignableListItemTypes(n,u){if(!(u&2))return n;this.eat(17)&&(n.optional=!0);const m=this.tsTryParseTypeAnnotation();return m&&(n.typeAnnotation=m),this.resetEndLocation(n),n}isAssignable(n,u){switch(n.type){case"TSTypeCastExpression":return this.isAssignable(n.expression,u);case"TSParameterProperty":return!0;default:return super.isAssignable(n,u)}}toAssignable(n,u=!1){switch(n.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(n,u);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":u?this.expressionScope.recordArrowParameterBindingError(Ae.UnexpectedTypeCastInParameter,n):this.raise(Ae.UnexpectedTypeCastInParameter,n),this.toAssignable(n.expression,u);break;case"AssignmentExpression":!u&&n.left.type==="TSTypeCastExpression"&&(n.left=this.typeCastToParameter(n.left));default:super.toAssignable(n,u)}}toAssignableParenthesizedExpression(n,u){switch(n.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(n.expression,u);break;default:super.toAssignable(n,u)}}checkToRestConversion(n,u){switch(n.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(n.expression,!1);break;default:super.checkToRestConversion(n,u)}}isValidLVal(n,u,m){switch(n){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(m!==64||!u)&&["expression",!0];default:return super.isValidLVal(n,u,m)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(n){if(this.match(47)||this.match(51)){const u=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const m=super.parseMaybeDecoratorArguments(n);return m.typeParameters=u,m}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(n)}checkCommaAfterRest(n){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===n?(this.next(),!1):super.checkCommaAfterRest(n)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(n,u){const m=super.parseMaybeDefault(n,u);return m.type==="AssignmentPattern"&&m.typeAnnotation&&m.right.start<m.typeAnnotation.start&&this.raise(Ae.TypeAnnotationAfterAssign,m.typeAnnotation),m}getTokenFromCode(n){if(this.state.inType){if(n===62){this.finishOp(48,1);return}if(n===60){this.finishOp(47,1);return}}super.getTokenFromCode(n)}reScan_lt_gt(){const{type:n}=this.state;n===47?(this.state.pos-=1,this.readToken_lt()):n===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:n}=this.state;return n===51?(this.state.pos-=2,this.finishOp(47,1),47):n}toAssignableList(n,u,m){for(let b=0;b<n.length;b++){const N=n[b];(N==null?void 0:N.type)==="TSTypeCastExpression"&&(n[b]=this.typeCastToParameter(N))}super.toAssignableList(n,u,m)}typeCastToParameter(n){return n.expression.typeAnnotation=n.typeAnnotation,this.resetEndLocation(n.expression,n.typeAnnotation.loc.end),n.expression}shouldParseArrow(n){return this.match(14)?n.every(u=>this.isAssignable(u,!0)):super.shouldParseArrow(n)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(n){if(this.match(47)||this.match(51)){const u=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());u&&(n.typeParameters=u)}return super.jsxParseOpeningElementAfterName(n)}getGetterSetterExpectedParamCount(n){const u=super.getGetterSetterExpectedParamCount(n),b=this.getObjectOrClassMethodParams(n)[0];return b&&this.isThisParam(b)?u+1:u}parseCatchClauseParam(){const n=super.parseCatchClauseParam(),u=this.tsTryParseTypeAnnotation();return u&&(n.typeAnnotation=u,this.resetEndLocation(n)),n}tsInAmbientContext(n){const{isAmbientContext:u,strict:m}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return n()}finally{this.state.isAmbientContext=u,this.state.strict=m}}parseClass(n,u,m){const b=this.state.inAbstractClass;this.state.inAbstractClass=!!n.abstract;try{return super.parseClass(n,u,m)}finally{this.state.inAbstractClass=b}}tsParseAbstractDeclaration(n,u){if(this.match(80))return n.abstract=!0,this.maybeTakeDecorators(u,this.parseClass(n,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return n.abstract=!0,this.raise(Ae.NonClassMethodPropertyHasAbstractModifer,n),this.tsParseInterfaceDeclaration(n)}else this.unexpected(null,80)}parseMethod(n,u,m,b,N,D,q){const Y=super.parseMethod(n,u,m,b,N,D,q);if(Y.abstract&&(this.hasPlugin("estree")?!!Y.value.body:!!Y.body)){const{key:fe}=Y;this.raise(Ae.AbstractMethodHasImplementation,Y,{methodName:fe.type==="Identifier"&&!Y.computed?fe.name:`[${this.input.slice(fe.start,fe.end)}]`})}return Y}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(n,u,m,b){return!u&&b?(this.parseTypeOnlyImportExportSpecifier(n,!1,m),this.finishNode(n,"ExportSpecifier")):(n.exportKind="value",super.parseExportSpecifier(n,u,m,b))}parseImportSpecifier(n,u,m,b,N){return!u&&b?(this.parseTypeOnlyImportExportSpecifier(n,!0,m),this.finishNode(n,"ImportSpecifier")):(n.importKind="value",super.parseImportSpecifier(n,u,m,b,m?4098:4096))}parseTypeOnlyImportExportSpecifier(n,u,m){const b=u?"imported":"local",N=u?"local":"exported";let D=n[b],q,Y=!1,X=!0;const fe=D.loc.start;if(this.isContextual(93)){const Ee=this.parseIdentifier();if(this.isContextual(93)){const Ie=this.parseIdentifier();ae(this.state.type)?(Y=!0,D=Ee,q=u?this.parseIdentifier():this.parseModuleExportName(),X=!1):(q=Ie,X=!1)}else ae(this.state.type)?(X=!1,q=u?this.parseIdentifier():this.parseModuleExportName()):(Y=!0,D=Ee)}else ae(this.state.type)&&(Y=!0,u?(D=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(D.name,D.loc.start,!0,!0)):D=this.parseModuleExportName());Y&&m&&this.raise(u?Ae.TypeModifierIsUsedInTypeImports:Ae.TypeModifierIsUsedInTypeExports,fe),n[b]=D,n[N]=q;const be=u?"importKind":"exportKind";n[be]=Y?"type":"value",X&&this.eatContextual(93)&&(n[N]=u?this.parseIdentifier():this.parseModuleExportName()),n[N]||(n[N]=Ss(n[b])),u&&this.checkIdentifier(n[N],Y?4098:4096)}};function fT(C){if(C.type!=="MemberExpression")return!1;const{computed:c,property:n}=C;return c&&n.type!=="StringLiteral"&&(n.type!=="TemplateLiteral"||n.expressions.length>0)?!1:md(C.object)}function dT(C,c){var n;const{type:u}=C;if((n=C.extra)!=null&&n.parenthesized)return!1;if(c){if(u==="Literal"){const{value:m}=C;if(typeof m=="string"||typeof m=="boolean")return!0}}else if(u==="StringLiteral"||u==="BooleanLiteral")return!0;return!!(dd(C,c)||mT(C,c)||u==="TemplateLiteral"&&C.expressions.length===0||fT(C))}function dd(C,c){return c?C.type==="Literal"&&(typeof C.value=="number"||"bigint"in C):C.type==="NumericLiteral"||C.type==="BigIntLiteral"}function mT(C,c){if(C.type==="UnaryExpression"){const{operator:n,argument:u}=C;if(n==="-"&&dd(u,c))return!0}return!1}function md(C){return C.type==="Identifier"?!0:C.type!=="MemberExpression"||C.computed?!1:md(C.object)}const gd=_`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});var gT=C=>class extends C{parsePlaceholder(n){if(this.match(144)){const u=this.startNode();return this.next(),this.assertNoSpace(),u.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(u,n)}}finishPlaceholder(n,u){let m=n;return(!m.expectedNode||!m.type)&&(m=this.finishNode(m,"Placeholder")),m.expectedNode=u,m}getTokenFromCode(n){n===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(n)}parseExprAtom(n){return this.parsePlaceholder("Expression")||super.parseExprAtom(n)}parseIdentifier(n){return this.parsePlaceholder("Identifier")||super.parseIdentifier(n)}checkReservedWord(n,u,m,b){n!==void 0&&super.checkReservedWord(n,u,m,b)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(n,u,m){return n==="Placeholder"||super.isValidLVal(n,u,m)}toAssignable(n,u){n&&n.type==="Placeholder"&&n.expectedNode==="Expression"?n.expectedNode="Pattern":super.toAssignable(n,u)}chStartsBindingIdentifier(n,u){return!!(super.chStartsBindingIdentifier(n,u)||this.lookahead().type===144)}verifyBreakContinue(n,u){n.label&&n.label.type==="Placeholder"||super.verifyBreakContinue(n,u)}parseExpressionStatement(n,u){var m;if(u.type!=="Placeholder"||(m=u.extra)!=null&&m.parenthesized)return super.parseExpressionStatement(n,u);if(this.match(14)){const N=n;return N.label=this.finishPlaceholder(u,"Identifier"),this.next(),N.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(N,"LabeledStatement")}this.semicolon();const b=n;return b.name=u.name,this.finishPlaceholder(b,"Statement")}parseBlock(n,u,m){return this.parsePlaceholder("BlockStatement")||super.parseBlock(n,u,m)}parseFunctionId(n){return this.parsePlaceholder("Identifier")||super.parseFunctionId(n)}parseClass(n,u,m){const b=u?"ClassDeclaration":"ClassExpression";this.next();const N=this.state.strict,D=this.parsePlaceholder("Identifier");if(D)if(this.match(81)||this.match(144)||this.match(5))n.id=D;else{if(m||!u)return n.id=null,n.body=this.finishPlaceholder(D,"ClassBody"),this.finishNode(n,b);throw this.raise(gd.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(n,u,m);return super.parseClassSuper(n),n.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!n.superClass,N),this.finishNode(n,b)}parseExport(n,u){const m=this.parsePlaceholder("Identifier");if(!m)return super.parseExport(n,u);const b=n;if(!this.isContextual(98)&&!this.match(12))return b.specifiers=[],b.source=null,b.declaration=this.finishPlaceholder(m,"Declaration"),this.finishNode(b,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const N=this.startNode();return N.exported=m,b.specifiers=[this.finishNode(N,"ExportDefaultSpecifier")],super.parseExport(b,u)}isExportDefaultSpecifier(){if(this.match(65)){const n=this.nextTokenStart();if(this.isUnparsedContextual(n,"from")&&this.input.startsWith(pt(144),this.nextTokenStartSince(n+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(n,u){var m;return(m=n.specifiers)!=null&&m.length?!0:super.maybeParseExportDefaultSpecifier(n,u)}checkExport(n){const{specifiers:u}=n;u!=null&&u.length&&(n.specifiers=u.filter(m=>m.exported.type==="Placeholder")),super.checkExport(n),n.specifiers=u}parseImport(n){const u=this.parsePlaceholder("Identifier");if(!u)return super.parseImport(n);if(n.specifiers=[],!this.isContextual(98)&&!this.match(12))return n.source=this.finishPlaceholder(u,"StringLiteral"),this.semicolon(),this.finishNode(n,"ImportDeclaration");const m=this.startNodeAtNode(u);return m.local=u,n.specifiers.push(this.finishNode(m,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(n)||this.parseNamedImportSpecifiers(n)),this.expectContextual(98),n.source=this.parseImportSource(),this.semicolon(),this.finishNode(n,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(gd.UnexpectedSpace,this.state.lastTokEndLoc)}},yT=C=>class extends C{parseV8Intrinsic(){if(this.match(54)){const n=this.state.startLoc,u=this.startNode();if(this.next(),U(this.state.type)){const m=this.parseIdentifierName(),b=this.createIdentifier(u,m);if(b.type="V8IntrinsicIdentifier",this.match(10))return b}this.unexpected(n)}}parseExprAtom(n){return this.parseV8Intrinsic()||super.parseExprAtom(n)}};const yd=["minimal","fsharp","hack","smart"],vd=["^^","@@","^","%","#"];function vT(C){if(C.has("decorators")){if(C.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const n=C.get("decorators").decoratorsBeforeExport;if(n!=null&&typeof n!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const u=C.get("decorators").allowCallParenthesized;if(u!=null&&typeof u!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(C.has("flow")&&C.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(C.has("placeholders")&&C.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(C.has("pipelineOperator")){var c;const n=C.get("pipelineOperator").proposal;if(!yd.includes(n)){const m=yd.map(b=>`"${b}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${m}.`)}const u=((c=C.get("recordAndTuple"))==null?void 0:c.syntaxType)==="hash";if(n==="hack"){if(C.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(C.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const m=C.get("pipelineOperator").topicToken;if(!vd.includes(m)){const b=vd.map(N=>`"${N}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${b}.`)}if(m==="#"&&u)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",C.get("recordAndTuple")])}\`.`)}else if(n==="smart"&&u)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",C.get("recordAndTuple")])}\`.`)}if(C.has("moduleAttributes")){if(C.has("importAttributes")||C.has("importAssertions"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(C.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(C.has("importAttributes")&&C.has("importAssertions"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(C.has("recordAndTuple")){const n=C.get("recordAndTuple").syntaxType;if(n!=null){const u=["hash","bar"];if(!u.includes(n))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+u.map(m=>`'${m}'`).join(", "))}}if(C.has("asyncDoExpressions")&&!C.has("doExpressions")){const n=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw n.missingPlugins="doExpressions",n}if(C.has("optionalChainingAssign")&&C.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}const Sd={estree:O,jsx:iT,flow:sT,typescript:pT,v8intrinsic:yT,placeholders:gT},ST=Object.keys(Sd),gu={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function _T(C){if(C==null)return Object.assign({},gu);if(C.annexB!=null&&C.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");const c={};for(const u of Object.keys(gu)){var n;c[u]=(n=C[u])!=null?n:gu[u]}return c}class wT extends lT{checkProto(c,n,u,m){if(c.type==="SpreadElement"||this.isObjectMethod(c)||c.computed||c.shorthand)return;const b=c.key;if((b.type==="Identifier"?b.name:b.value)==="__proto__"){if(n){this.raise(S.RecordNoProto,b);return}u.used&&(m?m.doubleProtoLoc===null&&(m.doubleProtoLoc=b.loc.start):this.raise(S.DuplicateProto,b)),u.used=!0}}shouldExitDescending(c,n){return c.type==="ArrowFunctionExpression"&&c.start===n}getExpression(){this.enterInitialScopes(),this.nextToken();const c=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),c.comments=this.comments,c.errors=this.state.errors,this.options.tokens&&(c.tokens=this.tokens),c}parseExpression(c,n){return c?this.disallowInAnd(()=>this.parseExpressionBase(n)):this.allowInAnd(()=>this.parseExpressionBase(n))}parseExpressionBase(c){const n=this.state.startLoc,u=this.parseMaybeAssign(c);if(this.match(12)){const m=this.startNodeAt(n);for(m.expressions=[u];this.eat(12);)m.expressions.push(this.parseMaybeAssign(c));return this.toReferencedList(m.expressions),this.finishNode(m,"SequenceExpression")}return u}parseMaybeAssignDisallowIn(c,n){return this.disallowInAnd(()=>this.parseMaybeAssign(c,n))}parseMaybeAssignAllowIn(c,n){return this.allowInAnd(()=>this.parseMaybeAssign(c,n))}setOptionalParametersError(c,n){var u;c.optionalParametersLoc=(u=n==null?void 0:n.loc)!=null?u:this.state.startLoc}parseMaybeAssign(c,n){const u=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let D=this.parseYield();return n&&(D=n.call(this,D,u)),D}let m;c?m=!1:(c=new fa,m=!0);const{type:b}=this.state;(b===10||U(b))&&(this.state.potentialArrowAt=this.state.start);let N=this.parseMaybeConditional(c);if(n&&(N=n.call(this,N,u)),xe(this.state.type)){const D=this.startNodeAt(u),q=this.state.value;if(D.operator=q,this.match(29)){this.toAssignable(N,!0),D.left=N;const Y=u.index;c.doubleProtoLoc!=null&&c.doubleProtoLoc.index>=Y&&(c.doubleProtoLoc=null),c.shorthandAssignLoc!=null&&c.shorthandAssignLoc.index>=Y&&(c.shorthandAssignLoc=null),c.privateKeyLoc!=null&&c.privateKeyLoc.index>=Y&&(this.checkDestructuringPrivate(c),c.privateKeyLoc=null)}else D.left=N;return this.next(),D.right=this.parseMaybeAssign(),this.checkLVal(N,this.finishNode(D,"AssignmentExpression")),D}else m&&this.checkExpressionErrors(c,!0);return N}parseMaybeConditional(c){const n=this.state.startLoc,u=this.state.potentialArrowAt,m=this.parseExprOps(c);return this.shouldExitDescending(m,u)?m:this.parseConditional(m,n,c)}parseConditional(c,n,u){if(this.eat(17)){const m=this.startNodeAt(n);return m.test=c,m.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),m.alternate=this.parseMaybeAssign(),this.finishNode(m,"ConditionalExpression")}return c}parseMaybeUnaryOrPrivate(c){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(c)}parseExprOps(c){const n=this.state.startLoc,u=this.state.potentialArrowAt,m=this.parseMaybeUnaryOrPrivate(c);return this.shouldExitDescending(m,u)?m:this.parseExprOp(m,n,-1)}parseExprOp(c,n,u){if(this.isPrivateName(c)){const b=this.getPrivateNameSV(c);(u>=oe(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(S.PrivateInExpectedIn,c,{identifierName:b}),this.classScope.usePrivateName(b,c.loc.start)}const m=this.state.type;if(qe(m)&&(this.prodParam.hasIn||!this.match(58))){let b=oe(m);if(b>u){if(m===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return c;this.checkPipelineAtInfixOperator(c,n)}const N=this.startNodeAt(n);N.left=c,N.operator=this.state.value;const D=m===41||m===42,q=m===40;if(q&&(b=oe(42)),this.next(),m===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(S.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);N.right=this.parseExprOpRightExpr(m,b);const Y=this.finishNode(N,D||q?"LogicalExpression":"BinaryExpression"),X=this.state.type;if(q&&(X===41||X===42)||D&&X===40)throw this.raise(S.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(Y,n,u)}}return c}parseExprOpRightExpr(c,n){const u=this.state.startLoc;switch(c){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(S.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(c,n),u)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(n))}default:return this.parseExprOpBaseRightExpr(c,n)}}parseExprOpBaseRightExpr(c,n){const u=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),u,me(c)?n-1:n)}parseHackPipeBody(){var c;const{startLoc:n}=this.state,u=this.parseMaybeAssign();return d.has(u.type)&&!((c=u.extra)!=null&&c.parenthesized)&&this.raise(S.PipeUnparenthesizedBody,n,{type:u.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(S.PipeTopicUnused,n),u}checkExponentialAfterUnary(c){this.match(57)&&this.raise(S.UnexpectedTokenUnaryExponentiation,c.argument)}parseMaybeUnary(c,n){const u=this.state.startLoc,m=this.isContextual(96);if(m&&this.recordAwaitIfAllowed()){this.next();const q=this.parseAwait(u);return n||this.checkExponentialAfterUnary(q),q}const b=this.match(34),N=this.startNode();if(Ve(this.state.type)){N.operator=this.state.value,N.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const q=this.match(89);if(this.next(),N.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(c,!0),this.state.strict&&q){const Y=N.argument;Y.type==="Identifier"?this.raise(S.StrictDelete,N):this.hasPropertyAsPrivateName(Y)&&this.raise(S.DeletePrivateField,N)}if(!b)return n||this.checkExponentialAfterUnary(N),this.finishNode(N,"UnaryExpression")}const D=this.parseUpdate(N,b,c);if(m){const{type:q}=this.state;if((this.hasPlugin("v8intrinsic")?ve(q):ve(q)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(S.AwaitNotInAsyncContext,u),this.parseAwait(u)}return D}parseUpdate(c,n,u){if(n){const N=c;return this.checkLVal(N.argument,this.finishNode(N,"UpdateExpression")),c}const m=this.state.startLoc;let b=this.parseExprSubscripts(u);if(this.checkExpressionErrors(u,!1))return b;for(;ze(this.state.type)&&!this.canInsertSemicolon();){const N=this.startNodeAt(m);N.operator=this.state.value,N.prefix=!1,N.argument=b,this.next(),this.checkLVal(b,b=this.finishNode(N,"UpdateExpression"))}return b}parseExprSubscripts(c){const n=this.state.startLoc,u=this.state.potentialArrowAt,m=this.parseExprAtom(c);return this.shouldExitDescending(m,u)?m:this.parseSubscripts(m,n)}parseSubscripts(c,n,u){const m={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(c),stop:!1};do c=this.parseSubscript(c,n,u,m),m.maybeAsyncArrow=!1;while(!m.stop);return c}parseSubscript(c,n,u,m){const{type:b}=this.state;if(!u&&b===15)return this.parseBind(c,n,u,m);if(ye(b))return this.parseTaggedTemplateExpression(c,n,m);let N=!1;if(b===18){if(u&&(this.raise(S.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return m.stop=!0,c;m.optionalChainMember=N=!0,this.next()}if(!u&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(c,n,m,N);{const D=this.eat(0);return D||N||this.eat(16)?this.parseMember(c,n,m,D,N):(m.stop=!0,c)}}parseMember(c,n,u,m,b){const N=this.startNodeAt(n);return N.object=c,N.computed=m,m?(N.property=this.parseExpression(),this.expect(3)):this.match(138)?(c.type==="Super"&&this.raise(S.SuperPrivateField,n),this.classScope.usePrivateName(this.state.value,this.state.startLoc),N.property=this.parsePrivateName()):N.property=this.parseIdentifier(!0),u.optionalChainMember?(N.optional=b,this.finishNode(N,"OptionalMemberExpression")):this.finishNode(N,"MemberExpression")}parseBind(c,n,u,m){const b=this.startNodeAt(n);return b.object=c,this.next(),b.callee=this.parseNoCallExpr(),m.stop=!0,this.parseSubscripts(this.finishNode(b,"BindExpression"),n,u)}parseCoverCallAndAsyncArrowHead(c,n,u,m){const b=this.state.maybeInArrowParameters;let N=null;this.state.maybeInArrowParameters=!0,this.next();const D=this.startNodeAt(n);D.callee=c;const{maybeAsyncArrow:q,optionalChainMember:Y}=u;q&&(this.expressionScope.enter(zE()),N=new fa),Y&&(D.optional=m),m?D.arguments=this.parseCallExpressionArguments(11):D.arguments=this.parseCallExpressionArguments(11,c.type==="Import",c.type!=="Super",D,N);let X=this.finishCallExpression(D,Y);return q&&this.shouldParseAsyncArrow()&&!m?(u.stop=!0,this.checkDestructuringPrivate(N),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),X=this.parseAsyncArrowFromCallExpression(this.startNodeAt(n),X)):(q&&(this.checkExpressionErrors(N,!0),this.expressionScope.exit()),this.toReferencedArguments(X)),this.state.maybeInArrowParameters=b,X}toReferencedArguments(c,n){this.toReferencedListDeep(c.arguments,n)}parseTaggedTemplateExpression(c,n,u){const m=this.startNodeAt(n);return m.tag=c,m.quasi=this.parseTemplate(!0),u.optionalChainMember&&this.raise(S.OptionalChainingNoTemplate,n),this.finishNode(m,"TaggedTemplateExpression")}atPossibleAsyncArrow(c){return c.type==="Identifier"&&c.name==="async"&&this.state.lastTokEndLoc.index===c.end&&!this.canInsertSemicolon()&&c.end-c.start===5&&c.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(c,n){if(c.callee.type==="Import")if(c.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),c.arguments.length===0||c.arguments.length>2)this.raise(S.ImportCallArity,c,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const u of c.arguments)u.type==="SpreadElement"&&this.raise(S.ImportCallSpreadArgument,u);return this.finishNode(c,n?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(c,n,u,m,b){const N=[];let D=!0;const q=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(c);){if(D)D=!1;else if(this.expect(12),this.match(c)){n&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(S.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),m&&this.addTrailingCommaExtraToNode(m),this.next();break}N.push(this.parseExprListItem(!1,b,u))}return this.state.inFSharpPipelineDirectBody=q,N}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(c,n){var u;return this.resetPreviousNodeTrailingComments(n),this.expect(19),this.parseArrowExpression(c,n.arguments,!0,(u=n.extra)==null?void 0:u.trailingCommaLoc),n.innerComments&&ys(c,n.innerComments),n.callee.trailingComments&&ys(c,n.callee.trailingComments),c}parseNoCallExpr(){const c=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),c,!0)}parseExprAtom(c){let n,u=null;const{type:m}=this.state;switch(m){case 79:return this.parseSuper();case 83:return n=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(n):this.match(10)?this.options.createImportExpressions?this.parseImportCall(n):this.finishNode(n,"Import"):(this.raise(S.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(n,"Import"));case 78:return n=this.startNode(),this.next(),this.finishNode(n,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{const b=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(b)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,c);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,c);case 68:return this.parseFunctionOrFunctionSent();case 26:u=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(u,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{n=this.startNode(),this.next(),n.object=null;const b=n.callee=this.parseNoCallExpr();if(b.type==="MemberExpression")return this.finishNode(n,"BindExpression");throw this.raise(S.UnsupportedBind,b)}case 138:return this.raise(S.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{const b=this.getPluginOption("pipelineOperator","proposal");if(b)return this.parseTopicReference(b);this.unexpected();break}case 47:{const b=this.input.codePointAt(this.nextTokenStart());Je(b)||b===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(U(m)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();const b=this.state.potentialArrowAt===this.state.start,N=this.state.containsEsc,D=this.parseIdentifier();if(!N&&D.name==="async"&&!this.canInsertSemicolon()){const{type:q}=this.state;if(q===68)return this.resetPreviousNodeTrailingComments(D),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(D));if(U(q))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(D)):D;if(q===90)return this.resetPreviousNodeTrailingComments(D),this.parseDo(this.startNodeAtNode(D),!0)}return b&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(D),[D],!1)):D}else this.unexpected()}}parseTopicReferenceThenEqualsSign(c,n){const u=this.getPluginOption("pipelineOperator","proposal");if(u)return this.state.type=c,this.state.value=n,this.state.pos--,this.state.end--,this.state.endLoc=s(this.state.endLoc,-1),this.parseTopicReference(u);this.unexpected()}parseTopicReference(c){const n=this.startNode(),u=this.state.startLoc,m=this.state.type;return this.next(),this.finishTopicReference(n,u,c,m)}finishTopicReference(c,n,u,m){if(this.testTopicReferenceConfiguration(u,n,m)){const b=u==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(u==="smart"?S.PrimaryTopicNotAllowed:S.PipeTopicUnbound,n),this.registerTopicReference(),this.finishNode(c,b)}else throw this.raise(S.PipeTopicUnconfiguredToken,n,{token:pt(m)})}testTopicReferenceConfiguration(c,n,u){switch(c){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:pt(u)}]);case"smart":return u===27;default:throw this.raise(S.PipeTopicRequiresHackPipes,n)}}parseAsyncArrowUnaryFunction(c){this.prodParam.enter(pa(!0,this.prodParam.hasYield));const n=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(S.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(c,n,!0)}parseDo(c,n){this.expectPlugin("doExpressions"),n&&this.expectPlugin("asyncDoExpressions"),c.async=n,this.next();const u=this.state.labels;return this.state.labels=[],n?(this.prodParam.enter(2),c.body=this.parseBlock(),this.prodParam.exit()):c.body=this.parseBlock(),this.state.labels=u,this.finishNode(c,"DoExpression")}parseSuper(){const c=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(S.SuperNotAllowed,c):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(S.UnexpectedSuper,c),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(S.UnsupportedSuper,c),this.finishNode(c,"Super")}parsePrivateName(){const c=this.startNode(),n=this.startNodeAt(s(this.state.startLoc,1)),u=this.state.value;return this.next(),c.id=this.createIdentifier(n,u),this.finishNode(c,"PrivateName")}parseFunctionOrFunctionSent(){const c=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const n=this.createIdentifier(this.startNodeAtNode(c),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(c,n,"sent")}return this.parseFunction(c)}parseMetaProperty(c,n,u){c.meta=n;const m=this.state.containsEsc;return c.property=this.parseIdentifier(!0),(c.property.name!==u||m)&&this.raise(S.UnsupportedMetaProperty,c.property,{target:n.name,onlyValidPropertyName:u}),this.finishNode(c,"MetaProperty")}parseImportMetaProperty(c){const n=this.createIdentifier(this.startNodeAtNode(c),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(S.ImportMetaOutsideModule,n),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const u=this.isContextual(105);if(u||this.unexpected(),this.expectPlugin(u?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(S.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),c.phase=u?"source":"defer",this.parseImportCall(c)}return this.parseMetaProperty(c,n,"meta")}parseLiteralAtNode(c,n,u){return this.addExtra(u,"rawValue",c),this.addExtra(u,"raw",this.input.slice(u.start,this.state.end)),u.value=c,this.next(),this.finishNode(u,n)}parseLiteral(c,n){const u=this.startNode();return this.parseLiteralAtNode(c,n,u)}parseStringLiteral(c){return this.parseLiteral(c,"StringLiteral")}parseNumericLiteral(c){return this.parseLiteral(c,"NumericLiteral")}parseBigIntLiteral(c){return this.parseLiteral(c,"BigIntLiteral")}parseDecimalLiteral(c){return this.parseLiteral(c,"DecimalLiteral")}parseRegExpLiteral(c){const n=this.startNode();return this.addExtra(n,"raw",this.input.slice(n.start,this.state.end)),n.pattern=c.pattern,n.flags=c.flags,this.next(),this.finishNode(n,"RegExpLiteral")}parseBooleanLiteral(c){const n=this.startNode();return n.value=c,this.next(),this.finishNode(n,"BooleanLiteral")}parseNullLiteral(){const c=this.startNode();return this.next(),this.finishNode(c,"NullLiteral")}parseParenAndDistinguishExpression(c){const n=this.state.startLoc;let u;this.next(),this.expressionScope.enter(GE());const m=this.state.maybeInArrowParameters,b=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const N=this.state.startLoc,D=[],q=new fa;let Y=!0,X,fe;for(;!this.match(11);){if(Y)Y=!1;else if(this.expect(12,q.optionalParametersLoc===null?null:q.optionalParametersLoc),this.match(11)){fe=this.state.startLoc;break}if(this.match(21)){const Ie=this.state.startLoc;if(X=this.state.startLoc,D.push(this.parseParenItem(this.parseRestBinding(),Ie)),!this.checkCommaAfterRest(41))break}else D.push(this.parseMaybeAssignAllowIn(q,this.parseParenItem))}const be=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=m,this.state.inFSharpPipelineDirectBody=b;let Ee=this.startNodeAt(n);return c&&this.shouldParseArrow(D)&&(Ee=this.parseArrow(Ee))?(this.checkDestructuringPrivate(q),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(Ee,D,!1),Ee):(this.expressionScope.exit(),D.length||this.unexpected(this.state.lastTokStartLoc),fe&&this.unexpected(fe),X&&this.unexpected(X),this.checkExpressionErrors(q,!0),this.toReferencedListDeep(D,!0),D.length>1?(u=this.startNodeAt(N),u.expressions=D,this.finishNode(u,"SequenceExpression"),this.resetEndLocation(u,be)):u=D[0],this.wrapParenthesis(n,u))}wrapParenthesis(c,n){if(!this.options.createParenthesizedExpressions)return this.addExtra(n,"parenthesized",!0),this.addExtra(n,"parenStart",c.index),this.takeSurroundingComments(n,c.index,this.state.lastTokEndLoc.index),n;const u=this.startNodeAt(c);return u.expression=n,this.finishNode(u,"ParenthesizedExpression")}shouldParseArrow(c){return!this.canInsertSemicolon()}parseArrow(c){if(this.eat(19))return c}parseParenItem(c,n){return c}parseNewOrNewTarget(){const c=this.startNode();if(this.next(),this.match(16)){const n=this.createIdentifier(this.startNodeAtNode(c),"new");this.next();const u=this.parseMetaProperty(c,n,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(S.UnexpectedNewTarget,u),u}return this.parseNew(c)}parseNew(c){if(this.parseNewCallee(c),this.eat(10)){const n=this.parseExprList(11);this.toReferencedList(n),c.arguments=n}else c.arguments=[];return this.finishNode(c,"NewExpression")}parseNewCallee(c){const n=this.match(83),u=this.parseNoCallExpr();c.callee=u,n&&(u.type==="Import"||u.type==="ImportExpression")&&this.raise(S.ImportCallNotNewExpression,u)}parseTemplateElement(c){const{start:n,startLoc:u,end:m,value:b}=this.state,N=n+1,D=this.startNodeAt(s(u,1));b===null&&(c||this.raise(S.InvalidEscapeSequenceTemplate,s(this.state.firstInvalidTemplateEscapePos,1)));const q=this.match(24),Y=q?-1:-2,X=m+Y;D.value={raw:this.input.slice(N,X).replace(/\r\n?/g,`
|
|
`),cooked:b===null?null:b.slice(1,Y)},D.tail=q,this.next();const fe=this.finishNode(D,"TemplateElement");return this.resetEndLocation(fe,s(this.state.lastTokEndLoc,Y)),fe}parseTemplate(c){const n=this.startNode();let u=this.parseTemplateElement(c);const m=[u],b=[];for(;!u.tail;)b.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),m.push(u=this.parseTemplateElement(c));return n.expressions=b,n.quasis=m,this.finishNode(n,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(c,n,u,m){u&&this.expectPlugin("recordAndTuple");const b=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const N=Object.create(null);let D=!0;const q=this.startNode();for(q.properties=[],this.next();!this.match(c);){if(D)D=!1;else if(this.expect(12),this.match(c)){this.addTrailingCommaExtraToNode(q);break}let X;n?X=this.parseBindingProperty():(X=this.parsePropertyDefinition(m),this.checkProto(X,u,N,m)),u&&!this.isObjectProperty(X)&&X.type!=="SpreadElement"&&this.raise(S.InvalidRecordProperty,X),X.shorthand&&this.addExtra(X,"shorthand",!0),q.properties.push(X)}this.next(),this.state.inFSharpPipelineDirectBody=b;let Y="ObjectExpression";return n?Y="ObjectPattern":u&&(Y="RecordExpression"),this.finishNode(q,Y)}addTrailingCommaExtraToNode(c){this.addExtra(c,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(c,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(c){return!c.computed&&c.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(c){let n=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(S.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)n.push(this.parseDecorator());const u=this.startNode();let m=!1,b=!1,N;if(this.match(21))return n.length&&this.unexpected(),this.parseSpread();n.length&&(u.decorators=n,n=[]),u.method=!1,c&&(N=this.state.startLoc);let D=this.eat(55);this.parsePropertyNamePrefixOperator(u);const q=this.state.containsEsc;if(this.parsePropertyName(u,c),!D&&!q&&this.maybeAsyncOrAccessorProp(u)){const{key:Y}=u,X=Y.name;X==="async"&&!this.hasPrecedingLineBreak()&&(m=!0,this.resetPreviousNodeTrailingComments(Y),D=this.eat(55),this.parsePropertyName(u)),(X==="get"||X==="set")&&(b=!0,this.resetPreviousNodeTrailingComments(Y),u.kind=X,this.match(55)&&(D=!0,this.raise(S.AccessorIsGenerator,this.state.curPosition(),{kind:X}),this.next()),this.parsePropertyName(u))}return this.parseObjPropValue(u,N,D,m,!1,b,c)}getGetterSetterExpectedParamCount(c){return c.kind==="get"?0:1}getObjectOrClassMethodParams(c){return c.params}checkGetterSetterParams(c){var n;const u=this.getGetterSetterExpectedParamCount(c),m=this.getObjectOrClassMethodParams(c);m.length!==u&&this.raise(c.kind==="get"?S.BadGetterArity:S.BadSetterArity,c),c.kind==="set"&&((n=m[m.length-1])==null?void 0:n.type)==="RestElement"&&this.raise(S.BadSetterRestParameter,c)}parseObjectMethod(c,n,u,m,b){if(b){const N=this.parseMethod(c,n,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(N),N}if(u||n||this.match(10))return m&&this.unexpected(),c.kind="method",c.method=!0,this.parseMethod(c,n,u,!1,!1,"ObjectMethod")}parseObjectProperty(c,n,u,m){if(c.shorthand=!1,this.eat(14))return c.value=u?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(m),this.finishNode(c,"ObjectProperty");if(!c.computed&&c.key.type==="Identifier"){if(this.checkReservedWord(c.key.name,c.key.loc.start,!0,!1),u)c.value=this.parseMaybeDefault(n,Ss(c.key));else if(this.match(29)){const b=this.state.startLoc;m!=null?m.shorthandAssignLoc===null&&(m.shorthandAssignLoc=b):this.raise(S.InvalidCoverInitializedName,b),c.value=this.parseMaybeDefault(n,Ss(c.key))}else c.value=Ss(c.key);return c.shorthand=!0,this.finishNode(c,"ObjectProperty")}}parseObjPropValue(c,n,u,m,b,N,D){const q=this.parseObjectMethod(c,u,m,b,N)||this.parseObjectProperty(c,n,b,D);return q||this.unexpected(),q}parsePropertyName(c,n){if(this.eat(0))c.computed=!0,c.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:u,value:m}=this.state;let b;if(ae(u))b=this.parseIdentifier(!0);else switch(u){case 134:b=this.parseNumericLiteral(m);break;case 133:b=this.parseStringLiteral(m);break;case 135:b=this.parseBigIntLiteral(m);break;case 136:b=this.parseDecimalLiteral(m);break;case 138:{const N=this.state.startLoc;n!=null?n.privateKeyLoc===null&&(n.privateKeyLoc=N):this.raise(S.UnexpectedPrivateField,N),b=this.parsePrivateName();break}default:this.unexpected()}c.key=b,u!==138&&(c.computed=!1)}}initFunction(c,n){c.id=null,c.generator=!1,c.async=n}parseMethod(c,n,u,m,b,N,D=!1){this.initFunction(c,u),c.generator=n,this.scope.enter(18|(D?64:0)|(b?32:0)),this.prodParam.enter(pa(u,c.generator)),this.parseFunctionParams(c,m);const q=this.parseFunctionBodyAndFinish(c,N,!0);return this.prodParam.exit(),this.scope.exit(),q}parseArrayLike(c,n,u,m){u&&this.expectPlugin("recordAndTuple");const b=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const N=this.startNode();return this.next(),N.elements=this.parseExprList(c,!u,m,N),this.state.inFSharpPipelineDirectBody=b,this.finishNode(N,u?"TupleExpression":"ArrayExpression")}parseArrowExpression(c,n,u,m){this.scope.enter(6);let b=pa(u,!1);!this.match(5)&&this.prodParam.hasIn&&(b|=8),this.prodParam.enter(b),this.initFunction(c,u);const N=this.state.maybeInArrowParameters;return n&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(c,n,m)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(c,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=N,this.finishNode(c,"ArrowFunctionExpression")}setArrowFunctionParameters(c,n,u){this.toAssignableList(n,u,!1),c.params=n}parseFunctionBodyAndFinish(c,n,u=!1){return this.parseFunctionBody(c,!1,u),this.finishNode(c,n)}parseFunctionBody(c,n,u=!1){const m=n&&!this.match(5);if(this.expressionScope.enter(cd()),m)c.body=this.parseMaybeAssign(),this.checkParams(c,!1,n,!1);else{const b=this.state.strict,N=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),c.body=this.parseBlock(!0,!1,D=>{const q=!this.isSimpleParamList(c.params);D&&q&&this.raise(S.IllegalLanguageModeDirective,(c.kind==="method"||c.kind==="constructor")&&c.key?c.key.loc.end:c);const Y=!b&&this.state.strict;this.checkParams(c,!this.state.strict&&!n&&!u&&!q,n,Y),this.state.strict&&c.id&&this.checkIdentifier(c.id,65,Y)}),this.prodParam.exit(),this.state.labels=N}this.expressionScope.exit()}isSimpleParameter(c){return c.type==="Identifier"}isSimpleParamList(c){for(let n=0,u=c.length;n<u;n++)if(!this.isSimpleParameter(c[n]))return!1;return!0}checkParams(c,n,u,m=!0){const b=!n&&new Set,N={type:"FormalParameters"};for(const D of c.params)this.checkLVal(D,N,5,b,m)}parseExprList(c,n,u,m){const b=[];let N=!0;for(;!this.eat(c);){if(N)N=!1;else if(this.expect(12),this.match(c)){m&&this.addTrailingCommaExtraToNode(m),this.next();break}b.push(this.parseExprListItem(n,u))}return b}parseExprListItem(c,n,u){let m;if(this.match(12))c||this.raise(S.UnexpectedToken,this.state.curPosition(),{unexpected:","}),m=null;else if(this.match(21)){const b=this.state.startLoc;m=this.parseParenItem(this.parseSpread(n),b)}else if(this.match(17)){this.expectPlugin("partialApplication"),u||this.raise(S.UnexpectedArgumentPlaceholder,this.state.startLoc);const b=this.startNode();this.next(),m=this.finishNode(b,"ArgumentPlaceholder")}else m=this.parseMaybeAssignAllowIn(n,this.parseParenItem);return m}parseIdentifier(c){const n=this.startNode(),u=this.parseIdentifierName(c);return this.createIdentifier(n,u)}createIdentifier(c,n){return c.name=n,c.loc.identifierName=n,this.finishNode(c,"Identifier")}parseIdentifierName(c){let n;const{startLoc:u,type:m}=this.state;ae(m)?n=this.state.value:this.unexpected();const b=se(m);return c?b&&this.replaceToken(132):this.checkReservedWord(n,u,b,!1),this.next(),n}checkReservedWord(c,n,u,m){if(c.length>10||!gs(c))return;if(u&&Ls(c)){this.raise(S.UnexpectedKeyword,n,{keyword:c});return}if((this.state.strict?m?Gr:Wr:vr)(c,this.inModule)){this.raise(S.UnexpectedReservedWord,n,{reservedWord:c});return}else if(c==="yield"){if(this.prodParam.hasYield){this.raise(S.YieldBindingIdentifier,n);return}}else if(c==="await"){if(this.prodParam.hasAwait){this.raise(S.AwaitBindingIdentifier,n);return}if(this.scope.inStaticBlock){this.raise(S.AwaitBindingIdentifierInStaticBlock,n);return}this.expressionScope.recordAsyncArrowParametersError(n)}else if(c==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(S.ArgumentsInClass,n);return}}recordAwaitIfAllowed(){const c=this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction;return c&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),c}parseAwait(c){const n=this.startNodeAt(c);return this.expressionScope.recordParameterInitializerError(S.AwaitExpressionFormalParameter,n),this.eat(55)&&this.raise(S.ObsoleteAwaitStar,n),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(n.argument=this.parseMaybeUnary(null,!0)),this.finishNode(n,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:c}=this.state;return c===53||c===10||c===0||ye(c)||c===102&&!this.state.containsEsc||c===137||c===56||this.hasPlugin("v8intrinsic")&&c===54}parseYield(){const c=this.startNode();this.expressionScope.recordParameterInitializerError(S.YieldInParameter,c),this.next();let n=!1,u=null;if(!this.hasPrecedingLineBreak())switch(n=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!n)break;default:u=this.parseMaybeAssign()}return c.delegate=n,c.argument=u,this.finishNode(c,"YieldExpression")}parseImportCall(c){return this.next(),c.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(c.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(c.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(c,"ImportExpression")}checkPipelineAtInfixOperator(c,n){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&c.type==="SequenceExpression"&&this.raise(S.PipelineHeadSequenceExpression,n)}parseSmartPipelineBodyInStyle(c,n){if(this.isSimpleReference(c)){const u=this.startNodeAt(n);return u.callee=c,this.finishNode(u,"PipelineBareFunction")}else{const u=this.startNodeAt(n);return this.checkSmartPipeTopicBodyEarlyErrors(n),u.expression=c,this.finishNode(u,"PipelineTopicExpression")}}isSimpleReference(c){switch(c.type){case"MemberExpression":return!c.computed&&this.isSimpleReference(c.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(c){if(this.match(19))throw this.raise(S.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(S.PipelineTopicUnused,c)}withTopicBindingContext(c){const n=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return c()}finally{this.state.topicContext=n}}withSmartMixTopicForbiddingContext(c){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){const n=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return c()}finally{this.state.topicContext=n}}else return c()}withSoloAwaitPermittingContext(c){const n=this.state.soloAwait;this.state.soloAwait=!0;try{return c()}finally{this.state.soloAwait=n}}allowInAnd(c){const n=this.prodParam.currentFlags();if(8&~n){this.prodParam.enter(n|8);try{return c()}finally{this.prodParam.exit()}}return c()}disallowInAnd(c){const n=this.prodParam.currentFlags();if(8&n){this.prodParam.enter(n&-9);try{return c()}finally{this.prodParam.exit()}}return c()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(c){const n=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const u=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const m=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),n,c);return this.state.inFSharpPipelineDirectBody=u,m}parseModuleExpression(){this.expectPlugin("moduleBlocks");const c=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const n=this.startNodeAt(this.state.endLoc);this.next();const u=this.initializeScopes(!0);this.enterInitialScopes();try{c.body=this.parseProgram(n,8,"module")}finally{u()}return this.finishNode(c,"ModuleExpression")}parsePropertyNamePrefixOperator(c){}}const yu={kind:1},bT={kind:2},ET=/[\uD800-\uDFFF]/u,vu=/in(?:stanceof)?/y;function TT(C,c){for(let n=0;n<C.length;n++){const u=C[n],{type:m}=u;if(typeof m=="number"){{if(m===138){const{loc:b,start:N,value:D,end:q}=u,Y=N+1,X=s(b.start,1);C.splice(n,1,new Hr({type:Se(27),value:"#",start:N,end:Y,startLoc:b.start,endLoc:X}),new Hr({type:Se(132),value:D,start:Y,end:q,startLoc:X,endLoc:b.end})),n++;continue}if(ye(m)){const{loc:b,start:N,value:D,end:q}=u,Y=N+1,X=s(b.start,1);let fe;c.charCodeAt(N)===96?fe=new Hr({type:Se(22),value:"`",start:N,end:Y,startLoc:b.start,endLoc:X}):fe=new Hr({type:Se(8),value:"}",start:N,end:Y,startLoc:b.start,endLoc:X});let be,Ee,Ie,rt;m===24?(Ee=q-1,Ie=s(b.end,-1),be=D===null?null:D.slice(1,-1),rt=new Hr({type:Se(22),value:"`",start:Ee,end:q,startLoc:Ie,endLoc:b.end})):(Ee=q-2,Ie=s(b.end,-2),be=D===null?null:D.slice(1,-2),rt=new Hr({type:Se(23),value:"${",start:Ee,end:q,startLoc:Ie,endLoc:b.end})),C.splice(n,1,fe,new Hr({type:Se(20),value:be,start:Y,end:Ee,startLoc:X,endLoc:Ie}),rt),n+=2;continue}}u.type=Se(m)}}return C}class xT extends wT{parseTopLevel(c,n){return c.program=this.parseProgram(n),c.comments=this.comments,this.options.tokens&&(c.tokens=TT(this.tokens,this.input)),this.finishNode(c,"File")}parseProgram(c,n=139,u=this.options.sourceType){if(c.sourceType=u,c.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(c,!0,!0,n),this.inModule){if(!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[b,N]of Array.from(this.scope.undefinedExports))this.raise(S.ModuleExportUndefined,N,{localName:b});this.addExtra(c,"topLevelAwait",this.state.hasTopLevelAwait)}let m;return n===139?m=this.finishNode(c,"Program"):m=this.finishNodeAt(c,"Program",s(this.state.startLoc,-1)),m}stmtToDirective(c){const n=c;n.type="Directive",n.value=n.expression,delete n.expression;const u=n.value,m=u.value,b=this.input.slice(u.start,u.end),N=u.value=b.slice(1,-1);return this.addExtra(u,"raw",b),this.addExtra(u,"rawValue",N),this.addExtra(u,"expressionValue",m),u.type="DirectiveLiteral",n}parseInterpreterDirective(){if(!this.match(28))return null;const c=this.startNode();return c.value=this.state.value,this.next(),this.finishNode(c,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(c,n){if(Je(c)){if(vu.lastIndex=n,vu.test(this.input)){const u=this.codePointAtPos(vu.lastIndex);if(!Qe(u)&&u!==92)return!1}return!0}else return c===92}chStartsBindingPattern(c){return c===91||c===123}hasFollowingBindingAtom(){const c=this.nextTokenStart(),n=this.codePointAtPos(c);return this.chStartsBindingPattern(n)||this.chStartsBindingIdentifier(n,c)}hasInLineFollowingBindingIdentifierOrBrace(){const c=this.nextTokenInLineStart(),n=this.codePointAtPos(c);return n===123||this.chStartsBindingIdentifier(n,c)}startsUsingForOf(){const{type:c,containsEsc:n}=this.lookahead();if(c===102&&!n)return!1;if(U(c)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let c=this.nextTokenInLineStart();if(this.isUnparsedContextual(c,"using")){c=this.nextTokenInLineStartSince(c+5);const n=this.codePointAtPos(c);if(this.chStartsBindingIdentifier(n,c))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(c=!1){let n=0;return this.options.annexB&&!this.state.strict&&(n|=4,c&&(n|=8)),this.parseStatementLike(n)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(c){let n=null;return this.match(26)&&(n=this.parseDecorators(!0)),this.parseStatementContent(c,n)}parseStatementContent(c,n){const u=this.state.type,m=this.startNode(),b=!!(c&2),N=!!(c&4),D=c&1;switch(u){case 60:return this.parseBreakContinueStatement(m,!0);case 63:return this.parseBreakContinueStatement(m,!1);case 64:return this.parseDebuggerStatement(m);case 90:return this.parseDoWhileStatement(m);case 91:return this.parseForStatement(m);case 68:if(this.lookaheadCharCode()===46)break;return N||this.raise(this.state.strict?S.StrictFunction:this.options.annexB?S.SloppyFunctionAnnexB:S.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(m,!1,!b&&N);case 80:return b||this.unexpected(),this.parseClass(this.maybeTakeDecorators(n,m),!0);case 69:return this.parseIfStatement(m);case 70:return this.parseReturnStatement(m);case 71:return this.parseSwitchStatement(m);case 72:return this.parseThrowStatement(m);case 73:return this.parseTryStatement(m);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.recordAwaitIfAllowed()?b||this.raise(S.UnexpectedLexicalDeclaration,m):this.raise(S.AwaitUsingNotInAsyncContext,m),this.next(),this.parseVarStatement(m,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(S.UnexpectedUsingDeclaration,this.state.startLoc):b||this.raise(S.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(m,"using");case 100:{if(this.state.containsEsc)break;const X=this.nextTokenStart(),fe=this.codePointAtPos(X);if(fe!==91&&(!b&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(fe,X)&&fe!==123))break}case 75:b||this.raise(S.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const X=this.state.value;return this.parseVarStatement(m,X)}case 92:return this.parseWhileStatement(m);case 76:return this.parseWithStatement(m);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(m);case 83:{const X=this.lookaheadCharCode();if(X===40||X===46)break}case 82:{!this.options.allowImportExportEverywhere&&!D&&this.raise(S.UnexpectedImportExport,this.state.startLoc),this.next();let X;return u===83?(X=this.parseImport(m),X.type==="ImportDeclaration"&&(!X.importKind||X.importKind==="value")&&(this.sawUnambiguousESM=!0)):(X=this.parseExport(m,n),(X.type==="ExportNamedDeclaration"&&(!X.exportKind||X.exportKind==="value")||X.type==="ExportAllDeclaration"&&(!X.exportKind||X.exportKind==="value")||X.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(X),X}default:if(this.isAsyncFunction())return b||this.raise(S.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(m,!0,!b&&N)}const q=this.state.value,Y=this.parseExpression();return U(u)&&Y.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(m,q,Y,c):this.parseExpressionStatement(m,Y,n)}assertModuleNodeAllowed(c){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(S.ImportOutsideModule,c)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(c,n,u){return c&&(n.decorators&&n.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(S.DecoratorsBeforeAfterExport,n.decorators[0]),n.decorators.unshift(...c)):n.decorators=c,this.resetStartLocationFromNode(n,c[0]),u&&this.resetStartLocationFromNode(u,n)),n}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(c){const n=[];do n.push(this.parseDecorator());while(this.match(26));if(this.match(82))c||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(S.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(S.UnexpectedLeadingDecorator,this.state.startLoc);return n}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const c=this.startNode();if(this.next(),this.hasPlugin("decorators")){const n=this.state.startLoc;let u;if(this.match(10)){const m=this.state.startLoc;this.next(),u=this.parseExpression(),this.expect(11),u=this.wrapParenthesis(m,u);const b=this.state.startLoc;c.expression=this.parseMaybeDecoratorArguments(u),this.getPluginOption("decorators","allowCallParenthesized")===!1&&c.expression!==u&&this.raise(S.DecoratorArgumentsOutsideParentheses,b)}else{for(u=this.parseIdentifier(!1);this.eat(16);){const m=this.startNodeAt(n);m.object=u,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),m.property=this.parsePrivateName()):m.property=this.parseIdentifier(!0),m.computed=!1,u=this.finishNode(m,"MemberExpression")}c.expression=this.parseMaybeDecoratorArguments(u)}}else c.expression=this.parseExprSubscripts();return this.finishNode(c,"Decorator")}parseMaybeDecoratorArguments(c){if(this.eat(10)){const n=this.startNodeAtNode(c);return n.callee=c,n.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(n.arguments),this.finishNode(n,"CallExpression")}return c}parseBreakContinueStatement(c,n){return this.next(),this.isLineTerminator()?c.label=null:(c.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(c,n),this.finishNode(c,n?"BreakStatement":"ContinueStatement")}verifyBreakContinue(c,n){let u;for(u=0;u<this.state.labels.length;++u){const m=this.state.labels[u];if((c.label==null||m.name===c.label.name)&&(m.kind!=null&&(n||m.kind===1)||c.label&&n))break}if(u===this.state.labels.length){const m=n?"BreakStatement":"ContinueStatement";this.raise(S.IllegalBreakContinue,c,{type:m})}}parseDebuggerStatement(c){return this.next(),this.semicolon(),this.finishNode(c,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const c=this.parseExpression();return this.expect(11),c}parseDoWhileStatement(c){return this.next(),this.state.labels.push(yu),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),c.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(c,"DoWhileStatement")}parseForStatement(c){this.next(),this.state.labels.push(yu);let n=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(n=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return n!==null&&this.unexpected(n),this.parseFor(c,null);const u=this.isContextual(100);{const q=this.isContextual(96)&&this.startsAwaitUsing(),Y=q||this.isContextual(107)&&this.startsUsingForOf(),X=u&&this.hasFollowingBindingAtom()||Y;if(this.match(74)||this.match(75)||X){const fe=this.startNode();let be;q?(be="await using",this.recordAwaitIfAllowed()||this.raise(S.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):be=this.state.value,this.next(),this.parseVar(fe,!0,be);const Ee=this.finishNode(fe,"VariableDeclaration"),Ie=this.match(58);return Ie&&Y&&this.raise(S.ForInUsing,Ee),(Ie||this.isContextual(102))&&Ee.declarations.length===1?this.parseForIn(c,Ee,n):(n!==null&&this.unexpected(n),this.parseFor(c,Ee))}}const m=this.isContextual(95),b=new fa,N=this.parseExpression(!0,b),D=this.isContextual(102);if(D&&(u&&this.raise(S.ForOfLet,N),n===null&&m&&N.type==="Identifier"&&this.raise(S.ForOfAsync,N)),D||this.match(58)){this.checkDestructuringPrivate(b),this.toAssignable(N,!0);const q=D?"ForOfStatement":"ForInStatement";return this.checkLVal(N,{type:q}),this.parseForIn(c,N,n)}else this.checkExpressionErrors(b,!0);return n!==null&&this.unexpected(n),this.parseFor(c,N)}parseFunctionStatement(c,n,u){return this.next(),this.parseFunction(c,1|(u?2:0)|(n?8:0))}parseIfStatement(c){return this.next(),c.test=this.parseHeaderExpression(),c.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),c.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(c,"IfStatement")}parseReturnStatement(c){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(S.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?c.argument=null:(c.argument=this.parseExpression(),this.semicolon()),this.finishNode(c,"ReturnStatement")}parseSwitchStatement(c){this.next(),c.discriminant=this.parseHeaderExpression();const n=c.cases=[];this.expect(5),this.state.labels.push(bT),this.scope.enter(0);let u;for(let m;!this.match(8);)if(this.match(61)||this.match(65)){const b=this.match(61);u&&this.finishNode(u,"SwitchCase"),n.push(u=this.startNode()),u.consequent=[],this.next(),b?u.test=this.parseExpression():(m&&this.raise(S.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),m=!0,u.test=null),this.expect(14)}else u?u.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),u&&this.finishNode(u,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(c,"SwitchStatement")}parseThrowStatement(c){return this.next(),this.hasPrecedingLineBreak()&&this.raise(S.NewlineAfterThrow,this.state.lastTokEndLoc),c.argument=this.parseExpression(),this.semicolon(),this.finishNode(c,"ThrowStatement")}parseCatchClauseParam(){const c=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&c.type==="Identifier"?8:0),this.checkLVal(c,{type:"CatchClause"},9),c}parseTryStatement(c){if(this.next(),c.block=this.parseBlock(),c.handler=null,this.match(62)){const n=this.startNode();this.next(),this.match(10)?(this.expect(10),n.param=this.parseCatchClauseParam(),this.expect(11)):(n.param=null,this.scope.enter(0)),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),c.handler=this.finishNode(n,"CatchClause")}return c.finalizer=this.eat(67)?this.parseBlock():null,!c.handler&&!c.finalizer&&this.raise(S.NoCatchOrFinally,c),this.finishNode(c,"TryStatement")}parseVarStatement(c,n,u=!1){return this.next(),this.parseVar(c,!1,n,u),this.semicolon(),this.finishNode(c,"VariableDeclaration")}parseWhileStatement(c){return this.next(),c.test=this.parseHeaderExpression(),this.state.labels.push(yu),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(c,"WhileStatement")}parseWithStatement(c){return this.state.strict&&this.raise(S.StrictWith,this.state.startLoc),this.next(),c.object=this.parseHeaderExpression(),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(c,"WithStatement")}parseEmptyStatement(c){return this.next(),this.finishNode(c,"EmptyStatement")}parseLabeledStatement(c,n,u,m){for(const N of this.state.labels)N.name===n&&this.raise(S.LabelRedeclaration,u,{labelName:n});const b=De(this.state.type)?1:this.match(71)?2:null;for(let N=this.state.labels.length-1;N>=0;N--){const D=this.state.labels[N];if(D.statementStart===c.start)D.statementStart=this.state.start,D.kind=b;else break}return this.state.labels.push({name:n,kind:b,statementStart:this.state.start}),c.body=m&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),c.label=u,this.finishNode(c,"LabeledStatement")}parseExpressionStatement(c,n,u){return c.expression=n,this.semicolon(),this.finishNode(c,"ExpressionStatement")}parseBlock(c=!1,n=!0,u){const m=this.startNode();return c&&this.state.strictErrors.clear(),this.expect(5),n&&this.scope.enter(0),this.parseBlockBody(m,c,!1,8,u),n&&this.scope.exit(),this.finishNode(m,"BlockStatement")}isValidDirective(c){return c.type==="ExpressionStatement"&&c.expression.type==="StringLiteral"&&!c.expression.extra.parenthesized}parseBlockBody(c,n,u,m,b){const N=c.body=[],D=c.directives=[];this.parseBlockOrModuleBlockBody(N,n?D:void 0,u,m,b)}parseBlockOrModuleBlockBody(c,n,u,m,b){const N=this.state.strict;let D=!1,q=!1;for(;!this.match(m);){const Y=u?this.parseModuleItem():this.parseStatementListItem();if(n&&!q){if(this.isValidDirective(Y)){const X=this.stmtToDirective(Y);n.push(X),!D&&X.value.value==="use strict"&&(D=!0,this.setStrict(!0));continue}q=!0,this.state.strictErrors.clear()}c.push(Y)}b==null||b.call(this,D),N||this.setStrict(!1),this.next()}parseFor(c,n){return c.init=n,this.semicolon(!1),c.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),c.update=this.match(11)?null:this.parseExpression(),this.expect(11),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(c,"ForStatement")}parseForIn(c,n,u){const m=this.match(58);return this.next(),m?u!==null&&this.unexpected(u):c.await=u!==null,n.type==="VariableDeclaration"&&n.declarations[0].init!=null&&(!m||!this.options.annexB||this.state.strict||n.kind!=="var"||n.declarations[0].id.type!=="Identifier")&&this.raise(S.ForInOfLoopInitializer,n,{type:m?"ForInStatement":"ForOfStatement"}),n.type==="AssignmentPattern"&&this.raise(S.InvalidLhs,n,{ancestor:{type:"ForStatement"}}),c.left=n,c.right=m?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(c,m?"ForInStatement":"ForOfStatement")}parseVar(c,n,u,m=!1){const b=c.declarations=[];for(c.kind=u;;){const N=this.startNode();if(this.parseVarId(N,u),N.init=this.eat(29)?n?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,N.init===null&&!m&&(N.id.type!=="Identifier"&&!(n&&(this.match(58)||this.isContextual(102)))?this.raise(S.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(u==="const"||u==="using"||u==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(S.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:u})),b.push(this.finishNode(N,"VariableDeclarator")),!this.eat(12))break}return c}parseVarId(c,n){const u=this.parseBindingAtom();(n==="using"||n==="await using")&&(u.type==="ArrayPattern"||u.type==="ObjectPattern")&&this.raise(S.UsingDeclarationHasBindingPattern,u.loc.start),this.checkLVal(u,{type:"VariableDeclarator"},n==="var"?5:8201),c.id=u}parseAsyncFunctionExpression(c){return this.parseFunction(c,8)}parseFunction(c,n=0){const u=n&2,m=!!(n&1),b=m&&!(n&4),N=!!(n&8);this.initFunction(c,N),this.match(55)&&(u&&this.raise(S.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),c.generator=!0),m&&(c.id=this.parseFunctionId(b));const D=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(pa(N,c.generator)),m||(c.id=this.parseFunctionId()),this.parseFunctionParams(c,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(c,m?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),m&&!u&&this.registerFunctionStatementId(c),this.state.maybeInArrowParameters=D,c}parseFunctionId(c){return c||U(this.state.type)?this.parseIdentifier():null}parseFunctionParams(c,n){this.expect(10),this.expressionScope.enter(du()),c.params=this.parseBindingList(11,41,2|(n?4:0)),this.expressionScope.exit()}registerFunctionStatementId(c){c.id&&this.scope.declareName(c.id.name,!this.options.annexB||this.state.strict||c.generator||c.async?this.scope.treatFunctionsAsVar?5:8201:17,c.id.loc.start)}parseClass(c,n,u){this.next();const m=this.state.strict;return this.state.strict=!0,this.parseClassId(c,n,u),this.parseClassSuper(c),c.body=this.parseClassBody(!!c.superClass,m),this.finishNode(c,n?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(c){return c.type==="Identifier"&&c.name==="constructor"||c.type==="StringLiteral"&&c.value==="constructor"}isNonstaticConstructor(c){return!c.computed&&!c.static&&this.nameIsConstructor(c.key)}parseClassBody(c,n){this.classScope.enter();const u={hadConstructor:!1,hadSuperClass:c};let m=[];const b=this.startNode();if(b.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(m.length>0)throw this.raise(S.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){m.push(this.parseDecorator());continue}const N=this.startNode();m.length&&(N.decorators=m,this.resetStartLocationFromNode(N,m[0]),m=[]),this.parseClassMember(b,N,u),N.kind==="constructor"&&N.decorators&&N.decorators.length>0&&this.raise(S.DecoratorConstructor,N)}}),this.state.strict=n,this.next(),m.length)throw this.raise(S.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(b,"ClassBody")}parseClassMemberFromModifier(c,n){const u=this.parseIdentifier(!0);if(this.isClassMethod()){const m=n;return m.kind="method",m.computed=!1,m.key=u,m.static=!1,this.pushClassMethod(c,m,!1,!1,!1,!1),!0}else if(this.isClassProperty()){const m=n;return m.computed=!1,m.key=u,m.static=!1,c.body.push(this.parseClassProperty(m)),!0}return this.resetPreviousNodeTrailingComments(u),!1}parseClassMember(c,n,u){const m=this.isContextual(106);if(m){if(this.parseClassMemberFromModifier(c,n))return;if(this.eat(5)){this.parseClassStaticBlock(c,n);return}}this.parseClassMemberWithIsStatic(c,n,u,m)}parseClassMemberWithIsStatic(c,n,u,m){const b=n,N=n,D=n,q=n,Y=n,X=b,fe=b;if(n.static=m,this.parsePropertyNamePrefixOperator(n),this.eat(55)){X.kind="method";const Ze=this.match(138);if(this.parseClassElementName(X),Ze){this.pushClassPrivateMethod(c,N,!0,!1);return}this.isNonstaticConstructor(b)&&this.raise(S.ConstructorIsGenerator,b.key),this.pushClassMethod(c,b,!0,!1,!1,!1);return}const be=!this.state.containsEsc&&U(this.state.type),Ee=this.parseClassElementName(n),Ie=be?Ee.name:null,rt=this.isPrivateName(Ee),ar=this.state.startLoc;if(this.parsePostMemberNameModifiers(fe),this.isClassMethod()){if(X.kind="method",rt){this.pushClassPrivateMethod(c,N,!1,!1);return}const Ze=this.isNonstaticConstructor(b);let St=!1;Ze&&(b.kind="constructor",u.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(S.DuplicateConstructor,Ee),Ze&&this.hasPlugin("typescript")&&n.override&&this.raise(S.OverrideOnConstructor,Ee),u.hadConstructor=!0,St=u.hadSuperClass),this.pushClassMethod(c,b,!1,!1,Ze,St)}else if(this.isClassProperty())rt?this.pushClassPrivateProperty(c,q):this.pushClassProperty(c,D);else if(Ie==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(Ee);const Ze=this.eat(55);fe.optional&&this.unexpected(ar),X.kind="method";const St=this.match(138);this.parseClassElementName(X),this.parsePostMemberNameModifiers(fe),St?this.pushClassPrivateMethod(c,N,Ze,!0):(this.isNonstaticConstructor(b)&&this.raise(S.ConstructorIsAsync,b.key),this.pushClassMethod(c,b,Ze,!0,!1,!1))}else if((Ie==="get"||Ie==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(Ee),X.kind=Ie;const Ze=this.match(138);this.parseClassElementName(b),Ze?this.pushClassPrivateMethod(c,N,!1,!1):(this.isNonstaticConstructor(b)&&this.raise(S.ConstructorIsAccessor,b.key),this.pushClassMethod(c,b,!1,!1,!1,!1)),this.checkGetterSetterParams(b)}else if(Ie==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(Ee);const Ze=this.match(138);this.parseClassElementName(D),this.pushClassAccessorProperty(c,Y,Ze)}else this.isLineTerminator()?rt?this.pushClassPrivateProperty(c,q):this.pushClassProperty(c,D):this.unexpected()}parseClassElementName(c){const{type:n,value:u}=this.state;if((n===132||n===133)&&c.static&&u==="prototype"&&this.raise(S.StaticPrototype,this.state.startLoc),n===138){u==="constructor"&&this.raise(S.ConstructorClassPrivateField,this.state.startLoc);const m=this.parsePrivateName();return c.key=m,m}return this.parsePropertyName(c),c.key}parseClassStaticBlock(c,n){var u;this.scope.enter(208);const m=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const b=n.body=[];this.parseBlockOrModuleBlockBody(b,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=m,c.body.push(this.finishNode(n,"StaticBlock")),(u=n.decorators)!=null&&u.length&&this.raise(S.DecoratorStaticBlock,n)}pushClassProperty(c,n){!n.computed&&this.nameIsConstructor(n.key)&&this.raise(S.ConstructorClassField,n.key),c.body.push(this.parseClassProperty(n))}pushClassPrivateProperty(c,n){const u=this.parseClassPrivateProperty(n);c.body.push(u),this.classScope.declarePrivateName(this.getPrivateNameSV(u.key),0,u.key.loc.start)}pushClassAccessorProperty(c,n,u){!u&&!n.computed&&this.nameIsConstructor(n.key)&&this.raise(S.ConstructorClassField,n.key);const m=this.parseClassAccessorProperty(n);c.body.push(m),u&&this.classScope.declarePrivateName(this.getPrivateNameSV(m.key),0,m.key.loc.start)}pushClassMethod(c,n,u,m,b,N){c.body.push(this.parseMethod(n,u,m,b,N,"ClassMethod",!0))}pushClassPrivateMethod(c,n,u,m){const b=this.parseMethod(n,u,m,!1,!1,"ClassPrivateMethod",!0);c.body.push(b);const N=b.kind==="get"?b.static?6:2:b.kind==="set"?b.static?5:1:0;this.declareClassPrivateMethodInScope(b,N)}declareClassPrivateMethodInScope(c,n){this.classScope.declarePrivateName(this.getPrivateNameSV(c.key),n,c.key.loc.start)}parsePostMemberNameModifiers(c){}parseClassPrivateProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassPrivateProperty")}parseClassProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassProperty")}parseClassAccessorProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassAccessorProperty")}parseInitializer(c){this.scope.enter(80),this.expressionScope.enter(cd()),this.prodParam.enter(0),c.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(c,n,u,m=8331){if(U(this.state.type))c.id=this.parseIdentifier(),n&&this.declareNameFromIdentifier(c.id,m);else if(u||!n)c.id=null;else throw this.raise(S.MissingClassName,this.state.startLoc)}parseClassSuper(c){c.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(c,n){const u=this.parseMaybeImportPhase(c,!0),m=this.maybeParseExportDefaultSpecifier(c,u),b=!m||this.eat(12),N=b&&this.eatExportStar(c),D=N&&this.maybeParseExportNamespaceSpecifier(c),q=b&&(!D||this.eat(12)),Y=m||N;if(N&&!D){if(m&&this.unexpected(),n)throw this.raise(S.UnsupportedDecoratorExport,c);return this.parseExportFrom(c,!0),this.finishNode(c,"ExportAllDeclaration")}const X=this.maybeParseExportNamedSpecifiers(c);m&&b&&!N&&!X&&this.unexpected(null,5),D&&q&&this.unexpected(null,98);let fe;if(Y||X){if(fe=!1,n)throw this.raise(S.UnsupportedDecoratorExport,c);this.parseExportFrom(c,Y)}else fe=this.maybeParseExportDeclaration(c);if(Y||X||fe){var be;const Ee=c;if(this.checkExport(Ee,!0,!1,!!Ee.source),((be=Ee.declaration)==null?void 0:be.type)==="ClassDeclaration")this.maybeTakeDecorators(n,Ee.declaration,Ee);else if(n)throw this.raise(S.UnsupportedDecoratorExport,c);return this.finishNode(Ee,"ExportNamedDeclaration")}if(this.eat(65)){const Ee=c,Ie=this.parseExportDefaultExpression();if(Ee.declaration=Ie,Ie.type==="ClassDeclaration")this.maybeTakeDecorators(n,Ie,Ee);else if(n)throw this.raise(S.UnsupportedDecoratorExport,c);return this.checkExport(Ee,!0,!0),this.finishNode(Ee,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(c){return this.eat(55)}maybeParseExportDefaultSpecifier(c,n){if(n||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",n==null?void 0:n.loc.start);const u=n||this.parseIdentifier(!0),m=this.startNodeAtNode(u);return m.exported=u,c.specifiers=[this.finishNode(m,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(c){if(this.isContextual(93)){var n,u;(u=(n=c).specifiers)!=null||(n.specifiers=[]);const m=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),m.exported=this.parseModuleExportName(),c.specifiers.push(this.finishNode(m,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(c){if(this.match(5)){const n=c;n.specifiers||(n.specifiers=[]);const u=n.exportKind==="type";return n.specifiers.push(...this.parseExportSpecifiers(u)),n.source=null,n.declaration=null,this.hasPlugin("importAssertions")&&(n.assertions=[]),!0}return!1}maybeParseExportDeclaration(c){return this.shouldParseExportDeclaration()?(c.specifiers=[],c.source=null,this.hasPlugin("importAssertions")&&(c.assertions=[]),c.declaration=this.parseExportDeclaration(c),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;const c=this.nextTokenInLineStart();return this.isUnparsedContextual(c,"function")}parseExportDefaultExpression(){const c=this.startNode();if(this.match(68))return this.next(),this.parseFunction(c,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(c,13);if(this.match(80))return this.parseClass(c,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(S.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(S.UnsupportedDefaultExport,this.state.startLoc);const n=this.parseMaybeAssignAllowIn();return this.semicolon(),n}parseExportDeclaration(c){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:c}=this.state;if(U(c)){if(c===95&&!this.state.containsEsc||c===100)return!1;if((c===130||c===129)&&!this.state.containsEsc){const{type:m}=this.lookahead();if(U(m)&&m!==98||m===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const n=this.nextTokenStart(),u=this.isUnparsedContextual(n,"from");if(this.input.charCodeAt(n)===44||U(this.state.type)&&u)return!0;if(this.match(65)&&u){const m=this.input.charCodeAt(this.nextTokenStartSince(n+4));return m===34||m===39}return!1}parseExportFrom(c,n){this.eatContextual(98)?(c.source=this.parseImportSource(),this.checkExport(c),this.maybeParseImportAttributes(c),this.checkJSONModuleImport(c)):n&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:c}=this.state;return c===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(S.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(S.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(S.UsingDeclarationExport,this.state.startLoc),!0):c===74||c===75||c===68||c===80||this.isLet()||this.isAsyncFunction()}checkExport(c,n,u,m){if(n){var b;if(u){if(this.checkDuplicateExports(c,"default"),this.hasPlugin("exportDefaultFrom")){var N;const D=c.declaration;D.type==="Identifier"&&D.name==="from"&&D.end-D.start===4&&!((N=D.extra)!=null&&N.parenthesized)&&this.raise(S.ExportDefaultFromAsIdentifier,D)}}else if((b=c.specifiers)!=null&&b.length)for(const D of c.specifiers){const{exported:q}=D,Y=q.type==="Identifier"?q.name:q.value;if(this.checkDuplicateExports(D,Y),!m&&D.local){const{local:X}=D;X.type!=="Identifier"?this.raise(S.ExportBindingIsString,D,{localName:X.value,exportName:Y}):(this.checkReservedWord(X.name,X.loc.start,!0,!1),this.scope.checkLocalExport(X))}}else if(c.declaration){const D=c.declaration;if(D.type==="FunctionDeclaration"||D.type==="ClassDeclaration"){const{id:q}=D;if(!q)throw new Error("Assertion failure");this.checkDuplicateExports(c,q.name)}else if(D.type==="VariableDeclaration")for(const q of D.declarations)this.checkDeclaration(q.id)}}}checkDeclaration(c){if(c.type==="Identifier")this.checkDuplicateExports(c,c.name);else if(c.type==="ObjectPattern")for(const n of c.properties)this.checkDeclaration(n);else if(c.type==="ArrayPattern")for(const n of c.elements)n&&this.checkDeclaration(n);else c.type==="ObjectProperty"?this.checkDeclaration(c.value):c.type==="RestElement"?this.checkDeclaration(c.argument):c.type==="AssignmentPattern"&&this.checkDeclaration(c.left)}checkDuplicateExports(c,n){this.exportedIdentifiers.has(n)&&(n==="default"?this.raise(S.DuplicateDefaultExport,c):this.raise(S.DuplicateExport,c,{exportName:n})),this.exportedIdentifiers.add(n)}parseExportSpecifiers(c){const n=[];let u=!0;for(this.expect(5);!this.eat(8);){if(u)u=!1;else if(this.expect(12),this.eat(8))break;const m=this.isContextual(130),b=this.match(133),N=this.startNode();N.local=this.parseModuleExportName(),n.push(this.parseExportSpecifier(N,b,c,m))}return n}parseExportSpecifier(c,n,u,m){return this.eatContextual(93)?c.exported=this.parseModuleExportName():n?c.exported=KE(c.local):c.exported||(c.exported=Ss(c.local)),this.finishNode(c,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const c=this.parseStringLiteral(this.state.value),n=ET.exec(c.value);return n&&this.raise(S.ModuleExportNameHasLoneSurrogate,c,{surrogateCharCode:n[0].charCodeAt(0)}),c}return this.parseIdentifier(!0)}isJSONModuleImport(c){return c.assertions!=null?c.assertions.some(({key:n,value:u})=>u.value==="json"&&(n.type==="Identifier"?n.name==="type":n.value==="type")):!1}checkImportReflection(c){const{specifiers:n}=c,u=n.length===1?n[0].type:null;if(c.phase==="source")u!=="ImportDefaultSpecifier"&&this.raise(S.SourcePhaseImportRequiresDefault,n[0].loc.start);else if(c.phase==="defer")u!=="ImportNamespaceSpecifier"&&this.raise(S.DeferImportRequiresNamespace,n[0].loc.start);else if(c.module){var m;u!=="ImportDefaultSpecifier"&&this.raise(S.ImportReflectionNotBinding,n[0].loc.start),((m=c.assertions)==null?void 0:m.length)>0&&this.raise(S.ImportReflectionHasAssertion,n[0].loc.start)}}checkJSONModuleImport(c){if(this.isJSONModuleImport(c)&&c.type!=="ExportAllDeclaration"){const{specifiers:n}=c;if(n!=null){const u=n.find(m=>{let b;if(m.type==="ExportSpecifier"?b=m.local:m.type==="ImportSpecifier"&&(b=m.imported),b!==void 0)return b.type==="Identifier"?b.name!=="default":b.value!=="default"});u!==void 0&&this.raise(S.ImportJSONBindingNotDefault,u.loc.start)}}}isPotentialImportPhase(c){return c?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(c,n,u,m){n||(u==="module"?(this.expectPlugin("importReflection",m),c.module=!0):this.hasPlugin("importReflection")&&(c.module=!1),u==="source"?(this.expectPlugin("sourcePhaseImports",m),c.phase="source"):u==="defer"?(this.expectPlugin("deferredImportEvaluation",m),c.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(c.phase=null))}parseMaybeImportPhase(c,n){if(!this.isPotentialImportPhase(n))return this.applyImportPhase(c,n,null),null;const u=this.parseIdentifier(!0),{type:m}=this.state;return(ae(m)?m!==98||this.lookaheadCharCode()===102:m!==12)?(this.resetPreviousIdentifierLeadingComments(u),this.applyImportPhase(c,n,u.name,u.loc.start),null):(this.applyImportPhase(c,n,null),u)}isPrecedingIdImportPhase(c){const{type:n}=this.state;return U(n)?n!==98||this.lookaheadCharCode()===102:n!==12}parseImport(c){return this.match(133)?this.parseImportSourceAndAttributes(c):this.parseImportSpecifiersAndAfter(c,this.parseMaybeImportPhase(c,!1))}parseImportSpecifiersAndAfter(c,n){c.specifiers=[];const m=!this.maybeParseDefaultImportSpecifier(c,n)||this.eat(12),b=m&&this.maybeParseStarImportSpecifier(c);return m&&!b&&this.parseNamedImportSpecifiers(c),this.expectContextual(98),this.parseImportSourceAndAttributes(c)}parseImportSourceAndAttributes(c){var n;return(n=c.specifiers)!=null||(c.specifiers=[]),c.source=this.parseImportSource(),this.maybeParseImportAttributes(c),this.checkImportReflection(c),this.checkJSONModuleImport(c),this.semicolon(),this.finishNode(c,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(c,n,u){n.local=this.parseIdentifier(),c.specifiers.push(this.finishImportSpecifier(n,u))}finishImportSpecifier(c,n,u=8201){return this.checkLVal(c.local,{type:n},u),this.finishNode(c,n)}parseImportAttributes(){this.expect(5);const c=[],n=new Set;do{if(this.match(8))break;const u=this.startNode(),m=this.state.value;if(n.has(m)&&this.raise(S.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:m}),n.add(m),this.match(133)?u.key=this.parseStringLiteral(m):u.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(S.ModuleAttributeInvalidValue,this.state.startLoc);u.value=this.parseStringLiteral(this.state.value),c.push(this.finishNode(u,"ImportAttribute"))}while(this.eat(12));return this.expect(8),c}parseModuleAttributes(){const c=[],n=new Set;do{const u=this.startNode();if(u.key=this.parseIdentifier(!0),u.key.name!=="type"&&this.raise(S.ModuleAttributeDifferentFromType,u.key),n.has(u.key.name)&&this.raise(S.ModuleAttributesWithDuplicateKeys,u.key,{key:u.key.name}),n.add(u.key.name),this.expect(14),!this.match(133))throw this.raise(S.ModuleAttributeInvalidValue,this.state.startLoc);u.value=this.parseStringLiteral(this.state.value),c.push(this.finishNode(u,"ImportAttribute"))}while(this.eat(12));return c}maybeParseImportAttributes(c){let n,u=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?n=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),n=this.parseImportAttributes()),u=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(S.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(c,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),n=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))n=[];else if(this.hasPlugin("moduleAttributes"))n=[];else return;!u&&this.hasPlugin("importAssertions")?c.assertions=n:c.attributes=n}maybeParseDefaultImportSpecifier(c,n){if(n){const u=this.startNodeAtNode(n);return u.local=n,c.specifiers.push(this.finishImportSpecifier(u,"ImportDefaultSpecifier")),!0}else if(ae(this.state.type))return this.parseImportSpecifierLocal(c,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(c){if(this.match(55)){const n=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(c,n,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(c){let n=!0;for(this.expect(5);!this.eat(8);){if(n)n=!1;else{if(this.eat(14))throw this.raise(S.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const u=this.startNode(),m=this.match(133),b=this.isContextual(130);u.imported=this.parseModuleExportName();const N=this.parseImportSpecifier(u,m,c.importKind==="type"||c.importKind==="typeof",b,void 0);c.specifiers.push(N)}}parseImportSpecifier(c,n,u,m,b){if(this.eatContextual(93))c.local=this.parseIdentifier();else{const{imported:N}=c;if(n)throw this.raise(S.ImportBindingIsString,c,{importName:N.value});this.checkReservedWord(N.name,c.loc.start,!0,!0),c.local||(c.local=Ss(N))}return this.finishImportSpecifier(c,"ImportSpecifier",b)}isThisParam(c){return c.type==="Identifier"&&c.name==="this"}}class _d extends xT{constructor(c,n,u){c=_T(c),super(c,n),this.options=c,this.initializeScopes(),this.plugins=u,this.filename=c.sourceFilename}getScopeHandler(){return Ir}parse(){this.enterInitialScopes();const c=this.startNode(),n=this.startNode();return this.nextToken(),c.errors=null,this.parseTopLevel(c,n),c.errors=this.state.errors,c.comments.length=this.state.commentsLen,c}}function kT(C,c){var n;if(((n=c)==null?void 0:n.sourceType)==="unambiguous"){c=Object.assign({},c);try{c.sourceType="module";const u=zi(c,C),m=u.parse();if(u.sawUnambiguousESM)return m;if(u.ambiguousScriptDifferentAst)try{return c.sourceType="script",zi(c,C).parse()}catch{}else m.program.sourceType="script";return m}catch(u){try{return c.sourceType="script",zi(c,C).parse()}catch{}throw u}}else return zi(c,C).parse()}function PT(C,c){const n=zi(c,C);return n.options.strictMode&&(n.state.strict=!0),n.getExpression()}function AT(C){const c={};for(const n of Object.keys(C))c[n]=Se(C[n]);return c}const IT=AT(Z);function zi(C,c){let n=_d;const u=new Map;if(C!=null&&C.plugins){for(const m of C.plugins){let b,N;typeof m=="string"?b=m:[b,N]=m,u.has(b)||u.set(b,N||{})}vT(u),n=CT(u)}return new n(C,c,u)}const wd=new Map;function CT(C){const c=[];for(const m of ST)C.has(m)&&c.push(m);const n=c.join("|");let u=wd.get(n);if(!u){u=_d;for(const m of c)u=Sd[m](u);wd.set(n,u)}return u}return ei.parse=kT,ei.parseExpression=PT,ei.tokTypes=IT,ei}var $r=rx();class sx{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:t=>this.replacement=t}}replace(t,r,s,i){t&&(s!==null?t[r][s]=i:t[r]=i)}remove(t,r,s){t&&(s!==null?t[r].splice(s,1):delete t[r])}}class nx extends sx{constructor(t,r){super(),this.enter=t,this.leave=r}visit(t,r,s,i){if(t){if(this.enter){const o=this.should_skip,a=this.should_remove,h=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,t,r,s,i),this.replacement&&(t=this.replacement,this.replace(r,s,i,t)),this.should_remove&&this.remove(r,s,i);const l=this.should_skip,f=this.should_remove;if(this.should_skip=o,this.should_remove=a,this.replacement=h,l)return t;if(f)return null}for(const o in t){const a=t[o];if(typeof a=="object")if(Array.isArray(a))for(let h=0;h<a.length;h+=1)a[h]!==null&&typeof a[h].type=="string"&&(this.visit(a[h],t,o,h)||h--);else a!==null&&typeof a.type=="string"&&this.visit(a,t,o,null)}if(this.leave){const o=this.replacement,a=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,t,r,s,i),this.replacement&&(t=this.replacement,this.replace(r,s,i,t)),this.should_remove&&this.remove(r,s,i);const h=this.should_remove;if(this.replacement=o,this.should_remove=a,h)return null}}return t}}function xc(e,{enter:t,leave:r}){return new nx(t,r).visit(e,null)}function Ai(e,t,r=!1,s=[],i=Object.create(null)){const o=e.type==="Program"?e.body[0].type==="ExpressionStatement"&&e.body[0].expression:e;xc(e,{enter(a,h){if(h&&s.push(h),h&&h.type.startsWith("TS")&&!kc.includes(h.type))return this.skip();if(a.type==="Identifier"){const l=!!i[a.name],f=ff(a,h,s);(r||f&&!l)&&t(a,h,s,f,l)}else if(a.type==="ObjectProperty"&&(h==null?void 0:h.type)==="ObjectPattern")a.inPattern=!0;else if(Xs(a))a.scopeIds?a.scopeIds.forEach(l=>ip(l,i)):df(a,l=>ga(a,l,i));else if(a.type==="BlockStatement")a.scopeIds?a.scopeIds.forEach(l=>ip(l,i)):TS(a,l=>ga(a,l,i));else if(a.type==="CatchClause"&&a.param)for(const l of wr(a.param))ga(a,l,i);else xS(a)&&kS(a,!1,l=>ga(a,l,i))},leave(a,h){if(h&&s.pop(),a!==o&&a.scopeIds)for(const l of a.scopeIds)i[l]--,i[l]===0&&delete i[l]}})}function ff(e,t,r){if(!t)return!0;if(e.name==="arguments")return!1;if(ix(e,t))return!0;switch(t.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return Ii(t,r)}return!1}function Ii(e,t){if(e&&(e.type==="ObjectProperty"||e.type==="ArrayPattern")){let r=t.length;for(;r--;){const s=t[r];if(s.type==="AssignmentExpression")return!0;if(s.type!=="ObjectProperty"&&!s.type.endsWith("Pattern"))break}}return!1}function ES(e){let t=e.length;for(;t--;){const r=e[t];if(r.type==="NewExpression")return!0;if(r.type!=="MemberExpression")break}return!1}function df(e,t){for(const r of e.params)for(const s of wr(r))t(s)}function TS(e,t){for(const r of e.body)if(r.type==="VariableDeclaration"){if(r.declare)continue;for(const s of r.declarations)for(const i of wr(s.id))t(i)}else if(r.type==="FunctionDeclaration"||r.type==="ClassDeclaration"){if(r.declare||!r.id)continue;t(r.id)}else xS(r)&&kS(r,!0,t)}function xS(e){return e.type==="ForOfStatement"||e.type==="ForInStatement"||e.type==="ForStatement"}function kS(e,t,r){const s=e.type==="ForStatement"?e.init:e.left;if(s&&s.type==="VariableDeclaration"&&(s.kind==="var"?t:!t))for(const i of s.declarations)for(const o of wr(i.id))r(o)}function wr(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let r=e;for(;r.type==="MemberExpression";)r=r.object;t.push(r);break;case"ObjectPattern":for(const s of e.properties)s.type==="RestElement"?wr(s.argument,t):wr(s.value,t);break;case"ArrayPattern":e.elements.forEach(s=>{s&&wr(s,t)});break;case"RestElement":wr(e.argument,t);break;case"AssignmentPattern":wr(e.left,t);break}return t}function ip(e,t){e in t?t[e]++:t[e]=1}function ga(e,t,r){const{name:s}=t;e.scopeIds&&e.scopeIds.has(s)||(ip(s,r),(e.scopeIds||(e.scopeIds=new Set)).add(s))}const Xs=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Ci=e=>e&&(e.type==="ObjectProperty"||e.type==="ObjectMethod")&&!e.computed,PS=(e,t)=>Ci(t)&&t.key===e;function ix(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e?!!t.computed:!1;case"ObjectProperty":return t.key===e?!!t.computed:!r;case"ClassProperty":return t.key===e?!!t.computed:!0;case"ClassPrivateProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":return t.key===e?!!t.computed:!0}return!0}const kc=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function kr(e){return kc.includes(e.type)?kr(e.expression):e}const Xt=e=>e.type===4&&e.isStatic;function mf(e){switch(e){case"Teleport":case"teleport":return In;case"Suspense":case"suspense":return xi;case"KeepAlive":case"keep-alive":return Ao;case"BaseTransition":case"base-transition":return rf}}const ox=/^\d|[^\$\w\xA0-\uFFFF]/,Is=e=>!ox.test(e),ax=/[A-Za-z_$\xA0-\uFFFF]/,lx=/[\.\?\w$\xA0-\uFFFF]/,cx=/\s+[.[]\s*|\s*[.[]\s+/g,Pc=e=>e.type===4?e.content:e.loc.source,ux=e=>{const t=Pc(e).trim().replace(cx,h=>h.trim());let r=0,s=[],i=0,o=0,a=null;for(let h=0;h<t.length;h++){const l=t.charAt(h);switch(r){case 0:if(l==="[")s.push(r),r=1,i++;else if(l==="(")s.push(r),r=2,o++;else if(!(h===0?ax:lx).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(s.push(r),r=3,a=l):l==="["?i++:l==="]"&&(--i||(r=s.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")s.push(r),r=3,a=l;else if(l==="(")o++;else if(l===")"){if(h===t.length-1)return!1;--o||(r=s.pop())}break;case 3:l===a&&(r=s.pop(),a=null);break}}return!i&&!o},AS=(e,t)=>{try{let r=e.ast||$r.parseExpression(Pc(e),{plugins:t.expressionPlugins?[...t.expressionPlugins,"typescript"]:["typescript"]});return r=kr(r),r.type==="MemberExpression"||r.type==="OptionalMemberExpression"||r.type==="Identifier"&&r.name!=="undefined"}catch{return!1}},gf=AS,hx=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,px=e=>hx.test(Pc(e)),IS=(e,t)=>{try{let r=e.ast||$r.parseExpression(Pc(e),{plugins:t.expressionPlugins?[...t.expressionPlugins,"typescript"]:["typescript"]});return r.type==="Program"&&(r=r.body[0],r.type==="ExpressionStatement"&&(r=r.expression)),r=kr(r),r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}catch{return!1}},CS=IS;function op(e,t,r=t.length){return yf({offset:e.offset,line:e.line,column:e.column},t,r)}function yf(e,t,r=t.length){let s=0,i=-1;for(let o=0;o<r;o++)t.charCodeAt(o)===10&&(s++,i=o);return e.offset+=r,e.line+=s,e.column=i===-1?e.column+r:r-i,e}function ap(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Ot(e,t,r=!1){for(let s=0;s<e.props.length;s++){const i=e.props[s];if(i.type===7&&(r||i.exp)&&(Ke(t)?i.name===t:t.test(i.name)))return i}}function fr(e,t,r=!1,s=!1){for(let i=0;i<e.props.length;i++){const o=e.props[i];if(o.type===6){if(r)continue;if(o.name===t&&(o.value||s))return o}else if(o.name==="bind"&&(o.exp||s)&&rs(o.arg,t))return o}}function rs(e,t){return!!(e&&Xt(e)&&e.content===t)}function Ac(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function po(e){return e.type===5||e.type===2}function vf(e){return e.type===7&&e.name==="slot"}function Si(e){return e.type===1&&e.tagType===3}function _i(e){return e.type===1&&e.tagType===2}const fx=new Set([gi,Pi]);function NS(e,t=[]){if(e&&!Ke(e)&&e.type===14){const r=e.callee;if(!Ke(r)&&fx.has(r))return NS(e.arguments[0],t.concat(e))}return[e,t]}function Oo(e,t,r){let s,i=e.type===13?e.props:e.arguments[2],o=[],a;if(i&&!Ke(i)&&i.type===14){const h=NS(i);i=h[0],o=h[1],a=o[o.length-1]}if(i==null||Ke(i))s=hr([t]);else if(i.type===14){const h=i.arguments[0];!Ke(h)&&h.type===15?Dd(t,h)||h.properties.unshift(t):i.callee===Sc?s=Re(r.helper(Rn),[hr([t]),i]):i.arguments.unshift(hr([t])),!s&&(s=i)}else i.type===15?(Dd(t,i)||i.properties.unshift(t),s=i):(s=Re(r.helper(Rn),[hr([t]),i]),a&&a.callee===Pi&&(a=o[o.length-2]));e.type===13?a?a.arguments[0]=s:e.props=s:a?a.arguments[0]=s:e.arguments[2]=s}function Dd(e,t){let r=!1;if(e.key.type===4){const s=e.key.content;r=t.properties.some(i=>i.key.type===4&&i.key.content===s)}return r}function Lo(e,t){return`_${t}_${e.replace(/[^\w]/g,(r,s)=>r==="-"?"_":e.charCodeAt(s).toString())}`}function lr(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let r=0;r<e.props.length;r++){const s=e.props[r];if(s.type===7&&(lr(s.arg,t)||lr(s.exp,t)))return!0}return e.children.some(r=>lr(r,t));case 11:return lr(e.source,t)?!0:e.children.some(r=>lr(r,t));case 9:return e.branches.some(r=>lr(r,t));case 10:return lr(e.condition,t)?!0:e.children.some(r=>lr(r,t));case 4:return!e.isStatic&&Is(e.content)&&!!t[e.content];case 8:return e.children.some(r=>an(r)&&lr(r,t));case 5:case 12:return lr(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function OS(e){return e.type===14&&e.callee===wc?e.arguments[1].returns:e}const LS=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,RS={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:co,isPreTag:co,isIgnoreNewlineTag:co,isCustomElement:co,onError:hf,onWarn:bS,comments:!0,prefixIdentifiers:!1};let dt=RS,Il=null,Ps="",Zt=null,ot=null,Cr="",bs=-1,vn=-1,Sf=0,Gs=!1,lp=null;const Ct=[],gt=new K0(Ct,{onerr:sr,ontext(e,t){ya(Qt(e,t),e,t)},ontextentity(e,t,r){ya(e,t,r)},oninterpolation(e,t){if(Gs)return ya(Qt(e,t),e,t);let r=e+gt.delimiterOpen.length,s=t-gt.delimiterClose.length;for(;_r(Ps.charCodeAt(r));)r++;for(;_r(Ps.charCodeAt(s-1));)s--;let i=Qt(r,s);i.includes("&")&&(i=J0(i)),cp({type:5,content:ul(i,!1,Nt(r,s)),loc:Nt(e,t)})},onopentagname(e,t){const r=Qt(e,t);Zt={type:1,tag:r,ns:dt.getNamespace(r,Ct[0],dt.ns),tagType:0,props:[],children:[],loc:Nt(e-1,t),codegenNode:void 0}},onopentagend(e){Bd(e)},onclosetag(e,t){const r=Qt(e,t);if(!dt.isVoidTag(r)){let s=!1;for(let i=0;i<Ct.length;i++)if(Ct[i].tag.toLowerCase()===r.toLowerCase()){s=!0,i>0&&sr(24,Ct[0].loc.start.offset);for(let a=0;a<=i;a++){const h=Ct.shift();cl(h,t,a<i)}break}s||sr(23,MS(e,60))}},onselfclosingtag(e){const t=Zt.tag;Zt.isSelfClosing=!0,Bd(e),Ct[0]&&Ct[0].tag===t&&cl(Ct.shift(),e)},onattribname(e,t){ot={type:6,name:Qt(e,t),nameLoc:Nt(e,t),value:void 0,loc:Nt(e)}},ondirname(e,t){const r=Qt(e,t),s=r==="."||r===":"?"bind":r==="@"?"on":r==="#"?"slot":r.slice(2);if(!Gs&&s===""&&sr(26,e),Gs||s==="")ot={type:6,name:r,nameLoc:Nt(e,t),value:void 0,loc:Nt(e)};else if(ot={type:7,name:s,rawName:r,exp:void 0,arg:void 0,modifiers:r==="."?[Te("prop")]:[],loc:Nt(e)},s==="pre"){Gs=gt.inVPre=!0,lp=Zt;const i=Zt.props;for(let o=0;o<i.length;o++)i[o].type===7&&(i[o]=xx(i[o]))}},ondirarg(e,t){if(e===t)return;const r=Qt(e,t);if(Gs)ot.name+=r,Tn(ot.nameLoc,t);else{const s=r[0]!=="[";ot.arg=ul(s?r:r.slice(1,-1),s,Nt(e,t),s?3:0)}},ondirmodifier(e,t){const r=Qt(e,t);if(Gs)ot.name+="."+r,Tn(ot.nameLoc,t);else if(ot.name==="slot"){const s=ot.arg;s&&(s.content+="."+r,Tn(s.loc,t))}else{const s=Te(r,!0,Nt(e,t));ot.modifiers.push(s)}},onattribdata(e,t){Cr+=Qt(e,t),bs<0&&(bs=e),vn=t},onattribentity(e,t,r){Cr+=e,bs<0&&(bs=t),vn=r},onattribnameend(e){const t=ot.loc.start.offset,r=Qt(t,e);ot.type===7&&(ot.rawName=r),Zt.props.some(s=>(s.type===7?s.rawName:s.name)===r)&&sr(2,t)},onattribend(e,t){if(Zt&&ot){if(Tn(ot.loc,t),e!==0)if(ot.type===6)ot.name==="class"&&(Cr=FS(Cr).trim()),e===1&&!Cr&&sr(13,t),ot.value={type:2,content:Cr,loc:e===1?Nt(bs,vn):Nt(bs-1,vn+1)},gt.inSFCRoot&&Zt.tag==="template"&&ot.name==="lang"&&Cr&&Cr!=="html"&>.enterRCDATA(Al("</template"),0);else{let r=0;ot.name==="for"?r=3:ot.name==="slot"?r=1:ot.name==="on"&&Cr.includes(";")&&(r=2),ot.exp=ul(Cr,!1,Nt(bs,vn),0,r),ot.name==="for"&&(ot.forParseResult=mx(ot.exp))}(ot.type!==7||ot.name!=="pre")&&Zt.props.push(ot)}Cr="",bs=vn=-1},oncomment(e,t){dt.comments&&cp({type:3,content:Qt(e,t),loc:Nt(e-4,t+3)})},onend(){const e=Ps.length;if(gt.state!==1)switch(gt.state){case 5:case 8:sr(5,e);break;case 3:case 4:sr(25,gt.sectionStart);break;case 28:gt.currentSequence===Wt.CdataEnd?sr(6,e):sr(7,e);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:sr(9,e);break}for(let t=0;t<Ct.length;t++)cl(Ct[t],e-1),sr(24,Ct[t].loc.start.offset)},oncdata(e,t){Ct[0].ns!==0?ya(Qt(e,t),e,t):sr(1,e-9)},onprocessinginstruction(e){(Ct[0]?Ct[0].ns:dt.ns)===0&&sr(21,e-1)}}),Fd=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,dx=/^\(|\)$/g;function mx(e){const t=e.loc,r=e.content,s=r.match(LS);if(!s)return;const[,i,o]=s,a=(g,y,v=!1)=>{const w=t.start.offset+y,_=w+g.length;return ul(g,!1,Nt(w,_),0,v?1:0)},h={source:a(o.trim(),r.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=i.trim().replace(dx,"").trim();const f=i.indexOf(l),d=l.match(Fd);if(d){l=l.replace(Fd,"").trim();const g=d[1].trim();let y;if(g&&(y=r.indexOf(g,f+l.length),h.key=a(g,y,!0)),d[2]){const v=d[2].trim();v&&(h.index=a(v,r.indexOf(v,h.key?y+g.length:f+l.length),!0))}}return l&&(h.value=a(l,f,!0)),h}function Qt(e,t){return Ps.slice(e,t)}function Bd(e){gt.inSFCRoot&&(Zt.innerLoc=Nt(e+1,e+1)),cp(Zt);const{tag:t,ns:r}=Zt;r===0&&dt.isPreTag(t)&&Sf++,dt.isVoidTag(t)?cl(Zt,e):(Ct.unshift(Zt),(r===1||r===2)&&(gt.inXML=!0)),Zt=null}function ya(e,t,r){const s=Ct[0]||Il,i=s.children[s.children.length-1];i&&i.type===2?(i.content+=e,Tn(i.loc,r)):s.children.push({type:2,content:e,loc:Nt(t,r)})}function cl(e,t,r=!1){r?Tn(e.loc,MS(t,60)):Tn(e.loc,gx(t,62)+1),gt.inSFCRoot&&(e.children.length?e.innerLoc.end=ls({},e.children[e.children.length-1].loc.end):e.innerLoc.end=ls({},e.innerLoc.start),e.innerLoc.source=Qt(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:i,children:o}=e;if(Gs||(s==="slot"?e.tagType=2:vx(e)?e.tagType=3:Sx(e)&&(e.tagType=1)),gt.inRCDATA||(e.children=DS(o)),i===0&&dt.isIgnoreNewlineTag(s)){const a=o[0];a&&a.type===2&&(a.content=a.content.replace(/^\r?\n/,""))}i===0&&dt.isPreTag(s)&&Sf--,lp===e&&(Gs=gt.inVPre=!1,lp=null),gt.inXML&&(Ct[0]?Ct[0].ns:dt.ns)===0&&(gt.inXML=!1)}function gx(e,t){let r=e;for(;Ps.charCodeAt(r)!==t&&r<Ps.length-1;)r++;return r}function MS(e,t){let r=e;for(;Ps.charCodeAt(r)!==t&&r>=0;)r--;return r}const yx=new Set(["if","else","else-if","for","slot"]);function vx({tag:e,props:t}){if(e==="template"){for(let r=0;r<t.length;r++)if(t[r].type===7&&yx.has(t[r].name))return!0}return!1}function Sx({tag:e,props:t}){if(dt.isCustomElement(e))return!1;if(e==="component"||_x(e.charCodeAt(0))||mf(e)||dt.isBuiltInComponent&&dt.isBuiltInComponent(e)||dt.isNativeTag&&!dt.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const s=t[r];if(s.type===6&&s.name==="is"&&s.value&&s.value.content.startsWith("vue:"))return!0}return!1}function _x(e){return e>64&&e<91}const wx=/\r\n/g;function DS(e,t){const r=dt.whitespace!=="preserve";let s=!1;for(let i=0;i<e.length;i++){const o=e[i];if(o.type===2)if(Sf)o.content=o.content.replace(wx,`
|
|
`);else if(bx(o.content)){const a=e[i-1]&&e[i-1].type,h=e[i+1]&&e[i+1].type;!a||!h||r&&(a===3&&(h===3||h===1)||a===1&&(h===3||h===1&&Ex(o.content)))?(s=!0,e[i]=null):o.content=" "}else r&&(o.content=FS(o.content))}return s?e.filter(Boolean):e}function bx(e){for(let t=0;t<e.length;t++)if(!_r(e.charCodeAt(t)))return!1;return!0}function Ex(e){for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(r===10||r===13)return!0}return!1}function FS(e){let t="",r=!1;for(let s=0;s<e.length;s++)_r(e.charCodeAt(s))?r||(t+=" ",r=!0):(t+=e[s],r=!1);return t}function cp(e){(Ct[0]||Il).children.push(e)}function Nt(e,t){return{start:gt.getPos(e),end:t==null?t:gt.getPos(t),source:t==null?t:Qt(e,t)}}function Tx(e){return Nt(e.start.offset,e.end.offset)}function Tn(e,t){e.end=gt.getPos(t),e.source=Qt(e.start.offset,t)}function xx(e){const t={type:6,name:e.rawName,nameLoc:Nt(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const r=e.exp.loc;r.end.offset<e.loc.end.offset&&(r.start.offset--,r.start.column--,r.end.offset++,r.end.column++),t.value={type:2,content:e.exp.content,loc:r}}return t}function ul(e,t=!1,r,s=0,i=0){const o=Te(e,t,r,s);if(!t&&dt.prefixIdentifiers&&i!==3&&e.trim()){if(Is(e))return o.ast=null,o;try{const a=dt.expressionPlugins,h={plugins:a?[...a,"typescript"]:["typescript"]};i===2?o.ast=$r.parse(` ${e} `,h).program:i===1?o.ast=$r.parseExpression(`(${e})=>{}`,h):o.ast=$r.parseExpression(`(${e})`,h)}catch(a){o.ast=!1,sr(45,r.start.offset,a.message)}}return o}function sr(e,t,r){dt.onError(it(e,Nt(t,t),void 0,r))}function kx(){gt.reset(),Zt=null,ot=null,Cr="",bs=-1,vn=-1,Ct.length=0}function Ic(e,t){if(kx(),Ps=e,dt=ls({},RS),t){let i;for(i in t)t[i]!=null&&(dt[i]=t[i])}dt.decodeEntities&&console.warn("[@vue/compiler-core] decodeEntities option is passed but will be ignored in non-browser builds."),gt.mode=dt.parseMode==="html"?1:dt.parseMode==="sfc"?2:0,gt.inXML=dt.ns===1||dt.ns===2;const r=t&&t.delimiters;r&&(gt.delimiterOpen=Al(r[0]),gt.delimiterClose=Al(r[1]));const s=Il=Un([],e);return gt.parse(Ps),s.loc=Nt(0,e.length),s.children=DS(s.children),Il=null,s}function Px(e,t){hl(e,void 0,t,BS(e,e.children[0]))}function BS(e,t){const{children:r}=e;return r.length===1&&t.type===1&&!_i(t)}function hl(e,t,r,s=!1,i=!1){const{children:o}=e,a=[];for(let d=0;d<o.length;d++){const g=o[d];if(g.type===1&&g.tagType===0){const y=s?0:pr(g,r);if(y>0){if(y>=2){g.codegenNode.patchFlag=-1,a.push(g);continue}}else{const v=g.codegenNode;if(v.type===13){const w=v.patchFlag;if((w===void 0||w===512||w===1)&&jS(g,r)>=2){const _=US(g);_&&(v.props=r.hoist(_))}v.dynamicProps&&(v.dynamicProps=r.hoist(v.dynamicProps))}}}else if(g.type===12&&(s?0:pr(g,r))>=2){a.push(g);continue}if(g.type===1){const y=g.tagType===1;y&&r.scopes.vSlot++,hl(g,e,r,!1,i),y&&r.scopes.vSlot--}else if(g.type===11)hl(g,e,r,g.children.length===1,!0);else if(g.type===9)for(let y=0;y<g.branches.length;y++)hl(g.branches[y],e,r,g.branches[y].children.length===1,i)}let h=!1;if(a.length===o.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&jt(e.codegenNode.children))e.codegenNode.children=l(ks(e.codegenNode.children)),h=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!jt(e.codegenNode.children)&&e.codegenNode.children.type===15){const d=f(e.codegenNode,"default");d&&(d.returns=l(ks(d.returns)),h=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!jt(t.codegenNode.children)&&t.codegenNode.children.type===15){const d=Ot(e,"slot",!0),g=d&&d.arg&&f(t.codegenNode,d.arg);g&&(g.returns=l(ks(g.returns)),h=!0)}}if(!h)for(const d of a)d.codegenNode=r.cache(d.codegenNode);function l(d){const g=r.cache(d);return i&&r.hmr&&(g.needArraySpread=!0),g}function f(d,g){if(d.children&&!jt(d.children)&&d.children.type===15){const y=d.children.properties.find(v=>v.key===g||v.key.content===g);return y&&y.value}}a.length&&r.transformHoist&&r.transformHoist(o,r,e)}function pr(e,t){const{constantCache:r}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const s=r.get(e);if(s!==void 0)return s;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let a=3;const h=jS(e,t);if(h===0)return r.set(e,0),0;h<a&&(a=h);for(let l=0;l<e.children.length;l++){const f=pr(e.children[l],t);if(f===0)return r.set(e,0),0;f<a&&(a=f)}if(a>1)for(let l=0;l<e.props.length;l++){const f=e.props[l];if(f.type===7&&f.name==="bind"&&f.exp){const d=pr(f.exp,t);if(d===0)return r.set(e,0),0;d<a&&(a=d)}}if(i.isBlock){for(let l=0;l<e.props.length;l++)if(e.props[l].type===7)return r.set(e,0),0;t.removeHelper(rn),t.removeHelper(Dn(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(Mn(t.inSSR,i.isComponent))}return r.set(e,a),a}else return r.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return pr(e.content,t);case 4:return e.constType;case 8:let o=3;for(let a=0;a<e.children.length;a++){const h=e.children[a];if(Ke(h)||on(h))continue;const l=pr(h,t);if(l===0)return 0;l<o&&(o=l)}return o;case 20:return 2;default:return 0}}const Ax=new Set([yc,vc,gi,Pi]);function $S(e,t){if(e.type===14&&!Ke(e.callee)&&Ax.has(e.callee)){const r=e.arguments[0];if(r.type===4)return pr(r,t);if(r.type===14)return $S(r,t)}return 0}function jS(e,t){let r=3;const s=US(e);if(s&&s.type===15){const{properties:i}=s;for(let o=0;o<i.length;o++){const{key:a,value:h}=i[o],l=pr(a,t);if(l===0)return l;l<r&&(r=l);let f;if(h.type===4?f=pr(h,t):h.type===14?f=$S(h,t):f=0,f===0)return f;f<r&&(r=f)}}return r}function US(e){const t=e.codegenNode;if(t.type===13)return t.props}function Ko(e,{filename:t="",prefixIdentifiers:r=!1,hoistStatic:s=!1,hmr:i=!1,cacheHandlers:o=!1,nodeTransforms:a=[],directiveTransforms:h={},transformHoist:l=null,isBuiltInComponent:f=Eu,isCustomElement:d=Eu,expressionPlugins:g=[],scopeId:y=null,slotted:v=!0,ssr:w=!1,inSSR:_=!1,ssrCssVars:S="",bindingMetadata:k=s0,inline:E=!1,isTS:P=!1,onError:O=hf,onWarn:A=bS,compatConfig:M}){const F=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),x={filename:t,selfName:F&&tn(ur(F[1])),prefixIdentifiers:r,hoistStatic:s,hmr:i,cacheHandlers:o,nodeTransforms:a,directiveTransforms:h,transformHoist:l,isBuiltInComponent:f,isCustomElement:d,expressionPlugins:g,scopeId:y,slotted:v,ssr:w,inSSR:_,ssrCssVars:S,bindingMetadata:k,inline:E,isTS:P,onError:O,onWarn:A,compatConfig:M,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(L){const z=x.helpers.get(L)||0;return x.helpers.set(L,z+1),L},removeHelper(L){const z=x.helpers.get(L);if(z){const J=z-1;J?x.helpers.set(L,J):x.helpers.delete(L)}},helperString(L){return`_${cr[x.helper(L)]}`},replaceNode(L){{if(!x.currentNode)throw new Error("Node being replaced is already removed.");if(!x.parent)throw new Error("Cannot replace root node.")}x.parent.children[x.childIndex]=x.currentNode=L},removeNode(L){if(!x.parent)throw new Error("Cannot remove root node.");const z=x.parent.children,J=L?z.indexOf(L):x.currentNode?x.childIndex:-1;if(J<0)throw new Error("node being removed is not a child of current parent");!L||L===x.currentNode?(x.currentNode=null,x.onNodeRemoved()):x.childIndex>J&&(x.childIndex--,x.onNodeRemoved()),x.parent.children.splice(J,1)},onNodeRemoved:Eu,addIdentifiers(L){Ke(L)?I(L):L.identifiers?L.identifiers.forEach(I):L.type===4&&I(L.content)},removeIdentifiers(L){Ke(L)?R(L):L.identifiers?L.identifiers.forEach(R):L.type===4&&R(L.content)},hoist(L){Ke(L)&&(L=Te(L)),x.hoists.push(L);const z=Te(`_hoisted_${x.hoists.length}`,!1,L.loc,2);return z.hoisted=L,z},cache(L,z=!1,J=!1){const re=mS(x.cached.length,L,z,J);return x.cached.push(re),re}};function I(L){const{identifiers:z}=x;z[L]===void 0&&(z[L]=0),z[L]++}function R(L){x.identifiers[L]--}return x}function _f(e,t){const r=Ko(e,t);Ni(e,r),t.hoistStatic&&Px(e,r),t.ssr||Ix(e,r),e.helpers=new Set([...r.helpers.keys()]),e.components=[...r.components],e.directives=[...r.directives],e.imports=r.imports,e.hoists=r.hoists,e.temps=r.temps,e.cached=r.cached,e.transformed=!0}function Ix(e,t){const{helper:r}=t,{children:s}=e;if(s.length===1){const i=s[0];if(BS(e,i)&&i.codegenNode){const o=i.codegenNode;o.type===13&&bc(o,t),e.codegenNode=o}else e.codegenNode=i}else if(s.length>1){let i=64;s.filter(o=>o.type!==3).length===1&&(i|=2048),e.codegenNode=vi(t,r(mi),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function Cx(e,t){let r=0;const s=()=>{r--};for(;r<e.children.length;r++){const i=e.children[r];Ke(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=r,t.onNodeRemoved=s,Ni(i,t))}}function Ni(e,t){t.currentNode=e;const{nodeTransforms:r}=t,s=[];for(let o=0;o<r.length;o++){const a=r[o](e,t);if(a&&(jt(a)?s.push(...a):s.push(a)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(ki);break;case 5:t.ssr||t.helper(Xo);break;case 9:for(let o=0;o<e.branches.length;o++)Ni(e.branches[o],t);break;case 10:case 11:case 1:case 0:Cx(e,t);break}t.currentNode=e;let i=s.length;for(;i--;)s[i]()}function Yo(e,t){const r=Ke(e)?s=>s===e:s=>e.test(s);return(s,i)=>{if(s.type===1){const{props:o}=s;if(s.tagType===3&&o.some(vf))return;const a=[];for(let h=0;h<o.length;h++){const l=o[h];if(l.type===7&&r(l.name)){o.splice(h,1),h--;const f=t(s,l,i);f&&a.push(f)}}return a}}}var Ki={},Pu={},va={},Sa={},$d;function Nx(){if($d)return Sa;$d=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Sa.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},Sa.decode=function(t){var r=65,s=90,i=97,o=122,a=48,h=57,l=43,f=47,d=26,g=52;return r<=t&&t<=s?t-r:i<=t&&t<=o?t-i+d:a<=t&&t<=h?t-a+g:t==l?62:t==f?63:-1},Sa}var jd;function qS(){if(jd)return va;jd=1;var e=Nx(),t=5,r=1<<t,s=r-1,i=r;function o(h){return h<0?(-h<<1)+1:(h<<1)+0}function a(h){var l=(h&1)===1,f=h>>1;return l?-f:f}return va.encode=function(l){var f="",d,g=o(l);do d=g&s,g>>>=t,g>0&&(d|=i),f+=e.encode(d);while(g>0);return f},va.decode=function(l,f,d){var g=l.length,y=0,v=0,w,_;do{if(f>=g)throw new Error("Expected more digits in base 64 VLQ value.");if(_=e.decode(l.charCodeAt(f++)),_===-1)throw new Error("Invalid base64 digit: "+l.charAt(f-1));w=!!(_&i),_&=s,y=y+(_<<v),v+=t}while(w);d.value=a(y),d.rest=f},va}var Au={},Ud;function Qo(){return Ud||(Ud=1,function(e){function t(x,I,R){if(I in x)return x[I];if(arguments.length===3)return R;throw new Error('"'+I+'" is a required argument.')}e.getArg=t;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function i(x){var I=x.match(r);return I?{scheme:I[1],auth:I[2],host:I[3],port:I[4],path:I[5]}:null}e.urlParse=i;function o(x){var I="";return x.scheme&&(I+=x.scheme+":"),I+="//",x.auth&&(I+=x.auth+"@"),x.host&&(I+=x.host),x.port&&(I+=":"+x.port),x.path&&(I+=x.path),I}e.urlGenerate=o;var a=32;function h(x){var I=[];return function(R){for(var L=0;L<I.length;L++)if(I[L].input===R){var z=I[0];return I[0]=I[L],I[L]=z,I[0].result}var J=x(R);return I.unshift({input:R,result:J}),I.length>a&&I.pop(),J}}var l=h(function(I){var R=I,L=i(I);if(L){if(!L.path)return I;R=L.path}for(var z=e.isAbsolute(R),J=[],re=0,V=0;;)if(re=V,V=R.indexOf("/",re),V===-1){J.push(R.slice(re));break}else for(J.push(R.slice(re,V));V<R.length&&R[V]==="/";)V++;for(var ee,G=0,V=J.length-1;V>=0;V--)ee=J[V],ee==="."?J.splice(V,1):ee===".."?G++:G>0&&(ee===""?(J.splice(V+1,G),G=0):(J.splice(V,2),G--));return R=J.join("/"),R===""&&(R=z?"/":"."),L?(L.path=R,o(L)):R});e.normalize=l;function f(x,I){x===""&&(x="."),I===""&&(I=".");var R=i(I),L=i(x);if(L&&(x=L.path||"/"),R&&!R.scheme)return L&&(R.scheme=L.scheme),o(R);if(R||I.match(s))return I;if(L&&!L.host&&!L.path)return L.host=I,o(L);var z=I.charAt(0)==="/"?I:l(x.replace(/\/+$/,"")+"/"+I);return L?(L.path=z,o(L)):z}e.join=f,e.isAbsolute=function(x){return x.charAt(0)==="/"||r.test(x)};function d(x,I){x===""&&(x="."),x=x.replace(/\/$/,"");for(var R=0;I.indexOf(x+"/")!==0;){var L=x.lastIndexOf("/");if(L<0||(x=x.slice(0,L),x.match(/^([^\/]+:\/)?\/*$/)))return I;++R}return Array(R+1).join("../")+I.substr(x.length+1)}e.relative=d;var g=function(){var x=Object.create(null);return!("__proto__"in x)}();function y(x){return x}function v(x){return _(x)?"$"+x:x}e.toSetString=g?y:v;function w(x){return _(x)?x.slice(1):x}e.fromSetString=g?y:w;function _(x){if(!x)return!1;var I=x.length;if(I<9||x.charCodeAt(I-1)!==95||x.charCodeAt(I-2)!==95||x.charCodeAt(I-3)!==111||x.charCodeAt(I-4)!==116||x.charCodeAt(I-5)!==111||x.charCodeAt(I-6)!==114||x.charCodeAt(I-7)!==112||x.charCodeAt(I-8)!==95||x.charCodeAt(I-9)!==95)return!1;for(var R=I-10;R>=0;R--)if(x.charCodeAt(R)!==36)return!1;return!0}function S(x,I,R){var L=O(x.source,I.source);return L!==0||(L=x.originalLine-I.originalLine,L!==0)||(L=x.originalColumn-I.originalColumn,L!==0||R)||(L=x.generatedColumn-I.generatedColumn,L!==0)||(L=x.generatedLine-I.generatedLine,L!==0)?L:O(x.name,I.name)}e.compareByOriginalPositions=S;function k(x,I,R){var L;return L=x.originalLine-I.originalLine,L!==0||(L=x.originalColumn-I.originalColumn,L!==0||R)||(L=x.generatedColumn-I.generatedColumn,L!==0)||(L=x.generatedLine-I.generatedLine,L!==0)?L:O(x.name,I.name)}e.compareByOriginalPositionsNoSource=k;function E(x,I,R){var L=x.generatedLine-I.generatedLine;return L!==0||(L=x.generatedColumn-I.generatedColumn,L!==0||R)||(L=O(x.source,I.source),L!==0)||(L=x.originalLine-I.originalLine,L!==0)||(L=x.originalColumn-I.originalColumn,L!==0)?L:O(x.name,I.name)}e.compareByGeneratedPositionsDeflated=E;function P(x,I,R){var L=x.generatedColumn-I.generatedColumn;return L!==0||R||(L=O(x.source,I.source),L!==0)||(L=x.originalLine-I.originalLine,L!==0)||(L=x.originalColumn-I.originalColumn,L!==0)?L:O(x.name,I.name)}e.compareByGeneratedPositionsDeflatedNoLine=P;function O(x,I){return x===I?0:x===null?1:I===null?-1:x>I?1:-1}function A(x,I){var R=x.generatedLine-I.generatedLine;return R!==0||(R=x.generatedColumn-I.generatedColumn,R!==0)||(R=O(x.source,I.source),R!==0)||(R=x.originalLine-I.originalLine,R!==0)||(R=x.originalColumn-I.originalColumn,R!==0)?R:O(x.name,I.name)}e.compareByGeneratedPositionsInflated=A;function M(x){return JSON.parse(x.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=M;function F(x,I,R){if(I=I||"",x&&(x[x.length-1]!=="/"&&I[0]!=="/"&&(x+="/"),I=x+I),R){var L=i(R);if(!L)throw new Error("sourceMapURL could not be parsed");if(L.path){var z=L.path.lastIndexOf("/");z>=0&&(L.path=L.path.substring(0,z+1))}I=f(o(L),I)}return l(I)}e.computeSourceURL=F}(Au)),Au}var Iu={},qd;function VS(){if(qd)return Iu;qd=1;var e=Qo(),t=Object.prototype.hasOwnProperty,r=typeof Map<"u";function s(){this._array=[],this._set=r?new Map:Object.create(null)}return s.fromArray=function(o,a){for(var h=new s,l=0,f=o.length;l<f;l++)h.add(o[l],a);return h},s.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},s.prototype.add=function(o,a){var h=r?o:e.toSetString(o),l=r?this.has(o):t.call(this._set,h),f=this._array.length;(!l||a)&&this._array.push(o),l||(r?this._set.set(o,f):this._set[h]=f)},s.prototype.has=function(o){if(r)return this._set.has(o);var a=e.toSetString(o);return t.call(this._set,a)},s.prototype.indexOf=function(o){if(r){var a=this._set.get(o);if(a>=0)return a}else{var h=e.toSetString(o);if(t.call(this._set,h))return this._set[h]}throw new Error('"'+o+'" is not in the set.')},s.prototype.at=function(o){if(o>=0&&o<this._array.length)return this._array[o];throw new Error("No element indexed by "+o)},s.prototype.toArray=function(){return this._array.slice()},Iu.ArraySet=s,Iu}var Cu={},Vd;function Ox(){if(Vd)return Cu;Vd=1;var e=Qo();function t(s,i){var o=s.generatedLine,a=i.generatedLine,h=s.generatedColumn,l=i.generatedColumn;return a>o||a==o&&l>=h||e.compareByGeneratedPositionsInflated(s,i)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(i,o){this._array.forEach(i,o)},r.prototype.add=function(i){t(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Cu.MappingList=r,Cu}var Wd;function WS(){if(Wd)return Pu;Wd=1;var e=qS(),t=Qo(),r=VS().ArraySet,s=Ox().MappingList;function i(o){o||(o={}),this._file=t.getArg(o,"file",null),this._sourceRoot=t.getArg(o,"sourceRoot",null),this._skipValidation=t.getArg(o,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(o,"ignoreInvalidMapping",!1),this._sources=new r,this._names=new r,this._mappings=new s,this._sourcesContents=null}return i.prototype._version=3,i.fromSourceMap=function(a,h){var l=a.sourceRoot,f=new i(Object.assign(h||{},{file:a.file,sourceRoot:l}));return a.eachMapping(function(d){var g={generated:{line:d.generatedLine,column:d.generatedColumn}};d.source!=null&&(g.source=d.source,l!=null&&(g.source=t.relative(l,g.source)),g.original={line:d.originalLine,column:d.originalColumn},d.name!=null&&(g.name=d.name)),f.addMapping(g)}),a.sources.forEach(function(d){var g=d;l!==null&&(g=t.relative(l,d)),f._sources.has(g)||f._sources.add(g);var y=a.sourceContentFor(d);y!=null&&f.setSourceContent(d,y)}),f},i.prototype.addMapping=function(a){var h=t.getArg(a,"generated"),l=t.getArg(a,"original",null),f=t.getArg(a,"source",null),d=t.getArg(a,"name",null);!this._skipValidation&&this._validateMapping(h,l,f,d)===!1||(f!=null&&(f=String(f),this._sources.has(f)||this._sources.add(f)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:l!=null&&l.line,originalColumn:l!=null&&l.column,source:f,name:d}))},i.prototype.setSourceContent=function(a,h){var l=a;this._sourceRoot!=null&&(l=t.relative(this._sourceRoot,l)),h!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(l)]=h):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(l)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},i.prototype.applySourceMap=function(a,h,l){var f=h;if(h==null){if(a.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);f=a.file}var d=this._sourceRoot;d!=null&&(f=t.relative(d,f));var g=new r,y=new r;this._mappings.unsortedForEach(function(v){if(v.source===f&&v.originalLine!=null){var w=a.originalPositionFor({line:v.originalLine,column:v.originalColumn});w.source!=null&&(v.source=w.source,l!=null&&(v.source=t.join(l,v.source)),d!=null&&(v.source=t.relative(d,v.source)),v.originalLine=w.line,v.originalColumn=w.column,w.name!=null&&(v.name=w.name))}var _=v.source;_!=null&&!g.has(_)&&g.add(_);var S=v.name;S!=null&&!y.has(S)&&y.add(S)},this),this._sources=g,this._names=y,a.sources.forEach(function(v){var w=a.sourceContentFor(v);w!=null&&(l!=null&&(v=t.join(l,v)),d!=null&&(v=t.relative(d,v)),this.setSourceContent(v,w))},this)},i.prototype._validateMapping=function(a,h,l,f){if(h&&typeof h.line!="number"&&typeof h.column!="number"){var d="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(d),!1;throw new Error(d)}if(!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0&&!h&&!l&&!f)){if(a&&"line"in a&&"column"in a&&h&&"line"in h&&"column"in h&&a.line>0&&a.column>=0&&h.line>0&&h.column>=0&&l)return;var d="Invalid mapping: "+JSON.stringify({generated:a,source:l,original:h,name:f});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(d),!1;throw new Error(d)}},i.prototype._serializeMappings=function(){for(var a=0,h=1,l=0,f=0,d=0,g=0,y="",v,w,_,S,k=this._mappings.toArray(),E=0,P=k.length;E<P;E++){if(w=k[E],v="",w.generatedLine!==h)for(a=0;w.generatedLine!==h;)v+=";",h++;else if(E>0){if(!t.compareByGeneratedPositionsInflated(w,k[E-1]))continue;v+=","}v+=e.encode(w.generatedColumn-a),a=w.generatedColumn,w.source!=null&&(S=this._sources.indexOf(w.source),v+=e.encode(S-g),g=S,v+=e.encode(w.originalLine-1-f),f=w.originalLine-1,v+=e.encode(w.originalColumn-l),l=w.originalColumn,w.name!=null&&(_=this._names.indexOf(w.name),v+=e.encode(_-d),d=_)),y+=v}return y},i.prototype._generateSourcesContent=function(a,h){return a.map(function(l){if(!this._sourcesContents)return null;h!=null&&(l=t.relative(h,l));var f=t.toSetString(l);return Object.prototype.hasOwnProperty.call(this._sourcesContents,f)?this._sourcesContents[f]:null},this)},i.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},Pu.SourceMapGenerator=i,Pu}var Yi={},Nu={},Gd;function Lx(){return Gd||(Gd=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,s,i,o,a,h){var l=Math.floor((s-r)/2)+r,f=a(i,o[l],!0);return f===0?l:f>0?s-l>1?t(l,s,i,o,a,h):h==e.LEAST_UPPER_BOUND?s<o.length?s:-1:l:l-r>1?t(r,l,i,o,a,h):h==e.LEAST_UPPER_BOUND?l:r<0?-1:r}e.search=function(s,i,o,a){if(i.length===0)return-1;var h=t(-1,i.length,s,i,o,a||e.GREATEST_LOWER_BOUND);if(h<0)return-1;for(;h-1>=0&&o(i[h],i[h-1],!0)===0;)--h;return h}}(Nu)),Nu}var Ou={},zd;function Rx(){if(zd)return Ou;zd=1;function e(s){function i(h,l,f){var d=h[l];h[l]=h[f],h[f]=d}function o(h,l){return Math.round(h+Math.random()*(l-h))}function a(h,l,f,d){if(f<d){var g=o(f,d),y=f-1;i(h,g,d);for(var v=h[d],w=f;w<d;w++)l(h[w],v,!1)<=0&&(y+=1,i(h,y,w));i(h,y+1,w);var _=y+1;a(h,l,f,_-1),a(h,l,_+1,d)}}return a}function t(s){let i=e.toString();return new Function(`return ${i}`)()(s)}let r=new WeakMap;return Ou.quickSort=function(s,i,o=0){let a=r.get(i);a===void 0&&(a=t(i),r.set(i,a)),a(s,i,o,s.length-1)},Ou}var Hd;function Mx(){if(Hd)return Yi;Hd=1;var e=Qo(),t=Lx(),r=VS().ArraySet,s=qS(),i=Rx().quickSort;function o(g,y){var v=g;return typeof g=="string"&&(v=e.parseSourceMapInput(g)),v.sections!=null?new d(v,y):new a(v,y)}o.fromSourceMap=function(g,y){return a.fromSourceMap(g,y)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(y,v){var w=y.charAt(v);return w===";"||w===","},o.prototype._parseMappings=function(y,v){throw new Error("Subclasses must implement _parseMappings")},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(y,v,w){var _=v||null,S=w||o.GENERATED_ORDER,k;switch(S){case o.GENERATED_ORDER:k=this._generatedMappings;break;case o.ORIGINAL_ORDER:k=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var E=this.sourceRoot,P=y.bind(_),O=this._names,A=this._sources,M=this._sourceMapURL,F=0,x=k.length;F<x;F++){var I=k[F],R=I.source===null?null:A.at(I.source);R=e.computeSourceURL(E,R,M),P({source:R,generatedLine:I.generatedLine,generatedColumn:I.generatedColumn,originalLine:I.originalLine,originalColumn:I.originalColumn,name:I.name===null?null:O.at(I.name)})}},o.prototype.allGeneratedPositionsFor=function(y){var v=e.getArg(y,"line"),w={source:e.getArg(y,"source"),originalLine:v,originalColumn:e.getArg(y,"column",0)};if(w.source=this._findSourceIndex(w.source),w.source<0)return[];var _=[],S=this._findMapping(w,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(S>=0){var k=this._originalMappings[S];if(y.column===void 0)for(var E=k.originalLine;k&&k.originalLine===E;)_.push({line:e.getArg(k,"generatedLine",null),column:e.getArg(k,"generatedColumn",null),lastColumn:e.getArg(k,"lastGeneratedColumn",null)}),k=this._originalMappings[++S];else for(var P=k.originalColumn;k&&k.originalLine===v&&k.originalColumn==P;)_.push({line:e.getArg(k,"generatedLine",null),column:e.getArg(k,"generatedColumn",null),lastColumn:e.getArg(k,"lastGeneratedColumn",null)}),k=this._originalMappings[++S]}return _},Yi.SourceMapConsumer=o;function a(g,y){var v=g;typeof g=="string"&&(v=e.parseSourceMapInput(g));var w=e.getArg(v,"version"),_=e.getArg(v,"sources"),S=e.getArg(v,"names",[]),k=e.getArg(v,"sourceRoot",null),E=e.getArg(v,"sourcesContent",null),P=e.getArg(v,"mappings"),O=e.getArg(v,"file",null);if(w!=this._version)throw new Error("Unsupported version: "+w);k&&(k=e.normalize(k)),_=_.map(String).map(e.normalize).map(function(A){return k&&e.isAbsolute(k)&&e.isAbsolute(A)?e.relative(k,A):A}),this._names=r.fromArray(S.map(String),!0),this._sources=r.fromArray(_,!0),this._absoluteSources=this._sources.toArray().map(function(A){return e.computeSourceURL(k,A,y)}),this.sourceRoot=k,this.sourcesContent=E,this._mappings=P,this._sourceMapURL=y,this.file=O}a.prototype=Object.create(o.prototype),a.prototype.consumer=o,a.prototype._findSourceIndex=function(g){var y=g;if(this.sourceRoot!=null&&(y=e.relative(this.sourceRoot,y)),this._sources.has(y))return this._sources.indexOf(y);var v;for(v=0;v<this._absoluteSources.length;++v)if(this._absoluteSources[v]==g)return v;return-1},a.fromSourceMap=function(y,v){var w=Object.create(a.prototype),_=w._names=r.fromArray(y._names.toArray(),!0),S=w._sources=r.fromArray(y._sources.toArray(),!0);w.sourceRoot=y._sourceRoot,w.sourcesContent=y._generateSourcesContent(w._sources.toArray(),w.sourceRoot),w.file=y._file,w._sourceMapURL=v,w._absoluteSources=w._sources.toArray().map(function(x){return e.computeSourceURL(w.sourceRoot,x,v)});for(var k=y._mappings.toArray().slice(),E=w.__generatedMappings=[],P=w.__originalMappings=[],O=0,A=k.length;O<A;O++){var M=k[O],F=new h;F.generatedLine=M.generatedLine,F.generatedColumn=M.generatedColumn,M.source&&(F.source=S.indexOf(M.source),F.originalLine=M.originalLine,F.originalColumn=M.originalColumn,M.name&&(F.name=_.indexOf(M.name)),P.push(F)),E.push(F)}return i(w.__originalMappings,e.compareByOriginalPositions),w},a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function h(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}const l=e.compareByGeneratedPositionsDeflatedNoLine;function f(g,y){let v=g.length,w=g.length-y;if(!(w<=1))if(w==2){let _=g[y],S=g[y+1];l(_,S)>0&&(g[y]=S,g[y+1]=_)}else if(w<20)for(let _=y;_<v;_++)for(let S=_;S>y;S--){let k=g[S-1],E=g[S];if(l(k,E)<=0)break;g[S-1]=E,g[S]=k}else i(g,l,y)}a.prototype._parseMappings=function(y,v){var w=1,_=0,S=0,k=0,E=0,P=0,O=y.length,A=0,M={},F=[],x=[],I,R,L,z;let J=0;for(;A<O;)if(y.charAt(A)===";")w++,A++,_=0,f(x,J),J=x.length;else if(y.charAt(A)===",")A++;else{for(I=new h,I.generatedLine=w,L=A;L<O&&!this._charIsMappingSeparator(y,L);L++);for(y.slice(A,L),R=[];A<L;)s.decode(y,A,M),z=M.value,A=M.rest,R.push(z);if(R.length===2)throw new Error("Found a source, but no line and column");if(R.length===3)throw new Error("Found a source and line, but no column");if(I.generatedColumn=_+R[0],_=I.generatedColumn,R.length>1&&(I.source=E+R[1],E+=R[1],I.originalLine=S+R[2],S=I.originalLine,I.originalLine+=1,I.originalColumn=k+R[3],k=I.originalColumn,R.length>4&&(I.name=P+R[4],P+=R[4])),x.push(I),typeof I.originalLine=="number"){let V=I.source;for(;F.length<=V;)F.push(null);F[V]===null&&(F[V]=[]),F[V].push(I)}}f(x,J),this.__generatedMappings=x;for(var re=0;re<F.length;re++)F[re]!=null&&i(F[re],e.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...F)},a.prototype._findMapping=function(y,v,w,_,S,k){if(y[w]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+y[w]);if(y[_]<0)throw new TypeError("Column must be greater than or equal to 0, got "+y[_]);return t.search(y,v,S,k)},a.prototype.computeColumnSpans=function(){for(var y=0;y<this._generatedMappings.length;++y){var v=this._generatedMappings[y];if(y+1<this._generatedMappings.length){var w=this._generatedMappings[y+1];if(v.generatedLine===w.generatedLine){v.lastGeneratedColumn=w.generatedColumn-1;continue}}v.lastGeneratedColumn=1/0}},a.prototype.originalPositionFor=function(y){var v={generatedLine:e.getArg(y,"line"),generatedColumn:e.getArg(y,"column")},w=this._findMapping(v,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(y,"bias",o.GREATEST_LOWER_BOUND));if(w>=0){var _=this._generatedMappings[w];if(_.generatedLine===v.generatedLine){var S=e.getArg(_,"source",null);S!==null&&(S=this._sources.at(S),S=e.computeSourceURL(this.sourceRoot,S,this._sourceMapURL));var k=e.getArg(_,"name",null);return k!==null&&(k=this._names.at(k)),{source:S,line:e.getArg(_,"originalLine",null),column:e.getArg(_,"originalColumn",null),name:k}}}return{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(y){return y==null}):!1},a.prototype.sourceContentFor=function(y,v){if(!this.sourcesContent)return null;var w=this._findSourceIndex(y);if(w>=0)return this.sourcesContent[w];var _=y;this.sourceRoot!=null&&(_=e.relative(this.sourceRoot,_));var S;if(this.sourceRoot!=null&&(S=e.urlParse(this.sourceRoot))){var k=_.replace(/^file:\/\//,"");if(S.scheme=="file"&&this._sources.has(k))return this.sourcesContent[this._sources.indexOf(k)];if((!S.path||S.path=="/")&&this._sources.has("/"+_))return this.sourcesContent[this._sources.indexOf("/"+_)]}if(v)return null;throw new Error('"'+_+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(y){var v=e.getArg(y,"source");if(v=this._findSourceIndex(v),v<0)return{line:null,column:null,lastColumn:null};var w={source:v,originalLine:e.getArg(y,"line"),originalColumn:e.getArg(y,"column")},_=this._findMapping(w,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(y,"bias",o.GREATEST_LOWER_BOUND));if(_>=0){var S=this._originalMappings[_];if(S.source===w.source)return{line:e.getArg(S,"generatedLine",null),column:e.getArg(S,"generatedColumn",null),lastColumn:e.getArg(S,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Yi.BasicSourceMapConsumer=a;function d(g,y){var v=g;typeof g=="string"&&(v=e.parseSourceMapInput(g));var w=e.getArg(v,"version"),_=e.getArg(v,"sections");if(w!=this._version)throw new Error("Unsupported version: "+w);this._sources=new r,this._names=new r;var S={line:-1,column:0};this._sections=_.map(function(k){if(k.url)throw new Error("Support for url field in sections not implemented.");var E=e.getArg(k,"offset"),P=e.getArg(E,"line"),O=e.getArg(E,"column");if(P<S.line||P===S.line&&O<S.column)throw new Error("Section offsets must be ordered and non-overlapping.");return S=E,{generatedOffset:{generatedLine:P+1,generatedColumn:O+1},consumer:new o(e.getArg(k,"map"),y)}})}return d.prototype=Object.create(o.prototype),d.prototype.constructor=o,d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){for(var g=[],y=0;y<this._sections.length;y++)for(var v=0;v<this._sections[y].consumer.sources.length;v++)g.push(this._sections[y].consumer.sources[v]);return g}}),d.prototype.originalPositionFor=function(y){var v={generatedLine:e.getArg(y,"line"),generatedColumn:e.getArg(y,"column")},w=t.search(v,this._sections,function(S,k){var E=S.generatedLine-k.generatedOffset.generatedLine;return E||S.generatedColumn-k.generatedOffset.generatedColumn}),_=this._sections[w];return _?_.consumer.originalPositionFor({line:v.generatedLine-(_.generatedOffset.generatedLine-1),column:v.generatedColumn-(_.generatedOffset.generatedLine===v.generatedLine?_.generatedOffset.generatedColumn-1:0),bias:y.bias}):{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(y){return y.consumer.hasContentsOfAllSources()})},d.prototype.sourceContentFor=function(y,v){for(var w=0;w<this._sections.length;w++){var _=this._sections[w],S=_.consumer.sourceContentFor(y,!0);if(S||S==="")return S}if(v)return null;throw new Error('"'+y+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(y){for(var v=0;v<this._sections.length;v++){var w=this._sections[v];if(w.consumer._findSourceIndex(e.getArg(y,"source"))!==-1){var _=w.consumer.generatedPositionFor(y);if(_){var S={line:_.line+(w.generatedOffset.generatedLine-1),column:_.column+(w.generatedOffset.generatedLine===_.line?w.generatedOffset.generatedColumn-1:0)};return S}}}return{line:null,column:null}},d.prototype._parseMappings=function(y,v){this.__generatedMappings=[],this.__originalMappings=[];for(var w=0;w<this._sections.length;w++)for(var _=this._sections[w],S=_.consumer._generatedMappings,k=0;k<S.length;k++){var E=S[k],P=_.consumer._sources.at(E.source);P=e.computeSourceURL(_.consumer.sourceRoot,P,this._sourceMapURL),this._sources.add(P),P=this._sources.indexOf(P);var O=null;E.name&&(O=_.consumer._names.at(E.name),this._names.add(O),O=this._names.indexOf(O));var A={source:P,generatedLine:E.generatedLine+(_.generatedOffset.generatedLine-1),generatedColumn:E.generatedColumn+(_.generatedOffset.generatedLine===E.generatedLine?_.generatedOffset.generatedColumn-1:0),originalLine:E.originalLine,originalColumn:E.originalColumn,name:O};this.__generatedMappings.push(A),typeof A.originalLine=="number"&&this.__originalMappings.push(A)}i(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),i(this.__originalMappings,e.compareByOriginalPositions)},Yi.IndexedSourceMapConsumer=d,Yi}var Lu={},Xd;function Dx(){if(Xd)return Lu;Xd=1;var e=WS().SourceMapGenerator,t=Qo(),r=/(\r?\n)/,s=10,i="$$$isSourceNode$$$";function o(a,h,l,f,d){this.children=[],this.sourceContents={},this.line=a??null,this.column=h??null,this.source=l??null,this.name=d??null,this[i]=!0,f!=null&&this.add(f)}return o.fromStringWithSourceMap=function(h,l,f){var d=new o,g=h.split(r),y=0,v=function(){var E=O(),P=O()||"";return E+P;function O(){return y<g.length?g[y++]:void 0}},w=1,_=0,S=null;return l.eachMapping(function(E){if(S!==null)if(w<E.generatedLine)k(S,v()),w++,_=0;else{var P=g[y]||"",O=P.substr(0,E.generatedColumn-_);g[y]=P.substr(E.generatedColumn-_),_=E.generatedColumn,k(S,O),S=E;return}for(;w<E.generatedLine;)d.add(v()),w++;if(_<E.generatedColumn){var P=g[y]||"";d.add(P.substr(0,E.generatedColumn)),g[y]=P.substr(E.generatedColumn),_=E.generatedColumn}S=E},this),y<g.length&&(S&&k(S,v()),d.add(g.splice(y).join(""))),l.sources.forEach(function(E){var P=l.sourceContentFor(E);P!=null&&(f!=null&&(E=t.join(f,E)),d.setSourceContent(E,P))}),d;function k(E,P){if(E===null||E.source===void 0)d.add(P);else{var O=f?t.join(f,E.source):E.source;d.add(new o(E.originalLine,E.originalColumn,O,P,E.name))}}},o.prototype.add=function(h){if(Array.isArray(h))h.forEach(function(l){this.add(l)},this);else if(h[i]||typeof h=="string")h&&this.children.push(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},o.prototype.prepend=function(h){if(Array.isArray(h))for(var l=h.length-1;l>=0;l--)this.prepend(h[l]);else if(h[i]||typeof h=="string")this.children.unshift(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},o.prototype.walk=function(h){for(var l,f=0,d=this.children.length;f<d;f++)l=this.children[f],l[i]?l.walk(h):l!==""&&h(l,{source:this.source,line:this.line,column:this.column,name:this.name})},o.prototype.join=function(h){var l,f,d=this.children.length;if(d>0){for(l=[],f=0;f<d-1;f++)l.push(this.children[f]),l.push(h);l.push(this.children[f]),this.children=l}return this},o.prototype.replaceRight=function(h,l){var f=this.children[this.children.length-1];return f[i]?f.replaceRight(h,l):typeof f=="string"?this.children[this.children.length-1]=f.replace(h,l):this.children.push("".replace(h,l)),this},o.prototype.setSourceContent=function(h,l){this.sourceContents[t.toSetString(h)]=l},o.prototype.walkSourceContents=function(h){for(var l=0,f=this.children.length;l<f;l++)this.children[l][i]&&this.children[l].walkSourceContents(h);for(var d=Object.keys(this.sourceContents),l=0,f=d.length;l<f;l++)h(t.fromSetString(d[l]),this.sourceContents[d[l]])},o.prototype.toString=function(){var h="";return this.walk(function(l){h+=l}),h},o.prototype.toStringWithSourceMap=function(h){var l={code:"",line:1,column:0},f=new e(h),d=!1,g=null,y=null,v=null,w=null;return this.walk(function(_,S){l.code+=_,S.source!==null&&S.line!==null&&S.column!==null?((g!==S.source||y!==S.line||v!==S.column||w!==S.name)&&f.addMapping({source:S.source,original:{line:S.line,column:S.column},generated:{line:l.line,column:l.column},name:S.name}),g=S.source,y=S.line,v=S.column,w=S.name,d=!0):d&&(f.addMapping({generated:{line:l.line,column:l.column}}),g=null,d=!1);for(var k=0,E=_.length;k<E;k++)_.charCodeAt(k)===s?(l.line++,l.column=0,k+1===E?(g=null,d=!1):d&&f.addMapping({source:S.source,original:{line:S.line,column:S.column},generated:{line:l.line,column:l.column},name:S.name})):l.column++}),this.walkSourceContents(function(_,S){f.setSourceContent(_,S)}),{code:l.code,map:f}},Lu.SourceNode=o,Lu}var Jd;function Fx(){return Jd||(Jd=1,Ki.SourceMapGenerator=WS().SourceMapGenerator,Ki.SourceMapConsumer=Mx().SourceMapConsumer,Ki.SourceNode=Dx().SourceNode),Ki}var fo=Fx();const Cc="/*@__PURE__*/",pl=e=>`${cr[e]}: _${cr[e]}`;function Kd(e,{mode:t="function",prefixIdentifiers:r=t==="module",sourceMap:s=!1,filename:i="template.vue.html",scopeId:o=null,optimizeImports:a=!1,runtimeGlobalName:h="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:f="vue/server-renderer",ssr:d=!1,isTS:g=!1,inSSR:y=!1}){const v={mode:t,prefixIdentifiers:r,sourceMap:s,filename:i,scopeId:o,optimizeImports:a,runtimeGlobalName:h,runtimeModuleName:l,ssrRuntimeModuleName:f,ssr:d,isTS:g,inSSR:y,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(S){return`_${cr[S]}`},push(S,k=-2,E){if(v.code+=S,v.map){if(E){let P;if(E.type===4&&!E.isStatic){const O=E.content.replace(/^_ctx\./,"");O!==E.content&&Is(O)&&(P=O)}_(E.loc.start,P)}k===-3?yf(v,S):(v.offset+=S.length,k===-2?v.column+=S.length:(k===-1&&(k=S.length-1),v.line++,v.column=S.length-k)),E&&E.loc!==Et&&_(E.loc.end)}},indent(){w(++v.indentLevel)},deindent(S=!1){S?--v.indentLevel:w(--v.indentLevel)},newline(){w(v.indentLevel)}};function w(S){v.push(`
|
|
`+" ".repeat(S),0)}function _(S,k=null){const{_names:E,_mappings:P}=v.map;k!==null&&!E.has(k)&&E.add(k),P.add({originalLine:S.line,originalColumn:S.column-1,generatedLine:v.line,generatedColumn:v.column-1,source:i,name:k})}return s&&(v.map=new fo.SourceMapGenerator,v.map.setSourceContent(i,v.source),v.map._sources.add(i)),v}function wf(e,t={}){const r=Kd(e,t);t.onContextCreated&&t.onContextCreated(r);const{mode:s,push:i,prefixIdentifiers:o,indent:a,deindent:h,newline:l,scopeId:f,ssr:d}=r,g=Array.from(e.helpers),y=g.length>0,v=!o&&s!=="module",w=f!=null&&s==="module",_=!!t.inline,S=_?Kd(e,t):r;s==="module"?$x(e,S,w,_):Bx(e,S);const k=d?"ssrRender":"render",E=d?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];t.bindingMetadata&&!t.inline&&E.push("$props","$setup","$data","$options");const P=t.isTS?E.map(O=>`${O}: any`).join(","):E.join(", ");if(i(_?`(${P}) => {`:`function ${k}(${P}) {`),a(),v&&(i("with (_ctx) {"),a(),y&&(i(`const { ${g.map(pl).join(", ")} } = _Vue
|
|
`,-1),l())),e.components.length&&(Yd(e.components,"component",r),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Yd(e.directives,"directive",r),e.temps>0&&l()),e.temps>0){i("let ");for(let O=0;O<e.temps;O++)i(`${O>0?", ":""}_temp${O}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
|
|
`,0),l()),d||i("return "),e.codegenNode?_t(e.codegenNode,r):i("null"),v&&(h(),i("}")),h(),i("}"),{ast:e,code:r.code,preamble:_?S.code:"",map:r.map?r.map.toJSON():void 0}}function Bx(e,t){const{ssr:r,prefixIdentifiers:s,push:i,newline:o,runtimeModuleName:a,runtimeGlobalName:h,ssrRuntimeModuleName:l}=t,f=r?`require(${JSON.stringify(a)})`:h,d=Array.from(e.helpers);if(d.length>0){if(s)i(`const { ${d.map(pl).join(", ")} } = ${f}
|
|
`,-1);else if(i(`const _Vue = ${f}
|
|
`,-1),e.hoists.length){const g=[zo,hc,ki,pc,fc].filter(y=>d.includes(y)).map(pl).join(", ");i(`const { ${g} } = _Vue
|
|
`,-1)}}e.ssrHelpers&&e.ssrHelpers.length&&i(`const { ${e.ssrHelpers.map(pl).join(", ")} } = require("${l}")
|
|
`,-1),GS(e.hoists,t),o(),i("return ")}function $x(e,t,r,s){const{push:i,newline:o,optimizeImports:a,runtimeModuleName:h,ssrRuntimeModuleName:l}=t;if(e.helpers.size){const f=Array.from(e.helpers);a?(i(`import { ${f.map(d=>cr[d]).join(", ")} } from ${JSON.stringify(h)}
|
|
`,-1),i(`
|
|
// Binding optimization for webpack code-split
|
|
const ${f.map(d=>`_${cr[d]} = ${cr[d]}`).join(", ")}
|
|
`,-1)):i(`import { ${f.map(d=>`${cr[d]} as _${cr[d]}`).join(", ")} } from ${JSON.stringify(h)}
|
|
`,-1)}e.ssrHelpers&&e.ssrHelpers.length&&i(`import { ${e.ssrHelpers.map(f=>`${cr[f]} as _${cr[f]}`).join(", ")} } from "${l}"
|
|
`,-1),e.imports.length&&(jx(e.imports,t),o()),GS(e.hoists,t),o(),s||i("export ")}function Yd(e,t,{helper:r,push:s,newline:i,isTS:o}){const a=r(t==="component"?Io:dc);for(let h=0;h<e.length;h++){let l=e[h];const f=l.endsWith("__self");f&&(l=l.slice(0,-6)),s(`const ${Lo(l,t)} = ${a}(${JSON.stringify(l)}${f?", true":""})${o?"!":""}`),h<e.length-1&&i()}}function GS(e,t){if(!e.length)return;t.pure=!0;const{push:r,newline:s}=t;s();for(let i=0;i<e.length;i++){const o=e[i];o&&(r(`const _hoisted_${i+1} = `),_t(o,t),s())}t.pure=!1}function jx(e,t){e.length&&e.forEach(r=>{t.push("import "),_t(r.exp,t),t.push(` from '${r.path}'`),t.newline()})}function Ux(e){return Ke(e)||e.type===4||e.type===2||e.type===5||e.type===8}function Nc(e,t){const r=e.length>3||e.some(s=>jt(s)||!Ux(s));t.push("["),r&&t.indent(),Oi(e,t,r),r&&t.deindent(),t.push("]")}function Oi(e,t,r=!1,s=!0){const{push:i,newline:o}=t;for(let a=0;a<e.length;a++){const h=e[a];Ke(h)?i(h,-3):jt(h)?Nc(h,t):_t(h,t),a<e.length-1&&(r?(s&&i(","),o()):s&&i(", "))}}function _t(e,t){if(Ke(e)){t.push(e,-3);return}if(on(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:ap(e.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),_t(e.codegenNode,t);break;case 2:qx(e,t);break;case 4:zS(e,t);break;case 5:Vx(e,t);break;case 12:_t(e.codegenNode,t);break;case 8:HS(e,t);break;case 3:Gx(e,t);break;case 13:zx(e,t);break;case 14:Xx(e,t);break;case 15:Jx(e,t);break;case 17:Kx(e,t);break;case 18:Yx(e,t);break;case 19:Qx(e,t);break;case 20:Zx(e,t);break;case 21:Oi(e.body,t,!0,!1);break;case 22:ek(e,t);break;case 23:XS(e,t);break;case 24:tk(e,t);break;case 25:rk(e,t);break;case 26:sk(e,t);break;case 10:break;default:return ap(!1,`unhandled codegen node type: ${e.type}`),e}}function qx(e,t){t.push(JSON.stringify(e.content),-3,e)}function zS(e,t){const{content:r,isStatic:s}=e;t.push(s?JSON.stringify(r):r,-3,e)}function Vx(e,t){const{push:r,helper:s,pure:i}=t;i&&r(Cc),r(`${s(Xo)}(`),_t(e.content,t),r(")")}function HS(e,t){for(let r=0;r<e.children.length;r++){const s=e.children[r];Ke(s)?t.push(s,-3):_t(s,t)}}function Wx(e,t){const{push:r}=t;if(e.type===8)r("["),HS(e,t),r("]");else if(e.isStatic){const s=Is(e.content)?e.content:JSON.stringify(e.content);r(s,-2,e)}else r(`[${e.content}]`,-3,e)}function Gx(e,t){const{push:r,helper:s,pure:i}=t;i&&r(Cc),r(`${s(ki)}(${JSON.stringify(e.content)})`,-3,e)}function zx(e,t){const{push:r,helper:s,pure:i}=t,{tag:o,props:a,children:h,patchFlag:l,dynamicProps:f,directives:d,isBlock:g,disableTracking:y,isComponent:v}=e;let w;if(l)if(l<0)w=l+` /* ${al[l]} */`;else{const S=Object.keys(al).map(Number).filter(k=>k>0&&l&k).map(k=>al[k]).join(", ");w=l+` /* ${S} */`}d&&r(s(mc)+"("),g&&r(`(${s(rn)}(${y?"true":""}), `),i&&r(Cc);const _=g?Dn(t.inSSR,v):Mn(t.inSSR,v);r(s(_)+"(",-2,e),Oi(Hx([o,a,h,w,f]),t),r(")"),g&&r(")"),d&&(r(", "),_t(d,t),r(")"))}function Hx(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(r=>r||"null")}function Xx(e,t){const{push:r,helper:s,pure:i}=t,o=Ke(e.callee)?e.callee:s(e.callee);i&&r(Cc),r(o+"(",-2,e),Oi(e.arguments,t),r(")")}function Jx(e,t){const{push:r,indent:s,deindent:i,newline:o}=t,{properties:a}=e;if(!a.length){r("{}",-2,e);return}const h=a.length>1||a.some(l=>l.value.type!==4);r(h?"{":"{ "),h&&s();for(let l=0;l<a.length;l++){const{key:f,value:d}=a[l];Wx(f,t),r(": "),_t(d,t),l<a.length-1&&(r(","),o())}h&&i(),r(h?"}":" }")}function Kx(e,t){Nc(e.elements,t)}function Yx(e,t){const{push:r,indent:s,deindent:i}=t,{params:o,returns:a,body:h,newline:l,isSlot:f}=e;f&&r(`_${cr[_c]}(`),r("(",-2,e),jt(o)?Oi(o,t):o&&_t(o,t),r(") => "),(l||h)&&(r("{"),s()),a?(l&&r("return "),jt(a)?Nc(a,t):_t(a,t)):h&&_t(h,t),(l||h)&&(i(),r("}")),f&&r(")")}function Qx(e,t){const{test:r,consequent:s,alternate:i,newline:o}=e,{push:a,indent:h,deindent:l,newline:f}=t;if(r.type===4){const g=!Is(r.content);g&&a("("),zS(r,t),g&&a(")")}else a("("),_t(r,t),a(")");o&&h(),t.indentLevel++,o||a(" "),a("? "),_t(s,t),t.indentLevel--,o&&f(),o||a(" "),a(": ");const d=i.type===19;d||t.indentLevel++,_t(i,t),d||t.indentLevel--,o&&l(!0)}function Zx(e,t){const{push:r,helper:s,indent:i,deindent:o,newline:a}=t,{needPauseTracking:h,needArraySpread:l}=e;l&&r("[...("),r(`_cache[${e.index}] || (`),h&&(i(),r(`${s(Co)}(-1`),e.inVOnce&&r(", true"),r("),"),a(),r("(")),r(`_cache[${e.index}] = `),_t(e.value,t),h&&(r(`).cacheIndex = ${e.index},`),a(),r(`${s(Co)}(1),`),a(),r(`_cache[${e.index}]`),o()),r(")"),l&&r(")]")}function ek(e,t){const{push:r,indent:s,deindent:i}=t;r("`");const o=e.elements.length,a=o>3;for(let h=0;h<o;h++){const l=e.elements[h];Ke(l)?r(l.replace(/(`|\$|\\)/g,"\\$1"),-3):(r("${"),a&&s(),_t(l,t),a&&i(),r("}"))}r("`")}function XS(e,t){const{push:r,indent:s,deindent:i}=t,{test:o,consequent:a,alternate:h}=e;r("if ("),_t(o,t),r(") {"),s(),_t(a,t),i(),r("}"),h&&(r(" else "),h.type===23?XS(h,t):(r("{"),s(),_t(h,t),i(),r("}")))}function tk(e,t){_t(e.left,t),t.push(" = "),_t(e.right,t)}function rk(e,t){t.push("("),Oi(e.expressions,t),t.push(")")}function sk({returns:e},t){t.push("return "),jt(e)?Nc(e,t):_t(e,t)}const nk=Kt("true,false,null,this"),bf=(e,t)=>{if(e.type===5)e.content=Dt(e.content,t);else if(e.type===1){const r=Ot(e,"memo");for(let s=0;s<e.props.length;s++){const i=e.props[s];if(i.type===7&&i.name!=="for"){const o=i.exp,a=i.arg;o&&o.type===4&&!(i.name==="on"&&a)&&!(r&&a&&a.type===4&&a.content==="key")&&(i.exp=Dt(o,t,i.name==="slot")),a&&a.type===4&&!a.isStatic&&(i.arg=Dt(a,t))}}}};function Dt(e,t,r=!1,s=!1,i=Object.create(t.identifiers)){if(!t.prefixIdentifiers||!e.content.trim())return e;const{inline:o,bindingMetadata:a}=t,h=(_,S,k)=>{const E=Zp(a,_)&&a[_];if(o){const P=S&&S.type==="AssignmentExpression"&&S.left===k,O=S&&S.type==="UpdateExpression"&&S.argument===k,A=S&&Ii(S,g),M=S&&ES(g),F=x=>{const I=`${t.helperString(yi)}(${x})`;return M?`(${I})`:I};if(Qd(E)||E==="setup-reactive-const"||i[_])return _;if(E==="setup-ref")return`${_}.value`;if(E==="setup-maybe-ref")return P||O||A?`${_}.value`:F(_);if(E==="setup-let")if(P){const{right:x,operator:I}=S,R=l.slice(x.start-1,x.end-1),L=Oc(Dt(Te(R,!1),t,!1,!1,y));return`${t.helperString(No)}(${_})${t.isTS?` //@ts-ignore
|
|
`:""} ? ${_}.value ${I} ${L} : ${_}`}else if(O){k.start=S.start,k.end=S.end;const{prefix:x,operator:I}=S,R=x?I:"",L=x?"":I;return`${t.helperString(No)}(${_})${t.isTS?` //@ts-ignore
|
|
`:""} ? ${R}${_}.value${L} : ${R}${_}${L}`}else return A?_:F(_);else{if(E==="props")return El(_);if(E==="props-aliased")return El(a.__propsAliases[_])}}else{if(E&&E.startsWith("setup")||E==="literal-const")return`$setup.${_}`;if(E==="props-aliased")return`$props['${a.__propsAliases[_]}']`;if(E)return`$${E}.${_}`}return`_ctx.${_}`},l=e.content;let f=e.ast;if(f===!1)return e;if(f===null||!f&&Is(l)){const _=t.identifiers[l],S=sS(l),k=nk(l);return!r&&!_&&!k&&(!S||a[l])?(Qd(a[l])&&(e.constType=1),e.content=h(l)):_||(k?e.constType=3:e.constType=2),e}if(!f){const _=s?` ${l} `:`(${l})${r?"=>{}":""}`;try{f=$r.parseExpression(_,{sourceType:"module",plugins:t.expressionPlugins})}catch(S){return t.onError(it(45,e.loc,void 0,S.message)),e}}const d=[],g=[],y=Object.create(t.identifiers);Ai(f,(_,S,k,E,P)=>{if(PS(_,S))return;const O=E&&ik(_);O&&!P?(Ci(S)&&S.shorthand&&(_.prefix=`${_.name}: `),_.name=h(_.name,S,_),d.push(_)):(!(O&&P)&&(!S||S.type!=="CallExpression"&&S.type!=="NewExpression"&&S.type!=="MemberExpression")&&(_.isConstant=!0),d.push(_))},!0,g,y);const v=[];d.sort((_,S)=>_.start-S.start),d.forEach((_,S)=>{const k=_.start-1,E=_.end-1,P=d[S-1],O=l.slice(P?P.end-1:0,k);(O.length||_.prefix)&&v.push(O+(_.prefix||""));const A=l.slice(k,E);v.push(Te(_.name,!1,{start:op(e.loc.start,A,k),end:op(e.loc.start,A,E),source:A},_.isConstant?3:0)),S===d.length-1&&E<l.length&&v.push(l.slice(E))});let w;return v.length?(w=Bt(v,e.loc),w.ast=f):(w=e,w.constType=3),w.identifiers=Object.keys(y),w}function ik(e){return!(sS(e.name)||e.name==="require")}function Oc(e){return Ke(e)?e:e.type===4?e.content:e.children.map(Oc).join("")}function Qd(e){return e==="setup-const"||e==="literal-const"}const ok=Yo(/^(if|else|else-if)$/,(e,t,r)=>Ef(e,t,r,(s,i,o)=>{const a=r.parent.children;let h=a.indexOf(s),l=0;for(;h-->=0;){const f=a[h];f&&f.type===9&&(l+=f.branches.length)}return()=>{if(o)s.codegenNode=em(i,l,r);else{const f=lk(s.codegenNode);f.alternate=em(i,l+s.branches.length-1,r)}}}));function Ef(e,t,r,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;r.onError(it(28,t.loc)),t.exp=Te("true",!1,i)}if(r.prefixIdentifiers&&t.exp&&(t.exp=Dt(t.exp,r)),t.name==="if"){const i=Zd(e,t),o={type:9,loc:Tx(e.loc),branches:[i]};if(r.replaceNode(o),s)return s(o,i,!0)}else{const i=r.parent.children,o=[];let a=i.indexOf(e);for(;a-->=-1;){const h=i[a];if(h&&h.type===3){r.removeNode(h),o.unshift(h);continue}if(h&&h.type===2&&!h.content.trim().length){r.removeNode(h);continue}if(h&&h.type===9){t.name==="else-if"&&h.branches[h.branches.length-1].condition===void 0&&r.onError(it(30,e.loc)),r.removeNode();const l=Zd(e,t);o.length&&!(r.parent&&r.parent.type===1&&(r.parent.tag==="transition"||r.parent.tag==="Transition"))&&(l.children=[...o,...l.children]);{const d=l.userKey;d&&h.branches.forEach(({userKey:g})=>{ak(g,d)&&r.onError(it(29,l.userKey.loc))})}h.branches.push(l);const f=s&&s(h,l,!1);Ni(l,r),f&&f(),r.currentNode=null}else r.onError(it(30,e.loc));break}}}function Zd(e,t){const r=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:r&&!Ot(e,"for")?e.children:[e],userKey:fr(e,"key"),isTemplateIf:r}}function em(e,t,r){return e.condition?Br(e.condition,tm(e,t,r),Re(r.helper(ki),['"v-if"',"true"])):tm(e,t,r)}function tm(e,t,r){const{helper:s}=r,i=at("key",Te(`${t}`,!1,Et,2)),{children:o}=e,a=o[0];if(o.length!==1||a.type!==1)if(o.length===1&&a.type===11){const l=a.codegenNode;return Oo(l,i,r),l}else{let l=64;return!e.isTemplateIf&&o.filter(f=>f.type!==3).length===1&&(l|=2048),vi(r,s(mi),hr([i]),o,l,void 0,void 0,!0,!1,!1,e.loc)}else{const l=a.codegenNode,f=OS(l);return f.type===13&&bc(f,r),Oo(f,i,r),l}}function ak(e,t){if(!e||e.type!==t.type)return!1;if(e.type===6){if(e.value.content!==t.value.content)return!1}else{const r=e.exp,s=t.exp;if(r.type!==s.type||r.type!==4||r.isStatic!==s.isStatic||r.content!==s.content)return!1}return!0}function lk(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const Tf=(e,t,r)=>{const{modifiers:s,loc:i}=e,o=e.arg;let{exp:a}=e;if(a&&a.type===4&&!a.content.trim())return r.onError(it(34,i)),{props:[at(o,Te("",!0,i))]};if(!a){if(o.type!==4||!o.isStatic)return r.onError(it(52,o.loc)),{props:[at(o,Te("",!0,i))]};JS(e,r),a=e.exp}return o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),s.some(h=>h.content==="camel")&&(o.type===4?o.isStatic?o.content=ur(o.content):o.content=`${r.helperString(Tl)}(${o.content})`:(o.children.unshift(`${r.helperString(Tl)}(`),o.children.push(")"))),r.inSSR||(s.some(h=>h.content==="prop")&&rm(o,"."),s.some(h=>h.content==="attr")&&rm(o,"^")),{props:[at(o,a)]}},JS=(e,t)=>{const r=e.arg,s=ur(r.content);e.exp=Te(s,!1,r.loc),e.exp=Dt(e.exp,t)},rm=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},ck=Yo("for",(e,t,r)=>{const{helper:s,removeHelper:i}=r;return xf(e,t,r,o=>{const a=Re(s(gc),[o.source]),h=Si(e),l=Ot(e,"memo"),f=fr(e,"key",!1,!0),d=f&&f.type===7;d&&!f.exp&&JS(f,r);let g=f&&(f.type===6?f.value?Te(f.value.content,!0):void 0:f.exp);l&&g&&d&&(f.exp=g=Dt(g,r));const y=f&&g?at("key",g):null;h&&(l&&(l.exp=Dt(l.exp,r)),y&&f.type!==6&&(y.value=Dt(y.value,r)));const v=o.source.type===4&&o.source.constType>0,w=v?64:f?128:256;return o.codegenNode=vi(r,s(mi),void 0,a,w,void 0,void 0,!0,!v,!1,e.loc),()=>{let _;const{children:S}=o;h&&e.children.some(P=>{if(P.type===1){const O=fr(P,"key");if(O)return r.onError(it(33,O.loc)),!0}});const k=S.length!==1||S[0].type!==1,E=_i(e)?e:h&&e.children.length===1&&_i(e.children[0])?e.children[0]:null;if(E?(_=E.codegenNode,h&&y&&Oo(_,y,r)):k?_=vi(r,s(mi),y?hr([y]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(_=S[0].codegenNode,h&&y&&Oo(_,y,r),_.isBlock!==!v&&(_.isBlock?(i(rn),i(Dn(r.inSSR,_.isComponent))):i(Mn(r.inSSR,_.isComponent))),_.isBlock=!v,_.isBlock?(s(rn),s(Dn(r.inSSR,_.isComponent))):s(Mn(r.inSSR,_.isComponent))),l){const P=xr(Ro(o.parseResult,[Te("_cached")]));P.body=Jo([Bt(["const _memo = (",l.exp,")"]),Bt(["if (_cached",...g?[" && _cached.key === ",g]:[],` && ${r.helperString(lf)}(_cached, _memo)) return _cached`]),Bt(["const _item = ",_]),Te("_item.memo = _memo"),Te("return _item")]),a.arguments.push(P,Te("_cache"),Te(String(r.cached.length))),r.cached.push(null)}else a.arguments.push(xr(Ro(o.parseResult),_,!0))}})});function xf(e,t,r,s){if(!t.exp){r.onError(it(31,t.loc));return}const i=t.forParseResult;if(!i){r.onError(it(32,t.loc));return}kf(i,r);const{addIdentifiers:o,removeIdentifiers:a,scopes:h}=r,{source:l,value:f,key:d,index:g}=i,y={type:11,loc:t.loc,source:l,valueAlias:f,keyAlias:d,objectIndexAlias:g,parseResult:i,children:Si(e)?e.children:[e]};r.replaceNode(y),h.vFor++,r.prefixIdentifiers&&(f&&o(f),d&&o(d),g&&o(g));const v=s&&s(y);return()=>{h.vFor--,r.prefixIdentifiers&&(f&&a(f),d&&a(d),g&&a(g)),v&&v()}}function kf(e,t){e.finalized||(t.prefixIdentifiers&&(e.source=Dt(e.source,t),e.key&&(e.key=Dt(e.key,t,!0)),e.index&&(e.index=Dt(e.index,t,!0)),e.value&&(e.value=Dt(e.value,t,!0))),e.finalized=!0)}function Ro({value:e,key:t,index:r},s=[]){return uk([e,t,r,...s])}function uk(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((r,s)=>r||Te("_".repeat(s+1),!1))}const sm=Te("undefined",!1),Pf=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const r=Ot(e,"slot");if(r){const s=r.exp;return t.prefixIdentifiers&&s&&t.addIdentifiers(s),t.scopes.vSlot++,()=>{t.prefixIdentifiers&&s&&t.removeIdentifiers(s),t.scopes.vSlot--}}}},Af=(e,t)=>{let r;if(Si(e)&&e.props.some(vf)&&(r=Ot(e,"for"))){const s=r.forParseResult;if(s){kf(s,t);const{value:i,key:o,index:a}=s,{addIdentifiers:h,removeIdentifiers:l}=t;return i&&h(i),o&&h(o),a&&h(a),()=>{i&&l(i),o&&l(o),a&&l(a)}}}},hk=(e,t,r,s)=>xr(e,r,!1,!0,r.length?r[0].loc:s);function Mo(e,t,r=hk){t.helper(_c);const{children:s,loc:i}=e,o=[],a=[];let h=t.scopes.vSlot>0||t.scopes.vFor>0;!t.ssr&&t.prefixIdentifiers&&(h=lr(e,t.identifiers));const l=Ot(e,"slot",!0);if(l){const{arg:S,exp:k}=l;S&&!Xt(S)&&(h=!0),o.push(at(S||Te("default",!0),r(k,void 0,s,i)))}let f=!1,d=!1;const g=[],y=new Set;let v=0;for(let S=0;S<s.length;S++){const k=s[S];let E;if(!Si(k)||!(E=Ot(k,"slot",!0))){k.type!==3&&g.push(k);continue}if(l){t.onError(it(37,E.loc));break}f=!0;const{children:P,loc:O}=k,{arg:A=Te("default",!0),exp:M,loc:F}=E;let x;Xt(A)?x=A?A.content:"default":h=!0;const I=Ot(k,"for"),R=r(M,I,P,O);let L,z;if(L=Ot(k,"if"))h=!0,a.push(Br(L.exp,_a(A,R,v++),sm));else if(z=Ot(k,/^else(-if)?$/,!0)){let J=S,re;for(;J--&&(re=s[J],re.type===3););if(re&&Si(re)&&Ot(re,/^(else-)?if$/)){let V=a[a.length-1];for(;V.alternate.type===19;)V=V.alternate;V.alternate=z.exp?Br(z.exp,_a(A,R,v++),sm):_a(A,R,v++)}else t.onError(it(30,z.loc))}else if(I){h=!0;const J=I.forParseResult;J?(kf(J,t),a.push(Re(t.helper(gc),[J.source,xr(Ro(J),_a(A,R),!0)]))):t.onError(it(32,I.loc))}else{if(x){if(y.has(x)){t.onError(it(38,F));continue}y.add(x),x==="default"&&(d=!0)}o.push(at(A,R))}}if(!l){const S=(k,E)=>{const P=r(k,void 0,E,i);return at("default",P)};f?g.length&&g.some(k=>KS(k))&&(d?t.onError(it(39,g[0].loc)):o.push(S(void 0,g))):o.push(S(void 0,s))}const w=h?2:fl(e.children)?3:1;let _=hr(o.concat(at("_",Te(w+` /* ${f0[w]} */`,!1))),i);return a.length&&(_=Re(t.helper(af),[_,ks(a)])),{slots:_,hasDynamicSlots:h}}function _a(e,t,r){const s=[at("name",e),at("fn",t)];return r!=null&&s.push(at("key",Te(String(r),!0))),hr(s)}function fl(e){for(let t=0;t<e.length;t++){const r=e[t];switch(r.type){case 1:if(r.tagType===2||fl(r.children))return!0;break;case 9:if(fl(r.branches))return!0;break;case 10:case 11:if(fl(r.children))return!0;break}}return!1}function KS(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():KS(e.content)}const YS=new WeakMap,QS=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:i}=e,o=e.tagType===1;let a=o?Lc(e,t):`"${s}"`;const h=an(a)&&a.callee===Ho;let l,f,d=0,g,y,v,w=h||a===In||a===xi||!o&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const _=Li(e,t,void 0,o,h);l=_.props,d=_.patchFlag,y=_.dynamicPropNames;const S=_.directives;v=S&&S.length?ks(S.map(k=>If(k,t))):void 0,_.shouldUseBlock&&(w=!0)}if(e.children.length>0)if(a===Ao&&(w=!0,d|=1024,e.children.length>1&&t.onError(it(46,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}))),o&&a!==In&&a!==Ao){const{slots:S,hasDynamicSlots:k}=Mo(e,t);f=S,k&&(d|=1024)}else if(e.children.length===1&&a!==In){const S=e.children[0],k=S.type,E=k===5||k===8;E&&pr(S,t)===0&&(d|=1),E||k===2?f=S:f=e.children}else f=e.children;y&&y.length&&(g=fk(y)),e.codegenNode=vi(t,a,l,f,d===0?void 0:d,g,v,!!w,!1,o,e.loc)};function Lc(e,t,r=!1){let{tag:s}=e;const i=hp(s),o=fr(e,"is",!1,!0);if(o)if(i){let h;if(o.type===6?h=o.value&&Te(o.value.content,!0):(h=o.exp,h||(h=Te("is",!1,o.arg.loc),h=o.exp=Dt(h,t))),h)return Re(t.helper(Ho),[h])}else o.type===6&&o.value.content.startsWith("vue:")&&(s=o.value.content.slice(4));const a=mf(s)||t.isBuiltInComponent(s);if(a)return r||t.helper(a),a;{const h=up(s,t);if(h)return h;const l=s.indexOf(".");if(l>0){const f=up(s.slice(0,l),t);if(f)return f+s.slice(l)}}return t.selfName&&tn(ur(s))===t.selfName?(t.helper(Io),t.components.add(s+"__self"),Lo(s,"component")):(t.helper(Io),t.components.add(s),Lo(s,"component"))}function up(e,t){const r=t.bindingMetadata;if(!r||r.__isScriptSetup===!1)return;const s=ur(e),i=tn(s),o=f=>{if(r[e]===f)return e;if(r[s]===f)return s;if(r[i]===f)return i},a=o("setup-const")||o("setup-reactive-const")||o("literal-const");if(a)return t.inline?a:`$setup[${JSON.stringify(a)}]`;const h=o("setup-let")||o("setup-ref")||o("setup-maybe-ref");if(h)return t.inline?`${t.helperString(yi)}(${h})`:`$setup[${JSON.stringify(h)}]`;const l=o("props");if(l)return`${t.helperString(yi)}(${t.inline?"__props":"$props"}[${JSON.stringify(l)}])`}function Li(e,t,r=e.props,s,i,o=!1){const{tag:a,loc:h,children:l}=e;let f=[];const d=[],g=[],y=l.length>0;let v=!1,w=0,_=!1,S=!1,k=!1,E=!1,P=!1,O=!1;const A=[],M=R=>{f.length&&(d.push(hr(nm(f),h)),f=[]),R&&d.push(R)},F=()=>{t.scopes.vFor>0&&f.push(at(Te("ref_for",!0),Te("true")))},x=({key:R,value:L})=>{if(Xt(R)){const z=R.content,J=Zv(z);if(J&&(!s||i)&&z.toLowerCase()!=="onclick"&&z!=="onUpdate:modelValue"&&!Cd(z)&&(E=!0),J&&Cd(z)&&(O=!0),J&&L.type===14&&(L=L.arguments[0]),L.type===20||(L.type===4||L.type===8)&&pr(L,t)>0)return;z==="ref"?_=!0:z==="class"?S=!0:z==="style"?k=!0:z!=="key"&&!A.includes(z)&&A.push(z),s&&(z==="class"||z==="style")&&!A.includes(z)&&A.push(z)}else P=!0};for(let R=0;R<r.length;R++){const L=r[R];if(L.type===6){const{loc:z,name:J,nameLoc:re,value:V}=L;let ee=!0;if(J==="ref"&&(_=!0,F(),V&&t.inline)){const G=t.bindingMetadata[V.content];(G==="setup-let"||G==="setup-ref"||G==="setup-maybe-ref")&&(ee=!1,f.push(at(Te("ref_key",!0),Te(V.content,!0,V.loc))))}if(J==="is"&&(hp(a)||V&&V.content.startsWith("vue:")))continue;f.push(at(Te(J,!0,re),Te(V?V.content:"",ee,V?V.loc:z)))}else{const{name:z,arg:J,exp:re,loc:V,modifiers:ee}=L,G=z==="bind",Q=z==="on";if(z==="slot"){s||t.onError(it(40,V));continue}if(z==="once"||z==="memo"||z==="is"||G&&rs(J,"is")&&hp(a)||Q&&o)continue;if((G&&rs(J,"key")||Q&&y&&rs(J,"vue:before-update"))&&(v=!0),G&&rs(J,"ref")&&F(),!J&&(G||Q)){P=!0,re?G?(F(),M(),d.push(re)):M({type:14,loc:V,callee:t.helper(Sc),arguments:s?[re]:[re,"true"]}):t.onError(it(G?34:35,V));continue}G&&ee.some(ce=>ce.content==="prop")&&(w|=32);const ie=t.directiveTransforms[z];if(ie){const{props:ce,needRuntime:ne}=ie(L,e,t);!o&&ce.forEach(x),Q&&J&&!Xt(J)?M(hr(ce,h)):f.push(...ce),ne&&(g.push(L),on(ne)&&YS.set(L,ne))}else tf(z)||(g.push(L),y&&(v=!0))}}let I;if(d.length?(M(),d.length>1?I=Re(t.helper(Rn),d,h):I=d[0]):f.length&&(I=hr(nm(f),h)),P?w|=16:(S&&!s&&(w|=2),k&&!s&&(w|=4),A.length&&(w|=8),E&&(w|=32)),!v&&(w===0||w===32)&&(_||O||g.length>0)&&(w|=512),!t.inSSR&&I)switch(I.type){case 15:let R=-1,L=-1,z=!1;for(let V=0;V<I.properties.length;V++){const ee=I.properties[V].key;Xt(ee)?ee.content==="class"?R=V:ee.content==="style"&&(L=V):ee.isHandlerKey||(z=!0)}const J=I.properties[R],re=I.properties[L];z?I=Re(t.helper(gi),[I]):(J&&!Xt(J.value)&&(J.value=Re(t.helper(yc),[J.value])),re&&(k||re.value.type===4&&re.value.content.trim()[0]==="["||re.value.type===17)&&(re.value=Re(t.helper(vc),[re.value])));break;case 14:break;default:I=Re(t.helper(gi),[Re(t.helper(Pi),[I])]);break}return{props:I,directives:g,patchFlag:w,dynamicPropNames:A,shouldUseBlock:v}}function nm(e){const t=new Map,r=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.key.type===8||!i.key.isStatic){r.push(i);continue}const o=i.key.content,a=t.get(o);a?(o==="style"||o==="class"||Zv(o))&&pk(a,i):(t.set(o,i),r.push(i))}return r}function pk(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=ks([e.value,t.value],e.loc)}function If(e,t){const r=[],s=YS.get(e);if(s)r.push(t.helperString(s));else{const o=up("v-"+e.name,t);o?r.push(o):(t.helper(dc),t.directives.add(e.name),r.push(Lo(e.name,"directive")))}const{loc:i}=e;if(e.exp&&r.push(e.exp),e.arg&&(e.exp||r.push("void 0"),r.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||r.push("void 0"),r.push("void 0"));const o=Te("true",!1,i);r.push(hr(e.modifiers.map(a=>at(a,o)),i))}return ks(r,e.loc)}function fk(e){let t="[";for(let r=0,s=e.length;r<s;r++)t+=JSON.stringify(e[r]),r<s-1&&(t+=", ");return t+"]"}function hp(e){return e==="component"||e==="Component"}const dk=(e,t)=>{if(_i(e)){const{children:r,loc:s}=e,{slotName:i,slotProps:o}=Cf(e,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let h=2;o&&(a[2]=o,h=3),r.length&&(a[3]=xr([],r,!1,!1,s),h=4),t.scopeId&&!t.slotted&&(h=5),a.splice(h),e.codegenNode=Re(t.helper(of),a,s)}};function Cf(e,t){let r='"default"',s;const i=[];for(let o=0;o<e.props.length;o++){const a=e.props[o];if(a.type===6)a.value&&(a.name==="name"?r=JSON.stringify(a.value.content):(a.name=ur(a.name),i.push(a)));else if(a.name==="bind"&&rs(a.arg,"name")){if(a.exp)r=a.exp;else if(a.arg&&a.arg.type===4){const h=ur(a.arg.content);r=a.exp=Te(h,!1,a.arg.loc),r=a.exp=Dt(a.exp,t)}}else a.name==="bind"&&a.arg&&Xt(a.arg)&&(a.arg.content=ur(a.arg.content)),i.push(a)}if(i.length>0){const{props:o,directives:a}=Li(e,t,i,!1,!1);s=o,a.length&&t.onError(it(36,a[0].loc))}return{slotName:r,slotProps:s}}const Rc=(e,t,r,s)=>{const{loc:i,modifiers:o,arg:a}=e;!e.exp&&!o.length&&r.onError(it(35,i));let h;if(a.type===4)if(a.isStatic){let g=a.content;g.startsWith("vnode")&&r.onError(it(51,a.loc)),g.startsWith("vue:")&&(g=`vnode-${g.slice(4)}`);const y=t.tagType!==0||g.startsWith("vnode")||!/[A-Z]/.test(g)?u0(ur(g)):`on:${g}`;h=Te(y,!0,a.loc)}else h=Bt([`${r.helperString(xl)}(`,a,")"]);else h=a,h.children.unshift(`${r.helperString(xl)}(`),h.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let f=r.cacheHandlers&&!l&&!r.inVOnce;if(l){const g=gf(l,r),y=!(g||CS(l,r)),v=l.content.includes(";");r.prefixIdentifiers&&(y&&r.addIdentifiers("$event"),l=e.exp=Dt(l,r,!1,v),y&&r.removeIdentifiers("$event"),f=r.cacheHandlers&&!r.inVOnce&&!(l.type===4&&l.constType>0)&&!(g&&t.tagType===1)&&!lr(l,r.identifiers),f&&g&&(l.type===4?l.content=`${l.content} && ${l.content}(...args)`:l.children=[...l.children," && ",...l.children,"(...args)"])),(y||f&&g)&&(l=Bt([`${y?r.isTS?"($event: any)":"$event":`${r.isTS?`
|
|
//@ts-ignore
|
|
`:""}(...args)`} => ${v?"{":"("}`,l,v?"}":")"]))}let d={props:[at(h,l||Te("() => {}",!1,i))]};return s&&(d=s(d)),f&&(d.props[0].value=r.cache(d.props[0].value)),d.props.forEach(g=>g.key.isHandlerKey=!0),d},mk=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const r=e.children;let s,i=!1;for(let o=0;o<r.length;o++){const a=r[o];if(po(a)){i=!0;for(let h=o+1;h<r.length;h++){const l=r[h];if(po(l))s||(s=r[o]=Bt([a],a.loc)),s.children.push(" + ",l),r.splice(h,1),h--;else{s=void 0;break}}}}if(!(!i||r.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(o=>o.type===7&&!t.directiveTransforms[o.name]))))for(let o=0;o<r.length;o++){const a=r[o];if(po(a)||a.type===8){const h=[];(a.type!==2||a.content!==" ")&&h.push(a),!t.ssr&&pr(a,t)===0&&h.push(`1 /* ${al[1]} */`),r[o]={type:12,content:a,loc:a.loc,codegenNode:Re(t.helper(pc),h)}}}}},im=new WeakSet,gk=(e,t)=>{if(e.type===1&&Ot(e,"once",!0))return im.has(e)||t.inVOnce||t.inSSR?void 0:(im.add(e),t.inVOnce=!0,t.helper(Co),()=>{t.inVOnce=!1;const r=t.currentNode;r.codegenNode&&(r.codegenNode=t.cache(r.codegenNode,!0,!0))})},Mc=(e,t,r)=>{const{exp:s,arg:i}=e;if(!s)return r.onError(it(41,e.loc)),Qi();const o=s.loc.source.trim(),a=s.type===4?s.content:o,h=r.bindingMetadata[o];if(h==="props"||h==="props-aliased")return r.onError(it(44,s.loc)),Qi();const l=r.inline&&(h==="setup-let"||h==="setup-ref"||h==="setup-maybe-ref");if(!a.trim()||!gf(s,r)&&!l)return r.onError(it(42,s.loc)),Qi();if(r.prefixIdentifiers&&Is(a)&&r.identifiers[a])return r.onError(it(43,s.loc)),Qi();const f=i||Te("modelValue",!0),d=i?Xt(i)?`onUpdate:${ur(i.content)}`:Bt(['"onUpdate:" + ',i]):"onUpdate:modelValue";let g;const y=r.isTS?"($event: any)":"$event";if(l)if(h==="setup-ref")g=Bt([`${y} => ((`,Te(o,!1,s.loc),").value = $event)"]);else{const w=h==="setup-let"?`${o} = $event`:"null";g=Bt([`${y} => (${r.helperString(No)}(${o}) ? (`,Te(o,!1,s.loc),`).value = $event : ${w})`])}else g=Bt([`${y} => ((`,s,") = $event)"]);const v=[at(f,e.exp),at(d,g)];if(r.prefixIdentifiers&&!r.inVOnce&&r.cacheHandlers&&!lr(s,r.identifiers)&&(v[1].value=r.cache(v[1].value)),e.modifiers.length&&t.tagType===1){const w=e.modifiers.map(S=>S.content).map(S=>(Is(S)?S:JSON.stringify(S))+": true").join(", "),_=i?Xt(i)?`${i.content}Modifiers`:Bt([i,' + "Modifiers"']):"modelModifiers";v.push(at(_,Te(`{ ${w} }`,!1,e.loc,2)))}return Qi(v)};function Qi(e=[]){return{props:e}}const om=new WeakSet,yk=(e,t)=>{if(e.type===1){const r=Ot(e,"memo");return!r||om.has(e)?void 0:(om.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&bc(s,t),e.codegenNode=Re(t.helper(wc),[r.exp,xr(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function Nf(e){return[[gk,ok,yk,ck,...e?[Af,bf]:[],dk,QS,Pf,mk],{on:Rc,bind:Tf,model:Mc}]}function ZS(e,t={}){const r=t.onError||hf,s=t.mode==="module",i=t.prefixIdentifiers===!0||s;!i&&t.cacheHandlers&&r(it(49)),t.scopeId&&!s&&r(it(50));const o=ls({},t,{prefixIdentifiers:i}),a=Ke(e)?Ic(e,o):e,[h,l]=Nf(i);if(t.isTS){const{expressionPlugins:f}=t;(!f||!f.includes("typescript"))&&(t.expressionPlugins=[...f||[],"typescript"])}return _f(a,ls({},o,{nodeTransforms:[...h,...t.nodeTransforms||[]],directiveTransforms:ls({},l,t.directiveTransforms||{})})),wf(a,o)}const vk={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},mo=()=>({props:[]}),Of=Symbol("vModelRadio"),Lf=Symbol("vModelCheckbox"),Rf=Symbol("vModelText"),Mf=Symbol("vModelSelect"),Cl=Symbol("vModelDynamic"),Df=Symbol("vOnModifiersGuard"),Ff=Symbol("vOnKeysGuard"),Bf=Symbol("vShow"),qn=Symbol("Transition"),Ri=Symbol("TransitionGroup");cf({[Of]:"vModelRadio",[Lf]:"vModelCheckbox",[Rf]:"vModelText",[Mf]:"vModelSelect",[Cl]:"vModelDynamic",[Df]:"withModifiers",[Ff]:"withKeys",[Bf]:"vShow",[qn]:"Transition",[Ri]:"TransitionGroup"});const wi={parseMode:"html",isVoidTag:aS,isNativeTag:e=>E0(e)||T0(e)||x0(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:void 0,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return qn;if(e==="TransitionGroup"||e==="transition-group")return Ri},getNamespace(e,t,r){let s=t?t.ns:r;if(t&&s===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(s=0);else t&&s===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(s=0);if(s===0){if(e==="svg")return 1;if(e==="math")return 2}return s}},$f=e=>{e.type===1&&e.props.forEach((t,r)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[r]={type:7,name:"bind",arg:Te("style",!0,t.loc),exp:Sk(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Sk=(e,t)=>{const r=iS(e);return Te(JSON.stringify(r),!1,t,3)};function er(e,t){return it(e,t,jf)}const _k={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},jf={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},wk=(e,t,r)=>{const{exp:s,loc:i}=e;return s||r.onError(er(53,i)),t.children.length&&(r.onError(er(54,i)),t.children.length=0),{props:[at(Te("innerHTML",!0,i),s||Te("",!0))]}},bk=(e,t,r)=>{const{exp:s,loc:i}=e;return s||r.onError(er(55,i)),t.children.length&&(r.onError(er(56,i)),t.children.length=0),{props:[at(Te("textContent",!0),s?pr(s,r)>0?s:Re(r.helperString(Xo),[s],i):Te("",!0))]}},Ek=(e,t,r)=>{const s=Mc(e,t,r);if(!s.props.length||t.tagType===1)return s;e.arg&&r.onError(er(58,e.arg.loc));function i(){const h=Ot(t,"bind");h&&rs(h.arg,"value")&&r.onError(er(60,h.loc))}const{tag:o}=t,a=r.isCustomElement(o);if(o==="input"||o==="textarea"||o==="select"||a){let h=Rf,l=!1;if(o==="input"||a){const f=fr(t,"type");if(f){if(f.type===7)h=Cl;else if(f.value)switch(f.value.content){case"radio":h=Of;break;case"checkbox":h=Lf;break;case"file":l=!0,r.onError(er(59,e.loc));break;default:i();break}}else Ac(t)?h=Cl:i()}else o==="select"?h=Mf:i();l||(s.needRuntime=r.helper(h))}else r.onError(er(57,e.loc));return s.props=s.props.filter(h=>!(h.key.type===4&&h.key.content==="modelValue")),s},Tk=Kt("passive,once,capture"),xk=Kt("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),kk=Kt("left,right"),e_=Kt("onkeyup,onkeydown,onkeypress"),Pk=(e,t,r,s)=>{const i=[],o=[],a=[];for(let h=0;h<t.length;h++){const l=t[h].content;Tk(l)?a.push(l):kk(l)?Xt(e)?e_(e.content.toLowerCase())?i.push(l):o.push(l):(i.push(l),o.push(l)):xk(l)?o.push(l):i.push(l)}return{keyModifiers:i,nonKeyModifiers:o,eventOptionModifiers:a}},am=(e,t)=>Xt(e)&&e.content.toLowerCase()==="onclick"?Te(t,!0):e.type!==4?Bt(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Ak=(e,t,r)=>Rc(e,t,r,s=>{const{modifiers:i}=e;if(!i.length)return s;let{key:o,value:a}=s.props[0];const{keyModifiers:h,nonKeyModifiers:l,eventOptionModifiers:f}=Pk(o,i,r,e.loc);if(l.includes("right")&&(o=am(o,"onContextmenu")),l.includes("middle")&&(o=am(o,"onMouseup")),l.length&&(a=Re(r.helper(Df),[a,JSON.stringify(l)])),h.length&&(!Xt(o)||e_(o.content.toLowerCase()))&&(a=Re(r.helper(Ff),[a,JSON.stringify(h)])),f.length){const d=f.map(tn).join("");o=Xt(o)?Te(`${o.content}${d}`,!0):Bt(["(",o,`) + "${d}"`])}return{props:[at(o,a)]}}),Ik=(e,t,r)=>{const{exp:s,loc:i}=e;return s||r.onError(er(61,i)),{props:[],needRuntime:r.helper(Bf)}},Ck=(e,t)=>{if(e.type===1&&e.tagType===1&&t.isBuiltInComponent(e.tag)===qn)return()=>{if(!e.children.length)return;t_(e)&&t.onError(er(62,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}));const s=e.children[0];if(s.type===1)for(const i of s.props)i.type===7&&i.name==="show"&&e.props.push({type:6,name:"persisted",nameLoc:e.loc,value:void 0,loc:e.loc})}};function t_(e){const t=e.children=e.children.filter(s=>s.type!==3&&!(s.type===2&&!s.content.trim())),r=t[0];return t.length!==1||r.type===11||r.type===9&&r.branches.some(t_)}const Nk=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,Ok=(e,t,r)=>{if(t.scopes.vSlot>0)return;const s=r.type===1&&r.codegenNode&&r.codegenNode.type===13&&r.codegenNode.children&&!jt(r.codegenNode.children)&&r.codegenNode.children.type===20;let i=0,o=0;const a=[],h=f=>{if(i>=20||o>=5){const d=Re(t.helper(fc),[JSON.stringify(a.map(y=>Uf(y,t)).join("")).replace(Nk,'" + $1 + "'),String(a.length)]),g=a.length-1;if(s)e.splice(f-a.length,a.length,d);else if(a[0].codegenNode.value=d,a.length>1){e.splice(f-a.length+1,g);const y=t.cached.indexOf(a[a.length-1].codegenNode);if(y>-1){for(let v=y;v<t.cached.length;v++){const w=t.cached[v];w&&(w.index-=g)}t.cached.splice(y-g+1,g)}}return g}return 0};let l=0;for(;l<e.length;l++){const f=e[l];if(s||Lk(f)){const g=Dk(f);if(g){i+=g[0],o+=g[1],a.push(f);continue}}l-=h(l),i=0,o=0,a.length=0}h(l)},Lk=e=>{if((e.type===1&&e.tagType===0||e.type===12)&&e.codegenNode&&e.codegenNode.type===20)return e.codegenNode},Rk=/^(data|aria)-/,lm=(e,t)=>(t===0?C0(e):t===1?N0(e):t===2?O0(e):!1)||Rk.test(e),Mk=Kt("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function Dk(e){if(e.type===1&&Mk(e.tag))return!1;if(e.type===12)return[1,0];let t=1,r=e.props.length>0?1:0,s=!1;const i=()=>(s=!0,!1);function o(a){const h=a.tag==="option"&&a.ns===0;for(let l=0;l<a.props.length;l++){const f=a.props[l];if(f.type===6&&!lm(f.name,a.ns)||f.type===7&&f.name==="bind"&&(f.arg&&(f.arg.type===8||f.arg.isStatic&&!lm(f.arg.content,a.ns))||f.exp&&(f.exp.type===8||f.exp.constType<3)||h&&rs(f.arg,"value")&&f.exp&&!f.exp.isStatic))return i()}for(let l=0;l<a.children.length;l++){t++;const f=a.children[l];if(f.type===1&&(f.props.length>0&&r++,o(f),s))return!1}return!0}return o(e)?[t,r]:!1}function Uf(e,t){if(Ke(e))return e;if(on(e))return"";switch(e.type){case 1:return Fk(e,t);case 2:return ts(e.content);case 3:return`<!--${ts(e.content)}-->`;case 5:return ts(uc(Cn(e.content)));case 8:return ts(Cn(e));case 12:return Uf(e.content,t);default:return""}}function Fk(e,t){let r=`<${e.tag}`,s="";for(let i=0;i<e.props.length;i++){const o=e.props[i];if(o.type===6)r+=` ${o.name}`,o.value&&(r+=`="${ts(o.value.content)}"`);else if(o.type===7)if(o.name==="bind"){const a=o.exp;if(a.content[0]==="_"){r+=` ${o.arg.content}="__VUE_EXP_START__${a.content}__VUE_EXP_END__"`;continue}if(lS(o.arg.content)&&a.content==="false")continue;let h=Cn(a);if(h!=null){const l=o.arg&&o.arg.content;l==="class"?h=oS(h):l==="style"&&(h=v0(nS(h))),r+=` ${o.arg.content}="${ts(h)}"`}}else o.name==="html"?s=Cn(o.exp):o.name==="text"&&(s=ts(uc(Cn(o.exp))))}if(t.scopeId&&(r+=` ${t.scopeId}`),r+=">",s)r+=s;else for(let i=0;i<e.children.length;i++)r+=Uf(e.children[i],t);return aS(e.tag)||(r+=`</${e.tag}>`),r}function Cn(e){if(e.type===4)return new Function(`return (${e.content})`)();{let t="";return e.children.forEach(r=>{Ke(r)||on(r)||(r.type===2?t+=r.content:r.type===5?t+=uc(Cn(r.content)):t+=Cn(r))}),t}}const Bk=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&(t.onError(er(63,e.loc)),t.removeNode())};function $k(e,t){return e in cm?cm[e].has(t):t in um?um[t].has(e):!(e in hm&&hm[e].has(t)||t in pm&&pm[t].has(e))}const ti=new Set(["h1","h2","h3","h4","h5","h6"]),Sn=new Set([]),cm={head:new Set(["base","basefront","bgsound","link","meta","title","noscript","noframes","style","script","template"]),optgroup:new Set(["option"]),select:new Set(["optgroup","option","hr"]),table:new Set(["caption","colgroup","tbody","tfoot","thead"]),tr:new Set(["td","th"]),colgroup:new Set(["col"]),tbody:new Set(["tr"]),thead:new Set(["tr"]),tfoot:new Set(["tr"]),script:Sn,iframe:Sn,option:Sn,textarea:Sn,style:Sn,title:Sn},um={html:Sn,body:new Set(["html"]),head:new Set(["html"]),td:new Set(["tr"]),colgroup:new Set(["table"]),caption:new Set(["table"]),tbody:new Set(["table"]),tfoot:new Set(["table"]),col:new Set(["colgroup"]),th:new Set(["tr"]),thead:new Set(["table"]),tr:new Set(["tbody","thead","tfoot"]),dd:new Set(["dl","div"]),dt:new Set(["dl","div"]),figcaption:new Set(["figure"]),summary:new Set(["details"]),area:new Set(["map"])},hm={p:new Set(["address","article","aside","blockquote","center","details","dialog","dir","div","dl","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","menu","ol","p","pre","section","table","ul"]),svg:new Set(["b","blockquote","br","code","dd","div","dl","dt","em","embed","h1","h2","h3","h4","h5","h6","hr","i","img","li","menu","meta","ol","p","pre","ruby","s","small","span","strong","sub","sup","table","u","ul","var"])},pm={a:new Set(["a"]),button:new Set(["button"]),dd:new Set(["dd","dt"]),dt:new Set(["dd","dt"]),form:new Set(["form"]),li:new Set(["li"]),h1:ti,h2:ti,h3:ti,h4:ti,h5:ti,h6:ti},jk=(e,t)=>{if(e.type===1&&e.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!$k(t.parent.tag,e.tag)){const r=new SyntaxError(`<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);r.loc=e.loc,t.onWarn(r)}},qf=[$f,Ck,jk],Vf={cloak:mo,html:wk,text:bk,model:Ek,on:Ak,show:Ik};function Uk(e,t={}){return ZS(e,ls({},wi,t,{nodeTransforms:[Bk,...qf,...t.nodeTransforms||[]],directiveTransforms:ls({},Vf,t.directiveTransforms||{}),transformHoist:Ok}))}function qk(e,t={}){return Ic(e,ls({},wi,t))}var pp=Object.freeze({__proto__:null,BASE_TRANSITION:rf,BindingTypes:vk,CAMELIZE:Tl,CAPITALIZE:pS,CREATE_BLOCK:sf,CREATE_COMMENT:ki,CREATE_ELEMENT_BLOCK:nf,CREATE_ELEMENT_VNODE:hc,CREATE_SLOTS:af,CREATE_STATIC:fc,CREATE_TEXT:pc,CREATE_VNODE:zo,CompilerDeprecationTypes:Y0,ConstantTypes:$0,DOMDirectiveTransforms:Vf,DOMErrorCodes:_k,DOMErrorMessages:jf,DOMNodeTransforms:qf,ElementTypes:B0,ErrorCodes:tx,FRAGMENT:mi,GUARD_REACTIVE_PROPS:Pi,IS_MEMO_SAME:lf,IS_REF:No,KEEP_ALIVE:Ao,MERGE_PROPS:Rn,NORMALIZE_CLASS:yc,NORMALIZE_PROPS:gi,NORMALIZE_STYLE:vc,Namespaces:D0,NodeTypes:F0,OPEN_BLOCK:rn,POP_SCOPE_ID:dS,PUSH_SCOPE_ID:fS,RENDER_LIST:gc,RENDER_SLOT:of,RESOLVE_COMPONENT:Io,RESOLVE_DIRECTIVE:dc,RESOLVE_DYNAMIC_COMPONENT:Ho,RESOLVE_FILTER:hS,SET_BLOCK_TRACKING:Co,SUSPENSE:xi,TELEPORT:In,TO_DISPLAY_STRING:Xo,TO_HANDLERS:Sc,TO_HANDLER_KEY:xl,TRANSITION:qn,TRANSITION_GROUP:Ri,TS_NODE_TYPES:kc,UNREF:yi,V_MODEL_CHECKBOX:Lf,V_MODEL_DYNAMIC:Cl,V_MODEL_RADIO:Of,V_MODEL_SELECT:Mf,V_MODEL_TEXT:Rf,V_ON_WITH_KEYS:Ff,V_ON_WITH_MODIFIERS:Df,V_SHOW:Bf,WITH_CTX:_c,WITH_DIRECTIVES:mc,WITH_MEMO:wc,advancePositionWithClone:op,advancePositionWithMutation:yf,assert:ap,baseCompile:ZS,baseParse:Ic,buildDirectiveArgs:If,buildProps:Li,buildSlots:Mo,checkCompatEnabled:ex,compile:Uk,convertToBlock:bc,createArrayExpression:ks,createAssignmentExpression:ll,createBlockStatement:Jo,createCacheExpression:mS,createCallExpression:Re,createCompilerError:it,createCompoundExpression:Bt,createConditionalExpression:Br,createDOMCompilerError:er,createForLoopParams:Ro,createFunctionExpression:xr,createIfStatement:Pl,createInterpolation:kl,createObjectExpression:hr,createObjectProperty:at,createReturnStatement:yS,createRoot:Un,createSequenceExpression:gS,createSimpleExpression:Te,createStructuralDirectiveTransform:Yo,createTemplateLiteral:uf,createTransformContext:Ko,createVNodeCall:vi,errorMessages:pf,extractIdentifiers:wr,findDir:Ot,findProp:fr,forAliasRE:LS,generate:wf,generateCodeFrame:Ti,getBaseTransformPreset:Nf,getConstantType:pr,getMemoedVNodeCall:OS,getVNodeBlockHelper:Dn,getVNodeHelper:Mn,hasDynamicKeyVBind:Ac,hasScopeRef:lr,helperNameMap:cr,injectProp:Oo,isCoreComponent:mf,isFnExpression:CS,isFnExpressionBrowser:px,isFnExpressionNode:IS,isFunctionType:Xs,isInDestructureAssignment:Ii,isInNewExpression:ES,isMemberExpression:gf,isMemberExpressionBrowser:ux,isMemberExpressionNode:AS,isReferencedIdentifier:ff,isSimpleIdentifier:Is,isSlotOutlet:_i,isStaticArgOf:rs,isStaticExp:Xt,isStaticProperty:Ci,isStaticPropertyKey:PS,isTemplateNode:Si,isText:po,isVSlot:vf,locStub:Et,noopDirectiveTransform:mo,parse:qk,parserOptions:wi,processExpression:Dt,processFor:xf,processIf:Ef,processSlotOutlet:Cf,registerRuntimeHelpers:cf,resolveComponentType:Lc,stringifyExpression:Oc,toValidAssetId:Lo,trackSlotScopes:Pf,trackVForSlotScopes:Af,transform:_f,transformBind:Tf,transformElement:QS,transformExpression:bf,transformModel:Mc,transformOn:Rc,transformStyle:$f,traverseNode:Ni,unwrapTSNode:kr,walkBlockDeclarations:TS,walkFunctionParams:df,walkIdentifiers:Ai,warnDeprecation:wS}),Ru,fm;function Vk(){if(fm)return Ru;fm=1;function e(a,h){for(;a.length<h;)a="0"+a;return a}function t(a,h){var l,f,d;if(h.length===0)return a;for(l=0,d=h.length;l<d;l++)f=h.charCodeAt(l),a=(a<<5)-a+f,a|=0;return a<0?a*-2:a}function r(a,h,l){return Object.keys(h).sort().reduce(f,a);function f(d,g){return s(d,h[g],g,l)}}function s(a,h,l,f){var d=t(t(t(a,l),i(h)),typeof h);if(h===null)return t(d,"null");if(h===void 0)return t(d,"undefined");if(typeof h=="object"||typeof h=="function"){if(f.indexOf(h)!==-1)return t(d,"[Circular]"+l);f.push(h);var g=r(d,h,f);if(!("valueOf"in h)||typeof h.valueOf!="function")return g;try{return t(g,String(h.valueOf()))}catch(y){return t(g,"[valueOf exception]"+(y.stack||y.message))}}return t(d,h.toString())}function i(a){return Object.prototype.toString.call(a)}function o(a){return e(s(0,a,"",[]).toString(16),8)}return Ru=o,Ru}var Wk=Vk(),Gk=Ec(Wk);const Nl="useCssVars";function r_(e,t,r,s=!1){return`{
|
|
${e.map(i=>`"${s?"--":""}${s_(t,i,r,s)}": (${i})`).join(`,
|
|
`)}
|
|
}`}function s_(e,t,r,s=!1){return r?Gk(e+t):`${e}-${M0(t,s)}`}function n_(e){return e=e.trim(),e[0]==="'"&&e[e.length-1]==="'"||e[0]==='"'&&e[e.length-1]==='"'?e.slice(1,-1):e}const dl=/v-bind\s*\(/g;function zk(e){const t=[];return e.styles.forEach(r=>{let s;const i=r.content.replace(/\/\*([\s\S]*?)\*\/|\/\/.*/g,"");for(;s=dl.exec(i);){const o=s.index+s[0].length,a=i_(i,o);if(a!==null){const h=n_(i.slice(o,a));t.includes(h)||t.push(h)}}}),t}function i_(e,t){let r=0,s=0;for(let i=t;i<e.length;i++){const o=e.charAt(i);switch(r){case 0:if(o==="'")r=1;else if(o==='"')r=2;else if(o==="(")s++;else if(o===")")if(s>0)s--;else return i;break;case 1:o==="'"&&(r=0);break;case 2:o==='"'&&(r=0);break}}return null}const o_=e=>{const{id:t,isProd:r}=e;return{postcssPlugin:"vue-sfc-vars",Declaration(s){const i=s.value;if(dl.test(i)){dl.lastIndex=0;let o="",a=0,h;for(;h=dl.exec(i);){const l=h.index+h[0].length,f=i_(i,l);if(f!==null){const d=n_(i.slice(l,f));o+=i.slice(a,h.index)+`var(--${s_(t,d,r)})`,a=f+1}}s.value=o+i.slice(a)}}}};o_.postcss=!0;function a_(e,t,r,s){const i=r_(e,r,s),o=Te(i,!1),a=Ko(Un([]),{prefixIdentifiers:!0,inline:!0,bindingMetadata:t.__isScriptSetup===!1?void 0:t}),h=Dt(o,a),l=h.type===4?h.content:h.children.map(f=>typeof f=="string"?f:f.content).join("");return`_${Nl}(_ctx => (${l}))`}function Hk(e,t,r,s,i){return`
|
|
import { ${Nl} as _${Nl} } from 'vue'
|
|
const __injectCSSVars__ = () => {
|
|
${a_(e,t,r,s)}}
|
|
const __setup__ = ${i}.setup
|
|
${i}.setup = __setup__
|
|
? (props, ctx) => { __injectCSSVars__();return __setup__(props, ctx) }
|
|
: __injectCSSVars__
|
|
`}var sn=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};function l_(){throw new Error("setTimeout has not been defined")}function c_(){throw new Error("clearTimeout has not been defined")}var Vs=l_,Ws=c_;typeof sn.setTimeout=="function"&&(Vs=setTimeout);typeof sn.clearTimeout=="function"&&(Ws=clearTimeout);function u_(e){if(Vs===setTimeout)return setTimeout(e,0);if((Vs===l_||!Vs)&&setTimeout)return Vs=setTimeout,setTimeout(e,0);try{return Vs(e,0)}catch{try{return Vs.call(null,e,0)}catch{return Vs.call(this,e,0)}}}function Xk(e){if(Ws===clearTimeout)return clearTimeout(e);if((Ws===c_||!Ws)&&clearTimeout)return Ws=clearTimeout,clearTimeout(e);try{return Ws(e)}catch{try{return Ws.call(null,e)}catch{return Ws.call(this,e)}}}var Es=[],ci=!1,xn,ml=-1;function Jk(){!ci||!xn||(ci=!1,xn.length?Es=xn.concat(Es):ml=-1,Es.length&&h_())}function h_(){if(!ci){var e=u_(Jk);ci=!0;for(var t=Es.length;t;){for(xn=Es,Es=[];++ml<t;)xn&&xn[ml].run();ml=-1,t=Es.length}xn=null,ci=!1,Xk(e)}}function Kk(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Es.push(new p_(e,t)),Es.length===1&&!ci&&u_(h_)}function p_(e,t){this.fun=e,this.array=t}p_.prototype.run=function(){this.fun.apply(null,this.array)};var Yk="browser",Qk="browser",Zk=!0,eP={},tP=[],rP="",sP={},nP={},iP={};function Vn(){}var oP=Vn,aP=Vn,lP=Vn,cP=Vn,uP=Vn,hP=Vn,pP=Vn;function fP(e){throw new Error("process.binding is not supported")}function dP(){return"/"}function mP(e){throw new Error("process.chdir is not supported")}function gP(){return 0}var ii=sn.performance||{},yP=ii.now||ii.mozNow||ii.msNow||ii.oNow||ii.webkitNow||function(){return new Date().getTime()};function vP(e){var t=yP.call(ii)*.001,r=Math.floor(t),s=Math.floor(t%1*1e9);return e&&(r=r-e[0],s=s-e[1],s<0&&(r--,s+=1e9)),[r,s]}var SP=new Date;function _P(){var e=new Date,t=e-SP;return t/1e3}var dr={nextTick:Kk,title:Yk,browser:Zk,env:eP,argv:tP,version:rP,versions:sP,on:oP,addListener:aP,once:lP,off:cP,removeListener:uP,removeAllListeners:hP,emit:pP,binding:fP,cwd:dP,chdir:mP,umask:gP,hrtime:vP,platform:Qk,release:nP,config:iP,uptime:_P};function Dc(e=500){return new Map}function f_(e,t){return wP(t).has(e)}const dm=Dc();function wP(e){const{content:t,ast:r}=e.template,s=dm.get(t);if(s)return s;const i=new Set;r.children.forEach(o);function o(a){var h;switch(a.type){case 1:let l=a.tag;l.includes(".")&&(l=l.split(".")[0].trim()),!wi.isNativeTag(l)&&!wi.isBuiltInComponent(l)&&(i.add(ur(l)),i.add(tn(ur(l))));for(let f=0;f<a.props.length;f++){const d=a.props[f];d.type===7&&(tf(d.name)||i.add(`v${tn(ur(d.name))}`),d.arg&&!d.arg.isStatic&&wa(i,d.arg),d.name==="for"?wa(i,d.forParseResult.source):d.exp?wa(i,d.exp):d.name==="bind"&&!d.exp&&i.add(ur(d.arg.content))),d.type===6&&d.name==="ref"&&((h=d.value)!=null&&h.content)&&i.add(d.value.content)}a.children.forEach(o);break;case 5:wa(i,a.content);break}}return dm.set(t,i),i}function wa(e,t){t.ast?Ai(t.ast,r=>e.add(r.name)):t.ast===null&&e.add(t.content)}var bP=Object.defineProperty,EP=Object.defineProperties,TP=Object.getOwnPropertyDescriptors,mm=Object.getOwnPropertySymbols,xP=Object.prototype.hasOwnProperty,kP=Object.prototype.propertyIsEnumerable,gm=(e,t,r)=>t in e?bP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ym=(e,t)=>{for(var r in t||(t={}))xP.call(t,r)&&gm(e,r,t[r]);if(mm)for(var r of mm(t))kP.call(t,r)&&gm(e,r,t[r]);return e},vm=(e,t)=>EP(e,TP(t));const d_="anonymous.vue",fp=Dc();function m_(e,t={}){var r;const s=p0(e,vm(ym({},t),{compiler:{parse:(r=t.compiler)==null?void 0:r.parse}})),i=fp.get(s);if(i)return i;const{sourceMap:o=!0,filename:a=d_,sourceRoot:h="",pad:l=!1,ignoreEmpty:f=!0,compiler:d=pp,templateParseOptions:g={}}=t,y={filename:a,source:e,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:E=>LP(E,y)},v=[];d.parse(e,vm(ym({parseMode:"sfc",prefixIdentifiers:!0},g),{onError:E=>{v.push(E)}})).children.forEach(E=>{if(E.type===1&&!(f&&E.tag!=="template"&&OP(E)&&!NP(E)))switch(E.tag){case"template":if(y.template)v.push(Sm(E));else{const M=y.template=ba(E,e,!1);if(M.attrs.src||(M.ast=Un(E.children,e)),M.attrs.functional){const F=new SyntaxError("<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.");F.loc=E.props.find(x=>x.type===6&&x.name==="functional").loc,v.push(F)}}break;case"script":const P=ba(E,e,l),O=!!P.attrs.setup;if(O&&!y.scriptSetup){y.scriptSetup=P;break}if(!O&&!y.script){y.script=P;break}v.push(Sm(E,O));break;case"style":const A=ba(E,e,l);A.attrs.vars&&v.push(new SyntaxError("<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231")),y.styles.push(A);break;default:y.customBlocks.push(ba(E,e,l));break}}),!y.template&&!y.script&&!y.scriptSetup&&v.push(new SyntaxError(`At least one <template> or <script> is required in a single file component. ${y.filename}`)),y.scriptSetup&&(y.scriptSetup.src&&(v.push(new SyntaxError('<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.')),y.scriptSetup=null),y.script&&y.script.src&&(v.push(new SyntaxError('<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.')),y.script=null));let _=0;if(y.template&&(y.template.lang==="pug"||y.template.lang==="jade")&&([y.template.content,_]=RP(y.template.content)),o){const E=(P,O=0)=>{P&&!P.src&&(P.map=IP(a,e,P.content,h,!l||P.type==="template"?P.loc.start.line-1:0,O))};E(y.template,_),E(y.script),y.styles.forEach(P=>E(P)),y.customBlocks.forEach(P=>E(P))}y.cssVars=zk(y);const S=/(?:::v-|:)slotted\(/;y.slotted=y.styles.some(E=>E.scoped&&S.test(E.content));const k={descriptor:y,errors:v};return fp.set(s,k),k}function Sm(e,t=!1){const r=new SyntaxError(`Single file component can contain only one <${e.tag}${t?" setup":""}> element`);return r.loc=e.loc,r}function ba(e,t,r){const s=e.tag,i=e.innerLoc,o={},a={type:s,content:t.slice(i.start.offset,i.end.offset),loc:i,attrs:o};return r&&(a.content=CP(t,a,r)+a.content),e.props.forEach(h=>{if(h.type===6){const l=h.name;o[l]=h.value&&h.value.content||!0,l==="lang"?a.lang=h.value&&h.value.content:l==="src"?a.src=h.value&&h.value.content:s==="style"?l==="scoped"?a.scoped=!0:l==="module"&&(a.module=o[l]):s==="script"&&l==="setup"&&(a.setup=o.setup)}}),a}const g_=/\r?\n/g,PP=/^(?:\/\/)?\s*$/,AP=/./g;function IP(e,t,r,s,i,o){const a=new fo.SourceMapGenerator({file:e.replace(/\\/g,"/"),sourceRoot:s.replace(/\\/g,"/")});return a.setSourceContent(e,t),a._sources.add(e),r.split(g_).forEach((h,l)=>{if(!PP.test(h)){const f=l+1+i,d=l+1;for(let g=0;g<h.length;g++)/\s/.test(h[g])||a._mappings.add({originalLine:f,originalColumn:g+o,generatedLine:d,generatedColumn:g,source:e,name:null})}}),a.toJSON()}function CP(e,t,r){if(e=e.slice(0,t.loc.start.offset),r==="space")return e.replace(AP," ");{const s=e.split(g_).length,i=t.type==="script"&&!t.lang?`//
|
|
`:`
|
|
`;return Array(s).join(i)}}function NP(e){return e.props.some(t=>t.type!==6?!1:t.name==="src")}function OP(e){for(let t=0;t<e.children.length;t++){const r=e.children[t];if(r.type!==2||r.content.trim()!=="")return!1}return!0}function LP(e,t){if(!t.scriptSetup||t.scriptSetup.lang!=="ts"&&t.scriptSetup.lang!=="tsx")return!1;for(const r in e)if(!e[r].isUsedInTemplate&&f_(r,t))return!0;return!1}function RP(e){const t=e.split(`
|
|
`),r=t.reduce(function(s,i){var o,a;if(i.trim()==="")return s;const h=((a=(o=i.match(/^\s*/))==null?void 0:o[0])==null?void 0:a.length)||0;return Math.min(h,s)},1/0);return r===0?[e,r]:[t.map(function(s){return s.slice(r)}).join(`
|
|
`),r]}function y_(e,t){for(var r=0,s=e.length-1;s>=0;s--){var i=e[s];i==="."?e.splice(s,1):i===".."?(e.splice(s,1),r++):r&&(e.splice(s,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}var MP=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Wf=function(e){return MP.exec(e).slice(1)};function Ol(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var s=r>=0?arguments[r]:"/";if(typeof s!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!s)continue;e=s+"/"+e,t=s.charAt(0)==="/"}return e=y_(Xf(e.split("/"),function(i){return!!i}),!t).join("/"),(t?"/":"")+e||"."}function Gf(e){var t=zf(e),r=DP(e,-1)==="/";return e=y_(Xf(e.split("/"),function(s){return!!s}),!t).join("/"),!e&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function zf(e){return e.charAt(0)==="/"}function v_(){var e=Array.prototype.slice.call(arguments,0);return Gf(Xf(e,function(t,r){if(typeof t!="string")throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))}function S_(e,t){e=Ol(e).substr(1),t=Ol(t).substr(1);function r(f){for(var d=0;d<f.length&&f[d]==="";d++);for(var g=f.length-1;g>=0&&f[g]==="";g--);return d>g?[]:f.slice(d,g-d+1)}for(var s=r(e.split("/")),i=r(t.split("/")),o=Math.min(s.length,i.length),a=o,h=0;h<o;h++)if(s[h]!==i[h]){a=h;break}for(var l=[],h=a;h<s.length;h++)l.push("..");return l=l.concat(i.slice(a)),l.join("/")}var __="/",w_=":";function Ll(e){var t=Wf(e),r=t[0],s=t[1];return!r&&!s?".":(s&&(s=s.substr(0,s.length-1)),r+s)}function b_(e,t){var r=Wf(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function Hf(e){return Wf(e)[3]}var Cs={extname:Hf,basename:b_,dirname:Ll,sep:__,delimiter:w_,relative:S_,join:v_,isAbsolute:zf,normalize:Gf,resolve:Ol};function Xf(e,t){if(e.filter)return e.filter(t);for(var r=[],s=0;s<e.length;s++)t(e[s],s,e)&&r.push(e[s]);return r}var DP="ab".substr(-1)==="b"?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)},FP=Object.freeze({__proto__:null,basename:b_,default:Cs,delimiter:w_,dirname:Ll,extname:Hf,isAbsolute:zf,join:v_,normalize:Gf,relative:S_,resolve:Ol,sep:__});/*! https://mths.be/punycode v1.4.1 by @mathias */var Mu=2147483647,go=36,E_=1,dp=26,BP=38,$P=700,jP=72,UP=128,qP="-",VP=/[^\x20-\x7E]/,WP=/[\x2E\u3002\uFF0E\uFF61]/g,GP={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Du=go-E_,ai=Math.floor,Fu=String.fromCharCode;function _m(e){throw new RangeError(GP[e])}function zP(e,t){for(var r=e.length,s=[];r--;)s[r]=t(e[r]);return s}function HP(e,t){var r=e.split("@"),s="";r.length>1&&(s=r[0]+"@",e=r[1]),e=e.replace(WP,".");var i=e.split("."),o=zP(i,t).join(".");return s+o}function XP(e){for(var t=[],r=0,s=e.length,i,o;r<s;)i=e.charCodeAt(r++),i>=55296&&i<=56319&&r<s?(o=e.charCodeAt(r++),(o&64512)==56320?t.push(((i&1023)<<10)+(o&1023)+65536):(t.push(i),r--)):t.push(i);return t}function wm(e,t){return e+22+75*(e<26)-((t!=0)<<5)}function JP(e,t,r){var s=0;for(e=r?ai(e/$P):e>>1,e+=ai(e/t);e>Du*dp>>1;s+=go)e=ai(e/Du);return ai(s+(Du+1)*e/(e+BP))}function KP(e){var t,r,s,i,o,a,h,l,f,d,g,y=[],v,w,_,S;for(e=XP(e),v=e.length,t=UP,r=0,o=jP,a=0;a<v;++a)g=e[a],g<128&&y.push(Fu(g));for(s=i=y.length,i&&y.push(qP);s<v;){for(h=Mu,a=0;a<v;++a)g=e[a],g>=t&&g<h&&(h=g);for(w=s+1,h-t>ai((Mu-r)/w)&&_m("overflow"),r+=(h-t)*w,t=h,a=0;a<v;++a)if(g=e[a],g<t&&++r>Mu&&_m("overflow"),g==t){for(l=r,f=go;d=f<=o?E_:f>=o+dp?dp:f-o,!(l<d);f+=go)S=l-d,_=go-d,y.push(Fu(wm(d+S%_,0))),l=ai(S/_);y.push(Fu(wm(l,0))),o=JP(r,w,s==i),r=0,++s}++r,++t}return y.join("")}function YP(e){return HP(e,function(t){return VP.test(t)?"xn--"+KP(t):t})}var Zr=[],Nr=[],QP=typeof Uint8Array<"u"?Uint8Array:Array,Jf=!1;function T_(){Jf=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,r=e.length;t<r;++t)Zr[t]=e[t],Nr[e.charCodeAt(t)]=t;Nr[45]=62,Nr[95]=63}function ZP(e){Jf||T_();var t,r,s,i,o,a,h=e.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o=e[h-2]==="="?2:e[h-1]==="="?1:0,a=new QP(h*3/4-o),s=o>0?h-4:h;var l=0;for(t=0,r=0;t<s;t+=4,r+=3)i=Nr[e.charCodeAt(t)]<<18|Nr[e.charCodeAt(t+1)]<<12|Nr[e.charCodeAt(t+2)]<<6|Nr[e.charCodeAt(t+3)],a[l++]=i>>16&255,a[l++]=i>>8&255,a[l++]=i&255;return o===2?(i=Nr[e.charCodeAt(t)]<<2|Nr[e.charCodeAt(t+1)]>>4,a[l++]=i&255):o===1&&(i=Nr[e.charCodeAt(t)]<<10|Nr[e.charCodeAt(t+1)]<<4|Nr[e.charCodeAt(t+2)]>>2,a[l++]=i>>8&255,a[l++]=i&255),a}function eA(e){return Zr[e>>18&63]+Zr[e>>12&63]+Zr[e>>6&63]+Zr[e&63]}function tA(e,t,r){for(var s,i=[],o=t;o<r;o+=3)s=(e[o]<<16)+(e[o+1]<<8)+e[o+2],i.push(eA(s));return i.join("")}function bm(e){Jf||T_();for(var t,r=e.length,s=r%3,i="",o=[],a=16383,h=0,l=r-s;h<l;h+=a)o.push(tA(e,h,h+a>l?l:h+a));return s===1?(t=e[r-1],i+=Zr[t>>2],i+=Zr[t<<4&63],i+="=="):s===2&&(t=(e[r-2]<<8)+e[r-1],i+=Zr[t>>10],i+=Zr[t>>4&63],i+=Zr[t<<2&63],i+="="),o.push(i),o.join("")}function Fc(e,t,r,s,i){var o,a,h=i*8-s-1,l=(1<<h)-1,f=l>>1,d=-7,g=r?i-1:0,y=r?-1:1,v=e[t+g];for(g+=y,o=v&(1<<-d)-1,v>>=-d,d+=h;d>0;o=o*256+e[t+g],g+=y,d-=8);for(a=o&(1<<-d)-1,o>>=-d,d+=s;d>0;a=a*256+e[t+g],g+=y,d-=8);if(o===0)o=1-f;else{if(o===l)return a?NaN:(v?-1:1)*(1/0);a=a+Math.pow(2,s),o=o-f}return(v?-1:1)*a*Math.pow(2,o-s)}function x_(e,t,r,s,i,o){var a,h,l,f=o*8-i-1,d=(1<<f)-1,g=d>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=s?0:o-1,w=s?1:-1,_=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(h=isNaN(t)?1:0,a=d):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+g>=1?t+=y/l:t+=y*Math.pow(2,1-g),t*l>=2&&(a++,l/=2),a+g>=d?(h=0,a=d):a+g>=1?(h=(t*l-1)*Math.pow(2,i),a=a+g):(h=t*Math.pow(2,g-1)*Math.pow(2,i),a=0));i>=8;e[r+v]=h&255,v+=w,h/=256,i-=8);for(a=a<<i|h,f+=i;f>0;e[r+v]=a&255,v+=w,a/=256,f-=8);e[r+v-w]|=_*128}var rA={}.toString,k_=Array.isArray||function(e){return rA.call(e)=="[object Array]"};/*!
|
|
* The buffer module from node.js, for the browser.
|
|
*
|
|
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
* @license MIT
|
|
*/var sA=50;ge.TYPED_ARRAY_SUPPORT=sn.TYPED_ARRAY_SUPPORT!==void 0?sn.TYPED_ARRAY_SUPPORT:!0;Rl();function Rl(){return ge.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Ts(e,t){if(Rl()<t)throw new RangeError("Invalid typed array length");return ge.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=ge.prototype):(e===null&&(e=new ge(t)),e.length=t),e}function ge(e,t,r){if(!ge.TYPED_ARRAY_SUPPORT&&!(this instanceof ge))return new ge(e,t,r);if(typeof e=="number"){if(typeof t=="string")throw new Error("If encoding is specified then the first argument must be a string");return Kf(this,e)}return P_(this,e,t,r)}ge.poolSize=8192;ge._augment=function(e){return e.__proto__=ge.prototype,e};function P_(e,t,r,s){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer?oA(e,t,r,s):typeof t=="string"?iA(e,t,r):aA(e,t)}ge.from=function(e,t,r){return P_(null,e,t,r)};ge.TYPED_ARRAY_SUPPORT&&(ge.prototype.__proto__=Uint8Array.prototype,ge.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&ge[Symbol.species]);function A_(e){if(typeof e!="number")throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function nA(e,t,r,s){return A_(t),t<=0?Ts(e,t):r!==void 0?typeof s=="string"?Ts(e,t).fill(r,s):Ts(e,t).fill(r):Ts(e,t)}ge.alloc=function(e,t,r){return nA(null,e,t,r)};function Kf(e,t){if(A_(t),e=Ts(e,t<0?0:Yf(t)|0),!ge.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}ge.allocUnsafe=function(e){return Kf(null,e)};ge.allocUnsafeSlow=function(e){return Kf(null,e)};function iA(e,t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!ge.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var s=I_(t,r)|0;e=Ts(e,s);var i=e.write(t,r);return i!==s&&(e=e.slice(0,i)),e}function mp(e,t){var r=t.length<0?0:Yf(t.length)|0;e=Ts(e,r);for(var s=0;s<r;s+=1)e[s]=t[s]&255;return e}function oA(e,t,r,s){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(s||0))throw new RangeError("'length' is out of bounds");return r===void 0&&s===void 0?t=new Uint8Array(t):s===void 0?t=new Uint8Array(t,r):t=new Uint8Array(t,r,s),ge.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=ge.prototype):e=mp(e,t),e}function aA(e,t){if(fs(t)){var r=Yf(t.length)|0;return e=Ts(e,r),e.length===0||t.copy(e,0,0,r),e}if(t){if(typeof ArrayBuffer<"u"&&t.buffer instanceof ArrayBuffer||"length"in t)return typeof t.length!="number"||kA(t.length)?Ts(e,0):mp(e,t);if(t.type==="Buffer"&&k_(t.data))return mp(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Yf(e){if(e>=Rl())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Rl().toString(16)+" bytes");return e|0}ge.isBuffer=PA;function fs(e){return!!(e!=null&&e._isBuffer)}ge.compare=function(t,r){if(!fs(t)||!fs(r))throw new TypeError("Arguments must be Buffers");if(t===r)return 0;for(var s=t.length,i=r.length,o=0,a=Math.min(s,i);o<a;++o)if(t[o]!==r[o]){s=t[o],i=r[o];break}return s<i?-1:i<s?1:0};ge.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};ge.concat=function(t,r){if(!k_(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return ge.alloc(0);var s;if(r===void 0)for(r=0,s=0;s<t.length;++s)r+=t[s].length;var i=ge.allocUnsafe(r),o=0;for(s=0;s<t.length;++s){var a=t[s];if(!fs(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,o),o+=a.length}return i};function I_(e,t){if(fs(e))return e.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!="string"&&(e=""+e);var r=e.length;if(r===0)return 0;for(var s=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Ml(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return D_(e).length;default:if(s)return Ml(e).length;t=(""+t).toLowerCase(),s=!0}}ge.byteLength=I_;function lA(e,t,r){var s=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return vA(this,t,r);case"utf8":case"utf-8":return O_(this,t,r);case"ascii":return gA(this,t,r);case"latin1":case"binary":return yA(this,t,r);case"base64":return dA(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return SA(this,t,r);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}ge.prototype._isBuffer=!0;function kn(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}ge.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)kn(this,r,r+1);return this};ge.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)kn(this,r,r+3),kn(this,r+1,r+2);return this};ge.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)kn(this,r,r+7),kn(this,r+1,r+6),kn(this,r+2,r+5),kn(this,r+3,r+4);return this};ge.prototype.toString=function(){var t=this.length|0;return t===0?"":arguments.length===0?O_(this,0,t):lA.apply(this,arguments)};ge.prototype.equals=function(t){if(!fs(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:ge.compare(this,t)===0};ge.prototype.inspect=function(){var t="",r=sA;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"};ge.prototype.compare=function(t,r,s,i,o){if(!fs(t))throw new TypeError("Argument must be a Buffer");if(r===void 0&&(r=0),s===void 0&&(s=t?t.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||s>t.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=s)return 0;if(i>=o)return-1;if(r>=s)return 1;if(r>>>=0,s>>>=0,i>>>=0,o>>>=0,this===t)return 0;for(var a=o-i,h=s-r,l=Math.min(a,h),f=this.slice(i,o),d=t.slice(r,s),g=0;g<l;++g)if(f[g]!==d[g]){a=f[g],h=d[g];break}return a<h?-1:h<a?1:0};function C_(e,t,r,s,i){if(e.length===0)return-1;if(typeof r=="string"?(s=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=ge.from(t,s)),fs(t))return t.length===0?-1:Em(e,t,r,s,i);if(typeof t=="number")return t=t&255,ge.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Em(e,[t],r,s,i);throw new TypeError("val must be string, number or Buffer")}function Em(e,t,r,s,i){var o=1,a=e.length,h=t.length;if(s!==void 0&&(s=String(s).toLowerCase(),s==="ucs2"||s==="ucs-2"||s==="utf16le"||s==="utf-16le")){if(e.length<2||t.length<2)return-1;o=2,a/=2,h/=2,r/=2}function l(v,w){return o===1?v[w]:v.readUInt16BE(w*o)}var f;if(i){var d=-1;for(f=r;f<a;f++)if(l(e,f)===l(t,d===-1?0:f-d)){if(d===-1&&(d=f),f-d+1===h)return d*o}else d!==-1&&(f-=f-d),d=-1}else for(r+h>a&&(r=a-h),f=r;f>=0;f--){for(var g=!0,y=0;y<h;y++)if(l(e,f+y)!==l(t,y)){g=!1;break}if(g)return f}return-1}ge.prototype.includes=function(t,r,s){return this.indexOf(t,r,s)!==-1};ge.prototype.indexOf=function(t,r,s){return C_(this,t,r,s,!0)};ge.prototype.lastIndexOf=function(t,r,s){return C_(this,t,r,s,!1)};function cA(e,t,r,s){r=Number(r)||0;var i=e.length-r;s?(s=Number(s),s>i&&(s=i)):s=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");s>o/2&&(s=o/2);for(var a=0;a<s;++a){var h=parseInt(t.substr(a*2,2),16);if(isNaN(h))return a;e[r+a]=h}return a}function uA(e,t,r,s){return jc(Ml(t,e.length-r),e,r,s)}function N_(e,t,r,s){return jc(TA(t),e,r,s)}function hA(e,t,r,s){return N_(e,t,r,s)}function pA(e,t,r,s){return jc(D_(t),e,r,s)}function fA(e,t,r,s){return jc(xA(t,e.length-r),e,r,s)}ge.prototype.write=function(t,r,s,i){if(r===void 0)i="utf8",s=this.length,r=0;else if(s===void 0&&typeof r=="string")i=r,s=this.length,r=0;else if(isFinite(r))r=r|0,isFinite(s)?(s=s|0,i===void 0&&(i="utf8")):(i=s,s=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((s===void 0||s>o)&&(s=o),t.length>0&&(s<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return cA(this,t,r,s);case"utf8":case"utf-8":return uA(this,t,r,s);case"ascii":return N_(this,t,r,s);case"latin1":case"binary":return hA(this,t,r,s);case"base64":return pA(this,t,r,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fA(this,t,r,s);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};ge.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function dA(e,t,r){return t===0&&r===e.length?bm(e):bm(e.slice(t,r))}function O_(e,t,r){r=Math.min(e.length,r);for(var s=[],i=t;i<r;){var o=e[i],a=null,h=o>239?4:o>223?3:o>191?2:1;if(i+h<=r){var l,f,d,g;switch(h){case 1:o<128&&(a=o);break;case 2:l=e[i+1],(l&192)===128&&(g=(o&31)<<6|l&63,g>127&&(a=g));break;case 3:l=e[i+1],f=e[i+2],(l&192)===128&&(f&192)===128&&(g=(o&15)<<12|(l&63)<<6|f&63,g>2047&&(g<55296||g>57343)&&(a=g));break;case 4:l=e[i+1],f=e[i+2],d=e[i+3],(l&192)===128&&(f&192)===128&&(d&192)===128&&(g=(o&15)<<18|(l&63)<<12|(f&63)<<6|d&63,g>65535&&g<1114112&&(a=g))}}a===null?(a=65533,h=1):a>65535&&(a-=65536,s.push(a>>>10&1023|55296),a=56320|a&1023),s.push(a),i+=h}return mA(s)}var Tm=4096;function mA(e){var t=e.length;if(t<=Tm)return String.fromCharCode.apply(String,e);for(var r="",s=0;s<t;)r+=String.fromCharCode.apply(String,e.slice(s,s+=Tm));return r}function gA(e,t,r){var s="";r=Math.min(e.length,r);for(var i=t;i<r;++i)s+=String.fromCharCode(e[i]&127);return s}function yA(e,t,r){var s="";r=Math.min(e.length,r);for(var i=t;i<r;++i)s+=String.fromCharCode(e[i]);return s}function vA(e,t,r){var s=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>s)&&(r=s);for(var i="",o=t;o<r;++o)i+=EA(e[o]);return i}function SA(e,t,r){for(var s=e.slice(t,r),i="",o=0;o<s.length;o+=2)i+=String.fromCharCode(s[o]+s[o+1]*256);return i}ge.prototype.slice=function(t,r){var s=this.length;t=~~t,r=r===void 0?s:~~r,t<0?(t+=s,t<0&&(t=0)):t>s&&(t=s),r<0?(r+=s,r<0&&(r=0)):r>s&&(r=s),r<t&&(r=t);var i;if(ge.TYPED_ARRAY_SUPPORT)i=this.subarray(t,r),i.__proto__=ge.prototype;else{var o=r-t;i=new ge(o,void 0);for(var a=0;a<o;++a)i[a]=this[a+t]}return i};function Vt(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}ge.prototype.readUIntLE=function(t,r,s){t=t|0,r=r|0,s||Vt(t,r,this.length);for(var i=this[t],o=1,a=0;++a<r&&(o*=256);)i+=this[t+a]*o;return i};ge.prototype.readUIntBE=function(t,r,s){t=t|0,r=r|0,s||Vt(t,r,this.length);for(var i=this[t+--r],o=1;r>0&&(o*=256);)i+=this[t+--r]*o;return i};ge.prototype.readUInt8=function(t,r){return r||Vt(t,1,this.length),this[t]};ge.prototype.readUInt16LE=function(t,r){return r||Vt(t,2,this.length),this[t]|this[t+1]<<8};ge.prototype.readUInt16BE=function(t,r){return r||Vt(t,2,this.length),this[t]<<8|this[t+1]};ge.prototype.readUInt32LE=function(t,r){return r||Vt(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};ge.prototype.readUInt32BE=function(t,r){return r||Vt(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};ge.prototype.readIntLE=function(t,r,s){t=t|0,r=r|0,s||Vt(t,r,this.length);for(var i=this[t],o=1,a=0;++a<r&&(o*=256);)i+=this[t+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};ge.prototype.readIntBE=function(t,r,s){t=t|0,r=r|0,s||Vt(t,r,this.length);for(var i=r,o=1,a=this[t+--i];i>0&&(o*=256);)a+=this[t+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};ge.prototype.readInt8=function(t,r){return r||Vt(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};ge.prototype.readInt16LE=function(t,r){r||Vt(t,2,this.length);var s=this[t]|this[t+1]<<8;return s&32768?s|4294901760:s};ge.prototype.readInt16BE=function(t,r){r||Vt(t,2,this.length);var s=this[t+1]|this[t]<<8;return s&32768?s|4294901760:s};ge.prototype.readInt32LE=function(t,r){return r||Vt(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};ge.prototype.readInt32BE=function(t,r){return r||Vt(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};ge.prototype.readFloatLE=function(t,r){return r||Vt(t,4,this.length),Fc(this,t,!0,23,4)};ge.prototype.readFloatBE=function(t,r){return r||Vt(t,4,this.length),Fc(this,t,!1,23,4)};ge.prototype.readDoubleLE=function(t,r){return r||Vt(t,8,this.length),Fc(this,t,!0,52,8)};ge.prototype.readDoubleBE=function(t,r){return r||Vt(t,8,this.length),Fc(this,t,!1,52,8)};function gr(e,t,r,s,i,o){if(!fs(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+s>e.length)throw new RangeError("Index out of range")}ge.prototype.writeUIntLE=function(t,r,s,i){if(t=+t,r=r|0,s=s|0,!i){var o=Math.pow(2,8*s)-1;gr(this,t,r,s,o,0)}var a=1,h=0;for(this[r]=t&255;++h<s&&(a*=256);)this[r+h]=t/a&255;return r+s};ge.prototype.writeUIntBE=function(t,r,s,i){if(t=+t,r=r|0,s=s|0,!i){var o=Math.pow(2,8*s)-1;gr(this,t,r,s,o,0)}var a=s-1,h=1;for(this[r+a]=t&255;--a>=0&&(h*=256);)this[r+a]=t/h&255;return r+s};ge.prototype.writeUInt8=function(t,r,s){return t=+t,r=r|0,s||gr(this,t,r,1,255,0),ge.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=t&255,r+1};function Bc(e,t,r,s){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(s?i:1-i))>>>(s?i:1-i)*8}ge.prototype.writeUInt16LE=function(t,r,s){return t=+t,r=r|0,s||gr(this,t,r,2,65535,0),ge.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8):Bc(this,t,r,!0),r+2};ge.prototype.writeUInt16BE=function(t,r,s){return t=+t,r=r|0,s||gr(this,t,r,2,65535,0),ge.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=t&255):Bc(this,t,r,!1),r+2};function $c(e,t,r,s){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>(s?i:3-i)*8&255}ge.prototype.writeUInt32LE=function(t,r,s){return t=+t,r=r|0,s||gr(this,t,r,4,4294967295,0),ge.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255):$c(this,t,r,!0),r+4};ge.prototype.writeUInt32BE=function(t,r,s){return t=+t,r=r|0,s||gr(this,t,r,4,4294967295,0),ge.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255):$c(this,t,r,!1),r+4};ge.prototype.writeIntLE=function(t,r,s,i){if(t=+t,r=r|0,!i){var o=Math.pow(2,8*s-1);gr(this,t,r,s,o-1,-o)}var a=0,h=1,l=0;for(this[r]=t&255;++a<s&&(h*=256);)t<0&&l===0&&this[r+a-1]!==0&&(l=1),this[r+a]=(t/h>>0)-l&255;return r+s};ge.prototype.writeIntBE=function(t,r,s,i){if(t=+t,r=r|0,!i){var o=Math.pow(2,8*s-1);gr(this,t,r,s,o-1,-o)}var a=s-1,h=1,l=0;for(this[r+a]=t&255;--a>=0&&(h*=256);)t<0&&l===0&&this[r+a+1]!==0&&(l=1),this[r+a]=(t/h>>0)-l&255;return r+s};ge.prototype.writeInt8=function(t,r,s){return t=+t,r=r|0,s||gr(this,t,r,1,127,-128),ge.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[r]=t&255,r+1};ge.prototype.writeInt16LE=function(t,r,s){return t=+t,r=r|0,s||gr(this,t,r,2,32767,-32768),ge.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8):Bc(this,t,r,!0),r+2};ge.prototype.writeInt16BE=function(t,r,s){return t=+t,r=r|0,s||gr(this,t,r,2,32767,-32768),ge.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=t&255):Bc(this,t,r,!1),r+2};ge.prototype.writeInt32LE=function(t,r,s){return t=+t,r=r|0,s||gr(this,t,r,4,2147483647,-2147483648),ge.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):$c(this,t,r,!0),r+4};ge.prototype.writeInt32BE=function(t,r,s){return t=+t,r=r|0,s||gr(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),ge.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255):$c(this,t,r,!1),r+4};function L_(e,t,r,s,i,o){if(r+s>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function R_(e,t,r,s,i){return i||L_(e,t,r,4),x_(e,t,r,s,23,4),r+4}ge.prototype.writeFloatLE=function(t,r,s){return R_(this,t,r,!0,s)};ge.prototype.writeFloatBE=function(t,r,s){return R_(this,t,r,!1,s)};function M_(e,t,r,s,i){return i||L_(e,t,r,8),x_(e,t,r,s,52,8),r+8}ge.prototype.writeDoubleLE=function(t,r,s){return M_(this,t,r,!0,s)};ge.prototype.writeDoubleBE=function(t,r,s){return M_(this,t,r,!1,s)};ge.prototype.copy=function(t,r,s,i){if(s||(s=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<s&&(i=s),i===s||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(s<0||s>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-s&&(i=t.length-r+s);var o=i-s,a;if(this===t&&s<r&&r<i)for(a=o-1;a>=0;--a)t[a+r]=this[a+s];else if(o<1e3||!ge.TYPED_ARRAY_SUPPORT)for(a=0;a<o;++a)t[a+r]=this[a+s];else Uint8Array.prototype.set.call(t,this.subarray(s,s+o),r);return o};ge.prototype.fill=function(t,r,s,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,s=this.length):typeof s=="string"&&(i=s,s=this.length),t.length===1){var o=t.charCodeAt(0);o<256&&(t=o)}if(i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!ge.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else typeof t=="number"&&(t=t&255);if(r<0||this.length<r||this.length<s)throw new RangeError("Out of range index");if(s<=r)return this;r=r>>>0,s=s===void 0?this.length:s>>>0,t||(t=0);var a;if(typeof t=="number")for(a=r;a<s;++a)this[a]=t;else{var h=fs(t)?t:Ml(new ge(t,i).toString()),l=h.length;for(a=0;a<s-r;++a)this[a+r]=h[a%l]}return this};var _A=/[^+\/0-9A-Za-z-_]/g;function wA(e){if(e=bA(e).replace(_A,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function bA(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function EA(e){return e<16?"0"+e.toString(16):e.toString(16)}function Ml(e,t){t=t||1/0;for(var r,s=e.length,i=null,o=[],a=0;a<s;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}else if(a+1===s){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function TA(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function xA(e,t){for(var r,s,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),s=r>>8,i=r%256,o.push(i),o.push(s);return o}function D_(e){return ZP(wA(e))}function jc(e,t,r,s){for(var i=0;i<s&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function kA(e){return e!==e}function PA(e){return e!=null&&(!!e._isBuffer||F_(e)||AA(e))}function F_(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function AA(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&F_(e.slice(0,0))}var Dl;typeof Object.create=="function"?Dl=function(t,r){t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:Dl=function(t,r){t.super_=r;var s=function(){};s.prototype=r.prototype,t.prototype=new s,t.prototype.constructor=t};var B_=Object.getOwnPropertyDescriptors||function(t){for(var r=Object.keys(t),s={},i=0;i<r.length;i++)s[r[i]]=Object.getOwnPropertyDescriptor(t,r[i]);return s},IA=/%[sdj%]/g;function Uc(e){if(!ln(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(cs(arguments[r]));return t.join(" ")}for(var r=1,s=arguments,i=s.length,o=String(e).replace(IA,function(h){if(h==="%%")return"%";if(r>=i)return h;switch(h){case"%s":return String(s[r++]);case"%d":return Number(s[r++]);case"%j":try{return JSON.stringify(s[r++])}catch{return"[Circular]"}default:return h}}),a=s[r];r<i;a=s[++r])xs(a)||!Os(a)?o+=" "+a:o+=" "+cs(a);return o}function Qf(e,t){if(ss(sn.process))return function(){return Qf(e,t).apply(this,arguments)};if(dr.noDeprecation===!0)return e;var r=!1;function s(){if(!r){if(dr.throwDeprecation)throw new Error(t);dr.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}return s}var Ea={},Bu;function $_(e){if(ss(Bu)&&(Bu=dr.env.NODE_DEBUG||""),e=e.toUpperCase(),!Ea[e])if(new RegExp("\\b"+e+"\\b","i").test(Bu)){var t=0;Ea[e]=function(){var r=Uc.apply(null,arguments);console.error("%s %d: %s",e,t,r)}}else Ea[e]=function(){};return Ea[e]}function cs(e,t){var r={seen:[],stylize:NA};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),qc(t)?r.showHidden=t:t&&s1(r,t),ss(r.showHidden)&&(r.showHidden=!1),ss(r.depth)&&(r.depth=2),ss(r.colors)&&(r.colors=!1),ss(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=CA),Fl(r,e,r.depth)}cs.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};cs.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function CA(e,t){var r=cs.styles[t];return r?"\x1B["+cs.colors[r][0]+"m"+e+"\x1B["+cs.colors[r][1]+"m":e}function NA(e,t){return e}function OA(e){var t={};return e.forEach(function(r,s){t[r]=!0}),t}function Fl(e,t,r){if(e.customInspect&&t&&So(t.inspect)&&t.inspect!==cs&&!(t.constructor&&t.constructor.prototype===t)){var s=t.inspect(r,e);return ln(s)||(s=Fl(e,s,r)),s}var i=LA(e,t);if(i)return i;var o=Object.keys(t),a=OA(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),vo(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return $u(t);if(o.length===0){if(So(t)){var h=t.name?": "+t.name:"";return e.stylize("[Function"+h+"]","special")}if(yo(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Bl(t))return e.stylize(Date.prototype.toString.call(t),"date");if(vo(t))return $u(t)}var l="",f=!1,d=["{","}"];if(Zf(t)&&(f=!0,d=["[","]"]),So(t)){var g=t.name?": "+t.name:"";l=" [Function"+g+"]"}if(yo(t)&&(l=" "+RegExp.prototype.toString.call(t)),Bl(t)&&(l=" "+Date.prototype.toUTCString.call(t)),vo(t)&&(l=" "+$u(t)),o.length===0&&(!f||t.length==0))return d[0]+l+d[1];if(r<0)return yo(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var y;return f?y=RA(e,t,r,a,o):y=o.map(function(v){return gp(e,t,r,a,v,f)}),e.seen.pop(),MA(y,l,d)}function LA(e,t){if(ss(t))return e.stylize("undefined","undefined");if(ln(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(t1(t))return e.stylize(""+t,"number");if(qc(t))return e.stylize(""+t,"boolean");if(xs(t))return e.stylize("null","null")}function $u(e){return"["+Error.prototype.toString.call(e)+"]"}function RA(e,t,r,s,i){for(var o=[],a=0,h=t.length;a<h;++a)W_(t,String(a))?o.push(gp(e,t,r,s,String(a),!0)):o.push("");return i.forEach(function(l){l.match(/^\d+$/)||o.push(gp(e,t,r,s,l,!0))}),o}function gp(e,t,r,s,i,o){var a,h,l;if(l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},l.get?l.set?h=e.stylize("[Getter/Setter]","special"):h=e.stylize("[Getter]","special"):l.set&&(h=e.stylize("[Setter]","special")),W_(s,i)||(a="["+i+"]"),h||(e.seen.indexOf(l.value)<0?(xs(r)?h=Fl(e,l.value,null):h=Fl(e,l.value,r-1),h.indexOf(`
|
|
`)>-1&&(o?h=h.split(`
|
|
`).map(function(f){return" "+f}).join(`
|
|
`).substr(2):h=`
|
|
`+h.split(`
|
|
`).map(function(f){return" "+f}).join(`
|
|
`))):h=e.stylize("[Circular]","special")),ss(a)){if(o&&i.match(/^\d+$/))return h;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+h}function MA(e,t,r){var s=e.reduce(function(i,o){return o.indexOf(`
|
|
`)>=0,i+o.replace(/\u001b\[\d\d?m/g,"").length+1},0);return s>60?r[0]+(t===""?"":t+`
|
|
`)+" "+e.join(`,
|
|
`)+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function Zf(e){return Array.isArray(e)}function qc(e){return typeof e=="boolean"}function xs(e){return e===null}function e1(e){return e==null}function t1(e){return typeof e=="number"}function ln(e){return typeof e=="string"}function j_(e){return typeof e=="symbol"}function ss(e){return e===void 0}function yo(e){return Os(e)&&r1(e)==="[object RegExp]"}function Os(e){return typeof e=="object"&&e!==null}function Bl(e){return Os(e)&&r1(e)==="[object Date]"}function vo(e){return Os(e)&&(r1(e)==="[object Error]"||e instanceof Error)}function So(e){return typeof e=="function"}function U_(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}function q_(e){return ge.isBuffer(e)}function r1(e){return Object.prototype.toString.call(e)}function ju(e){return e<10?"0"+e.toString(10):e.toString(10)}var DA=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function FA(){var e=new Date,t=[ju(e.getHours()),ju(e.getMinutes()),ju(e.getSeconds())].join(":");return[e.getDate(),DA[e.getMonth()],t].join(" ")}function V_(){console.log("%s - %s",FA(),Uc.apply(null,arguments))}function s1(e,t){if(!t||!Os(t))return e;for(var r=Object.keys(t),s=r.length;s--;)e[r[s]]=t[r[s]];return e}function W_(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var _n=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function n1(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');if(_n&&e[_n]){var t=e[_n];if(typeof t!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,_n,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var r,s,i=new Promise(function(h,l){r=h,s=l}),o=[],a=0;a<arguments.length;a++)o.push(arguments[a]);o.push(function(h,l){h?s(h):r(l)});try{e.apply(this,o)}catch(h){s(h)}return i}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),_n&&Object.defineProperty(t,_n,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,B_(e))}n1.custom=_n;function BA(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function G_(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');function t(){for(var r=[],s=0;s<arguments.length;s++)r.push(arguments[s]);var i=r.pop();if(typeof i!="function")throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,r).then(function(h){dr.nextTick(a.bind(null,null,h))},function(h){dr.nextTick(BA.bind(null,h,a))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,B_(e)),t}var $A={inherits:Dl,_extend:s1,log:V_,isBuffer:q_,isPrimitive:U_,isFunction:So,isError:vo,isDate:Bl,isObject:Os,isRegExp:yo,isUndefined:ss,isSymbol:j_,isString:ln,isNumber:t1,isNullOrUndefined:e1,isNull:xs,isBoolean:qc,isArray:Zf,inspect:cs,deprecate:Qf,format:Uc,debuglog:$_,promisify:n1,callbackify:G_},jA=Object.freeze({__proto__:null,_extend:s1,callbackify:G_,debuglog:$_,default:$A,deprecate:Qf,format:Uc,inherits:Dl,inspect:cs,isArray:Zf,isBoolean:qc,isBuffer:q_,isDate:Bl,isError:vo,isFunction:So,isNull:xs,isNullOrUndefined:e1,isNumber:t1,isObject:Os,isPrimitive:U_,isRegExp:yo,isString:ln,isSymbol:j_,isUndefined:ss,log:V_,promisify:n1});function UA(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var z_=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function Uu(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function qA(e,t,r,s){return t=t||"&",r=r||"=",e===null&&(e=void 0),typeof e=="object"?xm(VA(e),function(i){var o=encodeURIComponent(Uu(i))+r;return z_(e[i])?xm(e[i],function(a){return o+encodeURIComponent(Uu(a))}).join(t):o+encodeURIComponent(Uu(e[i]))}).join(t):""}function xm(e,t){if(e.map)return e.map(t);for(var r=[],s=0;s<e.length;s++)r.push(t(e[s],s));return r}var VA=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t};function km(e,t,r,s){t=t||"&",r=r||"=";var i={};if(typeof e!="string"||e.length===0)return i;var o=/\+/g;e=e.split(t);var a=1e3,h=e.length;h>a&&(h=a);for(var l=0;l<h;++l){var f=e[l].replace(o,"%20"),d=f.indexOf(r),g,y,v,w;d>=0?(g=f.substr(0,d),y=f.substr(d+1)):(g=f,y=""),v=decodeURIComponent(g),w=decodeURIComponent(y),UA(i,v)?z_(i[v])?i[v].push(w):i[v]=[i[v],w]:i[v]=w}return i}const H_=sn.URL,X_=sn.URLSearchParams;var WA={parse:Mi,resolve:Q_,resolveObject:Z_,fileURLToPath:K_,format:Y_,Url:Tr,URL:H_,URLSearchParams:X_};function Tr(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var GA=/^([a-z0-9.+-]+:)/i,zA=/:[0-9]*$/,HA=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,XA=["<",">",'"',"`"," ","\r",`
|
|
`," "],JA=["{","}","|","\\","^","`"].concat(XA),yp=["'"].concat(JA),Pm=["%","/","?",";","#"].concat(yp),Am=["/","?","#"],KA=255,Im=/^[+a-z0-9A-Z_-]{0,63}$/,YA=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,QA={javascript:!0,"javascript:":!0},vp={javascript:!0,"javascript:":!0},ui={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Mi(e,t,r){if(e&&Os(e)&&e instanceof Tr)return e;var s=new Tr;return s.parse(e,t,r),s}Tr.prototype.parse=function(e,t,r){return J_(this,e,t,r)};function J_(e,t,r,s){if(!ln(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),o=i!==-1&&i<t.indexOf("#")?"?":"#",a=t.split(o),h=/\\/g;a[0]=a[0].replace(h,"/"),t=a.join(o);var l=t;if(l=l.trim(),!s&&t.split("#").length===1){var f=HA.exec(l);if(f)return e.path=l,e.href=l,e.pathname=f[1],f[2]?(e.search=f[2],r?e.query=km(e.search.substr(1)):e.query=e.search.substr(1)):r&&(e.search="",e.query={}),e}var d=GA.exec(l);if(d){d=d[0];var g=d.toLowerCase();e.protocol=g,l=l.substr(d.length)}if(s||d||l.match(/^\/\/[^@\/]+@[^@\/]+/)){var y=l.substr(0,2)==="//";y&&!(d&&vp[d])&&(l=l.substr(2),e.slashes=!0)}var v,w,_,S;if(!vp[d]&&(y||d&&!ui[d])){var k=-1;for(v=0;v<Am.length;v++)w=l.indexOf(Am[v]),w!==-1&&(k===-1||w<k)&&(k=w);var E,P;for(k===-1?P=l.lastIndexOf("@"):P=l.lastIndexOf("@",k),P!==-1&&(E=l.slice(0,P),l=l.slice(P+1),e.auth=decodeURIComponent(E)),k=-1,v=0;v<Pm.length;v++)w=l.indexOf(Pm[v]),w!==-1&&(k===-1||w<k)&&(k=w);k===-1&&(k=l.length),e.host=l.slice(0,k),l=l.slice(k),ew(e),e.hostname=e.hostname||"";var O=e.hostname[0]==="["&&e.hostname[e.hostname.length-1]==="]";if(!O){var A=e.hostname.split(/\./);for(v=0,_=A.length;v<_;v++){var M=A[v];if(M&&!M.match(Im)){for(var F="",x=0,I=M.length;x<I;x++)M.charCodeAt(x)>127?F+="x":F+=M[x];if(!F.match(Im)){var R=A.slice(0,v),L=A.slice(v+1),z=M.match(YA);z&&(R.push(z[1]),L.unshift(z[2])),L.length&&(l="/"+L.join(".")+l),e.hostname=R.join(".");break}}}}e.hostname.length>KA?e.hostname="":e.hostname=e.hostname.toLowerCase(),O||(e.hostname=YP(e.hostname)),S=e.port?":"+e.port:"";var J=e.hostname||"";e.host=J+S,e.href+=e.host,O&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),l[0]!=="/"&&(l="/"+l))}if(!QA[g])for(v=0,_=yp.length;v<_;v++){var re=yp[v];if(l.indexOf(re)!==-1){var V=encodeURIComponent(re);V===re&&(V=escape(re)),l=l.split(re).join(V)}}var ee=l.indexOf("#");ee!==-1&&(e.hash=l.substr(ee),l=l.slice(0,ee));var G=l.indexOf("?");if(G!==-1?(e.search=l.substr(G),e.query=l.substr(G+1),r&&(e.query=km(e.query)),l=l.slice(0,G)):r&&(e.search="",e.query={}),l&&(e.pathname=l),ui[g]&&e.hostname&&!e.pathname&&(e.pathname="/"),e.pathname||e.search){S=e.pathname||"";var Q=e.search||"";e.path=S+Q}return e.href=i1(e),e}function K_(e){if(typeof e=="string")e=new Tr().parse(e);else if(!(e instanceof Tr))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof e+String(e));if(e.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return ZA(e)}function ZA(e){const t=e.pathname;for(let r=0;r<t.length;r++)if(t[r]==="%"){const s=t.codePointAt(r+2)|32;if(t[r+1]==="2"&&s===102)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(t)}function Y_(e){return ln(e)&&(e=J_({},e)),i1(e)}function i1(e){var t=e.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var r=e.protocol||"",s=e.pathname||"",i=e.hash||"",o=!1,a="";e.host?o=t+e.host:e.hostname&&(o=t+(e.hostname.indexOf(":")===-1?e.hostname:"["+this.hostname+"]"),e.port&&(o+=":"+e.port)),e.query&&Os(e.query)&&Object.keys(e.query).length&&(a=qA(e.query));var h=e.search||a&&"?"+a||"";return r&&r.substr(-1)!==":"&&(r+=":"),e.slashes||(!r||ui[r])&&o!==!1?(o="//"+(o||""),s&&s.charAt(0)!=="/"&&(s="/"+s)):o||(o=""),i&&i.charAt(0)!=="#"&&(i="#"+i),h&&h.charAt(0)!=="?"&&(h="?"+h),s=s.replace(/[?#]/g,function(l){return encodeURIComponent(l)}),h=h.replace("#","%23"),r+o+s+h+i}Tr.prototype.format=function(){return i1(this)};function Q_(e,t){return Mi(e,!1,!0).resolve(t)}Tr.prototype.resolve=function(e){return this.resolveObject(Mi(e,!1,!0)).format()};function Z_(e,t){return e?Mi(e,!1,!0).resolveObject(t):t}Tr.prototype.resolveObject=function(e){if(ln(e)){var t=new Tr;t.parse(e,!1,!0),e=t}for(var r=new Tr,s=Object.keys(this),i=0;i<s.length;i++){var o=s[i];r[o]=this[o]}if(r.hash=e.hash,e.href==="")return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),h=0;h<a.length;h++){var l=a[h];l!=="protocol"&&(r[l]=e[l])}return ui[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}var f;if(e.protocol&&e.protocol!==r.protocol){if(!ui[e.protocol]){for(var d=Object.keys(e),g=0;g<d.length;g++){var y=d[g];r[y]=e[y]}return r.href=r.format(),r}if(r.protocol=e.protocol,!e.host&&!vp[e.protocol]){for(f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),f[0]!==""&&f.unshift(""),f.length<2&&f.unshift(""),r.pathname=f.join("/")}else r.pathname=e.pathname;if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var v=r.pathname||"",w=r.search||"";r.path=v+w}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var _=r.pathname&&r.pathname.charAt(0)==="/",S=e.host||e.pathname&&e.pathname.charAt(0)==="/",k=S||_||r.host&&e.pathname,E=k,P=r.pathname&&r.pathname.split("/")||[],O=r.protocol&&!ui[r.protocol];f=e.pathname&&e.pathname.split("/")||[],O&&(r.hostname="",r.port=null,r.host&&(P[0]===""?P[0]=r.host:P.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(f[0]===""?f[0]=e.host:f.unshift(e.host)),e.host=null),k=k&&(f[0]===""||P[0]===""));var A;if(S)r.host=e.host||e.host===""?e.host:r.host,r.hostname=e.hostname||e.hostname===""?e.hostname:r.hostname,r.search=e.search,r.query=e.query,P=f;else if(f.length)P||(P=[]),P.pop(),P=P.concat(f),r.search=e.search,r.query=e.query;else if(!e1(e.search))return O&&(r.hostname=r.host=P.shift(),A=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1,A&&(r.auth=A.shift(),r.host=r.hostname=A.shift())),r.search=e.search,r.query=e.query,(!xs(r.pathname)||!xs(r.search))&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!P.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var M=P.slice(-1)[0],F=(r.host||e.host||P.length>1)&&(M==="."||M==="..")||M==="",x=0,I=P.length;I>=0;I--)M=P[I],M==="."?P.splice(I,1):M===".."?(P.splice(I,1),x++):x&&(P.splice(I,1),x--);if(!k&&!E)for(;x--;x)P.unshift("..");k&&P[0]!==""&&(!P[0]||P[0].charAt(0)!=="/")&&P.unshift(""),F&&P.join("/").substr(-1)!=="/"&&P.push("");var R=P[0]===""||P[0]&&P[0].charAt(0)==="/";return O&&(r.hostname=r.host=R?"":P.length?P.shift():"",A=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1,A&&(r.auth=A.shift(),r.host=r.hostname=A.shift())),k=k||r.host&&P.length,k&&!R&&P.unshift(""),P.length?r.pathname=P.join("/"):(r.pathname=null,r.path=null),(!xs(r.pathname)||!xs(r.search))&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r};Tr.prototype.parseHost=function(){return ew(this)};function ew(e){var t=e.host,r=zA.exec(t);r&&(r=r[0],r!==":"&&(e.port=r.substr(1)),t=t.substr(0,t.length-r.length)),t&&(e.hostname=t)}var eI=Object.freeze({__proto__:null,URL:H_,URLSearchParams:X_,Url:Tr,default:WA,fileURLToPath:K_,format:Y_,parse:Mi,resolve:Q_,resolveObject:Z_});function tw(e){const t=e.charAt(0);return t==="."||t==="~"||t==="@"}const tI=/^(https?:)?\/\//;function rw(e){return tI.test(e)}const rI=/^\s*data:/i;function Sp(e){return rI.test(e)}function _p(e){if(e.charAt(0)==="~"){const r=e.charAt(1);e=e.slice(r==="/"?2:1)}return sI(e)}function sI(e){return Mi(Ke(e)?e:"",!1,!0)}var nI=Object.defineProperty,iI=Object.defineProperties,oI=Object.getOwnPropertyDescriptors,Cm=Object.getOwnPropertySymbols,aI=Object.prototype.hasOwnProperty,lI=Object.prototype.propertyIsEnumerable,Nm=(e,t,r)=>t in e?nI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,qu=(e,t)=>{for(var r in t||(t={}))aI.call(t,r)&&Nm(e,r,t[r]);if(Cm)for(var r of Cm(t))lI.call(t,r)&&Nm(e,r,t[r]);return e},cI=(e,t)=>iI(e,oI(t));const Do={base:null,includeAbsolute:!1,tags:{video:["src","poster"],source:["src"],img:["src"],image:["xlink:href","href"],use:["xlink:href","href"]}},uI=e=>Object.keys(e).some(t=>jt(e[t]))?cI(qu({},Do),{tags:e}):qu(qu({},Do),e),hI=e=>(t,r)=>sw(t,r,e),sw=(e,t,r=Do)=>{if(e.type===1){if(!e.props.length)return;const s=r.tags||Do.tags,i=s[e.tag],o=s["*"];if(!i&&!o)return;const a=(i||[]).concat(o||[]);e.props.forEach((h,l)=>{if(h.type!==6||!a.includes(h.name)||!h.value||rw(h.value.content)||Sp(h.value.content)||h.value.content[0]==="#"||!r.includeAbsolute&&!tw(h.value.content))return;const f=_p(h.value.content);if(r.base&&h.value.content[0]==="."){const g=_p(r.base),y=g.protocol||"",v=g.host?y+"//"+g.host:"",w=g.path||"/";h.value.content=v+(Cs.posix||Cs).join(w,f.path+(f.hash||""));return}const d=pI(f.path,f.hash,h.loc,t);e.props[l]={type:7,name:"bind",arg:Te(h.name,!0,h.loc),exp:d,modifiers:[],loc:h.loc}})}};function pI(e,t,r,s){if(e){let i,o;const a=s.imports.findIndex(d=>d.path===e);if(a>-1?(i=`_imports_${a}`,o=s.imports[a].exp):(i=`_imports_${s.imports.length}`,o=Te(i,!1,r,3),s.imports.push({exp:o,path:decodeURIComponent(e)})),!t)return o;const h=`${i} + '${t}'`,l=Te(h,!1,r,3);if(!s.hoistStatic)return l;const f=s.hoists.findIndex(d=>d&&d.type===4&&!d.isStatic&&d.content===h);return f>-1?Te(`_hoisted_${f+1}`,!1,r,3):s.hoist(l)}else return Te("''",!1,r,3)}const fI=["img","source"],dI=/( |\\t|\\n|\\f|\\r)+/g,mI=e=>(t,r)=>nw(t,r,e),nw=(e,t,r=Do)=>{e.type===1&&fI.includes(e.tag)&&e.props.length&&e.props.forEach((s,i)=>{if(s.name==="srcset"&&s.type===6){if(!s.value)return;const o=s.value.content;if(!o)return;const a=o.split(",").map(d=>{const[g,y]=d.replace(dI," ").trim().split(" ",2);return{url:g,descriptor:y}});for(let d=0;d<a.length;d++){const{url:g}=a[d];Sp(g)&&(a[d+1].url=g+","+a[d+1].url,a.splice(d,1))}const h=d=>!rw(d)&&!Sp(d)&&(r.includeAbsolute||tw(d));if(!a.some(({url:d})=>h(d)))return;if(r.base){const d=r.base,g=[];let y=!1;if(a.forEach(v=>{let{url:w,descriptor:_}=v;_=_?` ${_}`:"",w[0]==="."?(v.url=(Cs.posix||Cs).join(d,w),g.push(v.url+_)):h(w)?y=!0:g.push(w+_)}),!y){s.value.content=g.join(", ");return}}const l=Bt([],s.loc);a.forEach(({url:d,descriptor:g},y)=>{if(h(d)){const{path:w}=_p(d);let _;if(w){const S=t.imports.findIndex(k=>k.path===w);S>-1?_=Te(`_imports_${S}`,!1,s.loc,3):(_=Te(`_imports_${t.imports.length}`,!1,s.loc,3),t.imports.push({exp:_,path:w})),l.children.push(_)}}else{const w=Te(`"${d}"`,!1,s.loc,3);l.children.push(w)}const v=a.length-1>y;g&&v?l.children.push(` + ' ${g}, ' + `):g?l.children.push(` + ' ${g}'`):v&&l.children.push(" + ', ' + ")});let f=l;t.hoistStatic&&(f=t.hoist(l),f.constType=3),e.props[i]={type:7,name:"bind",arg:Te("srcset",!0,s.loc),exp:f,modifiers:[],loc:s.loc}}})},$l=Symbol("ssrInterpolate"),iw=Symbol("ssrRenderVNode"),ow=Symbol("ssrRenderComponent"),aw=Symbol("ssrRenderSlot"),lw=Symbol("ssrRenderSlotInner"),cw=Symbol("ssrRenderClass"),uw=Symbol("ssrRenderStyle"),o1=Symbol("ssrRenderAttrs"),hw=Symbol("ssrRenderAttr"),pw=Symbol("ssrRenderDynamicAttr"),fw=Symbol("ssrRenderList"),a1=Symbol("ssrIncludeBooleanAttr"),gl=Symbol("ssrLooseEqual"),wp=Symbol("ssrLooseContain"),dw=Symbol("ssrRenderDynamicModel"),mw=Symbol("ssrGetDynamicModelProps"),gw=Symbol("ssrRenderTeleport"),yw=Symbol("ssrRenderSuspense"),vw=Symbol("ssrGetDirectiveProps"),bp={[$l]:"ssrInterpolate",[iw]:"ssrRenderVNode",[ow]:"ssrRenderComponent",[aw]:"ssrRenderSlot",[lw]:"ssrRenderSlotInner",[cw]:"ssrRenderClass",[uw]:"ssrRenderStyle",[o1]:"ssrRenderAttrs",[hw]:"ssrRenderAttr",[pw]:"ssrRenderDynamicAttr",[fw]:"ssrRenderList",[a1]:"ssrIncludeBooleanAttr",[gl]:"ssrLooseEqual",[wp]:"ssrLooseContain",[dw]:"ssrRenderDynamicModel",[mw]:"ssrGetDynamicModelProps",[gw]:"ssrRenderTeleport",[yw]:"ssrRenderSuspense",[vw]:"ssrGetDirectiveProps"};cf(bp);const gI=Yo(/^(if|else|else-if)$/,Ef);function yI(e,t,r=!1,s=!1){const[i]=e.branches,o=Pl(i.condition,Om(i,t,r));t.pushStatement(o);let a=o;for(let h=1;h<e.branches.length;h++){const l=e.branches[h],f=Om(l,t,r);l.condition?a=a.alternate=Pl(l.condition,f):a.alternate=f}!a.alternate&&!s&&(a.alternate=Jo([Re("_push",["`<!---->`"])]))}function Om(e,t,r=!1){const{children:s}=e,i=!r&&(s.length!==1||s[0].type!==1)&&!(s.length===1&&s[0].type===11);return Di(e,t,i)}const vI=Yo("for",xf);function SI(e,t,r=!1){const s=!r&&(e.children.length!==1||e.children[0].type!==1),i=xr(Ro(e.parseResult));i.body=Di(e,t,s),r||t.pushStringPart("<!--[-->"),t.pushStatement(Re(t.helper(fw),[e.source,i])),r||t.pushStringPart("<!--]-->")}const _I=(e,t)=>{if(_i(e)){const{slotName:r,slotProps:s}=Cf(e,t),i=["_ctx.$slots",r,s||"{}","null","_push","_parent"];t.scopeId&&t.slotted!==!1&&i.push(`"${t.scopeId}-s"`);let o=aw,a=t.parent;if(a){const h=a.children;a.type===10&&(a=t.grandParent);let l;a.type===1&&a.tagType===1&&((l=Lc(a,t,!0))===qn||l===Ri)&&h.filter(f=>f.type===1).length===1&&(o=lw,t.scopeId&&t.slotted!==!1||i.push("null"),i.push("true"))}e.ssrCodegenNode=Re(t.helper(o),i)}};function wI(e,t){const r=e.ssrCodegenNode;if(e.children.length){const s=xr([]);s.body=Di(e,t),r.arguments[3]=s}if(t.withSlotScopeId){const s=r.arguments[6];r.arguments[6]=s?`${s} + _scopeId`:"_scopeId"}t.pushStatement(e.ssrCodegenNode)}function Fo(e,t){return it(e,t,bI)}const bI={65:"Unsafe attribute name for SSR.",66:"Missing the 'to' prop on teleport element.",67:"Invalid AST node during SSR transform."};function EI(e,t){const r=fr(e,"to");if(!r){t.onError(Fo(66,e.loc));return}let s;if(r.type===6?s=r.value&&Te(r.value.content,!0):s=r.exp,!s){t.onError(Fo(66,r.loc));return}const i=fr(e,"disabled",!1,!0),o=i?i.type===6?"true":i.exp||"false":"false",a=xr(["_push"],void 0,!0,!1,e.loc);a.body=Di(e,t),t.pushStatement(Re(t.helper(gw),["_push",a,s,o,"_parent"]))}const Sw=new WeakMap;function TI(e,t){return()=>{if(e.children.length){const r={slotsExp:null,wipSlots:[]};Sw.set(e,r),r.slotsExp=Mo(e,t,(s,i,o,a)=>{const h=xr([],void 0,!0,!1,a);return r.wipSlots.push({fn:h,children:o}),h}).slots}}}function xI(e,t){const r=Sw.get(e);if(!r)return;const{slotsExp:s,wipSlots:i}=r;for(let o=0;o<i.length;o++){const a=i[o];a.fn.body=Di(a,t)}t.pushStatement(Re(t.helper(yw),["_push",s]))}const uo=new WeakMap,kI=(e,t)=>{if(!(e.type!==1||e.tagType!==0))return function(){const s=[`<${e.tag}`],i=e.tag==="textarea"||e.tag.indexOf("-")>0,o=Ac(e),a=e.props.some(g=>g.type===7&&!tf(g.name)),h=o||a;if(h){const{props:g,directives:y}=Li(e,t,e.props,!1,!1,!0);if(g||y.length){const v=l1(g,y,t),w=Re(t.helper(o1),[v]);if(e.tag==="textarea"){const _=e.children[0];if(!_||_.type!==5){const S=`_temp${t.temps++}`;w.arguments=[ll(Te(S,!1),v)],uo.set(e,Re(t.helper($l),[Br(Te(`"value" in ${S}`,!1),Te(`${S}.value`,!1),Te(_?_.content:"",!0),!1)]))}}else if(e.tag==="input"){const _=CI(e);if(_){const S=`_temp${t.temps++}`,k=Te(S,!1);w.arguments=[gS([ll(k,v),Re(t.helper(Rn),[k,Re(t.helper(mw),[k,_.exp])])])]}}else if(y.length&&!e.children.length&&!Ot(e,"text")){const S=`_temp${t.temps++}`;w.arguments=[ll(Te(S,!1),v)],uo.set(e,Br(Te(`"textContent" in ${S}`,!1),Re(t.helper($l),[Te(`${S}.textContent`,!1)]),Te(`${S}.innerHTML ?? ''`,!1),!1))}i&&w.arguments.push(`"${e.tag}"`),s.push(w)}}let l,f,d;for(let g=0;g<e.props.length;g++){const y=e.props[g];if(!(e.tag==="input"&&PI(y)))if(y.type===7){if(y.name==="html"&&y.exp)uo.set(e,Bt(["(",y.exp,") ?? ''"]));else if(y.name==="text"&&y.exp)e.children=[kl(y.exp,y.loc)];else if(y.name==="slot")t.onError(it(40,y.loc));else if(AI(e,y)&&y.exp)h||(e.children=[kl(y.exp,y.loc)]);else if(!h&&y.name!=="on"){const v=t.directiveTransforms[y.name];if(v){const{props:w,ssrTagParts:_}=v(y,e,t);_&&s.push(..._);for(let S=0;S<w.length;S++){const{key:k,value:E}=w[S];if(Xt(k)){let P=k.content;if(P==="key"||P==="ref")continue;P==="class"?s.push(' class="',l=Re(t.helper(cw),[E]),'"'):P==="style"?d?Lm(d,E):s.push(' style="',d=Re(t.helper(uw),[E]),'"'):(P=e.tag.indexOf("-")>0?P:I0[P]||P.toLowerCase(),lS(P)?s.push(Br(Re(t.helper(a1),[E]),Te(" "+P,!0),Te("",!0),!1)):A0(P)?s.push(Re(t.helper(hw),[k,E])):t.onError(Fo(65,k.loc)))}else{const P=[k,E];i&&P.push(`"${e.tag}"`),s.push(Re(t.helper(pw),P))}}}}}else{const v=y.name;if(e.tag==="textarea"&&v==="value"&&y.value)uo.set(e,ts(y.value.content));else if(!h){if(v==="key"||v==="ref")continue;v==="class"&&y.value&&(f=JSON.stringify(y.value.content)),s.push(` ${y.name}`+(y.value?`="${ts(y.value.content)}"`:""))}}}l&&f&&(Lm(l,f),II(s,"class")),t.scopeId&&s.push(` ${t.scopeId}`),e.ssrCodegenNode=uf(s)}};function l1(e,t,r){let s=[];if(e&&(e.type===14?s=e.arguments:s.push(e)),t.length)for(const i of t)s.push(Re(r.helper(vw),["_ctx",...If(i,r).elements]));return s.length>1?Re(r.helper(Rn),s):s[0]}function PI(e){return e.type===7?e.name==="bind"&&e.arg&&Xt(e.arg)&&(e.arg.content==="true-value"||e.arg.content==="false-value"):e.name==="true-value"||e.name==="false-value"}function AI(e,t){return!!(e.tag==="textarea"&&t.name==="bind"&&rs(t.arg,"value"))}function Lm(e,t){const r=e.arguments[0];r.type===17?r.elements.push(t):e.arguments[0]=ks([r,t])}function II(e,t){const r=new RegExp(`^ ${t}=".+"$`),s=e.findIndex(i=>typeof i=="string"&&r.test(i));s>-1&&e.splice(s,1)}function CI(e){return e.props.find(t=>t.type===7&&t.name==="model"&&t.exp)}function NI(e,t){const r=t.options.isVoidTag||co,s=e.ssrCodegenNode.elements;for(let o=0;o<s.length;o++)t.pushStringPart(s[o]);t.withSlotScopeId&&t.pushStringPart(Te("_scopeId",!1)),t.pushStringPart(">");const i=uo.get(e);i?t.pushStringPart(i):e.children.length&&As(e,t),r(e.tag)||t.pushStringPart(`</${e.tag}>`)}const _w=new WeakMap;function OI(e,t){return()=>{const r=fr(e,"tag");if(r){const s=e.props.filter(h=>h!==r),{props:i,directives:o}=Li(e,t,s,!0,!1,!0);let a=null;(i||o.length)&&(a=Re(t.helper(o1),[l1(i,o,t)])),_w.set(e,{tag:r,propsExp:a,scopeId:t.scopeId||null})}}}function LI(e,t){const r=_w.get(e);if(r){const{tag:s,propsExp:i,scopeId:o}=r;s.type===7?(t.pushStringPart("<"),t.pushStringPart(s.exp),i&&t.pushStringPart(i),o&&t.pushStringPart(` ${o}`),t.pushStringPart(">"),As(e,t,!1,!0,!0),t.pushStringPart("</"),t.pushStringPart(s.exp),t.pushStringPart(">")):(t.pushStringPart(`<${s.value.content}`),i&&t.pushStringPart(i),o&&t.pushStringPart(` ${o}`),t.pushStringPart(">"),As(e,t,!1,!0,!0),t.pushStringPart(`</${s.value.content}>`))}else As(e,t,!0,!0,!0)}const ww=new WeakMap;function RI(e,t){return()=>{const r=fr(e,"appear",!1,!0);ww.set(e,!!r)}}function MI(e,t){e.children=e.children.filter(s=>s.type!==3),ww.get(e)?(t.pushStringPart("<template>"),As(e,t,!1,!0),t.pushStringPart("</template>")):As(e,t,!1,!0)}var DI=Object.defineProperty,FI=Object.defineProperties,BI=Object.getOwnPropertyDescriptors,Rm=Object.getOwnPropertySymbols,$I=Object.prototype.hasOwnProperty,jI=Object.prototype.propertyIsEnumerable,Mm=(e,t,r)=>t in e?DI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Nn=(e,t)=>{for(var r in t||(t={}))$I.call(t,r)&&Mm(e,r,t[r]);if(Rm)for(var r of Rm(t))jI.call(t,r)&&Mm(e,r,t[r]);return e},UI=(e,t)=>FI(e,BI(t));const bw=new WeakMap,Ew=Symbol(),Tw=new WeakMap,qI=(e,t)=>{if(e.type!==1||e.tagType!==1)return;const r=Lc(e,t,!0),s=an(r)&&r.callee===Ho;if(Tw.set(e,r),on(r))return r===xi?TI(e,t):r===Ri?OI(e,t):r===qn?RI(e):void 0;const i=[],o=Ep(e);return function(){o.children.length&&Mo(o,t,(g,y,v)=>(i.push(XI(g,y,v,t)),xr(void 0)));let h="null";if(e.props.length){const{props:g,directives:y}=Li(e,t,void 0,!0,s);(g||y.length)&&(h=l1(g,y,t))}const l=[];bw.set(e,l);const f=(g,y,v,w)=>{const _=g&&Oc(g)||"_",S=xr([_,"_push","_parent","_scopeId"],void 0,!0,!0,w);return l.push({type:Ew,fn:S,children:v,vnodeBranch:i[l.length]}),S},d=e.children.length?Mo(e,t,f).slots:"null";typeof r!="string"?e.ssrCodegenNode=Re(t.helper(iw),["_push",Re(t.helper(zo),[r,h,d]),"_parent"]):e.ssrCodegenNode=Re(t.helper(ow),[r,h,d,"_parent"])}};function VI(e,t,r){const s=Tw.get(e);if(e.ssrCodegenNode){const i=bw.get(e)||[];for(let o=0;o<i.length;o++){const{fn:a,vnodeBranch:h}=i[o];a.body=Pl(Te("_push",!1),Di(i[o],t,!1,!0),h)}t.withSlotScopeId&&e.ssrCodegenNode.arguments.push("_scopeId"),typeof s=="string"?t.pushStatement(Re("_push",[e.ssrCodegenNode])):t.pushStatement(e.ssrCodegenNode)}else{if(s===In)return EI(e,t);if(s===xi)return xI(e,t);if(s===Ri)return LI(e,t);if(r.type===Ew&&t.pushStringPart(""),s===qn)return MI(e,t);As(e,t)}}const xw=new WeakMap,[WI,GI]=Nf(!0),zI=[...WI,...qf],HI=Nn(Nn({},GI),Vf);function XI(e,t,r,s){const i=xw.get(s.root),o=UI(Nn({},i),{nodeTransforms:[...zI,...i.nodeTransforms||[]],directiveTransforms:Nn(Nn({},HI),i.directiveTransforms||{})}),a=[];return e&&a.push({type:7,name:"slot",exp:e,arg:void 0,modifiers:[],loc:Et}),t&&a.push(ls({},t)),JI({type:1,ns:0,tag:"template",tagType:3,props:a,children:r,loc:Et,codegenNode:void 0},o,s),yS(r)}function JI(e,t,r){const s=Un([e]),i=Ko(s,t);i.ssr=!1,i.scopes=Nn({},r.scopes),i.identifiers=Nn({},r.identifiers),i.imports=r.imports,Ni(s,i),["helpers","components","directives"].forEach(o=>{i[o].forEach((a,h)=>{if(o==="helpers"){const l=r.helpers.get(h);l===void 0?r.helpers.set(h,a):r.helpers.set(h,a+l)}else r[o].add(a)})})}function Ep(e){if(jt(e))return e.map(Ep);if(rS(e)){const t={};for(const r in e)t[r]=Ep(e[r]);return t}else return e}function KI(e,t){const r=kw(e,t);if(t.ssrCssVars){const i=Ko(Un([]),t),o=Dt(Te(t.ssrCssVars,!1),i);r.body.push(Bt(["const _cssVars = { style: ",o,"}"])),Array.from(i.helpers.keys()).forEach(a=>{e.helpers.add(a)})}const s=e.children.length>1&&e.children.some(i=>!po(i));As(e,r,s),e.codegenNode=Jo(r.body),e.ssrHelpers=Array.from(new Set([...Array.from(e.helpers).filter(i=>i in bp),...r.helpers])),e.helpers=new Set(Array.from(e.helpers).filter(i=>!(i in bp)))}function kw(e,t,r=new Set,s=!1){const i=[];let o=null;return{root:e,options:t,body:i,helpers:r,withSlotScopeId:s,onError:t.onError||(a=>{throw a}),helper(a){return r.add(a),a},pushStringPart(a){if(!o){const f=Re("_push");i.push(f),o=uf([]),f.arguments.push(o)}const h=o.elements,l=h[h.length-1];Ke(a)&&Ke(l)?h[h.length-1]+=a:h.push(a)},pushStatement(a){o=null,i.push(a)}}}function YI(e,t=e.withSlotScopeId){return kw(e.root,e.options,e.helpers,t)}function As(e,t,r=!1,s=!1,i=!1){r&&t.pushStringPart("<!--[-->");const{children:o}=e;for(let a=0;a<o.length;a++){const h=o[a];switch(h.type){case 1:switch(h.tagType){case 0:NI(h,t);break;case 1:VI(h,t,e);break;case 2:wI(h,t);break;case 3:break;default:return t.onError(Fo(67,h.loc)),h}break;case 2:t.pushStringPart(ts(h.content));break;case 3:i||t.pushStringPart(`<!--${h.content}-->`);break;case 5:t.pushStringPart(Re(t.helper($l),[h.content]));break;case 9:yI(h,t,s,i);break;case 11:SI(h,t,s);break;case 10:break;case 12:case 8:break;default:return t.onError(Fo(67,h.loc)),h}}r&&t.pushStringPart("<!--]-->")}function Di(e,t,r=!1,s=t.withSlotScopeId){const i=YI(t,s);return As(e,i,r),Jo(i.body)}const QI=(e,t,r)=>{const s=e.exp;function i(){const a=fr(t,"value");a&&r.onError(er(60,a.loc))}function o(a){if(a.tag==="option"){if(a.props.findIndex(h=>h.name==="selected")===-1){const h=Dm(a);a.ssrCodegenNode.elements.push(Br(Re(r.helper(a1),[Br(Re("Array.isArray",[s]),Re(r.helper(wp),[s,h]),Re(r.helper(gl),[s,h]))]),Te(" selected",!0),Te("",!0),!1))}}else a.tag==="optgroup"&&a.children.forEach(h=>o(h))}if(t.tagType===0){const a={props:[]},h=[at("value",s)];if(t.tag==="input"){const l=fr(t,"type");if(l){const f=Dm(t);if(l.type===7)a.ssrTagParts=[Re(r.helper(dw),[l.exp,s,f])];else if(l.value)switch(l.value.content){case"radio":a.props=[at("checked",Re(r.helper(gl),[s,f]))];break;case"checkbox":const d=fr(t,"true-value");if(d){const g=d.type===6?JSON.stringify(d.value.content):d.exp;a.props=[at("checked",Re(r.helper(gl),[s,g]))]}else a.props=[at("checked",Br(Re("Array.isArray",[s]),Re(r.helper(wp),[s,f]),s))];break;case"file":r.onError(er(59,e.loc));break;default:i(),a.props=h;break}}else Ac(t)||(i(),a.props=h)}else if(t.tag==="textarea")i(),t.children=[kl(s,s.loc)];else if(t.tag==="select"){const l=f=>{f.forEach(d=>{d.type===1?o(d):d.type===11?l(d.children):d.type===9&&d.branches.forEach(g=>l(g.children))})};l(t.children)}else r.onError(er(57,e.loc));return a}else return Mc(e,t,r)};function Dm(e){const t=fr(e,"value");return t?t.type===7?t.exp:Te(t.value.content,!0):Te("null",!1)}const ZI=(e,t,r)=>(e.exp||r.onError(er(61)),{props:[at("style",Br(e.exp,Te("null",!1),hr([at("display",Te("none",!0))]),!1))]}),Tp=e=>e.children.filter(t=>t.type!==3),Vu=e=>Tp(e).length===1,eC=(e,t)=>{if(e.type===0&&(t.identifiers._attrs=1),e.type===1&&e.tagType===1&&(e.tag==="transition"||e.tag==="Transition"||e.tag==="KeepAlive"||e.tag==="keep-alive")){const s=Tp(t.root);if(s.length===1&&s[0]===e){Vu(e)&&Wu(e.children[0]);return}}const r=t.parent;if(!(!r||r.type!==0))if(e.type===10&&Vu(e)){let s=!1;for(const i of Tp(r))if(i.type===9||i.type===1&&Ot(i,"if")){if(s)return;s=!0}else if(!s||!(i.type===1&&Ot(i,/else/,!0)))return;Wu(e.children[0])}else Vu(r)&&Wu(e)};function Wu(e){e.type===1&&(e.tagType===0||e.tagType===1)&&!Ot(e,"for")&&e.props.push({type:7,name:"bind",arg:void 0,exp:Te("_attrs",!1),modifiers:[],loc:Et})}const tC=(e,t)=>{if(!t.ssrCssVars)return;e.type===0&&(t.identifiers._cssVars=1);const r=t.parent;if(!(!r||r.type!==0))if(e.type===10)for(const s of e.children)jl(s);else jl(e)};function jl(e){if(e.type===1&&(e.tagType===0||e.tagType===1)&&!Ot(e,"for"))if(e.tag==="suspense"||e.tag==="Suspense")for(const t of e.children)t.type===1&&t.tagType===3?t.children.forEach(jl):jl(t);else e.props.push({type:7,name:"bind",arg:void 0,exp:Te("_cssVars",!1),modifiers:[],loc:Et})}var rC=Object.defineProperty,sC=Object.defineProperties,nC=Object.getOwnPropertyDescriptors,Fm=Object.getOwnPropertySymbols,iC=Object.prototype.hasOwnProperty,oC=Object.prototype.propertyIsEnumerable,Bm=(e,t,r)=>t in e?rC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ta=(e,t)=>{for(var r in t||(t={}))iC.call(t,r)&&Bm(e,r,t[r]);if(Fm)for(var r of Fm(t))oC.call(t,r)&&Bm(e,r,t[r]);return e},$m=(e,t)=>sC(e,nC(t));function aC(e,t={}){t=$m(Ta(Ta({},t),wi),{ssr:!0,inSSR:!0,scopeId:t.mode==="function"?null:t.scopeId,prefixIdentifiers:!0,cacheHandlers:!1,hoistStatic:!1});const r=typeof e=="string"?Ic(e,t):e;return xw.set(r,t),_f(r,$m(Ta({},t),{hoistStatic:!1,nodeTransforms:[gI,vI,Af,bf,_I,eC,tC,kI,qI,Pf,$f,...t.nodeTransforms||[]],directiveTransforms:Ta({bind:Tf,on:Rc,model:QI,show:ZI,cloak:mo,once:mo,memo:mo},t.directiveTransforms||{})})),KI(r,t),wf(r,t)}var lC=Object.freeze({__proto__:null,compile:aC}),cC={},uC=Object.freeze({__proto__:null,default:cC}),hC=Tc(uC),c1=Tc(FP),pC=Tc(jA);const jm={};function _o(e){!(typeof process<"u"&&!0)&&!jm[e]&&(jm[e]=!0,Ul(e))}function Ul(e){console.warn(`\x1B[1m\x1B[33m[@vue/compiler-sfc]\x1B[0m\x1B[33m ${e}\x1B[0m
|
|
`)}var fC=Object.defineProperty,dC=Object.defineProperties,mC=Object.getOwnPropertyDescriptors,Um=Object.getOwnPropertySymbols,gC=Object.prototype.hasOwnProperty,yC=Object.prototype.propertyIsEnumerable,qm=(e,t,r)=>t in e?fC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ql=(e,t)=>{for(var r in t||(t={}))gC.call(t,r)&&qm(e,r,t[r]);if(Um)for(var r of Um(t))yC.call(t,r)&&qm(e,r,t[r]);return e},xp=(e,t)=>dC(e,mC(t));function vC({source:e,filename:t,preprocessOptions:r},s){let i="",o=null;if(s.render(e,ql({filename:t},r),(a,h)=>{a&&(o=a),i=h}),o)throw o;return i}function Pw(e){const{preprocessLang:t,preprocessCustomRequire:r}=e;if(t&&!r)throw new Error("[@vue/compiler-sfc] Template preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor in the shape of { render(): string }.");const s=t?r?r(t):void 0:!1;if(s)try{return Vm(xp(ql({},e),{source:vC(e,s),ast:void 0}))}catch(i){return{code:"export default function render() {}",source:e.source,tips:[],errors:[i]}}else return t?{code:"export default function render() {}",source:e.source,tips:[`Component ${e.filename} uses lang ${t} for template. Please install the language preprocessor.`],errors:[`Component ${e.filename} uses lang ${t} for template, however it is not installed.`]}:Vm(e)}function Vm({filename:e,id:t,scoped:r,slotted:s,inMap:i,source:o,ast:a,ssr:h=!1,ssrCssVars:l,isProd:f=!1,compiler:d,compilerOptions:g={},transformAssetUrls:y}){const v=[],w=[];let _=[];if(an(y)){const x=uI(y);_=[hI(x),mI(x)]}else y!==!1&&(_=[sw,nw]);h&&!l&&_o("compileTemplate is called with `ssr: true` but no corresponding `cssVars` option."),t||(_o("compileTemplate now requires the `id` option."),t="");const S=t.replace(/^data-v-/,""),k=`data-v-${S}`,E=h?lC:pp;if(d=d||E,d!==E&&(a=void 0),a!=null&&a.transformed){const I=(h?pp:d).parse(a.source,xp(ql({prefixIdentifiers:!0},g),{parseMode:"sfc",onError:R=>v.push(R)})).children.find(R=>R.type===1&&R.tag==="template");a=Un(I.children,a.source)}let{code:P,ast:O,preamble:A,map:M}=d.compile(a||o,xp(ql({mode:"module",prefixIdentifiers:!0,hoistStatic:!0,cacheHandlers:!0,ssrCssVars:h&&l&&l.length?r_(l,S,f,!0):"",scopeId:r?k:void 0,slotted:s,sourceMap:!0},g),{hmr:!f,nodeTransforms:_.concat(g.nodeTransforms||[]),filename:e,onError:x=>v.push(x),onWarn:x=>w.push(x)}));i&&!a&&(M&&(M=SC(i,M)),v.length&&_C(v,o,i));const F=w.map(x=>{let I=x.message;return x.loc&&(I+=`
|
|
${Ti((a==null?void 0:a.source)||o,x.loc.start.offset,x.loc.end.offset)}`),I});return{code:P,ast:O,preamble:A,source:o,errors:v,tips:F,map:M}}function SC(e,t){if(!e)return t;if(!t)return e;const r=new fo.SourceMapConsumer(e),s=new fo.SourceMapConsumer(t),i=new fo.SourceMapGenerator;s.eachMapping(a=>{if(a.originalLine==null)return;const h=r.originalPositionFor({line:a.originalLine,column:a.originalColumn});h.source!=null&&i.addMapping({generated:{line:a.generatedLine,column:a.generatedColumn},original:{line:h.line,column:a.originalColumn},source:h.source,name:h.name})});const o=i;return r.sources.forEach(a=>{o._sources.add(a);const h=r.sourceContentFor(a);h!=null&&i.setSourceContent(a,h)}),o._sourceRoot=e.sourceRoot,o._file=e.file,o.toJSON()}function _C(e,t,r){const s=r.sourcesContent[0],i=s.indexOf(t),o=s.slice(0,i).split(/\r?\n/).length-1;e.forEach(a=>{a.loc&&(a.loc.start.line+=o,a.loc.start.offset+=i,a.loc.end!==a.loc.start&&(a.loc.end.line+=o,a.loc.end.offset+=i))})}var xa={exports:{}},Wm;function Aw(){if(Wm)return xa.exports;Wm=1;let e=dr||{},t=e.argv||[],r=e.env||{},s=!(r.NO_COLOR||t.includes("--no-color"))&&(!!r.FORCE_COLOR||t.includes("--color")||e.platform==="win32"||(e.stdout||{}).isTTY&&r.TERM!=="dumb"||!!r.CI),i=(h,l,f=h)=>d=>{let g=""+d,y=g.indexOf(l,h.length);return~y?h+o(g,l,f,y)+l:h+g+l},o=(h,l,f,d)=>{let g="",y=0;do g+=h.substring(y,d)+f,y=d+l.length,d=h.indexOf(l,y);while(~d);return g+h.substring(y)},a=(h=s)=>{let l=h?i:()=>String;return{isColorSupported:h,reset:l("\x1B[0m","\x1B[0m"),bold:l("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:l("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:l("\x1B[3m","\x1B[23m"),underline:l("\x1B[4m","\x1B[24m"),inverse:l("\x1B[7m","\x1B[27m"),hidden:l("\x1B[8m","\x1B[28m"),strikethrough:l("\x1B[9m","\x1B[29m"),black:l("\x1B[30m","\x1B[39m"),red:l("\x1B[31m","\x1B[39m"),green:l("\x1B[32m","\x1B[39m"),yellow:l("\x1B[33m","\x1B[39m"),blue:l("\x1B[34m","\x1B[39m"),magenta:l("\x1B[35m","\x1B[39m"),cyan:l("\x1B[36m","\x1B[39m"),white:l("\x1B[37m","\x1B[39m"),gray:l("\x1B[90m","\x1B[39m"),bgBlack:l("\x1B[40m","\x1B[49m"),bgRed:l("\x1B[41m","\x1B[49m"),bgGreen:l("\x1B[42m","\x1B[49m"),bgYellow:l("\x1B[43m","\x1B[49m"),bgBlue:l("\x1B[44m","\x1B[49m"),bgMagenta:l("\x1B[45m","\x1B[49m"),bgCyan:l("\x1B[46m","\x1B[49m"),bgWhite:l("\x1B[47m","\x1B[49m"),blackBright:l("\x1B[90m","\x1B[39m"),redBright:l("\x1B[91m","\x1B[39m"),greenBright:l("\x1B[92m","\x1B[39m"),yellowBright:l("\x1B[93m","\x1B[39m"),blueBright:l("\x1B[94m","\x1B[39m"),magentaBright:l("\x1B[95m","\x1B[39m"),cyanBright:l("\x1B[96m","\x1B[39m"),whiteBright:l("\x1B[97m","\x1B[39m"),bgBlackBright:l("\x1B[100m","\x1B[49m"),bgRedBright:l("\x1B[101m","\x1B[49m"),bgGreenBright:l("\x1B[102m","\x1B[49m"),bgYellowBright:l("\x1B[103m","\x1B[49m"),bgBlueBright:l("\x1B[104m","\x1B[49m"),bgMagentaBright:l("\x1B[105m","\x1B[49m"),bgCyanBright:l("\x1B[106m","\x1B[49m"),bgWhiteBright:l("\x1B[107m","\x1B[49m")}};return xa.exports=a(),xa.exports.createColors=a,xa.exports}var Gu,Gm;function Iw(){if(Gm)return Gu;Gm=1;const e=39,t=34,r=92,s=47,i=10,o=32,a=12,h=9,l=13,f=91,d=93,g=40,y=41,v=123,w=125,_=59,S=42,k=58,E=64,P=/[\t\n\f\r "#'()/;[\\\]{}]/g,O=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,A=/.[\r\n"'(/\\]/,M=/[\da-f]/i;return Gu=function(x,I={}){let R=x.css.valueOf(),L=I.ignoreErrors,z,J,re,V,ee,G,Q,ie,ce,ne,W=R.length,K=0,j=[],B=[];function Z(){return K}function U(pe){throw x.error("Unclosed "+pe,K)}function se(){return B.length===0&&K>=W}function ae(pe){if(B.length)return B.pop();if(K>=W)return;let ve=pe?pe.ignoreUnclosed:!1;switch(z=R.charCodeAt(K),z){case i:case o:case h:case l:case a:{V=K;do V+=1,z=R.charCodeAt(V);while(z===o||z===i||z===h||z===l||z===a);G=["space",R.slice(K,V)],K=V-1;break}case f:case d:case v:case w:case k:case _:case y:{let xe=String.fromCharCode(z);G=[xe,xe,K];break}case g:{if(ne=j.length?j.pop()[1]:"",ce=R.charCodeAt(K+1),ne==="url"&&ce!==e&&ce!==t&&ce!==o&&ce!==i&&ce!==h&&ce!==a&&ce!==l){V=K;do{if(Q=!1,V=R.indexOf(")",V+1),V===-1)if(L||ve){V=K;break}else U("bracket");for(ie=V;R.charCodeAt(ie-1)===r;)ie-=1,Q=!Q}while(Q);G=["brackets",R.slice(K,V+1),K,V],K=V}else V=R.indexOf(")",K+1),J=R.slice(K,V+1),V===-1||A.test(J)?G=["(","(",K]:(G=["brackets",J,K,V],K=V);break}case e:case t:{ee=z===e?"'":'"',V=K;do{if(Q=!1,V=R.indexOf(ee,V+1),V===-1)if(L||ve){V=K+1;break}else U("string");for(ie=V;R.charCodeAt(ie-1)===r;)ie-=1,Q=!Q}while(Q);G=["string",R.slice(K,V+1),K,V],K=V;break}case E:{P.lastIndex=K+1,P.test(R),P.lastIndex===0?V=R.length-1:V=P.lastIndex-2,G=["at-word",R.slice(K,V+1),K,V],K=V;break}case r:{for(V=K,re=!0;R.charCodeAt(V+1)===r;)V+=1,re=!re;if(z=R.charCodeAt(V+1),re&&z!==s&&z!==o&&z!==i&&z!==h&&z!==l&&z!==a&&(V+=1,M.test(R.charAt(V)))){for(;M.test(R.charAt(V+1));)V+=1;R.charCodeAt(V+1)===o&&(V+=1)}G=["word",R.slice(K,V+1),K,V],K=V;break}default:{z===s&&R.charCodeAt(K+1)===S?(V=R.indexOf("*/",K+2)+1,V===0&&(L||ve?V=R.length:U("comment")),G=["comment",R.slice(K,V+1),K,V],K=V):(O.lastIndex=K+1,O.test(R),O.lastIndex===0?V=R.length-1:V=O.lastIndex-2,G=["word",R.slice(K,V+1),K,V],j.push(G),K=V);break}}return K++,G}function de(pe){B.push(pe)}return{back:de,endOfFile:se,nextToken:ae,position:Z}},Gu}var zu,zm;function Cw(){if(zm)return zu;zm=1;let e=Aw(),t=Iw(),r;function s(h){r=h}const i={";":e.yellow,":":e.yellow,"(":e.cyan,")":e.cyan,"[":e.yellow,"]":e.yellow,"{":e.yellow,"}":e.yellow,"at-word":e.cyan,brackets:e.cyan,call:e.cyan,class:e.yellow,comment:e.gray,hash:e.magenta,string:e.green};function o([h,l],f){if(h==="word"){if(l[0]===".")return"class";if(l[0]==="#")return"hash"}if(!f.endOfFile()){let d=f.nextToken();if(f.back(d),d[0]==="brackets"||d[0]==="(")return"call"}return h}function a(h){let l=t(new r(h),{ignoreErrors:!0}),f="";for(;!l.endOfFile();){let d=l.nextToken(),g=i[o(d,l)];g?f+=d[1].split(/\r?\n/).map(y=>g(y)).join(`
|
|
`):f+=d[1]}return f}return a.registerInput=s,zu=a,zu}var Hu,Hm;function u1(){if(Hm)return Hu;Hm=1;let e=Aw(),t=Cw();class r extends Error{constructor(i,o,a,h,l,f){super(i),this.name="CssSyntaxError",this.reason=i,l&&(this.file=l),h&&(this.source=h),f&&(this.plugin=f),typeof o<"u"&&typeof a<"u"&&(typeof o=="number"?(this.line=o,this.column=a):(this.line=o.line,this.column=o.column,this.endLine=a.line,this.endColumn=a.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,r)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(i){if(!this.source)return"";let o=this.source;i==null&&(i=e.isColorSupported);let a=v=>v,h=v=>v,l=v=>v;if(i){let{bold:v,gray:w,red:_}=e.createColors(!0);h=S=>v(_(S)),a=S=>w(S),t&&(l=S=>t(S))}let f=o.split(/\r?\n/),d=Math.max(this.line-3,0),g=Math.min(this.line+2,f.length),y=String(g).length;return f.slice(d,g).map((v,w)=>{let _=d+1+w,S=" "+(" "+_).slice(-y)+" | ";if(_===this.line){if(v.length>160){let E=20,P=Math.max(0,this.column-E),O=Math.max(this.column+E,this.endColumn+E),A=v.slice(P,O),M=a(S.replace(/\d/g," "))+v.slice(0,Math.min(this.column-1,E-1)).replace(/[^\t]/g," ");return h(">")+a(S)+l(A)+`
|
|
`+M+h("^")}let k=a(S.replace(/\d/g," "))+v.slice(0,this.column-1).replace(/[^\t]/g," ");return h(">")+a(S)+l(v)+`
|
|
`+k+h("^")}return" "+a(S)+l(v)}).join(`
|
|
`)}toString(){let i=this.showSourceCode();return i&&(i=`
|
|
|
|
`+i+`
|
|
`),this.name+": "+this.message+i}}return Hu=r,r.default=r,Hu}var Xu,Xm;function Nw(){if(Xm)return Xu;Xm=1;const e={after:`
|
|
`,beforeClose:`
|
|
`,beforeComment:`
|
|
`,beforeDecl:`
|
|
`,beforeOpen:" ",beforeRule:`
|
|
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function t(s){return s[0].toUpperCase()+s.slice(1)}class r{constructor(i){this.builder=i}atrule(i,o){let a="@"+i.name,h=i.params?this.rawValue(i,"params"):"";if(typeof i.raws.afterName<"u"?a+=i.raws.afterName:h&&(a+=" "),i.nodes)this.block(i,a+h);else{let l=(i.raws.between||"")+(o?";":"");this.builder(a+h+l,i)}}beforeAfter(i,o){let a;i.type==="decl"?a=this.raw(i,null,"beforeDecl"):i.type==="comment"?a=this.raw(i,null,"beforeComment"):o==="before"?a=this.raw(i,null,"beforeRule"):a=this.raw(i,null,"beforeClose");let h=i.parent,l=0;for(;h&&h.type!=="root";)l+=1,h=h.parent;if(a.includes(`
|
|
`)){let f=this.raw(i,null,"indent");if(f.length)for(let d=0;d<l;d++)a+=f}return a}block(i,o){let a=this.raw(i,"between","beforeOpen");this.builder(o+a+"{",i,"start");let h;i.nodes&&i.nodes.length?(this.body(i),h=this.raw(i,"after")):h=this.raw(i,"after","emptyBody"),h&&this.builder(h),this.builder("}",i,"end")}body(i){let o=i.nodes.length-1;for(;o>0&&i.nodes[o].type==="comment";)o-=1;let a=this.raw(i,"semicolon");for(let h=0;h<i.nodes.length;h++){let l=i.nodes[h],f=this.raw(l,"before");f&&this.builder(f),this.stringify(l,o!==h||a)}}comment(i){let o=this.raw(i,"left","commentLeft"),a=this.raw(i,"right","commentRight");this.builder("/*"+o+i.text+a+"*/",i)}decl(i,o){let a=this.raw(i,"between","colon"),h=i.prop+a+this.rawValue(i,"value");i.important&&(h+=i.raws.important||" !important"),o&&(h+=";"),this.builder(h,i)}document(i){this.body(i)}raw(i,o,a){let h;if(a||(a=o),o&&(h=i.raws[o],typeof h<"u"))return h;let l=i.parent;if(a==="before"&&(!l||l.type==="root"&&l.first===i||l&&l.type==="document"))return"";if(!l)return e[a];let f=i.root();if(f.rawCache||(f.rawCache={}),typeof f.rawCache[a]<"u")return f.rawCache[a];if(a==="before"||a==="after")return this.beforeAfter(i,a);{let d="raw"+t(a);this[d]?h=this[d](f,i):f.walk(g=>{if(h=g.raws[o],typeof h<"u")return!1})}return typeof h>"u"&&(h=e[a]),f.rawCache[a]=h,h}rawBeforeClose(i){let o;return i.walk(a=>{if(a.nodes&&a.nodes.length>0&&typeof a.raws.after<"u")return o=a.raws.after,o.includes(`
|
|
`)&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o}rawBeforeComment(i,o){let a;return i.walkComments(h=>{if(typeof h.raws.before<"u")return a=h.raws.before,a.includes(`
|
|
`)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a>"u"?a=this.raw(o,null,"beforeDecl"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeDecl(i,o){let a;return i.walkDecls(h=>{if(typeof h.raws.before<"u")return a=h.raws.before,a.includes(`
|
|
`)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a>"u"?a=this.raw(o,null,"beforeRule"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeOpen(i){let o;return i.walk(a=>{if(a.type!=="decl"&&(o=a.raws.between,typeof o<"u"))return!1}),o}rawBeforeRule(i){let o;return i.walk(a=>{if(a.nodes&&(a.parent!==i||i.first!==a)&&typeof a.raws.before<"u")return o=a.raws.before,o.includes(`
|
|
`)&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o}rawColon(i){let o;return i.walkDecls(a=>{if(typeof a.raws.between<"u")return o=a.raws.between.replace(/[^\s:]/g,""),!1}),o}rawEmptyBody(i){let o;return i.walk(a=>{if(a.nodes&&a.nodes.length===0&&(o=a.raws.after,typeof o<"u"))return!1}),o}rawIndent(i){if(i.raws.indent)return i.raws.indent;let o;return i.walk(a=>{let h=a.parent;if(h&&h!==i&&h.parent&&h.parent===i&&typeof a.raws.before<"u"){let l=a.raws.before.split(`
|
|
`);return o=l[l.length-1],o=o.replace(/\S/g,""),!1}}),o}rawSemicolon(i){let o;return i.walk(a=>{if(a.nodes&&a.nodes.length&&a.last.type==="decl"&&(o=a.raws.semicolon,typeof o<"u"))return!1}),o}rawValue(i,o){let a=i[o],h=i.raws[o];return h&&h.value===a?h.raw:a}root(i){this.body(i),i.raws.after&&this.builder(i.raws.after)}rule(i){this.block(i,this.rawValue(i,"selector")),i.raws.ownSemicolon&&this.builder(i.raws.ownSemicolon,i,"end")}stringify(i,o){if(!this[i.type])throw new Error("Unknown AST node type "+i.type+". Maybe you need to change PostCSS stringifier.");this[i.type](i,o)}}return Xu=r,r.default=r,Xu}var Ju,Jm;function Vc(){if(Jm)return Ju;Jm=1;let e=Nw();function t(r,s){new e(s).stringify(r)}return Ju=t,t.default=t,Ju}var ka={},Km;function h1(){return Km||(Km=1,ka.isClean=Symbol("isClean"),ka.my=Symbol("my")),ka}var Ku,Ym;function Wc(){if(Ym)return Ku;Ym=1;let e=u1(),t=Nw(),r=Vc(),{isClean:s,my:i}=h1();function o(h,l){let f=new h.constructor;for(let d in h){if(!Object.prototype.hasOwnProperty.call(h,d)||d==="proxyCache")continue;let g=h[d],y=typeof g;d==="parent"&&y==="object"?l&&(f[d]=l):d==="source"?f[d]=g:Array.isArray(g)?f[d]=g.map(v=>o(v,f)):(y==="object"&&g!==null&&(g=o(g)),f[d]=g)}return f}class a{constructor(l={}){this.raws={},this[s]=!1,this[i]=!0;for(let f in l)if(f==="nodes"){this.nodes=[];for(let d of l[f])typeof d.clone=="function"?this.append(d.clone()):this.append(d)}else this[f]=l[f]}addToError(l){if(l.postcssNode=this,l.stack&&this.source&&/\n\s{4}at /.test(l.stack)){let f=this.source;l.stack=l.stack.replace(/\n\s{4}at /,`$&${f.input.from}:${f.start.line}:${f.start.column}$&`)}return l}after(l){return this.parent.insertAfter(this,l),this}assign(l={}){for(let f in l)this[f]=l[f];return this}before(l){return this.parent.insertBefore(this,l),this}cleanRaws(l){delete this.raws.before,delete this.raws.after,l||delete this.raws.between}clone(l={}){let f=o(this);for(let d in l)f[d]=l[d];return f}cloneAfter(l={}){let f=this.clone(l);return this.parent.insertAfter(this,f),f}cloneBefore(l={}){let f=this.clone(l);return this.parent.insertBefore(this,f),f}error(l,f={}){if(this.source){let{end:d,start:g}=this.rangeBy(f);return this.source.input.error(l,{column:g.column,line:g.line},{column:d.column,line:d.line},f)}return new e(l)}getProxyProcessor(){return{get(l,f){return f==="proxyOf"?l:f==="root"?()=>l.root().toProxy():l[f]},set(l,f,d){return l[f]===d||(l[f]=d,(f==="prop"||f==="value"||f==="name"||f==="params"||f==="important"||f==="text")&&l.markDirty()),!0}}}markClean(){this[s]=!0}markDirty(){if(this[s]){this[s]=!1;let l=this;for(;l=l.parent;)l[s]=!1}}next(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l+1]}positionBy(l,f){let d=this.source.start;if(l.index)d=this.positionInside(l.index);else if(l.word){f=this.source.input.css.slice(this.source.start.offset,this.source.end.offset);let g=f.indexOf(l.word);g!==-1&&(d=this.positionInside(g))}return d}positionInside(l){let f=this.source.start.column,d=this.source.start.line,g=this.source.start.offset,y=g+l;for(let v=g;v<y;v++)this.source.input.css[v]===`
|
|
`?(f=1,d+=1):f+=1;return{column:f,line:d}}prev(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l-1]}rangeBy(l){let f={column:this.source.start.column,line:this.source.start.line},d=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:f.column+1,line:f.line};if(l.word){let g=this.source.input.css.slice(this.source.start.offset,this.source.end.offset),y=g.indexOf(l.word);y!==-1&&(f=this.positionInside(y,g),d=this.positionInside(y+l.word.length,g))}else l.start?f={column:l.start.column,line:l.start.line}:l.index&&(f=this.positionInside(l.index)),l.end?d={column:l.end.column,line:l.end.line}:typeof l.endIndex=="number"?d=this.positionInside(l.endIndex):l.index&&(d=this.positionInside(l.index+1));return(d.line<f.line||d.line===f.line&&d.column<=f.column)&&(d={column:f.column+1,line:f.line}),{end:d,start:f}}raw(l,f){return new t().raw(this,l,f)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...l){if(this.parent){let f=this,d=!1;for(let g of l)g===this?d=!0:d?(this.parent.insertAfter(f,g),f=g):this.parent.insertBefore(f,g);d||this.remove()}return this}root(){let l=this;for(;l.parent&&l.parent.type!=="document";)l=l.parent;return l}toJSON(l,f){let d={},g=f==null;f=f||new Map;let y=0;for(let v in this){if(!Object.prototype.hasOwnProperty.call(this,v)||v==="parent"||v==="proxyCache")continue;let w=this[v];if(Array.isArray(w))d[v]=w.map(_=>typeof _=="object"&&_.toJSON?_.toJSON(null,f):_);else if(typeof w=="object"&&w.toJSON)d[v]=w.toJSON(null,f);else if(v==="source"){let _=f.get(w.input);_==null&&(_=y,f.set(w.input,y),y++),d[v]={end:w.end,inputId:_,start:w.start}}else d[v]=w}return g&&(d.inputs=[...f.keys()].map(v=>v.toJSON())),d}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(l=r){l.stringify&&(l=l.stringify);let f="";return l(this,d=>{f+=d}),f}warn(l,f,d){let g={node:this};for(let y in d)g[y]=d[y];return l.warn(f,g)}get proxyOf(){return this}}return Ku=a,a.default=a,Ku}var Yu,Qm;function Gc(){if(Qm)return Yu;Qm=1;let e=Wc();class t extends e{constructor(s){super(s),this.type="comment"}}return Yu=t,t.default=t,Yu}var Qu,Zm;function zc(){if(Zm)return Qu;Zm=1;let e=Wc();class t extends e{constructor(s){s&&typeof s.value<"u"&&typeof s.value!="string"&&(s={...s,value:String(s.value)}),super(s),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}return Qu=t,t.default=t,Qu}var Zu,eg;function Wn(){if(eg)return Zu;eg=1;let e=Gc(),t=zc(),r=Wc(),{isClean:s,my:i}=h1(),o,a,h,l;function f(y){return y.map(v=>(v.nodes&&(v.nodes=f(v.nodes)),delete v.source,v))}function d(y){if(y[s]=!1,y.proxyOf.nodes)for(let v of y.proxyOf.nodes)d(v)}class g extends r{append(...v){for(let w of v){let _=this.normalize(w,this.last);for(let S of _)this.proxyOf.nodes.push(S)}return this.markDirty(),this}cleanRaws(v){if(super.cleanRaws(v),this.nodes)for(let w of this.nodes)w.cleanRaws(v)}each(v){if(!this.proxyOf.nodes)return;let w=this.getIterator(),_,S;for(;this.indexes[w]<this.proxyOf.nodes.length&&(_=this.indexes[w],S=v(this.proxyOf.nodes[_],_),S!==!1);)this.indexes[w]+=1;return delete this.indexes[w],S}every(v){return this.nodes.every(v)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let v=this.lastEach;return this.indexes[v]=0,v}getProxyProcessor(){return{get(v,w){return w==="proxyOf"?v:v[w]?w==="each"||typeof w=="string"&&w.startsWith("walk")?(..._)=>v[w](..._.map(S=>typeof S=="function"?(k,E)=>S(k.toProxy(),E):S)):w==="every"||w==="some"?_=>v[w]((S,...k)=>_(S.toProxy(),...k)):w==="root"?()=>v.root().toProxy():w==="nodes"?v.nodes.map(_=>_.toProxy()):w==="first"||w==="last"?v[w].toProxy():v[w]:v[w]},set(v,w,_){return v[w]===_||(v[w]=_,(w==="name"||w==="params"||w==="selector")&&v.markDirty()),!0}}}index(v){return typeof v=="number"?v:(v.proxyOf&&(v=v.proxyOf),this.proxyOf.nodes.indexOf(v))}insertAfter(v,w){let _=this.index(v),S=this.normalize(w,this.proxyOf.nodes[_]).reverse();_=this.index(v);for(let E of S)this.proxyOf.nodes.splice(_+1,0,E);let k;for(let E in this.indexes)k=this.indexes[E],_<k&&(this.indexes[E]=k+S.length);return this.markDirty(),this}insertBefore(v,w){let _=this.index(v),S=_===0?"prepend":!1,k=this.normalize(w,this.proxyOf.nodes[_],S).reverse();_=this.index(v);for(let P of k)this.proxyOf.nodes.splice(_,0,P);let E;for(let P in this.indexes)E=this.indexes[P],_<=E&&(this.indexes[P]=E+k.length);return this.markDirty(),this}normalize(v,w){if(typeof v=="string")v=f(a(v).nodes);else if(typeof v>"u")v=[];else if(Array.isArray(v)){v=v.slice(0);for(let S of v)S.parent&&S.parent.removeChild(S,"ignore")}else if(v.type==="root"&&this.type!=="document"){v=v.nodes.slice(0);for(let S of v)S.parent&&S.parent.removeChild(S,"ignore")}else if(v.type)v=[v];else if(v.prop){if(typeof v.value>"u")throw new Error("Value field is missed in node creation");typeof v.value!="string"&&(v.value=String(v.value)),v=[new t(v)]}else if(v.selector||v.selectors)v=[new l(v)];else if(v.name)v=[new o(v)];else if(v.text)v=[new e(v)];else throw new Error("Unknown node type in node creation");return v.map(S=>(S[i]||g.rebuild(S),S=S.proxyOf,S.parent&&S.parent.removeChild(S),S[s]&&d(S),S.raws||(S.raws={}),typeof S.raws.before>"u"&&w&&typeof w.raws.before<"u"&&(S.raws.before=w.raws.before.replace(/\S/g,"")),S.parent=this.proxyOf,S))}prepend(...v){v=v.reverse();for(let w of v){let _=this.normalize(w,this.first,"prepend").reverse();for(let S of _)this.proxyOf.nodes.unshift(S);for(let S in this.indexes)this.indexes[S]=this.indexes[S]+_.length}return this.markDirty(),this}push(v){return v.parent=this,this.proxyOf.nodes.push(v),this}removeAll(){for(let v of this.proxyOf.nodes)v.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(v){v=this.index(v),this.proxyOf.nodes[v].parent=void 0,this.proxyOf.nodes.splice(v,1);let w;for(let _ in this.indexes)w=this.indexes[_],w>=v&&(this.indexes[_]=w-1);return this.markDirty(),this}replaceValues(v,w,_){return _||(_=w,w={}),this.walkDecls(S=>{w.props&&!w.props.includes(S.prop)||w.fast&&!S.value.includes(w.fast)||(S.value=S.value.replace(v,_))}),this.markDirty(),this}some(v){return this.nodes.some(v)}walk(v){return this.each((w,_)=>{let S;try{S=v(w,_)}catch(k){throw w.addToError(k)}return S!==!1&&w.walk&&(S=w.walk(v)),S})}walkAtRules(v,w){return w?v instanceof RegExp?this.walk((_,S)=>{if(_.type==="atrule"&&v.test(_.name))return w(_,S)}):this.walk((_,S)=>{if(_.type==="atrule"&&_.name===v)return w(_,S)}):(w=v,this.walk((_,S)=>{if(_.type==="atrule")return w(_,S)}))}walkComments(v){return this.walk((w,_)=>{if(w.type==="comment")return v(w,_)})}walkDecls(v,w){return w?v instanceof RegExp?this.walk((_,S)=>{if(_.type==="decl"&&v.test(_.prop))return w(_,S)}):this.walk((_,S)=>{if(_.type==="decl"&&_.prop===v)return w(_,S)}):(w=v,this.walk((_,S)=>{if(_.type==="decl")return w(_,S)}))}walkRules(v,w){return w?v instanceof RegExp?this.walk((_,S)=>{if(_.type==="rule"&&v.test(_.selector))return w(_,S)}):this.walk((_,S)=>{if(_.type==="rule"&&_.selector===v)return w(_,S)}):(w=v,this.walk((_,S)=>{if(_.type==="rule")return w(_,S)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}return g.registerParse=y=>{a=y},g.registerRule=y=>{l=y},g.registerAtRule=y=>{o=y},g.registerRoot=y=>{h=y},Zu=g,g.default=g,g.rebuild=y=>{y.type==="atrule"?Object.setPrototypeOf(y,o.prototype):y.type==="rule"?Object.setPrototypeOf(y,l.prototype):y.type==="decl"?Object.setPrototypeOf(y,t.prototype):y.type==="comment"?Object.setPrototypeOf(y,e.prototype):y.type==="root"&&Object.setPrototypeOf(y,h.prototype),y[i]=!0,y.nodes&&y.nodes.forEach(v=>{g.rebuild(v)})},Zu}var eh,tg;function p1(){if(tg)return eh;tg=1;let e=Wn();class t extends e{constructor(s){super(s),this.type="atrule"}append(...s){return this.proxyOf.nodes||(this.nodes=[]),super.append(...s)}prepend(...s){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...s)}}return eh=t,t.default=t,e.registerAtRule(t),eh}var th,rg;function f1(){if(rg)return th;rg=1;let e=Wn(),t,r;class s extends e{constructor(o){super({type:"document",...o}),this.nodes||(this.nodes=[])}toResult(o={}){return new t(new r,this,o).stringify()}}return s.registerLazyResult=i=>{t=i},s.registerProcessor=i=>{r=i},th=s,s.default=s,th}var rh,sg;function wC(){if(sg)return rh;sg=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return rh={nanoid:(s=21)=>{let i="",o=s;for(;o--;)i+=e[Math.random()*64|0];return i},customAlphabet:(s,i=21)=>(o=i)=>{let a="",h=o;for(;h--;)a+=s[Math.random()*s.length|0];return a}},rh}var Zi={},sh={},Pa={},Aa={},ng;function bC(){if(ng)return Aa;ng=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Aa.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},Aa.decode=function(t){var r=65,s=90,i=97,o=122,a=48,h=57,l=43,f=47,d=26,g=52;return r<=t&&t<=s?t-r:i<=t&&t<=o?t-i+d:a<=t&&t<=h?t-a+g:t==l?62:t==f?63:-1},Aa}var ig;function Ow(){if(ig)return Pa;ig=1;var e=bC(),t=5,r=1<<t,s=r-1,i=r;function o(h){return h<0?(-h<<1)+1:(h<<1)+0}function a(h){var l=(h&1)===1,f=h>>1;return l?-f:f}return Pa.encode=function(l){var f="",d,g=o(l);do d=g&s,g>>>=t,g>0&&(d|=i),f+=e.encode(d);while(g>0);return f},Pa.decode=function(l,f,d){var g=l.length,y=0,v=0,w,_;do{if(f>=g)throw new Error("Expected more digits in base 64 VLQ value.");if(_=e.decode(l.charCodeAt(f++)),_===-1)throw new Error("Invalid base64 digit: "+l.charAt(f-1));w=!!(_&i),_&=s,y=y+(_<<v),v+=t}while(w);d.value=a(y),d.rest=f},Pa}var nh={},og;function Zo(){return og||(og=1,function(e){function t(x,I,R){if(I in x)return x[I];if(arguments.length===3)return R;throw new Error('"'+I+'" is a required argument.')}e.getArg=t;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function i(x){var I=x.match(r);return I?{scheme:I[1],auth:I[2],host:I[3],port:I[4],path:I[5]}:null}e.urlParse=i;function o(x){var I="";return x.scheme&&(I+=x.scheme+":"),I+="//",x.auth&&(I+=x.auth+"@"),x.host&&(I+=x.host),x.port&&(I+=":"+x.port),x.path&&(I+=x.path),I}e.urlGenerate=o;var a=32;function h(x){var I=[];return function(R){for(var L=0;L<I.length;L++)if(I[L].input===R){var z=I[0];return I[0]=I[L],I[L]=z,I[0].result}var J=x(R);return I.unshift({input:R,result:J}),I.length>a&&I.pop(),J}}var l=h(function(I){var R=I,L=i(I);if(L){if(!L.path)return I;R=L.path}for(var z=e.isAbsolute(R),J=[],re=0,V=0;;)if(re=V,V=R.indexOf("/",re),V===-1){J.push(R.slice(re));break}else for(J.push(R.slice(re,V));V<R.length&&R[V]==="/";)V++;for(var ee,G=0,V=J.length-1;V>=0;V--)ee=J[V],ee==="."?J.splice(V,1):ee===".."?G++:G>0&&(ee===""?(J.splice(V+1,G),G=0):(J.splice(V,2),G--));return R=J.join("/"),R===""&&(R=z?"/":"."),L?(L.path=R,o(L)):R});e.normalize=l;function f(x,I){x===""&&(x="."),I===""&&(I=".");var R=i(I),L=i(x);if(L&&(x=L.path||"/"),R&&!R.scheme)return L&&(R.scheme=L.scheme),o(R);if(R||I.match(s))return I;if(L&&!L.host&&!L.path)return L.host=I,o(L);var z=I.charAt(0)==="/"?I:l(x.replace(/\/+$/,"")+"/"+I);return L?(L.path=z,o(L)):z}e.join=f,e.isAbsolute=function(x){return x.charAt(0)==="/"||r.test(x)};function d(x,I){x===""&&(x="."),x=x.replace(/\/$/,"");for(var R=0;I.indexOf(x+"/")!==0;){var L=x.lastIndexOf("/");if(L<0||(x=x.slice(0,L),x.match(/^([^\/]+:\/)?\/*$/)))return I;++R}return Array(R+1).join("../")+I.substr(x.length+1)}e.relative=d;var g=function(){var x=Object.create(null);return!("__proto__"in x)}();function y(x){return x}function v(x){return _(x)?"$"+x:x}e.toSetString=g?y:v;function w(x){return _(x)?x.slice(1):x}e.fromSetString=g?y:w;function _(x){if(!x)return!1;var I=x.length;if(I<9||x.charCodeAt(I-1)!==95||x.charCodeAt(I-2)!==95||x.charCodeAt(I-3)!==111||x.charCodeAt(I-4)!==116||x.charCodeAt(I-5)!==111||x.charCodeAt(I-6)!==114||x.charCodeAt(I-7)!==112||x.charCodeAt(I-8)!==95||x.charCodeAt(I-9)!==95)return!1;for(var R=I-10;R>=0;R--)if(x.charCodeAt(R)!==36)return!1;return!0}function S(x,I,R){var L=O(x.source,I.source);return L!==0||(L=x.originalLine-I.originalLine,L!==0)||(L=x.originalColumn-I.originalColumn,L!==0||R)||(L=x.generatedColumn-I.generatedColumn,L!==0)||(L=x.generatedLine-I.generatedLine,L!==0)?L:O(x.name,I.name)}e.compareByOriginalPositions=S;function k(x,I,R){var L;return L=x.originalLine-I.originalLine,L!==0||(L=x.originalColumn-I.originalColumn,L!==0||R)||(L=x.generatedColumn-I.generatedColumn,L!==0)||(L=x.generatedLine-I.generatedLine,L!==0)?L:O(x.name,I.name)}e.compareByOriginalPositionsNoSource=k;function E(x,I,R){var L=x.generatedLine-I.generatedLine;return L!==0||(L=x.generatedColumn-I.generatedColumn,L!==0||R)||(L=O(x.source,I.source),L!==0)||(L=x.originalLine-I.originalLine,L!==0)||(L=x.originalColumn-I.originalColumn,L!==0)?L:O(x.name,I.name)}e.compareByGeneratedPositionsDeflated=E;function P(x,I,R){var L=x.generatedColumn-I.generatedColumn;return L!==0||R||(L=O(x.source,I.source),L!==0)||(L=x.originalLine-I.originalLine,L!==0)||(L=x.originalColumn-I.originalColumn,L!==0)?L:O(x.name,I.name)}e.compareByGeneratedPositionsDeflatedNoLine=P;function O(x,I){return x===I?0:x===null?1:I===null?-1:x>I?1:-1}function A(x,I){var R=x.generatedLine-I.generatedLine;return R!==0||(R=x.generatedColumn-I.generatedColumn,R!==0)||(R=O(x.source,I.source),R!==0)||(R=x.originalLine-I.originalLine,R!==0)||(R=x.originalColumn-I.originalColumn,R!==0)?R:O(x.name,I.name)}e.compareByGeneratedPositionsInflated=A;function M(x){return JSON.parse(x.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=M;function F(x,I,R){if(I=I||"",x&&(x[x.length-1]!=="/"&&I[0]!=="/"&&(x+="/"),I=x+I),R){var L=i(R);if(!L)throw new Error("sourceMapURL could not be parsed");if(L.path){var z=L.path.lastIndexOf("/");z>=0&&(L.path=L.path.substring(0,z+1))}I=f(o(L),I)}return l(I)}e.computeSourceURL=F}(nh)),nh}var ih={},ag;function Lw(){if(ag)return ih;ag=1;var e=Zo(),t=Object.prototype.hasOwnProperty,r=typeof Map<"u";function s(){this._array=[],this._set=r?new Map:Object.create(null)}return s.fromArray=function(o,a){for(var h=new s,l=0,f=o.length;l<f;l++)h.add(o[l],a);return h},s.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},s.prototype.add=function(o,a){var h=r?o:e.toSetString(o),l=r?this.has(o):t.call(this._set,h),f=this._array.length;(!l||a)&&this._array.push(o),l||(r?this._set.set(o,f):this._set[h]=f)},s.prototype.has=function(o){if(r)return this._set.has(o);var a=e.toSetString(o);return t.call(this._set,a)},s.prototype.indexOf=function(o){if(r){var a=this._set.get(o);if(a>=0)return a}else{var h=e.toSetString(o);if(t.call(this._set,h))return this._set[h]}throw new Error('"'+o+'" is not in the set.')},s.prototype.at=function(o){if(o>=0&&o<this._array.length)return this._array[o];throw new Error("No element indexed by "+o)},s.prototype.toArray=function(){return this._array.slice()},ih.ArraySet=s,ih}var oh={},lg;function EC(){if(lg)return oh;lg=1;var e=Zo();function t(s,i){var o=s.generatedLine,a=i.generatedLine,h=s.generatedColumn,l=i.generatedColumn;return a>o||a==o&&l>=h||e.compareByGeneratedPositionsInflated(s,i)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(i,o){this._array.forEach(i,o)},r.prototype.add=function(i){t(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},oh.MappingList=r,oh}var cg;function Rw(){if(cg)return sh;cg=1;var e=Ow(),t=Zo(),r=Lw().ArraySet,s=EC().MappingList;function i(o){o||(o={}),this._file=t.getArg(o,"file",null),this._sourceRoot=t.getArg(o,"sourceRoot",null),this._skipValidation=t.getArg(o,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(o,"ignoreInvalidMapping",!1),this._sources=new r,this._names=new r,this._mappings=new s,this._sourcesContents=null}return i.prototype._version=3,i.fromSourceMap=function(a,h){var l=a.sourceRoot,f=new i(Object.assign(h||{},{file:a.file,sourceRoot:l}));return a.eachMapping(function(d){var g={generated:{line:d.generatedLine,column:d.generatedColumn}};d.source!=null&&(g.source=d.source,l!=null&&(g.source=t.relative(l,g.source)),g.original={line:d.originalLine,column:d.originalColumn},d.name!=null&&(g.name=d.name)),f.addMapping(g)}),a.sources.forEach(function(d){var g=d;l!==null&&(g=t.relative(l,d)),f._sources.has(g)||f._sources.add(g);var y=a.sourceContentFor(d);y!=null&&f.setSourceContent(d,y)}),f},i.prototype.addMapping=function(a){var h=t.getArg(a,"generated"),l=t.getArg(a,"original",null),f=t.getArg(a,"source",null),d=t.getArg(a,"name",null);!this._skipValidation&&this._validateMapping(h,l,f,d)===!1||(f!=null&&(f=String(f),this._sources.has(f)||this._sources.add(f)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:l!=null&&l.line,originalColumn:l!=null&&l.column,source:f,name:d}))},i.prototype.setSourceContent=function(a,h){var l=a;this._sourceRoot!=null&&(l=t.relative(this._sourceRoot,l)),h!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(l)]=h):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(l)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},i.prototype.applySourceMap=function(a,h,l){var f=h;if(h==null){if(a.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);f=a.file}var d=this._sourceRoot;d!=null&&(f=t.relative(d,f));var g=new r,y=new r;this._mappings.unsortedForEach(function(v){if(v.source===f&&v.originalLine!=null){var w=a.originalPositionFor({line:v.originalLine,column:v.originalColumn});w.source!=null&&(v.source=w.source,l!=null&&(v.source=t.join(l,v.source)),d!=null&&(v.source=t.relative(d,v.source)),v.originalLine=w.line,v.originalColumn=w.column,w.name!=null&&(v.name=w.name))}var _=v.source;_!=null&&!g.has(_)&&g.add(_);var S=v.name;S!=null&&!y.has(S)&&y.add(S)},this),this._sources=g,this._names=y,a.sources.forEach(function(v){var w=a.sourceContentFor(v);w!=null&&(l!=null&&(v=t.join(l,v)),d!=null&&(v=t.relative(d,v)),this.setSourceContent(v,w))},this)},i.prototype._validateMapping=function(a,h,l,f){if(h&&typeof h.line!="number"&&typeof h.column!="number"){var d="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(d),!1;throw new Error(d)}if(!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0&&!h&&!l&&!f)){if(a&&"line"in a&&"column"in a&&h&&"line"in h&&"column"in h&&a.line>0&&a.column>=0&&h.line>0&&h.column>=0&&l)return;var d="Invalid mapping: "+JSON.stringify({generated:a,source:l,original:h,name:f});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(d),!1;throw new Error(d)}},i.prototype._serializeMappings=function(){for(var a=0,h=1,l=0,f=0,d=0,g=0,y="",v,w,_,S,k=this._mappings.toArray(),E=0,P=k.length;E<P;E++){if(w=k[E],v="",w.generatedLine!==h)for(a=0;w.generatedLine!==h;)v+=";",h++;else if(E>0){if(!t.compareByGeneratedPositionsInflated(w,k[E-1]))continue;v+=","}v+=e.encode(w.generatedColumn-a),a=w.generatedColumn,w.source!=null&&(S=this._sources.indexOf(w.source),v+=e.encode(S-g),g=S,v+=e.encode(w.originalLine-1-f),f=w.originalLine-1,v+=e.encode(w.originalColumn-l),l=w.originalColumn,w.name!=null&&(_=this._names.indexOf(w.name),v+=e.encode(_-d),d=_)),y+=v}return y},i.prototype._generateSourcesContent=function(a,h){return a.map(function(l){if(!this._sourcesContents)return null;h!=null&&(l=t.relative(h,l));var f=t.toSetString(l);return Object.prototype.hasOwnProperty.call(this._sourcesContents,f)?this._sourcesContents[f]:null},this)},i.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},sh.SourceMapGenerator=i,sh}var eo={},ah={},ug;function TC(){return ug||(ug=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,s,i,o,a,h){var l=Math.floor((s-r)/2)+r,f=a(i,o[l],!0);return f===0?l:f>0?s-l>1?t(l,s,i,o,a,h):h==e.LEAST_UPPER_BOUND?s<o.length?s:-1:l:l-r>1?t(r,l,i,o,a,h):h==e.LEAST_UPPER_BOUND?l:r<0?-1:r}e.search=function(s,i,o,a){if(i.length===0)return-1;var h=t(-1,i.length,s,i,o,a||e.GREATEST_LOWER_BOUND);if(h<0)return-1;for(;h-1>=0&&o(i[h],i[h-1],!0)===0;)--h;return h}}(ah)),ah}var lh={},hg;function xC(){if(hg)return lh;hg=1;function e(s){function i(h,l,f){var d=h[l];h[l]=h[f],h[f]=d}function o(h,l){return Math.round(h+Math.random()*(l-h))}function a(h,l,f,d){if(f<d){var g=o(f,d),y=f-1;i(h,g,d);for(var v=h[d],w=f;w<d;w++)l(h[w],v,!1)<=0&&(y+=1,i(h,y,w));i(h,y+1,w);var _=y+1;a(h,l,f,_-1),a(h,l,_+1,d)}}return a}function t(s){let i=e.toString();return new Function(`return ${i}`)()(s)}let r=new WeakMap;return lh.quickSort=function(s,i,o=0){let a=r.get(i);a===void 0&&(a=t(i),r.set(i,a)),a(s,i,o,s.length-1)},lh}var pg;function kC(){if(pg)return eo;pg=1;var e=Zo(),t=TC(),r=Lw().ArraySet,s=Ow(),i=xC().quickSort;function o(g,y){var v=g;return typeof g=="string"&&(v=e.parseSourceMapInput(g)),v.sections!=null?new d(v,y):new a(v,y)}o.fromSourceMap=function(g,y){return a.fromSourceMap(g,y)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(y,v){var w=y.charAt(v);return w===";"||w===","},o.prototype._parseMappings=function(y,v){throw new Error("Subclasses must implement _parseMappings")},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(y,v,w){var _=v||null,S=w||o.GENERATED_ORDER,k;switch(S){case o.GENERATED_ORDER:k=this._generatedMappings;break;case o.ORIGINAL_ORDER:k=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var E=this.sourceRoot,P=y.bind(_),O=this._names,A=this._sources,M=this._sourceMapURL,F=0,x=k.length;F<x;F++){var I=k[F],R=I.source===null?null:A.at(I.source);R!==null&&(R=e.computeSourceURL(E,R,M)),P({source:R,generatedLine:I.generatedLine,generatedColumn:I.generatedColumn,originalLine:I.originalLine,originalColumn:I.originalColumn,name:I.name===null?null:O.at(I.name)})}},o.prototype.allGeneratedPositionsFor=function(y){var v=e.getArg(y,"line"),w={source:e.getArg(y,"source"),originalLine:v,originalColumn:e.getArg(y,"column",0)};if(w.source=this._findSourceIndex(w.source),w.source<0)return[];var _=[],S=this._findMapping(w,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(S>=0){var k=this._originalMappings[S];if(y.column===void 0)for(var E=k.originalLine;k&&k.originalLine===E;)_.push({line:e.getArg(k,"generatedLine",null),column:e.getArg(k,"generatedColumn",null),lastColumn:e.getArg(k,"lastGeneratedColumn",null)}),k=this._originalMappings[++S];else for(var P=k.originalColumn;k&&k.originalLine===v&&k.originalColumn==P;)_.push({line:e.getArg(k,"generatedLine",null),column:e.getArg(k,"generatedColumn",null),lastColumn:e.getArg(k,"lastGeneratedColumn",null)}),k=this._originalMappings[++S]}return _},eo.SourceMapConsumer=o;function a(g,y){var v=g;typeof g=="string"&&(v=e.parseSourceMapInput(g));var w=e.getArg(v,"version"),_=e.getArg(v,"sources"),S=e.getArg(v,"names",[]),k=e.getArg(v,"sourceRoot",null),E=e.getArg(v,"sourcesContent",null),P=e.getArg(v,"mappings"),O=e.getArg(v,"file",null);if(w!=this._version)throw new Error("Unsupported version: "+w);k&&(k=e.normalize(k)),_=_.map(String).map(e.normalize).map(function(A){return k&&e.isAbsolute(k)&&e.isAbsolute(A)?e.relative(k,A):A}),this._names=r.fromArray(S.map(String),!0),this._sources=r.fromArray(_,!0),this._absoluteSources=this._sources.toArray().map(function(A){return e.computeSourceURL(k,A,y)}),this.sourceRoot=k,this.sourcesContent=E,this._mappings=P,this._sourceMapURL=y,this.file=O}a.prototype=Object.create(o.prototype),a.prototype.consumer=o,a.prototype._findSourceIndex=function(g){var y=g;if(this.sourceRoot!=null&&(y=e.relative(this.sourceRoot,y)),this._sources.has(y))return this._sources.indexOf(y);var v;for(v=0;v<this._absoluteSources.length;++v)if(this._absoluteSources[v]==g)return v;return-1},a.fromSourceMap=function(y,v){var w=Object.create(a.prototype),_=w._names=r.fromArray(y._names.toArray(),!0),S=w._sources=r.fromArray(y._sources.toArray(),!0);w.sourceRoot=y._sourceRoot,w.sourcesContent=y._generateSourcesContent(w._sources.toArray(),w.sourceRoot),w.file=y._file,w._sourceMapURL=v,w._absoluteSources=w._sources.toArray().map(function(x){return e.computeSourceURL(w.sourceRoot,x,v)});for(var k=y._mappings.toArray().slice(),E=w.__generatedMappings=[],P=w.__originalMappings=[],O=0,A=k.length;O<A;O++){var M=k[O],F=new h;F.generatedLine=M.generatedLine,F.generatedColumn=M.generatedColumn,M.source&&(F.source=S.indexOf(M.source),F.originalLine=M.originalLine,F.originalColumn=M.originalColumn,M.name&&(F.name=_.indexOf(M.name)),P.push(F)),E.push(F)}return i(w.__originalMappings,e.compareByOriginalPositions),w},a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function h(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}const l=e.compareByGeneratedPositionsDeflatedNoLine;function f(g,y){let v=g.length,w=g.length-y;if(!(w<=1))if(w==2){let _=g[y],S=g[y+1];l(_,S)>0&&(g[y]=S,g[y+1]=_)}else if(w<20)for(let _=y;_<v;_++)for(let S=_;S>y;S--){let k=g[S-1],E=g[S];if(l(k,E)<=0)break;g[S-1]=E,g[S]=k}else i(g,l,y)}a.prototype._parseMappings=function(y,v){var w=1,_=0,S=0,k=0,E=0,P=0,O=y.length,A=0,M={},F=[],x=[],I,R,L,z;let J=0;for(;A<O;)if(y.charAt(A)===";")w++,A++,_=0,f(x,J),J=x.length;else if(y.charAt(A)===",")A++;else{for(I=new h,I.generatedLine=w,L=A;L<O&&!this._charIsMappingSeparator(y,L);L++);for(y.slice(A,L),R=[];A<L;)s.decode(y,A,M),z=M.value,A=M.rest,R.push(z);if(R.length===2)throw new Error("Found a source, but no line and column");if(R.length===3)throw new Error("Found a source and line, but no column");if(I.generatedColumn=_+R[0],_=I.generatedColumn,R.length>1&&(I.source=E+R[1],E+=R[1],I.originalLine=S+R[2],S=I.originalLine,I.originalLine+=1,I.originalColumn=k+R[3],k=I.originalColumn,R.length>4&&(I.name=P+R[4],P+=R[4])),x.push(I),typeof I.originalLine=="number"){let V=I.source;for(;F.length<=V;)F.push(null);F[V]===null&&(F[V]=[]),F[V].push(I)}}f(x,J),this.__generatedMappings=x;for(var re=0;re<F.length;re++)F[re]!=null&&i(F[re],e.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...F)},a.prototype._findMapping=function(y,v,w,_,S,k){if(y[w]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+y[w]);if(y[_]<0)throw new TypeError("Column must be greater than or equal to 0, got "+y[_]);return t.search(y,v,S,k)},a.prototype.computeColumnSpans=function(){for(var y=0;y<this._generatedMappings.length;++y){var v=this._generatedMappings[y];if(y+1<this._generatedMappings.length){var w=this._generatedMappings[y+1];if(v.generatedLine===w.generatedLine){v.lastGeneratedColumn=w.generatedColumn-1;continue}}v.lastGeneratedColumn=1/0}},a.prototype.originalPositionFor=function(y){var v={generatedLine:e.getArg(y,"line"),generatedColumn:e.getArg(y,"column")},w=this._findMapping(v,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(y,"bias",o.GREATEST_LOWER_BOUND));if(w>=0){var _=this._generatedMappings[w];if(_.generatedLine===v.generatedLine){var S=e.getArg(_,"source",null);S!==null&&(S=this._sources.at(S),S=e.computeSourceURL(this.sourceRoot,S,this._sourceMapURL));var k=e.getArg(_,"name",null);return k!==null&&(k=this._names.at(k)),{source:S,line:e.getArg(_,"originalLine",null),column:e.getArg(_,"originalColumn",null),name:k}}}return{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(y){return y==null}):!1},a.prototype.sourceContentFor=function(y,v){if(!this.sourcesContent)return null;var w=this._findSourceIndex(y);if(w>=0)return this.sourcesContent[w];var _=y;this.sourceRoot!=null&&(_=e.relative(this.sourceRoot,_));var S;if(this.sourceRoot!=null&&(S=e.urlParse(this.sourceRoot))){var k=_.replace(/^file:\/\//,"");if(S.scheme=="file"&&this._sources.has(k))return this.sourcesContent[this._sources.indexOf(k)];if((!S.path||S.path=="/")&&this._sources.has("/"+_))return this.sourcesContent[this._sources.indexOf("/"+_)]}if(v)return null;throw new Error('"'+_+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(y){var v=e.getArg(y,"source");if(v=this._findSourceIndex(v),v<0)return{line:null,column:null,lastColumn:null};var w={source:v,originalLine:e.getArg(y,"line"),originalColumn:e.getArg(y,"column")},_=this._findMapping(w,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(y,"bias",o.GREATEST_LOWER_BOUND));if(_>=0){var S=this._originalMappings[_];if(S.source===w.source)return{line:e.getArg(S,"generatedLine",null),column:e.getArg(S,"generatedColumn",null),lastColumn:e.getArg(S,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},eo.BasicSourceMapConsumer=a;function d(g,y){var v=g;typeof g=="string"&&(v=e.parseSourceMapInput(g));var w=e.getArg(v,"version"),_=e.getArg(v,"sections");if(w!=this._version)throw new Error("Unsupported version: "+w);this._sources=new r,this._names=new r;var S={line:-1,column:0};this._sections=_.map(function(k){if(k.url)throw new Error("Support for url field in sections not implemented.");var E=e.getArg(k,"offset"),P=e.getArg(E,"line"),O=e.getArg(E,"column");if(P<S.line||P===S.line&&O<S.column)throw new Error("Section offsets must be ordered and non-overlapping.");return S=E,{generatedOffset:{generatedLine:P+1,generatedColumn:O+1},consumer:new o(e.getArg(k,"map"),y)}})}return d.prototype=Object.create(o.prototype),d.prototype.constructor=o,d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){for(var g=[],y=0;y<this._sections.length;y++)for(var v=0;v<this._sections[y].consumer.sources.length;v++)g.push(this._sections[y].consumer.sources[v]);return g}}),d.prototype.originalPositionFor=function(y){var v={generatedLine:e.getArg(y,"line"),generatedColumn:e.getArg(y,"column")},w=t.search(v,this._sections,function(S,k){var E=S.generatedLine-k.generatedOffset.generatedLine;return E||S.generatedColumn-k.generatedOffset.generatedColumn}),_=this._sections[w];return _?_.consumer.originalPositionFor({line:v.generatedLine-(_.generatedOffset.generatedLine-1),column:v.generatedColumn-(_.generatedOffset.generatedLine===v.generatedLine?_.generatedOffset.generatedColumn-1:0),bias:y.bias}):{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(y){return y.consumer.hasContentsOfAllSources()})},d.prototype.sourceContentFor=function(y,v){for(var w=0;w<this._sections.length;w++){var _=this._sections[w],S=_.consumer.sourceContentFor(y,!0);if(S||S==="")return S}if(v)return null;throw new Error('"'+y+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(y){for(var v=0;v<this._sections.length;v++){var w=this._sections[v];if(w.consumer._findSourceIndex(e.getArg(y,"source"))!==-1){var _=w.consumer.generatedPositionFor(y);if(_){var S={line:_.line+(w.generatedOffset.generatedLine-1),column:_.column+(w.generatedOffset.generatedLine===_.line?w.generatedOffset.generatedColumn-1:0)};return S}}}return{line:null,column:null}},d.prototype._parseMappings=function(y,v){this.__generatedMappings=[],this.__originalMappings=[];for(var w=0;w<this._sections.length;w++)for(var _=this._sections[w],S=_.consumer._generatedMappings,k=0;k<S.length;k++){var E=S[k],P=_.consumer._sources.at(E.source);P!==null&&(P=e.computeSourceURL(_.consumer.sourceRoot,P,this._sourceMapURL)),this._sources.add(P),P=this._sources.indexOf(P);var O=null;E.name&&(O=_.consumer._names.at(E.name),this._names.add(O),O=this._names.indexOf(O));var A={source:P,generatedLine:E.generatedLine+(_.generatedOffset.generatedLine-1),generatedColumn:E.generatedColumn+(_.generatedOffset.generatedLine===E.generatedLine?_.generatedOffset.generatedColumn-1:0),originalLine:E.originalLine,originalColumn:E.originalColumn,name:O};this.__generatedMappings.push(A),typeof A.originalLine=="number"&&this.__originalMappings.push(A)}i(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),i(this.__originalMappings,e.compareByOriginalPositions)},eo.IndexedSourceMapConsumer=d,eo}var ch={},fg;function PC(){if(fg)return ch;fg=1;var e=Rw().SourceMapGenerator,t=Zo(),r=/(\r?\n)/,s=10,i="$$$isSourceNode$$$";function o(a,h,l,f,d){this.children=[],this.sourceContents={},this.line=a??null,this.column=h??null,this.source=l??null,this.name=d??null,this[i]=!0,f!=null&&this.add(f)}return o.fromStringWithSourceMap=function(h,l,f){var d=new o,g=h.split(r),y=0,v=function(){var E=O(),P=O()||"";return E+P;function O(){return y<g.length?g[y++]:void 0}},w=1,_=0,S=null;return l.eachMapping(function(E){if(S!==null)if(w<E.generatedLine)k(S,v()),w++,_=0;else{var P=g[y]||"",O=P.substr(0,E.generatedColumn-_);g[y]=P.substr(E.generatedColumn-_),_=E.generatedColumn,k(S,O),S=E;return}for(;w<E.generatedLine;)d.add(v()),w++;if(_<E.generatedColumn){var P=g[y]||"";d.add(P.substr(0,E.generatedColumn)),g[y]=P.substr(E.generatedColumn),_=E.generatedColumn}S=E},this),y<g.length&&(S&&k(S,v()),d.add(g.splice(y).join(""))),l.sources.forEach(function(E){var P=l.sourceContentFor(E);P!=null&&(f!=null&&(E=t.join(f,E)),d.setSourceContent(E,P))}),d;function k(E,P){if(E===null||E.source===void 0)d.add(P);else{var O=f?t.join(f,E.source):E.source;d.add(new o(E.originalLine,E.originalColumn,O,P,E.name))}}},o.prototype.add=function(h){if(Array.isArray(h))h.forEach(function(l){this.add(l)},this);else if(h[i]||typeof h=="string")h&&this.children.push(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},o.prototype.prepend=function(h){if(Array.isArray(h))for(var l=h.length-1;l>=0;l--)this.prepend(h[l]);else if(h[i]||typeof h=="string")this.children.unshift(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},o.prototype.walk=function(h){for(var l,f=0,d=this.children.length;f<d;f++)l=this.children[f],l[i]?l.walk(h):l!==""&&h(l,{source:this.source,line:this.line,column:this.column,name:this.name})},o.prototype.join=function(h){var l,f,d=this.children.length;if(d>0){for(l=[],f=0;f<d-1;f++)l.push(this.children[f]),l.push(h);l.push(this.children[f]),this.children=l}return this},o.prototype.replaceRight=function(h,l){var f=this.children[this.children.length-1];return f[i]?f.replaceRight(h,l):typeof f=="string"?this.children[this.children.length-1]=f.replace(h,l):this.children.push("".replace(h,l)),this},o.prototype.setSourceContent=function(h,l){this.sourceContents[t.toSetString(h)]=l},o.prototype.walkSourceContents=function(h){for(var l=0,f=this.children.length;l<f;l++)this.children[l][i]&&this.children[l].walkSourceContents(h);for(var d=Object.keys(this.sourceContents),l=0,f=d.length;l<f;l++)h(t.fromSetString(d[l]),this.sourceContents[d[l]])},o.prototype.toString=function(){var h="";return this.walk(function(l){h+=l}),h},o.prototype.toStringWithSourceMap=function(h){var l={code:"",line:1,column:0},f=new e(h),d=!1,g=null,y=null,v=null,w=null;return this.walk(function(_,S){l.code+=_,S.source!==null&&S.line!==null&&S.column!==null?((g!==S.source||y!==S.line||v!==S.column||w!==S.name)&&f.addMapping({source:S.source,original:{line:S.line,column:S.column},generated:{line:l.line,column:l.column},name:S.name}),g=S.source,y=S.line,v=S.column,w=S.name,d=!0):d&&(f.addMapping({generated:{line:l.line,column:l.column}}),g=null,d=!1);for(var k=0,E=_.length;k<E;k++)_.charCodeAt(k)===s?(l.line++,l.column=0,k+1===E?(g=null,d=!1):d&&f.addMapping({source:S.source,original:{line:S.line,column:S.column},generated:{line:l.line,column:l.column},name:S.name})):l.column++}),this.walkSourceContents(function(_,S){f.setSourceContent(_,S)}),{code:l.code,map:f}},ch.SourceNode=o,ch}var dg;function d1(){return dg||(dg=1,Zi.SourceMapGenerator=Rw().SourceMapGenerator,Zi.SourceMapConsumer=kC().SourceMapConsumer,Zi.SourceNode=PC().SourceNode),Zi}var Mw=Tc(eI),uh,mg;function Dw(){if(mg)return uh;mg=1;let{existsSync:e,readFileSync:t}=hC,{dirname:r,join:s}=c1,{SourceMapConsumer:i,SourceMapGenerator:o}=d1();function a(l){return ge?ge.from(l,"base64").toString():window.atob(l)}class h{constructor(f,d){if(d.map===!1)return;this.loadAnnotation(f),this.inline=this.startWith(this.annotation,"data:");let g=d.map?d.map.prev:void 0,y=this.loadMap(d.from,g);!this.mapFile&&d.from&&(this.mapFile=d.from),this.mapFile&&(this.root=r(this.mapFile)),y&&(this.text=y)}consumer(){return this.consumerCache||(this.consumerCache=new i(this.text)),this.consumerCache}decodeInline(f){let d=/^data:application\/json;charset=utf-?8;base64,/,g=/^data:application\/json;base64,/,y=/^data:application\/json;charset=utf-?8,/,v=/^data:application\/json,/,w=f.match(y)||f.match(v);if(w)return decodeURIComponent(f.substr(w[0].length));let _=f.match(d)||f.match(g);if(_)return a(f.substr(_[0].length));let S=f.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+S)}getAnnotationURL(f){return f.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(f){return typeof f!="object"?!1:typeof f.mappings=="string"||typeof f._mappings=="string"||Array.isArray(f.sections)}loadAnnotation(f){let d=f.match(/\/\*\s*# sourceMappingURL=/g);if(!d)return;let g=f.lastIndexOf(d.pop()),y=f.indexOf("*/",g);g>-1&&y>-1&&(this.annotation=this.getAnnotationURL(f.substring(g,y)))}loadFile(f){if(this.root=r(f),e(f))return this.mapFile=f,t(f,"utf-8").toString().trim()}loadMap(f,d){if(d===!1)return!1;if(d){if(typeof d=="string")return d;if(typeof d=="function"){let g=d(f);if(g){let y=this.loadFile(g);if(!y)throw new Error("Unable to load previous source map: "+g.toString());return y}}else{if(d instanceof i)return o.fromSourceMap(d).toString();if(d instanceof o)return d.toString();if(this.isMap(d))return JSON.stringify(d);throw new Error("Unsupported previous source map format: "+d.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let g=this.annotation;return f&&(g=s(r(f),g)),this.loadFile(g)}}}startWith(f,d){return f?f.substr(0,d.length)===d:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return uh=h,h.default=h,uh}var hh,gg;function Hc(){if(gg)return hh;gg=1;let{nanoid:e}=wC(),{isAbsolute:t,resolve:r}=c1,{SourceMapConsumer:s,SourceMapGenerator:i}=d1(),{fileURLToPath:o,pathToFileURL:a}=Mw,h=u1(),l=Dw(),f=Cw(),d=Symbol("fromOffsetCache"),g=!!(s&&i),y=!!(r&&t);class v{constructor(_,S={}){if(_===null||typeof _>"u"||typeof _=="object"&&!_.toString)throw new Error(`PostCSS received ${_} instead of CSS string`);if(this.css=_.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,S.from&&(!y||/^\w+:\/\//.test(S.from)||t(S.from)?this.file=S.from:this.file=r(S.from)),y&&g){let k=new l(this.css,S);if(k.text){this.map=k;let E=k.consumer().file;!this.file&&E&&(this.file=this.mapResolve(E))}}this.file||(this.id="<input css "+e(6)+">"),this.map&&(this.map.file=this.from)}error(_,S,k,E={}){let P,O,A;if(S&&typeof S=="object"){let F=S,x=k;if(typeof F.offset=="number"){let I=this.fromOffset(F.offset);S=I.line,k=I.col}else S=F.line,k=F.column;if(typeof x.offset=="number"){let I=this.fromOffset(x.offset);O=I.line,P=I.col}else O=x.line,P=x.column}else if(!k){let F=this.fromOffset(S);S=F.line,k=F.col}let M=this.origin(S,k,O,P);return M?A=new h(_,M.endLine===void 0?M.line:{column:M.column,line:M.line},M.endLine===void 0?M.column:{column:M.endColumn,line:M.endLine},M.source,M.file,E.plugin):A=new h(_,O===void 0?S:{column:k,line:S},O===void 0?k:{column:P,line:O},this.css,this.file,E.plugin),A.input={column:k,endColumn:P,endLine:O,line:S,source:this.css},this.file&&(a&&(A.input.url=a(this.file).toString()),A.input.file=this.file),A}fromOffset(_){let S,k;if(this[d])k=this[d];else{let P=this.css.split(`
|
|
`);k=new Array(P.length);let O=0;for(let A=0,M=P.length;A<M;A++)k[A]=O,O+=P[A].length+1;this[d]=k}S=k[k.length-1];let E=0;if(_>=S)E=k.length-1;else{let P=k.length-2,O;for(;E<P;)if(O=E+(P-E>>1),_<k[O])P=O-1;else if(_>=k[O+1])E=O+1;else{E=O;break}}return{col:_-k[E]+1,line:E+1}}mapResolve(_){return/^\w+:\/\//.test(_)?_:r(this.map.consumer().sourceRoot||this.map.root||".",_)}origin(_,S,k,E){if(!this.map)return!1;let P=this.map.consumer(),O=P.originalPositionFor({column:S,line:_});if(!O.source)return!1;let A;typeof k=="number"&&(A=P.originalPositionFor({column:E,line:k}));let M;t(O.source)?M=a(O.source):M=new URL(O.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let F={column:O.column,endColumn:A&&A.column,endLine:A&&A.line,line:O.line,url:M.toString()};if(M.protocol==="file:")if(o)F.file=o(M);else throw new Error("file: protocol is not available in this PostCSS build");let x=P.sourceContentFor(O.source);return x&&(F.source=x),F}toJSON(){let _={};for(let S of["hasBOM","css","file","id"])this[S]!=null&&(_[S]=this[S]);return this.map&&(_.map={...this.map},_.map.consumerCache&&(_.map.consumerCache=void 0)),_}get from(){return this.file||this.id}}return hh=v,v.default=v,f&&f.registerInput&&f.registerInput(v),hh}var ph,yg;function ea(){if(yg)return ph;yg=1;let e=Wn(),t,r;class s extends e{constructor(o){super(o),this.type="root",this.nodes||(this.nodes=[])}normalize(o,a,h){let l=super.normalize(o);if(a){if(h==="prepend")this.nodes.length>1?a.raws.before=this.nodes[1].raws.before:delete a.raws.before;else if(this.first!==a)for(let f of l)f.raws.before=a.raws.before}return l}removeChild(o,a){let h=this.index(o);return!a&&h===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[h].raws.before),super.removeChild(o)}toResult(o={}){return new t(new r,this,o).stringify()}}return s.registerLazyResult=i=>{t=i},s.registerProcessor=i=>{r=i},ph=s,s.default=s,e.registerRoot(s),ph}var fh,vg;function Fw(){if(vg)return fh;vg=1;let e={comma(t){return e.split(t,[","],!0)},space(t){let r=[" ",`
|
|
`," "];return e.split(t,r)},split(t,r,s){let i=[],o="",a=!1,h=0,l=!1,f="",d=!1;for(let g of t)d?d=!1:g==="\\"?d=!0:l?g===f&&(l=!1):g==='"'||g==="'"?(l=!0,f=g):g==="("?h+=1:g===")"?h>0&&(h-=1):h===0&&r.includes(g)&&(a=!0),a?(o!==""&&i.push(o.trim()),o="",a=!1):o+=g;return(s||o!=="")&&i.push(o.trim()),i}};return fh=e,e.default=e,fh}var dh,Sg;function m1(){if(Sg)return dh;Sg=1;let e=Wn(),t=Fw();class r extends e{constructor(i){super(i),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return t.comma(this.selector)}set selectors(i){let o=this.selector?this.selector.match(/,\s*/):null,a=o?o[0]:","+this.raw("between","beforeOpen");this.selector=i.join(a)}}return dh=r,r.default=r,e.registerRule(r),dh}var mh,_g;function AC(){if(_g)return mh;_g=1;let e=p1(),t=Gc(),r=zc(),s=Hc(),i=Dw(),o=ea(),a=m1();function h(l,f){if(Array.isArray(l))return l.map(y=>h(y));let{inputs:d,...g}=l;if(d){f=[];for(let y of d){let v={...y,__proto__:s.prototype};v.map&&(v.map={...v.map,__proto__:i.prototype}),f.push(v)}}if(g.nodes&&(g.nodes=l.nodes.map(y=>h(y,f))),g.source){let{inputId:y,...v}=g.source;g.source=v,y!=null&&(g.source.input=f[y])}if(g.type==="root")return new o(g);if(g.type==="decl")return new r(g);if(g.type==="rule")return new a(g);if(g.type==="comment")return new t(g);if(g.type==="atrule")return new e(g);throw new Error("Unknown node type: "+l.type)}return mh=h,h.default=h,mh}var gh,wg;function Bw(){if(wg)return gh;wg=1;let{dirname:e,relative:t,resolve:r,sep:s}=c1,{SourceMapConsumer:i,SourceMapGenerator:o}=d1(),{pathToFileURL:a}=Mw,h=Hc(),l=!!(i&&o),f=!!(e&&r&&t&&s);class d{constructor(y,v,w,_){this.stringify=y,this.mapOpts=w.map||{},this.root=v,this.opts=w,this.css=_,this.originalCSS=_,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let y;this.isInline()?y="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?y=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?y=this.mapOpts.annotation(this.opts.to,this.root):y=this.outputFile()+".map";let v=`
|
|
`;this.css.includes(`\r
|
|
`)&&(v=`\r
|
|
`),this.css+=v+"/*# sourceMappingURL="+y+" */"}applyPrevMaps(){for(let y of this.previous()){let v=this.toUrl(this.path(y.file)),w=y.root||e(y.file),_;this.mapOpts.sourcesContent===!1?(_=new i(y.text),_.sourcesContent&&(_.sourcesContent=null)):_=y.consumer(),this.map.applySourceMap(_,v,this.toUrl(this.path(w)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let y;for(let v=this.root.nodes.length-1;v>=0;v--)y=this.root.nodes[v],y.type==="comment"&&y.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(v)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),f&&l&&this.isMap())return this.generateMap();{let y="";return this.stringify(this.root,v=>{y+=v}),[y]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let y=this.previous()[0].consumer();y.file=this.outputFile(),this.map=o.fromSourceMap(y,{ignoreInvalidMapping:!0})}else this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0});let y=1,v=1,w="<no source>",_={generated:{column:0,line:0},original:{column:0,line:0},source:""},S,k;this.stringify(this.root,(E,P,O)=>{if(this.css+=E,P&&O!=="end"&&(_.generated.line=y,_.generated.column=v-1,P.source&&P.source.start?(_.source=this.sourcePath(P),_.original.line=P.source.start.line,_.original.column=P.source.start.column-1,this.map.addMapping(_)):(_.source=w,_.original.line=1,_.original.column=0,this.map.addMapping(_))),k=E.match(/\n/g),k?(y+=k.length,S=E.lastIndexOf(`
|
|
`),v=E.length-S):v+=E.length,P&&O!=="start"){let A=P.parent||{raws:{}};(!(P.type==="decl"||P.type==="atrule"&&!P.nodes)||P!==A.last||A.raws.semicolon)&&(P.source&&P.source.end?(_.source=this.sourcePath(P),_.original.line=P.source.end.line,_.original.column=P.source.end.column-1,_.generated.line=y,_.generated.column=v-2,this.map.addMapping(_)):(_.source=w,_.original.line=1,_.original.column=0,_.generated.line=y,_.generated.column=v-1,this.map.addMapping(_)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(y=>y.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let y=this.mapOpts.annotation;return typeof y<"u"&&y!==!0?!1:this.previous().length?this.previous().some(v=>v.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(y=>y.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(y){if(this.mapOpts.absolute||y.charCodeAt(0)===60||/^\w+:\/\//.test(y))return y;let v=this.memoizedPaths.get(y);if(v)return v;let w=this.opts.to?e(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(w=e(r(w,this.mapOpts.annotation)));let _=t(w,y);return this.memoizedPaths.set(y,_),_}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(y=>{if(y.source&&y.source.input.map){let v=y.source.input.map;this.previousMaps.includes(v)||this.previousMaps.push(v)}});else{let y=new h(this.originalCSS,this.opts);y.map&&this.previousMaps.push(y.map)}return this.previousMaps}setSourcesContent(){let y={};if(this.root)this.root.walk(v=>{if(v.source){let w=v.source.input.from;if(w&&!y[w]){y[w]=!0;let _=this.usesFileUrls?this.toFileUrl(w):this.toUrl(this.path(w));this.map.setSourceContent(_,v.source.input.css)}}});else if(this.css){let v=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(v,this.css)}}sourcePath(y){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(y.source.input.from):this.toUrl(this.path(y.source.input.from))}toBase64(y){return ge?ge.from(y).toString("base64"):window.btoa(unescape(encodeURIComponent(y)))}toFileUrl(y){let v=this.memoizedFileURLs.get(y);if(v)return v;if(a){let w=a(y).toString();return this.memoizedFileURLs.set(y,w),w}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(y){let v=this.memoizedURLs.get(y);if(v)return v;s==="\\"&&(y=y.replace(/\\/g,"/"));let w=encodeURI(y).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(y,w),w}}return gh=d,gh}var yh,bg;function IC(){if(bg)return yh;bg=1;let e=p1(),t=Gc(),r=zc(),s=ea(),i=m1(),o=Iw();const a={empty:!0,space:!0};function h(f){for(let d=f.length-1;d>=0;d--){let g=f[d],y=g[3]||g[2];if(y)return y}}class l{constructor(d){this.input=d,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:d,start:{column:1,line:1,offset:0}}}atrule(d){let g=new e;g.name=d[1].slice(1),g.name===""&&this.unnamedAtrule(g,d),this.init(g,d[2]);let y,v,w,_=!1,S=!1,k=[],E=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),y=d[0],y==="("||y==="["?E.push(y==="("?")":"]"):y==="{"&&E.length>0?E.push("}"):y===E[E.length-1]&&E.pop(),E.length===0)if(y===";"){g.source.end=this.getPosition(d[2]),g.source.end.offset++,this.semicolon=!0;break}else if(y==="{"){S=!0;break}else if(y==="}"){if(k.length>0){for(w=k.length-1,v=k[w];v&&v[0]==="space";)v=k[--w];v&&(g.source.end=this.getPosition(v[3]||v[2]),g.source.end.offset++)}this.end(d);break}else k.push(d);else k.push(d);if(this.tokenizer.endOfFile()){_=!0;break}}g.raws.between=this.spacesAndCommentsFromEnd(k),k.length?(g.raws.afterName=this.spacesAndCommentsFromStart(k),this.raw(g,"params",k),_&&(d=k[k.length-1],g.source.end=this.getPosition(d[3]||d[2]),g.source.end.offset++,this.spaces=g.raws.between,g.raws.between="")):(g.raws.afterName="",g.params=""),S&&(g.nodes=[],this.current=g)}checkMissedSemicolon(d){let g=this.colon(d);if(g===!1)return;let y=0,v;for(let w=g-1;w>=0&&(v=d[w],!(v[0]!=="space"&&(y+=1,y===2)));w--);throw this.input.error("Missed semicolon",v[0]==="word"?v[3]+1:v[2])}colon(d){let g=0,y,v,w;for(let[_,S]of d.entries()){if(v=S,w=v[0],w==="("&&(g+=1),w===")"&&(g-=1),g===0&&w===":")if(!y)this.doubleColon(v);else{if(y[0]==="word"&&y[1]==="progid")continue;return _}y=v}return!1}comment(d){let g=new t;this.init(g,d[2]),g.source.end=this.getPosition(d[3]||d[2]),g.source.end.offset++;let y=d[1].slice(2,-2);if(/^\s*$/.test(y))g.text="",g.raws.left=y,g.raws.right="";else{let v=y.match(/^(\s*)([^]*\S)(\s*)$/);g.text=v[2],g.raws.left=v[1],g.raws.right=v[3]}}createTokenizer(){this.tokenizer=o(this.input)}decl(d,g){let y=new r;this.init(y,d[0][2]);let v=d[d.length-1];for(v[0]===";"&&(this.semicolon=!0,d.pop()),y.source.end=this.getPosition(v[3]||v[2]||h(d)),y.source.end.offset++;d[0][0]!=="word";)d.length===1&&this.unknownWord(d),y.raws.before+=d.shift()[1];for(y.source.start=this.getPosition(d[0][2]),y.prop="";d.length;){let E=d[0][0];if(E===":"||E==="space"||E==="comment")break;y.prop+=d.shift()[1]}y.raws.between="";let w;for(;d.length;)if(w=d.shift(),w[0]===":"){y.raws.between+=w[1];break}else w[0]==="word"&&/\w/.test(w[1])&&this.unknownWord([w]),y.raws.between+=w[1];(y.prop[0]==="_"||y.prop[0]==="*")&&(y.raws.before+=y.prop[0],y.prop=y.prop.slice(1));let _=[],S;for(;d.length&&(S=d[0][0],!(S!=="space"&&S!=="comment"));)_.push(d.shift());this.precheckMissedSemicolon(d);for(let E=d.length-1;E>=0;E--){if(w=d[E],w[1].toLowerCase()==="!important"){y.important=!0;let P=this.stringFrom(d,E);P=this.spacesFromEnd(d)+P,P!==" !important"&&(y.raws.important=P);break}else if(w[1].toLowerCase()==="important"){let P=d.slice(0),O="";for(let A=E;A>0;A--){let M=P[A][0];if(O.trim().startsWith("!")&&M!=="space")break;O=P.pop()[1]+O}O.trim().startsWith("!")&&(y.important=!0,y.raws.important=O,d=P)}if(w[0]!=="space"&&w[0]!=="comment")break}d.some(E=>E[0]!=="space"&&E[0]!=="comment")&&(y.raws.between+=_.map(E=>E[1]).join(""),_=[]),this.raw(y,"value",_.concat(d),g),y.value.includes(":")&&!g&&this.checkMissedSemicolon(d)}doubleColon(d){throw this.input.error("Double colon",{offset:d[2]},{offset:d[2]+d[1].length})}emptyRule(d){let g=new i;this.init(g,d[2]),g.selector="",g.raws.between="",this.current=g}end(d){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(d[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(d)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(d){if(this.spaces+=d[1],this.current.nodes){let g=this.current.nodes[this.current.nodes.length-1];g&&g.type==="rule"&&!g.raws.ownSemicolon&&(g.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(d){let g=this.input.fromOffset(d);return{column:g.col,line:g.line,offset:d}}init(d,g){this.current.push(d),d.source={input:this.input,start:this.getPosition(g)},d.raws.before=this.spaces,this.spaces="",d.type!=="comment"&&(this.semicolon=!1)}other(d){let g=!1,y=null,v=!1,w=null,_=[],S=d[1].startsWith("--"),k=[],E=d;for(;E;){if(y=E[0],k.push(E),y==="("||y==="[")w||(w=E),_.push(y==="("?")":"]");else if(S&&v&&y==="{")w||(w=E),_.push("}");else if(_.length===0)if(y===";")if(v){this.decl(k,S);return}else break;else if(y==="{"){this.rule(k);return}else if(y==="}"){this.tokenizer.back(k.pop()),g=!0;break}else y===":"&&(v=!0);else y===_[_.length-1]&&(_.pop(),_.length===0&&(w=null));E=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(g=!0),_.length>0&&this.unclosedBracket(w),g&&v){if(!S)for(;k.length&&(E=k[k.length-1][0],!(E!=="space"&&E!=="comment"));)this.tokenizer.back(k.pop());this.decl(k,S)}else this.unknownWord(k)}parse(){let d;for(;!this.tokenizer.endOfFile();)switch(d=this.tokenizer.nextToken(),d[0]){case"space":this.spaces+=d[1];break;case";":this.freeSemicolon(d);break;case"}":this.end(d);break;case"comment":this.comment(d);break;case"at-word":this.atrule(d);break;case"{":this.emptyRule(d);break;default:this.other(d);break}this.endFile()}precheckMissedSemicolon(){}raw(d,g,y,v){let w,_,S=y.length,k="",E=!0,P,O;for(let A=0;A<S;A+=1)w=y[A],_=w[0],_==="space"&&A===S-1&&!v?E=!1:_==="comment"?(O=y[A-1]?y[A-1][0]:"empty",P=y[A+1]?y[A+1][0]:"empty",!a[O]&&!a[P]?k.slice(-1)===","?E=!1:k+=w[1]:E=!1):k+=w[1];if(!E){let A=y.reduce((M,F)=>M+F[1],"");d.raws[g]={raw:A,value:k}}d[g]=k}rule(d){d.pop();let g=new i;this.init(g,d[0][2]),g.raws.between=this.spacesAndCommentsFromEnd(d),this.raw(g,"selector",d),this.current=g}spacesAndCommentsFromEnd(d){let g,y="";for(;d.length&&(g=d[d.length-1][0],!(g!=="space"&&g!=="comment"));)y=d.pop()[1]+y;return y}spacesAndCommentsFromStart(d){let g,y="";for(;d.length&&(g=d[0][0],!(g!=="space"&&g!=="comment"));)y+=d.shift()[1];return y}spacesFromEnd(d){let g,y="";for(;d.length&&(g=d[d.length-1][0],g==="space");)y=d.pop()[1]+y;return y}stringFrom(d,g){let y="";for(let v=g;v<d.length;v++)y+=d[v][1];return d.splice(g,d.length-g),y}unclosedBlock(){let d=this.current.source.start;throw this.input.error("Unclosed block",d.line,d.column)}unclosedBracket(d){throw this.input.error("Unclosed bracket",{offset:d[2]},{offset:d[2]+1})}unexpectedClose(d){throw this.input.error("Unexpected }",{offset:d[2]},{offset:d[2]+1})}unknownWord(d){throw this.input.error("Unknown word",{offset:d[0][2]},{offset:d[0][2]+d[0][1].length})}unnamedAtrule(d,g){throw this.input.error("At-rule without name",{offset:g[2]},{offset:g[2]+g[1].length})}}return yh=l,yh}var vh,Eg;function g1(){if(Eg)return vh;Eg=1;let e=Wn(),t=Hc(),r=IC();function s(i,o){let a=new t(i,o),h=new r(a);try{h.parse()}catch(l){throw dr.env.NODE_ENV!=="production"&&l.name==="CssSyntaxError"&&o&&o.from&&(/\.scss$/i.test(o.from)?l.message+=`
|
|
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(o.from)?l.message+=`
|
|
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(o.from)&&(l.message+=`
|
|
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),l}return h.root}return vh=s,s.default=s,e.registerParse(s),vh}var Sh,Tg;function $w(){if(Tg)return Sh;Tg=1;class e{constructor(r,s={}){if(this.type="warning",this.text=r,s.node&&s.node.source){let i=s.node.rangeBy(s);this.line=i.start.line,this.column=i.start.column,this.endLine=i.end.line,this.endColumn=i.end.column}for(let i in s)this[i]=s[i]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return Sh=e,e.default=e,Sh}var _h,xg;function y1(){if(xg)return _h;xg=1;let e=$w();class t{constructor(s,i,o){this.processor=s,this.messages=[],this.root=i,this.opts=o,this.css=void 0,this.map=void 0}toString(){return this.css}warn(s,i={}){i.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(i.plugin=this.lastPlugin.postcssPlugin);let o=new e(s,i);return this.messages.push(o),o}warnings(){return this.messages.filter(s=>s.type==="warning")}get content(){return this.css}}return _h=t,t.default=t,_h}var wh,kg;function jw(){if(kg)return wh;kg=1;let e={};return wh=function(r){e[r]||(e[r]=!0,typeof console<"u"&&console.warn&&console.warn(r))},wh}var bh,Pg;function Uw(){if(Pg)return bh;Pg=1;let e=Wn(),t=f1(),r=Bw(),s=g1(),i=y1(),o=ea(),a=Vc(),{isClean:h,my:l}=h1(),f=jw();const d={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},g={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},y={Once:!0,postcssPlugin:!0,prepare:!0},v=0;function w(O){return typeof O=="object"&&typeof O.then=="function"}function _(O){let A=!1,M=d[O.type];return O.type==="decl"?A=O.prop.toLowerCase():O.type==="atrule"&&(A=O.name.toLowerCase()),A&&O.append?[M,M+"-"+A,v,M+"Exit",M+"Exit-"+A]:A?[M,M+"-"+A,M+"Exit",M+"Exit-"+A]:O.append?[M,v,M+"Exit"]:[M,M+"Exit"]}function S(O){let A;return O.type==="document"?A=["Document",v,"DocumentExit"]:O.type==="root"?A=["Root",v,"RootExit"]:A=_(O),{eventIndex:0,events:A,iterator:0,node:O,visitorIndex:0,visitors:[]}}function k(O){return O[h]=!1,O.nodes&&O.nodes.forEach(A=>k(A)),O}let E={};class P{constructor(A,M,F){this.stringified=!1,this.processed=!1;let x;if(typeof M=="object"&&M!==null&&(M.type==="root"||M.type==="document"))x=k(M);else if(M instanceof P||M instanceof i)x=k(M.root),M.map&&(typeof F.map>"u"&&(F.map={}),F.map.inline||(F.map.inline=!1),F.map.prev=M.map);else{let I=s;F.syntax&&(I=F.syntax.parse),F.parser&&(I=F.parser),I.parse&&(I=I.parse);try{x=I(M,F)}catch(R){this.processed=!0,this.error=R}x&&!x[l]&&e.rebuild(x)}this.result=new i(A,x,F),this.helpers={...E,postcss:E,result:this.result},this.plugins=this.processor.plugins.map(I=>typeof I=="object"&&I.prepare?{...I,...I.prepare(this.result)}:I)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(A){return this.async().catch(A)}finally(A){return this.async().then(A,A)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(A,M){let F=this.result.lastPlugin;try{if(M&&M.addToError(A),this.error=A,A.name==="CssSyntaxError"&&!A.plugin)A.plugin=F.postcssPlugin,A.setMessage();else if(F.postcssVersion&&dr.env.NODE_ENV!=="production"){let x=F.postcssPlugin,I=F.postcssVersion,R=this.result.processor.version,L=I.split("."),z=R.split(".");(L[0]!==z[0]||parseInt(L[1])>parseInt(z[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+R+", but "+x+" uses "+I+". Perhaps this is the source of the error below.")}}catch(x){console&&console.error&&console.error(x)}return A}prepareVisitors(){this.listeners={};let A=(M,F,x)=>{this.listeners[F]||(this.listeners[F]=[]),this.listeners[F].push([M,x])};for(let M of this.plugins)if(typeof M=="object")for(let F in M){if(!g[F]&&/^[A-Z]/.test(F))throw new Error(`Unknown event ${F} in ${M.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!y[F])if(typeof M[F]=="object")for(let x in M[F])x==="*"?A(M,F,M[F][x]):A(M,F+"-"+x.toLowerCase(),M[F][x]);else typeof M[F]=="function"&&A(M,F,M[F])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let A=0;A<this.plugins.length;A++){let M=this.plugins[A],F=this.runOnRoot(M);if(w(F))try{await F}catch(x){throw this.handleError(x)}}if(this.prepareVisitors(),this.hasListener){let A=this.result.root;for(;!A[h];){A[h]=!0;let M=[S(A)];for(;M.length>0;){let F=this.visitTick(M);if(w(F))try{await F}catch(x){let I=M[M.length-1].node;throw this.handleError(x,I)}}}if(this.listeners.OnceExit)for(let[M,F]of this.listeners.OnceExit){this.result.lastPlugin=M;try{if(A.type==="document"){let x=A.nodes.map(I=>F(I,this.helpers));await Promise.all(x)}else await F(A,this.helpers)}catch(x){throw this.handleError(x)}}}return this.processed=!0,this.stringify()}runOnRoot(A){this.result.lastPlugin=A;try{if(typeof A=="object"&&A.Once){if(this.result.root.type==="document"){let M=this.result.root.nodes.map(F=>A.Once(F,this.helpers));return w(M[0])?Promise.all(M):M}return A.Once(this.result.root,this.helpers)}else if(typeof A=="function")return A(this.result.root,this.result)}catch(M){throw this.handleError(M)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let A=this.result.opts,M=a;A.syntax&&(M=A.syntax.stringify),A.stringifier&&(M=A.stringifier),M.stringify&&(M=M.stringify);let x=new r(M,this.result.root,this.result.opts).generate();return this.result.css=x[0],this.result.map=x[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let A of this.plugins){let M=this.runOnRoot(A);if(w(M))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let A=this.result.root;for(;!A[h];)A[h]=!0,this.walkSync(A);if(this.listeners.OnceExit)if(A.type==="document")for(let M of A.nodes)this.visitSync(this.listeners.OnceExit,M);else this.visitSync(this.listeners.OnceExit,A)}return this.result}then(A,M){return dr.env.NODE_ENV!=="production"&&("from"in this.opts||f("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(A,M)}toString(){return this.css}visitSync(A,M){for(let[F,x]of A){this.result.lastPlugin=F;let I;try{I=x(M,this.helpers)}catch(R){throw this.handleError(R,M.proxyOf)}if(M.type!=="root"&&M.type!=="document"&&!M.parent)return!0;if(w(I))throw this.getAsyncError()}}visitTick(A){let M=A[A.length-1],{node:F,visitors:x}=M;if(F.type!=="root"&&F.type!=="document"&&!F.parent){A.pop();return}if(x.length>0&&M.visitorIndex<x.length){let[R,L]=x[M.visitorIndex];M.visitorIndex+=1,M.visitorIndex===x.length&&(M.visitors=[],M.visitorIndex=0),this.result.lastPlugin=R;try{return L(F.toProxy(),this.helpers)}catch(z){throw this.handleError(z,F)}}if(M.iterator!==0){let R=M.iterator,L;for(;L=F.nodes[F.indexes[R]];)if(F.indexes[R]+=1,!L[h]){L[h]=!0,A.push(S(L));return}M.iterator=0,delete F.indexes[R]}let I=M.events;for(;M.eventIndex<I.length;){let R=I[M.eventIndex];if(M.eventIndex+=1,R===v){F.nodes&&F.nodes.length&&(F[h]=!0,M.iterator=F.getIterator());return}else if(this.listeners[R]){M.visitors=this.listeners[R];return}}A.pop()}walkSync(A){A[h]=!0;let M=_(A);for(let F of M)if(F===v)A.nodes&&A.each(x=>{x[h]||this.walkSync(x)});else{let x=this.listeners[F];if(x&&this.visitSync(x,A.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}return P.registerPostcss=O=>{E=O},bh=P,P.default=P,o.registerLazyResult(P),t.registerLazyResult(P),bh}var Eh,Ag;function CC(){if(Ag)return Eh;Ag=1;let e=Bw(),t=g1();const r=y1();let s=Vc(),i=jw();class o{constructor(h,l,f){l=l.toString(),this.stringified=!1,this._processor=h,this._css=l,this._opts=f,this._map=void 0;let d,g=s;this.result=new r(this._processor,d,this._opts),this.result.css=l;let y=this;Object.defineProperty(this.result,"root",{get(){return y.root}});let v=new e(g,d,this._opts,l);if(v.isMap()){let[w,_]=v.generate();w&&(this.result.css=w),_&&(this.result.map=_)}else v.clearAnnotation(),this.result.css=v.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(h){return this.async().catch(h)}finally(h){return this.async().then(h,h)}sync(){if(this.error)throw this.error;return this.result}then(h,l){return dr.env.NODE_ENV!=="production"&&("from"in this._opts||i("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(h,l)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let h,l=t;try{h=l(this._css,this._opts)}catch(f){this.error=f}if(this.error)throw this.error;return this._root=h,h}get[Symbol.toStringTag](){return"NoWorkResult"}}return Eh=o,o.default=o,Eh}var Th,Ig;function NC(){if(Ig)return Th;Ig=1;let e=f1(),t=Uw(),r=CC(),s=ea();class i{constructor(a=[]){this.version="8.4.48",this.plugins=this.normalize(a)}normalize(a){let h=[];for(let l of a)if(l.postcss===!0?l=l():l.postcss&&(l=l.postcss),typeof l=="object"&&Array.isArray(l.plugins))h=h.concat(l.plugins);else if(typeof l=="object"&&l.postcssPlugin)h.push(l);else if(typeof l=="function")h.push(l);else if(typeof l=="object"&&(l.parse||l.stringify)){if(dr.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(l+" is not a PostCSS plugin");return h}process(a,h={}){return!this.plugins.length&&!h.parser&&!h.stringifier&&!h.syntax?new r(this,a,h):new t(this,a,h)}use(a){return this.plugins=this.plugins.concat(this.normalize([a])),this}}return Th=i,i.default=i,s.registerProcessor(i),e.registerProcessor(i),Th}var xh,Cg;function OC(){if(Cg)return xh;Cg=1;let e=p1(),t=Gc(),r=Wn(),s=u1(),i=zc(),o=f1(),a=AC(),h=Hc(),l=Uw(),f=Fw(),d=Wc(),g=g1(),y=NC(),v=y1(),w=ea(),_=m1(),S=Vc(),k=$w();function E(...P){return P.length===1&&Array.isArray(P[0])&&(P=P[0]),new y(P)}return E.plugin=function(O,A){let M=!1;function F(...I){console&&console.warn&&!M&&(M=!0,console.warn(O+`: postcss.plugin was deprecated. Migration guide:
|
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),dr.env.LANG&&dr.env.LANG.startsWith("cn")&&console.warn(O+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
https://www.w3ctech.com/topic/2226`));let R=A(...I);return R.postcssPlugin=O,R.postcssVersion=new y().version,R}let x;return Object.defineProperty(F,"postcss",{get(){return x||(x=F()),x}}),F.process=function(I,R,L){return E([F(L)]).process(I,R)},F},E.stringify=S,E.parse=g,E.fromJSON=a,E.list=f,E.comment=P=>new t(P),E.atRule=P=>new e(P),E.decl=P=>new i(P),E.rule=P=>new _(P),E.root=P=>new w(P),E.document=P=>new o(P),E.CssSyntaxError=s,E.Declaration=i,E.Container=r,E.Processor=y,E.Document=o,E.Comment=t,E.Warning=k,E.AtRule=e,E.Result=v,E.Input=h,E.Rule=_,E.Root=w,E.Node=d,l.registerPostcss(E),xh=E,E.default=E,xh}var LC=OC(),vt=Ec(LC);vt.stringify;vt.fromJSON;vt.plugin;vt.parse;vt.list;vt.document;vt.comment;vt.atRule;vt.rule;vt.decl;vt.root;vt.CssSyntaxError;vt.Declaration;vt.Container;vt.Processor;vt.Document;vt.Comment;vt.Warning;vt.AtRule;vt.Result;vt.Input;const RC=vt.Rule;vt.Root;vt.Node;const qw=()=>({postcssPlugin:"vue-sfc-trim",Once(e){e.walk(({type:t,raws:r})=>{(t==="rule"||t==="atrule")&&(r.before&&(r.before=`
|
|
`),"after"in r&&r.after&&(r.after=`
|
|
`))})}});qw.postcss=!0;var Ia={exports:{}},Ca={exports:{}},Na={exports:{}},Oa={exports:{}},La={exports:{}},Ra={exports:{}},Mr={},Ma={exports:{}},Ng;function Vw(){return Ng||(Ng=1,function(e,t){t.__esModule=!0,t.default=i;function r(o){for(var a=o.toLowerCase(),h="",l=!1,f=0;f<6&&a[f]!==void 0;f++){var d=a.charCodeAt(f),g=d>=97&&d<=102||d>=48&&d<=57;if(l=d===32,!g)break;h+=a[f]}if(h.length!==0){var y=parseInt(h,16),v=y>=55296&&y<=57343;return v||y===0||y>1114111?["�",h.length+(l?1:0)]:[String.fromCodePoint(y),h.length+(l?1:0)]}}var s=/\\/;function i(o){var a=s.test(o);if(!a)return o;for(var h="",l=0;l<o.length;l++){if(o[l]==="\\"){var f=r(o.slice(l+1,l+7));if(f!==void 0){h+=f[0],l+=f[1];continue}if(o[l+1]==="\\"){h+="\\",l++;continue}o.length===l+1&&(h+=o[l]);continue}h+=o[l]}return h}e.exports=t.default}(Ma,Ma.exports)),Ma.exports}var Da={exports:{}},Og;function MC(){return Og||(Og=1,function(e,t){t.__esModule=!0,t.default=r;function r(s){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(;o.length>0;){var h=o.shift();if(!s[h])return;s=s[h]}return s}e.exports=t.default}(Da,Da.exports)),Da.exports}var Fa={exports:{}},Lg;function DC(){return Lg||(Lg=1,function(e,t){t.__esModule=!0,t.default=r;function r(s){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(;o.length>0;){var h=o.shift();s[h]||(s[h]={}),s=s[h]}}e.exports=t.default}(Fa,Fa.exports)),Fa.exports}var Ba={exports:{}},Rg;function FC(){return Rg||(Rg=1,function(e,t){t.__esModule=!0,t.default=r;function r(s){for(var i="",o=s.indexOf("/*"),a=0;o>=0;){i=i+s.slice(a,o);var h=s.indexOf("*/",o+2);if(h<0)return i;a=h+2,o=s.indexOf("/*",a)}return i=i+s.slice(a),i}e.exports=t.default}(Ba,Ba.exports)),Ba.exports}var Mg;function Xc(){if(Mg)return Mr;Mg=1,Mr.__esModule=!0,Mr.unesc=Mr.stripComments=Mr.getProp=Mr.ensureObject=void 0;var e=i(Vw());Mr.unesc=e.default;var t=i(MC());Mr.getProp=t.default;var r=i(DC());Mr.ensureObject=r.default;var s=i(FC());Mr.stripComments=s.default;function i(o){return o&&o.__esModule?o:{default:o}}return Mr}var Dg;function cn(){return Dg||(Dg=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=Xc();function s(h,l){for(var f=0;f<l.length;f++){var d=l[f];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(h,d.key,d)}}function i(h,l,f){return l&&s(h.prototype,l),Object.defineProperty(h,"prototype",{writable:!1}),h}var o=function h(l,f){if(typeof l!="object"||l===null)return l;var d=new l.constructor;for(var g in l)if(l.hasOwnProperty(g)){var y=l[g],v=typeof y;g==="parent"&&v==="object"?f&&(d[g]=f):y instanceof Array?d[g]=y.map(function(w){return h(w,d)}):d[g]=h(y,d)}return d},a=function(){function h(f){f===void 0&&(f={}),Object.assign(this,f),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var l=h.prototype;return l.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},l.replaceWith=function(){if(this.parent){for(var d in arguments)this.parent.insertBefore(this,arguments[d]);this.remove()}return this},l.next=function(){return this.parent.at(this.parent.index(this)+1)},l.prev=function(){return this.parent.at(this.parent.index(this)-1)},l.clone=function(d){d===void 0&&(d={});var g=o(this);for(var y in d)g[y]=d[y];return g},l.appendToPropertyAndEscape=function(d,g,y){this.raws||(this.raws={});var v=this[d],w=this.raws[d];this[d]=v+g,w||y!==g?this.raws[d]=(w||v)+y:delete this.raws[d]},l.setPropertyAndEscape=function(d,g,y){this.raws||(this.raws={}),this[d]=g,this.raws[d]=y},l.setPropertyWithoutEscape=function(d,g){this[d]=g,this.raws&&delete this.raws[d]},l.isAtPosition=function(d,g){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>d||this.source.end.line<d||this.source.start.line===d&&this.source.start.column>g||this.source.end.line===d&&this.source.end.column<g)},l.stringifyProperty=function(d){return this.raws&&this.raws[d]||this[d]},l.valueToString=function(){return String(this.stringifyProperty("value"))},l.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(h,[{key:"rawSpaceBefore",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.before;return d===void 0&&(d=this.spaces&&this.spaces.before),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=d}},{key:"rawSpaceAfter",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.after;return d===void 0&&(d=this.spaces.after),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=d}}]),h}();t.default=a,e.exports=t.default}(Ra,Ra.exports)),Ra.exports}var ct={},Fg;function tr(){if(Fg)return ct;Fg=1,ct.__esModule=!0,ct.UNIVERSAL=ct.TAG=ct.STRING=ct.SELECTOR=ct.ROOT=ct.PSEUDO=ct.NESTING=ct.ID=ct.COMMENT=ct.COMBINATOR=ct.CLASS=ct.ATTRIBUTE=void 0;var e="tag";ct.TAG=e;var t="string";ct.STRING=t;var r="selector";ct.SELECTOR=r;var s="root";ct.ROOT=s;var i="pseudo";ct.PSEUDO=i;var o="nesting";ct.NESTING=o;var a="id";ct.ID=a;var h="comment";ct.COMMENT=h;var l="combinator";ct.COMBINATOR=l;var f="class";ct.CLASS=f;var d="attribute";ct.ATTRIBUTE=d;var g="universal";return ct.UNIVERSAL=g,ct}var Bg;function v1(){return Bg||(Bg=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=a(cn()),s=o(tr());function i(_){if(typeof WeakMap!="function")return null;var S=new WeakMap,k=new WeakMap;return(i=function(P){return P?k:S})(_)}function o(_,S){if(_&&_.__esModule)return _;if(_===null||typeof _!="object"&&typeof _!="function")return{default:_};var k=i(S);if(k&&k.has(_))return k.get(_);var E={},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in _)if(O!=="default"&&Object.prototype.hasOwnProperty.call(_,O)){var A=P?Object.getOwnPropertyDescriptor(_,O):null;A&&(A.get||A.set)?Object.defineProperty(E,O,A):E[O]=_[O]}return E.default=_,k&&k.set(_,E),E}function a(_){return _&&_.__esModule?_:{default:_}}function h(_,S){var k=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(k)return(k=k.call(_)).next.bind(k);if(Array.isArray(_)||(k=l(_))||S){k&&(_=k);var E=0;return function(){return E>=_.length?{done:!0}:{done:!1,value:_[E++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(_,S){if(_){if(typeof _=="string")return f(_,S);var k=Object.prototype.toString.call(_).slice(8,-1);if(k==="Object"&&_.constructor&&(k=_.constructor.name),k==="Map"||k==="Set")return Array.from(_);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return f(_,S)}}function f(_,S){(S==null||S>_.length)&&(S=_.length);for(var k=0,E=new Array(S);k<S;k++)E[k]=_[k];return E}function d(_,S){for(var k=0;k<S.length;k++){var E=S[k];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(_,E.key,E)}}function g(_,S,k){return S&&d(_.prototype,S),Object.defineProperty(_,"prototype",{writable:!1}),_}function y(_,S){_.prototype=Object.create(S.prototype),_.prototype.constructor=_,v(_,S)}function v(_,S){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,P){return E.__proto__=P,E},v(_,S)}var w=function(_){y(S,_);function S(E){var P;return P=_.call(this,E)||this,P.nodes||(P.nodes=[]),P}var k=S.prototype;return k.append=function(P){return P.parent=this,this.nodes.push(P),this},k.prepend=function(P){P.parent=this,this.nodes.unshift(P);for(var O in this.indexes)this.indexes[O]++;return this},k.at=function(P){return this.nodes[P]},k.index=function(P){return typeof P=="number"?P:this.nodes.indexOf(P)},k.removeChild=function(P){P=this.index(P),this.at(P).parent=void 0,this.nodes.splice(P,1);var O;for(var A in this.indexes)O=this.indexes[A],O>=P&&(this.indexes[A]=O-1);return this},k.removeAll=function(){for(var P=h(this.nodes),O;!(O=P()).done;){var A=O.value;A.parent=void 0}return this.nodes=[],this},k.empty=function(){return this.removeAll()},k.insertAfter=function(P,O){O.parent=this;var A=this.index(P);this.nodes.splice(A+1,0,O),O.parent=this;var M;for(var F in this.indexes)M=this.indexes[F],A<M&&(this.indexes[F]=M+1);return this},k.insertBefore=function(P,O){O.parent=this;var A=this.index(P);this.nodes.splice(A,0,O),O.parent=this;var M;for(var F in this.indexes)M=this.indexes[F],M>=A&&(this.indexes[F]=M+1);return this},k._findChildAtPosition=function(P,O){var A=void 0;return this.each(function(M){if(M.atPosition){var F=M.atPosition(P,O);if(F)return A=F,!1}else if(M.isAtPosition(P,O))return A=M,!1}),A},k.atPosition=function(P,O){if(this.isAtPosition(P,O))return this._findChildAtPosition(P,O)||this},k._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},k.each=function(P){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var O=this.lastEach;if(this.indexes[O]=0,!!this.length){for(var A,M;this.indexes[O]<this.length&&(A=this.indexes[O],M=P(this.at(A),A),M!==!1);)this.indexes[O]+=1;if(delete this.indexes[O],M===!1)return!1}},k.walk=function(P){return this.each(function(O,A){var M=P(O,A);if(M!==!1&&O.length&&(M=O.walk(P)),M===!1)return!1})},k.walkAttributes=function(P){var O=this;return this.walk(function(A){if(A.type===s.ATTRIBUTE)return P.call(O,A)})},k.walkClasses=function(P){var O=this;return this.walk(function(A){if(A.type===s.CLASS)return P.call(O,A)})},k.walkCombinators=function(P){var O=this;return this.walk(function(A){if(A.type===s.COMBINATOR)return P.call(O,A)})},k.walkComments=function(P){var O=this;return this.walk(function(A){if(A.type===s.COMMENT)return P.call(O,A)})},k.walkIds=function(P){var O=this;return this.walk(function(A){if(A.type===s.ID)return P.call(O,A)})},k.walkNesting=function(P){var O=this;return this.walk(function(A){if(A.type===s.NESTING)return P.call(O,A)})},k.walkPseudos=function(P){var O=this;return this.walk(function(A){if(A.type===s.PSEUDO)return P.call(O,A)})},k.walkTags=function(P){var O=this;return this.walk(function(A){if(A.type===s.TAG)return P.call(O,A)})},k.walkUniversals=function(P){var O=this;return this.walk(function(A){if(A.type===s.UNIVERSAL)return P.call(O,A)})},k.split=function(P){var O=this,A=[];return this.reduce(function(M,F,x){var I=P.call(O,F);return A.push(F),I?(M.push(A),A=[]):x===O.length-1&&M.push(A),M},[])},k.map=function(P){return this.nodes.map(P)},k.reduce=function(P,O){return this.nodes.reduce(P,O)},k.every=function(P){return this.nodes.every(P)},k.some=function(P){return this.nodes.some(P)},k.filter=function(P){return this.nodes.filter(P)},k.sort=function(P){return this.nodes.sort(P)},k.toString=function(){return this.map(String).join("")},g(S,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),S}(r.default);t.default=w,e.exports=t.default}(La,La.exports)),La.exports}var $g;function Ww(){return $g||($g=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(v1()),s=tr();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,g){for(var y=0;y<g.length;y++){var v=g[y];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}function a(d,g,y){return g&&o(d.prototype,g),Object.defineProperty(d,"prototype",{writable:!1}),d}function h(d,g){d.prototype=Object.create(g.prototype),d.prototype.constructor=d,l(d,g)}function l(d,g){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,w){return v.__proto__=w,v},l(d,g)}var f=function(d){h(g,d);function g(v){var w;return w=d.call(this,v)||this,w.type=s.ROOT,w}var y=g.prototype;return y.toString=function(){var w=this.reduce(function(_,S){return _.push(String(S)),_},[]).join(",");return this.trailingComma?w+",":w},y.error=function(w,_){return this._error?this._error(w,_):new Error(w)},a(g,[{key:"errorGenerator",set:function(w){this._error=w}}]),g}(r.default);t.default=f,e.exports=t.default}(Oa,Oa.exports)),Oa.exports}var $a={exports:{}},jg;function Gw(){return jg||(jg=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(v1()),s=tr();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,f){l.prototype=Object.create(f.prototype),l.prototype.constructor=l,a(l,f)}function a(l,f){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,y){return g.__proto__=y,g},a(l,f)}var h=function(l){o(f,l);function f(d){var g;return g=l.call(this,d)||this,g.type=s.SELECTOR,g}return f}(r.default);t.default=h,e.exports=t.default}($a,$a.exports)),$a.exports}var ja={exports:{}};/*! https://mths.be/cssesc v3.0.0 by @mathias */var kh,Ug;function S1(){if(Ug)return kh;Ug=1;var e={},t=e.hasOwnProperty,r=function(l,f){if(!l)return f;var d={};for(var g in f)d[g]=t.call(l,g)?l[g]:f[g];return d},s=/[ -,\.\/:-@\[-\^`\{-~]/,i=/[ -,\.\/:-@\[\]\^`\{-~]/,o=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,a=function h(l,f){f=r(f,h.options),f.quotes!="single"&&f.quotes!="double"&&(f.quotes="single");for(var d=f.quotes=="double"?'"':"'",g=f.isIdentifier,y=l.charAt(0),v="",w=0,_=l.length;w<_;){var S=l.charAt(w++),k=S.charCodeAt(),E=void 0;if(k<32||k>126){if(k>=55296&&k<=56319&&w<_){var P=l.charCodeAt(w++);(P&64512)==56320?k=((k&1023)<<10)+(P&1023)+65536:w--}E="\\"+k.toString(16).toUpperCase()+" "}else f.escapeEverything?s.test(S)?E="\\"+S:E="\\"+k.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(S)?E="\\"+k.toString(16).toUpperCase()+" ":S=="\\"||!g&&(S=='"'&&d==S||S=="'"&&d==S)||g&&i.test(S)?E="\\"+S:E=S;v+=E}return g&&(/^-[-\d]/.test(v)?v="\\-"+v.slice(1):/\d/.test(y)&&(v="\\3"+y+" "+v.slice(1))),v=v.replace(o,function(O,A,M){return A&&A.length%2?O:(A||"")+M}),!g&&f.wrap?d+v+d:v};return a.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},a.version="3.0.0",kh=a,kh}var qg;function zw(){return qg||(qg=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=a(S1()),s=Xc(),i=a(cn()),o=tr();function a(y){return y&&y.__esModule?y:{default:y}}function h(y,v){for(var w=0;w<v.length;w++){var _=v[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(y,_.key,_)}}function l(y,v,w){return v&&h(y.prototype,v),Object.defineProperty(y,"prototype",{writable:!1}),y}function f(y,v){y.prototype=Object.create(v.prototype),y.prototype.constructor=y,d(y,v)}function d(y,v){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,S){return _.__proto__=S,_},d(y,v)}var g=function(y){f(v,y);function v(_){var S;return S=y.call(this,_)||this,S.type=o.CLASS,S._constructed=!0,S}var w=v.prototype;return w.valueToString=function(){return"."+y.prototype.valueToString.call(this)},l(v,[{key:"value",get:function(){return this._value},set:function(S){if(this._constructed){var k=(0,r.default)(S,{isIdentifier:!0});k!==S?((0,s.ensureObject)(this,"raws"),this.raws.value=k):this.raws&&delete this.raws.value}this._value=S}}]),v}(i.default);t.default=g,e.exports=t.default}(ja,ja.exports)),ja.exports}var Ua={exports:{}},Vg;function Hw(){return Vg||(Vg=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(cn()),s=tr();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,f){l.prototype=Object.create(f.prototype),l.prototype.constructor=l,a(l,f)}function a(l,f){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,y){return g.__proto__=y,g},a(l,f)}var h=function(l){o(f,l);function f(d){var g;return g=l.call(this,d)||this,g.type=s.COMMENT,g}return f}(r.default);t.default=h,e.exports=t.default}(Ua,Ua.exports)),Ua.exports}var qa={exports:{}},Wg;function Xw(){return Wg||(Wg=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(cn()),s=tr();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,f){l.prototype=Object.create(f.prototype),l.prototype.constructor=l,a(l,f)}function a(l,f){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,y){return g.__proto__=y,g},a(l,f)}var h=function(l){o(f,l);function f(g){var y;return y=l.call(this,g)||this,y.type=s.ID,y}var d=f.prototype;return d.valueToString=function(){return"#"+l.prototype.valueToString.call(this)},f}(r.default);t.default=h,e.exports=t.default}(qa,qa.exports)),qa.exports}var Va={exports:{}},Wa={exports:{}},Gg;function _1(){return Gg||(Gg=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=o(S1()),s=Xc(),i=o(cn());function o(g){return g&&g.__esModule?g:{default:g}}function a(g,y){for(var v=0;v<y.length;v++){var w=y[v];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(g,w.key,w)}}function h(g,y,v){return y&&a(g.prototype,y),Object.defineProperty(g,"prototype",{writable:!1}),g}function l(g,y){g.prototype=Object.create(y.prototype),g.prototype.constructor=g,f(g,y)}function f(g,y){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,_){return w.__proto__=_,w},f(g,y)}var d=function(g){l(y,g);function y(){return g.apply(this,arguments)||this}var v=y.prototype;return v.qualifiedName=function(_){return this.namespace?this.namespaceString+"|"+_:_},v.valueToString=function(){return this.qualifiedName(g.prototype.valueToString.call(this))},h(y,[{key:"namespace",get:function(){return this._namespace},set:function(_){if(_===!0||_==="*"||_==="&"){this._namespace=_,this.raws&&delete this.raws.namespace;return}var S=(0,r.default)(_,{isIdentifier:!0});this._namespace=_,S!==_?((0,s.ensureObject)(this,"raws"),this.raws.namespace=S):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(_){this.namespace=_}},{key:"namespaceString",get:function(){if(this.namespace){var _=this.stringifyProperty("namespace");return _===!0?"":_}else return""}}]),y}(i.default);t.default=d,e.exports=t.default}(Wa,Wa.exports)),Wa.exports}var zg;function Jw(){return zg||(zg=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(_1()),s=tr();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,f){l.prototype=Object.create(f.prototype),l.prototype.constructor=l,a(l,f)}function a(l,f){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,y){return g.__proto__=y,g},a(l,f)}var h=function(l){o(f,l);function f(d){var g;return g=l.call(this,d)||this,g.type=s.TAG,g}return f}(r.default);t.default=h,e.exports=t.default}(Va,Va.exports)),Va.exports}var Ga={exports:{}},Hg;function Kw(){return Hg||(Hg=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(cn()),s=tr();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,f){l.prototype=Object.create(f.prototype),l.prototype.constructor=l,a(l,f)}function a(l,f){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,y){return g.__proto__=y,g},a(l,f)}var h=function(l){o(f,l);function f(d){var g;return g=l.call(this,d)||this,g.type=s.STRING,g}return f}(r.default);t.default=h,e.exports=t.default}(Ga,Ga.exports)),Ga.exports}var za={exports:{}},Xg;function Yw(){return Xg||(Xg=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(v1()),s=tr();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,f){l.prototype=Object.create(f.prototype),l.prototype.constructor=l,a(l,f)}function a(l,f){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,y){return g.__proto__=y,g},a(l,f)}var h=function(l){o(f,l);function f(g){var y;return y=l.call(this,g)||this,y.type=s.PSEUDO,y}var d=f.prototype;return d.toString=function(){var y=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),y,this.rawSpaceAfter].join("")},f}(r.default);t.default=h,e.exports=t.default}(za,za.exports)),za.exports}var Ph={},Ah,Jg;function BC(){return Jg||(Jg=1,Ah=pC.deprecate),Ah}var Kg;function Qw(){return Kg||(Kg=1,function(e){e.__esModule=!0,e.default=void 0,e.unescapeValue=S;var t=a(S1()),r=a(Vw()),s=a(_1()),i=tr(),o;function a(A){return A&&A.__esModule?A:{default:A}}function h(A,M){for(var F=0;F<M.length;F++){var x=M[F];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(A,x.key,x)}}function l(A,M,F){return M&&h(A.prototype,M),Object.defineProperty(A,"prototype",{writable:!1}),A}function f(A,M){A.prototype=Object.create(M.prototype),A.prototype.constructor=A,d(A,M)}function d(A,M){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,I){return x.__proto__=I,x},d(A,M)}var g=BC(),y=/^('|")([^]*)\1$/,v=g(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),w=g(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),_=g(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function S(A){var M=!1,F=null,x=A,I=x.match(y);return I&&(F=I[1],x=I[2]),x=(0,r.default)(x),x!==A&&(M=!0),{deprecatedUsage:M,unescaped:x,quoteMark:F}}function k(A){if(A.quoteMark!==void 0||A.value===void 0)return A;_();var M=S(A.value),F=M.quoteMark,x=M.unescaped;return A.raws||(A.raws={}),A.raws.value===void 0&&(A.raws.value=A.value),A.value=x,A.quoteMark=F,A}var E=function(A){f(M,A);function M(x){var I;return x===void 0&&(x={}),I=A.call(this,k(x))||this,I.type=i.ATTRIBUTE,I.raws=I.raws||{},Object.defineProperty(I.raws,"unquoted",{get:g(function(){return I.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:g(function(){return I.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),I._constructed=!0,I}var F=M.prototype;return F.getQuotedValue=function(I){I===void 0&&(I={});var R=this._determineQuoteMark(I),L=P[R],z=(0,t.default)(this._value,L);return z},F._determineQuoteMark=function(I){return I.smart?this.smartQuoteMark(I):this.preferredQuoteMark(I)},F.setValue=function(I,R){R===void 0&&(R={}),this._value=I,this._quoteMark=this._determineQuoteMark(R),this._syncRawValue()},F.smartQuoteMark=function(I){var R=this.value,L=R.replace(/[^']/g,"").length,z=R.replace(/[^"]/g,"").length;if(L+z===0){var J=(0,t.default)(R,{isIdentifier:!0});if(J===R)return M.NO_QUOTE;var re=this.preferredQuoteMark(I);if(re===M.NO_QUOTE){var V=this.quoteMark||I.quoteMark||M.DOUBLE_QUOTE,ee=P[V],G=(0,t.default)(R,ee);if(G.length<J.length)return V}return re}else return z===L?this.preferredQuoteMark(I):z<L?M.DOUBLE_QUOTE:M.SINGLE_QUOTE},F.preferredQuoteMark=function(I){var R=I.preferCurrentQuoteMark?this.quoteMark:I.quoteMark;return R===void 0&&(R=I.preferCurrentQuoteMark?I.quoteMark:this.quoteMark),R===void 0&&(R=M.DOUBLE_QUOTE),R},F._syncRawValue=function(){var I=(0,t.default)(this._value,P[this.quoteMark]);I===this._value?this.raws&&delete this.raws.value:this.raws.value=I},F._handleEscapes=function(I,R){if(this._constructed){var L=(0,t.default)(R,{isIdentifier:!0});L!==R?this.raws[I]=L:delete this.raws[I]}},F._spacesFor=function(I){var R={before:"",after:""},L=this.spaces[I]||{},z=this.raws.spaces&&this.raws.spaces[I]||{};return Object.assign(R,L,z)},F._stringFor=function(I,R,L){R===void 0&&(R=I),L===void 0&&(L=O);var z=this._spacesFor(R);return L(this.stringifyProperty(I),z)},F.offsetOf=function(I){var R=1,L=this._spacesFor("attribute");if(R+=L.before.length,I==="namespace"||I==="ns")return this.namespace?R:-1;if(I==="attributeNS"||(R+=this.namespaceString.length,this.namespace&&(R+=1),I==="attribute"))return R;R+=this.stringifyProperty("attribute").length,R+=L.after.length;var z=this._spacesFor("operator");R+=z.before.length;var J=this.stringifyProperty("operator");if(I==="operator")return J?R:-1;R+=J.length,R+=z.after.length;var re=this._spacesFor("value");R+=re.before.length;var V=this.stringifyProperty("value");if(I==="value")return V?R:-1;R+=V.length,R+=re.after.length;var ee=this._spacesFor("insensitive");return R+=ee.before.length,I==="insensitive"&&this.insensitive?R:-1},F.toString=function(){var I=this,R=[this.rawSpaceBefore,"["];return R.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(R.push(this._stringFor("operator")),R.push(this._stringFor("value")),R.push(this._stringFor("insensitiveFlag","insensitive",function(L,z){return L.length>0&&!I.quoted&&z.before.length===0&&!(I.spaces.value&&I.spaces.value.after)&&(z.before=" "),O(L,z)}))),R.push("]"),R.push(this.rawSpaceAfter),R.join("")},l(M,[{key:"quoted",get:function(){var I=this.quoteMark;return I==="'"||I==='"'},set:function(I){w()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(I){if(!this._constructed){this._quoteMark=I;return}this._quoteMark!==I&&(this._quoteMark=I,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(I){if(this._constructed){var R=S(I),L=R.deprecatedUsage,z=R.unescaped,J=R.quoteMark;if(L&&v(),z===this._value&&J===this._quoteMark)return;this._value=z,this._quoteMark=J,this._syncRawValue()}else this._value=I}},{key:"insensitive",get:function(){return this._insensitive},set:function(I){I||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=I}},{key:"attribute",get:function(){return this._attribute},set:function(I){this._handleEscapes("attribute",I),this._attribute=I}}]),M}(s.default);e.default=E,E.NO_QUOTE=null,E.SINGLE_QUOTE="'",E.DOUBLE_QUOTE='"';var P=(o={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},o[null]={isIdentifier:!0},o);function O(A,M){return""+M.before+A+M.after}}(Ph)),Ph}var Ha={exports:{}},Yg;function Zw(){return Yg||(Yg=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(_1()),s=tr();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,f){l.prototype=Object.create(f.prototype),l.prototype.constructor=l,a(l,f)}function a(l,f){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,y){return g.__proto__=y,g},a(l,f)}var h=function(l){o(f,l);function f(d){var g;return g=l.call(this,d)||this,g.type=s.UNIVERSAL,g.value="*",g}return f}(r.default);t.default=h,e.exports=t.default}(Ha,Ha.exports)),Ha.exports}var Xa={exports:{}},Qg;function eb(){return Qg||(Qg=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(cn()),s=tr();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,f){l.prototype=Object.create(f.prototype),l.prototype.constructor=l,a(l,f)}function a(l,f){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,y){return g.__proto__=y,g},a(l,f)}var h=function(l){o(f,l);function f(d){var g;return g=l.call(this,d)||this,g.type=s.COMBINATOR,g}return f}(r.default);t.default=h,e.exports=t.default}(Xa,Xa.exports)),Xa.exports}var Ja={exports:{}},Zg;function tb(){return Zg||(Zg=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(cn()),s=tr();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,f){l.prototype=Object.create(f.prototype),l.prototype.constructor=l,a(l,f)}function a(l,f){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,y){return g.__proto__=y,g},a(l,f)}var h=function(l){o(f,l);function f(d){var g;return g=l.call(this,d)||this,g.type=s.NESTING,g.value="&",g}return f}(r.default);t.default=h,e.exports=t.default}(Ja,Ja.exports)),Ja.exports}var Ka={exports:{}},ey;function $C(){return ey||(ey=1,function(e,t){t.__esModule=!0,t.default=r;function r(s){return s.sort(function(i,o){return i-o})}e.exports=t.default}(Ka,Ka.exports)),Ka.exports}var Ih={},Pe={},ty;function rb(){if(ty)return Pe;ty=1,Pe.__esModule=!0,Pe.word=Pe.tilde=Pe.tab=Pe.str=Pe.space=Pe.slash=Pe.singleQuote=Pe.semicolon=Pe.plus=Pe.pipe=Pe.openSquare=Pe.openParenthesis=Pe.newline=Pe.greaterThan=Pe.feed=Pe.equals=Pe.doubleQuote=Pe.dollar=Pe.cr=Pe.comment=Pe.comma=Pe.combinator=Pe.colon=Pe.closeSquare=Pe.closeParenthesis=Pe.caret=Pe.bang=Pe.backslash=Pe.at=Pe.asterisk=Pe.ampersand=void 0;var e=38;Pe.ampersand=e;var t=42;Pe.asterisk=t;var r=64;Pe.at=r;var s=44;Pe.comma=s;var i=58;Pe.colon=i;var o=59;Pe.semicolon=o;var a=40;Pe.openParenthesis=a;var h=41;Pe.closeParenthesis=h;var l=91;Pe.openSquare=l;var f=93;Pe.closeSquare=f;var d=36;Pe.dollar=d;var g=126;Pe.tilde=g;var y=94;Pe.caret=y;var v=43;Pe.plus=v;var w=61;Pe.equals=w;var _=124;Pe.pipe=_;var S=62;Pe.greaterThan=S;var k=32;Pe.space=k;var E=39;Pe.singleQuote=E;var P=34;Pe.doubleQuote=P;var O=47;Pe.slash=O;var A=33;Pe.bang=A;var M=92;Pe.backslash=M;var F=13;Pe.cr=F;var x=12;Pe.feed=x;var I=10;Pe.newline=I;var R=9;Pe.tab=R;var L=E;Pe.str=L;var z=-1;Pe.comment=z;var J=-2;Pe.word=J;var re=-3;return Pe.combinator=re,Pe}var ry;function jC(){return ry||(ry=1,function(e){e.__esModule=!0,e.FIELDS=void 0,e.default=w;var t=o(rb()),r,s;function i(_){if(typeof WeakMap!="function")return null;var S=new WeakMap,k=new WeakMap;return(i=function(P){return P?k:S})(_)}function o(_,S){if(_&&_.__esModule)return _;if(_===null||typeof _!="object"&&typeof _!="function")return{default:_};var k=i(S);if(k&&k.has(_))return k.get(_);var E={},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in _)if(O!=="default"&&Object.prototype.hasOwnProperty.call(_,O)){var A=P?Object.getOwnPropertyDescriptor(_,O):null;A&&(A.get||A.set)?Object.defineProperty(E,O,A):E[O]=_[O]}return E.default=_,k&&k.set(_,E),E}for(var a=(r={},r[t.tab]=!0,r[t.newline]=!0,r[t.cr]=!0,r[t.feed]=!0,r),h=(s={},s[t.space]=!0,s[t.tab]=!0,s[t.newline]=!0,s[t.cr]=!0,s[t.feed]=!0,s[t.ampersand]=!0,s[t.asterisk]=!0,s[t.bang]=!0,s[t.comma]=!0,s[t.colon]=!0,s[t.semicolon]=!0,s[t.openParenthesis]=!0,s[t.closeParenthesis]=!0,s[t.openSquare]=!0,s[t.closeSquare]=!0,s[t.singleQuote]=!0,s[t.doubleQuote]=!0,s[t.plus]=!0,s[t.pipe]=!0,s[t.tilde]=!0,s[t.greaterThan]=!0,s[t.equals]=!0,s[t.dollar]=!0,s[t.caret]=!0,s[t.slash]=!0,s),l={},f="0123456789abcdefABCDEF",d=0;d<f.length;d++)l[f.charCodeAt(d)]=!0;function g(_,S){var k=S,E;do{if(E=_.charCodeAt(k),h[E])return k-1;E===t.backslash?k=y(_,k)+1:k++}while(k<_.length);return k-1}function y(_,S){var k=S,E=_.charCodeAt(k+1);if(!a[E])if(l[E]){var P=0;do k++,P++,E=_.charCodeAt(k+1);while(l[E]&&P<6);P<6&&E===t.space&&k++}else k++;return k}var v={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};e.FIELDS=v;function w(_){var S=[],k=_.css.valueOf(),E=k,P=E.length,O=-1,A=1,M=0,F=0,x,I,R,L,z,J,re,V,ee,G,Q,ie,ce;function ne(W,K){if(_.safe)k+=K,ee=k.length-1;else throw _.error("Unclosed "+W,A,M-O,M)}for(;M<P;){switch(x=k.charCodeAt(M),x===t.newline&&(O=M,A+=1),x){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:ee=M;do ee+=1,x=k.charCodeAt(ee),x===t.newline&&(O=ee,A+=1);while(x===t.space||x===t.newline||x===t.tab||x===t.cr||x===t.feed);ce=t.space,L=A,R=ee-O-1,F=ee;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:ee=M;do ee+=1,x=k.charCodeAt(ee);while(x===t.plus||x===t.greaterThan||x===t.tilde||x===t.pipe);ce=t.combinator,L=A,R=M-O,F=ee;break;case t.asterisk:case t.ampersand:case t.bang:case t.comma:case t.equals:case t.dollar:case t.caret:case t.openSquare:case t.closeSquare:case t.colon:case t.semicolon:case t.openParenthesis:case t.closeParenthesis:ee=M,ce=x,L=A,R=M-O,F=ee+1;break;case t.singleQuote:case t.doubleQuote:ie=x===t.singleQuote?"'":'"',ee=M;do for(z=!1,ee=k.indexOf(ie,ee+1),ee===-1&&ne("quote",ie),J=ee;k.charCodeAt(J-1)===t.backslash;)J-=1,z=!z;while(z);ce=t.str,L=A,R=M-O,F=ee+1;break;default:x===t.slash&&k.charCodeAt(M+1)===t.asterisk?(ee=k.indexOf("*/",M+2)+1,ee===0&&ne("comment","*/"),I=k.slice(M,ee+1),V=I.split(`
|
|
`),re=V.length-1,re>0?(G=A+re,Q=ee-V[re].length):(G=A,Q=O),ce=t.comment,A=G,L=G,R=ee-Q):x===t.slash?(ee=M,ce=x,L=A,R=M-O,F=ee+1):(ee=g(k,M),ce=t.word,L=A,R=ee-O),F=ee+1;break}S.push([ce,A,M-O,L,R,M,F]),Q&&(O=Q,Q=null),M=F}return S}}(Ih)),Ih}var sy;function UC(){return sy||(sy=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=F(Ww()),s=F(Gw()),i=F(zw()),o=F(Hw()),a=F(Xw()),h=F(Jw()),l=F(Kw()),f=F(Yw()),d=M(Qw()),g=F(Zw()),y=F(eb()),v=F(tb()),w=F($C()),_=M(jC()),S=M(rb()),k=M(tr()),E=Xc(),P,O;function A(ne){if(typeof WeakMap!="function")return null;var W=new WeakMap,K=new WeakMap;return(A=function(B){return B?K:W})(ne)}function M(ne,W){if(ne&&ne.__esModule)return ne;if(ne===null||typeof ne!="object"&&typeof ne!="function")return{default:ne};var K=A(W);if(K&&K.has(ne))return K.get(ne);var j={},B=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Z in ne)if(Z!=="default"&&Object.prototype.hasOwnProperty.call(ne,Z)){var U=B?Object.getOwnPropertyDescriptor(ne,Z):null;U&&(U.get||U.set)?Object.defineProperty(j,Z,U):j[Z]=ne[Z]}return j.default=ne,K&&K.set(ne,j),j}function F(ne){return ne&&ne.__esModule?ne:{default:ne}}function x(ne,W){for(var K=0;K<W.length;K++){var j=W[K];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(ne,j.key,j)}}function I(ne,W,K){return W&&x(ne.prototype,W),Object.defineProperty(ne,"prototype",{writable:!1}),ne}var R=(P={},P[S.space]=!0,P[S.cr]=!0,P[S.feed]=!0,P[S.newline]=!0,P[S.tab]=!0,P),L=Object.assign({},R,(O={},O[S.comment]=!0,O));function z(ne){return{line:ne[_.FIELDS.START_LINE],column:ne[_.FIELDS.START_COL]}}function J(ne){return{line:ne[_.FIELDS.END_LINE],column:ne[_.FIELDS.END_COL]}}function re(ne,W,K,j){return{start:{line:ne,column:W},end:{line:K,column:j}}}function V(ne){return re(ne[_.FIELDS.START_LINE],ne[_.FIELDS.START_COL],ne[_.FIELDS.END_LINE],ne[_.FIELDS.END_COL])}function ee(ne,W){if(ne)return re(ne[_.FIELDS.START_LINE],ne[_.FIELDS.START_COL],W[_.FIELDS.END_LINE],W[_.FIELDS.END_COL])}function G(ne,W){var K=ne[W];if(typeof K=="string")return K.indexOf("\\")!==-1&&((0,E.ensureObject)(ne,"raws"),ne[W]=(0,E.unesc)(K),ne.raws[W]===void 0&&(ne.raws[W]=K)),ne}function Q(ne,W){for(var K=-1,j=[];(K=ne.indexOf(W,K+1))!==-1;)j.push(K);return j}function ie(){var ne=Array.prototype.concat.apply([],arguments);return ne.filter(function(W,K){return K===ne.indexOf(W)})}var ce=function(){function ne(K,j){j===void 0&&(j={}),this.rule=K,this.options=Object.assign({lossy:!1,safe:!1},j),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,_.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var B=ee(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:B}),this.root.errorGenerator=this._errorGenerator();var Z=new s.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(Z),this.current=Z,this.loop()}var W=ne.prototype;return W._errorGenerator=function(){var j=this;return function(B,Z){return typeof j.rule=="string"?new Error(B):j.rule.error(B,Z)}},W.attribute=function(){var j=[],B=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[_.FIELDS.TYPE]!==S.closeSquare;)j.push(this.currToken),this.position++;if(this.currToken[_.FIELDS.TYPE]!==S.closeSquare)return this.expected("closing square bracket",this.currToken[_.FIELDS.START_POS]);var Z=j.length,U={source:re(B[1],B[2],this.currToken[3],this.currToken[4]),sourceIndex:B[_.FIELDS.START_POS]};if(Z===1&&!~[S.word].indexOf(j[0][_.FIELDS.TYPE]))return this.expected("attribute",j[0][_.FIELDS.START_POS]);for(var se=0,ae="",de="",pe=null,ve=!1;se<Z;){var xe=j[se],we=this.content(xe),De=j[se+1];switch(xe[_.FIELDS.TYPE]){case S.space:if(ve=!0,this.options.lossy)break;if(pe){(0,E.ensureObject)(U,"spaces",pe);var tt=U.spaces[pe].after||"";U.spaces[pe].after=tt+we;var qe=(0,E.getProp)(U,"raws","spaces",pe,"after")||null;qe&&(U.raws.spaces[pe].after=qe+we)}else ae=ae+we,de=de+we;break;case S.asterisk:if(De[_.FIELDS.TYPE]===S.equals)U.operator=we,pe="operator";else if((!U.namespace||pe==="namespace"&&!ve)&&De){ae&&((0,E.ensureObject)(U,"spaces","attribute"),U.spaces.attribute.before=ae,ae=""),de&&((0,E.ensureObject)(U,"raws","spaces","attribute"),U.raws.spaces.attribute.before=ae,de=""),U.namespace=(U.namespace||"")+we;var ze=(0,E.getProp)(U,"raws","namespace")||null;ze&&(U.raws.namespace+=we),pe="namespace"}ve=!1;break;case S.dollar:if(pe==="value"){var Ve=(0,E.getProp)(U,"raws","value");U.value+="$",Ve&&(U.raws.value=Ve+"$");break}case S.caret:De[_.FIELDS.TYPE]===S.equals&&(U.operator=we,pe="operator"),ve=!1;break;case S.combinator:if(we==="~"&&De[_.FIELDS.TYPE]===S.equals&&(U.operator=we,pe="operator"),we!=="|"){ve=!1;break}De[_.FIELDS.TYPE]===S.equals?(U.operator=we,pe="operator"):!U.namespace&&!U.attribute&&(U.namespace=!0),ve=!1;break;case S.word:if(De&&this.content(De)==="|"&&j[se+2]&&j[se+2][_.FIELDS.TYPE]!==S.equals&&!U.operator&&!U.namespace)U.namespace=we,pe="namespace";else if(!U.attribute||pe==="attribute"&&!ve){ae&&((0,E.ensureObject)(U,"spaces","attribute"),U.spaces.attribute.before=ae,ae=""),de&&((0,E.ensureObject)(U,"raws","spaces","attribute"),U.raws.spaces.attribute.before=de,de=""),U.attribute=(U.attribute||"")+we;var ht=(0,E.getProp)(U,"raws","attribute")||null;ht&&(U.raws.attribute+=we),pe="attribute"}else if(!U.value&&U.value!==""||pe==="value"&&!(ve||U.quoteMark)){var xt=(0,E.unesc)(we),pt=(0,E.getProp)(U,"raws","value")||"",oe=U.value||"";U.value=oe+xt,U.quoteMark=null,(xt!==we||pt)&&((0,E.ensureObject)(U,"raws"),U.raws.value=(pt||oe)+we),pe="value"}else{var me=we==="i"||we==="I";(U.value||U.value==="")&&(U.quoteMark||ve)?(U.insensitive=me,(!me||we==="I")&&((0,E.ensureObject)(U,"raws"),U.raws.insensitiveFlag=we),pe="insensitive",ae&&((0,E.ensureObject)(U,"spaces","insensitive"),U.spaces.insensitive.before=ae,ae=""),de&&((0,E.ensureObject)(U,"raws","spaces","insensitive"),U.raws.spaces.insensitive.before=de,de="")):(U.value||U.value==="")&&(pe="value",U.value+=we,U.raws.value&&(U.raws.value+=we))}ve=!1;break;case S.str:if(!U.attribute||!U.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:xe[_.FIELDS.START_POS]});var ye=(0,d.unescapeValue)(we),Se=ye.unescaped,Oe=ye.quoteMark;U.value=Se,U.quoteMark=Oe,pe="value",(0,E.ensureObject)(U,"raws"),U.raws.value=we,ve=!1;break;case S.equals:if(!U.attribute)return this.expected("attribute",xe[_.FIELDS.START_POS],we);if(U.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:xe[_.FIELDS.START_POS]});U.operator=U.operator?U.operator+we:we,pe="operator",ve=!1;break;case S.comment:if(pe)if(ve||De&&De[_.FIELDS.TYPE]===S.space||pe==="insensitive"){var ke=(0,E.getProp)(U,"spaces",pe,"after")||"",We=(0,E.getProp)(U,"raws","spaces",pe,"after")||ke;(0,E.ensureObject)(U,"raws","spaces",pe),U.raws.spaces[pe].after=We+we}else{var Xe=U[pe]||"",Fe=(0,E.getProp)(U,"raws",pe)||Xe;(0,E.ensureObject)(U,"raws"),U.raws[pe]=Fe+we}else de=de+we;break;default:return this.error('Unexpected "'+we+'" found.',{index:xe[_.FIELDS.START_POS]})}se++}G(U,"attribute"),G(U,"namespace"),this.newNode(new d.default(U)),this.position++},W.parseWhitespaceEquivalentTokens=function(j){j<0&&(j=this.tokens.length);var B=this.position,Z=[],U="",se=void 0;do if(R[this.currToken[_.FIELDS.TYPE]])this.options.lossy||(U+=this.content());else if(this.currToken[_.FIELDS.TYPE]===S.comment){var ae={};U&&(ae.before=U,U=""),se=new o.default({value:this.content(),source:V(this.currToken),sourceIndex:this.currToken[_.FIELDS.START_POS],spaces:ae}),Z.push(se)}while(++this.position<j);if(U){if(se)se.spaces.after=U;else if(!this.options.lossy){var de=this.tokens[B],pe=this.tokens[this.position-1];Z.push(new l.default({value:"",source:re(de[_.FIELDS.START_LINE],de[_.FIELDS.START_COL],pe[_.FIELDS.END_LINE],pe[_.FIELDS.END_COL]),sourceIndex:de[_.FIELDS.START_POS],spaces:{before:U,after:""}}))}}return Z},W.convertWhitespaceNodesToSpace=function(j,B){var Z=this;B===void 0&&(B=!1);var U="",se="";j.forEach(function(de){var pe=Z.lossySpace(de.spaces.before,B),ve=Z.lossySpace(de.rawSpaceBefore,B);U+=pe+Z.lossySpace(de.spaces.after,B&&pe.length===0),se+=pe+de.value+Z.lossySpace(de.rawSpaceAfter,B&&ve.length===0)}),se===U&&(se=void 0);var ae={space:U,rawSpace:se};return ae},W.isNamedCombinator=function(j){return j===void 0&&(j=this.position),this.tokens[j+0]&&this.tokens[j+0][_.FIELDS.TYPE]===S.slash&&this.tokens[j+1]&&this.tokens[j+1][_.FIELDS.TYPE]===S.word&&this.tokens[j+2]&&this.tokens[j+2][_.FIELDS.TYPE]===S.slash},W.namedCombinator=function(){if(this.isNamedCombinator()){var j=this.content(this.tokens[this.position+1]),B=(0,E.unesc)(j).toLowerCase(),Z={};B!==j&&(Z.value="/"+j+"/");var U=new y.default({value:"/"+B+"/",source:re(this.currToken[_.FIELDS.START_LINE],this.currToken[_.FIELDS.START_COL],this.tokens[this.position+2][_.FIELDS.END_LINE],this.tokens[this.position+2][_.FIELDS.END_COL]),sourceIndex:this.currToken[_.FIELDS.START_POS],raws:Z});return this.position=this.position+3,U}else this.unexpected()},W.combinator=function(){var j=this;if(this.content()==="|")return this.namespace();var B=this.locateNextMeaningfulToken(this.position);if(B<0||this.tokens[B][_.FIELDS.TYPE]===S.comma||this.tokens[B][_.FIELDS.TYPE]===S.closeParenthesis){var Z=this.parseWhitespaceEquivalentTokens(B);if(Z.length>0){var U=this.current.last;if(U){var se=this.convertWhitespaceNodesToSpace(Z),ae=se.space,de=se.rawSpace;de!==void 0&&(U.rawSpaceAfter+=de),U.spaces.after+=ae}else Z.forEach(function(pt){return j.newNode(pt)})}return}var pe=this.currToken,ve=void 0;B>this.position&&(ve=this.parseWhitespaceEquivalentTokens(B));var xe;if(this.isNamedCombinator()?xe=this.namedCombinator():this.currToken[_.FIELDS.TYPE]===S.combinator?(xe=new y.default({value:this.content(),source:V(this.currToken),sourceIndex:this.currToken[_.FIELDS.START_POS]}),this.position++):R[this.currToken[_.FIELDS.TYPE]]||ve||this.unexpected(),xe){if(ve){var we=this.convertWhitespaceNodesToSpace(ve),De=we.space,tt=we.rawSpace;xe.spaces.before=De,xe.rawSpaceBefore=tt}}else{var qe=this.convertWhitespaceNodesToSpace(ve,!0),ze=qe.space,Ve=qe.rawSpace;Ve||(Ve=ze);var ht={},xt={spaces:{}};ze.endsWith(" ")&&Ve.endsWith(" ")?(ht.before=ze.slice(0,ze.length-1),xt.spaces.before=Ve.slice(0,Ve.length-1)):ze.startsWith(" ")&&Ve.startsWith(" ")?(ht.after=ze.slice(1),xt.spaces.after=Ve.slice(1)):xt.value=Ve,xe=new y.default({value:" ",source:ee(pe,this.tokens[this.position-1]),sourceIndex:pe[_.FIELDS.START_POS],spaces:ht,raws:xt})}return this.currToken&&this.currToken[_.FIELDS.TYPE]===S.space&&(xe.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(xe)},W.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var j=new s.default({source:{start:z(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][_.FIELDS.START_POS]});this.current.parent.append(j),this.current=j,this.position++},W.comment=function(){var j=this.currToken;this.newNode(new o.default({value:this.content(),source:V(j),sourceIndex:j[_.FIELDS.START_POS]})),this.position++},W.error=function(j,B){throw this.root.error(j,B)},W.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[_.FIELDS.START_POS]})},W.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[_.FIELDS.START_POS])},W.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[_.FIELDS.START_POS])},W.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[_.FIELDS.START_POS])},W.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[_.FIELDS.START_POS])},W.namespace=function(){var j=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[_.FIELDS.TYPE]===S.word)return this.position++,this.word(j);if(this.nextToken[_.FIELDS.TYPE]===S.asterisk)return this.position++,this.universal(j);this.unexpectedPipe()},W.nesting=function(){if(this.nextToken){var j=this.content(this.nextToken);if(j==="|"){this.position++;return}}var B=this.currToken;this.newNode(new v.default({value:this.content(),source:V(B),sourceIndex:B[_.FIELDS.START_POS]})),this.position++},W.parentheses=function(){var j=this.current.last,B=1;if(this.position++,j&&j.type===k.PSEUDO){var Z=new s.default({source:{start:z(this.tokens[this.position])},sourceIndex:this.tokens[this.position][_.FIELDS.START_POS]}),U=this.current;for(j.append(Z),this.current=Z;this.position<this.tokens.length&&B;)this.currToken[_.FIELDS.TYPE]===S.openParenthesis&&B++,this.currToken[_.FIELDS.TYPE]===S.closeParenthesis&&B--,B?this.parse():(this.current.source.end=J(this.currToken),this.current.parent.source.end=J(this.currToken),this.position++);this.current=U}else{for(var se=this.currToken,ae="(",de;this.position<this.tokens.length&&B;)this.currToken[_.FIELDS.TYPE]===S.openParenthesis&&B++,this.currToken[_.FIELDS.TYPE]===S.closeParenthesis&&B--,de=this.currToken,ae+=this.parseParenthesisToken(this.currToken),this.position++;j?j.appendToPropertyAndEscape("value",ae,ae):this.newNode(new l.default({value:ae,source:re(se[_.FIELDS.START_LINE],se[_.FIELDS.START_COL],de[_.FIELDS.END_LINE],de[_.FIELDS.END_COL]),sourceIndex:se[_.FIELDS.START_POS]}))}if(B)return this.expected("closing parenthesis",this.currToken[_.FIELDS.START_POS])},W.pseudo=function(){for(var j=this,B="",Z=this.currToken;this.currToken&&this.currToken[_.FIELDS.TYPE]===S.colon;)B+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[_.FIELDS.TYPE]===S.word)this.splitWord(!1,function(U,se){B+=U,j.newNode(new f.default({value:B,source:ee(Z,j.currToken),sourceIndex:Z[_.FIELDS.START_POS]})),se>1&&j.nextToken&&j.nextToken[_.FIELDS.TYPE]===S.openParenthesis&&j.error("Misplaced parenthesis.",{index:j.nextToken[_.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[_.FIELDS.START_POS])},W.space=function(){var j=this.content();this.position===0||this.prevToken[_.FIELDS.TYPE]===S.comma||this.prevToken[_.FIELDS.TYPE]===S.openParenthesis||this.current.nodes.every(function(B){return B.type==="comment"})?(this.spaces=this.optionalSpace(j),this.position++):this.position===this.tokens.length-1||this.nextToken[_.FIELDS.TYPE]===S.comma||this.nextToken[_.FIELDS.TYPE]===S.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(j),this.position++):this.combinator()},W.string=function(){var j=this.currToken;this.newNode(new l.default({value:this.content(),source:V(j),sourceIndex:j[_.FIELDS.START_POS]})),this.position++},W.universal=function(j){var B=this.nextToken;if(B&&this.content(B)==="|")return this.position++,this.namespace();var Z=this.currToken;this.newNode(new g.default({value:this.content(),source:V(Z),sourceIndex:Z[_.FIELDS.START_POS]}),j),this.position++},W.splitWord=function(j,B){for(var Z=this,U=this.nextToken,se=this.content();U&&~[S.dollar,S.caret,S.equals,S.word].indexOf(U[_.FIELDS.TYPE]);){this.position++;var ae=this.content();if(se+=ae,ae.lastIndexOf("\\")===ae.length-1){var de=this.nextToken;de&&de[_.FIELDS.TYPE]===S.space&&(se+=this.requiredSpace(this.content(de)),this.position++)}U=this.nextToken}var pe=Q(se,".").filter(function(De){var tt=se[De-1]==="\\",qe=/^\d+\.\d+%$/.test(se);return!tt&&!qe}),ve=Q(se,"#").filter(function(De){return se[De-1]!=="\\"}),xe=Q(se,"#{");xe.length&&(ve=ve.filter(function(De){return!~xe.indexOf(De)}));var we=(0,w.default)(ie([0].concat(pe,ve)));we.forEach(function(De,tt){var qe=we[tt+1]||se.length,ze=se.slice(De,qe);if(tt===0&&B)return B.call(Z,ze,we.length);var Ve,ht=Z.currToken,xt=ht[_.FIELDS.START_POS]+we[tt],pt=re(ht[1],ht[2]+De,ht[3],ht[2]+(qe-1));if(~pe.indexOf(De)){var oe={value:ze.slice(1),source:pt,sourceIndex:xt};Ve=new i.default(G(oe,"value"))}else if(~ve.indexOf(De)){var me={value:ze.slice(1),source:pt,sourceIndex:xt};Ve=new a.default(G(me,"value"))}else{var ye={value:ze,source:pt,sourceIndex:xt};G(ye,"value"),Ve=new h.default(ye)}Z.newNode(Ve,j),j=null}),this.position++},W.word=function(j){var B=this.nextToken;return B&&this.content(B)==="|"?(this.position++,this.namespace()):this.splitWord(j)},W.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},W.parse=function(j){switch(this.currToken[_.FIELDS.TYPE]){case S.space:this.space();break;case S.comment:this.comment();break;case S.openParenthesis:this.parentheses();break;case S.closeParenthesis:j&&this.missingParenthesis();break;case S.openSquare:this.attribute();break;case S.dollar:case S.caret:case S.equals:case S.word:this.word();break;case S.colon:this.pseudo();break;case S.comma:this.comma();break;case S.asterisk:this.universal();break;case S.ampersand:this.nesting();break;case S.slash:case S.combinator:this.combinator();break;case S.str:this.string();break;case S.closeSquare:this.missingSquareBracket();case S.semicolon:this.missingBackslash();default:this.unexpected()}},W.expected=function(j,B,Z){if(Array.isArray(j)){var U=j.pop();j=j.join(", ")+" or "+U}var se=/^[aeiou]/.test(j[0])?"an":"a";return Z?this.error("Expected "+se+" "+j+', found "'+Z+'" instead.',{index:B}):this.error("Expected "+se+" "+j+".",{index:B})},W.requiredSpace=function(j){return this.options.lossy?" ":j},W.optionalSpace=function(j){return this.options.lossy?"":j},W.lossySpace=function(j,B){return this.options.lossy?B?" ":"":j},W.parseParenthesisToken=function(j){var B=this.content(j);return j[_.FIELDS.TYPE]===S.space?this.requiredSpace(B):B},W.newNode=function(j,B){return B&&(/^ +$/.test(B)&&(this.options.lossy||(this.spaces=(this.spaces||"")+B),B=!0),j.namespace=B,G(j,"namespace")),this.spaces&&(j.spaces.before=this.spaces,this.spaces=""),this.current.append(j)},W.content=function(j){return j===void 0&&(j=this.currToken),this.css.slice(j[_.FIELDS.START_POS],j[_.FIELDS.END_POS])},W.locateNextMeaningfulToken=function(j){j===void 0&&(j=this.position+1);for(var B=j;B<this.tokens.length;)if(L[this.tokens[B][_.FIELDS.TYPE]]){B++;continue}else return B;return-1},I(ne,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),ne}();t.default=ce,e.exports=t.default}(Na,Na.exports)),Na.exports}var ny;function qC(){return ny||(ny=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=s(UC());function s(o){return o&&o.__esModule?o:{default:o}}var i=function(){function o(h,l){this.func=h||function(){},this.funcRes=null,this.options=l}var a=o.prototype;return a._shouldUpdateSelector=function(l,f){f===void 0&&(f={});var d=Object.assign({},this.options,f);return d.updateSelector===!1?!1:typeof l!="string"},a._isLossy=function(l){l===void 0&&(l={});var f=Object.assign({},this.options,l);return f.lossless===!1},a._root=function(l,f){f===void 0&&(f={});var d=new r.default(l,this._parseOptions(f));return d.root},a._parseOptions=function(l){return{lossy:this._isLossy(l)}},a._run=function(l,f){var d=this;return f===void 0&&(f={}),new Promise(function(g,y){try{var v=d._root(l,f);Promise.resolve(d.func(v)).then(function(w){var _=void 0;return d._shouldUpdateSelector(l,f)&&(_=v.toString(),l.selector=_),{transform:w,root:v,string:_}}).then(g,y)}catch(w){y(w);return}})},a._runSync=function(l,f){f===void 0&&(f={});var d=this._root(l,f),g=this.func(d);if(g&&typeof g.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var y=void 0;return f.updateSelector&&typeof l!="string"&&(y=d.toString(),l.selector=y),{transform:g,root:d,string:y}},a.ast=function(l,f){return this._run(l,f).then(function(d){return d.root})},a.astSync=function(l,f){return this._runSync(l,f).root},a.transform=function(l,f){return this._run(l,f).then(function(d){return d.transform})},a.transformSync=function(l,f){return this._runSync(l,f).transform},a.process=function(l,f){return this._run(l,f).then(function(d){return d.string||d.root.toString()})},a.processSync=function(l,f){var d=this._runSync(l,f);return d.string||d.root.toString()},o}();t.default=i,e.exports=t.default}(Ca,Ca.exports)),Ca.exports}var Ch={},ut={},iy;function VC(){if(iy)return ut;iy=1,ut.__esModule=!0,ut.universal=ut.tag=ut.string=ut.selector=ut.root=ut.pseudo=ut.nesting=ut.id=ut.comment=ut.combinator=ut.className=ut.attribute=void 0;var e=y(Qw()),t=y(zw()),r=y(eb()),s=y(Hw()),i=y(Xw()),o=y(tb()),a=y(Yw()),h=y(Ww()),l=y(Gw()),f=y(Kw()),d=y(Jw()),g=y(Zw());function y(I){return I&&I.__esModule?I:{default:I}}var v=function(R){return new e.default(R)};ut.attribute=v;var w=function(R){return new t.default(R)};ut.className=w;var _=function(R){return new r.default(R)};ut.combinator=_;var S=function(R){return new s.default(R)};ut.comment=S;var k=function(R){return new i.default(R)};ut.id=k;var E=function(R){return new o.default(R)};ut.nesting=E;var P=function(R){return new a.default(R)};ut.pseudo=P;var O=function(R){return new h.default(R)};ut.root=O;var A=function(R){return new l.default(R)};ut.selector=A;var M=function(R){return new f.default(R)};ut.string=M;var F=function(R){return new d.default(R)};ut.tag=F;var x=function(R){return new g.default(R)};return ut.universal=x,ut}var st={},oy;function WC(){if(oy)return st;oy=1,st.__esModule=!0,st.isComment=st.isCombinator=st.isClassName=st.isAttribute=void 0,st.isContainer=P,st.isIdentifier=void 0,st.isNamespace=O,st.isNesting=void 0,st.isNode=s,st.isPseudo=void 0,st.isPseudoClass=E,st.isPseudoElement=k,st.isUniversal=st.isTag=st.isString=st.isSelector=st.isRoot=void 0;var e=tr(),t,r=(t={},t[e.ATTRIBUTE]=!0,t[e.CLASS]=!0,t[e.COMBINATOR]=!0,t[e.COMMENT]=!0,t[e.ID]=!0,t[e.NESTING]=!0,t[e.PSEUDO]=!0,t[e.ROOT]=!0,t[e.SELECTOR]=!0,t[e.STRING]=!0,t[e.TAG]=!0,t[e.UNIVERSAL]=!0,t);function s(A){return typeof A=="object"&&r[A.type]}function i(A,M){return s(M)&&M.type===A}var o=i.bind(null,e.ATTRIBUTE);st.isAttribute=o;var a=i.bind(null,e.CLASS);st.isClassName=a;var h=i.bind(null,e.COMBINATOR);st.isCombinator=h;var l=i.bind(null,e.COMMENT);st.isComment=l;var f=i.bind(null,e.ID);st.isIdentifier=f;var d=i.bind(null,e.NESTING);st.isNesting=d;var g=i.bind(null,e.PSEUDO);st.isPseudo=g;var y=i.bind(null,e.ROOT);st.isRoot=y;var v=i.bind(null,e.SELECTOR);st.isSelector=v;var w=i.bind(null,e.STRING);st.isString=w;var _=i.bind(null,e.TAG);st.isTag=_;var S=i.bind(null,e.UNIVERSAL);st.isUniversal=S;function k(A){return g(A)&&A.value&&(A.value.startsWith("::")||A.value.toLowerCase()===":before"||A.value.toLowerCase()===":after"||A.value.toLowerCase()===":first-letter"||A.value.toLowerCase()===":first-line")}function E(A){return g(A)&&!k(A)}function P(A){return!!(s(A)&&A.walk)}function O(A){return o(A)||_(A)}return st}var ay;function GC(){return ay||(ay=1,function(e){e.__esModule=!0;var t=tr();Object.keys(t).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===t[i]||(e[i]=t[i])});var r=VC();Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===r[i]||(e[i]=r[i])});var s=WC();Object.keys(s).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===s[i]||(e[i]=s[i])})}(Ch)),Ch}var ly;function zC(){return ly||(ly=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=a(qC()),s=o(GC());function i(f){if(typeof WeakMap!="function")return null;var d=new WeakMap,g=new WeakMap;return(i=function(v){return v?g:d})(f)}function o(f,d){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var g=i(d);if(g&&g.has(f))return g.get(f);var y={},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in f)if(w!=="default"&&Object.prototype.hasOwnProperty.call(f,w)){var _=v?Object.getOwnPropertyDescriptor(f,w):null;_&&(_.get||_.set)?Object.defineProperty(y,w,_):y[w]=f[w]}return y.default=f,g&&g.set(f,y),y}function a(f){return f&&f.__esModule?f:{default:f}}var h=function(d){return new r.default(d)};Object.assign(h,s),delete h.__esModule;var l=h;t.default=l,e.exports=t.default}(Ia,Ia.exports)),Ia.exports}var HC=zC(),yl=Ec(HC);const XC=/^(-\w+-)?animation-name$/,JC=/^(-\w+-)?animation$/,sb=(e="")=>{const t=Object.create(null),r=e.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(s){KC(e,s)},AtRule(s){/-?keyframes$/.test(s.name)&&!s.params.endsWith(`-${r}`)&&(t[s.params]=s.params=s.params+"-"+r)},OnceExit(s){Object.keys(t).length&&s.walkDecls(i=>{XC.test(i.prop)&&(i.value=i.value.split(",").map(o=>t[o.trim()]||o.trim()).join(",")),JC.test(i.prop)&&(i.value=i.value.split(",").map(o=>{const a=o.trim().split(/\s+/),h=a.findIndex(l=>t[l]);return h!==-1?(a.splice(h,1,t[a[h]]),a.join(" ")):o}).join(","))})}}},cy=new WeakSet;function KC(e,t){if(cy.has(t)||t.parent&&t.parent.type==="atrule"&&/-?keyframes$/.test(t.parent.name))return;cy.add(t);let r=!1,s=t.parent;for(;s&&s.type!=="root";){if(s.__deep){r=!0;break}s=s.parent}t.selector=yl(i=>{i.each(o=>{kp(e,t,o,i,r)})}).processSync(t.selector)}function kp(e,t,r,s,i,o=!1){let a=null,h=!i;if(r.each(l=>{if(l.type==="combinator"&&(l.value===">>>"||l.value==="/deep/"))return l.value=" ",l.spaces.before=l.spaces.after="",Ul("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if(l.type==="pseudo"){const{value:f}=l;if(f===":deep"||f==="::v-deep"){if(t.__deep=!0,l.nodes.length){let d=l;l.nodes[0].each(y=>{r.insertAfter(d,y),d=y});const g=r.at(r.index(l)-1);(!g||!uy(g))&&r.insertAfter(l,yl.combinator({value:" "})),r.removeChild(l)}else{Ul(`${f} usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead of ${f} <inner-selector>.`);const d=r.at(r.index(l)-1);d&&uy(d)&&r.removeChild(d),r.removeChild(l)}return!1}if(f===":slotted"||f==="::v-slotted"){kp(e,t,l.nodes[0],s,i,!0);let d=l;return l.nodes[0].each(g=>{r.insertAfter(d,g),d=g}),r.removeChild(l),h=!1,!1}if(f===":global"||f==="::v-global")return r.replaceWith(l.nodes[0]),!1}if(l.type==="universal"){const f=r.at(r.index(l)-1),d=r.at(r.index(l)+1);if(!f)if(d){d.type==="combinator"&&d.value===" "&&r.removeChild(d),r.removeChild(l);return}else return a=yl.combinator({value:""}),r.insertBefore(l,a),r.removeChild(l),!1;if(a)return}(l.type!=="pseudo"&&l.type!=="combinator"||l.type==="pseudo"&&(l.value===":is"||l.value===":where")&&!a)&&(a=l)}),t.nodes.some(l=>l.type==="rule")){const l=t.__deep;if(!l){hy(t);const f=t.nodes.filter(d=>d.type==="atrule");for(const d of f)hy(d)}h=l}if(a){const{type:l,value:f}=a;l==="pseudo"&&(f===":is"||f===":where")&&(a.nodes.forEach(d=>kp(e,t,d,s,i,o)),h=!1)}if(a?a.spaces.after="":r.first.spaces.before="",h){const l=o?e+"-s":e;r.insertAfter(a,yl.attribute({attribute:l,value:l,raws:{},quoteMark:'"'}))}}function uy(e){return e.type==="combinator"&&/^\s+$/.test(e.value)}function hy(e){if(!e.nodes)return;const t=e.nodes.filter(r=>r.type==="decl"||r.type==="comment");if(t.length){for(const s of t)e.removeChild(s);const r=new RC({nodes:t,selector:"&"});e.prepend(r)}}sb.postcss=!0;var to={},Nh={},Ya={},Qa={},py;function YC(){if(py)return Qa;py=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Qa.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},Qa.decode=function(t){var r=65,s=90,i=97,o=122,a=48,h=57,l=43,f=47,d=26,g=52;return r<=t&&t<=s?t-r:i<=t&&t<=o?t-i+d:a<=t&&t<=h?t-a+g:t==l?62:t==f?63:-1},Qa}var fy;function nb(){if(fy)return Ya;fy=1;var e=YC(),t=5,r=1<<t,s=r-1,i=r;function o(h){return h<0?(-h<<1)+1:(h<<1)+0}function a(h){var l=(h&1)===1,f=h>>1;return l?-f:f}return Ya.encode=function(l){var f="",d,g=o(l);do d=g&s,g>>>=t,g>0&&(d|=i),f+=e.encode(d);while(g>0);return f},Ya.decode=function(l,f,d){var g=l.length,y=0,v=0,w,_;do{if(f>=g)throw new Error("Expected more digits in base 64 VLQ value.");if(_=e.decode(l.charCodeAt(f++)),_===-1)throw new Error("Invalid base64 digit: "+l.charAt(f-1));w=!!(_&i),_&=s,y=y+(_<<v),v+=t}while(w);d.value=a(y),d.rest=f},Ya}var Oh={},dy;function ta(){return dy||(dy=1,function(e){function t(O,A,M){if(A in O)return O[A];if(arguments.length===3)return M;throw new Error('"'+A+'" is a required argument.')}e.getArg=t;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function i(O){var A=O.match(r);return A?{scheme:A[1],auth:A[2],host:A[3],port:A[4],path:A[5]}:null}e.urlParse=i;function o(O){var A="";return O.scheme&&(A+=O.scheme+":"),A+="//",O.auth&&(A+=O.auth+"@"),O.host&&(A+=O.host),O.port&&(A+=":"+O.port),O.path&&(A+=O.path),A}e.urlGenerate=o;function a(O){var A=O,M=i(O);if(M){if(!M.path)return O;A=M.path}for(var F=e.isAbsolute(A),x=A.split(/\/+/),I,R=0,L=x.length-1;L>=0;L--)I=x[L],I==="."?x.splice(L,1):I===".."?R++:R>0&&(I===""?(x.splice(L+1,R),R=0):(x.splice(L,2),R--));return A=x.join("/"),A===""&&(A=F?"/":"."),M?(M.path=A,o(M)):A}e.normalize=a;function h(O,A){O===""&&(O="."),A===""&&(A=".");var M=i(A),F=i(O);if(F&&(O=F.path||"/"),M&&!M.scheme)return F&&(M.scheme=F.scheme),o(M);if(M||A.match(s))return A;if(F&&!F.host&&!F.path)return F.host=A,o(F);var x=A.charAt(0)==="/"?A:a(O.replace(/\/+$/,"")+"/"+A);return F?(F.path=x,o(F)):x}e.join=h,e.isAbsolute=function(O){return O.charAt(0)==="/"||r.test(O)};function l(O,A){O===""&&(O="."),O=O.replace(/\/$/,"");for(var M=0;A.indexOf(O+"/")!==0;){var F=O.lastIndexOf("/");if(F<0||(O=O.slice(0,F),O.match(/^([^\/]+:\/)?\/*$/)))return A;++M}return Array(M+1).join("../")+A.substr(O.length+1)}e.relative=l;var f=function(){var O=Object.create(null);return!("__proto__"in O)}();function d(O){return O}function g(O){return v(O)?"$"+O:O}e.toSetString=f?d:g;function y(O){return v(O)?O.slice(1):O}e.fromSetString=f?d:y;function v(O){if(!O)return!1;var A=O.length;if(A<9||O.charCodeAt(A-1)!==95||O.charCodeAt(A-2)!==95||O.charCodeAt(A-3)!==111||O.charCodeAt(A-4)!==116||O.charCodeAt(A-5)!==111||O.charCodeAt(A-6)!==114||O.charCodeAt(A-7)!==112||O.charCodeAt(A-8)!==95||O.charCodeAt(A-9)!==95)return!1;for(var M=A-10;M>=0;M--)if(O.charCodeAt(M)!==36)return!1;return!0}function w(O,A,M){var F=S(O.source,A.source);return F!==0||(F=O.originalLine-A.originalLine,F!==0)||(F=O.originalColumn-A.originalColumn,F!==0||M)||(F=O.generatedColumn-A.generatedColumn,F!==0)||(F=O.generatedLine-A.generatedLine,F!==0)?F:S(O.name,A.name)}e.compareByOriginalPositions=w;function _(O,A,M){var F=O.generatedLine-A.generatedLine;return F!==0||(F=O.generatedColumn-A.generatedColumn,F!==0||M)||(F=S(O.source,A.source),F!==0)||(F=O.originalLine-A.originalLine,F!==0)||(F=O.originalColumn-A.originalColumn,F!==0)?F:S(O.name,A.name)}e.compareByGeneratedPositionsDeflated=_;function S(O,A){return O===A?0:O===null?1:A===null?-1:O>A?1:-1}function k(O,A){var M=O.generatedLine-A.generatedLine;return M!==0||(M=O.generatedColumn-A.generatedColumn,M!==0)||(M=S(O.source,A.source),M!==0)||(M=O.originalLine-A.originalLine,M!==0)||(M=O.originalColumn-A.originalColumn,M!==0)?M:S(O.name,A.name)}e.compareByGeneratedPositionsInflated=k;function E(O){return JSON.parse(O.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=E;function P(O,A,M){if(A=A||"",O&&(O[O.length-1]!=="/"&&A[0]!=="/"&&(O+="/"),A=O+A),M){var F=i(M);if(!F)throw new Error("sourceMapURL could not be parsed");if(F.path){var x=F.path.lastIndexOf("/");x>=0&&(F.path=F.path.substring(0,x+1))}A=h(o(F),A)}return a(A)}e.computeSourceURL=P}(Oh)),Oh}var Lh={},my;function ib(){if(my)return Lh;my=1;var e=ta(),t=Object.prototype.hasOwnProperty,r=typeof Map<"u";function s(){this._array=[],this._set=r?new Map:Object.create(null)}return s.fromArray=function(o,a){for(var h=new s,l=0,f=o.length;l<f;l++)h.add(o[l],a);return h},s.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},s.prototype.add=function(o,a){var h=r?o:e.toSetString(o),l=r?this.has(o):t.call(this._set,h),f=this._array.length;(!l||a)&&this._array.push(o),l||(r?this._set.set(o,f):this._set[h]=f)},s.prototype.has=function(o){if(r)return this._set.has(o);var a=e.toSetString(o);return t.call(this._set,a)},s.prototype.indexOf=function(o){if(r){var a=this._set.get(o);if(a>=0)return a}else{var h=e.toSetString(o);if(t.call(this._set,h))return this._set[h]}throw new Error('"'+o+'" is not in the set.')},s.prototype.at=function(o){if(o>=0&&o<this._array.length)return this._array[o];throw new Error("No element indexed by "+o)},s.prototype.toArray=function(){return this._array.slice()},Lh.ArraySet=s,Lh}var Rh={},gy;function QC(){if(gy)return Rh;gy=1;var e=ta();function t(s,i){var o=s.generatedLine,a=i.generatedLine,h=s.generatedColumn,l=i.generatedColumn;return a>o||a==o&&l>=h||e.compareByGeneratedPositionsInflated(s,i)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(i,o){this._array.forEach(i,o)},r.prototype.add=function(i){t(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Rh.MappingList=r,Rh}var yy;function ob(){if(yy)return Nh;yy=1;var e=nb(),t=ta(),r=ib().ArraySet,s=QC().MappingList;function i(o){o||(o={}),this._file=t.getArg(o,"file",null),this._sourceRoot=t.getArg(o,"sourceRoot",null),this._skipValidation=t.getArg(o,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new s,this._sourcesContents=null}return i.prototype._version=3,i.fromSourceMap=function(a){var h=a.sourceRoot,l=new i({file:a.file,sourceRoot:h});return a.eachMapping(function(f){var d={generated:{line:f.generatedLine,column:f.generatedColumn}};f.source!=null&&(d.source=f.source,h!=null&&(d.source=t.relative(h,d.source)),d.original={line:f.originalLine,column:f.originalColumn},f.name!=null&&(d.name=f.name)),l.addMapping(d)}),a.sources.forEach(function(f){var d=f;h!==null&&(d=t.relative(h,f)),l._sources.has(d)||l._sources.add(d);var g=a.sourceContentFor(f);g!=null&&l.setSourceContent(f,g)}),l},i.prototype.addMapping=function(a){var h=t.getArg(a,"generated"),l=t.getArg(a,"original",null),f=t.getArg(a,"source",null),d=t.getArg(a,"name",null);this._skipValidation||this._validateMapping(h,l,f,d),f!=null&&(f=String(f),this._sources.has(f)||this._sources.add(f)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:l!=null&&l.line,originalColumn:l!=null&&l.column,source:f,name:d})},i.prototype.setSourceContent=function(a,h){var l=a;this._sourceRoot!=null&&(l=t.relative(this._sourceRoot,l)),h!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(l)]=h):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(l)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},i.prototype.applySourceMap=function(a,h,l){var f=h;if(h==null){if(a.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);f=a.file}var d=this._sourceRoot;d!=null&&(f=t.relative(d,f));var g=new r,y=new r;this._mappings.unsortedForEach(function(v){if(v.source===f&&v.originalLine!=null){var w=a.originalPositionFor({line:v.originalLine,column:v.originalColumn});w.source!=null&&(v.source=w.source,l!=null&&(v.source=t.join(l,v.source)),d!=null&&(v.source=t.relative(d,v.source)),v.originalLine=w.line,v.originalColumn=w.column,w.name!=null&&(v.name=w.name))}var _=v.source;_!=null&&!g.has(_)&&g.add(_);var S=v.name;S!=null&&!y.has(S)&&y.add(S)},this),this._sources=g,this._names=y,a.sources.forEach(function(v){var w=a.sourceContentFor(v);w!=null&&(l!=null&&(v=t.join(l,v)),d!=null&&(v=t.relative(d,v)),this.setSourceContent(v,w))},this)},i.prototype._validateMapping=function(a,h,l,f){if(h&&typeof h.line!="number"&&typeof h.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0&&!h&&!l&&!f)){if(a&&"line"in a&&"column"in a&&h&&"line"in h&&"column"in h&&a.line>0&&a.column>=0&&h.line>0&&h.column>=0&&l)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:a,source:l,original:h,name:f}))}},i.prototype._serializeMappings=function(){for(var a=0,h=1,l=0,f=0,d=0,g=0,y="",v,w,_,S,k=this._mappings.toArray(),E=0,P=k.length;E<P;E++){if(w=k[E],v="",w.generatedLine!==h)for(a=0;w.generatedLine!==h;)v+=";",h++;else if(E>0){if(!t.compareByGeneratedPositionsInflated(w,k[E-1]))continue;v+=","}v+=e.encode(w.generatedColumn-a),a=w.generatedColumn,w.source!=null&&(S=this._sources.indexOf(w.source),v+=e.encode(S-g),g=S,v+=e.encode(w.originalLine-1-f),f=w.originalLine-1,v+=e.encode(w.originalColumn-l),l=w.originalColumn,w.name!=null&&(_=this._names.indexOf(w.name),v+=e.encode(_-d),d=_)),y+=v}return y},i.prototype._generateSourcesContent=function(a,h){return a.map(function(l){if(!this._sourcesContents)return null;h!=null&&(l=t.relative(h,l));var f=t.toSetString(l);return Object.prototype.hasOwnProperty.call(this._sourcesContents,f)?this._sourcesContents[f]:null},this)},i.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},Nh.SourceMapGenerator=i,Nh}var ro={},Mh={},vy;function ZC(){return vy||(vy=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,s,i,o,a,h){var l=Math.floor((s-r)/2)+r,f=a(i,o[l],!0);return f===0?l:f>0?s-l>1?t(l,s,i,o,a,h):h==e.LEAST_UPPER_BOUND?s<o.length?s:-1:l:l-r>1?t(r,l,i,o,a,h):h==e.LEAST_UPPER_BOUND?l:r<0?-1:r}e.search=function(s,i,o,a){if(i.length===0)return-1;var h=t(-1,i.length,s,i,o,a||e.GREATEST_LOWER_BOUND);if(h<0)return-1;for(;h-1>=0&&o(i[h],i[h-1],!0)===0;)--h;return h}}(Mh)),Mh}var Dh={},Sy;function eN(){if(Sy)return Dh;Sy=1;function e(s,i,o){var a=s[i];s[i]=s[o],s[o]=a}function t(s,i){return Math.round(s+Math.random()*(i-s))}function r(s,i,o,a){if(o<a){var h=t(o,a),l=o-1;e(s,h,a);for(var f=s[a],d=o;d<a;d++)i(s[d],f)<=0&&(l+=1,e(s,l,d));e(s,l+1,d);var g=l+1;r(s,i,o,g-1),r(s,i,g+1,a)}}return Dh.quickSort=function(s,i){r(s,i,0,s.length-1)},Dh}var _y;function tN(){if(_y)return ro;_y=1;var e=ta(),t=ZC(),r=ib().ArraySet,s=nb(),i=eN().quickSort;function o(f,d){var g=f;return typeof f=="string"&&(g=e.parseSourceMapInput(f)),g.sections!=null?new l(g,d):new a(g,d)}o.fromSourceMap=function(f,d){return a.fromSourceMap(f,d)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(d,g){var y=d.charAt(g);return y===";"||y===","},o.prototype._parseMappings=function(d,g){throw new Error("Subclasses must implement _parseMappings")},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(d,g,y){var v=g||null,w=y||o.GENERATED_ORDER,_;switch(w){case o.GENERATED_ORDER:_=this._generatedMappings;break;case o.ORIGINAL_ORDER:_=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var S=this.sourceRoot;_.map(function(k){var E=k.source===null?null:this._sources.at(k.source);return E=e.computeSourceURL(S,E,this._sourceMapURL),{source:E,generatedLine:k.generatedLine,generatedColumn:k.generatedColumn,originalLine:k.originalLine,originalColumn:k.originalColumn,name:k.name===null?null:this._names.at(k.name)}},this).forEach(d,v)},o.prototype.allGeneratedPositionsFor=function(d){var g=e.getArg(d,"line"),y={source:e.getArg(d,"source"),originalLine:g,originalColumn:e.getArg(d,"column",0)};if(y.source=this._findSourceIndex(y.source),y.source<0)return[];var v=[],w=this._findMapping(y,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(w>=0){var _=this._originalMappings[w];if(d.column===void 0)for(var S=_.originalLine;_&&_.originalLine===S;)v.push({line:e.getArg(_,"generatedLine",null),column:e.getArg(_,"generatedColumn",null),lastColumn:e.getArg(_,"lastGeneratedColumn",null)}),_=this._originalMappings[++w];else for(var k=_.originalColumn;_&&_.originalLine===g&&_.originalColumn==k;)v.push({line:e.getArg(_,"generatedLine",null),column:e.getArg(_,"generatedColumn",null),lastColumn:e.getArg(_,"lastGeneratedColumn",null)}),_=this._originalMappings[++w]}return v},ro.SourceMapConsumer=o;function a(f,d){var g=f;typeof f=="string"&&(g=e.parseSourceMapInput(f));var y=e.getArg(g,"version"),v=e.getArg(g,"sources"),w=e.getArg(g,"names",[]),_=e.getArg(g,"sourceRoot",null),S=e.getArg(g,"sourcesContent",null),k=e.getArg(g,"mappings"),E=e.getArg(g,"file",null);if(y!=this._version)throw new Error("Unsupported version: "+y);_&&(_=e.normalize(_)),v=v.map(String).map(e.normalize).map(function(P){return _&&e.isAbsolute(_)&&e.isAbsolute(P)?e.relative(_,P):P}),this._names=r.fromArray(w.map(String),!0),this._sources=r.fromArray(v,!0),this._absoluteSources=this._sources.toArray().map(function(P){return e.computeSourceURL(_,P,d)}),this.sourceRoot=_,this.sourcesContent=S,this._mappings=k,this._sourceMapURL=d,this.file=E}a.prototype=Object.create(o.prototype),a.prototype.consumer=o,a.prototype._findSourceIndex=function(f){var d=f;if(this.sourceRoot!=null&&(d=e.relative(this.sourceRoot,d)),this._sources.has(d))return this._sources.indexOf(d);var g;for(g=0;g<this._absoluteSources.length;++g)if(this._absoluteSources[g]==f)return g;return-1},a.fromSourceMap=function(d,g){var y=Object.create(a.prototype),v=y._names=r.fromArray(d._names.toArray(),!0),w=y._sources=r.fromArray(d._sources.toArray(),!0);y.sourceRoot=d._sourceRoot,y.sourcesContent=d._generateSourcesContent(y._sources.toArray(),y.sourceRoot),y.file=d._file,y._sourceMapURL=g,y._absoluteSources=y._sources.toArray().map(function(M){return e.computeSourceURL(y.sourceRoot,M,g)});for(var _=d._mappings.toArray().slice(),S=y.__generatedMappings=[],k=y.__originalMappings=[],E=0,P=_.length;E<P;E++){var O=_[E],A=new h;A.generatedLine=O.generatedLine,A.generatedColumn=O.generatedColumn,O.source&&(A.source=w.indexOf(O.source),A.originalLine=O.originalLine,A.originalColumn=O.originalColumn,O.name&&(A.name=v.indexOf(O.name)),k.push(A)),S.push(A)}return i(y.__originalMappings,e.compareByOriginalPositions),y},a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function h(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}a.prototype._parseMappings=function(d,g){for(var y=1,v=0,w=0,_=0,S=0,k=0,E=d.length,P=0,O={},A={},M=[],F=[],x,I,R,L,z;P<E;)if(d.charAt(P)===";")y++,P++,v=0;else if(d.charAt(P)===",")P++;else{for(x=new h,x.generatedLine=y,L=P;L<E&&!this._charIsMappingSeparator(d,L);L++);if(I=d.slice(P,L),R=O[I],R)P+=I.length;else{for(R=[];P<L;)s.decode(d,P,A),z=A.value,P=A.rest,R.push(z);if(R.length===2)throw new Error("Found a source, but no line and column");if(R.length===3)throw new Error("Found a source and line, but no column");O[I]=R}x.generatedColumn=v+R[0],v=x.generatedColumn,R.length>1&&(x.source=S+R[1],S+=R[1],x.originalLine=w+R[2],w=x.originalLine,x.originalLine+=1,x.originalColumn=_+R[3],_=x.originalColumn,R.length>4&&(x.name=k+R[4],k+=R[4])),F.push(x),typeof x.originalLine=="number"&&M.push(x)}i(F,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=F,i(M,e.compareByOriginalPositions),this.__originalMappings=M},a.prototype._findMapping=function(d,g,y,v,w,_){if(d[y]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+d[y]);if(d[v]<0)throw new TypeError("Column must be greater than or equal to 0, got "+d[v]);return t.search(d,g,w,_)},a.prototype.computeColumnSpans=function(){for(var d=0;d<this._generatedMappings.length;++d){var g=this._generatedMappings[d];if(d+1<this._generatedMappings.length){var y=this._generatedMappings[d+1];if(g.generatedLine===y.generatedLine){g.lastGeneratedColumn=y.generatedColumn-1;continue}}g.lastGeneratedColumn=1/0}},a.prototype.originalPositionFor=function(d){var g={generatedLine:e.getArg(d,"line"),generatedColumn:e.getArg(d,"column")},y=this._findMapping(g,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(d,"bias",o.GREATEST_LOWER_BOUND));if(y>=0){var v=this._generatedMappings[y];if(v.generatedLine===g.generatedLine){var w=e.getArg(v,"source",null);w!==null&&(w=this._sources.at(w),w=e.computeSourceURL(this.sourceRoot,w,this._sourceMapURL));var _=e.getArg(v,"name",null);return _!==null&&(_=this._names.at(_)),{source:w,line:e.getArg(v,"originalLine",null),column:e.getArg(v,"originalColumn",null),name:_}}}return{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(d){return d==null}):!1},a.prototype.sourceContentFor=function(d,g){if(!this.sourcesContent)return null;var y=this._findSourceIndex(d);if(y>=0)return this.sourcesContent[y];var v=d;this.sourceRoot!=null&&(v=e.relative(this.sourceRoot,v));var w;if(this.sourceRoot!=null&&(w=e.urlParse(this.sourceRoot))){var _=v.replace(/^file:\/\//,"");if(w.scheme=="file"&&this._sources.has(_))return this.sourcesContent[this._sources.indexOf(_)];if((!w.path||w.path=="/")&&this._sources.has("/"+v))return this.sourcesContent[this._sources.indexOf("/"+v)]}if(g)return null;throw new Error('"'+v+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(d){var g=e.getArg(d,"source");if(g=this._findSourceIndex(g),g<0)return{line:null,column:null,lastColumn:null};var y={source:g,originalLine:e.getArg(d,"line"),originalColumn:e.getArg(d,"column")},v=this._findMapping(y,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(d,"bias",o.GREATEST_LOWER_BOUND));if(v>=0){var w=this._originalMappings[v];if(w.source===y.source)return{line:e.getArg(w,"generatedLine",null),column:e.getArg(w,"generatedColumn",null),lastColumn:e.getArg(w,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},ro.BasicSourceMapConsumer=a;function l(f,d){var g=f;typeof f=="string"&&(g=e.parseSourceMapInput(f));var y=e.getArg(g,"version"),v=e.getArg(g,"sections");if(y!=this._version)throw new Error("Unsupported version: "+y);this._sources=new r,this._names=new r;var w={line:-1,column:0};this._sections=v.map(function(_){if(_.url)throw new Error("Support for url field in sections not implemented.");var S=e.getArg(_,"offset"),k=e.getArg(S,"line"),E=e.getArg(S,"column");if(k<w.line||k===w.line&&E<w.column)throw new Error("Section offsets must be ordered and non-overlapping.");return w=S,{generatedOffset:{generatedLine:k+1,generatedColumn:E+1},consumer:new o(e.getArg(_,"map"),d)}})}return l.prototype=Object.create(o.prototype),l.prototype.constructor=o,l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){for(var f=[],d=0;d<this._sections.length;d++)for(var g=0;g<this._sections[d].consumer.sources.length;g++)f.push(this._sections[d].consumer.sources[g]);return f}}),l.prototype.originalPositionFor=function(d){var g={generatedLine:e.getArg(d,"line"),generatedColumn:e.getArg(d,"column")},y=t.search(g,this._sections,function(w,_){var S=w.generatedLine-_.generatedOffset.generatedLine;return S||w.generatedColumn-_.generatedOffset.generatedColumn}),v=this._sections[y];return v?v.consumer.originalPositionFor({line:g.generatedLine-(v.generatedOffset.generatedLine-1),column:g.generatedColumn-(v.generatedOffset.generatedLine===g.generatedLine?v.generatedOffset.generatedColumn-1:0),bias:d.bias}):{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(d){return d.consumer.hasContentsOfAllSources()})},l.prototype.sourceContentFor=function(d,g){for(var y=0;y<this._sections.length;y++){var v=this._sections[y],w=v.consumer.sourceContentFor(d,!0);if(w)return w}if(g)return null;throw new Error('"'+d+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(d){for(var g=0;g<this._sections.length;g++){var y=this._sections[g];if(y.consumer._findSourceIndex(e.getArg(d,"source"))!==-1){var v=y.consumer.generatedPositionFor(d);if(v){var w={line:v.line+(y.generatedOffset.generatedLine-1),column:v.column+(y.generatedOffset.generatedLine===v.line?y.generatedOffset.generatedColumn-1:0)};return w}}}return{line:null,column:null}},l.prototype._parseMappings=function(d,g){this.__generatedMappings=[],this.__originalMappings=[];for(var y=0;y<this._sections.length;y++)for(var v=this._sections[y],w=v.consumer._generatedMappings,_=0;_<w.length;_++){var S=w[_],k=v.consumer._sources.at(S.source);k=e.computeSourceURL(v.consumer.sourceRoot,k,this._sourceMapURL),this._sources.add(k),k=this._sources.indexOf(k);var E=null;S.name&&(E=v.consumer._names.at(S.name),this._names.add(E),E=this._names.indexOf(E));var P={source:k,generatedLine:S.generatedLine+(v.generatedOffset.generatedLine-1),generatedColumn:S.generatedColumn+(v.generatedOffset.generatedLine===S.generatedLine?v.generatedOffset.generatedColumn-1:0),originalLine:S.originalLine,originalColumn:S.originalColumn,name:E};this.__generatedMappings.push(P),typeof P.originalLine=="number"&&this.__originalMappings.push(P)}i(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),i(this.__originalMappings,e.compareByOriginalPositions)},ro.IndexedSourceMapConsumer=l,ro}var Fh={},wy;function rN(){if(wy)return Fh;wy=1;var e=ob().SourceMapGenerator,t=ta(),r=/(\r?\n)/,s=10,i="$$$isSourceNode$$$";function o(a,h,l,f,d){this.children=[],this.sourceContents={},this.line=a??null,this.column=h??null,this.source=l??null,this.name=d??null,this[i]=!0,f!=null&&this.add(f)}return o.fromStringWithSourceMap=function(h,l,f){var d=new o,g=h.split(r),y=0,v=function(){var E=O(),P=O()||"";return E+P;function O(){return y<g.length?g[y++]:void 0}},w=1,_=0,S=null;return l.eachMapping(function(E){if(S!==null)if(w<E.generatedLine)k(S,v()),w++,_=0;else{var P=g[y]||"",O=P.substr(0,E.generatedColumn-_);g[y]=P.substr(E.generatedColumn-_),_=E.generatedColumn,k(S,O),S=E;return}for(;w<E.generatedLine;)d.add(v()),w++;if(_<E.generatedColumn){var P=g[y]||"";d.add(P.substr(0,E.generatedColumn)),g[y]=P.substr(E.generatedColumn),_=E.generatedColumn}S=E},this),y<g.length&&(S&&k(S,v()),d.add(g.splice(y).join(""))),l.sources.forEach(function(E){var P=l.sourceContentFor(E);P!=null&&(f!=null&&(E=t.join(f,E)),d.setSourceContent(E,P))}),d;function k(E,P){if(E===null||E.source===void 0)d.add(P);else{var O=f?t.join(f,E.source):E.source;d.add(new o(E.originalLine,E.originalColumn,O,P,E.name))}}},o.prototype.add=function(h){if(Array.isArray(h))h.forEach(function(l){this.add(l)},this);else if(h[i]||typeof h=="string")h&&this.children.push(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},o.prototype.prepend=function(h){if(Array.isArray(h))for(var l=h.length-1;l>=0;l--)this.prepend(h[l]);else if(h[i]||typeof h=="string")this.children.unshift(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},o.prototype.walk=function(h){for(var l,f=0,d=this.children.length;f<d;f++)l=this.children[f],l[i]?l.walk(h):l!==""&&h(l,{source:this.source,line:this.line,column:this.column,name:this.name})},o.prototype.join=function(h){var l,f,d=this.children.length;if(d>0){for(l=[],f=0;f<d-1;f++)l.push(this.children[f]),l.push(h);l.push(this.children[f]),this.children=l}return this},o.prototype.replaceRight=function(h,l){var f=this.children[this.children.length-1];return f[i]?f.replaceRight(h,l):typeof f=="string"?this.children[this.children.length-1]=f.replace(h,l):this.children.push("".replace(h,l)),this},o.prototype.setSourceContent=function(h,l){this.sourceContents[t.toSetString(h)]=l},o.prototype.walkSourceContents=function(h){for(var l=0,f=this.children.length;l<f;l++)this.children[l][i]&&this.children[l].walkSourceContents(h);for(var d=Object.keys(this.sourceContents),l=0,f=d.length;l<f;l++)h(t.fromSetString(d[l]),this.sourceContents[d[l]])},o.prototype.toString=function(){var h="";return this.walk(function(l){h+=l}),h},o.prototype.toStringWithSourceMap=function(h){var l={code:"",line:1,column:0},f=new e(h),d=!1,g=null,y=null,v=null,w=null;return this.walk(function(_,S){l.code+=_,S.source!==null&&S.line!==null&&S.column!==null?((g!==S.source||y!==S.line||v!==S.column||w!==S.name)&&f.addMapping({source:S.source,original:{line:S.line,column:S.column},generated:{line:l.line,column:l.column},name:S.name}),g=S.source,y=S.line,v=S.column,w=S.name,d=!0):d&&(f.addMapping({generated:{line:l.line,column:l.column}}),g=null,d=!1);for(var k=0,E=_.length;k<E;k++)_.charCodeAt(k)===s?(l.line++,l.column=0,k+1===E?(g=null,d=!1):d&&f.addMapping({source:S.source,original:{line:S.line,column:S.column},generated:{line:l.line,column:l.column},name:S.name})):l.column++}),this.walkSourceContents(function(_,S){f.setSourceContent(_,S)}),{code:l.code,map:f}},Fh.SourceNode=o,Fh}var by;function sN(){return by||(by=1,to.SourceMapGenerator=ob().SourceMapGenerator,to.SourceMapConsumer=tN().SourceMapConsumer,to.SourceNode=rN().SourceNode),to}var Bh,Ey;function nN(){if(Ey)return Bh;Ey=1;var e=sN(),t=e.SourceMapConsumer,r=e.SourceMapGenerator;Bh=s;function s(i,o){if(!i)return o;if(!o)return i;var a=new t(i),h=new t(o),l=new r;h.eachMapping(function(d){if(d.originalLine!=null){var g=a.originalPositionFor({line:d.originalLine,column:d.originalColumn});g.source!=null&&l.addMapping({original:{line:g.line,column:g.column},generated:{line:d.generatedLine,column:d.generatedColumn},source:g.source,name:g.name})}});var f=[a,h];return f.forEach(function(d){d.sources.forEach(function(g){l._sources.add(g);var y=d.sourceContentFor(g);y!=null&&l.setSourceContent(g,y)})}),l._sourceRoot=i.sourceRoot,l._file=i.file,JSON.parse(l.toString())}return Bh}var iN=nN(),w1=Ec(iN),oN=Object.defineProperty,aN=Object.defineProperties,lN=Object.getOwnPropertyDescriptors,Ty=Object.getOwnPropertySymbols,cN=Object.prototype.hasOwnProperty,uN=Object.prototype.propertyIsEnumerable,xy=(e,t,r)=>t in e?oN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Vl=(e,t)=>{for(var r in t||(t={}))cN.call(t,r)&&xy(e,r,t[r]);if(Ty)for(var r of Ty(t))uN.call(t,r)&&xy(e,r,t[r]);return e},Wl=(e,t)=>aN(e,lN(t));const ab=(e,t,r,s=require)=>{const i=s("sass"),{compileString:o,renderSync:a}=i,h=lb(e,r.filename,r.additionalData);let l,f,d;try{if(o){const{pathToFileURL:g,fileURLToPath:y}=s("url"),v=o(h,Wl(Vl({},r),{url:g(r.filename),sourceMap:!!t}));l=v.css,f=v.loadedUrls.map(w=>y(w)),d=t?v.sourceMap:void 0}else{const g=a(Wl(Vl({},r),{data:h,file:r.filename,outFile:r.filename,sourceMap:!!t}));l=g.css.toString(),f=g.stats.includedFiles,d=t?JSON.parse(g.map.toString()):void 0}return t?{code:l,errors:[],dependencies:f,map:w1(t,d)}:{code:l,errors:[],dependencies:f}}catch(g){return{code:"",errors:[g],dependencies:[]}}},hN=(e,t,r,s)=>ab(e,t,Wl(Vl({},r),{indentedSyntax:!0}),s),pN=(e,t,r,s=require)=>{const i=s("less");let o,a=null;if(i.render(lb(e,r.filename,r.additionalData),Wl(Vl({},r),{syncImport:!0}),(l,f)=>{a=l,o=f}),a)return{code:"",errors:[a],dependencies:[]};const h=o.imports;return t?{code:o.css.toString(),map:w1(t,o.map),errors:[],dependencies:h}:{code:o.css.toString(),errors:[],dependencies:h}},ky=(e,t,r,s=require)=>{const i=s("stylus");try{const o=i(e,r);t&&o.set("sourcemap",{inline:!1,comment:!1});const a=o.render(),h=o.deps();return t?{code:a,map:w1(t,o.sourcemap),errors:[],dependencies:h}:{code:a,errors:[],dependencies:h}}catch(o){return{code:"",errors:[o],dependencies:[]}}};function lb(e,t,r){return r?eS(r)?r(e,t):r+e:e}const fN={less:pN,sass:hN,scss:ab,styl:ky,stylus:ky};var dN=Object.defineProperty,mN=Object.defineProperties,gN=Object.getOwnPropertyDescriptors,Py=Object.getOwnPropertySymbols,yN=Object.prototype.hasOwnProperty,vN=Object.prototype.propertyIsEnumerable,Ay=(e,t,r)=>t in e?dN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Jc=(e,t)=>{for(var r in t||(t={}))yN.call(t,r)&&Ay(e,r,t[r]);if(Py)for(var r of Py(t))vN.call(t,r)&&Ay(e,r,t[r]);return e},b1=(e,t)=>mN(e,gN(t));function SN(e){return cb(b1(Jc({},e),{isAsync:!1}))}function _N(e){return cb(b1(Jc({},e),{isAsync:!0}))}function cb(e){const{filename:t,id:r,scoped:s=!1,trim:i=!0,isProd:o=!1,modules:a=!1,modulesOptions:h={},preprocessLang:l,postcssOptions:f,postcssPlugins:d}=e,g=l&&fN[l],y=g&&wN(e,g),v=y?y.map:e.inMap||e.map,w=y?y.code:e.source,_=r.replace(/^data-v-/,""),S=`data-v-${_}`,k=(d||[]).slice();k.unshift(o_({id:_,isProd:o})),i&&k.push(qw()),s&&k.push(sb(S));let E;if(a)throw new Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");const P=b1(Jc({},f),{to:t,from:t});v&&(P.map={inline:!1,annotation:!1,prev:v});let O,A,M;const F=new Set(y?y.dependencies:[]);F.delete(t);const x=[];y&&y.errors.length&&x.push(...y.errors);const I=R=>(R.forEach(L=>{L.type==="dependency"&&F.add(L.file)}),F);try{if(O=vt(k).process(w,P),e.isAsync)return O.then(R=>({code:R.css||"",map:R.map&&R.map.toJSON(),errors:x,modules:E,rawResult:R,dependencies:I(R.messages)})).catch(R=>({code:"",map:void 0,errors:[...x,R],rawResult:void 0,dependencies:F}));I(O.messages),A=O.css,M=O.map}catch(R){x.push(R)}return{code:A||"",map:M&&M.toJSON(),errors:x,rawResult:O,dependencies:F}}function wN(e,t){if(!e.preprocessCustomRequire)throw new Error("[@vue/compiler-sfc] Style preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor.");return t(e.source,e.inMap||e.map,Jc({filename:e.filename},e.preprocessOptions),e.preprocessCustomRequire)}const Jr="Unknown";function E1(e,t){switch(e.type){case"StringLiteral":case"NumericLiteral":return String(e.value);case"Identifier":if(!t)return e.name}}function Iy(e){return e.filter(t=>!!t).join(", ")}function ub(e){return e.type.endsWith("Literal")}function ir(e,t){return!!(e&&t&&e.type==="CallExpression"&&e.callee.type==="Identifier"&&(typeof t=="string"?e.callee.name===t:t(e.callee.name)))}function li(e){return e.length>1?`[${e.join(", ")}]`:e[0]}function Pp(e){return e.type==="ImportSpecifier"?e.imported.type==="Identifier"?e.imported.name:e.imported.value:e.type==="ImportNamespaceSpecifier"?"*":"default"}function Fn(e){return e.type==="Identifier"?e.name:e.type==="StringLiteral"?e.value:null}const bN=(Cs.posix||Cs).normalize,EN=/\\/g;function T1(e){return bN(e.replace(EN,"/"))}const wo=(Cs.posix||Cs).join,TN=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~\-]/;function hb(e){return TN.test(e)?JSON.stringify(e):e}function pb(e){for(const t of e)if(t.type==="ExportDefaultDeclaration"&&t.declaration.type==="ObjectExpression")return xN(t.declaration);return{}}function xN(e){const t={};Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!1});for(const r of e.properties)if(r.type==="ObjectProperty"&&!r.computed&&r.key.type==="Identifier"){if(r.key.name==="props")for(const s of Ip(r.value))t[s]="props";else if(r.key.name==="inject")for(const s of Ip(r.value))t[s]="options";else if(r.value.type==="ObjectExpression"&&(r.key.name==="computed"||r.key.name==="methods"))for(const s of Ap(r.value))t[s]="options"}else if(r.type==="ObjectMethod"&&r.key.type==="Identifier"&&(r.key.name==="setup"||r.key.name==="data")){for(const s of r.body.body)if(s.type==="ReturnStatement"&&s.argument&&s.argument.type==="ObjectExpression")for(const i of Ap(s.argument))t[i]=r.key.name==="setup"?"setup-maybe-ref":"data"}return t}function Ap(e){const t=[];for(const r of e.properties){if(r.type==="SpreadElement")continue;const s=E1(r.key,r.computed);s&&t.push(String(s))}return t}function kN(e){const t=[];for(const r of e.elements)r&&r.type==="StringLiteral"&&t.push(r.value);return t}function Ip(e){return e.type==="ArrayExpression"?kN(e):e.type==="ObjectExpression"?Ap(e):[]}const PN=44,AN=59,Cy="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fb=new Uint8Array(64),IN=new Uint8Array(128);for(let e=0;e<Cy.length;e++){const t=Cy.charCodeAt(e);fb[e]=t,IN[t]=e}function so(e,t,r){let s=t-r;s=s<0?-s<<1|1:s<<1;do{let i=s&31;s>>>=5,s>0&&(i|=32),e.write(fb[i])}while(s>0);return t}const Ny=1024*16,Oy=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}};class CN{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Ny)}write(t){const{buffer:r}=this;r[this.pos++]=t,this.pos===Ny&&(this.out+=Oy.decode(r),this.pos=0)}flush(){const{buffer:t,out:r,pos:s}=this;return s>0?r+Oy.decode(t.subarray(0,s)):r}}function NN(e){const t=new CN;let r=0,s=0,i=0,o=0;for(let a=0;a<e.length;a++){const h=e[a];if(a>0&&t.write(AN),h.length===0)continue;let l=0;for(let f=0;f<h.length;f++){const d=h[f];f>0&&t.write(PN),l=so(t,d[0],l),d.length!==1&&(r=so(t,d[1],r),s=so(t,d[2],s),i=so(t,d[3],i),d.length!==4&&(o=so(t,d[4],o)))}}return t.flush()}class Gl{constructor(t){this.bits=t instanceof Gl?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}}class Bo{constructor(t,r,s){this.start=t,this.end=r,this.original=s,this.intro="",this.outro="",this.content=s,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){const t=new Bo(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,s){return this.content=t,s||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){const r=t-this.start,s=this.original.slice(0,r),i=this.original.slice(r);this.original=s;const o=new Bo(t,this.end,i);return o.outro=this.outro,this.outro="",this.end=t,this.edited?(o.edit("",!1),this.content=""):this.content=s,o.next=this.next,o.next&&(o.next.previous=o),o.previous=this,this.next=o,o}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;const r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;const r=this.content.replace(t,"");if(r.length){if(r!==this.content){const s=this.split(this.end-r.length);this.edited&&s.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}}function ON(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const LN=ON();class RN{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=NN(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+LN(this.toString())}}function MN(e){const t=e.split(`
|
|
`),r=t.filter(o=>/^\t+/.test(o)),s=t.filter(o=>/^ {2,}/.test(o));if(r.length===0&&s.length===0)return null;if(r.length>=s.length)return" ";const i=s.reduce((o,a)=>{const h=/^ +/.exec(a)[0].length;return Math.min(h,o)},1/0);return new Array(i+1).join(" ")}function DN(e,t){const r=e.split(/[/\\]/),s=t.split(/[/\\]/);for(r.pop();r[0]===s[0];)r.shift(),s.shift();if(r.length){let i=r.length;for(;i--;)r[i]=".."}return r.concat(s).join("/")}const FN=Object.prototype.toString;function BN(e){return FN.call(e)==="[object Object]"}function Ly(e){const t=e.split(`
|
|
`),r=[];for(let s=0,i=0;s<t.length;s++)r.push(i),i+=t[s].length+1;return function(i){let o=0,a=r.length;for(;o<a;){const f=o+a>>1;i<r[f]?a=f:o=f+1}const h=o-1,l=i-r[h];return{line:h,column:l}}}const $N=/\w/;class jN{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,s,i){if(r.length){const o=r.length-1;let a=r.indexOf(`
|
|
`,0),h=-1;for(;a>=0&&o>a;){const f=[this.generatedCodeColumn,t,s.line,s.column];i>=0&&f.push(i),this.rawSegments.push(f),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,h=a,a=r.indexOf(`
|
|
`,a+1)}const l=[this.generatedCodeColumn,t,s.line,s.column];i>=0&&l.push(i),this.rawSegments.push(l),this.advance(r.slice(h+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,s,i,o){let a=r.start,h=!0,l=!1;for(;a<r.end;){if(this.hires||h||o.has(a)){const f=[this.generatedCodeColumn,t,i.line,i.column];this.hires==="boundary"?$N.test(s[a])?l||(this.rawSegments.push(f),l=!0):(this.rawSegments.push(f),l=!1):this.rawSegments.push(f)}s[a]===`
|
|
`?(i.line+=1,i.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,h=!0):(i.column+=1,this.generatedCodeColumn+=1,h=!1),a+=1}this.pending=null}advance(t){if(!t)return;const r=t.split(`
|
|
`);if(r.length>1){for(let s=0;s<r.length-1;s++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}}const no=`
|
|
`,ri={insertLeft:!1,insertRight:!1,storeName:!1};class Gn{constructor(t,r={}){const s=new Bo(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:s},lastChunk:{writable:!0,value:s},lastSearchedChunk:{writable:!0,value:s},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new Gl},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList}}),this.byStart[0]=s,this.byEnd[t.length]=s}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const s=this.byEnd[t];return s?s.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const s=this.byStart[t];return s?s.appendRight(r):this.outro+=r,this}clone(){const t=new Gn(this.original,{filename:this.filename});let r=this.firstChunk,s=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[s.start]=s,t.byEnd[s.end]=s;const i=r.next,o=i&&i.clone();o&&(s.next=o,o.previous=s,s=o),r=i}return t.lastChunk=s,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new Gl(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};const r=0,s=Object.keys(this.storedNames),i=new jN(t.hires),o=Ly(this.original);return this.intro&&i.advance(this.intro),this.firstChunk.eachNext(a=>{const h=o(a.start);a.intro.length&&i.advance(a.intro),a.edited?i.addEdit(r,a.content,h,a.storeName?s.indexOf(a.original):-1):i.addUneditedChunk(r,a,this.original,h,this.sourcemapLocations),a.outro.length&&i.advance(a.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?DN(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:s,mappings:i.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new RN(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=MN(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){const s=/^[^\r\n]/gm;if(BN(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};const i={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(d=>{for(let g=d[0];g<d[1];g+=1)i[g]=!0});let o=r.indentStart!==!1;const a=f=>o?`${t}${f}`:(o=!0,f);this.intro=this.intro.replace(s,a);let h=0,l=this.firstChunk;for(;l;){const f=l.end;if(l.edited)i[h]||(l.content=l.content.replace(s,a),l.content.length&&(o=l.content[l.content.length-1]===`
|
|
`));else for(h=l.start;h<f;){if(!i[h]){const d=this.original[h];d===`
|
|
`?o=!0:d!=="\r"&&o&&(o=!1,h===l.start||(this._splitChunk(l,h),l=l.next),l.prependRight(t))}h+=1}h=l.end,l=l.next}return this.outro=this.outro.replace(s,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return ri.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),ri.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return ri.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),ri.insertRight=!0),this.prependRight(t,r)}move(t,r,s){if(s>=t&&s<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(s);const i=this.byStart[t],o=this.byEnd[r],a=i.previous,h=o.next,l=this.byStart[s];if(!l&&o===this.lastChunk)return this;const f=l?l.previous:this.lastChunk;return a&&(a.next=h),h&&(h.previous=a),f&&(f.next=i),l&&(l.previous=o),i.previous||(this.firstChunk=o.next),o.next||(this.lastChunk=i.previous,this.lastChunk.next=null),i.previous=f,o.next=l||null,f||(this.firstChunk=i),l||(this.lastChunk=o),this}overwrite(t,r,s,i){return i=i||{},this.update(t,r,s,{...i,overwrite:!i.contentOnly})}update(t,r,s,i){if(typeof s!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(t),this._split(r),i===!0&&(ri.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),ri.storeName=!0),i={storeName:!0});const o=i!==void 0?i.storeName:!1,a=i!==void 0?i.overwrite:!1;if(o){const f=this.original.slice(t,r);Object.defineProperty(this.storedNames,f,{writable:!0,value:!0,enumerable:!0})}const h=this.byStart[t],l=this.byEnd[r];if(h){let f=h;for(;f!==l;){if(f.next!==this.byStart[f.end])throw new Error("Cannot overwrite across a split point");f=f.next,f.edit("",!1)}h.edit(s,o,!a)}else{const f=new Bo(t,r,"").edit(s,o);l.next=f,f.previous=l}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const s=this.byEnd[t];return s?s.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const s=this.byStart[t];return s?s.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let s=this.byStart[t];for(;s;)s.intro="",s.outro="",s.edit(""),s=r>s.end?this.byStart[s.end]:null;return this}reset(t,r){if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let s=this.byStart[t];for(;s;)s.reset(),s=r>s.end?this.byStart[s.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(no);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,s=this.lastChunk;do{if(s.outro.length>0){if(t=s.outro.lastIndexOf(no),t!==-1)return s.outro.substr(t+1)+r;r=s.outro+r}if(s.content.length>0){if(t=s.content.lastIndexOf(no),t!==-1)return s.content.substr(t+1)+r;r=s.content+r}if(s.intro.length>0){if(t=s.intro.lastIndexOf(no),t!==-1)return s.intro.substr(t+1)+r;r=s.intro+r}}while(s=s.previous);return t=this.intro.lastIndexOf(no),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length){if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let s="",i=this.firstChunk;for(;i&&(i.start>t||i.end<=t);){if(i.start<r&&i.end>=r)return s;i=i.next}if(i&&i.edited&&i.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);const o=i;for(;i;){i.intro&&(o!==i||i.start===t)&&(s+=i.intro);const a=i.start<r&&i.end>=r;if(a&&i.edited&&i.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);const h=o===i?t-i.start:0,l=a?i.content.length+r-i.end:i.content.length;if(s+=i.content.slice(h,l),i.outro&&(!a||i.end===r)&&(s+=i.outro),a)break;i=i.next}return s}snip(t,r){const s=this.clone();return s.remove(0,t),s.remove(r,s.original.length),s}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk;const s=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=s?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){const i=Ly(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${i.line}:${i.column} – "${t.original}")`)}const s=t.split(r);return this.byEnd[r]=t,this.byStart[r]=s,this.byEnd[s.end]=s,t===this.lastChunk&&(this.lastChunk=s),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){const r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let s=this.lastChunk;do{const i=s.end,o=s.trimEnd(r);if(s.end!==i&&(this.lastChunk===s&&(this.lastChunk=s.next),this.byEnd[s.end]=s,this.byStart[s.next.start]=s.next,this.byEnd[s.next.end]=s.next),o)return!0;s=s.previous}while(s);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){const r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let s=this.firstChunk;do{const i=s.end,o=s.trimStart(r);if(s.end!==i&&(s===this.lastChunk&&(this.lastChunk=s.next),this.byEnd[s.end]=s,this.byStart[s.next.start]=s.next,this.byEnd[s.next.end]=s.next),o)return!0;s=s.next}while(s);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function s(o,a){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(h,l)=>l==="$"?"$":l==="&"?o[0]:+l<o.length?o[+l]:`$${l}`):r(...o,o.index,a,o.groups)}function i(o,a){let h;const l=[];for(;h=o.exec(a);)l.push(h);return l}if(t.global)i(t,this.original).forEach(a=>{if(a.index!=null){const h=s(a,this.original);h!==a[0]&&this.overwrite(a.index,a.index+a[0].length,h)}});else{const o=this.original.match(t);if(o&&o.index!=null){const a=s(o,this.original);a!==o[0]&&this.overwrite(o.index,o.index+o[0].length,a)}}return this}_replaceString(t,r){const{original:s}=this,i=s.indexOf(t);return i!==-1&&this.overwrite(i,i+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){const{original:s}=this,i=t.length;for(let o=s.indexOf(t);o!==-1;o=s.indexOf(t,o+i))s.slice(o,o+i)!==r&&this.overwrite(o,o+i,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}}var Ry,My;class UN{constructor(t,r){this.descriptor=t,this.options=r,this.isCE=!1,this.source=this.descriptor.source,this.filename=this.descriptor.filename,this.s=new Gn(this.source),this.startOffset=(Ry=this.descriptor.scriptSetup)==null?void 0:Ry.loc.start.offset,this.endOffset=(My=this.descriptor.scriptSetup)==null?void 0:My.loc.end.offset,this.userImports=Object.create(null),this.hasDefinePropsCall=!1,this.hasDefineEmitCall=!1,this.hasDefineExposeCall=!1,this.hasDefaultExportName=!1,this.hasDefaultExportRender=!1,this.hasDefineOptionsCall=!1,this.hasDefineSlotsCall=!1,this.hasDefineModelCall=!1,this.propsDestructuredBindings=Object.create(null),this.modelDecls=Object.create(null),this.bindingMetadata={},this.helperImports=new Set;const{script:s,scriptSetup:i}=t,o=s&&s.lang,a=i&&i.lang;this.isJS=o==="js"||o==="jsx"||a==="js"||a==="jsx",this.isTS=o==="ts"||o==="tsx"||a==="ts"||a==="tsx";const h=r.customElement,l=this.descriptor.filename;h&&(this.isCE=typeof h=="boolean"?h:h(l));const f=zl(o||a,r.babelParserPlugins);function d(g,y){try{return $r.parse(g,{plugins:f,sourceType:"module"}).program}catch(v){throw v.message=`[vue/compiler-sfc] ${v.message}
|
|
|
|
${t.filename}
|
|
${Ti(t.source,v.pos+y,v.pos+y+1)}`,v}}this.scriptAst=t.script&&d(t.script.content,t.script.loc.start.offset),this.scriptSetupAst=t.scriptSetup&&d(t.scriptSetup.content,this.startOffset)}helper(t){return this.helperImports.add(t),`_${t}`}getString(t,r=!0){return(r?this.descriptor.scriptSetup:this.descriptor.script).content.slice(t.start,t.end)}warn(t,r,s){Ul(Dy(t,r,this,s))}error(t,r,s){throw new Error(`[@vue/compiler-sfc] ${Dy(t,r,this,s)}`)}}function Dy(e,t,r,s){const i=s?s.offset:r.startOffset;return`${e}
|
|
|
|
${(s||r.descriptor).filename}
|
|
${Ti((s||r.descriptor).source,t.start+i,t.end+i)}`}function zl(e,t,r=!1){const s=[];return(!t||!t.some(i=>i==="importAssertions"||i==="importAttributes"||jt(i)&&i[0]==="importAttributes"))&&s.push("importAttributes"),e==="jsx"||e==="tsx"||e==="mtsx"?s.push("jsx"):t&&(t=t.filter(i=>i!=="jsx")),(e==="ts"||e==="mts"||e==="tsx"||e==="mtsx")&&(s.push(["typescript",{dts:r}],"explicitResourceManagement"),(!t||!t.includes("decorators"))&&s.push("decorators-legacy")),t&&s.push(...t),s}function qN(e,t,r){const s=$r.parse(e,{sourceType:"module",plugins:zl("js",r)}).program.body,i=new Gn(e);return x1(s,i,t),i.toString()}function x1(e,t,r){if(!VN(e)){t.append(`
|
|
const ${r} = {}`);return}e.forEach(s=>{if(s.type==="ExportDefaultDeclaration")if(s.declaration.type==="ClassDeclaration"&&s.declaration.id){let i=s.declaration.decorators&&s.declaration.decorators.length>0?s.declaration.decorators[s.declaration.decorators.length-1].end:s.start;t.overwrite(i,s.declaration.id.start," class "),t.append(`
|
|
const ${r} = ${s.declaration.id.name}`)}else t.overwrite(s.start,s.declaration.start,`const ${r} = `);else if(s.type==="ExportNamedDeclaration"){for(const i of s.specifiers)if(i.type==="ExportSpecifier"&&i.exported.type==="Identifier"&&i.exported.name==="default"){if(s.source)if(i.local.name==="default"){t.prepend(`import { default as __VUE_DEFAULT__ } from '${s.source.value}'
|
|
`);const a=$h(t,i.local.end,s.end);t.remove(i.start,a),t.append(`
|
|
const ${r} = __VUE_DEFAULT__`);continue}else{t.prepend(`import { ${t.slice(i.local.start,i.local.end)} as __VUE_DEFAULT__ } from '${s.source.value}'
|
|
`);const a=$h(t,i.exported.end,s.end);t.remove(i.start,a),t.append(`
|
|
const ${r} = __VUE_DEFAULT__`);continue}const o=$h(t,i.end,s.end);t.remove(i.start,o),t.append(`
|
|
const ${r} = ${i.local.name}`)}}})}function VN(e){for(const t of e){if(t.type==="ExportDefaultDeclaration")return!0;if(t.type==="ExportNamedDeclaration"&&t.specifiers.some(r=>r.exported.name==="default"))return!0}return!1}function $h(e,t,r){let s=!1,i=t;for(;t<r;)if(/\s/.test(e.slice(t,t+1)))t++;else if(e.slice(t,t+1)===","){t++,s=!0;break}else if(e.slice(t,t+1)==="}")break;return s?t:i}var WN=Object.defineProperty,GN=Object.defineProperties,zN=Object.getOwnPropertyDescriptors,Fy=Object.getOwnPropertySymbols,HN=Object.prototype.hasOwnProperty,XN=Object.prototype.propertyIsEnumerable,By=(e,t,r)=>t in e?WN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,JN=(e,t)=>{for(var r in t||(t={}))HN.call(t,r)&&By(e,r,t[r]);if(Fy)for(var r of Fy(t))XN.call(t,r)&&By(e,r,t[r]);return e},KN=(e,t)=>GN(e,zN(t));const oi="__default__";function YN(e,t){var r;const s=e.descriptor.script;if(s.lang&&!e.isJS&&!e.isTS)return s;try{let i=s.content,o=s.map;const a=e.scriptAst,h=pb(a.body),{cssVars:l}=e.descriptor,{genDefaultAs:f,isProd:d}=e.options;if(l.length||f){const g=f||oi,y=new Gn(i);x1(a.body,y,g),i=y.toString(),l.length&&!((r=e.options.templateOptions)!=null&&r.ssr)&&(i+=Hk(l,h,t,!!d,g)),f||(i+=`
|
|
export default ${g}`)}return KN(JN({},s),{content:i,map:o,bindings:h,scriptAst:a.body})}catch{return s}}var QN=Object.defineProperty,ZN=Object.defineProperties,eO=Object.getOwnPropertyDescriptors,$y=Object.getOwnPropertySymbols,tO=Object.prototype.hasOwnProperty,rO=Object.prototype.propertyIsEnumerable,jy=(e,t,r)=>t in e?QN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Hl=(e,t)=>{for(var r in t||(t={}))tO.call(t,r)&&jy(e,r,t[r]);if($y)for(var r of $y(t))rO.call(t,r)&&jy(e,r,t[r]);return e},Xl=(e,t)=>ZN(e,eO(t));class k1{constructor(t,r,s=0,i=Object.create(null),o=Object.create(null),a=Object.create(null)){this.filename=t,this.source=r,this.offset=s,this.imports=i,this.types=o,this.declares=a,this.isGenericScope=!1,this.resolvedImportSources=Object.create(null),this.exportedTypes=Object.create(null),this.exportedDeclares=Object.create(null)}}function zt(e,t,r,s){const i=!s;if(i&&t._resolvedElements)return t._resolvedElements;const o=sO(e,t,t._ownerScope||r||Yc(e),s);return i?t._resolvedElements=o:o}function sO(e,t,r,s){var i,o;if(t.leadingComments&&t.leadingComments.some(a=>a.value.includes("@vue-ignore")))return{props:{}};switch(t.type){case"TSTypeLiteral":return db(e,t.members,r,s);case"TSInterfaceDeclaration":return nO(e,t,r,s);case"TSTypeAliasDeclaration":case"TSTypeAnnotation":case"TSParenthesizedType":return zt(e,t.typeAnnotation,r,s);case"TSFunctionType":return{props:{},calls:[t]};case"TSUnionType":case"TSIntersectionType":return Uy(t.types.map(a=>zt(e,a,r,s)),t.type);case"TSMappedType":return iO(e,t,r,s);case"TSIndexedAccessType":{const a=mb(e,t,r);return Uy(a.map(h=>zt(e,h,h._ownerScope)),"TSUnionType")}case"TSExpressionWithTypeArguments":case"TSTypeReference":{const a=A1(t);if((a==="ExtractPropTypes"||a==="ExtractPublicPropTypes")&&t.typeParameters&&((i=r.imports[a])==null?void 0:i.source)==="vue")return Gy(zt(e,t.typeParameters.params[0],r,s),r);const h=us(e,t,r);if(h){let l;return(h.type==="TSTypeAliasDeclaration"||h.type==="TSInterfaceDeclaration")&&h.typeParameters&&t.typeParameters&&(l=Object.create(null),h.typeParameters.params.forEach((f,d)=>{let g=s&&s[f.name];g||(g=t.typeParameters.params[d]),l[f.name]=g})),zt(e,h,h._ownerScope,l)}else{if(typeof a=="string"){if(s&&s[a])return zt(e,s[a],r,s);if(oO.has(a))return aO(e,t,a,r,s);if(a==="ReturnType"&&t.typeParameters){const l=SO(e,t.typeParameters.params[0],r);if(l)return zt(e,l,r)}}return e.error("Unresolvable type reference or unsupported built-in utility type",t,r)}}case"TSImportType":{if(Fn(t.argument)==="vue"&&((o=t.qualifier)==null?void 0:o.type)==="Identifier"&&t.qualifier.name==="ExtractPropTypes"&&t.typeParameters)return Gy(zt(e,t.typeParameters.params[0],r),r);const a=Kc(e,t.argument,r,t.argument.value),h=us(e,t,a);if(h)return zt(e,h,h._ownerScope);break}case"TSTypeQuery":{const a=us(e,t,r);if(a)return zt(e,a,a._ownerScope)}break}return e.error(`Unresolvable type: ${t.type}`,t,r)}function db(e,t,r=Yc(e),s){const i={props:{}};for(const o of t)if(o.type==="TSPropertySignature"||o.type==="TSMethodSignature"){s&&(r=C1(r),r.isGenericScope=!0,Object.assign(r.types,s)),o._ownerScope=r;const a=Fn(o.key);if(a&&!o.computed)i.props[a]=o;else if(o.key.type==="TemplateLiteral")for(const h of P1(e,o.key,r))i.props[h]=o;else e.error("Unsupported computed key in type referenced by a macro",o.key,r)}else o.type==="TSCallSignatureDeclaration"&&(i.calls||(i.calls=[])).push(o);return i}function Uy(e,t){if(e.length===1)return e[0];const r={props:{}},{props:s}=r;for(const{props:i,calls:o}of e){for(const a in i)Zp(s,a)?s[a]=bo(s[a].key,{type:t,types:[s[a],i[a]]},s[a]._ownerScope,s[a].optional||i[a].optional):s[a]=i[a];o&&(r.calls||(r.calls=[])).push(...o)}return r}function bo(e,t,r,s){return{type:"TSPropertySignature",key:e,kind:"get",optional:s,typeAnnotation:{type:"TSTypeAnnotation",typeAnnotation:t},_ownerScope:r}}function nO(e,t,r,s){const i=db(e,t.body.body,t._ownerScope,s);if(t.extends)for(const o of t.extends)try{const{props:a,calls:h}=zt(e,o,r);for(const l in a)Zp(i.props,l)||(i.props[l]=a[l]);h&&(i.calls||(i.calls=[])).push(...h)}catch{e.error(`Failed to resolve extends base type.
|
|
If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example:
|
|
|
|
interface Props extends /* @vue-ignore */ Base {}
|
|
|
|
Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough attrs at runtime.`,o,r)}return i}function iO(e,t,r,s){const i={props:{}};let o;if(t.nameType){const{name:a,constraint:h}=t.typeParameter;r=C1(r),Object.assign(r.types,Xl(Hl({},s),{[a]:h})),o=ns(e,t.nameType,r)}else o=ns(e,t.typeParameter.constraint,r);for(const a of o)i.props[a]=bo({type:"Identifier",name:a},t.typeAnnotation,r,!!t.optional);return i}function mb(e,t,r){var s,i;if(t.indexType.type==="TSNumberKeyword")return gb(e,t.objectType,r);const{indexType:o,objectType:a}=t,h=[];let l,f;o.type==="TSStringKeyword"?(f=zt(e,a,r),l=Object.keys(f.props)):(l=ns(e,o,r),f=zt(e,a,r));for(const d of l){const g=(i=(s=f.props[d])==null?void 0:s.typeAnnotation)==null?void 0:i.typeAnnotation;g&&(g._ownerScope=f.props[d]._ownerScope,h.push(g))}return h}function gb(e,t,r){if(t.type==="TSArrayType")return[t.elementType];if(t.type==="TSTupleType")return t.elementTypes.map(s=>s.type==="TSNamedTupleMember"?s.elementType:s);if(t.type==="TSTypeReference"){if(A1(t)==="Array"&&t.typeParameters)return t.typeParameters.params;{const s=us(e,t,r);if(s)return gb(e,s,r)}}return e.error("Failed to resolve element type from target type",t,r)}function ns(e,t,r){switch(t.type){case"StringLiteral":return[t.value];case"TSLiteralType":return ns(e,t.literal,r);case"TSUnionType":return t.types.map(s=>ns(e,s,r)).flat();case"TemplateLiteral":return P1(e,t,r);case"TSTypeReference":{const s=us(e,t,r);if(s)return ns(e,s,r);if(t.typeName.type==="Identifier"){const i=(o=0)=>ns(e,t.typeParameters.params[o],r);switch(t.typeName.name){case"Extract":return i(1);case"Exclude":{const o=i(1);return i().filter(a=>!o.includes(a))}case"Uppercase":return i().map(o=>o.toUpperCase());case"Lowercase":return i().map(o=>o.toLowerCase());case"Capitalize":return i().map(tn);case"Uncapitalize":return i().map(o=>o[0].toLowerCase()+o.slice(1));default:e.error("Unsupported type when resolving index type",t.typeName,r)}}}}return e.error("Failed to resolve index type into finite keys",t,r)}function P1(e,t,r){if(!t.expressions.length)return[t.quasis[0].value.raw];const s=[],i=t.expressions[0],o=t.quasis[0],a=o?o.value.raw:"",h=ns(e,i,r),l=P1(e,Xl(Hl({},t),{expressions:t.expressions.slice(1),quasis:o?t.quasis.slice(1):t.quasis}),r);for(const f of h)for(const d of l)s.push(a+f+d);return s}const oO=new Set(["Partial","Required","Readonly","Pick","Omit"]);function aO(e,t,r,s,i){const o=zt(e,t.typeParameters.params[0],s,i);switch(r){case"Partial":{const l={props:{},calls:o.calls};return Object.keys(o.props).forEach(f=>{l.props[f]=Xl(Hl({},o.props[f]),{optional:!0})}),l}case"Required":{const l={props:{},calls:o.calls};return Object.keys(o.props).forEach(f=>{l.props[f]=Xl(Hl({},o.props[f]),{optional:!1})}),l}case"Readonly":return o;case"Pick":{const l=ns(e,t.typeParameters.params[1],s),f={props:{},calls:o.calls};for(const d of l)f.props[d]=o.props[d];return f}case"Omit":const a=ns(e,t.typeParameters.params[1],s),h={props:{},calls:o.calls};for(const l in o.props)a.includes(l)||(h.props[l]=o.props[l]);return h}}function us(e,t,r,s,i=!1){const o=!(r!=null&&r.isGenericScope);if(o&&t._resolvedReference)return t._resolvedReference;const a=Cp(e,r||Yc(e),s||A1(t),t,i);return o?t._resolvedReference=a:a}function Cp(e,t,r,s,i){if(typeof r=="string"){if(t.imports[r])return uO(e,s,r,t);{const o=s.type==="TSTypeQuery"?i?t.exportedDeclares:t.declares:i?t.exportedTypes:t.types;if(o[r])return o[r];{const a=lO(e);if(a)for(const h of a){const l=s.type==="TSTypeQuery"?h.declares:h.types;if(l[r])return(e.deps||(e.deps=new Set)).add(h.filename),l[r]}}}}else{let o=Cp(e,t,r[0],s,i);if(o&&(o.type!=="TSModuleDeclaration"&&(o=o._ns),o)){const a=dO(e,o,o._ownerScope||t);return Cp(e,a,r.length>2?r.slice(1):r[r.length-1],s,!o.declare)}}}function A1(e){const t=e.type==="TSTypeReference"?e.typeName:e.type==="TSExpressionWithTypeArguments"?e.expression:e.type==="TSImportType"?e.qualifier:e.exprName;return(t==null?void 0:t.type)==="Identifier"?t.name:(t==null?void 0:t.type)==="TSQualifiedName"?yb(t):"default"}function yb(e){return e.type==="Identifier"?[e.name]:[...yb(e.left),e.right.name]}function lO(e){if(e.options.globalTypeFiles){if(!I1(e))throw new Error("[vue/compiler-sfc] globalTypeFiles requires fs access.");return e.options.globalTypeFiles.map(r=>vb(e,T1(r),!0))}}let Za,Np;function cO(e){Np=()=>{try{return e()}catch(t){throw typeof t.message=="string"&&t.message.includes("Cannot find module")?new Error('Failed to load TypeScript, which is required for resolving imported types. Please make sure "typescript" is installed as a project dependency.'):new Error("Failed to load TypeScript for resolving imported types.")}}}function I1(e){if(e.fs)return e.fs;!Za&&Np&&(Za=Np());const t=e.options.fs||(Za==null?void 0:Za.sys);if(t)return e.fs={fileExists(r){return r.endsWith(".vue.ts")&&(r=r.replace(/\.ts$/,"")),t.fileExists(r)},readFile(r){return r.endsWith(".vue.ts")&&(r=r.replace(/\.ts$/,"")),t.readFile(r)},realpath:t.realpath}}function uO(e,t,r,s){const{source:i,imported:o}=s.imports[r],a=Kc(e,t,s,i);return us(e,t,a,o,!0)}function Kc(e,t,r,s){let i;try{i=I1(e)}catch(a){return e.error(a.message,t,r)}if(!i)return e.error("No fs option provided to `compileScript` in non-Node environment. File system access is required for resolving imported types.",t,r);let o=r.resolvedImportSources[s];if(!o){if(s.startsWith("..")){const h=wo(Ll(r.filename),s);o=qy(h,i)}else if(s[0]==="."){const a=wo(Ll(r.filename),s);o=qy(a,i)}else return e.error("Type import from non-relative sources is not supported in the browser build.",t,r);o&&(o=r.resolvedImportSources[s]=T1(o))}return o?((e.deps||(e.deps=new Set)).add(o),vb(e,o)):e.error(`Failed to resolve import source ${JSON.stringify(s)}.`,t,r)}function qy(e,t){e=e.replace(/\.js$/,"");const r=s=>{if(t.fileExists(s))return s};return r(e)||r(e+".ts")||r(e+".tsx")||r(e+".d.ts")||r(wo(e,"index.ts"))||r(wo(e,"index.tsx"))||r(wo(e,"index.d.ts"))}const Vy=Dc(),hO=new Map,Op=Dc();function pO(e){e=T1(e),Op.delete(e),Vy.delete(e);const t=hO.get(e);t&&Vy.delete(t)}function vb(e,t,r=!1){const s=Op.get(t);if(s)return s;const o=I1(e).readFile(t)||"",a=fO(t,o,e.options.babelParserPlugins),h=new k1(t,o,0,Sb(a));return N1(e,a,h,r),Op.set(t,h),h}function fO(e,t,r){const s=Hf(e);if(s===".ts"||s===".mts"||s===".tsx"||s===".mtsx")return $r.parse(t,{plugins:zl(s.slice(1),r,/\.d\.m?ts$/.test(e)),sourceType:"module"}).program.body;if(s===".vue"){const{descriptor:{script:i,scriptSetup:o}}=m_(t);if(!i&&!o)return[];const a=i?i.loc.start.offset:1/0,h=o?o.loc.start.offset:1/0,l=a<h?i:o,f=a<h?o:i;let d=" ".repeat(Math.min(a,h))+l.content;f&&(d+=" ".repeat(f.loc.start.offset-i.loc.end.offset)+f.content);const g=(i==null?void 0:i.lang)||(o==null?void 0:o.lang);return $r.parse(d,{plugins:zl(g,r),sourceType:"module"}).program.body}return[]}function Yc(e){if(e.scope)return e.scope;const t="ast"in e?e.ast:e.scriptAst?[...e.scriptAst.body,...e.scriptSetupAst.body]:e.scriptSetupAst.body,r=new k1(e.filename,e.source,"startOffset"in e?e.startOffset:0,"userImports"in e?Object.create(e.userImports):Sb(t));return N1(e,t,r),e.scope=r}function dO(e,t,r){if(t._resolvedChildScope)return t._resolvedChildScope;const s=C1(r);if(t.body.type==="TSModuleDeclaration"){const i=t.body;i._ownerScope=s;const o=Fn(i.id);s.types[o]=s.exportedTypes[o]=i}else N1(e,t.body.body,s);return t._resolvedChildScope=s}function C1(e){return new k1(e.filename,e.source,e.offset,Object.create(e.imports),Object.create(e.types),Object.create(e.declares))}const mO=/^Import|^Export/;function N1(e,t,r,s=!1){const{types:i,declares:o,exportedTypes:a,exportedDeclares:h,imports:l}=r,f=s?!t.some(d=>mO.test(d.type)):!1;for(const d of t)if(s){if(f)d.declare&&yn(d,i,o);else if(d.type==="TSModuleDeclaration"&&d.global)for(const g of d.body.body)yn(g,i,o)}else yn(d,i,o);if(!s)for(const d of t)if(d.type==="ExportNamedDeclaration"){if(d.declaration)yn(d.declaration,i,o),yn(d.declaration,a,h);else for(const g of d.specifiers)if(g.type==="ExportSpecifier"){const y=g.local.name,v=Fn(g.exported);d.source?(l[v]={source:d.source.value,imported:y},a[v]={type:"TSTypeReference",typeName:{type:"Identifier",name:y},_ownerScope:r}):i[y]&&(a[v]=i[y])}}else if(d.type==="ExportAllDeclaration"){const g=Kc(e,d.source,r,d.source.value);Object.assign(r.exportedTypes,g.exportedTypes)}else d.type==="ExportDefaultDeclaration"&&d.declaration&&(d.declaration.type!=="Identifier"?(yn(d.declaration,i,o,"default"),yn(d.declaration,a,h,"default")):i[d.declaration.name]&&(a.default=i[d.declaration.name]));for(const d of Object.keys(i)){const g=i[d];g._ownerScope=r,g._ns&&(g._ns._ownerScope=r)}for(const d of Object.keys(o))o[d]._ownerScope=r}function yn(e,t,r,s){switch(e.type){case"TSInterfaceDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":{const i=s||Fn(e.id);let o=t[i];if(o){if(e.type==="TSModuleDeclaration"){o.type==="TSModuleDeclaration"?O1(o,e):Wy(o,e);break}if(o.type==="TSModuleDeclaration"){t[i]=e,Wy(e,o);break}if(o.type!==e.type)break;e.type==="TSInterfaceDeclaration"?o.body.body.push(...e.body.body):o.members.push(...e.members)}else t[i]=e;break}case"ClassDeclaration":(s||e.id)&&(t[s||Fn(e.id)]=e);break;case"TSTypeAliasDeclaration":t[e.id.name]=e.typeParameters?e:e.typeAnnotation;break;case"TSDeclareFunction":e.id&&(r[e.id.name]=e);break;case"VariableDeclaration":{if(e.declare)for(const i of e.declarations)i.id.type==="Identifier"&&i.id.typeAnnotation&&(r[i.id.name]=i.id.typeAnnotation.typeAnnotation);break}}}function O1(e,t){const r=e.body,s=t.body;r.type==="TSModuleDeclaration"?s.type==="TSModuleDeclaration"?O1(r,s):s.body.push({type:"ExportNamedDeclaration",declaration:r,exportKind:"type",specifiers:[]}):s.type==="TSModuleDeclaration"?r.body.push({type:"ExportNamedDeclaration",declaration:s,exportKind:"type",specifiers:[]}):r.body.push(...s.body)}function Wy(e,t){e._ns?O1(e._ns,t):e._ns=t}function Sb(e){const t=Object.create(null);for(const r of e)gO(r,t);return t}function gO(e,t){if(e.type==="ImportDeclaration")for(const r of e.specifiers)t[r.local.name]={imported:Pp(r),source:e.source.value}}function Gt(e,t,r=t._ownerScope||Yc(e),s=!1){try{switch(t.type){case"TSStringKeyword":return["String"];case"TSNumberKeyword":return["Number"];case"TSBooleanKeyword":return["Boolean"];case"TSObjectKeyword":return["Object"];case"TSNullKeyword":return["null"];case"TSTypeLiteral":case"TSInterfaceDeclaration":{const i=new Set,o=t.type==="TSTypeLiteral"?t.members:t.body.body;for(const a of o)if(s)if(a.type==="TSPropertySignature"&&a.key.type==="NumericLiteral")i.add("Number");else if(a.type==="TSIndexSignature"){const h=a.parameters[0].typeAnnotation;if(h&&h.type!=="Noop"){const l=Gt(e,h.typeAnnotation,r)[0];if(l===Jr)return[Jr];i.add(l)}}else i.add("String");else a.type==="TSCallSignatureDeclaration"||a.type==="TSConstructSignatureDeclaration"?i.add("Function"):i.add("Object");return i.size?Array.from(i):[s?Jr:"Object"]}case"TSPropertySignature":if(t.typeAnnotation)return Gt(e,t.typeAnnotation.typeAnnotation,r);break;case"TSMethodSignature":case"TSFunctionType":return["Function"];case"TSArrayType":case"TSTupleType":return["Array"];case"TSLiteralType":switch(t.literal.type){case"StringLiteral":return["String"];case"BooleanLiteral":return["Boolean"];case"NumericLiteral":case"BigIntLiteral":return["Number"];default:return[Jr]}case"TSTypeReference":{const i=us(e,t,r);if(i)return Gt(e,i,i._ownerScope,s);if(t.typeName.type==="Identifier")if(s)switch(t.typeName.name){case"String":case"Array":case"ArrayLike":case"Parameters":case"ConstructorParameters":case"ReadonlyArray":return["String","Number"];case"Record":case"Partial":case"Required":case"Readonly":if(t.typeParameters&&t.typeParameters.params[0])return Gt(e,t.typeParameters.params[0],r,!0);break;case"Pick":case"Extract":if(t.typeParameters&&t.typeParameters.params[1])return Gt(e,t.typeParameters.params[1],r);break;case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":case"Error":case"Uppercase":case"Lowercase":case"Capitalize":case"Uncapitalize":case"ReadonlyMap":case"ReadonlySet":return["String"]}else switch(t.typeName.name){case"Array":case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":case"Error":return[t.typeName.name];case"Partial":case"Required":case"Readonly":case"Record":case"Pick":case"Omit":case"InstanceType":return["Object"];case"Uppercase":case"Lowercase":case"Capitalize":case"Uncapitalize":return["String"];case"Parameters":case"ConstructorParameters":case"ReadonlyArray":return["Array"];case"ReadonlyMap":return["Map"];case"ReadonlySet":return["Set"];case"NonNullable":if(t.typeParameters&&t.typeParameters.params[0])return Gt(e,t.typeParameters.params[0],r).filter(o=>o!=="null");break;case"Extract":if(t.typeParameters&&t.typeParameters.params[1])return Gt(e,t.typeParameters.params[1],r);break;case"Exclude":case"OmitThisParameter":if(t.typeParameters&&t.typeParameters.params[0])return Gt(e,t.typeParameters.params[0],r);break}break}case"TSParenthesizedType":return Gt(e,t.typeAnnotation,r);case"TSUnionType":return jh(e,t.types,r,s);case"TSIntersectionType":return jh(e,t.types,r,s).filter(i=>i!==Jr);case"TSEnumDeclaration":return yO(t);case"TSSymbolKeyword":return["Symbol"];case"TSIndexedAccessType":{const i=mb(e,t,r);return jh(e,i,r,s)}case"ClassDeclaration":return["Object"];case"TSImportType":{const i=Kc(e,t.argument,r,t.argument.value),o=us(e,t,i);if(o)return Gt(e,o,o._ownerScope);break}case"TSTypeQuery":{const i=t.exprName;if(i.type==="Identifier"){const o=r.declares[i.name];if(o)return Gt(e,o,o._ownerScope,s)}break}case"TSTypeOperator":return Gt(e,t.typeAnnotation,r,t.operator==="keyof");case"TSAnyKeyword":{if(s)return["String","Number","Symbol"];break}}}catch{}return[Jr]}function jh(e,t,r,s=!1){return t.length===1?Gt(e,t[0],r,s):[...new Set([].concat(...t.map(i=>Gt(e,i,r,s))))]}function yO(e){const t=new Set;for(const r of e.members)if(r.initializer)switch(r.initializer.type){case"StringLiteral":t.add("String");break;case"NumericLiteral":t.add("Number");break}return t.size?[...t]:["Number"]}function Gy({props:e},t){const r={props:{}};for(const s in e){const i=e[s];r.props[s]=Lp(i.key,i.typeAnnotation.typeAnnotation,t)}return r}function Lp(e,t,r,s=!0,i=!0){if(i&&t.type==="TSTypeLiteral"){const o=zy(t,"type");if(o){const a=zy(t,"required"),h=a&&a.type==="TSLiteralType"&&a.literal.type==="BooleanLiteral"?!a.literal.value:!0;return Lp(e,o,r,h,!1)}}else if(t.type==="TSTypeReference"&&t.typeName.type==="Identifier"){if(t.typeName.name.endsWith("Constructor"))return bo(e,vO(t.typeName.name),r,s);if(t.typeName.name==="PropType"&&t.typeParameters)return bo(e,t.typeParameters.params[0],r,s)}if((t.type==="TSTypeReference"||t.type==="TSImportType")&&t.typeParameters)for(const o of t.typeParameters.params){const a=Lp(e,o,r,s);if(a)return a}return bo(e,{type:"TSNullKeyword"},r,s)}function vO(e){const t=e.slice(0,-11);switch(t){case"String":case"Number":case"Boolean":return{type:`TS${t}Keyword`};case"Array":case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":return{type:"TSTypeReference",typeName:{type:"Identifier",name:t}}}return{type:"TSNullKeyword"}}function zy(e,t){const r=e.members.find(s=>s.type==="TSPropertySignature"&&!s.computed&&Fn(s.key)===t&&s.typeAnnotation);return r&&r.typeAnnotation.typeAnnotation}function SO(e,t,r){var s;let i=t;if((t.type==="TSTypeReference"||t.type==="TSTypeQuery"||t.type==="TSImportType")&&(i=us(e,t,r)),!!i){if(i.type==="TSFunctionType")return(s=i.typeAnnotation)==null?void 0:s.typeAnnotation;if(i.type==="TSDeclareFunction")return i.returnType}}function _b(e,t,r){if(t.type==="TSTypeReference"){const i=us(e,t,r);i&&(t=i)}let s;return t.type==="TSUnionType"?s=t.types.flatMap(i=>_b(e,i,r)):s=[t],s}const Qc="defineModel";function Hy(e,t,r){if(!ir(t,Qc))return!1;e.hasDefineModelCall=!0;const s=t.typeParameters&&t.typeParameters.params[0]||void 0;let i,o;const a=t.arguments[0]&&kr(t.arguments[0]),h=a&&a.type==="StringLiteral";h?(i=a.value,o=t.arguments[1]):(i="modelValue",o=a),e.modelDecls[i]&&e.error(`duplicate model name ${JSON.stringify(i)}`,t);let l=o&&e.getString(o),f=!o;const d=[];if(o&&o.type==="ObjectExpression"&&!o.properties.some(g=>g.type==="SpreadElement"||g.computed)){let g=0;for(let y=o.properties.length-1;y>=0;y--){const v=o.properties[y],w=o.properties[y+1],_=v.start,S=w?w.start:o.end-1;(v.type==="ObjectProperty"||v.type==="ObjectMethod")&&(v.key.type==="Identifier"&&(v.key.name==="get"||v.key.name==="set")||v.key.type==="StringLiteral"&&(v.key.value==="get"||v.key.value==="set"))?l=l.slice(0,_-o.start)+l.slice(S-o.start):(g++,e.s.remove(e.startOffset+_,e.startOffset+S),d.push(v))}g===o.properties.length&&(f=!0,e.s.remove(e.startOffset+(h?a.end:o.start),e.startOffset+o.end))}return e.modelDecls[i]={type:s,options:l,runtimeOptionNodes:d,identifier:r&&r.type==="Identifier"?r.name:void 0},e.bindingMetadata[i]="props",e.s.overwrite(e.startOffset+t.callee.start,e.startOffset+t.callee.end,e.helper("useModel")),e.s.appendLeft(e.startOffset+(t.arguments.length?t.arguments[0].start:t.end-1),"__props, "+(h?"":`${JSON.stringify(i)}${f?"":", "}`)),!0}function _O(e){if(!e.hasDefineModelCall)return;const t=!!e.options.isProd;let r="";for(const[s,{type:i,options:o}]of Object.entries(e.modelDecls)){let a=!1,h="",l=i&&Gt(e,i);if(l){const g=l.includes("Boolean"),y=l.includes("Function");l.includes(Jr)&&(g||y?(l=l.filter(w=>w!==Jr),a=!0):l=["null"]),t?(g||o&&y)&&(h=`type: ${li(l)}`):h=`type: ${li(l)}`+(a?", skipCheck: true":"")}let f;h&&o?f=e.isTS?`{ ${h}, ...${o} }`:`Object.assign({ ${h} }, ${o})`:h?f=`{ ${h} }`:o?f=o:f="{}",r+=`
|
|
${JSON.stringify(s)}: ${f},`;const d=JSON.stringify(s==="modelValue"?"modelModifiers":`${s}Modifiers`);r+=`
|
|
${d}: {},`}return`{${r}
|
|
}`}const Jt="defineProps",wn="withDefaults";function Rp(e,t,r,s=!1){if(!ir(t,Jt))return wO(e,t,r);if(e.hasDefinePropsCall&&e.error(`duplicate ${Jt}() call`,t),e.hasDefinePropsCall=!0,e.propsRuntimeDecl=t.arguments[0],e.propsRuntimeDecl)for(const i of Ip(e.propsRuntimeDecl))i in e.bindingMetadata||(e.bindingMetadata[i]="props");return t.typeParameters&&(e.propsRuntimeDecl&&e.error(`${Jt}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,t),e.propsTypeDecl=t.typeParameters.params[0]),!s&&r&&r.type==="ObjectPattern"&&PO(e,r),e.propsCall=t,e.propsDecl=r,!0}function wO(e,t,r){return ir(t,wn)?(Rp(e,t.arguments[0],r,!0)||e.error(`${wn}' first argument must be a ${Jt} call.`,t.arguments[0]||t),e.propsRuntimeDecl&&e.error(`${wn} can only be used with type-based ${Jt} declaration.`,t),r&&r.type==="ObjectPattern"&&e.warn(`${wn}() is unnecessary when using destructure with ${Jt}().
|
|
Reactive destructure will be disabled when using withDefaults().
|
|
Prefer using destructure default values, e.g. const { foo = 1 } = defineProps(...). `,t.callee),e.propsRuntimeDefaults=t.arguments[1],e.propsRuntimeDefaults||e.error(`The 2nd argument of ${wn} is required.`,t),e.propsCall=t,!0):!1}function bO(e){let t;if(e.propsRuntimeDecl){if(t=e.getString(e.propsRuntimeDecl).trim(),e.propsDestructureDecl){const s=[];for(const i in e.propsDestructuredBindings){const o=bb(e,i),a=hb(i);o&&s.push(`${a}: ${o.valueString}${o.needSkipFactory?`, __skip_${a}: true`:""}`)}s.length&&(t=`/*@__PURE__*/${e.helper("mergeDefaults")}(${t}, {
|
|
${s.join(`,
|
|
`)}
|
|
})`)}}else e.propsTypeDecl&&(t=wb(e));const r=_O(e);return t&&r?`/*@__PURE__*/${e.helper("mergeModels")}(${t}, ${r})`:r||t}function wb(e){const t=EO(e,e.propsTypeDecl);if(!t.length)return;const r=[],s=xO(e);for(const o of t)r.push(TO(e,o,s)),"bindingMetadata"in e&&!(o.key in e.bindingMetadata)&&(e.bindingMetadata[o.key]="props");let i=`{
|
|
${r.join(`,
|
|
`)}
|
|
}`;return e.propsRuntimeDefaults&&!s&&(i=`/*@__PURE__*/${e.helper("mergeDefaults")}(${i}, ${e.getString(e.propsRuntimeDefaults)})`),i}function EO(e,t){const r=[],s=zt(e,t);for(const i in s.props){const o=s.props[i];let a=Gt(e,o),h=!1;a.includes(Jr)&&(a.includes("Boolean")||a.includes("Function")?(a=a.filter(l=>l!==Jr),h=!0):a=["null"]),r.push({key:i,required:!o.optional,type:a||["null"],skipCheck:h})}return r}function TO(e,{key:t,required:r,type:s,skipCheck:i},o){let a;const h=bb(e,t,s);if(h)a=`default: ${h.valueString}${h.needSkipFactory?", skipFactory: true":""}`;else if(o){const f=e.propsRuntimeDefaults.properties.find(d=>d.type==="SpreadElement"?!1:E1(d.key,d.computed)===t);f&&(f.type==="ObjectProperty"?a=`default: ${e.getString(f.value)}`:a=`${f.async?"async ":""}${f.kind!=="method"?`${f.kind} `:""}default() ${e.getString(f.body)}`)}const l=hb(t);return e.options.isProd?s.some(f=>f==="Boolean"||(!o||a)&&f==="Function")?`${l}: { ${Iy([`type: ${li(s)}`,a])} }`:e.isCE?a?`${l}: ${`{ ${a}, type: ${li(s)} }`}`:`${l}: {type: ${li(s)}}`:`${l}: ${a?`{ ${a} }`:"{}"}`:`${l}: { ${Iy([`type: ${li(s)}`,`required: ${r}`,i&&"skipCheck: true",a])} }`}function xO(e){return!!(e.propsRuntimeDefaults&&e.propsRuntimeDefaults.type==="ObjectExpression"&&e.propsRuntimeDefaults.properties.every(t=>t.type!=="SpreadElement"&&(!t.computed||t.key.type.endsWith("Literal"))))}function bb(e,t,r){const s=e.propsDestructuredBindings[t],i=s&&s.default;if(i){const o=e.getString(i),a=kr(i);if(r&&r.length&&!r.includes("null")){const f=kO(a);f&&!r.includes(f)&&e.error(`Default value of prop "${t}" does not match declared type.`,a)}const h=!r&&(Xs(a)||a.type==="Identifier");return{valueString:!h&&!ub(a)&&!(r!=null&&r.includes("Function"))?`() => (${o})`:o,needSkipFactory:h}}}function kO(e){switch(e.type){case"StringLiteral":return"String";case"NumericLiteral":return"Number";case"BooleanLiteral":return"Boolean";case"ObjectExpression":return"Object";case"ArrayExpression":return"Array";case"FunctionExpression":case"ArrowFunctionExpression":return"Function"}}function PO(e,t){if(e.options.propsDestructure==="error")e.error("Props destructure is explicitly prohibited via config.",t);else if(e.options.propsDestructure===!1)return;e.propsDestructureDecl=t;const r=(s,i,o)=>{e.propsDestructuredBindings[s]={local:i,default:o},i!==s&&(e.bindingMetadata[i]="props-aliased",(e.bindingMetadata.__propsAliases||(e.bindingMetadata.__propsAliases={}))[i]=s)};for(const s of t.properties)if(s.type==="ObjectProperty"){const i=E1(s.key,s.computed);if(i||e.error(`${Jt}() destructure cannot use computed key.`,s.key),s.value.type==="AssignmentPattern"){const{left:o,right:a}=s.value;o.type!=="Identifier"&&e.error(`${Jt}() destructure does not support nested patterns.`,o),r(i,o.name,a)}else s.value.type==="Identifier"?r(i,s.value.name):e.error(`${Jt}() destructure does not support nested patterns.`,s.value)}else e.propsDestructureRestId=s.argument.name,e.bindingMetadata[e.propsDestructureRestId]="setup-reactive-const"}function AO(e,t){if(e.options.propsDestructure===!1)return;const r=Object.create(null),s=[r];let i=r;const o=new WeakSet,a=[],h=Object.create(null);for(const S in e.propsDestructuredBindings){const{local:k}=e.propsDestructuredBindings[S];r[k]=!0,h[k]=S}function l(){s.push(i=Object.create(i))}function f(){s.pop(),i=s[s.length-1]||null}function d(S){o.add(S),i?i[S.name]=!1:e.error("registerBinding called without active scope, something is wrong.",S)}function g(S,k=!1){for(const E of S.body)if(E.type==="VariableDeclaration")y(E,k);else if(E.type==="FunctionDeclaration"||E.type==="ClassDeclaration"){if(E.declare||!E.id)continue;d(E.id)}else(E.type==="ForOfStatement"||E.type==="ForInStatement")&&E.left.type==="VariableDeclaration"?y(E.left):E.type==="ExportNamedDeclaration"&&E.declaration&&E.declaration.type==="VariableDeclaration"?y(E.declaration,k):E.type==="LabeledStatement"&&E.body.type==="VariableDeclaration"&&y(E.body,k)}function y(S,k=!1){if(!S.declare)for(const E of S.declarations){const P=k&&E.init&&ir(kr(E.init),"defineProps");for(const O of wr(E.id))P?o.add(O):d(O)}}function v(S,k,E){(k.type==="AssignmentExpression"&&S===k.left||k.type==="UpdateExpression")&&e.error("Cannot assign to destructured props as they are readonly.",S),Ci(k)&&k.shorthand?(!k.inPattern||Ii(k,E))&&e.s.appendLeft(S.end+e.startOffset,`: ${El(h[S.name])}`):e.s.overwrite(S.start+e.startOffset,S.end+e.startOffset,El(h[S.name]))}function w(S,k,E=k){if(ir(S,E)){const P=kr(S.arguments[0]);P.type==="Identifier"&&i[P.name]&&e.error(`"${P.name}" is a destructured prop and should not be passed directly to ${k}(). Pass a getter () => ${P.name} instead.`,P)}}const _=e.scriptSetupAst;g(_,!0),xc(_,{enter(S,k){if(k&&a.push(k),k&&k.type.startsWith("TS")&&!kc.includes(k.type))return this.skip();if(w(S,"watch",t.watch),w(S,"toRef",t.toRef),Xs(S)){l(),df(S,d),S.body.type==="BlockStatement"&&g(S.body);return}if(S.type==="CatchClause"){l(),S.param&&S.param.type==="Identifier"&&d(S.param),g(S.body);return}if(S.type==="BlockStatement"&&!Xs(k)){l(),g(S);return}S.type==="Identifier"&&ff(S,k,a)&&!o.has(S)&&i[S.name]&&v(S,k,a)},leave(S,k){k&&a.pop(),(S.type==="BlockStatement"&&!Xs(k)||Xs(S))&&f()}})}const On="defineEmits";function Xy(e,t,r){return ir(t,On)?(e.hasDefineEmitCall&&e.error(`duplicate ${On}() call`,t),e.hasDefineEmitCall=!0,e.emitsRuntimeDecl=t.arguments[0],t.typeParameters&&(e.emitsRuntimeDecl&&e.error(`${On}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,t),e.emitsTypeDecl=t.typeParameters.params[0]),e.emitDecl=r,!0):!1}function IO(e){let t="";if(e.emitsRuntimeDecl)t=e.getString(e.emitsRuntimeDecl).trim();else if(e.emitsTypeDecl){const r=Eb(e);t=r.size?`[${Array.from(r).map(s=>JSON.stringify(s)).join(", ")}]`:""}if(e.hasDefineModelCall){let r=`[${Object.keys(e.modelDecls).map(s=>JSON.stringify(`update:${s}`)).join(", ")}]`;t=t?`/*@__PURE__*/${e.helper("mergeModels")}(${t}, ${r})`:r}return t}function Eb(e){const t=new Set,r=e.emitsTypeDecl;if(r.type==="TSFunctionType")return Jy(e,r.parameters[0],t),t;const{props:s,calls:i}=zt(e,r);let o=!1;for(const a in s)t.add(a),o=!0;if(i){o&&e.error("defineEmits() type cannot mixed call signature and property syntax.",r);for(const a of i)Jy(e,a.parameters[0],t)}return t}function Jy(e,t,r){if(t.type==="Identifier"&&t.typeAnnotation&&t.typeAnnotation.type==="TSTypeAnnotation"){const s=_b(e,t.typeAnnotation.typeAnnotation);for(const i of s)i.type==="TSLiteralType"&&i.literal.type!=="UnaryExpression"&&i.literal.type!=="TemplateLiteral"&&r.add(String(i.literal.value))}}const Jl="defineExpose";function CO(e,t){return ir(t,Jl)?(e.hasDefineExposeCall&&e.error(`duplicate ${Jl}() call`,t),e.hasDefineExposeCall=!0,!0):!1}const hi="defineSlots";function Ky(e,t,r){return ir(t,hi)?(e.hasDefineSlotsCall&&e.error(`duplicate ${hi}() call`,t),e.hasDefineSlotsCall=!0,t.arguments.length>0&&e.error(`${hi}() cannot accept arguments`,t),r&&e.s.overwrite(e.startOffset+t.start,e.startOffset+t.end,`${e.helper("useSlots")}()`),!0):!1}const Xr="defineOptions";function Yy(e,t){if(!ir(t,Xr))return!1;if(e.hasDefineOptionsCall&&e.error(`duplicate ${Xr}() call`,t),t.typeParameters&&e.error(`${Xr}() cannot accept type arguments`,t),!t.arguments[0])return!0;e.hasDefineOptionsCall=!0,e.optionsRuntimeDecl=kr(t.arguments[0]);let r,s,i,o;if(e.optionsRuntimeDecl.type==="ObjectExpression"){for(const a of e.optionsRuntimeDecl.properties)if((a.type==="ObjectProperty"||a.type==="ObjectMethod")&&a.key.type==="Identifier")switch(a.key.name){case"props":r=a;break;case"emits":s=a;break;case"expose":i=a;break;case"slots":o=a;break}}return r&&e.error(`${Xr}() cannot be used to declare props. Use ${Jt}() instead.`,r),s&&e.error(`${Xr}() cannot be used to declare emits. Use ${On}() instead.`,s),i&&e.error(`${Xr}() cannot be used to declare expose. Use ${Jl}() instead.`,i),o&&e.error(`${Xr}() cannot be used to declare slots. Use ${hi}() instead.`,o),!0}function NO(e,t,r,s){const i=t.argument.extra&&t.argument.extra.parenthesized?t.argument.extra.parenStart:t.argument.start,o=e.startOffset,a=e.descriptor.source.slice(i+o,t.argument.end+o),h=/\bawait\b/.test(a);e.s.overwrite(t.start+o,i+o,`${r?";":""}(
|
|
([__temp,__restore] = ${e.helper("withAsyncContext")}(${h?"async ":""}() => `),e.s.appendLeft(t.end+o,`)),
|
|
${s?"":"__temp = "}await __temp,
|
|
__restore()${s?"":`,
|
|
__temp`}
|
|
)`)}var OO=Object.defineProperty,LO=Object.defineProperties,RO=Object.getOwnPropertyDescriptors,Qy=Object.getOwnPropertySymbols,MO=Object.prototype.hasOwnProperty,DO=Object.prototype.propertyIsEnumerable,Zy=(e,t,r)=>t in e?OO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,io=(e,t)=>{for(var r in t||(t={}))MO.call(t,r)&&Zy(e,r,t[r]);if(Qy)for(var r of Qy(t))DO.call(t,r)&&Zy(e,r,t[r]);return e},Uh=(e,t)=>LO(e,RO(t));const FO=[Jt,On,Jl,Xr,hi,Qc,wn];function BO(e,t){var r,s,i;t.id||_o("compileScript now requires passing the `id` option.\nUpgrade your vite or vue-loader version for compatibility with the latest experimental proposals.");const o=new UN(e,t),{script:a,scriptSetup:h,source:l,filename:f}=e,d=t.hoistStatic!==!1&&!a,g=t.id?t.id.replace(/^data-v-/,""):"",y=a&&a.lang,v=h&&h.lang;if(!h){if(!a)throw new Error("[@vue/compiler-sfc] SFC contains no <script> tags.");return YN(o,g)}if(a&&y!==v)throw new Error("[@vue/compiler-sfc] <script> and <script setup> must have the same language type.");if(v&&!o.isJS&&!o.isTS)return h;const w=Object.create(null),_=Object.create(null);let S,k=!1,E=!1;const P=o.startOffset,O=o.endOffset,A=a&&a.loc.start.offset,M=a&&a.loc.end.offset;function F(W){const K=W.start+P;let j=W.end+P;for(W.trailingComments&&W.trailingComments.length>0&&(j=W.trailingComments[W.trailingComments.length-1].end+P);j<=l.length&&/\s/.test(l.charAt(j));)j++;o.s.move(K,j,0)}function x(W,K,j,B,Z,U){let se=U;U&&o.isTS&&e.template&&!e.template.src&&!e.template.lang&&(se=f_(K,e)),o.userImports[K]={isType:B,imported:j,local:K,source:W,isFromSetup:Z,isUsedInTemplate:se}}function I(W,K){W&&Ai(W,j=>{const B=_[j.name];B&&B!=="literal-const"&&o.error(`\`${K}()\` in <script setup> cannot reference locally declared variables because it will be hoisted outside of the setup() function. If your component options require initialization in the module scope, use a separate normal <script> to export the options instead.`,j)})}const R=o.scriptAst,L=o.scriptSetupAst;if(R){for(const W of R.body)if(W.type==="ImportDeclaration")for(const K of W.specifiers){const j=Pp(K);x(W.source.value,K.local.name,j,W.importKind==="type"||K.type==="ImportSpecifier"&&K.importKind==="type",!1,!t.inlineTemplate)}}for(const W of L.body)if(W.type==="ImportDeclaration"){F(W);let K=0;const j=B=>{const Z=B>K;K++;const U=W.specifiers[B],se=W.specifiers[B+1];o.s.remove(Z?W.specifiers[B-1].end+P:U.start+P,se&&!Z?se.start+P:U.end+P)};for(let B=0;B<W.specifiers.length;B++){const Z=W.specifiers[B],U=Z.local.name,se=Pp(Z),ae=W.source.value,de=o.userImports[U];ae==="vue"&&FO.includes(se)?(U===se?_o(`\`${se}\` is a compiler macro and no longer needs to be imported.`):o.error(`\`${se}\` is a compiler macro and cannot be aliased to a different name.`,Z),j(B)):de?de.source===ae&&de.imported===se?j(B):o.error("different imports aliased to same local name.",Z):x(ae,U,se,W.importKind==="type"||Z.type==="ImportSpecifier"&&Z.importKind==="type",!0,!t.inlineTemplate)}W.specifiers.length&&K===W.specifiers.length&&o.s.remove(W.start+P,W.end+P)}const z={};for(const W in o.userImports){const{source:K,imported:j,local:B}=o.userImports[W];K==="vue"&&(z[j]=B)}if(a&&R){for(const W of R.body)if(W.type==="ExportDefaultDeclaration"){S=W;let K;if(S.declaration.type==="ObjectExpression"?K=S.declaration.properties:S.declaration.type==="CallExpression"&&S.declaration.arguments[0]&&S.declaration.arguments[0].type==="ObjectExpression"&&(K=S.declaration.arguments[0].properties),K)for(const Z of K)Z.type==="ObjectProperty"&&Z.key.type==="Identifier"&&Z.key.name==="name"&&(o.hasDefaultExportName=!0),(Z.type==="ObjectMethod"||Z.type==="ObjectProperty")&&Z.key.type==="Identifier"&&Z.key.name==="render"&&(o.hasDefaultExportRender=!0);const j=W.start+A,B=W.declaration.start+A;o.s.overwrite(j,B,`const ${oi} = `)}else if(W.type==="ExportNamedDeclaration"){const K=W.specifiers.find(j=>j.exported.type==="Identifier"&&j.exported.name==="default");K&&(S=W,W.specifiers.length>1?o.s.remove(K.start+A,K.end+A):o.s.remove(W.start+A,W.end+A),W.source?o.s.prepend(`import { ${K.local.name} as ${oi} } from '${W.source.value}'
|
|
`):o.s.appendLeft(M,`
|
|
const ${oi} = ${K.local.name}
|
|
`)),W.declaration&&qh("script",W.declaration,w,z,d)}else(W.type==="VariableDeclaration"||W.type==="FunctionDeclaration"||W.type==="ClassDeclaration"||W.type==="TSEnumDeclaration")&&!W.declare&&qh("script",W,w,z,d);A>P&&(/\n$/.test(a.content.trim())||o.s.appendLeft(M,`
|
|
`),o.s.move(A,M,0))}for(const W of L.body){if(W.type==="ExpressionStatement"){const j=kr(W.expression);if(Rp(o,j)||Xy(o,j)||Yy(o,j)||Ky(o,j))o.s.remove(W.start+P,W.end+P);else if(CO(o,j)){const B=j.callee;o.s.overwrite(B.start+P,B.end+P,"__expose")}else Hy(o,j)}if(W.type==="VariableDeclaration"&&!W.declare){const j=W.declarations.length;let B=j,Z;for(let U=0;U<j;U++){const se=W.declarations[U],ae=se.init&&kr(se.init);if(ae){Yy(o,ae)&&o.error(`${Xr}() has no returning value, it cannot be assigned.`,W);const de=Rp(o,ae,se.id);o.propsDestructureRestId&&(_[o.propsDestructureRestId]="setup-reactive-const");const pe=!de&&Xy(o,ae,se.id);if(!pe&&(Ky(o,ae,se.id)||Hy(o,ae,se.id)),de&&!o.propsDestructureRestId&&o.propsDestructureDecl)if(B===1)o.s.remove(W.start+P,W.end+P);else{let ve=se.start+P,xe=se.end+P;U===j-1?ve=W.declarations[Z].end+P:xe=W.declarations[U+1].start+P,o.s.remove(ve,xe),B--}else pe?o.s.overwrite(P+ae.start,P+ae.end,"__emit"):Z=U}}}let K=!1;if((W.type==="VariableDeclaration"||W.type==="FunctionDeclaration"||W.type==="ClassDeclaration"||W.type==="TSEnumDeclaration")&&!W.declare&&(K=qh("scriptSetup",W,_,z,d,!!o.propsDestructureDecl)),d&&K&&F(W),W.type==="VariableDeclaration"&&!W.declare||W.type.endsWith("Statement")){const j=[L.body];xc(W,{enter(B,Z){if(Xs(B)&&this.skip(),B.type==="BlockStatement"&&j.push(B.body),B.type==="AwaitExpression"){k=!0;const se=j[j.length-1].some((ae,de)=>(j.length===1||de>0)&&ae.type==="ExpressionStatement"&&ae.start===B.start);NO(o,B,se,Z.type==="ExpressionStatement")}},exit(B){B.type==="BlockStatement"&&j.pop()}})}(W.type==="ExportNamedDeclaration"&&W.exportKind!=="type"||W.type==="ExportAllDeclaration"||W.type==="ExportDefaultDeclaration")&&o.error("<script setup> cannot contain ES module exports. If you are using a previous version of <script setup>, please consult the updated RFC at https://github.com/vuejs/rfcs/pull/227.",W),o.isTS&&(W.type.startsWith("TS")||W.type==="ExportNamedDeclaration"&&W.exportKind==="type"||W.type==="VariableDeclaration"&&W.declare)&&W.type!=="TSEnumDeclaration"&&F(W)}o.propsDestructureDecl&&AO(o,z),I(o.propsRuntimeDecl,Jt),I(o.propsRuntimeDefaults,Jt),I(o.propsDestructureDecl,Jt),I(o.emitsRuntimeDecl,On),I(o.optionsRuntimeDecl,Xr);for(const{runtimeOptionNodes:W}of Object.values(o.modelDecls))for(const K of W)I(K,Qc);a?P<A?(o.s.remove(0,P),o.s.remove(O,A),o.s.remove(M,l.length)):(o.s.remove(0,A),o.s.remove(M,P),o.s.remove(O,l.length)):(o.s.remove(0,P),o.s.remove(O,l.length)),R&&Object.assign(o.bindingMetadata,pb(R.body));for(const[W,{isType:K,imported:j,source:B}]of Object.entries(o.userImports))K||(o.bindingMetadata[W]=j==="*"||j==="default"&&B.endsWith(".vue")||B==="vue"?"setup-const":"setup-maybe-ref");for(const W in w)o.bindingMetadata[W]=w[W];for(const W in _)o.bindingMetadata[W]=_[W];e.cssVars.length&&!((r=t.templateOptions)!=null&&r.ssr)&&(o.helperImports.add(Nl),o.helperImports.add("unref"),o.s.prependLeft(P,`
|
|
${a_(e.cssVars,o.bindingMetadata,g,!!t.isProd)}
|
|
`));let J="__props";if(o.propsTypeDecl&&(J+=": any"),o.propsDecl&&(o.propsDestructureRestId?(o.s.overwrite(P+o.propsCall.start,P+o.propsCall.end,`${o.helper("createPropsRestProxy")}(__props, ${JSON.stringify(Object.keys(o.propsDestructuredBindings))})`),o.s.overwrite(P+o.propsDestructureDecl.start,P+o.propsDestructureDecl.end,o.propsDestructureRestId)):o.propsDestructureDecl||o.s.overwrite(P+o.propsCall.start,P+o.propsCall.end,"__props")),k){const W=o.isTS?": any":"";o.s.prependLeft(P,`
|
|
let __temp${W}, __restore${W}
|
|
`)}const re=o.hasDefineExposeCall||!t.inlineTemplate?["expose: __expose"]:[];o.emitDecl&&re.push("emit: __emit"),re.length&&(J+=`, { ${re.join(", ")} }`);let V;if(!t.inlineTemplate||!e.template&&o.hasDefaultExportRender){const W=io(io({},w),_);for(const K in o.userImports)!o.userImports[K].isType&&o.userImports[K].isUsedInTemplate&&(W[K]=!0);V="{ ";for(const K in W)if(W[K]===!0&&o.userImports[K].source!=="vue"&&!o.userImports[K].source.endsWith(".vue"))V+=`get ${K}() { return ${K} }, `;else if(o.bindingMetadata[K]==="setup-let"){const j=K==="v"?"_v":"v";V+=`get ${K}() { return ${K} }, set ${K}(${j}) { ${K} = ${j} }, `}else V+=`${K}, `;V=V.replace(/, $/,"")+" }"}else if(e.template&&!e.template.src){t.templateOptions&&t.templateOptions.ssr&&(E=!0);const{code:W,ast:K,preamble:j,tips:B,errors:Z}=Pw(Uh(io({filename:f,ast:e.template.ast,source:e.template.content,inMap:e.template.map},t.templateOptions),{id:g,scoped:e.styles.some(se=>se.scoped),isProd:t.isProd,ssrCssVars:e.cssVars,compilerOptions:Uh(io({},t.templateOptions&&t.templateOptions.compilerOptions),{inline:!0,isTS:o.isTS,bindingMetadata:o.bindingMetadata})}));B.length&&B.forEach(_o);const U=Z[0];if(typeof U=="string")throw new Error(U);if(U)throw U.loc&&(U.message+=`
|
|
|
|
`+e.filename+`
|
|
`+Ti(l,U.loc.start.offset,U.loc.end.offset)+`
|
|
`),U;j&&o.s.prepend(j),K&&K.helpers.has(yi)&&o.helperImports.delete("unref"),V=W}else V="() => {}";t.inlineTemplate?o.s.appendRight(O,`
|
|
return ${V}
|
|
}
|
|
|
|
`):o.s.appendRight(O,`
|
|
const __returned__ = ${V}
|
|
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })
|
|
return __returned__
|
|
}
|
|
|
|
`);const ee=t.genDefaultAs?`const ${t.genDefaultAs} =`:"export default";let G="";if(!o.hasDefaultExportName&&f&&f!==d_){const W=f.match(/([^/\\]+)\.\w+$/);W&&(G+=`
|
|
__name: '${W[1]}',`)}E&&(G+=`
|
|
__ssrInlineRender: true,`);const Q=bO(o);Q&&(G+=`
|
|
props: ${Q},`);const ie=IO(o);ie&&(G+=`
|
|
emits: ${ie},`);let ce="";o.optionsRuntimeDecl&&(ce=h.content.slice(o.optionsRuntimeDecl.start,o.optionsRuntimeDecl.end).trim());const ne=o.hasDefineExposeCall||t.inlineTemplate?"":` __expose();
|
|
`;if(o.isTS){const W=(S?`
|
|
...${oi},`:"")+(ce?`
|
|
...${ce},`:"");o.s.prependLeft(P,`
|
|
${ee} /*@__PURE__*/${o.helper("defineComponent")}({${W}${G}
|
|
${k?"async ":""}setup(${J}) {
|
|
${ne}`),o.s.appendRight(O,"})")}else S||ce?(o.s.prependLeft(P,`
|
|
${ee} /*@__PURE__*/Object.assign(${S?`${oi}, `:""}${ce?`${ce}, `:""}{${G}
|
|
${k?"async ":""}setup(${J}) {
|
|
${ne}`),o.s.appendRight(O,"})")):(o.s.prependLeft(P,`
|
|
${ee} {${G}
|
|
${k?"async ":""}setup(${J}) {
|
|
${ne}`),o.s.appendRight(O,"}"));if(o.helperImports.size>0){const W=(i=(s=t.templateOptions)==null?void 0:s.compilerOptions)==null?void 0:i.runtimeModuleName,K=W?JSON.stringify(W):"'vue'";o.s.prepend(`import { ${[...o.helperImports].map(j=>`${j} as _${j}`).join(", ")} } from ${K}
|
|
`)}return Uh(io({},h),{bindings:o.bindingMetadata,imports:o.userImports,content:o.s.toString(),map:t.sourceMap!==!1?o.s.generateMap({source:f,hires:!0,includeContent:!0}):void 0,scriptAst:R==null?void 0:R.body,scriptSetupAst:L==null?void 0:L.body,deps:o.deps?[...o.deps]:void 0})}function pi(e,t,r){e[t.name]=r}function qh(e,t,r,s,i,o=!1){let a=!1;if(t.type==="VariableDeclaration"){const h=t.kind==="const";a=h&&t.declarations.every(l=>l.id.type==="Identifier"&&Dr(l.init));for(const{id:l,init:f}of t.declarations){const d=f&&kr(f),g=h&&ir(d,y=>y===Jt||y===On||y===wn||y===hi);if(l.type==="Identifier"){let y;const v=s.reactive;(i||e==="script")&&(a||h&&Dr(d))?y="literal-const":ir(d,v)?y=h?"setup-reactive-const":"setup-let":g||h&&kb(d,v)?y=ir(d,Jt)?"setup-reactive-const":"setup-const":h?ir(d,w=>w===s.ref||w===s.computed||w===s.shallowRef||w===s.customRef||w===s.toRef||w===Qc)?y="setup-ref":y="setup-maybe-ref":y="setup-let",pi(r,l,y)}else{if(ir(d,Jt)&&o)continue;l.type==="ObjectPattern"?Tb(l,r,h,g):l.type==="ArrayPattern"&&xb(l,r,h,g)}}}else t.type==="TSEnumDeclaration"?(a=t.members.every(h=>!h.initializer||Dr(h.initializer)),r[t.id.name]=a?"literal-const":"setup-const"):(t.type==="FunctionDeclaration"||t.type==="ClassDeclaration")&&(r[t.id.name]="setup-const");return a}function Tb(e,t,r,s=!1){for(const i of e.properties)if(i.type==="ObjectProperty")if(i.key.type==="Identifier"&&i.key===i.value){const o=s?"setup-const":r?"setup-maybe-ref":"setup-let";pi(t,i.key,o)}else L1(i.value,t,r,s);else{const o=r?"setup-const":"setup-let";pi(t,i.argument,o)}}function xb(e,t,r,s=!1){for(const i of e.elements)i&&L1(i,t,r,s)}function L1(e,t,r,s=!1){if(e.type==="Identifier")pi(t,e,s?"setup-const":r?"setup-maybe-ref":"setup-let");else if(e.type==="RestElement"){const i=r?"setup-const":"setup-let";pi(t,e.argument,i)}else if(e.type==="ObjectPattern")Tb(e,t,r);else if(e.type==="ArrayPattern")xb(e,t,r);else if(e.type==="AssignmentPattern")if(e.left.type==="Identifier"){const i=s?"setup-const":r?"setup-maybe-ref":"setup-let";pi(t,e.left,i)}else L1(e.left,t,r)}function kb(e,t){if(ir(e,t))return!0;switch(e.type){case"UnaryExpression":case"BinaryExpression":case"ArrayExpression":case"ObjectExpression":case"FunctionExpression":case"ArrowFunctionExpression":case"UpdateExpression":case"ClassExpression":case"TaggedTemplateExpression":return!0;case"SequenceExpression":return kb(e.expressions[e.expressions.length-1],t);default:return!!ub(e)}}function Dr(e){switch(e=kr(e),e.type){case"UnaryExpression":return Dr(e.argument);case"LogicalExpression":case"BinaryExpression":return Dr(e.left)&&Dr(e.right);case"ConditionalExpression":return Dr(e.test)&&Dr(e.consequent)&&Dr(e.alternate);case"SequenceExpression":case"TemplateLiteral":return e.expressions.every(t=>Dr(t));case"ParenthesizedExpression":return Dr(e.expression);case"StringLiteral":case"NumericLiteral":case"BooleanLiteral":case"NullLiteral":case"BigIntLiteral":return!0}return!1}var $O=Object.defineProperty,ev=Object.getOwnPropertySymbols,jO=Object.prototype.hasOwnProperty,UO=Object.prototype.propertyIsEnumerable,tv=(e,t,r)=>t in e?$O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,rv=(e,t)=>{for(var r in t||(t={}))jO.call(t,r)&&tv(e,r,t[r]);if(ev)for(var r of ev(t))UO.call(t,r)&&tv(e,r,t[r]);return e};const qO="3.5.13",VO=fp,WO=rv(rv({},pf),jf),Pb=xc,GO=()=>!1;var Ab=$r.parse;const sv=Object.freeze(Object.defineProperty({__proto__:null,MagicString:Gn,babelParse:Ab,compileScript:BO,compileStyle:SN,compileStyleAsync:_N,compileTemplate:Pw,errorMessages:WO,extractIdentifiers:wr,extractRuntimeEmits:Eb,extractRuntimeProps:wb,generateCodeFrame:Ti,inferRuntimeType:Gt,invalidateTypeCache:pO,isInDestructureAssignment:Ii,isStaticProperty:Ci,parse:m_,parseCache:VO,registerTS:cO,resolveTypeElements:zt,rewriteDefault:qN,rewriteDefaultAST:x1,shouldTransformRef:GO,version:qO,walk:Pb,walkIdentifiers:Ai},Symbol.toStringTag,{value:"Module"}));var jr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const HO=nn({__name:"SplitPane",props:{layout:{}},setup(e){const t=e,r=os(()=>t.layout==="vertical"),s=Go("container"),i=fi(qv),{store:o,splitPaneOptions:a}=fi(Ei),h=Dv({dragging:!1,split:50,viewHeight:0,viewWidth:0}),l=os(()=>{const{split:_}=h;return _<20?20:_>80?80:_});let f=0,d=0;function g(_){h.dragging=!0,f=r.value?_.pageY:_.pageX,d=l.value,w()}function y(_){if(s.value&&h.dragging){const S=r.value?_.pageY:_.pageX,k=r.value?s.value.offsetHeight:s.value.offsetWidth,E=S-f;h.split=d+ +(E/k*100).toFixed(2),w()}}function v(){h.dragging=!1}function w(){const _=i.value;_&&(h.viewHeight=_.offsetHeight,h.viewWidth=_.offsetWidth)}return(_,S)=>{var k,E;return At(),Ht("div",{ref:"container",class:Kr(["split-pane",{dragging:h.dragging,"show-output":Ge(o).showOutput,vertical:r.value}]),onMousemove:y,onMouseup:v,onMouseleave:v},[ft("div",{class:"left",style:Td({[r.value?"height":"width"]:l.value+"%"})},[Ed(_.$slots,"left",{},void 0,!0),ft("div",{class:"dragger",onMousedown:jv(g,["prevent"])},null,32)],4),ft("div",{class:"right",style:Td({[r.value?"height":"width"]:100-l.value+"%"})},[ic(ft("div",{class:"view-size"},Ln(`${h.viewWidth}px x ${h.viewHeight}px`),513),[[Kp,h.dragging]]),Ed(_.$slots,"right",{},void 0,!0)],4),ft("button",{class:"toggler",onClick:S[0]||(S[0]=P=>Ge(o).showOutput=!Ge(o).showOutput)},Ln(Ge(o).showOutput?((k=Ge(a))==null?void 0:k.codeTogglerText)||"< Code":((E=Ge(a))==null?void 0:E.outputTogglerText)||"Output >"),1)],34)}}}),zn=(e,t)=>{const r=e.__vccOpts||e;for(const[s,i]of t)r[s]=i;return r},XO=zn(HO,[["__scopeId","data-v-a59bbead"]]),JO=nn({__name:"Message",props:{err:{type:[String,Error,Boolean]},warn:{}},setup(e){const t=e,r=Pt(!1);zs(()=>[t.err,t.warn],()=>{r.value=!1});function s(i){if(typeof i=="string")return i;{let o=i.message;const a=i.loc;return a&&a.start&&(o=`(${a.start.line}:${a.start.column}) `+o),o}}return(i,o)=>(At(),ko(RT,{name:"fade"},{default:Kh(()=>[!r.value&&(i.err||i.warn)?(At(),Ht("div",{key:0,class:Kr(["msg",i.err?"err":"warn"])},[ft("pre",null,Ln(s(i.err||i.warn)),1),ft("button",{class:"dismiss",onClick:o[0]||(o[0]=a=>r.value=!0)},"✕")],2)):Yr("",!0)]),_:1}))}}),Mp=zn(JO,[["__scopeId","data-v-024df844"]]),KO=`<!doctype html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
html.dark {
|
|
color-scheme: dark;
|
|
}
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
}
|
|
</style>
|
|
<!-- PREVIEW-OPTIONS-HEAD-HTML -->
|
|
<script>
|
|
;(() => {
|
|
let scriptEls = []
|
|
|
|
window.process = { env: {} }
|
|
window.__modules__ = {}
|
|
|
|
window.__export__ = (mod, key, get) => {
|
|
Object.defineProperty(mod, key, {
|
|
enumerable: true,
|
|
configurable: true,
|
|
get,
|
|
})
|
|
}
|
|
|
|
window.__dynamic_import__ = (key) => {
|
|
return Promise.resolve(window.__modules__[key])
|
|
}
|
|
|
|
async function handle_message(ev) {
|
|
let { action, cmd_id } = ev.data
|
|
const send_message = (payload) =>
|
|
parent.postMessage({ ...payload }, ev.origin)
|
|
const send_reply = (payload) => send_message({ ...payload, cmd_id })
|
|
const send_ok = () => send_reply({ action: 'cmd_ok' })
|
|
const send_error = (message, stack) =>
|
|
send_reply({ action: 'cmd_error', message, stack })
|
|
|
|
if (action === 'eval') {
|
|
try {
|
|
if (scriptEls.length) {
|
|
scriptEls.forEach((el) => {
|
|
document.head.removeChild(el)
|
|
})
|
|
scriptEls.length = 0
|
|
}
|
|
|
|
let { script: scripts } = ev.data.args
|
|
if (typeof scripts === 'string') scripts = [scripts]
|
|
|
|
for (const script of scripts) {
|
|
const scriptEl = document.createElement('script')
|
|
scriptEl.setAttribute('type', 'module')
|
|
// send ok in the module script to ensure sequential evaluation
|
|
// of multiple proxy.eval() calls
|
|
const done = new Promise((resolve) => {
|
|
window.__next__ = resolve
|
|
})
|
|
scriptEl.innerHTML = script + \`\\nwindow.__next__()\`
|
|
document.head.appendChild(scriptEl)
|
|
scriptEl.onerror = (err) => send_error(err.message, err.stack)
|
|
scriptEls.push(scriptEl)
|
|
await done
|
|
}
|
|
send_ok()
|
|
} catch (e) {
|
|
send_error(e.message, e.stack)
|
|
}
|
|
}
|
|
|
|
if (action === 'catch_clicks') {
|
|
try {
|
|
const top_origin = ev.origin
|
|
document.body.addEventListener('click', (event) => {
|
|
if (event.which !== 1) return
|
|
if (event.metaKey || event.ctrlKey || event.shiftKey) return
|
|
if (event.defaultPrevented) return
|
|
|
|
// ensure target is a link
|
|
let el = event.target
|
|
while (el && el.nodeName !== 'A') el = el.parentNode
|
|
if (!el || el.nodeName !== 'A') return
|
|
|
|
if (
|
|
el.hasAttribute('download') ||
|
|
el.getAttribute('rel') === 'external' ||
|
|
el.target ||
|
|
el.href.startsWith('javascript:') ||
|
|
!el.href
|
|
)
|
|
return
|
|
|
|
event.preventDefault()
|
|
|
|
if (el.href.startsWith(top_origin)) {
|
|
const url = new URL(el.href)
|
|
if (url.hash[0] === '#') {
|
|
window.location.hash = url.hash
|
|
return
|
|
}
|
|
}
|
|
|
|
window.open(el.href, '_blank')
|
|
})
|
|
send_ok()
|
|
} catch (e) {
|
|
send_error(e.message, e.stack)
|
|
}
|
|
}
|
|
}
|
|
|
|
window.addEventListener('message', handle_message, false)
|
|
|
|
window.onerror = function (msg, url, lineNo, columnNo, error) {
|
|
// ignore errors from import map polyfill - these are necessary for
|
|
// it to detect browser support
|
|
if (msg.includes('module specifier “vue”')) {
|
|
// firefox only error, ignore
|
|
return false
|
|
}
|
|
if (msg.includes("Module specifier, 'vue")) {
|
|
// Safari only
|
|
return false
|
|
}
|
|
try {
|
|
parent.postMessage({ action: 'error', value: error }, '*')
|
|
} catch (e) {
|
|
parent.postMessage({ action: 'error', value: msg }, '*')
|
|
}
|
|
}
|
|
|
|
window.addEventListener('unhandledrejection', (event) => {
|
|
if (
|
|
event.reason.message &&
|
|
event.reason.message.includes('Cross-origin')
|
|
) {
|
|
event.preventDefault()
|
|
return
|
|
}
|
|
try {
|
|
parent.postMessage(
|
|
{ action: 'unhandledrejection', value: event.reason },
|
|
'*',
|
|
)
|
|
} catch (e) {
|
|
parent.postMessage(
|
|
{ action: 'unhandledrejection', value: event.reason.message },
|
|
'*',
|
|
)
|
|
}
|
|
})
|
|
|
|
let previous = { level: null, args: null }
|
|
|
|
;['clear', 'log', 'info', 'dir', 'warn', 'error', 'table'].forEach(
|
|
(level) => {
|
|
const original = console[level]
|
|
console[level] = (...args) => {
|
|
const msg = args[0]
|
|
if (typeof msg === 'string') {
|
|
if (
|
|
msg.includes('You are running a development build of Vue') ||
|
|
msg.includes('You are running the esm-bundler build of Vue')
|
|
) {
|
|
return
|
|
}
|
|
}
|
|
|
|
original(...args)
|
|
|
|
const stringifiedArgs = stringify(args)
|
|
if (
|
|
previous.level === level &&
|
|
previous.args &&
|
|
previous.args === stringifiedArgs
|
|
) {
|
|
parent.postMessage(
|
|
{ action: 'console', level, duplicate: true },
|
|
'*',
|
|
)
|
|
} else {
|
|
previous = { level, args: stringifiedArgs }
|
|
|
|
try {
|
|
parent.postMessage({ action: 'console', level, args }, '*')
|
|
} catch (err) {
|
|
parent.postMessage(
|
|
{ action: 'console', level, args: args.map(toString) },
|
|
'*',
|
|
)
|
|
}
|
|
}
|
|
}
|
|
},
|
|
)
|
|
;[
|
|
{ method: 'group', action: 'console_group' },
|
|
{ method: 'groupEnd', action: 'console_group_end' },
|
|
{ method: 'groupCollapsed', action: 'console_group_collapsed' },
|
|
].forEach((group_action) => {
|
|
const original = console[group_action.method]
|
|
console[group_action.method] = (label) => {
|
|
parent.postMessage({ action: group_action.action, label }, '*')
|
|
|
|
original(label)
|
|
}
|
|
})
|
|
|
|
const timers = new Map()
|
|
const original_time = console.time
|
|
const original_timelog = console.timeLog
|
|
const original_timeend = console.timeEnd
|
|
|
|
console.time = (label = 'default') => {
|
|
original_time(label)
|
|
timers.set(label, performance.now())
|
|
}
|
|
console.timeLog = (label = 'default') => {
|
|
original_timelog(label)
|
|
const now = performance.now()
|
|
if (timers.has(label)) {
|
|
parent.postMessage(
|
|
{
|
|
action: 'console',
|
|
level: 'system-log',
|
|
args: [\`\${label}: \${now - timers.get(label)}ms\`],
|
|
},
|
|
'*',
|
|
)
|
|
} else {
|
|
parent.postMessage(
|
|
{
|
|
action: 'console',
|
|
level: 'system-warn',
|
|
args: [\`Timer '\${label}' does not exist\`],
|
|
},
|
|
'*',
|
|
)
|
|
}
|
|
}
|
|
console.timeEnd = (label = 'default') => {
|
|
original_timeend(label)
|
|
const now = performance.now()
|
|
if (timers.has(label)) {
|
|
parent.postMessage(
|
|
{
|
|
action: 'console',
|
|
level: 'system-log',
|
|
args: [\`\${label}: \${now - timers.get(label)}ms\`],
|
|
},
|
|
'*',
|
|
)
|
|
} else {
|
|
parent.postMessage(
|
|
{
|
|
action: 'console',
|
|
level: 'system-warn',
|
|
args: [\`Timer '\${label}' does not exist\`],
|
|
},
|
|
'*',
|
|
)
|
|
}
|
|
timers.delete(label)
|
|
}
|
|
|
|
const original_assert = console.assert
|
|
console.assert = (condition, ...args) => {
|
|
if (condition) {
|
|
const stack = new Error().stack
|
|
parent.postMessage(
|
|
{ action: 'console', level: 'assert', args, stack },
|
|
'*',
|
|
)
|
|
}
|
|
original_assert(condition, ...args)
|
|
}
|
|
|
|
const counter = new Map()
|
|
const original_count = console.count
|
|
const original_countreset = console.countReset
|
|
|
|
console.count = (label = 'default') => {
|
|
counter.set(label, (counter.get(label) || 0) + 1)
|
|
parent.postMessage(
|
|
{
|
|
action: 'console',
|
|
level: 'system-log',
|
|
args: \`\${label}: \${counter.get(label)}\`,
|
|
},
|
|
'*',
|
|
)
|
|
original_count(label)
|
|
}
|
|
|
|
console.countReset = (label = 'default') => {
|
|
if (counter.has(label)) {
|
|
counter.set(label, 0)
|
|
} else {
|
|
parent.postMessage(
|
|
{
|
|
action: 'console',
|
|
level: 'system-warn',
|
|
args: \`Count for '\${label}' does not exist\`,
|
|
},
|
|
'*',
|
|
)
|
|
}
|
|
original_countreset(label)
|
|
}
|
|
|
|
const original_trace = console.trace
|
|
|
|
console.trace = (...args) => {
|
|
const stack = new Error().stack
|
|
parent.postMessage(
|
|
{ action: 'console', level: 'trace', args, stack },
|
|
'*',
|
|
)
|
|
original_trace(...args)
|
|
}
|
|
|
|
function toString(value) {
|
|
if (value instanceof Error) {
|
|
return value.message
|
|
}
|
|
for (const fn of [
|
|
String,
|
|
(v) => Object.prototype.toString.call(v),
|
|
(v) => typeof v,
|
|
]) {
|
|
try {
|
|
return fn(value)
|
|
} catch (err) {}
|
|
}
|
|
}
|
|
|
|
function isComponentProxy(value) {
|
|
return (
|
|
value &&
|
|
typeof value === 'object' &&
|
|
value.__v_skip === true &&
|
|
typeof value.$nextTick === 'function' &&
|
|
value.$ &&
|
|
value._
|
|
)
|
|
}
|
|
|
|
function stringify(args) {
|
|
try {
|
|
return JSON.stringify(args, (key, value) => {
|
|
return isComponentProxy(value) ? '{component proxy}' : value
|
|
})
|
|
} catch (error) {
|
|
return null
|
|
}
|
|
}
|
|
})()
|
|
<\/script>
|
|
|
|
<!-- ES Module Shims: Import maps polyfill for modules browsers without import maps support (all except Chrome 89+) -->
|
|
<script
|
|
async
|
|
src="/web/cdn/es-module-shims.wasm.js"
|
|
><\/script>
|
|
<script type="importmap">
|
|
<!--IMPORT_MAP-->
|
|
<\/script>
|
|
</head>
|
|
<body>
|
|
<!--PREVIEW-OPTIONS-PLACEHOLDER-HTML-->
|
|
</body>
|
|
</html>
|
|
`;let YO=1;class QO{constructor(t,r){this.iframe=t,this.handlers=r,this.pending_cmds=new Map,this.handle_event=s=>this.handle_repl_message(s),window.addEventListener("message",this.handle_event,!1)}destroy(){window.removeEventListener("message",this.handle_event)}iframe_command(t,r){return new Promise((s,i)=>{const o=YO++;this.pending_cmds.set(o,{resolve:s,reject:i}),this.iframe.contentWindow.postMessage({action:t,cmd_id:o,args:r},"*")})}handle_command_message(t){let r=t.action,s=t.cmd_id,i=this.pending_cmds.get(s);if(i){if(this.pending_cmds.delete(s),r==="cmd_error"){let{message:o,stack:a}=t,h=new Error(o);h.stack=a,i.reject(h)}r==="cmd_ok"&&i.resolve(t.args)}else r!=="cmd_error"&&r!=="cmd_ok"&&console.error("command not found",s,t,[...this.pending_cmds.keys()])}handle_repl_message(t){if(t.source!==this.iframe.contentWindow)return;const{action:r,args:s}=t.data;switch(r){case"cmd_error":case"cmd_ok":return this.handle_command_message(t.data);case"fetch_progress":return this.handlers.on_fetch_progress(s.remaining);case"error":return this.handlers.on_error(t.data);case"unhandledrejection":return this.handlers.on_unhandled_rejection(t.data);case"console":return this.handlers.on_console(t.data);case"console_group":return this.handlers.on_console_group(t.data);case"console_group_collapsed":return this.handlers.on_console_group_collapsed(t.data);case"console_group_end":return this.handlers.on_console_group_end(t.data)}}eval(t){return this.iframe_command("eval",{script:t})}handle_links(){return this.iframe_command("catch_clicks",{})}}function nv(e,t=!1){const r=new Set,s=[];if(Dp(e,e.files[e.mainFile],s,r,t),!t){for(const i in e.files)if(i.endsWith(".css")){const o=e.files[i];r.has(o)||s.push(`
|
|
window.__css__.push(${JSON.stringify(o.compiled.css)})`)}}return s}const iv="__modules__",Vh="__export__",ZO="__dynamic_import__",oo="__module__";function Dp(e,t,r,s,i){if(s.has(t))return[];if(s.add(t),!i&&t.filename.endsWith(".html"))return rL(e,t.code,t.filename,r,s);let{code:o,importedFiles:a,hasDynamicImport:h}=Cb(e,i?t.compiled.ssr:t.compiled.js,t.filename);Ib(e,a,h,r,s,i),t.compiled.css&&!i&&(o+=`
|
|
window.__css__.push(${JSON.stringify(t.compiled.css)})`),r.push(o)}function Ib(e,t,r,s,i,o){if(r)for(const a of Object.values(e.files))i.has(a)||Dp(e,a,s,i,o);else if(t.size>0)for(const a of t)Dp(e,e.files[a],s,i,o)}function Cb(e,t,r){const s=new Gn(t),i=Ab(t,{sourceFilename:r,sourceType:"module"}).program.body,o=new Map,a=new Set,h=new Set,l=new Map;function f(v){const w=e.files;let _=v;return w[_]||w[_=v+".ts"]||w[_=v+".js"]?_:void 0}function d(v,w){const _=f(w.replace(/^\.\/+/,"src/"));if(!_)throw new Error(`File "${w}" does not exist.`);if(h.has(_))return l.get(_);h.add(_);const S=`__import_${h.size}__`;return l.set(_,S),s.appendLeft(v.start,`const ${S} = ${iv}[${JSON.stringify(_)}]
|
|
`),S}function g(v,w=v){s.append(`
|
|
${Vh}(${oo}, "${v}", () => ${w})`)}s.prepend(`const ${oo} = ${iv}[${JSON.stringify(r)}] = { [Symbol.toStringTag]: "Module" }
|
|
|
|
`);for(const v of i)if(v.type==="ImportDeclaration"&&v.source.value.startsWith("./")){const _=d(v,v.source.value);for(const S of v.specifiers)S.type==="ImportSpecifier"?o.set(S.local.name,`${_}.${S.imported.name}`):S.type==="ImportDefaultSpecifier"?o.set(S.local.name,`${_}.default`):o.set(S.local.name,_);s.remove(v.start,v.end)}for(const v of i){if(v.type==="ExportNamedDeclaration")if(v.declaration){if(v.declaration.type==="FunctionDeclaration"||v.declaration.type==="ClassDeclaration")g(v.declaration.id.name);else if(v.declaration.type==="VariableDeclaration")for(const w of v.declaration.declarations)for(const _ of wr(w.id))g(_.name);s.remove(v.start,v.declaration.start)}else if(v.source){const w=d(v,v.source.value);for(const _ of v.specifiers)g(_.exported.name,`${w}.${_.local.name}`);s.remove(v.start,v.end)}else{for(const w of v.specifiers){const _=w.local.name,S=o.get(_);g(w.exported.name,S||_)}s.remove(v.start,v.end)}if(v.type==="ExportDefaultDeclaration")if("id"in v.declaration&&v.declaration.id){const{name:w}=v.declaration.id;s.remove(v.start,v.start+15),s.append(`
|
|
${Vh}(${oo}, "default", () => ${w})`)}else s.overwrite(v.start,v.start+14,`${oo}.default =`);if(v.type==="ExportAllDeclaration"){const w=d(v,v.source.value);s.remove(v.start,v.end),s.append(`
|
|
for (const key in ${w}) {
|
|
if (key !== 'default') {
|
|
${Vh}(${oo}, key, () => ${w}[key])
|
|
}
|
|
}`)}}for(const v of i)v.type!=="ImportDeclaration"&&Ai(v,(w,_,S)=>{const k=o.get(w.name);if(k)if(_&&Ci(_)&&_.shorthand)(!_.inPattern||Ii(_,S))&&s.appendLeft(w.end,`: ${k}`);else if(_&&_.type==="ClassDeclaration"&&w===_.superClass){if(!a.has(w.name)){a.add(w.name);const E=S[1];s.prependRight(E.start,`const ${w.name} = ${k};
|
|
`)}}else s.overwrite(w.start,w.end,k)});let y=!1;return Pb(i,{enter(v,w){if(v.type==="Import"&&w.type==="CallExpression"){const _=w.arguments[0];_.type==="StringLiteral"&&_.value.startsWith("./")&&(y=!0,s.overwrite(v.start,v.start+6,ZO),s.overwrite(_.start,_.end,JSON.stringify(_.value.replace(/^\.\/+/,"src/"))))}}}),{code:s.toString(),importedFiles:h,hasDynamicImport:y}}const eL=/<script\b(?:\s[^>]*>|>)([^]*?)<\/script>/gi,tL=/<script\b[^>]*type\s*=\s*(?:"module"|'module')[^>]*>([^]*?)<\/script>/gi;function rL(e,t,r,s,i){const o=[];let a="";const h=t.replace(tL,(l,f)=>{const{code:d,importedFiles:g,hasDynamicImport:y}=Cb(e,f,r);return Ib(e,g,y,o,i,!1),a+=`
|
|
`+d,""}).replace(eL,(l,f)=>(a+=`
|
|
`+f,""));s.push(`document.body.innerHTML = ${JSON.stringify(h)}`),s.push(...o),s.push(a)}const sL=nn({__name:"Preview",props:{show:{type:Boolean},ssr:{type:Boolean}},setup(e,{expose:t}){const r=e,{store:s,clearConsole:i,theme:o,previewTheme:a,previewOptions:h}=fi(Ei),l=Go("container"),f=Pt(),d=Pt();let g,y,v;MT(_),zs(()=>s.value.getImportMap(),()=>{try{_()}catch(E){s.value.errors=[E];return}});function w(){var P;if(!a.value)return;const E=(P=g.contentDocument)==null?void 0:P.documentElement;E?E.className=o.value:_()}zs([o,a],w),DT(()=>{y.destroy(),v&&v()});function _(){var O,A,M,F;g&&(y.destroy(),v&&v(),(O=l.value)==null||O.removeChild(g)),g=document.createElement("iframe"),g.setAttribute("sandbox",["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts","allow-top-navigation-by-user-activation"].join(" "));const E=s.value.getImportMap(),P=KO.replace(/<html>/,`<html class="${a.value?o.value:""}">`).replace(/<!--IMPORT_MAP-->/,JSON.stringify(E)).replace(/<!-- PREVIEW-OPTIONS-HEAD-HTML -->/,((A=h.value)==null?void 0:A.headHTML)||"").replace(/<!--PREVIEW-OPTIONS-PLACEHOLDER-HTML-->/,((M=h.value)==null?void 0:M.placeholderHTML)||"");g.srcdoc=P,(F=l.value)==null||F.appendChild(g),y=new QO(g,{on_fetch_progress:x=>{},on_error:x=>{const I=x.value instanceof Error?x.value.message:x.value;I.includes("Failed to resolve module specifier")||I.includes("Error resolving module specifier")?f.value=I.replace(/\. Relative references must.*$/,"")+`.
|
|
Tip: edit the "Import Map" tab to specify import paths for dependencies.`:f.value=x.value},on_unhandled_rejection:x=>{let I=x.value;typeof I=="string"&&(I={message:I}),f.value="Uncaught (in promise): "+I.message},on_console:x=>{x.duplicate||(x.level==="error"?x.args[0]instanceof Error?f.value=x.args[0].message:f.value=x.args[0]:x.level==="warn"&&x.args[0].toString().includes("[Vue warn]")&&(d.value=x.args.join("").replace(/\[Vue warn\]:/,"").trim()))},on_console_group:x=>{},on_console_group_end:()=>{},on_console_group_collapsed:x=>{}}),g.addEventListener("load",()=>{y.handle_links(),v=$v(S),w()})}async function S(){var P,O,A,M,F,x;i.value&&console.clear(),f.value=void 0,d.value=void 0;let E=r.ssr;if(s.value.vueVersion){const[I,R,L]=s.value.vueVersion.split(".").map(z=>parseInt(z,10));I===3&&(R<2||R===2&&L<27)&&(alert(`The selected version of Vue (${s.value.vueVersion}) does not support in-browser SSR. Rendering in client mode instead.`),E=!1)}try{const{mainFile:I}=s.value;if(E&&I.endsWith(".vue")){const z=nv(s.value,!0);console.info(`[@vue/repl] successfully compiled ${z.length} modules for SSR.`),await y.eval(["const __modules__ = {};",...z,`import { renderToString as _renderToString } from 'vue/server-renderer'
|
|
import { createSSRApp as _createApp } from 'vue'
|
|
const AppComponent = __modules__["${I}"].default
|
|
AppComponent.name = 'Repl'
|
|
const app = _createApp(AppComponent)
|
|
if (!app.config.hasOwnProperty('unwrapInjectedRef')) {
|
|
app.config.unwrapInjectedRef = true
|
|
}
|
|
app.config.warnHandler = () => {}
|
|
window.__ssr_promise__ = _renderToString(app).then(html => {
|
|
document.body.innerHTML = '<div id="app">' + html + '</div>' + \`${((P=h.value)==null?void 0:P.bodyHTML)||""}\`
|
|
}).catch(err => {
|
|
console.error("SSR Error", err)
|
|
})
|
|
`])}const R=nv(s.value);console.info(`[@vue/repl] successfully compiled ${R.length} module${R.length>1?"s":""}.`);const L=["window.__modules__ = {};window.__css__ = [];if (window.__app__) window.__app__.unmount();"+(E?"":`document.body.innerHTML = '<div id="app"></div>' + \`${((O=h.value)==null?void 0:O.bodyHTML)||""}\``),...R,"document.querySelectorAll('style[css]').forEach(el => el.remove())\n document.head.insertAdjacentHTML('beforeend', window.__css__.map(s => `<style css>${s}</style>`).join('\\n'))"];I.endsWith(".vue")&&L.push(`import { ${E?"createSSRApp":"createApp"} as _createApp } from "vue"
|
|
${((M=(A=h.value)==null?void 0:A.customCode)==null?void 0:M.importCode)||""}
|
|
const _mount = () => {
|
|
const AppComponent = __modules__["${I}"].default
|
|
AppComponent.name = 'Repl'
|
|
const app = window.__app__ = _createApp(AppComponent)
|
|
if (!app.config.hasOwnProperty('unwrapInjectedRef')) {
|
|
app.config.unwrapInjectedRef = true
|
|
}
|
|
app.config.errorHandler = e => console.error(e)
|
|
${((x=(F=h.value)==null?void 0:F.customCode)==null?void 0:x.useCode)||""}
|
|
app.mount('#app')
|
|
}
|
|
if (window.__ssr_promise__) {
|
|
window.__ssr_promise__.then(_mount)
|
|
} else {
|
|
_mount()
|
|
}`),await y.eval(L)}catch(I){console.error(I),f.value=I.message}}function k(){var E;(E=g.contentWindow)==null||E.location.reload()}return t({reload:k,container:l}),(E,P)=>{var O,A;return At(),Ht(di,null,[ic(ft("div",{ref:"container",class:Kr(["iframe-container",{[Ge(o)]:Ge(a)}])},null,2),[[Kp,E.show]]),Ks(Mp,{err:(((O=Ge(h))==null?void 0:O.showRuntimeError)??!0)&&f.value},null,8,["err"]),!f.value&&(((A=Ge(h))==null?void 0:A.showRuntimeWarning)??!0)?(At(),ko(Mp,{key:0,warn:d.value},null,8,["warn"])):Yr("",!0)],64)}}}),nL=zn(sL,[["__scopeId","data-v-d0ce9d15"]]),iL={class:"tab-buttons"},oL=["onClick"],aL={class:"output-container"},lL=nn({__name:"Output",props:{editorComponent:{},showCompileOutput:{type:Boolean},ssr:{type:Boolean}},setup(e,{expose:t}){const r=e,{store:s}=fi(Ei),i=Go("preview"),o=os(()=>r.showCompileOutput?["preview","js","css","ssr"]:["preview"]),a=os({get:()=>o.value.includes(s.value.outputMode)?s.value.outputMode:"preview",set(l){o.value.includes(s.value.outputMode)&&(s.value.outputMode=l)}});function h(){var l;(l=i.value)==null||l.reload()}return t({reload:h,previewRef:i}),(l,f)=>(At(),Ht(di,null,[ft("div",iL,[(At(!0),Ht(di,null,Uv(o.value,d=>(At(),Ht("button",{key:d,class:Kr({active:a.value===d}),onClick:g=>a.value=d},[ft("span",null,Ln(d),1)],10,oL))),128))]),ft("div",aL,[Ks(nL,{ref:"preview",show:a.value==="preview",ssr:l.ssr},null,8,["show","ssr"]),a.value!=="preview"?(At(),ko(r.editorComponent,{key:0,readonly:"",filename:Ge(s).activeFile.filename,value:Ge(s).activeFile.compiled[a.value],mode:a.value},null,8,["filename","value","mode"])):Yr("",!0)])],64))}}),cL=zn(lL,[["__scopeId","data-v-5893ae30"]]);var H;(function(e){e[e.NONE=0]="NONE";const r=1;e[e._abstract=r]="_abstract";const s=r+1;e[e._accessor=s]="_accessor";const i=s+1;e[e._as=i]="_as";const o=i+1;e[e._assert=o]="_assert";const a=o+1;e[e._asserts=a]="_asserts";const h=a+1;e[e._async=h]="_async";const l=h+1;e[e._await=l]="_await";const f=l+1;e[e._checks=f]="_checks";const d=f+1;e[e._constructor=d]="_constructor";const g=d+1;e[e._declare=g]="_declare";const y=g+1;e[e._enum=y]="_enum";const v=y+1;e[e._exports=v]="_exports";const w=v+1;e[e._from=w]="_from";const _=w+1;e[e._get=_]="_get";const S=_+1;e[e._global=S]="_global";const k=S+1;e[e._implements=k]="_implements";const E=k+1;e[e._infer=E]="_infer";const P=E+1;e[e._interface=P]="_interface";const O=P+1;e[e._is=O]="_is";const A=O+1;e[e._keyof=A]="_keyof";const M=A+1;e[e._mixins=M]="_mixins";const F=M+1;e[e._module=F]="_module";const x=F+1;e[e._namespace=x]="_namespace";const I=x+1;e[e._of=I]="_of";const R=I+1;e[e._opaque=R]="_opaque";const L=R+1;e[e._out=L]="_out";const z=L+1;e[e._override=z]="_override";const J=z+1;e[e._private=J]="_private";const re=J+1;e[e._protected=re]="_protected";const V=re+1;e[e._proto=V]="_proto";const ee=V+1;e[e._public=ee]="_public";const G=ee+1;e[e._readonly=G]="_readonly";const Q=G+1;e[e._require=Q]="_require";const ie=Q+1;e[e._satisfies=ie]="_satisfies";const ce=ie+1;e[e._set=ce]="_set";const ne=ce+1;e[e._static=ne]="_static";const W=ne+1;e[e._symbol=W]="_symbol";const K=W+1;e[e._type=K]="_type";const j=K+1;e[e._unique=j]="_unique";const B=j+1;e[e._using=B]="_using"})(H||(H={}));var p;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";const r=16;e[e.IS_KEYWORD=r]="IS_KEYWORD";const s=32;e[e.IS_ASSIGN=s]="IS_ASSIGN";const i=64;e[e.IS_RIGHT_ASSOCIATIVE=i]="IS_RIGHT_ASSOCIATIVE";const o=128;e[e.IS_PREFIX=o]="IS_PREFIX";const a=256;e[e.IS_POSTFIX=a]="IS_POSTFIX";const h=512;e[e.IS_EXPRESSION_START=h]="IS_EXPRESSION_START";const l=512;e[e.num=l]="num";const f=1536;e[e.bigint=f]="bigint";const d=2560;e[e.decimal=d]="decimal";const g=3584;e[e.regexp=g]="regexp";const y=4608;e[e.string=y]="string";const v=5632;e[e.name=v]="name";const w=6144;e[e.eof=w]="eof";const _=7680;e[e.bracketL=_]="bracketL";const S=8192;e[e.bracketR=S]="bracketR";const k=9728;e[e.braceL=k]="braceL";const E=10752;e[e.braceBarL=E]="braceBarL";const P=11264;e[e.braceR=P]="braceR";const O=12288;e[e.braceBarR=O]="braceBarR";const A=13824;e[e.parenL=A]="parenL";const M=14336;e[e.parenR=M]="parenR";const F=15360;e[e.comma=F]="comma";const x=16384;e[e.semi=x]="semi";const I=17408;e[e.colon=I]="colon";const R=18432;e[e.doubleColon=R]="doubleColon";const L=19456;e[e.dot=L]="dot";const z=20480;e[e.question=z]="question";const J=21504;e[e.questionDot=J]="questionDot";const re=22528;e[e.arrow=re]="arrow";const V=23552;e[e.template=V]="template";const ee=24576;e[e.ellipsis=ee]="ellipsis";const G=25600;e[e.backQuote=G]="backQuote";const Q=27136;e[e.dollarBraceL=Q]="dollarBraceL";const ie=27648;e[e.at=ie]="at";const ce=29184;e[e.hash=ce]="hash";const ne=29728;e[e.eq=ne]="eq";const W=30752;e[e.assign=W]="assign";const K=32640;e[e.preIncDec=K]="preIncDec";const j=33664;e[e.postIncDec=j]="postIncDec";const B=34432;e[e.bang=B]="bang";const Z=35456;e[e.tilde=Z]="tilde";const U=35841;e[e.pipeline=U]="pipeline";const se=36866;e[e.nullishCoalescing=se]="nullishCoalescing";const ae=37890;e[e.logicalOR=ae]="logicalOR";const de=38915;e[e.logicalAND=de]="logicalAND";const pe=39940;e[e.bitwiseOR=pe]="bitwiseOR";const ve=40965;e[e.bitwiseXOR=ve]="bitwiseXOR";const xe=41990;e[e.bitwiseAND=xe]="bitwiseAND";const we=43015;e[e.equality=we]="equality";const De=44040;e[e.lessThan=De]="lessThan";const tt=45064;e[e.greaterThan=tt]="greaterThan";const qe=46088;e[e.relationalOrEqual=qe]="relationalOrEqual";const ze=47113;e[e.bitShiftL=ze]="bitShiftL";const Ve=48137;e[e.bitShiftR=Ve]="bitShiftR";const ht=49802;e[e.plus=ht]="plus";const xt=50826;e[e.minus=xt]="minus";const pt=51723;e[e.modulo=pt]="modulo";const oe=52235;e[e.star=oe]="star";const me=53259;e[e.slash=me]="slash";const ye=54348;e[e.exponent=ye]="exponent";const Se=55296;e[e.jsxName=Se]="jsxName";const Oe=56320;e[e.jsxText=Oe]="jsxText";const ke=57344;e[e.jsxEmptyText=ke]="jsxEmptyText";const We=58880;e[e.jsxTagStart=We]="jsxTagStart";const Xe=59392;e[e.jsxTagEnd=Xe]="jsxTagEnd";const Fe=60928;e[e.typeParameterStart=Fe]="typeParameterStart";const Ye=61440;e[e.nonNullAssertion=Ye]="nonNullAssertion";const kt=62480;e[e._break=kt]="_break";const Je=63504;e[e._case=Je]="_case";const Qe=64528;e[e._catch=Qe]="_catch";const Tt=65552;e[e._continue=Tt]="_continue";const Yt=66576;e[e._debugger=Yt]="_debugger";const yr=67600;e[e._default=yr]="_default";const Ar=68624;e[e._do=Ar]="_do";const vr=69648;e[e._else=vr]="_else";const Wr=70672;e[e._finally=Wr]="_finally";const Rt=71696;e[e._for=Rt]="_for";const Gr=73232;e[e._function=Gr]="_function";const Ls=73744;e[e._if=Ls]="_if";const hn=74768;e[e._return=hn]="_return";const Rs=75792;e[e._switch=Rs]="_switch";const gs=77456;e[e._throw=gs]="_throw";const rr=77840;e[e._try=rr]="_try";const Ir=78864;e[e._var=Ir]="_var";const Ms=79888;e[e._let=Ms]="_let";const Ds=80912;e[e._const=Ds]="_const";const Fs=81936;e[e._while=Fs]="_while";const Jn=82960;e[e._with=Jn]="_with";const ji=84496;e[e._new=ji]="_new";const ys=85520;e[e._this=ys]="_this";const vs=86544;e[e._super=vs]="_super";const Ui=87568;e[e._class=Ui]="_class";const qi=88080;e[e._extends=qi]="_extends";const Bs=89104;e[e._export=Bs]="_export";const zr=90640;e[e._import=zr]="_import";const Kn=91664;e[e._yield=Kn]="_yield";const pn=92688;e[e._null=pn]="_null";const fn=93712;e[e._true=fn]="_true";const Vi=94736;e[e._false=Vi]="_false";const dn=95256;e[e._in=dn]="_in";const Wi=96280;e[e._instanceof=Wi]="_instanceof";const Yn=97936;e[e._typeof=Yn]="_typeof";const $s=98960;e[e._void=$s]="_void";const la=99984;e[e._delete=la]="_delete";const au=100880;e[e._async=au]="_async";const lu=101904;e[e._get=lu]="_get";const Gi=102928;e[e._set=Gi]="_set";const ca=103952;e[e._declare=ca]="_declare";const ua=104976;e[e._readonly=ua]="_readonly";const mn=106e3;e[e._abstract=mn]="_abstract";const cu=107024;e[e._static=cu]="_static";const Hr=107536;e[e._public=Hr]="_public";const uu=108560;e[e._private=uu]="_private";const hu=109584;e[e._protected=hu]="_protected";const pu=110608;e[e._override=pu]="_override";const Qn=112144;e[e._as=Qn]="_as";const ha=113168;e[e._enum=ha]="_enum";const fu=114192;e[e._type=fu]="_type";const du=115216;e[e._implements=du]="_implements"})(p||(p={}));function uL(e){switch(e){case p.num:return"num";case p.bigint:return"bigint";case p.decimal:return"decimal";case p.regexp:return"regexp";case p.string:return"string";case p.name:return"name";case p.eof:return"eof";case p.bracketL:return"[";case p.bracketR:return"]";case p.braceL:return"{";case p.braceBarL:return"{|";case p.braceR:return"}";case p.braceBarR:return"|}";case p.parenL:return"(";case p.parenR:return")";case p.comma:return",";case p.semi:return";";case p.colon:return":";case p.doubleColon:return"::";case p.dot:return".";case p.question:return"?";case p.questionDot:return"?.";case p.arrow:return"=>";case p.template:return"template";case p.ellipsis:return"...";case p.backQuote:return"`";case p.dollarBraceL:return"${";case p.at:return"@";case p.hash:return"#";case p.eq:return"=";case p.assign:return"_=";case p.preIncDec:return"++/--";case p.postIncDec:return"++/--";case p.bang:return"!";case p.tilde:return"~";case p.pipeline:return"|>";case p.nullishCoalescing:return"??";case p.logicalOR:return"||";case p.logicalAND:return"&&";case p.bitwiseOR:return"|";case p.bitwiseXOR:return"^";case p.bitwiseAND:return"&";case p.equality:return"==/!=";case p.lessThan:return"<";case p.greaterThan:return">";case p.relationalOrEqual:return"<=/>=";case p.bitShiftL:return"<<";case p.bitShiftR:return">>/>>>";case p.plus:return"+";case p.minus:return"-";case p.modulo:return"%";case p.star:return"*";case p.slash:return"/";case p.exponent:return"**";case p.jsxName:return"jsxName";case p.jsxText:return"jsxText";case p.jsxEmptyText:return"jsxEmptyText";case p.jsxTagStart:return"jsxTagStart";case p.jsxTagEnd:return"jsxTagEnd";case p.typeParameterStart:return"typeParameterStart";case p.nonNullAssertion:return"nonNullAssertion";case p._break:return"break";case p._case:return"case";case p._catch:return"catch";case p._continue:return"continue";case p._debugger:return"debugger";case p._default:return"default";case p._do:return"do";case p._else:return"else";case p._finally:return"finally";case p._for:return"for";case p._function:return"function";case p._if:return"if";case p._return:return"return";case p._switch:return"switch";case p._throw:return"throw";case p._try:return"try";case p._var:return"var";case p._let:return"let";case p._const:return"const";case p._while:return"while";case p._with:return"with";case p._new:return"new";case p._this:return"this";case p._super:return"super";case p._class:return"class";case p._extends:return"extends";case p._export:return"export";case p._import:return"import";case p._yield:return"yield";case p._null:return"null";case p._true:return"true";case p._false:return"false";case p._in:return"in";case p._instanceof:return"instanceof";case p._typeof:return"typeof";case p._void:return"void";case p._delete:return"delete";case p._async:return"async";case p._get:return"get";case p._set:return"set";case p._declare:return"declare";case p._readonly:return"readonly";case p._abstract:return"abstract";case p._static:return"static";case p._public:return"public";case p._private:return"private";case p._protected:return"protected";case p._override:return"override";case p._as:return"as";case p._enum:return"enum";case p._type:return"type";case p._implements:return"implements";default:return""}}class ds{constructor(t,r,s){this.startTokenIndex=t,this.endTokenIndex=r,this.isFunctionScope=s}}class hL{constructor(t,r,s,i,o,a,h,l,f,d,g,y,v){this.potentialArrowAt=t,this.noAnonFunctionType=r,this.inDisallowConditionalTypesContext=s,this.tokensLength=i,this.scopesLength=o,this.pos=a,this.type=h,this.contextualKeyword=l,this.start=f,this.end=d,this.isType=g,this.scopeDepth=y,this.error=v}}class nr{constructor(){nr.prototype.__init.call(this),nr.prototype.__init2.call(this),nr.prototype.__init3.call(this),nr.prototype.__init4.call(this),nr.prototype.__init5.call(this),nr.prototype.__init6.call(this),nr.prototype.__init7.call(this),nr.prototype.__init8.call(this),nr.prototype.__init9.call(this),nr.prototype.__init10.call(this),nr.prototype.__init11.call(this),nr.prototype.__init12.call(this),nr.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=p.eof}__init8(){this.contextualKeyword=H.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new hL(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(t){this.potentialArrowAt=t.potentialArrowAt,this.noAnonFunctionType=t.noAnonFunctionType,this.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,this.tokens.length=t.tokensLength,this.scopes.length=t.scopesLength,this.pos=t.pos,this.type=t.type,this.contextualKeyword=t.contextualKeyword,this.start=t.start,this.end=t.end,this.isType=t.isType,this.scopeDepth=t.scopeDepth,this.error=t.error}}var te;(function(e){e[e.backSpace=8]="backSpace";const r=10;e[e.lineFeed=r]="lineFeed";const s=9;e[e.tab=s]="tab";const i=13;e[e.carriageReturn=i]="carriageReturn";const o=14;e[e.shiftOut=o]="shiftOut";const a=32;e[e.space=a]="space";const h=33;e[e.exclamationMark=h]="exclamationMark";const l=34;e[e.quotationMark=l]="quotationMark";const f=35;e[e.numberSign=f]="numberSign";const d=36;e[e.dollarSign=d]="dollarSign";const g=37;e[e.percentSign=g]="percentSign";const y=38;e[e.ampersand=y]="ampersand";const v=39;e[e.apostrophe=v]="apostrophe";const w=40;e[e.leftParenthesis=w]="leftParenthesis";const _=41;e[e.rightParenthesis=_]="rightParenthesis";const S=42;e[e.asterisk=S]="asterisk";const k=43;e[e.plusSign=k]="plusSign";const E=44;e[e.comma=E]="comma";const P=45;e[e.dash=P]="dash";const O=46;e[e.dot=O]="dot";const A=47;e[e.slash=A]="slash";const M=48;e[e.digit0=M]="digit0";const F=49;e[e.digit1=F]="digit1";const x=50;e[e.digit2=x]="digit2";const I=51;e[e.digit3=I]="digit3";const R=52;e[e.digit4=R]="digit4";const L=53;e[e.digit5=L]="digit5";const z=54;e[e.digit6=z]="digit6";const J=55;e[e.digit7=J]="digit7";const re=56;e[e.digit8=re]="digit8";const V=57;e[e.digit9=V]="digit9";const ee=58;e[e.colon=ee]="colon";const G=59;e[e.semicolon=G]="semicolon";const Q=60;e[e.lessThan=Q]="lessThan";const ie=61;e[e.equalsTo=ie]="equalsTo";const ce=62;e[e.greaterThan=ce]="greaterThan";const ne=63;e[e.questionMark=ne]="questionMark";const W=64;e[e.atSign=W]="atSign";const K=65;e[e.uppercaseA=K]="uppercaseA";const j=66;e[e.uppercaseB=j]="uppercaseB";const B=67;e[e.uppercaseC=B]="uppercaseC";const Z=68;e[e.uppercaseD=Z]="uppercaseD";const U=69;e[e.uppercaseE=U]="uppercaseE";const se=70;e[e.uppercaseF=se]="uppercaseF";const ae=71;e[e.uppercaseG=ae]="uppercaseG";const de=72;e[e.uppercaseH=de]="uppercaseH";const pe=73;e[e.uppercaseI=pe]="uppercaseI";const ve=74;e[e.uppercaseJ=ve]="uppercaseJ";const xe=75;e[e.uppercaseK=xe]="uppercaseK";const we=76;e[e.uppercaseL=we]="uppercaseL";const De=77;e[e.uppercaseM=De]="uppercaseM";const tt=78;e[e.uppercaseN=tt]="uppercaseN";const qe=79;e[e.uppercaseO=qe]="uppercaseO";const ze=80;e[e.uppercaseP=ze]="uppercaseP";const Ve=81;e[e.uppercaseQ=Ve]="uppercaseQ";const ht=82;e[e.uppercaseR=ht]="uppercaseR";const xt=83;e[e.uppercaseS=xt]="uppercaseS";const pt=84;e[e.uppercaseT=pt]="uppercaseT";const oe=85;e[e.uppercaseU=oe]="uppercaseU";const me=86;e[e.uppercaseV=me]="uppercaseV";const ye=87;e[e.uppercaseW=ye]="uppercaseW";const Se=88;e[e.uppercaseX=Se]="uppercaseX";const Oe=89;e[e.uppercaseY=Oe]="uppercaseY";const ke=90;e[e.uppercaseZ=ke]="uppercaseZ";const We=91;e[e.leftSquareBracket=We]="leftSquareBracket";const Xe=92;e[e.backslash=Xe]="backslash";const Fe=93;e[e.rightSquareBracket=Fe]="rightSquareBracket";const Ye=94;e[e.caret=Ye]="caret";const kt=95;e[e.underscore=kt]="underscore";const Je=96;e[e.graveAccent=Je]="graveAccent";const Qe=97;e[e.lowercaseA=Qe]="lowercaseA";const Tt=98;e[e.lowercaseB=Tt]="lowercaseB";const Yt=99;e[e.lowercaseC=Yt]="lowercaseC";const yr=100;e[e.lowercaseD=yr]="lowercaseD";const Ar=101;e[e.lowercaseE=Ar]="lowercaseE";const vr=102;e[e.lowercaseF=vr]="lowercaseF";const Wr=103;e[e.lowercaseG=Wr]="lowercaseG";const Rt=104;e[e.lowercaseH=Rt]="lowercaseH";const Gr=105;e[e.lowercaseI=Gr]="lowercaseI";const Ls=106;e[e.lowercaseJ=Ls]="lowercaseJ";const hn=107;e[e.lowercaseK=hn]="lowercaseK";const Rs=108;e[e.lowercaseL=Rs]="lowercaseL";const gs=109;e[e.lowercaseM=gs]="lowercaseM";const rr=110;e[e.lowercaseN=rr]="lowercaseN";const Ir=111;e[e.lowercaseO=Ir]="lowercaseO";const Ms=112;e[e.lowercaseP=Ms]="lowercaseP";const Ds=113;e[e.lowercaseQ=Ds]="lowercaseQ";const Fs=114;e[e.lowercaseR=Fs]="lowercaseR";const Jn=115;e[e.lowercaseS=Jn]="lowercaseS";const ji=116;e[e.lowercaseT=ji]="lowercaseT";const ys=117;e[e.lowercaseU=ys]="lowercaseU";const vs=118;e[e.lowercaseV=vs]="lowercaseV";const Ui=119;e[e.lowercaseW=Ui]="lowercaseW";const qi=120;e[e.lowercaseX=qi]="lowercaseX";const Bs=121;e[e.lowercaseY=Bs]="lowercaseY";const zr=122;e[e.lowercaseZ=zr]="lowercaseZ";const Kn=123;e[e.leftCurlyBrace=Kn]="leftCurlyBrace";const pn=124;e[e.verticalBar=pn]="verticalBar";const fn=125;e[e.rightCurlyBrace=fn]="rightCurlyBrace";const Vi=126;e[e.tilde=Vi]="tilde";const dn=160;e[e.nonBreakingSpace=dn]="nonBreakingSpace";const Wi=5760;e[e.oghamSpaceMark=Wi]="oghamSpaceMark";const Yn=8232;e[e.lineSeparator=Yn]="lineSeparator";const $s=8233;e[e.paragraphSeparator=$s]="paragraphSeparator"})(te||(te={}));let Zc,He,et,T,_e,Nb;function $o(){return Nb++}function pL(e){if("pos"in e){const t=dL(e.pos);e.message+=` (${t.line}:${t.column})`,e.loc=t}return e}class fL{constructor(t,r){this.line=t,this.column=r}}function dL(e){let t=1,r=1;for(let s=0;s<e;s++)_e.charCodeAt(s)===te.lineFeed?(t++,r=1):r++;return new fL(t,r)}function mL(e,t,r,s){_e=e,T=new nr,Nb=1,Zc=t,He=r,et=s}function Ce(e){return T.contextualKeyword===e}function R1(e){const t=sa();return t.type===p.name&&t.contextualKeyword===e}function Lt(e){return T.contextualKeyword===e&&le(p.name)}function It(e){Lt(e)||$e()}function Er(){return $(p.eof)||$(p.braceR)||or()}function or(){const e=T.tokens[T.tokens.length-1],t=e?e.end:0;for(let r=t;r<T.start;r++){const s=_e.charCodeAt(r);if(s===te.lineFeed||s===te.carriageReturn||s===8232||s===8233)return!0}return!1}function Ob(){const e=M1();for(let t=T.end;t<e;t++){const r=_e.charCodeAt(t);if(r===te.lineFeed||r===te.carriageReturn||r===8232||r===8233)return!0}return!1}function is(){return le(p.semi)||Er()}function mt(){is()||$e('Unexpected token, expected ";"')}function ue(e){le(e)||$e(`Unexpected token, expected "${uL(e)}"`)}function $e(e="Unexpected token",t=T.start){if(T.error)return;const r=new SyntaxError(e);r.pos=t,T.error=r,T.pos=_e.length,Be(p.eof)}const Lb=[9,11,12,te.space,te.nonBreakingSpace,te.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],ov=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Rb=new Uint8Array(65536);for(const e of Lb)Rb[e]=1;function gL(e){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}const Ur=new Uint8Array(65536);for(let e=0;e<128;e++)Ur[e]=gL(e)?1:0;for(let e=128;e<65536;e++)Ur[e]=1;for(const e of Lb)Ur[e]=0;Ur[8232]=0;Ur[8233]=0;const ra=Ur.slice();for(let e=te.digit0;e<=te.digit9;e++)ra[e]=0;const av=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,H._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,H._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,H._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,H._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,H._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,H._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(p._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(p._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,H._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(p._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(p._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(p._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,H._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(p._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(p._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(p._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,H._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(p._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,H._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(p._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,H._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(p._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,H._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(p._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,H._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,H._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,H._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,H._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,H._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(p._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(p._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(p._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,H._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(p._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(p._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);function yL(){let e=0,t=0,r=T.pos;for(;r<_e.length&&(t=_e.charCodeAt(r),!(t<te.lowercaseA||t>te.lowercaseZ));){const i=av[e+(t-te.lowercaseA)+1];if(i===-1)break;e=i,r++}const s=av[e];if(s>-1&&!Ur[t]){T.pos=r,s&1?Be(s>>>1):Be(p.name,s>>>1);return}for(;r<_e.length;){const i=_e.charCodeAt(r);if(Ur[i])r++;else if(i===te.backslash){if(r+=2,_e.charCodeAt(r)===te.leftCurlyBrace){for(;r<_e.length&&_e.charCodeAt(r)!==te.rightCurlyBrace;)r++;r++}}else if(i===te.atSign&&_e.charCodeAt(r+1)===te.atSign)r+=2;else break}T.pos=r,Be(p.name)}var Ne;(function(e){e[e.Access=0]="Access";const r=1;e[e.ExportAccess=r]="ExportAccess";const s=r+1;e[e.TopLevelDeclaration=s]="TopLevelDeclaration";const i=s+1;e[e.FunctionScopedDeclaration=i]="FunctionScopedDeclaration";const o=i+1;e[e.BlockScopedDeclaration=o]="BlockScopedDeclaration";const a=o+1;e[e.ObjectShorthandTopLevelDeclaration=a]="ObjectShorthandTopLevelDeclaration";const h=a+1;e[e.ObjectShorthandFunctionScopedDeclaration=h]="ObjectShorthandFunctionScopedDeclaration";const l=h+1;e[e.ObjectShorthandBlockScopedDeclaration=l]="ObjectShorthandBlockScopedDeclaration";const f=l+1;e[e.ObjectShorthand=f]="ObjectShorthand";const d=f+1;e[e.ImportDeclaration=d]="ImportDeclaration";const g=d+1;e[e.ObjectKey=g]="ObjectKey";const y=g+1;e[e.ImportAccess=y]="ImportAccess"})(Ne||(Ne={}));var Fr;(function(e){e[e.NoChildren=0]="NoChildren";const r=1;e[e.OneChild=r]="OneChild";const s=r+1;e[e.StaticChildren=s]="StaticChildren";const i=s+1;e[e.KeyAfterPropSpread=i]="KeyAfterPropSpread"})(Fr||(Fr={}));function Mb(e){const t=e.identifierRole;return t===Ne.TopLevelDeclaration||t===Ne.FunctionScopedDeclaration||t===Ne.BlockScopedDeclaration||t===Ne.ObjectShorthandTopLevelDeclaration||t===Ne.ObjectShorthandFunctionScopedDeclaration||t===Ne.ObjectShorthandBlockScopedDeclaration}function vL(e){const t=e.identifierRole;return t===Ne.FunctionScopedDeclaration||t===Ne.BlockScopedDeclaration||t===Ne.ObjectShorthandFunctionScopedDeclaration||t===Ne.ObjectShorthandBlockScopedDeclaration}function Db(e){const t=e.identifierRole;return t===Ne.TopLevelDeclaration||t===Ne.ObjectShorthandTopLevelDeclaration||t===Ne.ImportDeclaration}function SL(e){const t=e.identifierRole;return t===Ne.TopLevelDeclaration||t===Ne.BlockScopedDeclaration||t===Ne.ObjectShorthandTopLevelDeclaration||t===Ne.ObjectShorthandBlockScopedDeclaration}function _L(e){const t=e.identifierRole;return t===Ne.FunctionScopedDeclaration||t===Ne.ObjectShorthandFunctionScopedDeclaration}function wL(e){return e.identifierRole===Ne.ObjectShorthandTopLevelDeclaration||e.identifierRole===Ne.ObjectShorthandBlockScopedDeclaration||e.identifierRole===Ne.ObjectShorthandFunctionScopedDeclaration}class eu{constructor(){this.type=T.type,this.contextualKeyword=T.contextualKeyword,this.start=T.start,this.end=T.end,this.scopeDepth=T.scopeDepth,this.isType=T.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}function he(){T.tokens.push(new eu),jb()}function Js(){T.tokens.push(new eu),T.start=T.pos,BL()}function bL(){T.type===p.assign&&--T.pos,ML()}function Ue(e){for(let r=T.tokens.length-e;r<T.tokens.length;r++)T.tokens[r].isType=!0;const t=T.isType;return T.isType=!0,t}function je(e){T.isType=e}function le(e){return $(e)?(he(),!0):!1}function Fb(e){const t=T.isType;T.isType=!0,le(e),T.isType=t}function $(e){return T.type===e}function wt(){const e=T.snapshot();he();const t=T.type;return T.restoreFromSnapshot(e),t}class EL{constructor(t,r){this.type=t,this.contextualKeyword=r}}function sa(){const e=T.snapshot();he();const t=T.type,r=T.contextualKeyword;return T.restoreFromSnapshot(e),new EL(t,r)}function M1(){return Bb(T.pos)}function Bb(e){ov.lastIndex=e;const t=ov.exec(_e);return e+t[0].length}function $b(){return _e.charCodeAt(M1())}function jb(){if(qb(),T.start=T.pos,T.pos>=_e.length){const e=T.tokens;e.length>=2&&e[e.length-1].start>=_e.length&&e[e.length-2].start>=_e.length&&$e("Unexpectedly reached the end of input."),Be(p.eof);return}TL(_e.charCodeAt(T.pos))}function TL(e){ra[e]||e===te.backslash||e===te.atSign&&_e.charCodeAt(T.pos+1)===te.atSign?yL():Gb(e)}function xL(){for(;_e.charCodeAt(T.pos)!==te.asterisk||_e.charCodeAt(T.pos+1)!==te.slash;)if(T.pos++,T.pos>_e.length){$e("Unterminated comment",T.pos-2);return}T.pos+=2}function Ub(e){let t=_e.charCodeAt(T.pos+=e);if(T.pos<_e.length)for(;t!==te.lineFeed&&t!==te.carriageReturn&&t!==te.lineSeparator&&t!==te.paragraphSeparator&&++T.pos<_e.length;)t=_e.charCodeAt(T.pos)}function qb(){for(;T.pos<_e.length;){const e=_e.charCodeAt(T.pos);switch(e){case te.carriageReturn:_e.charCodeAt(T.pos+1)===te.lineFeed&&++T.pos;case te.lineFeed:case te.lineSeparator:case te.paragraphSeparator:++T.pos;break;case te.slash:switch(_e.charCodeAt(T.pos+1)){case te.asterisk:T.pos+=2,xL();break;case te.slash:Ub(2);break;default:return}break;default:if(Rb[e])++T.pos;else return}}}function Be(e,t=H.NONE){T.end=T.pos,T.type=e,T.contextualKeyword=t}function kL(){const e=_e.charCodeAt(T.pos+1);if(e>=te.digit0&&e<=te.digit9){zb(!0);return}e===te.dot&&_e.charCodeAt(T.pos+2)===te.dot?(T.pos+=3,Be(p.ellipsis)):(++T.pos,Be(p.dot))}function PL(){_e.charCodeAt(T.pos+1)===te.equalsTo?nt(p.assign,2):nt(p.slash,1)}function AL(e){let t=e===te.asterisk?p.star:p.modulo,r=1,s=_e.charCodeAt(T.pos+1);e===te.asterisk&&s===te.asterisk&&(r++,s=_e.charCodeAt(T.pos+2),t=p.exponent),s===te.equalsTo&&_e.charCodeAt(T.pos+2)!==te.greaterThan&&(r++,t=p.assign),nt(t,r)}function IL(e){const t=_e.charCodeAt(T.pos+1);if(t===e){_e.charCodeAt(T.pos+2)===te.equalsTo?nt(p.assign,3):nt(e===te.verticalBar?p.logicalOR:p.logicalAND,2);return}if(e===te.verticalBar){if(t===te.greaterThan){nt(p.pipeline,2);return}else if(t===te.rightCurlyBrace&&et){nt(p.braceBarR,2);return}}if(t===te.equalsTo){nt(p.assign,2);return}nt(e===te.verticalBar?p.bitwiseOR:p.bitwiseAND,1)}function CL(){_e.charCodeAt(T.pos+1)===te.equalsTo?nt(p.assign,2):nt(p.bitwiseXOR,1)}function NL(e){const t=_e.charCodeAt(T.pos+1);if(t===e){nt(p.preIncDec,2);return}t===te.equalsTo?nt(p.assign,2):e===te.plusSign?nt(p.plus,1):nt(p.minus,1)}function OL(){const e=_e.charCodeAt(T.pos+1);if(e===te.lessThan){if(_e.charCodeAt(T.pos+2)===te.equalsTo){nt(p.assign,3);return}T.isType?nt(p.lessThan,1):nt(p.bitShiftL,2);return}e===te.equalsTo?nt(p.relationalOrEqual,2):nt(p.lessThan,1)}function Vb(){if(T.isType){nt(p.greaterThan,1);return}const e=_e.charCodeAt(T.pos+1);if(e===te.greaterThan){const t=_e.charCodeAt(T.pos+2)===te.greaterThan?3:2;if(_e.charCodeAt(T.pos+t)===te.equalsTo){nt(p.assign,t+1);return}nt(p.bitShiftR,t);return}e===te.equalsTo?nt(p.relationalOrEqual,2):nt(p.greaterThan,1)}function Wb(){T.type===p.greaterThan&&(T.pos-=1,Vb())}function LL(e){const t=_e.charCodeAt(T.pos+1);if(t===te.equalsTo){nt(p.equality,_e.charCodeAt(T.pos+2)===te.equalsTo?3:2);return}if(e===te.equalsTo&&t===te.greaterThan){T.pos+=2,Be(p.arrow);return}nt(e===te.equalsTo?p.eq:p.bang,1)}function RL(){const e=_e.charCodeAt(T.pos+1),t=_e.charCodeAt(T.pos+2);e===te.questionMark&&!(et&&T.isType)?t===te.equalsTo?nt(p.assign,3):nt(p.nullishCoalescing,2):e===te.dot&&!(t>=te.digit0&&t<=te.digit9)?(T.pos+=2,Be(p.questionDot)):(++T.pos,Be(p.question))}function Gb(e){switch(e){case te.numberSign:++T.pos,Be(p.hash);return;case te.dot:kL();return;case te.leftParenthesis:++T.pos,Be(p.parenL);return;case te.rightParenthesis:++T.pos,Be(p.parenR);return;case te.semicolon:++T.pos,Be(p.semi);return;case te.comma:++T.pos,Be(p.comma);return;case te.leftSquareBracket:++T.pos,Be(p.bracketL);return;case te.rightSquareBracket:++T.pos,Be(p.bracketR);return;case te.leftCurlyBrace:et&&_e.charCodeAt(T.pos+1)===te.verticalBar?nt(p.braceBarL,2):(++T.pos,Be(p.braceL));return;case te.rightCurlyBrace:++T.pos,Be(p.braceR);return;case te.colon:_e.charCodeAt(T.pos+1)===te.colon?nt(p.doubleColon,2):(++T.pos,Be(p.colon));return;case te.questionMark:RL();return;case te.atSign:++T.pos,Be(p.at);return;case te.graveAccent:++T.pos,Be(p.backQuote);return;case te.digit0:{const t=_e.charCodeAt(T.pos+1);if(t===te.lowercaseX||t===te.uppercaseX||t===te.lowercaseO||t===te.uppercaseO||t===te.lowercaseB||t===te.uppercaseB){DL();return}}case te.digit1:case te.digit2:case te.digit3:case te.digit4:case te.digit5:case te.digit6:case te.digit7:case te.digit8:case te.digit9:zb(!1);return;case te.quotationMark:case te.apostrophe:FL(e);return;case te.slash:PL();return;case te.percentSign:case te.asterisk:AL(e);return;case te.verticalBar:case te.ampersand:IL(e);return;case te.caret:CL();return;case te.plusSign:case te.dash:NL(e);return;case te.lessThan:OL();return;case te.greaterThan:Vb();return;case te.equalsTo:case te.exclamationMark:LL(e);return;case te.tilde:nt(p.tilde,1);return}$e(`Unexpected character '${String.fromCharCode(e)}'`,T.pos)}function nt(e,t){T.pos+=t,Be(e)}function ML(){const e=T.pos;let t=!1,r=!1;for(;;){if(T.pos>=_e.length){$e("Unterminated regular expression",e);return}const s=_e.charCodeAt(T.pos);if(t)t=!1;else{if(s===te.leftSquareBracket)r=!0;else if(s===te.rightSquareBracket&&r)r=!1;else if(s===te.slash&&!r)break;t=s===te.backslash}++T.pos}++T.pos,$L(),Be(p.regexp)}function Wh(){for(;;){const e=_e.charCodeAt(T.pos);if(e>=te.digit0&&e<=te.digit9||e===te.underscore)T.pos++;else break}}function DL(){for(T.pos+=2;;){const t=_e.charCodeAt(T.pos);if(t>=te.digit0&&t<=te.digit9||t>=te.lowercaseA&&t<=te.lowercaseF||t>=te.uppercaseA&&t<=te.uppercaseF||t===te.underscore)T.pos++;else break}_e.charCodeAt(T.pos)===te.lowercaseN?(++T.pos,Be(p.bigint)):Be(p.num)}function zb(e){let t=!1,r=!1;e||Wh();let s=_e.charCodeAt(T.pos);if(s===te.dot&&(++T.pos,Wh(),s=_e.charCodeAt(T.pos)),(s===te.uppercaseE||s===te.lowercaseE)&&(s=_e.charCodeAt(++T.pos),(s===te.plusSign||s===te.dash)&&++T.pos,Wh(),s=_e.charCodeAt(T.pos)),s===te.lowercaseN?(++T.pos,t=!0):s===te.lowercaseM&&(++T.pos,r=!0),t){Be(p.bigint);return}if(r){Be(p.decimal);return}Be(p.num)}function FL(e){for(T.pos++;;){if(T.pos>=_e.length){$e("Unterminated string constant");return}const t=_e.charCodeAt(T.pos);if(t===te.backslash)T.pos++;else if(t===e)break;T.pos++}T.pos++,Be(p.string)}function BL(){for(;;){if(T.pos>=_e.length){$e("Unterminated template");return}const e=_e.charCodeAt(T.pos);if(e===te.graveAccent||e===te.dollarSign&&_e.charCodeAt(T.pos+1)===te.leftCurlyBrace){if(T.pos===T.start&&$(p.template))if(e===te.dollarSign){T.pos+=2,Be(p.dollarBraceL);return}else{++T.pos,Be(p.backQuote);return}Be(p.template);return}e===te.backslash&&T.pos++,T.pos++}}function $L(){for(;T.pos<_e.length;){const e=_e.charCodeAt(T.pos);if(Ur[e])T.pos++;else if(e===te.backslash){if(T.pos+=2,_e.charCodeAt(T.pos)===te.leftCurlyBrace){for(;T.pos<_e.length&&_e.charCodeAt(T.pos)!==te.rightCurlyBrace;)T.pos++;T.pos++}}else break}}function jo(e,t=e.currentIndex()){let r=t+1;if(el(e,r)){const s=e.identifierNameAtIndex(t);return{isType:!1,leftName:s,rightName:s,endIndex:r}}if(r++,el(e,r))return{isType:!0,leftName:null,rightName:null,endIndex:r};if(r++,el(e,r))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:r};if(r++,el(e,r))return{isType:!0,leftName:null,rightName:null,endIndex:r};throw new Error(`Unexpected import/export specifier at ${t}`)}function el(e,t){const r=e.tokens[t];return r.type===p.braceR||r.type===p.comma}const jL=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp"," "],["iexcl","¡"],["cent","¢"],["pound","£"],["curren","¤"],["yen","¥"],["brvbar","¦"],["sect","§"],["uml","¨"],["copy","©"],["ordf","ª"],["laquo","«"],["not","¬"],["shy",""],["reg","®"],["macr","¯"],["deg","°"],["plusmn","±"],["sup2","²"],["sup3","³"],["acute","´"],["micro","µ"],["para","¶"],["middot","·"],["cedil","¸"],["sup1","¹"],["ordm","º"],["raquo","»"],["frac14","¼"],["frac12","½"],["frac34","¾"],["iquest","¿"],["Agrave","À"],["Aacute","Á"],["Acirc","Â"],["Atilde","Ã"],["Auml","Ä"],["Aring","Å"],["AElig","Æ"],["Ccedil","Ç"],["Egrave","È"],["Eacute","É"],["Ecirc","Ê"],["Euml","Ë"],["Igrave","Ì"],["Iacute","Í"],["Icirc","Î"],["Iuml","Ï"],["ETH","Ð"],["Ntilde","Ñ"],["Ograve","Ò"],["Oacute","Ó"],["Ocirc","Ô"],["Otilde","Õ"],["Ouml","Ö"],["times","×"],["Oslash","Ø"],["Ugrave","Ù"],["Uacute","Ú"],["Ucirc","Û"],["Uuml","Ü"],["Yacute","Ý"],["THORN","Þ"],["szlig","ß"],["agrave","à"],["aacute","á"],["acirc","â"],["atilde","ã"],["auml","ä"],["aring","å"],["aelig","æ"],["ccedil","ç"],["egrave","è"],["eacute","é"],["ecirc","ê"],["euml","ë"],["igrave","ì"],["iacute","í"],["icirc","î"],["iuml","ï"],["eth","ð"],["ntilde","ñ"],["ograve","ò"],["oacute","ó"],["ocirc","ô"],["otilde","õ"],["ouml","ö"],["divide","÷"],["oslash","ø"],["ugrave","ù"],["uacute","ú"],["ucirc","û"],["uuml","ü"],["yacute","ý"],["thorn","þ"],["yuml","ÿ"],["OElig","Œ"],["oelig","œ"],["Scaron","Š"],["scaron","š"],["Yuml","Ÿ"],["fnof","ƒ"],["circ","ˆ"],["tilde","˜"],["Alpha","Α"],["Beta","Β"],["Gamma","Γ"],["Delta","Δ"],["Epsilon","Ε"],["Zeta","Ζ"],["Eta","Η"],["Theta","Θ"],["Iota","Ι"],["Kappa","Κ"],["Lambda","Λ"],["Mu","Μ"],["Nu","Ν"],["Xi","Ξ"],["Omicron","Ο"],["Pi","Π"],["Rho","Ρ"],["Sigma","Σ"],["Tau","Τ"],["Upsilon","Υ"],["Phi","Φ"],["Chi","Χ"],["Psi","Ψ"],["Omega","Ω"],["alpha","α"],["beta","β"],["gamma","γ"],["delta","δ"],["epsilon","ε"],["zeta","ζ"],["eta","η"],["theta","θ"],["iota","ι"],["kappa","κ"],["lambda","λ"],["mu","μ"],["nu","ν"],["xi","ξ"],["omicron","ο"],["pi","π"],["rho","ρ"],["sigmaf","ς"],["sigma","σ"],["tau","τ"],["upsilon","υ"],["phi","φ"],["chi","χ"],["psi","ψ"],["omega","ω"],["thetasym","ϑ"],["upsih","ϒ"],["piv","ϖ"],["ensp"," "],["emsp"," "],["thinsp"," "],["zwnj",""],["zwj",""],["lrm",""],["rlm",""],["ndash","–"],["mdash","—"],["lsquo","‘"],["rsquo","’"],["sbquo","‚"],["ldquo","“"],["rdquo","”"],["bdquo","„"],["dagger","†"],["Dagger","‡"],["bull","•"],["hellip","…"],["permil","‰"],["prime","′"],["Prime","″"],["lsaquo","‹"],["rsaquo","›"],["oline","‾"],["frasl","⁄"],["euro","€"],["image","ℑ"],["weierp","℘"],["real","ℜ"],["trade","™"],["alefsym","ℵ"],["larr","←"],["uarr","↑"],["rarr","→"],["darr","↓"],["harr","↔"],["crarr","↵"],["lArr","⇐"],["uArr","⇑"],["rArr","⇒"],["dArr","⇓"],["hArr","⇔"],["forall","∀"],["part","∂"],["exist","∃"],["empty","∅"],["nabla","∇"],["isin","∈"],["notin","∉"],["ni","∋"],["prod","∏"],["sum","∑"],["minus","−"],["lowast","∗"],["radic","√"],["prop","∝"],["infin","∞"],["ang","∠"],["and","∧"],["or","∨"],["cap","∩"],["cup","∪"],["int","∫"],["there4","∴"],["sim","∼"],["cong","≅"],["asymp","≈"],["ne","≠"],["equiv","≡"],["le","≤"],["ge","≥"],["sub","⊂"],["sup","⊃"],["nsub","⊄"],["sube","⊆"],["supe","⊇"],["oplus","⊕"],["otimes","⊗"],["perp","⊥"],["sdot","⋅"],["lceil","⌈"],["rceil","⌉"],["lfloor","⌊"],["rfloor","⌋"],["lang","〈"],["rang","〉"],["loz","◊"],["spades","♠"],["clubs","♣"],["hearts","♥"],["diams","♦"]]);function Hb(e){const[t,r]=lv(e.jsxPragma||"React.createElement"),[s,i]=lv(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:r,fragmentBase:s,fragmentSuffix:i}}function lv(e){let t=e.indexOf(".");return t===-1&&(t=e.length),[e.slice(0,t),e.slice(t)]}class qr{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class bn extends qr{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,r,s,i,o){super(),this.rootTransformer=t,this.tokens=r,this.importProcessor=s,this.nameManager=i,this.options=o,bn.prototype.__init.call(this),bn.prototype.__init2.call(this),bn.prototype.__init3.call(this),bn.prototype.__init4.call(this),bn.prototype.__init5.call(this),this.jsxPragmaInfo=Hb(o),this.isAutomaticRuntime=o.jsxRuntime==="automatic",this.jsxImportSource=o.jsxImportSource||"react"}process(){return this.tokens.matches1(p.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(const[r,s]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${s} = require("${r}");`;else{const{createElement:r,...s}=this.esmAutomaticImportNameResolutions;r&&(t+=`import {createElement as ${r}} from "${this.jsxImportSource}";`);const i=Object.entries(s).map(([o,a])=>`${o} as ${a}`).join(", ");if(i){const o=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");t+=`import {${i}} from "${o}";`}}return t}processJSXTag(){const{jsxRole:t,start:r}=this.tokens.currentToken(),s=this.options.production?null:this.getElementLocationCode(r);this.isAutomaticRuntime&&t!==Fr.KeyAfterPropSpread?this.transformTagToJSXFunc(s,t):this.transformTagToCreateElement(s)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){const r=this.tokens.code;for(;this.lastIndex<t&&this.lastIndex<r.length;)r[this.lastIndex]===`
|
|
`&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(t,r){const s=r===Fr.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(s));let i=null;if(this.tokens.matches1(p.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(r);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),i=this.processProps(!0),this.tokens.matches2(p.slash,p.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(p.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(r);else throw new Error("Expected either /> or > at the end of the tag.");i&&this.tokens.appendCode(`, ${i}`)}for(this.options.production||(i===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${s}, ${this.getDevSource(t)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(p.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(t){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(p.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(t),!this.tokens.matches2(p.slash,p.jsxTagEnd))if(this.tokens.matches1(p.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(p.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(t){return this.options.production?t?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{const{jsxPragmaInfo:t}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.base)||t.base}${t.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{const{jsxPragmaInfo:t}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.fragmentBase)||t.fragmentBase)+t.fragmentSuffix}}claimAutoImportedFuncInvocation(t,r){const s=this.claimAutoImportedName(t,r);return this.importProcessor?`${s}.call(void 0, `:`${s}(`}claimAutoImportedName(t,r){if(this.importProcessor){const s=this.jsxImportSource+r;return this.cjsAutomaticModuleNameResolutions[s]||(this.cjsAutomaticModuleNameResolutions[s]=this.importProcessor.getFreeIdentifierForPath(s)),`${this.cjsAutomaticModuleNameResolutions[s]}.${t}`}else return this.esmAutomaticImportNameResolutions[t]||(this.esmAutomaticImportNameResolutions[t]=this.nameManager.claimFreeName(`_${t}`)),this.esmAutomaticImportNameResolutions[t]}processTagIntro(){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType||!this.tokens.matches2AtIndex(t-1,p.jsxName,p.jsxName)&&!this.tokens.matches2AtIndex(t-1,p.greaterThan,p.jsxName)&&!this.tokens.matches1AtIndex(t,p.braceL)&&!this.tokens.matches1AtIndex(t,p.jsxTagEnd)&&!this.tokens.matches2AtIndex(t,p.slash,p.jsxTagEnd);)t++;if(t===this.tokens.currentIndex()+1){const r=this.tokens.identifierName();Xb(r)&&this.tokens.replaceToken(`'${r}'`)}for(;this.tokens.currentIndex()<t;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(t){const r=this.options.production?"":`__self: this, __source: ${this.getDevSource(t)}`;if(!this.tokens.matches1(p.jsxName)&&!this.tokens.matches1(p.braceL)){r?this.tokens.appendCode(`, {${r}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),r?this.tokens.appendCode(` ${r}}`):this.tokens.appendCode("}")}processProps(t){let r=null;for(;;){if(this.tokens.matches2(p.jsxName,p.eq)){const s=this.tokens.identifierName();if(t&&s==="key"){r!==null&&this.tokens.appendCode(r.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();const i=this.tokens.snapshot();this.processPropValue(),r=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(i);continue}else this.processPropName(s),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(p.jsxName)){const s=this.tokens.identifierName();this.processPropName(s),this.tokens.appendCode(": true")}else if(this.tokens.matches1(p.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return r}processPropName(t){t.includes("-")?this.tokens.replaceToken(`'${t}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(p.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(p.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){const t=this.tokens.currentToken(),r=this.tokens.code.slice(t.start+1,t.end-1),s=cv(r),i=qL(r);this.tokens.replaceToken(i+s)}processAutomaticChildrenAndEndProps(t){t===Fr.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(t===Fr.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(t){let r=t;for(;;){if(this.tokens.matches2(p.jsxTagStart,p.slash))return;let s=!1;if(this.tokens.matches1(p.braceL))this.tokens.matches2(p.braceL,p.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(r?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),s=!0);else if(this.tokens.matches1(p.jsxTagStart))this.tokens.appendCode(r?", ":""),this.processJSXTag(),s=!0;else if(this.tokens.matches1(p.jsxText)||this.tokens.matches1(p.jsxEmptyText))s=this.processChildTextElement(r);else throw new Error("Unexpected token when processing JSX children.");s&&(r=!0)}}processChildTextElement(t){const r=this.tokens.currentToken(),s=this.tokens.code.slice(r.start,r.end),i=cv(s),o=UL(s);return o==='""'?(this.tokens.replaceToken(i),!1):(this.tokens.replaceToken(`${t?", ":""}${o}${i}`),!0)}getDevSource(t){return`{fileName: ${this.getFilenameVarName()}, ${t}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}}function Xb(e){const t=e.charCodeAt(0);return t>=te.lowercaseA&&t<=te.lowercaseZ}function UL(e){let t="",r="",s=!1,i=!1;for(let o=0;o<e.length;o++){const a=e[o];if(a===" "||a===" "||a==="\r")s||(r+=a);else if(a===`
|
|
`)r="",s=!0;else{if(i&&s&&(t+=" "),t+=r,r="",a==="&"){const{entity:h,newI:l}=Jb(e,o+1);o=l-1,t+=h}else t+=a;i=!0,s=!1}}return s||(t+=r),JSON.stringify(t)}function cv(e){let t=0,r=0;for(const s of e)s===`
|
|
`?(t++,r=0):s===" "&&r++;return`
|
|
`.repeat(t)+" ".repeat(r)}function qL(e){let t="";for(let r=0;r<e.length;r++){const s=e[r];if(s===`
|
|
`)if(/\s/.test(e[r+1]))for(t+=" ";r<e.length&&/\s/.test(e[r+1]);)r++;else t+=`
|
|
`;else if(s==="&"){const{entity:i,newI:o}=Jb(e,r+1);t+=i,r=o-1}else t+=s}return JSON.stringify(t)}function Jb(e,t){let r="",s=0,i,o=t;if(e[o]==="#"){let a=10;o++;let h;if(e[o]==="x")for(a=16,o++,h=o;o<e.length&&WL(e.charCodeAt(o));)o++;else for(h=o;o<e.length&&VL(e.charCodeAt(o));)o++;if(e[o]===";"){const l=e.slice(h,o);l&&(o++,i=String.fromCodePoint(parseInt(l,a)))}}else for(;o<e.length&&s++<10;){const a=e[o];if(o++,a===";"){i=jL.get(r);break}r+=a}return i?{entity:i,newI:o}:{entity:"&",newI:t}}function VL(e){return e>=te.digit0&&e<=te.digit9}function WL(e){return e>=te.digit0&&e<=te.digit9||e>=te.lowercaseA&&e<=te.lowercaseF||e>=te.uppercaseA&&e<=te.uppercaseF}function Kb(e,t){const r=Hb(t),s=new Set;for(let i=0;i<e.tokens.length;i++){const o=e.tokens[i];if(o.type===p.name&&!o.isType&&(o.identifierRole===Ne.Access||o.identifierRole===Ne.ObjectShorthand||o.identifierRole===Ne.ExportAccess)&&!o.shadowsGlobal&&s.add(e.identifierNameForToken(o)),o.type===p.jsxTagStart&&s.add(r.base),o.type===p.jsxTagStart&&i+1<e.tokens.length&&e.tokens[i+1].type===p.jsxTagEnd&&(s.add(r.base),s.add(r.fragmentBase)),o.type===p.jsxName&&o.identifierRole===Ne.Access){const a=e.identifierNameForToken(o);(!Xb(a)||e.tokens[i+1].type===p.dot)&&s.add(e.identifierNameForToken(o))}}return s}class En{__init(){this.nonTypeIdentifiers=new Set}__init2(){this.importInfoByPath=new Map}__init3(){this.importsToReplace=new Map}__init4(){this.identifierReplacements=new Map}__init5(){this.exportBindingsByLocalName=new Map}constructor(t,r,s,i,o,a,h){this.nameManager=t,this.tokens=r,this.enableLegacyTypeScriptModuleInterop=s,this.options=i,this.isTypeScriptTransformEnabled=o,this.keepUnusedImports=a,this.helperManager=h,En.prototype.__init.call(this),En.prototype.__init2.call(this),En.prototype.__init3.call(this),En.prototype.__init4.call(this),En.prototype.__init5.call(this)}preprocessTokens(){for(let t=0;t<this.tokens.tokens.length;t++)this.tokens.matches1AtIndex(t,p._import)&&!this.tokens.matches3AtIndex(t,p._import,p.name,p.eq)&&this.preprocessImportAtIndex(t),this.tokens.matches1AtIndex(t,p._export)&&!this.tokens.matches2AtIndex(t,p._export,p.eq)&&this.preprocessExportAtIndex(t);this.generateImportReplacements()}pruneTypeOnlyImports(){this.nonTypeIdentifiers=Kb(this.tokens,this.options);for(const[t,r]of this.importInfoByPath.entries()){if(r.hasBareImport||r.hasStarExport||r.exportStarNames.length>0||r.namedExports.length>0)continue;[...r.defaultNames,...r.wildcardNames,...r.namedImports.map(({localName:i})=>i)].every(i=>this.shouldAutomaticallyElideImportedName(i))&&this.importsToReplace.set(t,"")}}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}generateImportReplacements(){for(const[t,r]of this.importInfoByPath.entries()){const{defaultNames:s,wildcardNames:i,namedImports:o,namedExports:a,exportStarNames:h,hasStarExport:l}=r;if(s.length===0&&i.length===0&&o.length===0&&a.length===0&&h.length===0&&!l){this.importsToReplace.set(t,`require('${t}');`);continue}const f=this.getFreeIdentifierForPath(t);let d;this.enableLegacyTypeScriptModuleInterop?d=f:d=i.length>0?i[0]:this.getFreeIdentifierForPath(t);let g=`var ${f} = require('${t}');`;if(i.length>0)for(const y of i){const v=this.enableLegacyTypeScriptModuleInterop?f:`${this.helperManager.getHelperName("interopRequireWildcard")}(${f})`;g+=` var ${y} = ${v};`}else h.length>0&&d!==f?g+=` var ${d} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${f});`:s.length>0&&d!==f&&(g+=` var ${d} = ${this.helperManager.getHelperName("interopRequireDefault")}(${f});`);for(const{importedName:y,localName:v}of a)g+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${f}, '${v}', '${y}');`;for(const y of h)g+=` exports.${y} = ${d};`;l&&(g+=` ${this.helperManager.getHelperName("createStarExport")}(${f});`),this.importsToReplace.set(t,g);for(const y of s)this.identifierReplacements.set(y,`${d}.default`);for(const{importedName:y,localName:v}of o)this.identifierReplacements.set(v,`${f}.${y}`)}}getFreeIdentifierForPath(t){const r=t.split("/"),i=r[r.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${i}`)}preprocessImportAtIndex(t){const r=[],s=[],i=[];if(t++,(this.tokens.matchesContextualAtIndex(t,H._type)||this.tokens.matches1AtIndex(t,p._typeof))&&!this.tokens.matches1AtIndex(t+1,p.comma)&&!this.tokens.matchesContextualAtIndex(t+1,H._from)||this.tokens.matches1AtIndex(t,p.parenL))return;if(this.tokens.matches1AtIndex(t,p.name)&&(r.push(this.tokens.identifierNameAtIndex(t)),t++,this.tokens.matches1AtIndex(t,p.comma)&&t++),this.tokens.matches1AtIndex(t,p.star)&&(t+=2,s.push(this.tokens.identifierNameAtIndex(t)),t++),this.tokens.matches1AtIndex(t,p.braceL)){const h=this.getNamedImports(t+1);t=h.newIndex;for(const l of h.namedImports)l.importedName==="default"?r.push(l.localName):i.push(l)}if(this.tokens.matchesContextualAtIndex(t,H._from)&&t++,!this.tokens.matches1AtIndex(t,p.string))throw new Error("Expected string token at the end of import statement.");const o=this.tokens.stringValueAtIndex(t),a=this.getImportInfo(o);a.defaultNames.push(...r),a.wildcardNames.push(...s),a.namedImports.push(...i),r.length===0&&s.length===0&&i.length===0&&(a.hasBareImport=!0)}preprocessExportAtIndex(t){if(this.tokens.matches2AtIndex(t,p._export,p._var)||this.tokens.matches2AtIndex(t,p._export,p._let)||this.tokens.matches2AtIndex(t,p._export,p._const))this.preprocessVarExportAtIndex(t);else if(this.tokens.matches2AtIndex(t,p._export,p._function)||this.tokens.matches2AtIndex(t,p._export,p._class)){const r=this.tokens.identifierNameAtIndex(t+2);this.addExportBinding(r,r)}else if(this.tokens.matches3AtIndex(t,p._export,p.name,p._function)){const r=this.tokens.identifierNameAtIndex(t+3);this.addExportBinding(r,r)}else this.tokens.matches2AtIndex(t,p._export,p.braceL)?this.preprocessNamedExportAtIndex(t):this.tokens.matches2AtIndex(t,p._export,p.star)&&this.preprocessExportStarAtIndex(t)}preprocessVarExportAtIndex(t){let r=0;for(let s=t+2;;s++)if(this.tokens.matches1AtIndex(s,p.braceL)||this.tokens.matches1AtIndex(s,p.dollarBraceL)||this.tokens.matches1AtIndex(s,p.bracketL))r++;else if(this.tokens.matches1AtIndex(s,p.braceR)||this.tokens.matches1AtIndex(s,p.bracketR))r--;else{if(r===0&&!this.tokens.matches1AtIndex(s,p.name))break;if(this.tokens.matches1AtIndex(1,p.eq)){const i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected = token with an end index.");s=i-1}else{const i=this.tokens.tokens[s];if(Mb(i)){const o=this.tokens.identifierNameAtIndex(s);this.identifierReplacements.set(o,`exports.${o}`)}}}}preprocessNamedExportAtIndex(t){t+=2;const{newIndex:r,namedImports:s}=this.getNamedImports(t);if(t=r,this.tokens.matchesContextualAtIndex(t,H._from))t++;else{for(const{importedName:a,localName:h}of s)this.addExportBinding(a,h);return}if(!this.tokens.matches1AtIndex(t,p.string))throw new Error("Expected string token at the end of import statement.");const i=this.tokens.stringValueAtIndex(t);this.getImportInfo(i).namedExports.push(...s)}preprocessExportStarAtIndex(t){let r=null;if(this.tokens.matches3AtIndex(t,p._export,p.star,p._as)?(t+=3,r=this.tokens.identifierNameAtIndex(t),t+=2):t+=3,!this.tokens.matches1AtIndex(t,p.string))throw new Error("Expected string token at the end of star export statement.");const s=this.tokens.stringValueAtIndex(t),i=this.getImportInfo(s);r!==null?i.exportStarNames.push(r):i.hasStarExport=!0}getNamedImports(t){const r=[];for(;;){if(this.tokens.matches1AtIndex(t,p.braceR)){t++;break}const s=jo(this.tokens,t);if(t=s.endIndex,s.isType||r.push({importedName:s.leftName,localName:s.rightName}),this.tokens.matches2AtIndex(t,p.comma,p.braceR)){t+=2;break}else if(this.tokens.matches1AtIndex(t,p.braceR)){t++;break}else if(this.tokens.matches1AtIndex(t,p.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[t])}`)}return{newIndex:t,namedImports:r}}getImportInfo(t){const r=this.importInfoByPath.get(t);if(r)return r;const s={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(t,s),s}addExportBinding(t,r){this.exportBindingsByLocalName.has(t)||this.exportBindingsByLocalName.set(t,[]),this.exportBindingsByLocalName.get(t).push(r)}claimImportCode(t){const r=this.importsToReplace.get(t);return this.importsToReplace.set(t,""),r||""}getIdentifierReplacement(t){return this.identifierReplacements.get(t)||null}resolveExportBinding(t){const r=this.exportBindingsByLocalName.get(t);return!r||r.length===0?null:r.map(s=>`exports.${s}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}var Fp={exports:{}},tl={exports:{}},uv;function GL(){return uv||(uv=1,function(e,t){(function(r,s){s(t)})(jr,function(r){class s{constructor(){this._indexes={__proto__:null},this.array=[]}}function i(f){return f}function o(f,d){return f._indexes[d]}function a(f,d){const g=o(f,d);if(g!==void 0)return g;const{array:y,_indexes:v}=f,w=y.push(d);return v[d]=w-1}function h(f){const{array:d,_indexes:g}=f;if(d.length===0)return;const y=d.pop();g[y]=void 0}function l(f,d){const g=o(f,d);if(g===void 0)return;const{array:y,_indexes:v}=f;for(let w=g+1;w<y.length;w++){const _=y[w];y[w-1]=_,v[_]--}v[d]=void 0,y.pop()}r.SetArray=s,r.get=o,r.pop=h,r.put=a,r.remove=l,Object.defineProperty(r,"__esModule",{value:!0})})}(tl,tl.exports)),tl.exports}var rl={exports:{}},hv;function Yb(){return hv||(hv=1,function(e,t){(function(r,s){s(t)})(jr,function(r){const o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(64),h=new Uint8Array(128);for(let L=0;L<o.length;L++){const z=o.charCodeAt(L);a[L]=z,h[z]=L}function l(L,z){let J=0,re=0,V=0;do{const G=L.next();V=h[G],J|=(V&31)<<re,re+=5}while(V&32);const ee=J&1;return J>>>=1,ee&&(J=-2147483648|-J),z+J}function f(L,z,J){let re=z-J;re=re<0?-re<<1|1:re<<1;do{let V=re&31;re>>>=5,re>0&&(V|=32),L.write(a[V])}while(re>0);return z}function d(L,z){return L.pos>=z?!1:L.peek()!==44}const g=1024*16,y=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(L){return Buffer.from(L.buffer,L.byteOffset,L.byteLength).toString()}}:{decode(L){let z="";for(let J=0;J<L.length;J++)z+=String.fromCharCode(L[J]);return z}};class v{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(g)}write(z){const{buffer:J}=this;J[this.pos++]=z,this.pos===g&&(this.out+=y.decode(J),this.pos=0)}flush(){const{buffer:z,out:J,pos:re}=this;return re>0?J+y.decode(z.subarray(0,re)):J}}class w{constructor(z){this.pos=0,this.buffer=z}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(z){const{buffer:J,pos:re}=this,V=J.indexOf(z,re);return V===-1?J.length:V}}const _=[];function S(L){const{length:z}=L,J=new w(L),re=[],V=[];let ee=0;for(;J.pos<z;J.pos++){ee=l(J,ee);const G=l(J,0);if(!d(J,z)){const K=V.pop();K[2]=ee,K[3]=G;continue}const Q=l(J,0),ne=l(J,0)&1?[ee,G,0,0,Q,l(J,0)]:[ee,G,0,0,Q];let W=_;if(d(J,z)){W=[];do{const K=l(J,0);W.push(K)}while(d(J,z))}ne.vars=W,re.push(ne),V.push(ne)}return re}function k(L){const z=new v;for(let J=0;J<L.length;)J=E(L,J,z,[0]);return z.flush()}function E(L,z,J,re){const V=L[z],{0:ee,1:G,2:Q,3:ie,4:ce,vars:ne}=V;z>0&&J.write(44),re[0]=f(J,ee,re[0]),f(J,G,0),f(J,ce,0);const W=V.length===6?1:0;f(J,W,0),V.length===6&&f(J,V[5],0);for(const K of ne)f(J,K,0);for(z++;z<L.length;){const K=L[z],{0:j,1:B}=K;if(j>Q||j===Q&&B>=ie)break;z=E(L,z,J,re)}return J.write(44),re[0]=f(J,Q,re[0]),f(J,ie,0),z}function P(L){const{length:z}=L,J=new w(L),re=[],V=[];let ee=0,G=0,Q=0,ie=0,ce=0,ne=0,W=0,K=0;do{const j=J.indexOf(";");let B=0;for(;J.pos<j;J.pos++){if(B=l(J,B),!d(J,j)){const xe=V.pop();xe[2]=ee,xe[3]=B;continue}const Z=l(J,0),U=Z&1,se=Z&2,ae=Z&4;let de=null,pe=_,ve;if(U){const xe=l(J,G);Q=l(J,G===xe?Q:0),G=xe,ve=[ee,B,0,0,xe,Q]}else ve=[ee,B,0,0];if(ve.isScope=!!ae,se){const xe=ie,we=ce;ie=l(J,ie);const De=xe===ie;ce=l(J,De?ce:0),ne=l(J,De&&we===ce?ne:0),de=[ie,ce,ne]}if(ve.callsite=de,d(J,j)){pe=[];do{W=ee,K=B;const xe=l(J,0);let we;if(xe<-1){we=[[l(J,0)]];for(let De=-1;De>xe;De--){const tt=W;W=l(J,W),K=l(J,W===tt?K:0);const qe=l(J,0);we.push([qe,W,K])}}else we=[[xe]];pe.push(we)}while(d(J,j))}ve.bindings=pe,re.push(ve),V.push(ve)}ee++,J.pos=j+1}while(J.pos<z);return re}function O(L){if(L.length===0)return"";const z=new v;for(let J=0;J<L.length;)J=A(L,J,z,[0,0,0,0,0,0,0]);return z.flush()}function A(L,z,J,re){const V=L[z],{0:ee,1:G,2:Q,3:ie,isScope:ce,callsite:ne,bindings:W}=V;re[0]<ee?(M(J,re[0],ee),re[0]=ee,re[1]=0):z>0&&J.write(44),re[1]=f(J,V[1],re[1]);const K=(V.length===6?1:0)|(ne?2:0)|(ce?4:0);if(f(J,K,0),V.length===6){const{4:j,5:B}=V;j!==re[2]&&(re[3]=0),re[2]=f(J,j,re[2]),re[3]=f(J,B,re[3])}if(ne){const{0:j,1:B,2:Z}=V.callsite;j!==re[4]?(re[5]=0,re[6]=0):B!==re[5]&&(re[6]=0),re[4]=f(J,j,re[4]),re[5]=f(J,B,re[5]),re[6]=f(J,Z,re[6])}if(W)for(const j of W){j.length>1&&f(J,-j.length,0);const B=j[0][0];f(J,B,0);let Z=ee,U=G;for(let se=1;se<j.length;se++){const ae=j[se];Z=f(J,ae[1],Z),U=f(J,ae[2],U),f(J,ae[0],0)}}for(z++;z<L.length;){const j=L[z],{0:B,1:Z}=j;if(B>Q||B===Q&&Z>=ie)break;z=A(L,z,J,re)}return re[0]<Q?(M(J,re[0],Q),re[0]=Q,re[1]=0):J.write(44),re[1]=f(J,ie,re[1]),z}function M(L,z,J){do L.write(59);while(++z<J)}function F(L){const{length:z}=L,J=new w(L),re=[];let V=0,ee=0,G=0,Q=0,ie=0;do{const ce=J.indexOf(";"),ne=[];let W=!0,K=0;for(V=0;J.pos<ce;){let j;V=l(J,V),V<K&&(W=!1),K=V,d(J,ce)?(ee=l(J,ee),G=l(J,G),Q=l(J,Q),d(J,ce)?(ie=l(J,ie),j=[V,ee,G,Q,ie]):j=[V,ee,G,Q]):j=[V],ne.push(j),J.pos++}W||x(ne),re.push(ne),J.pos=ce+1}while(J.pos<=z);return re}function x(L){L.sort(I)}function I(L,z){return L[0]-z[0]}function R(L){const z=new v;let J=0,re=0,V=0,ee=0;for(let G=0;G<L.length;G++){const Q=L[G];if(G>0&&z.write(59),Q.length===0)continue;let ie=0;for(let ce=0;ce<Q.length;ce++){const ne=Q[ce];ce>0&&z.write(44),ie=f(z,ne[0],ie),ne.length!==1&&(J=f(z,ne[1],J),re=f(z,ne[2],re),V=f(z,ne[3],V),ne.length!==4&&(ee=f(z,ne[4],ee)))}}return z.flush()}r.decode=F,r.decodeGeneratedRanges=P,r.decodeOriginalScopes=S,r.encode=R,r.encodeGeneratedRanges=O,r.encodeOriginalScopes=k,Object.defineProperty(r,"__esModule",{value:!0})})}(rl,rl.exports)),rl.exports}var sl={exports:{}},Gh={exports:{}},pv;function zL(){return pv||(pv=1,function(e,t){(function(r,s){e.exports=s()})(jr,function(){const r=/^[\w+.-]+:\/\//,s=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,i=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function o(E){return r.test(E)}function a(E){return E.startsWith("//")}function h(E){return E.startsWith("/")}function l(E){return E.startsWith("file:")}function f(E){return/^[.?#]/.test(E)}function d(E){const P=s.exec(E);return y(P[1],P[2]||"",P[3],P[4]||"",P[5]||"/",P[6]||"",P[7]||"")}function g(E){const P=i.exec(E),O=P[2];return y("file:","",P[1]||"","",h(O)?O:"/"+O,P[3]||"",P[4]||"")}function y(E,P,O,A,M,F,x){return{scheme:E,user:P,host:O,port:A,path:M,query:F,hash:x,type:7}}function v(E){if(a(E)){const O=d("http:"+E);return O.scheme="",O.type=6,O}if(h(E)){const O=d("http://foo.com"+E);return O.scheme="",O.host="",O.type=5,O}if(l(E))return g(E);if(o(E))return d(E);const P=d("http://foo.com/"+E);return P.scheme="",P.host="",P.type=E?E.startsWith("?")?3:E.startsWith("#")?2:4:1,P}function w(E){if(E.endsWith("/.."))return E;const P=E.lastIndexOf("/");return E.slice(0,P+1)}function _(E,P){S(P,P.type),E.path==="/"?E.path=P.path:E.path=w(P.path)+E.path}function S(E,P){const O=P<=4,A=E.path.split("/");let M=1,F=0,x=!1;for(let R=1;R<A.length;R++){const L=A[R];if(!L){x=!0;continue}if(x=!1,L!=="."){if(L===".."){F?(x=!0,F--,M--):O&&(A[M++]=L);continue}A[M++]=L,F++}}let I="";for(let R=1;R<M;R++)I+="/"+A[R];(!I||x&&!I.endsWith("/.."))&&(I+="/"),E.path=I}function k(E,P){if(!E&&!P)return"";const O=v(E);let A=O.type;if(P&&A!==7){const F=v(P),x=F.type;switch(A){case 1:O.hash=F.hash;case 2:O.query=F.query;case 3:case 4:_(O,F);case 5:O.user=F.user,O.host=F.host,O.port=F.port;case 6:O.scheme=F.scheme}x>A&&(A=x)}S(O,A);const M=O.query+O.hash;switch(A){case 2:case 3:return M;case 4:{const F=O.path.slice(1);return F?f(P||E)&&!f(F)?"./"+F+M:F+M:M||"."}case 5:return O.path+M;default:return O.scheme+"//"+O.user+O.host+O.port+O.path+M}}return k})}(Gh)),Gh.exports}var fv;function HL(){return fv||(fv=1,function(e,t){(function(r,s){s(t,Yb(),zL())})(jr,function(r,s,i){function o(oe,me){return me&&!me.endsWith("/")&&(me+="/"),i(oe,me)}function a(oe){if(!oe)return"";const me=oe.lastIndexOf("/");return oe.slice(0,me+1)}const h=0,l=1,f=2,d=3,g=4,y=1,v=2;function w(oe,me){const ye=_(oe,0);if(ye===oe.length)return oe;me||(oe=oe.slice());for(let Se=ye;Se<oe.length;Se=_(oe,Se+1))oe[Se]=k(oe[Se],me);return oe}function _(oe,me){for(let ye=me;ye<oe.length;ye++)if(!S(oe[ye]))return ye;return oe.length}function S(oe){for(let me=1;me<oe.length;me++)if(oe[me][h]<oe[me-1][h])return!1;return!0}function k(oe,me){return me||(oe=oe.slice()),oe.sort(E)}function E(oe,me){return oe[h]-me[h]}let P=!1;function O(oe,me,ye,Se){for(;ye<=Se;){const Oe=ye+(Se-ye>>1),ke=oe[Oe][h]-me;if(ke===0)return P=!0,Oe;ke<0?ye=Oe+1:Se=Oe-1}return P=!1,ye-1}function A(oe,me,ye){for(let Se=ye+1;Se<oe.length&&oe[Se][h]===me;ye=Se++);return ye}function M(oe,me,ye){for(let Se=ye-1;Se>=0&&oe[Se][h]===me;ye=Se--);return ye}function F(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function x(oe,me,ye,Se){const{lastKey:Oe,lastNeedle:ke,lastIndex:We}=ye;let Xe=0,Fe=oe.length-1;if(Se===Oe){if(me===ke)return P=We!==-1&&oe[We][h]===me,We;me>=ke?Xe=We===-1?0:We:Fe=We}return ye.lastKey=Se,ye.lastNeedle=me,ye.lastIndex=O(oe,me,Xe,Fe)}function I(oe,me){const ye=me.map(L);for(let Se=0;Se<oe.length;Se++){const Oe=oe[Se];for(let ke=0;ke<Oe.length;ke++){const We=Oe[ke];if(We.length===1)continue;const Xe=We[l],Fe=We[f],Ye=We[d],kt=ye[Xe],Je=kt[Fe]||(kt[Fe]=[]),Qe=me[Xe];let Tt=A(Je,Ye,x(Je,Ye,Qe,Fe));Qe.lastIndex=++Tt,R(Je,Tt,[Ye,Se,We[h]])}}return ye}function R(oe,me,ye){for(let Se=oe.length;Se>me;Se--)oe[Se]=oe[Se-1];oe[me]=ye}function L(){return{__proto__:null}}const z=function(oe,me){const ye=J(oe);if(!("sections"in ye))return new W(ye,me);const Se=[],Oe=[],ke=[],We=[],Xe=[];re(ye,me,Se,Oe,ke,We,Xe,0,0,1/0,1/0);const Fe={version:3,file:ye.file,names:We,sources:Oe,sourcesContent:ke,mappings:Se,ignoreList:Xe};return we(Fe)};function J(oe){return typeof oe=="string"?JSON.parse(oe):oe}function re(oe,me,ye,Se,Oe,ke,We,Xe,Fe,Ye,kt){const{sections:Je}=oe;for(let Qe=0;Qe<Je.length;Qe++){const{map:Tt,offset:Yt}=Je[Qe];let yr=Ye,Ar=kt;if(Qe+1<Je.length){const vr=Je[Qe+1].offset;yr=Math.min(Ye,Xe+vr.line),yr===Ye?Ar=Math.min(kt,Fe+vr.column):yr<Ye&&(Ar=Fe+vr.column)}V(Tt,me,ye,Se,Oe,ke,We,Xe+Yt.line,Fe+Yt.column,yr,Ar)}}function V(oe,me,ye,Se,Oe,ke,We,Xe,Fe,Ye,kt){const Je=J(oe);if("sections"in Je)return re(...arguments);const Qe=new W(Je,me),Tt=Se.length,Yt=ke.length,yr=B(Qe),{resolvedSources:Ar,sourcesContent:vr,ignoreList:Wr}=Qe;if(ee(Se,Ar),ee(ke,Qe.names),vr)ee(Oe,vr);else for(let Rt=0;Rt<Ar.length;Rt++)Oe.push(null);if(Wr)for(let Rt=0;Rt<Wr.length;Rt++)We.push(Wr[Rt]+Tt);for(let Rt=0;Rt<yr.length;Rt++){const Gr=Xe+Rt;if(Gr>Ye)return;const Ls=G(ye,Gr),hn=Rt===0?Fe:0,Rs=yr[Rt];for(let gs=0;gs<Rs.length;gs++){const rr=Rs[gs],Ir=hn+rr[h];if(Gr===Ye&&Ir>=kt)return;if(rr.length===1){Ls.push([Ir]);continue}const Ms=Tt+rr[l],Ds=rr[f],Fs=rr[d];Ls.push(rr.length===4?[Ir,Ms,Ds,Fs]:[Ir,Ms,Ds,Fs,Yt+rr[g]])}}}function ee(oe,me){for(let ye=0;ye<me.length;ye++)oe.push(me[ye])}function G(oe,me){for(let ye=oe.length;ye<=me;ye++)oe[ye]=[];return oe[me]}const Q="`line` must be greater than 0 (lines start at line 1)",ie="`column` must be greater than or equal to 0 (columns start at column 0)",ce=-1,ne=1;class W{constructor(me,ye){const Se=typeof me=="string";if(!Se&&me._decodedMemo)return me;const Oe=Se?JSON.parse(me):me,{version:ke,file:We,names:Xe,sourceRoot:Fe,sources:Ye,sourcesContent:kt}=Oe;this.version=ke,this.file=We,this.names=Xe||[],this.sourceRoot=Fe,this.sources=Ye,this.sourcesContent=kt,this.ignoreList=Oe.ignoreList||Oe.x_google_ignoreList||void 0;const Je=o(Fe||"",a(ye));this.resolvedSources=Ye.map(Tt=>o(Tt||"",Je));const{mappings:Qe}=Oe;typeof Qe=="string"?(this._encoded=Qe,this._decoded=void 0):(this._encoded=void 0,this._decoded=w(Qe,Se)),this._decodedMemo=F(),this._bySources=void 0,this._bySourceMemos=void 0}}function K(oe){return oe}function j(oe){var me,ye;return(me=(ye=oe)._encoded)!==null&&me!==void 0?me:ye._encoded=s.encode(oe._decoded)}function B(oe){var me;return(me=oe)._decoded||(me._decoded=s.decode(oe._encoded))}function Z(oe,me,ye){const Se=B(oe);if(me>=Se.length)return null;const Oe=Se[me],ke=ht(Oe,oe._decodedMemo,me,ye,ne);return ke===-1?null:Oe[ke]}function U(oe,me){let{line:ye,column:Se,bias:Oe}=me;if(ye--,ye<0)throw new Error(Q);if(Se<0)throw new Error(ie);const ke=B(oe);if(ye>=ke.length)return ze(null,null,null,null);const We=ke[ye],Xe=ht(We,oe._decodedMemo,ye,Se,Oe||ne);if(Xe===-1)return ze(null,null,null,null);const Fe=We[Xe];if(Fe.length===1)return ze(null,null,null,null);const{names:Ye,resolvedSources:kt}=oe;return ze(kt[Fe[l]],Fe[f]+1,Fe[d],Fe.length===5?Ye[Fe[g]]:null)}function se(oe,me){const{source:ye,line:Se,column:Oe,bias:ke}=me;return pt(oe,ye,Se,Oe,ke||ne,!1)}function ae(oe,me){const{source:ye,line:Se,column:Oe,bias:ke}=me;return pt(oe,ye,Se,Oe,ke||ce,!0)}function de(oe,me){const ye=B(oe),{names:Se,resolvedSources:Oe}=oe;for(let ke=0;ke<ye.length;ke++){const We=ye[ke];for(let Xe=0;Xe<We.length;Xe++){const Fe=We[Xe],Ye=ke+1,kt=Fe[0];let Je=null,Qe=null,Tt=null,Yt=null;Fe.length!==1&&(Je=Oe[Fe[1]],Qe=Fe[2]+1,Tt=Fe[3]),Fe.length===5&&(Yt=Se[Fe[4]]),me({generatedLine:Ye,generatedColumn:kt,source:Je,originalLine:Qe,originalColumn:Tt,name:Yt})}}}function pe(oe,me){const{sources:ye,resolvedSources:Se}=oe;let Oe=ye.indexOf(me);return Oe===-1&&(Oe=Se.indexOf(me)),Oe}function ve(oe,me){const{sourcesContent:ye}=oe;if(ye==null)return null;const Se=pe(oe,me);return Se===-1?null:ye[Se]}function xe(oe,me){const{ignoreList:ye}=oe;if(ye==null)return!1;const Se=pe(oe,me);return Se===-1?!1:ye.includes(Se)}function we(oe,me){const ye=new W(qe(oe,[]),me);return ye._decoded=oe.mappings,ye}function De(oe){return qe(oe,B(oe))}function tt(oe){return qe(oe,j(oe))}function qe(oe,me){return{version:oe.version,file:oe.file,names:oe.names,sourceRoot:oe.sourceRoot,sources:oe.sources,sourcesContent:oe.sourcesContent,mappings:me,ignoreList:oe.ignoreList||oe.x_google_ignoreList}}function ze(oe,me,ye,Se){return{source:oe,line:me,column:ye,name:Se}}function Ve(oe,me){return{line:oe,column:me}}function ht(oe,me,ye,Se,Oe){let ke=x(oe,Se,me,ye);return P?ke=(Oe===ce?A:M)(oe,Se,ke):Oe===ce&&ke++,ke===-1||ke===oe.length?-1:ke}function xt(oe,me,ye,Se,Oe){let ke=ht(oe,me,ye,Se,ne);if(!P&&Oe===ce&&ke++,ke===-1||ke===oe.length)return[];const We=P?Se:oe[ke][h];P||(ke=M(oe,We,ke));const Xe=A(oe,We,ke),Fe=[];for(;ke<=Xe;ke++){const Ye=oe[ke];Fe.push(Ve(Ye[y]+1,Ye[v]))}return Fe}function pt(oe,me,ye,Se,Oe,ke){var We;if(ye--,ye<0)throw new Error(Q);if(Se<0)throw new Error(ie);const{sources:Xe,resolvedSources:Fe}=oe;let Ye=Xe.indexOf(me);if(Ye===-1&&(Ye=Fe.indexOf(me)),Ye===-1)return ke?[]:Ve(null,null);const Je=((We=oe)._bySources||(We._bySources=I(B(oe),oe._bySourceMemos=Xe.map(F))))[Ye][ye];if(Je==null)return ke?[]:Ve(null,null);const Qe=oe._bySourceMemos[Ye];if(ke)return xt(Je,Qe,ye,Se,Oe);const Tt=ht(Je,Qe,ye,Se,Oe);if(Tt===-1)return Ve(null,null);const Yt=Je[Tt];return Ve(Yt[y]+1,Yt[v])}r.AnyMap=z,r.GREATEST_LOWER_BOUND=ne,r.LEAST_UPPER_BOUND=ce,r.TraceMap=W,r.allGeneratedPositionsFor=ae,r.decodedMap=De,r.decodedMappings=B,r.eachMapping=de,r.encodedMap=tt,r.encodedMappings=j,r.generatedPositionFor=se,r.isIgnored=xe,r.originalPositionFor=U,r.presortedDecodedMap=we,r.sourceContentFor=ve,r.traceSegment=Z})}(sl,sl.exports)),sl.exports}(function(e,t){(function(r,s){s(t,GL(),Yb(),HL())})(jr,function(r,s,i,o){class y{constructor({file:Q,sourceRoot:ie}={}){this._names=new s.SetArray,this._sources=new s.SetArray,this._sourcesContent=[],this._mappings=[],this.file=Q,this.sourceRoot=ie,this._ignoreList=new s.SetArray}}function v(G){return G}function w(G,Q,ie,ce,ne,W,K,j){return x(!1,G,Q,ie,ce,ne,W,K,j)}function _(G,Q){return ee(!1,G,Q)}const S=(G,Q,ie,ce,ne,W,K,j)=>x(!0,G,Q,ie,ce,ne,W,K,j),k=(G,Q)=>ee(!0,G,Q);function E(G,Q,ie){const{_sources:ce,_sourcesContent:ne}=G,W=s.put(ce,Q);ne[W]=ie}function P(G,Q,ie=!0){const{_sources:ce,_sourcesContent:ne,_ignoreList:W}=G,K=s.put(ce,Q);K===ne.length&&(ne[K]=null),ie?s.put(W,K):s.remove(W,K)}function O(G){const{_mappings:Q,_sources:ie,_sourcesContent:ce,_names:ne,_ignoreList:W}=G;return z(Q),{version:3,file:G.file||void 0,names:ne.array,sourceRoot:G.sourceRoot||void 0,sources:ie.array,sourcesContent:ce,mappings:Q,ignoreList:W.array}}function A(G){const Q=O(G);return Object.assign(Object.assign({},Q),{mappings:i.encode(Q.mappings)})}function M(G){const Q=new o.TraceMap(G),ie=new y({file:Q.file,sourceRoot:Q.sourceRoot});return J(ie._names,Q.names),J(ie._sources,Q.sources),ie._sourcesContent=Q.sourcesContent||Q.sources.map(()=>null),ie._mappings=o.decodedMappings(Q),Q.ignoreList&&J(ie._ignoreList,Q.ignoreList),ie}function F(G){const Q=[],{_mappings:ie,_sources:ce,_names:ne}=G;for(let W=0;W<ie.length;W++){const K=ie[W];for(let j=0;j<K.length;j++){const B=K[j],Z={line:W+1,column:B[0]};let U,se,ae;B.length!==1&&(U=ce.array[B[1]],se={line:B[2]+1,column:B[3]},B.length===5&&(ae=ne.array[B[4]])),Q.push({generated:Z,source:U,original:se,name:ae})}}return Q}function x(G,Q,ie,ce,ne,W,K,j,B){const{_mappings:Z,_sources:U,_sourcesContent:se,_names:ae}=Q,de=I(Z,ie),pe=R(de,ce);if(!ne)return G&&re(de,pe)?void 0:L(de,pe,[ce]);const ve=s.put(U,ne),xe=j?s.put(ae,j):-1;if(ve===se.length&&(se[ve]=B??null),!(G&&V(de,pe,ve,W,K,xe)))return L(de,pe,j?[ce,ve,W,K,xe]:[ce,ve,W,K])}function I(G,Q){for(let ie=G.length;ie<=Q;ie++)G[ie]=[];return G[Q]}function R(G,Q){let ie=G.length;for(let ce=ie-1;ce>=0;ie=ce--){const ne=G[ce];if(Q>=ne[0])break}return ie}function L(G,Q,ie){for(let ce=G.length;ce>Q;ce--)G[ce]=G[ce-1];G[Q]=ie}function z(G){const{length:Q}=G;let ie=Q;for(let ce=ie-1;ce>=0&&!(G[ce].length>0);ie=ce,ce--);ie<Q&&(G.length=ie)}function J(G,Q){for(let ie=0;ie<Q.length;ie++)s.put(G,Q[ie])}function re(G,Q){return Q===0?!0:G[Q-1].length===1}function V(G,Q,ie,ce,ne,W){if(Q===0)return!1;const K=G[Q-1];return K.length===1?!1:ie===K[1]&&ce===K[2]&&ne===K[3]&&W===(K.length===5?K[4]:-1)}function ee(G,Q,ie){const{generated:ce,source:ne,original:W,name:K,content:j}=ie;return ne?x(G,Q,ce.line-1,ce.column,ne,W.line-1,W.column,K,j):x(G,Q,ce.line-1,ce.column,null,null,null,null,null)}r.GenMapping=y,r.addMapping=_,r.addSegment=w,r.allMappings=F,r.fromMap=M,r.maybeAddMapping=k,r.maybeAddSegment=S,r.setIgnore=P,r.setSourceContent=E,r.toDecodedMap=O,r.toEncodedMap=A,Object.defineProperty(r,"__esModule",{value:!0})})})(Fp,Fp.exports);var ao=Fp.exports;function XL({code:e,mappings:t},r,s,i,o){const a=JL(i,o),h=new ao.GenMapping({file:s.compiledFilename});let l=0,f=t[0];for(;f===void 0&&l<t.length-1;)l++,f=t[l];let d=0,g=0;f!==g&&ao.maybeAddSegment(h,d,0,r,d,0);for(let _=0;_<e.length;_++){if(_===f){const S=f-g,k=a[l];for(ao.maybeAddSegment(h,d,S,r,d,k);(f===_||f===void 0)&&l<t.length-1;)l++,f=t[l]}e.charCodeAt(_)===te.lineFeed&&(d++,g=_+1,f!==g&&ao.maybeAddSegment(h,d,0,r,d,0))}const{sourceRoot:y,sourcesContent:v,...w}=ao.toEncodedMap(h);return w}function JL(e,t){const r=new Array(t.length);let s=0,i=t[s].start,o=0;for(let a=0;a<e.length;a++)a===i&&(r[s]=i-o,s++,i=t[s].start),e.charCodeAt(a)===te.lineFeed&&(o=a+1);return r}const KL={require:`
|
|
import {createRequire as CREATE_REQUIRE_NAME} from "module";
|
|
const require = CREATE_REQUIRE_NAME(import.meta.url);
|
|
`,interopRequireWildcard:`
|
|
function interopRequireWildcard(obj) {
|
|
if (obj && obj.__esModule) {
|
|
return obj;
|
|
} else {
|
|
var newObj = {};
|
|
if (obj != null) {
|
|
for (var key in obj) {
|
|
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
newObj[key] = obj[key];
|
|
}
|
|
}
|
|
}
|
|
newObj.default = obj;
|
|
return newObj;
|
|
}
|
|
}
|
|
`,interopRequireDefault:`
|
|
function interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
`,createNamedExportFrom:`
|
|
function createNamedExportFrom(obj, localName, importedName) {
|
|
Object.defineProperty(exports, localName, {enumerable: true, configurable: true, get: () => obj[importedName]});
|
|
}
|
|
`,createStarExport:`
|
|
function createStarExport(obj) {
|
|
Object.keys(obj)
|
|
.filter((key) => key !== "default" && key !== "__esModule")
|
|
.forEach((key) => {
|
|
if (exports.hasOwnProperty(key)) {
|
|
return;
|
|
}
|
|
Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]});
|
|
});
|
|
}
|
|
`,nullishCoalesce:`
|
|
function nullishCoalesce(lhs, rhsFn) {
|
|
if (lhs != null) {
|
|
return lhs;
|
|
} else {
|
|
return rhsFn();
|
|
}
|
|
}
|
|
`,asyncNullishCoalesce:`
|
|
async function asyncNullishCoalesce(lhs, rhsFn) {
|
|
if (lhs != null) {
|
|
return lhs;
|
|
} else {
|
|
return await rhsFn();
|
|
}
|
|
}
|
|
`,optionalChain:`
|
|
function optionalChain(ops) {
|
|
let lastAccessLHS = undefined;
|
|
let value = ops[0];
|
|
let i = 1;
|
|
while (i < ops.length) {
|
|
const op = ops[i];
|
|
const fn = ops[i + 1];
|
|
i += 2;
|
|
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
|
|
return undefined;
|
|
}
|
|
if (op === 'access' || op === 'optionalAccess') {
|
|
lastAccessLHS = value;
|
|
value = fn(value);
|
|
} else if (op === 'call' || op === 'optionalCall') {
|
|
value = fn((...args) => value.call(lastAccessLHS, ...args));
|
|
lastAccessLHS = undefined;
|
|
}
|
|
}
|
|
return value;
|
|
}
|
|
`,asyncOptionalChain:`
|
|
async function asyncOptionalChain(ops) {
|
|
let lastAccessLHS = undefined;
|
|
let value = ops[0];
|
|
let i = 1;
|
|
while (i < ops.length) {
|
|
const op = ops[i];
|
|
const fn = ops[i + 1];
|
|
i += 2;
|
|
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
|
|
return undefined;
|
|
}
|
|
if (op === 'access' || op === 'optionalAccess') {
|
|
lastAccessLHS = value;
|
|
value = await fn(value);
|
|
} else if (op === 'call' || op === 'optionalCall') {
|
|
value = await fn((...args) => value.call(lastAccessLHS, ...args));
|
|
lastAccessLHS = undefined;
|
|
}
|
|
}
|
|
return value;
|
|
}
|
|
`,optionalChainDelete:`
|
|
function optionalChainDelete(ops) {
|
|
const result = OPTIONAL_CHAIN_NAME(ops);
|
|
return result == null ? true : result;
|
|
}
|
|
`,asyncOptionalChainDelete:`
|
|
async function asyncOptionalChainDelete(ops) {
|
|
const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);
|
|
return result == null ? true : result;
|
|
}
|
|
`};class Kl{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(t){this.nameManager=t,Kl.prototype.__init.call(this),Kl.prototype.__init2.call(this)}getHelperName(t){let r=this.helperNames[t];return r||(r=this.nameManager.claimFreeName(`_${t}`),this.helperNames[t]=r,r)}emitHelpers(){let t="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(const[r,s]of Object.entries(KL)){const i=this.helperNames[r];let o=s;r==="optionalChainDelete"?o=o.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):r==="asyncOptionalChainDelete"?o=o.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):r==="require"&&(this.createRequireName===null&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),o=o.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),i&&(t+=" ",t+=o.replace(r,i).replace(/\s+/g," ").trim())}return t}}function dv(e,t,r){YL(e,r)&&QL(e,t,r)}function YL(e,t){for(const r of e.tokens)if(r.type===p.name&&!r.isType&&vL(r)&&t.has(e.identifierNameForToken(r)))return!0;return!1}function QL(e,t,r){const s=[];let i=t.length-1;for(let o=e.tokens.length-1;;o--){for(;s.length>0&&s[s.length-1].startTokenIndex===o+1;)s.pop();for(;i>=0&&t[i].endTokenIndex===o+1;)s.push(t[i]),i--;if(o<0)break;const a=e.tokens[o],h=e.identifierNameForToken(a);if(s.length>1&&!a.isType&&a.type===p.name&&r.has(h)){if(SL(a))mv(s[s.length-1],e,h);else if(_L(a)){let l=s.length-1;for(;l>0&&!s[l].isFunctionScope;)l--;if(l<0)throw new Error("Did not find parent function scope.");mv(s[l],e,h)}}}if(s.length>0)throw new Error("Expected empty scope stack after processing file.")}function mv(e,t,r){for(let s=e.startTokenIndex;s<e.endTokenIndex;s++){const i=t.tokens[s];(i.type===p.name||i.type===p.jsxName)&&t.identifierNameForToken(i)===r&&(i.shadowsGlobal=!0)}}function ZL(e,t){const r=[];for(const s of t)s.type===p.name&&r.push(e.slice(s.start,s.end));return r}class D1{__init(){this.usedNames=new Set}constructor(t,r){D1.prototype.__init.call(this),this.usedNames=new Set(ZL(t,r))}claimFreeName(t){const r=this.findFreeName(t);return this.usedNames.add(r),r}findFreeName(t){if(!this.usedNames.has(t))return t;let r=2;for(;this.usedNames.has(t+String(r));)r++;return t+String(r)}}var lt={},Bp={},hs={},eR=jr&&jr.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,i){s.__proto__=i}||function(s,i){for(var o in i)i.hasOwnProperty(o)&&(s[o]=i[o])},e(t,r)};return function(t,r){e(t,r);function s(){this.constructor=t}t.prototype=r===null?Object.create(r):(s.prototype=r.prototype,new s)}}();Object.defineProperty(hs,"__esModule",{value:!0});hs.DetailContext=hs.NoopContext=hs.VError=void 0;var Qb=function(e){eR(t,e);function t(r,s){var i=e.call(this,s)||this;return i.path=r,Object.setPrototypeOf(i,t.prototype),i}return t}(Error);hs.VError=Qb;var tR=function(){function e(){}return e.prototype.fail=function(t,r,s){return!1},e.prototype.unionResolver=function(){return this},e.prototype.createContext=function(){return this},e.prototype.resolveUnion=function(t){},e}();hs.NoopContext=tR;var Zb=function(){function e(){this._propNames=[""],this._messages=[null],this._score=0}return e.prototype.fail=function(t,r,s){return this._propNames.push(t),this._messages.push(r),this._score+=s,!1},e.prototype.unionResolver=function(){return new rR},e.prototype.resolveUnion=function(t){for(var r,s,i=t,o=null,a=0,h=i.contexts;a<h.length;a++){var l=h[a];(!o||l._score>=o._score)&&(o=l)}o&&o._score>0&&((r=this._propNames).push.apply(r,o._propNames),(s=this._messages).push.apply(s,o._messages))},e.prototype.getError=function(t){for(var r=[],s=this._propNames.length-1;s>=0;s--){var i=this._propNames[s];t+=typeof i=="number"?"["+i+"]":i?"."+i:"";var o=this._messages[s];o&&r.push(t+" "+o)}return new Qb(t,r.join("; "))},e.prototype.getErrorDetail=function(t){for(var r=[],s=this._propNames.length-1;s>=0;s--){var i=this._propNames[s];t+=typeof i=="number"?"["+i+"]":i?"."+i:"";var o=this._messages[s];o&&r.push({path:t,message:o})}for(var a=null,s=r.length-1;s>=0;s--)a&&(r[s].nested=[a]),a=r[s];return a},e}();hs.DetailContext=Zb;var rR=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var t=new Zb;return this.contexts.push(t),t},e}();(function(e){var t=jr&&jr.__extends||function(){var B=function(Z,U){return B=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,ae){se.__proto__=ae}||function(se,ae){for(var de in ae)ae.hasOwnProperty(de)&&(se[de]=ae[de])},B(Z,U)};return function(Z,U){B(Z,U);function se(){this.constructor=Z}Z.prototype=U===null?Object.create(U):(se.prototype=U.prototype,new se)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.basicTypes=e.BasicType=e.TParamList=e.TParam=e.param=e.TFunc=e.func=e.TProp=e.TOptional=e.opt=e.TIface=e.iface=e.TEnumLiteral=e.enumlit=e.TEnumType=e.enumtype=e.TIntersection=e.intersection=e.TUnion=e.union=e.TTuple=e.tuple=e.TArray=e.array=e.TLiteral=e.lit=e.TName=e.name=e.TType=void 0;var r=hs,s=function(){function B(){}return B}();e.TType=s;function i(B){return typeof B=="string"?a(B):B}function o(B,Z){var U=B[Z];if(!U)throw new Error("Unknown type "+Z);return U}function a(B){return new h(B)}e.name=a;var h=function(B){t(Z,B);function Z(U){var se=B.call(this)||this;return se.name=U,se._failMsg="is not a "+U,se}return Z.prototype.getChecker=function(U,se,ae){var de=this,pe=o(U,this.name),ve=pe.getChecker(U,se,ae);return pe instanceof Q||pe instanceof Z?ve:function(xe,we){return ve(xe,we)?!0:we.fail(null,de._failMsg,0)}},Z}(s);e.TName=h;function l(B){return new f(B)}e.lit=l;var f=function(B){t(Z,B);function Z(U){var se=B.call(this)||this;return se.value=U,se.name=JSON.stringify(U),se._failMsg="is not "+se.name,se}return Z.prototype.getChecker=function(U,se){var ae=this;return function(de,pe){return de===ae.value?!0:pe.fail(null,ae._failMsg,-1)}},Z}(s);e.TLiteral=f;function d(B){return new g(i(B))}e.array=d;var g=function(B){t(Z,B);function Z(U){var se=B.call(this)||this;return se.ttype=U,se}return Z.prototype.getChecker=function(U,se){var ae=this.ttype.getChecker(U,se);return function(de,pe){if(!Array.isArray(de))return pe.fail(null,"is not an array",0);for(var ve=0;ve<de.length;ve++){var xe=ae(de[ve],pe);if(!xe)return pe.fail(ve,null,1)}return!0}},Z}(s);e.TArray=g;function y(){for(var B=[],Z=0;Z<arguments.length;Z++)B[Z]=arguments[Z];return new v(B.map(function(U){return i(U)}))}e.tuple=y;var v=function(B){t(Z,B);function Z(U){var se=B.call(this)||this;return se.ttypes=U,se}return Z.prototype.getChecker=function(U,se){var ae=this.ttypes.map(function(pe){return pe.getChecker(U,se)}),de=function(pe,ve){if(!Array.isArray(pe))return ve.fail(null,"is not an array",0);for(var xe=0;xe<ae.length;xe++){var we=ae[xe](pe[xe],ve);if(!we)return ve.fail(xe,null,1)}return!0};return se?function(pe,ve){return de(pe,ve)?pe.length<=ae.length?!0:ve.fail(ae.length,"is extraneous",2):!1}:de},Z}(s);e.TTuple=v;function w(){for(var B=[],Z=0;Z<arguments.length;Z++)B[Z]=arguments[Z];return new _(B.map(function(U){return i(U)}))}e.union=w;var _=function(B){t(Z,B);function Z(U){var se=B.call(this)||this;se.ttypes=U;var ae=U.map(function(pe){return pe instanceof h||pe instanceof f?pe.name:null}).filter(function(pe){return pe}),de=U.length-ae.length;return ae.length?(de>0&&ae.push(de+" more"),se._failMsg="is none of "+ae.join(", ")):se._failMsg="is none of "+de+" types",se}return Z.prototype.getChecker=function(U,se){var ae=this,de=this.ttypes.map(function(pe){return pe.getChecker(U,se)});return function(pe,ve){for(var xe=ve.unionResolver(),we=0;we<de.length;we++){var De=de[we](pe,xe.createContext());if(De)return!0}return ve.resolveUnion(xe),ve.fail(null,ae._failMsg,0)}},Z}(s);e.TUnion=_;function S(){for(var B=[],Z=0;Z<arguments.length;Z++)B[Z]=arguments[Z];return new k(B.map(function(U){return i(U)}))}e.intersection=S;var k=function(B){t(Z,B);function Z(U){var se=B.call(this)||this;return se.ttypes=U,se}return Z.prototype.getChecker=function(U,se){var ae=new Set,de=this.ttypes.map(function(pe){return pe.getChecker(U,se,ae)});return function(pe,ve){var xe=de.every(function(we){return we(pe,ve)});return xe?!0:ve.fail(null,null,0)}},Z}(s);e.TIntersection=k;function E(B){return new P(B)}e.enumtype=E;var P=function(B){t(Z,B);function Z(U){var se=B.call(this)||this;return se.members=U,se.validValues=new Set,se._failMsg="is not a valid enum value",se.validValues=new Set(Object.keys(U).map(function(ae){return U[ae]})),se}return Z.prototype.getChecker=function(U,se){var ae=this;return function(de,pe){return ae.validValues.has(de)?!0:pe.fail(null,ae._failMsg,0)}},Z}(s);e.TEnumType=P;function O(B,Z){return new A(B,Z)}e.enumlit=O;var A=function(B){t(Z,B);function Z(U,se){var ae=B.call(this)||this;return ae.enumName=U,ae.prop=se,ae._failMsg="is not "+U+"."+se,ae}return Z.prototype.getChecker=function(U,se){var ae=this,de=o(U,this.enumName);if(!(de instanceof P))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var pe=de.members[this.prop];if(!de.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(ve,xe){return ve===pe?!0:xe.fail(null,ae._failMsg,-1)}},Z}(s);e.TEnumLiteral=A;function M(B){return Object.keys(B).map(function(Z){return F(Z,B[Z])})}function F(B,Z){return Z instanceof L?new z(B,Z.ttype,!0):new z(B,i(Z),!1)}function x(B,Z){return new I(B,M(Z))}e.iface=x;var I=function(B){t(Z,B);function Z(U,se){var ae=B.call(this)||this;return ae.bases=U,ae.props=se,ae.propSet=new Set(se.map(function(de){return de.name})),ae}return Z.prototype.getChecker=function(U,se,ae){var de=this,pe=this.bases.map(function(qe){return o(U,qe).getChecker(U,se)}),ve=this.props.map(function(qe){return qe.ttype.getChecker(U,se)}),xe=new r.NoopContext,we=this.props.map(function(qe,ze){return!qe.isOpt&&!ve[ze](void 0,xe)}),De=function(qe,ze){if(typeof qe!="object"||qe===null)return ze.fail(null,"is not an object",0);for(var Ve=0;Ve<pe.length;Ve++)if(!pe[Ve](qe,ze))return!1;for(var Ve=0;Ve<ve.length;Ve++){var ht=de.props[Ve].name,xt=qe[ht];if(xt===void 0){if(we[Ve])return ze.fail(ht,"is missing",1)}else{var pt=ve[Ve](xt,ze);if(!pt)return ze.fail(ht,null,1)}}return!0};if(!se)return De;var tt=this.propSet;return ae&&(this.propSet.forEach(function(qe){return ae.add(qe)}),tt=ae),function(qe,ze){if(!De(qe,ze))return!1;for(var Ve in qe)if(!tt.has(Ve))return ze.fail(Ve,"is extraneous",2);return!0}},Z}(s);e.TIface=I;function R(B){return new L(i(B))}e.opt=R;var L=function(B){t(Z,B);function Z(U){var se=B.call(this)||this;return se.ttype=U,se}return Z.prototype.getChecker=function(U,se){var ae=this.ttype.getChecker(U,se);return function(de,pe){return de===void 0||ae(de,pe)}},Z}(s);e.TOptional=L;var z=function(){function B(Z,U,se){this.name=Z,this.ttype=U,this.isOpt=se}return B}();e.TProp=z;function J(B){for(var Z=[],U=1;U<arguments.length;U++)Z[U-1]=arguments[U];return new re(new G(Z),i(B))}e.func=J;var re=function(B){t(Z,B);function Z(U,se){var ae=B.call(this)||this;return ae.paramList=U,ae.result=se,ae}return Z.prototype.getChecker=function(U,se){return function(ae,de){return typeof ae=="function"?!0:de.fail(null,"is not a function",0)}},Z}(s);e.TFunc=re;function V(B,Z,U){return new ee(B,i(Z),!!U)}e.param=V;var ee=function(){function B(Z,U,se){this.name=Z,this.ttype=U,this.isOpt=se}return B}();e.TParam=ee;var G=function(B){t(Z,B);function Z(U){var se=B.call(this)||this;return se.params=U,se}return Z.prototype.getChecker=function(U,se){var ae=this,de=this.params.map(function(we){return we.ttype.getChecker(U,se)}),pe=new r.NoopContext,ve=this.params.map(function(we,De){return!we.isOpt&&!de[De](void 0,pe)}),xe=function(we,De){if(!Array.isArray(we))return De.fail(null,"is not an array",0);for(var tt=0;tt<de.length;tt++){var qe=ae.params[tt];if(we[tt]===void 0){if(ve[tt])return De.fail(qe.name,"is missing",1)}else{var ze=de[tt](we[tt],De);if(!ze)return De.fail(qe.name,null,1)}}return!0};return se?function(we,De){return xe(we,De)?we.length<=de.length?!0:De.fail(de.length,"is extraneous",2):!1}:xe},Z}(s);e.TParamList=G;var Q=function(B){t(Z,B);function Z(U,se){var ae=B.call(this)||this;return ae.validator=U,ae.message=se,ae}return Z.prototype.getChecker=function(U,se){var ae=this;return function(de,pe){return ae.validator(de)?!0:pe.fail(null,ae.message,0)}},Z}(s);e.BasicType=Q,e.basicTypes={any:new Q(function(B){return!0},"is invalid"),number:new Q(function(B){return typeof B=="number"},"is not a number"),object:new Q(function(B){return typeof B=="object"&&B},"is not an object"),boolean:new Q(function(B){return typeof B=="boolean"},"is not a boolean"),string:new Q(function(B){return typeof B=="string"},"is not a string"),symbol:new Q(function(B){return typeof B=="symbol"},"is not a symbol"),void:new Q(function(B){return B==null},"is not void"),undefined:new Q(function(B){return B===void 0},"is not undefined"),null:new Q(function(B){return B===null},"is not null"),never:new Q(function(B){return!1},"is unexpected"),Date:new Q(ce("[object Date]"),"is not a Date"),RegExp:new Q(ce("[object RegExp]"),"is not a RegExp")};var ie=Object.prototype.toString;function ce(B){return function(Z){return typeof Z=="object"&&Z&&ie.call(Z)===B}}typeof Buffer<"u"&&(e.basicTypes.Buffer=new Q(function(B){return Buffer.isBuffer(B)},"is not a Buffer"));for(var ne=function(B){e.basicTypes[B.name]=new Q(function(Z){return Z instanceof B},"is not a "+B.name)},W=0,K=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];W<K.length;W++){var j=K[W];ne(j)}})(Bp);(function(e){var t=jr&&jr.__spreadArrays||function(){for(var l=0,f=0,d=arguments.length;f<d;f++)l+=arguments[f].length;for(var g=Array(l),y=0,f=0;f<d;f++)for(var v=arguments[f],w=0,_=v.length;w<_;w++,y++)g[y]=v[w];return g};Object.defineProperty(e,"__esModule",{value:!0}),e.Checker=e.createCheckers=void 0;var r=Bp,s=hs,i=Bp;Object.defineProperty(e,"TArray",{enumerable:!0,get:function(){return i.TArray}}),Object.defineProperty(e,"TEnumType",{enumerable:!0,get:function(){return i.TEnumType}}),Object.defineProperty(e,"TEnumLiteral",{enumerable:!0,get:function(){return i.TEnumLiteral}}),Object.defineProperty(e,"TFunc",{enumerable:!0,get:function(){return i.TFunc}}),Object.defineProperty(e,"TIface",{enumerable:!0,get:function(){return i.TIface}}),Object.defineProperty(e,"TLiteral",{enumerable:!0,get:function(){return i.TLiteral}}),Object.defineProperty(e,"TName",{enumerable:!0,get:function(){return i.TName}}),Object.defineProperty(e,"TOptional",{enumerable:!0,get:function(){return i.TOptional}}),Object.defineProperty(e,"TParam",{enumerable:!0,get:function(){return i.TParam}}),Object.defineProperty(e,"TParamList",{enumerable:!0,get:function(){return i.TParamList}}),Object.defineProperty(e,"TProp",{enumerable:!0,get:function(){return i.TProp}}),Object.defineProperty(e,"TTuple",{enumerable:!0,get:function(){return i.TTuple}}),Object.defineProperty(e,"TType",{enumerable:!0,get:function(){return i.TType}}),Object.defineProperty(e,"TUnion",{enumerable:!0,get:function(){return i.TUnion}}),Object.defineProperty(e,"TIntersection",{enumerable:!0,get:function(){return i.TIntersection}}),Object.defineProperty(e,"array",{enumerable:!0,get:function(){return i.array}}),Object.defineProperty(e,"enumlit",{enumerable:!0,get:function(){return i.enumlit}}),Object.defineProperty(e,"enumtype",{enumerable:!0,get:function(){return i.enumtype}}),Object.defineProperty(e,"func",{enumerable:!0,get:function(){return i.func}}),Object.defineProperty(e,"iface",{enumerable:!0,get:function(){return i.iface}}),Object.defineProperty(e,"lit",{enumerable:!0,get:function(){return i.lit}}),Object.defineProperty(e,"name",{enumerable:!0,get:function(){return i.name}}),Object.defineProperty(e,"opt",{enumerable:!0,get:function(){return i.opt}}),Object.defineProperty(e,"param",{enumerable:!0,get:function(){return i.param}}),Object.defineProperty(e,"tuple",{enumerable:!0,get:function(){return i.tuple}}),Object.defineProperty(e,"union",{enumerable:!0,get:function(){return i.union}}),Object.defineProperty(e,"intersection",{enumerable:!0,get:function(){return i.intersection}}),Object.defineProperty(e,"BasicType",{enumerable:!0,get:function(){return i.BasicType}});var o=hs;Object.defineProperty(e,"VError",{enumerable:!0,get:function(){return o.VError}});function a(){for(var l=[],f=0;f<arguments.length;f++)l[f]=arguments[f];for(var d=Object.assign.apply(Object,t([{},r.basicTypes],l)),g={},y=0,v=l;y<v.length;y++)for(var w=v[y],_=0,S=Object.keys(w);_<S.length;_++){var k=S[_];g[k]=new h(d,w[k])}return g}e.createCheckers=a;var h=function(){function l(f,d,g){if(g===void 0&&(g="value"),this.suite=f,this.ttype=d,this._path=g,this.props=new Map,d instanceof r.TIface)for(var y=0,v=d.props;y<v.length;y++){var w=v[y];this.props.set(w.name,w.ttype)}this.checkerPlain=this.ttype.getChecker(f,!1),this.checkerStrict=this.ttype.getChecker(f,!0)}return l.prototype.setReportedPath=function(f){this._path=f},l.prototype.check=function(f){return this._doCheck(this.checkerPlain,f)},l.prototype.test=function(f){return this.checkerPlain(f,new s.NoopContext)},l.prototype.validate=function(f){return this._doValidate(this.checkerPlain,f)},l.prototype.strictCheck=function(f){return this._doCheck(this.checkerStrict,f)},l.prototype.strictTest=function(f){return this.checkerStrict(f,new s.NoopContext)},l.prototype.strictValidate=function(f){return this._doValidate(this.checkerStrict,f)},l.prototype.getProp=function(f){var d=this.props.get(f);if(!d)throw new Error("Type has no property "+f);return new l(this.suite,d,this._path+"."+f)},l.prototype.methodArgs=function(f){var d=this._getMethod(f);return new l(this.suite,d.paramList)},l.prototype.methodResult=function(f){var d=this._getMethod(f);return new l(this.suite,d.result)},l.prototype.getArgs=function(){if(!(this.ttype instanceof r.TFunc))throw new Error("getArgs() applied to non-function");return new l(this.suite,this.ttype.paramList)},l.prototype.getResult=function(){if(!(this.ttype instanceof r.TFunc))throw new Error("getResult() applied to non-function");return new l(this.suite,this.ttype.result)},l.prototype.getType=function(){return this.ttype},l.prototype._doCheck=function(f,d){var g=new s.NoopContext;if(!f(d,g)){var y=new s.DetailContext;throw f(d,y),y.getError(this._path)}},l.prototype._doValidate=function(f,d){var g=new s.NoopContext;if(f(d,g))return null;var y=new s.DetailContext;return f(d,y),y.getErrorDetail(this._path)},l.prototype._getMethod=function(f){var d=this.props.get(f);if(!d)throw new Error("Type has no property "+f);if(!(d instanceof r.TFunc))throw new Error("Property "+f+" is not a method");return d},l}();e.Checker=h})(lt);const sR=lt.union(lt.lit("jsx"),lt.lit("typescript"),lt.lit("flow"),lt.lit("imports"),lt.lit("react-hot-loader"),lt.lit("jest")),nR=lt.iface([],{compiledFilename:"string"}),iR=lt.iface([],{transforms:lt.array("Transform"),disableESTransforms:lt.opt("boolean"),jsxRuntime:lt.opt(lt.union(lt.lit("classic"),lt.lit("automatic"),lt.lit("preserve"))),production:lt.opt("boolean"),jsxImportSource:lt.opt("string"),jsxPragma:lt.opt("string"),jsxFragmentPragma:lt.opt("string"),keepUnusedImports:lt.opt("boolean"),preserveDynamicImport:lt.opt("boolean"),injectCreateRequireForImportRequire:lt.opt("boolean"),enableLegacyTypeScriptModuleInterop:lt.opt("boolean"),enableLegacyBabel5ModuleInterop:lt.opt("boolean"),sourceMapOptions:lt.opt("SourceMapOptions"),filePath:lt.opt("string")}),oR={Transform:sR,SourceMapOptions:nR,Options:iR},{Options:aR}=lt.createCheckers(oR);function lR(e){aR.strictCheck(e)}function eE(){he(),qt(!1)}function tE(e){he(),tu(e)}function un(e){Me(),F1(e)}function Yl(){Me(),T.tokens[T.tokens.length-1].identifierRole=Ne.ImportDeclaration}function F1(e){let t;T.scopeDepth===0?t=Ne.TopLevelDeclaration:e?t=Ne.BlockScopedDeclaration:t=Ne.FunctionScopedDeclaration,T.tokens[T.tokens.length-1].identifierRole=t}function tu(e){switch(T.type){case p._this:{const t=Ue(0);he(),je(t);return}case p._yield:case p.name:{T.type=p.name,un(e);return}case p.bracketL:{he(),B1(p.bracketR,e,!0);return}case p.braceL:J1(!0,e);return;default:$e()}}function B1(e,t,r=!1,s=!1,i=0){let o=!0,a=!1;const h=T.tokens.length;for(;!le(e)&&!T.error;)if(o?o=!1:(ue(p.comma),T.tokens[T.tokens.length-1].contextId=i,!a&&T.tokens[h].isType&&(T.tokens[T.tokens.length-1].isType=!0,a=!0)),!(r&&$(p.comma))){if(le(e))break;if($(p.ellipsis)){tE(t),rE(),le(p.comma),ue(e);break}else cR(s,t)}}function cR(e,t){e&&$1([H._public,H._protected,H._private,H._readonly,H._override]),Ql(t),rE(),Ql(t,!0)}function rE(){et?PD():He&&yM()}function Ql(e,t=!1){if(t||tu(e),!le(p.eq))return;const r=T.tokens.length-1;qt(),T.tokens[r].rhsEndIndex=T.tokens.length}function $p(){return $(p.name)}function uR(){return $(p.name)||!!(T.type&p.IS_KEYWORD)||$(p.string)||$(p.num)||$(p.bigint)||$(p.decimal)}function sE(){const e=T.snapshot();return he(),($(p.bracketL)||$(p.braceL)||$(p.star)||$(p.ellipsis)||$(p.hash)||uR())&&!or()?!0:(T.restoreFromSnapshot(e),!1)}function $1(e){for(;nE(e)!==null;);}function nE(e){if(!$(p.name))return null;const t=T.contextualKeyword;if(e.indexOf(t)!==-1&&sE()){switch(t){case H._readonly:T.tokens[T.tokens.length-1].type=p._readonly;break;case H._abstract:T.tokens[T.tokens.length-1].type=p._abstract;break;case H._static:T.tokens[T.tokens.length-1].type=p._static;break;case H._public:T.tokens[T.tokens.length-1].type=p._public;break;case H._private:T.tokens[T.tokens.length-1].type=p._private;break;case H._protected:T.tokens[T.tokens.length-1].type=p._protected;break;case H._override:T.tokens[T.tokens.length-1].type=p._override;break;case H._declare:T.tokens[T.tokens.length-1].type=p._declare;break}return t}return null}function na(){for(Me();le(p.dot);)Me()}function hR(){na(),!or()&&$(p.lessThan)&&Bi()}function pR(){he(),ia()}function fR(){he()}function dR(){ue(p._typeof),$(p._import)?iE():na(),!or()&&$(p.lessThan)&&Bi()}function iE(){ue(p._import),ue(p.parenL),ue(p.string),ue(p.parenR),le(p.dot)&&na(),$(p.lessThan)&&Bi()}function mR(){le(p._const);const e=le(p._in),t=Lt(H._out);le(p._const),(e||t)&&!$(p.name)?T.tokens[T.tokens.length-1].type=p.name:Me(),le(p._extends)&&bt(),le(p.eq)&&bt()}function Hn(){$(p.lessThan)&&ru()}function ru(){const e=Ue(0);for($(p.lessThan)||$(p.typeParameterStart)?he():$e();!le(p.greaterThan)&&!T.error;)mR(),le(p.comma);je(e)}function j1(e){const t=e===p.arrow;Hn(),ue(p.parenL),T.scopeDepth++,gR(!1),T.scopeDepth--,(t||$(e))&&Uo(e)}function gR(e){B1(p.parenR,e)}function Zl(){le(p.comma)||mt()}function gv(){j1(p.colon),Zl()}function yR(){const e=T.snapshot();he();const t=le(p.name)&&$(p.colon);return T.restoreFromSnapshot(e),t}function oE(){if(!($(p.bracketL)&&yR()))return!1;const e=Ue(0);return ue(p.bracketL),Me(),ia(),ue(p.bracketR),Fi(),Zl(),je(e),!0}function yv(e){le(p.question),!e&&($(p.parenL)||$(p.lessThan))?(j1(p.colon),Zl()):(Fi(),Zl())}function vR(){if($(p.parenL)||$(p.lessThan)){gv();return}if($(p._new)){he(),$(p.parenL)||$(p.lessThan)?gv():yv(!1);return}const e=!!nE([H._readonly]);oE()||((Ce(H._get)||Ce(H._set))&&sE(),qo(-1),yv(e))}function SR(){aE()}function aE(){for(ue(p.braceL);!le(p.braceR)&&!T.error;)vR()}function _R(){const e=T.snapshot(),t=wR();return T.restoreFromSnapshot(e),t}function wR(){return he(),le(p.plus)||le(p.minus)?Ce(H._readonly):(Ce(H._readonly)&&he(),!$(p.bracketL)||(he(),!$p())?!1:(he(),$(p._in)))}function bR(){Me(),ue(p._in),bt()}function ER(){ue(p.braceL),$(p.plus)||$(p.minus)?(he(),It(H._readonly)):Lt(H._readonly),ue(p.bracketL),bR(),Lt(H._as)&&bt(),ue(p.bracketR),$(p.plus)||$(p.minus)?(he(),ue(p.question)):le(p.question),FR(),mt(),ue(p.braceR)}function TR(){for(ue(p.bracketL);!le(p.bracketR)&&!T.error;)xR(),le(p.comma)}function xR(){le(p.ellipsis)?bt():(bt(),le(p.question)),le(p.colon)&&bt()}function kR(){ue(p.parenL),bt(),ue(p.parenR)}function PR(){for(Js(),Js();!$(p.backQuote)&&!T.error;)ue(p.dollarBraceL),bt(),Js(),Js();he()}var Ys;(function(e){e[e.TSFunctionType=0]="TSFunctionType";const r=1;e[e.TSConstructorType=r]="TSConstructorType";const s=r+1;e[e.TSAbstractConstructorType=s]="TSAbstractConstructorType"})(Ys||(Ys={}));function zh(e){e===Ys.TSAbstractConstructorType&&It(H._abstract),(e===Ys.TSConstructorType||e===Ys.TSAbstractConstructorType)&&ue(p._new);const t=T.inDisallowConditionalTypesContext;T.inDisallowConditionalTypesContext=!1,j1(p.arrow),T.inDisallowConditionalTypesContext=t}function AR(){switch(T.type){case p.name:hR();return;case p._void:case p._null:he();return;case p.string:case p.num:case p.bigint:case p.decimal:case p._true:case p._false:bi();return;case p.minus:he(),bi();return;case p._this:{fR(),Ce(H._is)&&!or()&&pR();return}case p._typeof:dR();return;case p._import:iE();return;case p.braceL:_R()?ER():SR();return;case p.bracketL:TR();return;case p.parenL:kR();return;case p.backQuote:PR();return;default:if(T.type&p.IS_KEYWORD){he(),T.tokens[T.tokens.length-1].type=p.name;return}break}$e()}function IR(){for(AR();!or()&&le(p.bracketL);)le(p.bracketR)||(bt(),ue(p.bracketR))}function CR(){if(It(H._infer),Me(),$(p._extends)){const e=T.snapshot();ue(p._extends);const t=T.inDisallowConditionalTypesContext;T.inDisallowConditionalTypesContext=!0,bt(),T.inDisallowConditionalTypesContext=t,(T.error||!T.inDisallowConditionalTypesContext&&$(p.question))&&T.restoreFromSnapshot(e)}}function jp(){if(Ce(H._keyof)||Ce(H._unique)||Ce(H._readonly))he(),jp();else if(Ce(H._infer))CR();else{const e=T.inDisallowConditionalTypesContext;T.inDisallowConditionalTypesContext=!1,IR(),T.inDisallowConditionalTypesContext=e}}function vv(){if(le(p.bitwiseAND),jp(),$(p.bitwiseAND))for(;le(p.bitwiseAND);)jp()}function NR(){if(le(p.bitwiseOR),vv(),$(p.bitwiseOR))for(;le(p.bitwiseOR);)vv()}function OR(){return $(p.lessThan)?!0:$(p.parenL)&&RR()}function LR(){if($(p.name)||$(p._this))return he(),!0;if($(p.braceL)||$(p.bracketL)){let e=1;for(he();e>0&&!T.error;)$(p.braceL)||$(p.bracketL)?e++:($(p.braceR)||$(p.bracketR))&&e--,he();return!0}return!1}function RR(){const e=T.snapshot(),t=MR();return T.restoreFromSnapshot(e),t}function MR(){return he(),!!($(p.parenR)||$(p.ellipsis)||LR()&&($(p.colon)||$(p.comma)||$(p.question)||$(p.eq)||$(p.parenR)&&(he(),$(p.arrow))))}function Uo(e){const t=Ue(0);ue(e),BR()||bt(),je(t)}function DR(){$(p.colon)&&Uo(p.colon)}function Fi(){$(p.colon)&&ia()}function FR(){le(p.colon)&&bt()}function BR(){const e=T.snapshot();return Ce(H._asserts)?(he(),Lt(H._is)?(bt(),!0):$p()||$(p._this)?(he(),Lt(H._is)&&bt(),!0):(T.restoreFromSnapshot(e),!1)):$p()||$(p._this)?(he(),Ce(H._is)&&!or()?(he(),bt(),!0):(T.restoreFromSnapshot(e),!1)):!1}function ia(){const e=Ue(0);ue(p.colon),bt(),je(e)}function bt(){if(Sv(),T.inDisallowConditionalTypesContext||or()||!le(p._extends))return;const e=T.inDisallowConditionalTypesContext;T.inDisallowConditionalTypesContext=!0,Sv(),T.inDisallowConditionalTypesContext=e,ue(p.question),bt(),ue(p.colon),bt()}function $R(){return Ce(H._abstract)&&wt()===p._new}function Sv(){if(OR()){zh(Ys.TSFunctionType);return}if($(p._new)){zh(Ys.TSConstructorType);return}else if($R()){zh(Ys.TSAbstractConstructorType);return}NR()}function jR(){const e=Ue(1);bt(),ue(p.greaterThan),je(e),oa()}function UR(){if(le(p.jsxTagStart)){T.tokens[T.tokens.length-1].type=p.typeParameterStart;const e=Ue(1);for(;!$(p.greaterThan)&&!T.error;)bt(),le(p.comma);Lr(),je(e)}}function lE(){for(;!$(p.braceL)&&!T.error;)qR(),le(p.comma)}function qR(){na(),$(p.lessThan)&&Bi()}function VR(){un(!1),Hn(),le(p._extends)&&lE(),aE()}function WR(){un(!1),Hn(),ue(p.eq),bt(),mt()}function GR(){if($(p.string)?bi():Me(),le(p.eq)){const e=T.tokens.length-1;qt(),T.tokens[e].rhsEndIndex=T.tokens.length}}function U1(){for(un(!1),ue(p.braceL);!le(p.braceR)&&!T.error;)GR(),le(p.comma)}function q1(){ue(p.braceL),ou(p.braceR)}function Up(){un(!1),le(p.dot)?Up():q1()}function cE(){Ce(H._global)?Me():$(p.string)?Ns():$e(),$(p.braceL)?q1():mt()}function qp(){Yl(),ue(p.eq),HR(),mt()}function zR(){return Ce(H._require)&&wt()===p.parenL}function HR(){zR()?XR():na()}function XR(){It(H._require),ue(p.parenL),$(p.string)||$e(),bi(),ue(p.parenR)}function JR(){if(is())return!1;switch(T.type){case p._function:{const e=Ue(1);he();const t=T.start;return $n(t,!0),je(e),!0}case p._class:{const e=Ue(1);return jn(!0,!1),je(e),!0}case p._const:if($(p._const)&&R1(H._enum)){const e=Ue(1);return ue(p._const),It(H._enum),T.tokens[T.tokens.length-1].type=p._enum,U1(),je(e),!0}case p._var:case p._let:{const e=Ue(1);return _l(T.type!==p._var),je(e),!0}case p.name:{const e=Ue(1),t=T.contextualKeyword;let r=!1;return t===H._global?(cE(),r=!0):r=su(t,!0),je(e),r}default:return!1}}function _v(){return su(T.contextualKeyword,!0)}function KR(e){switch(e){case H._declare:{const t=T.tokens.length-1;if(JR())return T.tokens[t].type=p._declare,!0;break}case H._global:if($(p.braceL))return q1(),!0;break;default:return su(e,!1)}return!1}function su(e,t){switch(e){case H._abstract:if(si(t)&&$(p._class))return T.tokens[T.tokens.length-1].type=p._abstract,jn(!0,!1),!0;break;case H._enum:if(si(t)&&$(p.name))return T.tokens[T.tokens.length-1].type=p._enum,U1(),!0;break;case H._interface:if(si(t)&&$(p.name)){const r=Ue(t?2:1);return VR(),je(r),!0}break;case H._module:if(si(t)){if($(p.string)){const r=Ue(t?2:1);return cE(),je(r),!0}else if($(p.name)){const r=Ue(t?2:1);return Up(),je(r),!0}}break;case H._namespace:if(si(t)&&$(p.name)){const r=Ue(t?2:1);return Up(),je(r),!0}break;case H._type:if(si(t)&&$(p.name)){const r=Ue(t?2:1);return WR(),je(r),!0}break}return!1}function si(e){return e?(he(),!0):!is()}function YR(){const e=T.snapshot();return ru(),$i(),DR(),ue(p.arrow),T.error?(T.restoreFromSnapshot(e),!1):(aa(!0),!0)}function V1(){T.type===p.bitShiftL&&(T.pos-=1,Be(p.lessThan)),Bi()}function Bi(){const e=Ue(0);for(ue(p.lessThan);!$(p.greaterThan)&&!T.error;)bt(),le(p.comma);e?(ue(p.greaterThan),je(e)):(je(e),Wb(),ue(p.greaterThan),T.tokens[T.tokens.length-1].isType=!0)}function uE(){if($(p.name))switch(T.contextualKeyword){case H._abstract:case H._declare:case H._enum:case H._interface:case H._module:case H._namespace:case H._type:return!0}return!1}function QR(e,t){if($(p.colon)&&Uo(p.colon),!$(p.braceL)&&is()){let r=T.tokens.length-1;for(;r>=0&&(T.tokens[r].start>=e||T.tokens[r].type===p._default||T.tokens[r].type===p._export);)T.tokens[r].isType=!0,r--;return}aa(!1,t)}function ZR(e,t,r){if(!or()&&le(p.bang)){T.tokens[T.tokens.length-1].type=p.nonNullAssertion;return}if($(p.lessThan)||$(p.bitShiftL)){const s=T.snapshot();if(!t&&vE()&&YR())return;if(V1(),!t&&le(p.parenL)?(T.tokens[T.tokens.length-1].subscriptStartIndex=e,Qs()):$(p.backQuote)?X1():(T.type===p.greaterThan||T.type!==p.parenL&&T.type&p.IS_EXPRESSION_START&&!or())&&$e(),T.error)T.restoreFromSnapshot(s);else return}else!t&&$(p.questionDot)&&wt()===p.lessThan&&(he(),T.tokens[e].isOptionalChainStart=!0,T.tokens[T.tokens.length-1].subscriptStartIndex=e,Bi(),ue(p.parenL),Qs());G1(e,t,r)}function eM(){if(le(p._import))return Ce(H._type)&&wt()!==p.eq&&It(H._type),qp(),!0;if(le(p.eq))return Ut(),mt(),!0;if(Lt(H._as))return It(H._namespace),Me(),mt(),!0;if(Ce(H._type)){const e=wt();(e===p.braceL||e===p.star)&&he()}return!1}function tM(){if(Me(),$(p.comma)||$(p.braceR)){T.tokens[T.tokens.length-1].identifierRole=Ne.ImportDeclaration;return}if(Me(),$(p.comma)||$(p.braceR)){T.tokens[T.tokens.length-1].identifierRole=Ne.ImportDeclaration,T.tokens[T.tokens.length-2].isType=!0,T.tokens[T.tokens.length-1].isType=!0;return}if(Me(),$(p.comma)||$(p.braceR)){T.tokens[T.tokens.length-3].identifierRole=Ne.ImportAccess,T.tokens[T.tokens.length-1].identifierRole=Ne.ImportDeclaration;return}Me(),T.tokens[T.tokens.length-3].identifierRole=Ne.ImportAccess,T.tokens[T.tokens.length-1].identifierRole=Ne.ImportDeclaration,T.tokens[T.tokens.length-4].isType=!0,T.tokens[T.tokens.length-3].isType=!0,T.tokens[T.tokens.length-2].isType=!0,T.tokens[T.tokens.length-1].isType=!0}function rM(){if(Me(),$(p.comma)||$(p.braceR)){T.tokens[T.tokens.length-1].identifierRole=Ne.ExportAccess;return}if(Me(),$(p.comma)||$(p.braceR)){T.tokens[T.tokens.length-1].identifierRole=Ne.ExportAccess,T.tokens[T.tokens.length-2].isType=!0,T.tokens[T.tokens.length-1].isType=!0;return}if(Me(),$(p.comma)||$(p.braceR)){T.tokens[T.tokens.length-3].identifierRole=Ne.ExportAccess;return}Me(),T.tokens[T.tokens.length-3].identifierRole=Ne.ExportAccess,T.tokens[T.tokens.length-4].isType=!0,T.tokens[T.tokens.length-3].isType=!0,T.tokens[T.tokens.length-2].isType=!0,T.tokens[T.tokens.length-1].isType=!0}function sM(){if(Ce(H._abstract)&&wt()===p._class)return T.type=p._abstract,he(),jn(!0,!0),!0;if(Ce(H._interface)){const e=Ue(2);return su(H._interface,!0),je(e),!0}return!1}function nM(){if(T.type===p._const){const e=sa();if(e.type===p.name&&e.contextualKeyword===H._enum)return ue(p._const),It(H._enum),T.tokens[T.tokens.length-1].type=p._enum,U1(),!0}return!1}function iM(e){const t=T.tokens.length;$1([H._abstract,H._readonly,H._declare,H._static,H._override]);const r=T.tokens.length;if(oE()){const i=e?t-1:t;for(let o=i;o<r;o++)T.tokens[o].isType=!0;return!0}return!1}function oM(e){KR(e)||mt()}function aM(){const e=Lt(H._declare);e&&(T.tokens[T.tokens.length-1].type=p._declare);let t=!1;if($(p.name))if(e){const r=Ue(2);t=_v(),je(r)}else t=_v();if(!t)if(e){const r=Ue(2);Pr(!0),je(r)}else Pr(!0)}function lM(e){if(e&&($(p.lessThan)||$(p.bitShiftL))&&V1(),Lt(H._implements)){T.tokens[T.tokens.length-1].type=p._implements;const t=Ue(1);lE(),je(t)}}function cM(){Hn()}function uM(){Hn()}function hM(){const e=Ue(0);or()||le(p.bang),Fi(),je(e)}function pM(){$(p.colon)&&ia()}function fM(e,t){return Zc?dM(e,t):mM(e,t)}function dM(e,t){if(!$(p.lessThan))return ps(e,t);const r=T.snapshot();let s=ps(e,t);if(T.error)T.restoreFromSnapshot(r);else return s;return T.type=p.typeParameterStart,ru(),s=ps(e,t),s||$e(),s}function mM(e,t){if(!$(p.lessThan))return ps(e,t);const r=T.snapshot();ru();const s=ps(e,t);if(s||$e(),T.error)T.restoreFromSnapshot(r);else return s;return ps(e,t)}function gM(){if($(p.colon)){const e=T.snapshot();Uo(p.colon),Er()&&$e(),$(p.arrow)||$e(),T.error&&T.restoreFromSnapshot(e)}return le(p.arrow)}function yM(){const e=Ue(0);le(p.question),Fi(),je(e)}function vM(){($(p.lessThan)||$(p.bitShiftL))&&V1(),CE()}function SM(){let e=!1,t=!1;for(;;){if(T.pos>=_e.length){$e("Unterminated JSX contents");return}const r=_e.charCodeAt(T.pos);if(r===te.lessThan||r===te.leftCurlyBrace){if(T.pos===T.start){if(r===te.lessThan){T.pos++,Be(p.jsxTagStart);return}Gb(r);return}Be(e&&!t?p.jsxEmptyText:p.jsxText);return}r===te.lineFeed?e=!0:r!==te.space&&r!==te.carriageReturn&&r!==te.tab&&(t=!0),T.pos++}}function _M(e){for(T.pos++;;){if(T.pos>=_e.length){$e("Unterminated string constant");return}if(_e.charCodeAt(T.pos)===e){T.pos++;break}T.pos++}Be(p.string)}function wM(){let e;do{if(T.pos>_e.length){$e("Unexpectedly reached the end of input.");return}e=_e.charCodeAt(++T.pos)}while(Ur[e]||e===te.dash);Be(p.jsxName)}function Vp(){Lr()}function hE(e){if(Vp(),!le(p.colon)){T.tokens[T.tokens.length-1].identifierRole=e;return}Vp()}function pE(){const e=T.tokens.length;hE(Ne.Access);let t=!1;for(;$(p.dot);)t=!0,Lr(),Vp();if(!t){const r=T.tokens[e],s=_e.charCodeAt(r.start);s>=te.lowercaseA&&s<=te.lowercaseZ&&(r.identifierRole=null)}}function bM(){switch(T.type){case p.braceL:he(),Ut(),Lr();return;case p.jsxTagStart:dE(),Lr();return;case p.string:Lr();return;default:$e("JSX value should be either an expression or a quoted JSX text")}}function EM(){ue(p.ellipsis),Ut()}function TM(e){if($(p.jsxTagEnd))return!1;pE(),He&&UR();let t=!1;for(;!$(p.slash)&&!$(p.jsxTagEnd)&&!T.error;){if(le(p.braceL)){t=!0,ue(p.ellipsis),qt(),Lr();continue}t&&T.end-T.start===3&&_e.charCodeAt(T.start)===te.lowercaseK&&_e.charCodeAt(T.start+1)===te.lowercaseE&&_e.charCodeAt(T.start+2)===te.lowercaseY&&(T.tokens[e].jsxRole=Fr.KeyAfterPropSpread),hE(Ne.ObjectKey),$(p.eq)&&(Lr(),bM())}const r=$(p.slash);return r&&Lr(),r}function xM(){$(p.jsxTagEnd)||pE()}function fE(){const e=T.tokens.length-1;T.tokens[e].jsxRole=Fr.NoChildren;let t=0;if(!TM(e))for(ni();;)switch(T.type){case p.jsxTagStart:if(Lr(),$(p.slash)){Lr(),xM(),T.tokens[e].jsxRole!==Fr.KeyAfterPropSpread&&(t===1?T.tokens[e].jsxRole=Fr.OneChild:t>1&&(T.tokens[e].jsxRole=Fr.StaticChildren));return}t++,fE(),ni();break;case p.jsxText:t++,ni();break;case p.jsxEmptyText:ni();break;case p.braceL:he(),$(p.ellipsis)?(EM(),ni(),t+=2):($(p.braceR)||(t++,Ut()),ni());break;default:$e();return}}function dE(){Lr(),fE()}function Lr(){T.tokens.push(new eu),qb(),T.start=T.pos;const e=_e.charCodeAt(T.pos);if(ra[e])wM();else if(e===te.quotationMark||e===te.apostrophe)_M(e);else switch(++T.pos,e){case te.greaterThan:Be(p.jsxTagEnd);break;case te.lessThan:Be(p.jsxTagStart);break;case te.slash:Be(p.slash);break;case te.equalsTo:Be(p.eq);break;case te.leftCurlyBrace:Be(p.braceL);break;case te.dot:Be(p.dot);break;case te.colon:Be(p.colon);break;default:$e()}}function ni(){T.tokens.push(new eu),T.start=T.pos,SM()}function kM(e){if($(p.question)){const t=wt();if(t===p.colon||t===p.comma||t===p.parenR)return}mE(e)}function PM(){Fb(p.question),$(p.colon)&&(He?ia():et&&Xn())}class AM{constructor(t){this.stop=t}}function Ut(e=!1){if(qt(e),$(p.comma))for(;le(p.comma);)qt(e)}function qt(e=!1,t=!1){return He?fM(e,t):et?LD(e,t):ps(e,t)}function ps(e,t){if($(p._yield))return WM(),!1;($(p.parenL)||$(p.name)||$(p._yield))&&(T.potentialArrowAt=T.start);const r=IM(e);return t&&H1(),T.type&p.IS_ASSIGN?(he(),qt(e),!1):r}function IM(e){return NM(e)?!0:(CM(e),!1)}function CM(e){He||et?kM(e):mE(e)}function mE(e){le(p.question)&&(qt(),ue(p.colon),qt(e))}function NM(e){const t=T.tokens.length;return oa()?!0:(vl(t,-1,e),!1)}function vl(e,t,r){if(He&&(p._in&p.PRECEDENCE_MASK)>t&&!or()&&(Lt(H._as)||Lt(H._satisfies))){const i=Ue(1);bt(),je(i),Wb(),vl(e,t,r);return}const s=T.type&p.PRECEDENCE_MASK;if(s>0&&(!r||!$(p._in))&&s>t){const i=T.type;he(),i===p.nullishCoalescing&&(T.tokens[T.tokens.length-1].nullishStartIndex=e);const o=T.tokens.length;oa(),vl(o,i&p.IS_RIGHT_ASSOCIATIVE?s-1:s,r),i===p.nullishCoalescing&&(T.tokens[e].numNullishCoalesceStarts++,T.tokens[T.tokens.length-1].numNullishCoalesceEnds++),vl(e,t,r)}}function oa(){if(He&&!Zc&&le(p.lessThan))return jR(),!1;if(Ce(H._module)&&$b()===te.leftCurlyBrace&&!Ob())return GM(),!1;if(T.type&p.IS_PREFIX)return he(),oa(),!1;if(gE())return!0;for(;T.type&p.IS_POSTFIX&&!Er();)T.type===p.preIncDec&&(T.type=p.postIncDec),he();return!1}function gE(){const e=T.tokens.length;return Ns()?!0:(W1(e),T.tokens.length>e&&T.tokens[e].isOptionalChainStart&&(T.tokens[T.tokens.length-1].isOptionalChainEnd=!0),!1)}function W1(e,t=!1){et?MD(e,t):yE(e,t)}function yE(e,t=!1){const r=new AM(!1);do OM(e,t,r);while(!r.stop&&!T.error)}function OM(e,t,r){He?ZR(e,t,r):et?mD(e,t,r):G1(e,t,r)}function G1(e,t,r){if(!t&&le(p.doubleColon))z1(),r.stop=!0,W1(e,t);else if($(p.questionDot)){if(T.tokens[e].isOptionalChainStart=!0,t&&wt()===p.parenL){r.stop=!0;return}he(),T.tokens[T.tokens.length-1].subscriptStartIndex=e,le(p.bracketL)?(Ut(),ue(p.bracketR)):le(p.parenL)?Qs():ec()}else if(le(p.dot))T.tokens[T.tokens.length-1].subscriptStartIndex=e,ec();else if(le(p.bracketL))T.tokens[T.tokens.length-1].subscriptStartIndex=e,Ut(),ue(p.bracketR);else if(!t&&$(p.parenL))if(vE()){const s=T.snapshot(),i=T.tokens.length;he(),T.tokens[T.tokens.length-1].subscriptStartIndex=e;const o=$o();T.tokens[T.tokens.length-1].contextId=o,Qs(),T.tokens[T.tokens.length-1].contextId=o,LM()&&(T.restoreFromSnapshot(s),r.stop=!0,T.scopeDepth++,$i(),RM(i))}else{he(),T.tokens[T.tokens.length-1].subscriptStartIndex=e;const s=$o();T.tokens[T.tokens.length-1].contextId=s,Qs(),T.tokens[T.tokens.length-1].contextId=s}else $(p.backQuote)?X1():r.stop=!0}function vE(){return T.tokens[T.tokens.length-1].contextualKeyword===H._async&&!Er()}function Qs(){let e=!0;for(;!le(p.parenR)&&!T.error;){if(e)e=!1;else if(ue(p.comma),le(p.parenR))break;bE(!1)}}function LM(){return $(p.colon)||$(p.arrow)}function RM(e){He?pM():et&&OD(),ue(p.arrow),Vo(e)}function z1(){const e=T.tokens.length;Ns(),W1(e,!0)}function Ns(){if(le(p.modulo))return Me(),!1;if($(p.jsxText)||$(p.jsxEmptyText))return bi(),!1;if($(p.lessThan)&&Zc)return T.type=p.jsxTagStart,dE(),he(),!1;const e=T.potentialArrowAt===T.start;switch(T.type){case p.slash:case p.assign:bL();case p._super:case p._this:case p.regexp:case p.num:case p.bigint:case p.decimal:case p.string:case p._null:case p._true:case p._false:return he(),!1;case p._import:return he(),$(p.dot)&&(T.tokens[T.tokens.length-1].type=p.name,he(),Me()),!1;case p.name:{const t=T.tokens.length,r=T.start,s=T.contextualKeyword;return Me(),s===H._await?(VM(),!1):s===H._async&&$(p._function)&&!Er()?(he(),$n(r,!1),!1):e&&s===H._async&&!Er()&&$(p.name)?(T.scopeDepth++,un(!1),ue(p.arrow),Vo(t),!0):$(p._do)&&!Er()?(he(),Zs(),!1):e&&!Er()&&$(p.arrow)?(T.scopeDepth++,F1(!1),ue(p.arrow),Vo(t),!0):(T.tokens[T.tokens.length-1].identifierRole=Ne.Access,!1)}case p._do:return he(),Zs(),!1;case p.parenL:return SE(e);case p.bracketL:return he(),wE(p.bracketR,!0),!1;case p.braceL:return J1(!1,!1),!1;case p._function:return MM(),!1;case p.at:nd();case p._class:return jn(!1),!1;case p._new:return FM(),!1;case p.backQuote:return X1(),!1;case p.doubleColon:return he(),z1(),!1;case p.hash:{const t=$b();return ra[t]||t===te.backslash?ec():he(),!1}default:return $e(),!1}}function ec(){le(p.hash),Me()}function MM(){const e=T.start;Me(),le(p.dot)&&Me(),$n(e,!1)}function bi(){he()}function nu(){ue(p.parenL),Ut(),ue(p.parenR)}function SE(e){const t=T.snapshot(),r=T.tokens.length;ue(p.parenL);let s=!0;for(;!$(p.parenR)&&!T.error;){if(s)s=!1;else if(ue(p.comma),$(p.parenR))break;if($(p.ellipsis)){tE(!1),H1();break}else qt(!1,!0)}return ue(p.parenR),e&&DM()&&Wp()?(T.restoreFromSnapshot(t),T.scopeDepth++,$i(),Wp(),Vo(r),T.error?(T.restoreFromSnapshot(t),SE(!1),!1):!0):!1}function DM(){return $(p.colon)||!Er()}function Wp(){return He?gM():et?RD():le(p.arrow)}function H1(){(He||et)&&PM()}function FM(){if(ue(p._new),le(p.dot)){Me();return}BM(),et&&gD(),le(p.parenL)&&wE(p.parenR)}function BM(){z1(),le(p.questionDot)}function X1(){for(Js(),Js();!$(p.backQuote)&&!T.error;)ue(p.dollarBraceL),Ut(),Js(),Js();he()}function J1(e,t){const r=$o();let s=!0;for(he(),T.tokens[T.tokens.length-1].contextId=r;!le(p.braceR)&&!T.error;){if(s)s=!1;else if(ue(p.comma),le(p.braceR))break;let i=!1;if($(p.ellipsis)){const o=T.tokens.length;if(eE(),e&&(T.tokens.length===o+2&&F1(t),le(p.braceR)))break;continue}e||(i=le(p.star)),!e&&Ce(H._async)?(i&&$e(),Me(),$(p.colon)||$(p.parenL)||$(p.braceR)||$(p.eq)||$(p.comma)||($(p.star)&&(he(),i=!0),qo(r))):qo(r),qM(e,t,r)}T.tokens[T.tokens.length-1].contextId=r}function $M(e){return!e&&($(p.string)||$(p.num)||$(p.bracketL)||$(p.name)||!!(T.type&p.IS_KEYWORD))}function jM(e,t){const r=T.start;return $(p.parenL)?(e&&$e(),Gp(r,!1),!0):$M(e)?(qo(t),Gp(r,!1),!0):!1}function UM(e,t){if(le(p.colon)){e?Ql(t):qt(!1);return}let r;e?T.scopeDepth===0?r=Ne.ObjectShorthandTopLevelDeclaration:t?r=Ne.ObjectShorthandBlockScopedDeclaration:r=Ne.ObjectShorthandFunctionScopedDeclaration:r=Ne.ObjectShorthand,T.tokens[T.tokens.length-1].identifierRole=r,Ql(t,!0)}function qM(e,t,r){He?cM():et&&kD(),jM(e,r)||UM(e,t)}function qo(e){et&&sd(),le(p.bracketL)?(T.tokens[T.tokens.length-1].contextId=e,qt(),ue(p.bracketR),T.tokens[T.tokens.length-1].contextId=e):($(p.num)||$(p.string)||$(p.bigint)||$(p.decimal)?Ns():ec(),T.tokens[T.tokens.length-1].identifierRole=Ne.ObjectKey,T.tokens[T.tokens.length-1].contextId=e)}function Gp(e,t){const r=$o();T.scopeDepth++;const s=T.tokens.length;$i(t,r),_E(e,r);const o=T.tokens.length;T.scopes.push(new ds(s,o,!0)),T.scopeDepth--}function Vo(e){aa(!0);const t=T.tokens.length;T.scopes.push(new ds(e,t,!0)),T.scopeDepth--}function _E(e,t=0){He?QR(e,t):et?dD(t):aa(!1,t)}function aa(e,t=0){e&&!$(p.braceL)?qt():Zs(!0,t)}function wE(e,t=!1){let r=!0;for(;!le(e)&&!T.error;){if(r)r=!1;else if(ue(p.comma),le(e))break;bE(t)}}function bE(e){e&&$(p.comma)||($(p.ellipsis)?(eE(),H1()):$(p.question)?he():qt(!1,!0))}function Me(){he(),T.tokens[T.tokens.length-1].type=p.name}function VM(){oa()}function WM(){he(),!$(p.semi)&&!Er()&&(le(p.star),qt())}function GM(){It(H._module),ue(p.braceL),ou(p.braceR)}function zM(e){return(e.type===p.name||!!(e.type&p.IS_KEYWORD))&&e.contextualKeyword!==H._from}function ms(e){const t=Ue(0);ue(e||p.colon),mr(),je(t)}function wv(){ue(p.modulo),It(H._checks),le(p.parenL)&&(Ut(),ue(p.parenR))}function K1(){const e=Ue(0);ue(p.colon),$(p.modulo)?wv():(mr(),$(p.modulo)&&wv()),je(e)}function HM(){he(),Y1(!0)}function XM(){he(),Me(),$(p.lessThan)&&Vr(),ue(p.parenL),Hp(),ue(p.parenR),K1(),mt()}function zp(){$(p._class)?HM():$(p._function)?XM():$(p._var)?JM():Lt(H._module)?le(p.dot)?QM():KM():Ce(H._type)?ZM():Ce(H._opaque)?eD():Ce(H._interface)?tD():$(p._export)?YM():$e()}function JM(){he(),kE(),mt()}function KM(){for($(p.string)?Ns():Me(),ue(p.braceL);!$(p.braceR)&&!T.error;)$(p._import)?(he(),DE()):$e();ue(p.braceR)}function YM(){ue(p._export),le(p._default)?$(p._function)||$(p._class)?zp():(mr(),mt()):$(p._var)||$(p._function)||$(p._class)||Ce(H._opaque)?zp():$(p.star)||$(p.braceL)||Ce(H._interface)||Ce(H._type)||Ce(H._opaque)?RE():$e()}function QM(){It(H._exports),Xn(),mt()}function ZM(){he(),Z1()}function eD(){he(),ed(!0)}function tD(){he(),Y1()}function Y1(e=!1){if(iu(),$(p.lessThan)&&Vr(),le(p._extends))do Sl();while(!e&&le(p.comma));if(Ce(H._mixins)){he();do Sl();while(le(p.comma))}if(Ce(H._implements)){he();do Sl();while(le(p.comma))}tc(e,!1,e)}function Sl(){EE(!1),$(p.lessThan)&&Bn()}function Q1(){Y1()}function iu(){Me()}function Z1(){iu(),$(p.lessThan)&&Vr(),ms(p.eq),mt()}function ed(e){It(H._type),iu(),$(p.lessThan)&&Vr(),$(p.colon)&&ms(p.colon),e||ms(p.eq),mt()}function rD(){sd(),kE(),le(p.eq)&&mr()}function Vr(){const e=Ue(0);$(p.lessThan)||$(p.typeParameterStart)?he():$e();do rD(),$(p.greaterThan)||ue(p.comma);while(!$(p.greaterThan)&&!T.error);ue(p.greaterThan),je(e)}function Bn(){const e=Ue(0);for(ue(p.lessThan);!$(p.greaterThan)&&!T.error;)mr(),$(p.greaterThan)||ue(p.comma);ue(p.greaterThan),je(e)}function sD(){if(It(H._interface),le(p._extends))do Sl();while(le(p.comma));tc(!1,!1,!1)}function td(){$(p.num)||$(p.string)?Ns():Me()}function nD(){wt()===p.colon?(td(),ms()):mr(),ue(p.bracketR),ms()}function iD(){td(),ue(p.bracketR),ue(p.bracketR),$(p.lessThan)||$(p.parenL)?rd():(le(p.question),ms())}function rd(){for($(p.lessThan)&&Vr(),ue(p.parenL);!$(p.parenR)&&!$(p.ellipsis)&&!T.error;)rc(),$(p.parenR)||ue(p.comma);le(p.ellipsis)&&rc(),ue(p.parenR),ms()}function oD(){rd()}function tc(e,t,r){let s;for(t&&$(p.braceBarL)?(ue(p.braceBarL),s=p.braceBarR):(ue(p.braceL),s=p.braceR);!$(s)&&!T.error;){if(r&&Ce(H._proto)){const i=wt();i!==p.colon&&i!==p.question&&(he(),e=!1)}if(e&&Ce(H._static)){const i=wt();i!==p.colon&&i!==p.question&&he()}if(sd(),le(p.bracketL))le(p.bracketL)?iD():nD();else if($(p.parenL)||$(p.lessThan))oD();else{if(Ce(H._get)||Ce(H._set)){const i=wt();(i===p.name||i===p.string||i===p.num)&&he()}aD()}lD()}ue(s)}function aD(){if($(p.ellipsis)){if(ue(p.ellipsis),le(p.comma)||le(p.semi),$(p.braceR))return;mr()}else td(),$(p.lessThan)||$(p.parenL)?rd():(le(p.question),ms())}function lD(){!le(p.semi)&&!le(p.comma)&&!$(p.braceR)&&!$(p.braceBarR)&&$e()}function EE(e){for(e||Me();le(p.dot);)Me()}function cD(){EE(!0),$(p.lessThan)&&Bn()}function uD(){ue(p._typeof),TE()}function hD(){for(ue(p.bracketL);T.pos<_e.length&&!$(p.bracketR)&&(mr(),!$(p.bracketR));)ue(p.comma);ue(p.bracketR)}function rc(){const e=wt();e===p.colon||e===p.question?(Me(),le(p.question),ms()):mr()}function Hp(){for(;!$(p.parenR)&&!$(p.ellipsis)&&!T.error;)rc(),$(p.parenR)||ue(p.comma);le(p.ellipsis)&&rc()}function TE(){let e=!1;const t=T.noAnonFunctionType;switch(T.type){case p.name:{if(Ce(H._interface)){sD();return}Me(),cD();return}case p.braceL:tc(!1,!1,!1);return;case p.braceBarL:tc(!1,!0,!1);return;case p.bracketL:hD();return;case p.lessThan:Vr(),ue(p.parenL),Hp(),ue(p.parenR),ue(p.arrow),mr();return;case p.parenL:if(he(),!$(p.parenR)&&!$(p.ellipsis))if($(p.name)){const r=wt();e=r!==p.question&&r!==p.colon}else e=!0;if(e)if(T.noAnonFunctionType=!1,mr(),T.noAnonFunctionType=t,T.noAnonFunctionType||!($(p.comma)||$(p.parenR)&&wt()===p.arrow)){ue(p.parenR);return}else le(p.comma);Hp(),ue(p.parenR),ue(p.arrow),mr();return;case p.minus:he(),bi();return;case p.string:case p.num:case p._true:case p._false:case p._null:case p._this:case p._void:case p.star:he();return;default:if(T.type===p._typeof){uD();return}else if(T.type&p.IS_KEYWORD){he(),T.tokens[T.tokens.length-1].type=p.name;return}}$e()}function pD(){for(TE();!Er()&&($(p.bracketL)||$(p.questionDot));)le(p.questionDot),ue(p.bracketL),le(p.bracketR)||(mr(),ue(p.bracketR))}function xE(){le(p.question)?xE():pD()}function bv(){xE(),!T.noAnonFunctionType&&le(p.arrow)&&mr()}function Ev(){for(le(p.bitwiseAND),bv();le(p.bitwiseAND);)bv()}function fD(){for(le(p.bitwiseOR),Ev();le(p.bitwiseOR);)Ev()}function mr(){fD()}function Xn(){ms()}function kE(){Me(),$(p.colon)&&Xn()}function sd(){($(p.plus)||$(p.minus))&&(he(),T.tokens[T.tokens.length-1].isType=!0)}function dD(e){$(p.colon)&&K1(),aa(!1,e)}function mD(e,t,r){if($(p.questionDot)&&wt()===p.lessThan){if(t){r.stop=!0;return}he(),Bn(),ue(p.parenL),Qs();return}else if(!t&&$(p.lessThan)){const s=T.snapshot();if(Bn(),ue(p.parenL),Qs(),T.error)T.restoreFromSnapshot(s);else return}G1(e,t,r)}function gD(){if($(p.lessThan)){const e=T.snapshot();Bn(),T.error&&T.restoreFromSnapshot(e)}}function yD(){if($(p.name)&&T.contextualKeyword===H._interface){const e=Ue(0);return he(),Q1(),je(e),!0}else if(Ce(H._enum))return PE(),!0;return!1}function vD(){return Ce(H._enum)?(PE(),!0):!1}function SD(e){if(e===H._declare){if($(p._class)||$(p.name)||$(p._function)||$(p._var)||$(p._export)){const t=Ue(1);zp(),je(t)}}else if($(p.name)){if(e===H._interface){const t=Ue(1);Q1(),je(t)}else if(e===H._type){const t=Ue(1);Z1(),je(t)}else if(e===H._opaque){const t=Ue(1);ed(!1),je(t)}}mt()}function _D(){return Ce(H._type)||Ce(H._interface)||Ce(H._opaque)||Ce(H._enum)}function wD(){return $(p.name)&&(T.contextualKeyword===H._type||T.contextualKeyword===H._interface||T.contextualKeyword===H._opaque||T.contextualKeyword===H._enum)}function bD(){if(Ce(H._type)){const e=Ue(1);he(),$(p.braceL)?(id(),Wo()):Z1(),je(e)}else if(Ce(H._opaque)){const e=Ue(1);he(),ed(!1),je(e)}else if(Ce(H._interface)){const e=Ue(1);he(),Q1(),je(e)}else Pr(!0)}function ED(){return $(p.star)||Ce(H._type)&&wt()===p.star}function TD(){if(Lt(H._type)){const e=Ue(2);Xp(),je(e)}else Xp()}function xD(e){if(e&&$(p.lessThan)&&Bn(),Ce(H._implements)){const t=Ue(0);he(),T.tokens[T.tokens.length-1].type=p._implements;do iu(),$(p.lessThan)&&Bn();while(le(p.comma));je(t)}}function kD(){$(p.lessThan)&&(Vr(),$(p.parenL)||$e())}function PD(){const e=Ue(0);le(p.question),$(p.colon)&&Xn(),je(e)}function AD(){if($(p._typeof)||Ce(H._type)){const e=sa();(zM(e)||e.type===p.braceL||e.type===p.star)&&he()}}function ID(){const e=T.contextualKeyword===H._type||T.type===p._typeof;e?he():Me(),Ce(H._as)&&!R1(H._as)?(Me(),e&&!$(p.name)&&!(T.type&p.IS_KEYWORD)||Me()):(e&&($(p.name)||T.type&p.IS_KEYWORD)&&Me(),Lt(H._as)&&Me())}function CD(){if($(p.lessThan)){const e=Ue(0);Vr(),je(e)}}function ND(){$(p.colon)&&Xn()}function OD(){if($(p.colon)){const e=T.noAnonFunctionType;T.noAnonFunctionType=!0,Xn(),T.noAnonFunctionType=e}}function LD(e,t){if($(p.lessThan)){const r=T.snapshot();let s=ps(e,t);if(T.error)T.restoreFromSnapshot(r),T.type=p.typeParameterStart;else return s;const i=Ue(0);if(Vr(),je(i),s=ps(e,t),s)return!0;$e()}return ps(e,t)}function RD(){if($(p.colon)){const e=Ue(0),t=T.snapshot(),r=T.noAnonFunctionType;T.noAnonFunctionType=!0,K1(),T.noAnonFunctionType=r,Er()&&$e(),$(p.arrow)||$e(),T.error&&T.restoreFromSnapshot(t),je(e)}return le(p.arrow)}function MD(e,t=!1){if(T.tokens[T.tokens.length-1].contextualKeyword===H._async&&$(p.lessThan)){const r=T.snapshot();if(DD()&&!T.error)return;T.restoreFromSnapshot(r)}yE(e,t)}function DD(){T.scopeDepth++;const e=T.tokens.length;return $i(),Wp()?(Vo(e),!0):!1}function PE(){It(H._enum),T.tokens[T.tokens.length-1].type=p._enum,Me(),FD()}function FD(){Lt(H._of)&&he(),ue(p.braceL),BD(),ue(p.braceR)}function BD(){for(;!$(p.braceR)&&!T.error&&!le(p.ellipsis);)$D(),$(p.braceR)||ue(p.comma)}function $D(){Me(),le(p.eq)&&he()}function jD(){if(ou(p.eof),T.scopes.push(new ds(0,T.tokens.length,!0)),T.scopeDepth!==0)throw new Error(`Invalid scope depth at end of file: ${T.scopeDepth}`);return new k3(T.tokens,T.scopes)}function Pr(e){et&&yD()||($(p.at)&&nd(),UD(e))}function UD(e){if(He&&nM())return;const t=T.type;switch(t){case p._break:case p._continue:VD();return;case p._debugger:WD();return;case p._do:GD();return;case p._for:zD();return;case p._function:if(wt()===p.dot)break;e||$e(),JD();return;case p._class:e||$e(),jn(!0);return;case p._if:KD();return;case p._return:YD();return;case p._switch:QD();return;case p._throw:ZD();return;case p._try:t3();return;case p._let:case p._const:e||$e();case p._var:_l(t!==p._var);return;case p._while:r3();return;case p.braceL:Zs();return;case p.semi:s3();return;case p._export:case p._import:{const i=wt();if(i===p.parenL||i===p.dot)break;he(),t===p._import?DE():RE();return}case p.name:if(T.contextualKeyword===H._async){const i=T.start,o=T.snapshot();if(he(),$(p._function)&&!Er()){ue(p._function),$n(i,!0);return}else T.restoreFromSnapshot(o)}else if(T.contextualKeyword===H._using&&!Ob()&&wt()===p.name){_l(!0);return}else if(AE()){It(H._await),_l(!0);return}}const r=T.tokens.length;Ut();let s=null;if(T.tokens.length===r+1){const i=T.tokens[T.tokens.length-1];i.type===p.name&&(s=i.contextualKeyword)}if(s==null){mt();return}le(p.colon)?n3():i3(s)}function AE(){if(!Ce(H._await))return!1;const e=T.snapshot();return he(),!Ce(H._using)||or()||(he(),!$(p.name)||or())?(T.restoreFromSnapshot(e),!1):(T.restoreFromSnapshot(e),!0)}function nd(){for(;$(p.at);)IE()}function IE(){if(he(),le(p.parenL))Ut(),ue(p.parenR);else{for(Me();le(p.dot);)Me();qD()}}function qD(){He?vM():CE()}function CE(){le(p.parenL)&&Qs()}function VD(){he(),is()||(Me(),mt())}function WD(){he(),mt()}function GD(){he(),Pr(!1),ue(p._while),nu(),le(p.semi)}function zD(){T.scopeDepth++;const e=T.tokens.length;XD();const t=T.tokens.length;T.scopes.push(new ds(e,t,!1)),T.scopeDepth--}function HD(){return!(!Ce(H._using)||R1(H._of))}function XD(){he();let e=!1;if(Ce(H._await)&&(e=!0,he()),ue(p.parenL),$(p.semi)){e&&$e(),Hh();return}const t=AE();if(t||$(p._var)||$(p._let)||$(p._const)||HD()){if(t&&It(H._await),he(),NE(!0,T.type!==p._var),$(p._in)||Ce(H._of)){Tv(e);return}Hh();return}if(Ut(!0),$(p._in)||Ce(H._of)){Tv(e);return}e&&$e(),Hh()}function JD(){const e=T.start;he(),$n(e,!0)}function KD(){he(),nu(),Pr(!1),le(p._else)&&Pr(!1)}function YD(){he(),is()||(Ut(),mt())}function QD(){he(),nu(),T.scopeDepth++;const e=T.tokens.length;for(ue(p.braceL);!$(p.braceR)&&!T.error;)if($(p._case)||$(p._default)){const r=$(p._case);he(),r&&Ut(),ue(p.colon)}else Pr(!0);he();const t=T.tokens.length;T.scopes.push(new ds(e,t,!1)),T.scopeDepth--}function ZD(){he(),Ut(),mt()}function e3(){tu(!0),He&&Fi()}function t3(){if(he(),Zs(),$(p._catch)){he();let e=null;if($(p.parenL)&&(T.scopeDepth++,e=T.tokens.length,ue(p.parenL),e3(),ue(p.parenR)),Zs(),e!=null){const t=T.tokens.length;T.scopes.push(new ds(e,t,!1)),T.scopeDepth--}}le(p._finally)&&Zs()}function _l(e){he(),NE(!1,e),mt()}function r3(){he(),nu(),Pr(!1)}function s3(){he()}function n3(){Pr(!0)}function i3(e){He?oM(e):et?SD(e):mt()}function Zs(e=!1,t=0){const r=T.tokens.length;T.scopeDepth++,ue(p.braceL),t&&(T.tokens[T.tokens.length-1].contextId=t),ou(p.braceR),t&&(T.tokens[T.tokens.length-1].contextId=t);const s=T.tokens.length;T.scopes.push(new ds(r,s,e)),T.scopeDepth--}function ou(e){for(;!le(e)&&!T.error;)Pr(!0)}function Hh(){ue(p.semi),$(p.semi)||Ut(),ue(p.semi),$(p.parenR)||Ut(),ue(p.parenR),Pr(!1)}function Tv(e){e?Lt(H._of):he(),Ut(),ue(p.parenR),Pr(!1)}function NE(e,t){for(;;){if(o3(t),le(p.eq)){const r=T.tokens.length-1;qt(e),T.tokens[r].rhsEndIndex=T.tokens.length}if(!le(p.comma))break}}function o3(e){tu(e),He?hM():et&&ND()}function $n(e,t,r=!1){$(p.star)&&he(),t&&!r&&!$(p.name)&&!$(p._yield)&&$e();let s=null;$(p.name)&&(t||(s=T.tokens.length,T.scopeDepth++),un(!1));const i=T.tokens.length;T.scopeDepth++,$i(),_E(e);const o=T.tokens.length;T.scopes.push(new ds(i,o,!0)),T.scopeDepth--,s!==null&&(T.scopes.push(new ds(s,o,!0)),T.scopeDepth--)}function $i(e=!1,t=0){He?uM():et&&CD(),ue(p.parenL),t&&(T.tokens[T.tokens.length-1].contextId=t),B1(p.parenR,!1,!1,e,t),t&&(T.tokens[T.tokens.length-1].contextId=t)}function jn(e,t=!1){const r=$o();he(),T.tokens[T.tokens.length-1].contextId=r,T.tokens[T.tokens.length-1].isExpression=!e;let s=null;e||(s=T.tokens.length,T.scopeDepth++),u3(e,t),h3();const i=T.tokens.length;if(a3(r),!T.error&&(T.tokens[i].contextId=r,T.tokens[T.tokens.length-1].contextId=r,s!==null)){const o=T.tokens.length;T.scopes.push(new ds(s,o,!1)),T.scopeDepth--}}function OE(){return $(p.eq)||$(p.semi)||$(p.braceR)||$(p.bang)||$(p.colon)}function LE(){return $(p.parenL)||$(p.lessThan)}function a3(e){for(ue(p.braceL);!le(p.braceR)&&!T.error;){if(le(p.semi))continue;if($(p.at)){IE();continue}const t=T.start;l3(t,e)}}function l3(e,t){He&&$1([H._declare,H._public,H._protected,H._private,H._override]);let r=!1;if($(p.name)&&T.contextualKeyword===H._static){if(Me(),LE()){ho(e,!1);return}else if(OE()){wl();return}if(T.tokens[T.tokens.length-1].type=p._static,r=!0,$(p.braceL)){T.tokens[T.tokens.length-1].contextId=t,Zs();return}}c3(e,r,t)}function c3(e,t,r){if(He&&iM(t))return;if(le(p.star)){lo(r),ho(e,!1);return}lo(r);let s=!1;const i=T.tokens[T.tokens.length-1];i.contextualKeyword===H._constructor&&(s=!0),xv(),LE()?ho(e,s):OE()?wl():i.contextualKeyword===H._async&&!is()?(T.tokens[T.tokens.length-1].type=p._async,$(p.star)&&he(),lo(r),xv(),ho(e,!1)):(i.contextualKeyword===H._get||i.contextualKeyword===H._set)&&!(is()&&$(p.star))?(i.contextualKeyword===H._get?T.tokens[T.tokens.length-1].type=p._get:T.tokens[T.tokens.length-1].type=p._set,lo(r),ho(e,!1)):i.contextualKeyword===H._accessor&&!is()?(lo(r),wl()):is()?wl():$e()}function ho(e,t){He?Hn():et&&$(p.lessThan)&&Vr(),Gp(e,t)}function lo(e){qo(e)}function xv(){if(He){const e=Ue(0);le(p.question),je(e)}}function wl(){if(He?(Fb(p.bang),Fi()):et&&$(p.colon)&&Xn(),$(p.eq)){const e=T.tokens.length;he(),qt(),T.tokens[e].rhsEndIndex=T.tokens.length}mt()}function u3(e,t=!1){He&&(!e||t)&&Ce(H._implements)||($(p.name)&&un(!0),He?Hn():et&&$(p.lessThan)&&Vr())}function h3(){let e=!1;le(p._extends)?(gE(),e=!0):e=!1,He?lM(e):et&&xD(e)}function RE(){const e=T.tokens.length-1;He&&eM()||(m3()?g3():d3()?(Me(),$(p.comma)&&wt()===p.star?(ue(p.comma),ue(p.star),It(H._as),Me()):ME(),Wo()):le(p._default)?p3():v3()?f3():(id(),Wo()),T.tokens[e].rhsEndIndex=T.tokens.length)}function p3(){if(He&&sM()||et&&vD())return;const e=T.start;le(p._function)?$n(e,!0,!0):Ce(H._async)&&wt()===p._function?(Lt(H._async),le(p._function),$n(e,!0,!0)):$(p._class)?jn(!0,!0):$(p.at)?(nd(),jn(!0,!0)):(qt(),mt())}function f3(){He?aM():et?bD():Pr(!0)}function d3(){if(He&&uE())return!1;if(et&&wD())return!1;if($(p.name))return T.contextualKeyword!==H._async;if(!$(p._default))return!1;const e=M1(),t=sa(),r=t.type===p.name&&t.contextualKeyword===H._from;if(t.type===p.comma)return!0;if(r){const s=_e.charCodeAt(Bb(e+4));return s===te.quotationMark||s===te.apostrophe}return!1}function ME(){le(p.comma)&&id()}function Wo(){Lt(H._from)&&(Ns(),FE()),mt()}function m3(){return et?ED():$(p.star)}function g3(){et?TD():Xp()}function Xp(){ue(p.star),Ce(H._as)?y3():Wo()}function y3(){he(),T.tokens[T.tokens.length-1].type=p._as,Me(),ME(),Wo()}function v3(){return He&&uE()||et&&_D()||T.type===p._var||T.type===p._const||T.type===p._let||T.type===p._function||T.type===p._class||Ce(H._async)||$(p.at)}function id(){let e=!0;for(ue(p.braceL);!le(p.braceR)&&!T.error;){if(e)e=!1;else if(ue(p.comma),le(p.braceR))break;S3()}}function S3(){if(He){rM();return}Me(),T.tokens[T.tokens.length-1].identifierRole=Ne.ExportAccess,Lt(H._as)&&Me()}function _3(){const e=T.snapshot();return It(H._module),Lt(H._from)?Ce(H._from)?(T.restoreFromSnapshot(e),!0):(T.restoreFromSnapshot(e),!1):$(p.comma)?(T.restoreFromSnapshot(e),!1):(T.restoreFromSnapshot(e),!0)}function w3(){Ce(H._module)&&_3()&&he()}function DE(){if(He&&$(p.name)&&wt()===p.eq){qp();return}if(He&&Ce(H._type)){const e=sa();if(e.type===p.name&&e.contextualKeyword!==H._from){if(It(H._type),wt()===p.eq){qp();return}}else(e.type===p.star||e.type===p.braceL)&&It(H._type)}$(p.string)||(w3(),E3(),It(H._from)),Ns(),FE(),mt()}function b3(){return $(p.name)}function kv(){Yl()}function E3(){et&&AD();let e=!0;if(!(b3()&&(kv(),!le(p.comma)))){if($(p.star)){he(),It(H._as),kv();return}for(ue(p.braceL);!le(p.braceR)&&!T.error;){if(e)e=!1;else if(le(p.colon)&&$e("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),ue(p.comma),le(p.braceR))break;T3()}}}function T3(){if(He){tM();return}if(et){ID();return}Yl(),Ce(H._as)&&(T.tokens[T.tokens.length-1].identifierRole=Ne.ImportAccess,he(),Yl())}function FE(){($(p._with)||Ce(H._assert)&&!or())&&(he(),J1(!1,!1))}function x3(){return T.pos===0&&_e.charCodeAt(0)===te.numberSign&&_e.charCodeAt(1)===te.exclamationMark&&Ub(2),jb(),jD()}let k3=class{constructor(t,r){this.tokens=t,this.scopes=r}};function P3(e,t,r,s){if(s&&r)throw new Error("Cannot combine flow and typescript plugins.");mL(e,t,r,s);const i=x3();if(T.error)throw pL(T.error);return i}function A3(e){let t=e.currentIndex(),r=0;const s=e.currentToken();do{const i=e.tokens[t];if(i.isOptionalChainStart&&r++,i.isOptionalChainEnd&&r--,r+=i.numNullishCoalesceStarts,r-=i.numNullishCoalesceEnds,i.contextualKeyword===H._await&&i.identifierRole==null&&i.scopeDepth===s.scopeDepth)return!0;t+=1}while(r>0&&t<e.tokens.length);return!1}class Eo{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(t,r,s,i,o){this.code=t,this.tokens=r,this.isFlowEnabled=s,this.disableESTransforms=i,this.helperManager=o,Eo.prototype.__init.call(this),Eo.prototype.__init2.call(this),Eo.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(t){this.resultCode=t.resultCode,this.tokenIndex=t.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(t){const r=this.resultCode.slice(t.resultCode.length);return this.resultCode=t.resultCode,r}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(t,r){return this.matches1AtIndex(t,p.name)&&this.tokens[t].contextualKeyword===r}identifierNameAtIndex(t){return this.identifierNameForToken(this.tokens[t])}identifierNameAtRelativeIndex(t){return this.identifierNameForToken(this.tokenAtRelativeIndex(t))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(t){return this.code.slice(t.start,t.end)}rawCodeForToken(t){return this.code.slice(t.start,t.end)}stringValueAtIndex(t){return this.stringValueForToken(this.tokens[t])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(t){return this.code.slice(t.start+1,t.end-1)}matches1AtIndex(t,r){return this.tokens[t].type===r}matches2AtIndex(t,r,s){return this.tokens[t].type===r&&this.tokens[t+1].type===s}matches3AtIndex(t,r,s,i){return this.tokens[t].type===r&&this.tokens[t+1].type===s&&this.tokens[t+2].type===i}matches1(t){return this.tokens[this.tokenIndex].type===t}matches2(t,r){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===r}matches3(t,r,s){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===r&&this.tokens[this.tokenIndex+2].type===s}matches4(t,r,s,i){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===r&&this.tokens[this.tokenIndex+2].type===s&&this.tokens[this.tokenIndex+3].type===i}matches5(t,r,s,i,o){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===r&&this.tokens[this.tokenIndex+2].type===s&&this.tokens[this.tokenIndex+3].type===i&&this.tokens[this.tokenIndex+4].type===o}matchesContextual(t){return this.matchesContextualAtIndex(this.tokenIndex,t)}matchesContextIdAndLabel(t,r){return this.matches1(t)&&this.currentToken().contextId===r}previousWhitespaceAndComments(){let t=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);return this.isFlowEnabled&&(t=t.replace(/@flow/g,"")),t}replaceToken(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(t){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let t=0;for(;!this.isAtEnd();){if(this.matches1(p.braceL))t++;else if(this.matches1(p.braceR)){if(t===0)return;t--}this.removeToken()}}copyExpectedToken(t){if(this.tokens[this.tokenIndex].type!==t)throw new Error(`Expected token ${t}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=t,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){const t=this.currentToken();if((t.numNullishCoalesceStarts||t.isOptionalChainStart)&&(t.isAsyncOperation=A3(this)),!this.disableESTransforms){if(t.numNullishCoalesceStarts)for(let r=0;r<t.numNullishCoalesceStarts;r++)t.isAsyncOperation?(this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce")):this.resultCode+=this.helperManager.getHelperName("nullishCoalesce"),this.resultCode+="(";t.isOptionalChainStart&&(t.isAsyncOperation&&(this.resultCode+="await "),this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===p._delete?t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){const t=this.currentToken();if(t.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),t.numNullishCoalesceEnds&&!this.disableESTransforms)for(let r=0;r<t.numNullishCoalesceEnds;r++)this.resultCode+="))"}appendCode(t){this.resultCode+=t}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){const t=this.currentToken();return this.code.slice(t.start,t.end)}tokenAtRelativeIndex(t){return this.tokens[this.tokenIndex+t]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw new Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw new Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}}function I3(e,t,r,s){const i=t.snapshot(),o=C3(t);let a=[];const h=[],l=[];let f=null;const d=[],g=[],y=t.currentToken().contextId;if(y==null)throw new Error("Expected non-null class context ID on class open-brace.");for(t.nextToken();!t.matchesContextIdAndLabel(p.braceR,y);)if(t.matchesContextual(H._constructor)&&!t.currentToken().isType)({constructorInitializerStatements:a,constructorInsertPos:f}=Pv(t));else if(t.matches1(p.semi))s||g.push({start:t.currentIndex(),end:t.currentIndex()+1}),t.nextToken();else if(t.currentToken().isType)t.nextToken();else{const v=t.currentIndex();let w=!1,_=!1,S=!1;for(;sc(t.currentToken());)t.matches1(p._static)&&(w=!0),t.matches1(p.hash)&&(_=!0),(t.matches1(p._declare)||t.matches1(p._abstract))&&(S=!0),t.nextToken();if(w&&t.matches1(p.braceL)){Xh(t,y);continue}if(_){Xh(t,y);continue}if(t.matchesContextual(H._constructor)&&!t.currentToken().isType){({constructorInitializerStatements:a,constructorInsertPos:f}=Pv(t));continue}const k=t.currentIndex();if(N3(t),t.matches1(p.lessThan)||t.matches1(p.parenL)){Xh(t,y);continue}for(;t.currentToken().isType;)t.nextToken();if(t.matches1(p.eq)){const E=t.currentIndex(),P=t.currentToken().rhsEndIndex;if(P==null)throw new Error("Expected rhsEndIndex on class field assignment.");for(t.nextToken();t.currentIndex()<P;)e.processToken();let O;w?(O=r.claimFreeName("__initStatic"),l.push(O)):(O=r.claimFreeName("__init"),h.push(O)),d.push({initializerName:O,equalsIndex:E,start:k,end:t.currentIndex()})}else(!s||S)&&g.push({start:v,end:t.currentIndex()})}return t.restoreToSnapshot(i),s?{headerInfo:o,constructorInitializerStatements:a,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:f,fields:[],rangesToRemove:g}:{headerInfo:o,constructorInitializerStatements:a,instanceInitializerNames:h,staticInitializerNames:l,constructorInsertPos:f,fields:d,rangesToRemove:g}}function Xh(e,t){for(e.nextToken();e.currentToken().contextId!==t;)e.nextToken();for(;sc(e.tokenAtRelativeIndex(-1));)e.previousToken()}function C3(e){const t=e.currentToken(),r=t.contextId;if(r==null)throw new Error("Expected context ID on class token.");const s=t.isExpression;if(s==null)throw new Error("Expected isExpression on class token.");let i=null,o=!1;for(e.nextToken(),e.matches1(p.name)&&(i=e.identifierName());!e.matchesContextIdAndLabel(p.braceL,r);)e.matches1(p._extends)&&!e.currentToken().isType&&(o=!0),e.nextToken();return{isExpression:s,className:i,hasSuperclass:o}}function Pv(e){const t=[];e.nextToken();const r=e.currentToken().contextId;if(r==null)throw new Error("Expected context ID on open-paren starting constructor params.");for(;!e.matchesContextIdAndLabel(p.parenR,r);)if(e.currentToken().contextId===r){if(e.nextToken(),sc(e.currentToken())){for(e.nextToken();sc(e.currentToken());)e.nextToken();const o=e.currentToken();if(o.type!==p.name)throw new Error("Expected identifier after access modifiers in constructor arg.");const a=e.identifierNameForToken(o);t.push(`this.${a} = ${a}`)}}else e.nextToken();for(e.nextToken();e.currentToken().isType;)e.nextToken();let s=e.currentIndex(),i=!1;for(;!e.matchesContextIdAndLabel(p.braceR,r);){if(!i&&e.matches2(p._super,p.parenL)){e.nextToken();const o=e.currentToken().contextId;if(o==null)throw new Error("Expected a context ID on the super call");for(;!e.matchesContextIdAndLabel(p.parenR,o);)e.nextToken();s=e.currentIndex(),i=!0}e.nextToken()}return e.nextToken(),{constructorInitializerStatements:t,constructorInsertPos:s}}function sc(e){return[p._async,p._get,p._set,p.plus,p.minus,p._readonly,p._static,p._public,p._private,p._protected,p._override,p._abstract,p.star,p._declare,p.hash].includes(e.type)}function N3(e){if(e.matches1(p.bracketL)){const r=e.currentToken().contextId;if(r==null)throw new Error("Expected class context ID on computed name open bracket.");for(;!e.matchesContextIdAndLabel(p.bracketR,r);)e.nextToken();e.nextToken()}else e.nextToken()}function BE(e){if(e.removeInitialToken(),e.removeToken(),e.removeToken(),e.removeToken(),e.matches1(p.parenL))e.removeToken(),e.removeToken(),e.removeToken();else for(;e.matches1(p.dot);)e.removeToken(),e.removeToken()}const $E={typeDeclarations:new Set,valueDeclarations:new Set};function jE(e){const t=new Set,r=new Set;for(let s=0;s<e.tokens.length;s++){const i=e.tokens[s];i.type===p.name&&Db(i)&&(i.isType?t.add(e.identifierNameForToken(i)):r.add(e.identifierNameForToken(i)))}return{typeDeclarations:t,valueDeclarations:r}}function UE(e){let t=e.currentIndex();for(;!e.matches1AtIndex(t,p.braceR);)t++;return e.matchesContextualAtIndex(t+1,H._from)&&e.matches1AtIndex(t+2,p.string)}function Pn(e){(e.matches2(p._with,p.braceL)||e.matches2(p.name,p.braceL)&&e.matchesContextual(H._assert))&&(e.removeToken(),e.removeToken(),e.removeBalancedCode(),e.removeToken())}function qE(e,t,r,s){if(!e||t)return!1;const i=r.currentToken();if(i.rhsEndIndex==null)throw new Error("Expected non-null rhsEndIndex on export token.");const o=i.rhsEndIndex-r.currentIndex();if(o!==3&&!(o===4&&r.matches1AtIndex(i.rhsEndIndex-1,p.semi)))return!1;const a=r.tokenAtRelativeIndex(2);if(a.type!==p.name)return!1;const h=r.identifierNameForToken(a);return s.typeDeclarations.has(h)&&!s.valueDeclarations.has(h)}class To extends qr{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(t,r,s,i,o,a,h,l,f,d,g,y){super(),this.rootTransformer=t,this.tokens=r,this.importProcessor=s,this.nameManager=i,this.helperManager=o,this.reactHotLoaderTransformer=a,this.enableLegacyBabel5ModuleInterop=h,this.enableLegacyTypeScriptModuleInterop=l,this.isTypeScriptTransformEnabled=f,this.isFlowTransformEnabled=d,this.preserveDynamicImport=g,this.keepUnusedImports=y,To.prototype.__init.call(this),To.prototype.__init2.call(this),To.prototype.__init3.call(this),this.declarationInfo=f?jE(r):$E}getPrefixCode(){let t="";return this.hadExport&&(t+='Object.defineProperty(exports, "__esModule", {value: true});'),t}getSuffixCode(){return this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport?`
|
|
module.exports = exports.default;
|
|
`:""}process(){return this.tokens.matches3(p._import,p.name,p.eq)?this.processImportEquals():this.tokens.matches1(p._import)?(this.processImport(),!0):this.tokens.matches2(p._export,p.eq)?(this.tokens.replaceToken("module.exports"),!0):this.tokens.matches1(p._export)&&!this.tokens.currentToken().isType?(this.hadExport=!0,this.processExport()):this.tokens.matches2(p.name,p.postIncDec)&&this.processPostIncDec()?!0:this.tokens.matches1(p.name)||this.tokens.matches1(p.jsxName)?this.processIdentifier():this.tokens.matches1(p.eq)?this.processAssignment():this.tokens.matches1(p.assign)?this.processComplexAssignment():this.tokens.matches1(p.preIncDec)?this.processPreIncDec():!1}processImportEquals(){const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.importProcessor.shouldAutomaticallyElideImportedName(t)?BE(this.tokens):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(p._import,p.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}const r=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${r}require`);const s=this.tokens.currentToken().contextId;if(s==null)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(p.parenR,s);)this.rootTransformer.processToken();this.tokens.replaceToken(r?")))":"))");return}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{const r=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(r)),this.tokens.appendCode(this.importProcessor.claimImportCode(r))}Pn(this.tokens),this.tokens.matches1(p.semi)&&this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(H._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,p.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,H._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(p.name)||this.tokens.matches1(p.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(p.string))return!1;let t=!1,r=!1;for(;!this.tokens.matches1(p.string);)(!t&&this.tokens.matches1(p.braceL)||this.tokens.matches1(p.comma))&&(this.tokens.removeToken(),this.tokens.matches1(p.braceR)||(r=!0),(this.tokens.matches2(p.name,p.comma)||this.tokens.matches2(p.name,p.braceR)||this.tokens.matches4(p.name,p.name,p.name,p.comma)||this.tokens.matches4(p.name,p.name,p.name,p.braceR))&&(t=!0)),this.tokens.removeToken();return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!t:this.isFlowTransformEnabled?r&&!t:!1}removeRemainingImport(){for(;!this.tokens.matches1(p.string);)this.tokens.removeToken()}processIdentifier(){const t=this.tokens.currentToken();if(t.shadowsGlobal)return!1;if(t.identifierRole===Ne.ObjectShorthand)return this.processObjectShorthand();if(t.identifierRole!==Ne.Access)return!1;const r=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(t));if(!r)return!1;let s=this.tokens.currentIndex()+1;for(;s<this.tokens.tokens.length&&this.tokens.tokens[s].type===p.parenR;)s++;return this.tokens.tokens[s].type===p.parenL?this.tokens.tokenAtRelativeIndex(1).type===p.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==p._new?(this.tokens.replaceToken(`${r}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(p.parenR)):this.tokens.replaceToken(`(0, ${r})`):this.tokens.replaceToken(r),!0}processObjectShorthand(){const t=this.tokens.identifierName(),r=this.importProcessor.getIdentifierReplacement(t);return r?(this.tokens.replaceToken(`${t}: ${r}`),!0):!1}processExport(){if(this.tokens.matches2(p._export,p._enum)||this.tokens.matches3(p._export,p._const,p._enum))return this.hadNamedExport=!0,!1;if(this.tokens.matches2(p._export,p._default))return this.tokens.matches3(p._export,p._default,p._enum)?(this.hadDefaultExport=!0,!1):(this.processExportDefault(),!0);if(this.tokens.matches2(p._export,p.braceL))return this.processExportBindings(),!0;if(this.tokens.matches2(p._export,p.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,H._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(p.braceL)){for(;!this.tokens.matches1(p.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(p._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(H._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,p.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),Pn(this.tokens)),!0}if(this.hadNamedExport=!0,this.tokens.matches2(p._export,p._var)||this.tokens.matches2(p._export,p._let)||this.tokens.matches2(p._export,p._const))return this.processExportVar(),!0;if(this.tokens.matches2(p._export,p._function)||this.tokens.matches3(p._export,p.name,p._function))return this.processExportFunction(),!0;if(this.tokens.matches2(p._export,p._class)||this.tokens.matches3(p._export,p._abstract,p._class)||this.tokens.matches2(p._export,p.at))return this.processExportClass(),!0;if(this.tokens.matches2(p._export,p.star))return this.processExportStar(),!0;throw new Error("Unrecognized export syntax.")}processAssignment(){const t=this.tokens.currentIndex(),r=this.tokens.tokens[t-1];if(r.isType||r.type!==p.name||r.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,p.dot)||t>=2&&[p._var,p._let,p._const].includes(this.tokens.tokens[t-2].type))return!1;const s=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(r));return s?(this.tokens.copyToken(),this.tokens.appendCode(` ${s} =`),!0):!1}processComplexAssignment(){const t=this.tokens.currentIndex(),r=this.tokens.tokens[t-1];if(r.type!==p.name||r.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,p.dot))return!1;const s=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(r));return s?(this.tokens.appendCode(` = ${s}`),this.tokens.copyToken(),!0):!1}processPreIncDec(){const t=this.tokens.currentIndex(),r=this.tokens.tokens[t+1];if(r.type!==p.name||r.shadowsGlobal||t+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(t+2,p.dot)||this.tokens.matches1AtIndex(t+2,p.bracketL)||this.tokens.matches1AtIndex(t+2,p.parenL)))return!1;const s=this.tokens.identifierNameForToken(r),i=this.importProcessor.resolveExportBinding(s);return i?(this.tokens.appendCode(`${i} = `),this.tokens.copyToken(),!0):!1}processPostIncDec(){const t=this.tokens.currentIndex(),r=this.tokens.tokens[t],s=this.tokens.tokens[t+1];if(r.type!==p.name||r.shadowsGlobal||t>=1&&this.tokens.matches1AtIndex(t-1,p.dot))return!1;const i=this.tokens.identifierNameForToken(r),o=this.importProcessor.resolveExportBinding(i);if(!o)return!1;const a=this.tokens.rawCodeForToken(s),h=this.importProcessor.getIdentifierReplacement(i)||i;if(a==="++")this.tokens.replaceToken(`(${h} = ${o} = ${h} + 1, ${h} - 1)`);else if(a==="--")this.tokens.replaceToken(`(${h} = ${o} = ${h} - 1, ${h} + 1)`);else throw new Error(`Unexpected operator: ${a}`);return this.tokens.removeToken(),!0}processExportDefault(){let t=!0;if(this.tokens.matches4(p._export,p._default,p._function,p.name)||this.tokens.matches5(p._export,p._default,p.name,p._function,p.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,H._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();const r=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${r};`)}else if(this.tokens.matches4(p._export,p._default,p._class,p.name)||this.tokens.matches5(p._export,p._default,p._abstract,p._class,p.name)||this.tokens.matches3(p._export,p._default,p.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(p._abstract)&&this.tokens.removeToken();const r=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${r};`)}else if(qE(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))t=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){const r=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${r}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${r} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(r)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");t&&(this.hadDefaultExport=!0)}copyDecorators(){for(;this.tokens.matches1(p.at);)if(this.tokens.copyToken(),this.tokens.matches1(p.parenL))this.tokens.copyExpectedToken(p.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(p.parenR);else{for(this.tokens.copyExpectedToken(p.name);this.tokens.matches1(p.dot);)this.tokens.copyExpectedToken(p.dot),this.tokens.copyExpectedToken(p.name);this.tokens.matches1(p.parenL)&&(this.tokens.copyExpectedToken(p.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(p.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let t=this.tokens.currentIndex();if(t++,t++,!this.tokens.matches1AtIndex(t,p.name))return!1;for(t++;t<this.tokens.tokens.length&&this.tokens.tokens[t].isType;)t++;return!!this.tokens.matches1AtIndex(t,p.eq)}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();const t=this.tokens.identifierName();for(;!this.tokens.matches1(p.eq);)this.rootTransformer.processToken();const r=this.tokens.currentToken().rhsEndIndex;if(r==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<r;)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${t} = ${t}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=this.tokens.matches1(p.braceL);t&&this.tokens.appendCode("(");let r=0;for(;;)if(this.tokens.matches1(p.braceL)||this.tokens.matches1(p.dollarBraceL)||this.tokens.matches1(p.bracketL))r++,this.tokens.copyToken();else if(this.tokens.matches1(p.braceR)||this.tokens.matches1(p.bracketR))r--,this.tokens.copyToken();else{if(r===0&&!this.tokens.matches1(p.name)&&!this.tokens.currentToken().isType)break;if(this.tokens.matches1(p.eq)){const s=this.tokens.currentToken().rhsEndIndex;if(s==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<s;)this.rootTransformer.processToken()}else{const s=this.tokens.currentToken();if(Mb(s)){const i=this.tokens.identifierName();let o=this.importProcessor.getIdentifierReplacement(i);if(o===null)throw new Error(`Expected a replacement for ${i} in \`export var\` syntax.`);wL(s)&&(o=`${i}: ${o}`),this.tokens.replaceToken(o)}else this.rootTransformer.processToken()}}if(t){const s=this.tokens.currentToken().rhsEndIndex;if(s==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<s;)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");const t=this.processNamedFunction();this.tokens.appendCode(` exports.${t} = ${t};`)}processNamedFunction(){if(this.tokens.matches1(p._function))this.tokens.copyToken();else if(this.tokens.matches2(p.name,p._function)){if(!this.tokens.matchesContextual(H._async))throw new Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(p.star)&&this.tokens.copyToken(),!this.tokens.matches1(p.name))throw new Error("Expected identifier for exported function name.");const t=this.tokens.identifierName();if(this.tokens.copyToken(),this.tokens.currentToken().isType)for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return this.tokens.copyExpectedToken(p.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(p.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(p.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(p.braceR),t}processExportClass(){this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(p._abstract)&&this.tokens.removeToken();const t=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${t} = ${t};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=UE(this.tokens),r=[];for(;;){if(this.tokens.matches1(p.braceR)){this.tokens.removeToken();break}const s=jo(this.tokens);for(;this.tokens.currentIndex()<s.endIndex;)this.tokens.removeToken();if(!(s.isType||!t&&this.shouldElideExportedIdentifier(s.leftName))){const o=s.rightName;o==="default"?this.hadDefaultExport=!0:this.hadNamedExport=!0;const a=s.leftName,h=this.importProcessor.getIdentifierReplacement(a);r.push(`exports.${o} = ${h||a};`)}if(this.tokens.matches1(p.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(p.comma,p.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}else if(this.tokens.matches1(p.comma))this.tokens.removeToken();else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`)}if(this.tokens.matchesContextual(H._from)){this.tokens.removeToken();const s=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(s)),Pn(this.tokens)}else this.tokens.appendCode(r.join(" "));this.tokens.matches1(p.semi)&&this.tokens.removeToken()}processExportStar(){for(this.tokens.removeInitialToken();!this.tokens.matches1(p.string);)this.tokens.removeToken();const t=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(t)),Pn(this.tokens),this.tokens.matches1(p.semi)&&this.tokens.removeToken()}shouldElideExportedIdentifier(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.declarationInfo.valueDeclarations.has(t)}}class O3 extends qr{constructor(t,r,s,i,o,a,h,l){super(),this.tokens=t,this.nameManager=r,this.helperManager=s,this.reactHotLoaderTransformer=i,this.isTypeScriptTransformEnabled=o,this.isFlowTransformEnabled=a,this.keepUnusedImports=h,this.nonTypeIdentifiers=o&&!h?Kb(t,l):new Set,this.declarationInfo=o&&!h?jE(t):$E,this.injectCreateRequireForImportRequire=!!l.injectCreateRequireForImportRequire}process(){if(this.tokens.matches3(p._import,p.name,p.eq))return this.processImportEquals();if(this.tokens.matches4(p._import,p.name,p.name,p.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,H._type)){this.tokens.removeInitialToken();for(let t=0;t<7;t++)this.tokens.removeToken();return!0}if(this.tokens.matches2(p._export,p.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(p._export,p._import,p.name,p.name,p.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,H._type)){this.tokens.removeInitialToken();for(let t=0;t<8;t++)this.tokens.removeToken();return!0}if(this.tokens.matches1(p._import))return this.processImport();if(this.tokens.matches2(p._export,p._default))return this.processExportDefault();if(this.tokens.matches2(p._export,p.braceL))return this.processNamedExports();if(this.tokens.matches2(p._export,p.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,H._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(p.braceL)){for(;!this.tokens.matches1(p.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(p._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(H._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,p.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),Pn(this.tokens)),!0}return!1}processImportEquals(){const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.shouldAutomaticallyElideImportedName(t)?BE(this.tokens):this.injectCreateRequireForImportRequire?(this.tokens.replaceToken("const"),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.replaceToken(this.helperManager.getHelperName("require"))):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(p._import,p.parenL))return!1;const t=this.tokens.snapshot();if(this.removeImportTypeBindings()){for(this.tokens.restoreToSnapshot(t);!this.tokens.matches1(p.string);)this.tokens.removeToken();this.tokens.removeToken(),Pn(this.tokens),this.tokens.matches1(p.semi)&&this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(p._import),this.tokens.matchesContextual(H._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,p.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,H._from))return!0;if(this.tokens.matches1(p.string))return this.tokens.copyToken(),!1;this.tokens.matchesContextual(H._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,H._from)&&this.tokens.copyToken();let t=!1,r=!1,s=!1;if(this.tokens.matches1(p.name)&&(this.shouldAutomaticallyElideImportedName(this.tokens.identifierName())?(this.tokens.removeToken(),this.tokens.matches1(p.comma)&&this.tokens.removeToken()):(t=!0,this.tokens.copyToken(),this.tokens.matches1(p.comma)&&(s=!0,this.tokens.removeToken()))),this.tokens.matches1(p.star))this.shouldAutomaticallyElideImportedName(this.tokens.identifierNameAtRelativeIndex(2))?(this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken()):(s&&this.tokens.appendCode(","),t=!0,this.tokens.copyExpectedToken(p.star),this.tokens.copyExpectedToken(p.name),this.tokens.copyExpectedToken(p.name));else if(this.tokens.matches1(p.braceL)){for(s&&this.tokens.appendCode(","),this.tokens.copyToken();!this.tokens.matches1(p.braceR);){r=!0;const i=jo(this.tokens);if(i.isType||this.shouldAutomaticallyElideImportedName(i.rightName)){for(;this.tokens.currentIndex()<i.endIndex;)this.tokens.removeToken();this.tokens.matches1(p.comma)&&this.tokens.removeToken()}else{for(t=!0;this.tokens.currentIndex()<i.endIndex;)this.tokens.copyToken();this.tokens.matches1(p.comma)&&this.tokens.copyToken()}}this.tokens.copyExpectedToken(p.braceR)}return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!t:this.isFlowTransformEnabled?r&&!t:!1}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}processExportDefault(){if(qE(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))return this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken(),!0;if(!(this.tokens.matches4(p._export,p._default,p._function,p.name)||this.tokens.matches5(p._export,p._default,p.name,p._function,p.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,H._async)||this.tokens.matches4(p._export,p._default,p._class,p.name)||this.tokens.matches5(p._export,p._default,p._abstract,p._class,p.name))&&this.reactHotLoaderTransformer){const r=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${r}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${r} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(r),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;this.tokens.copyExpectedToken(p._export),this.tokens.copyExpectedToken(p.braceL);const t=UE(this.tokens);let r=!1;for(;!this.tokens.matches1(p.braceR);){const s=jo(this.tokens);if(s.isType||!t&&this.shouldElideExportedName(s.leftName)){for(;this.tokens.currentIndex()<s.endIndex;)this.tokens.removeToken();this.tokens.matches1(p.comma)&&this.tokens.removeToken()}else{for(r=!0;this.tokens.currentIndex()<s.endIndex;)this.tokens.copyToken();this.tokens.matches1(p.comma)&&this.tokens.copyToken()}}return this.tokens.copyExpectedToken(p.braceR),!this.keepUnusedImports&&t&&!r&&(this.tokens.removeToken(),this.tokens.removeToken(),Pn(this.tokens)),!0}shouldElideExportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&this.declarationInfo.typeDeclarations.has(t)&&!this.declarationInfo.valueDeclarations.has(t)}}class L3 extends qr{constructor(t,r,s){super(),this.rootTransformer=t,this.tokens=r,this.isImportsTransformEnabled=s}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(p._enum)?(this.processEnum(),!0):this.tokens.matches2(p._export,p._enum)?(this.processNamedExportEnum(),!0):this.tokens.matches3(p._export,p._default,p._enum)?(this.processDefaultExportEnum(),!0):!1}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();const t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${t} = ${t};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.isImportsTransformEnabled?this.tokens.appendCode(` exports.default = ${t};`):this.tokens.appendCode(` export default ${t};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(p.name);let t=!1;this.tokens.matchesContextual(H._of)&&(this.tokens.removeToken(),t=this.tokens.matchesContextual(H._symbol),this.tokens.removeToken());const r=this.tokens.matches3(p.braceL,p.name,p.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');const s=!t&&!r;for(this.tokens.replaceTokenTrimmingLeftWhitespace(s?".Mirrored([":"({");!this.tokens.matches1(p.braceR);){if(this.tokens.matches1(p.ellipsis)){this.tokens.removeToken();break}this.processEnumElement(t,r),this.tokens.matches1(p.comma)&&this.tokens.copyToken()}this.tokens.replaceToken(s?"]);":"});")}processEnumElement(t,r){if(t){const s=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${s}")`)}else r?(this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken()):this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}}function R3(e){let t,r=e[0],s=1;for(;s<e.length;){const i=e[s],o=e[s+1];if(s+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(t=r,r=o(r)):(i==="call"||i==="optionalCall")&&(r=o((...a)=>r.call(t,...a)),t=void 0)}return r}const nl="jest",M3=["mock","unmock","enableAutomock","disableAutomock"];class od extends qr{__init(){this.hoistedFunctionNames=[]}constructor(t,r,s,i){super(),this.rootTransformer=t,this.tokens=r,this.nameManager=s,this.importProcessor=i,od.prototype.__init.call(this)}process(){return this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(p.name,p.dot,p.name,p.parenL)&&this.tokens.identifierName()===nl?R3([this,"access",t=>t.importProcessor,"optionalAccess",t=>t.getGlobalNames,"call",t=>t(),"optionalAccess",t=>t.has,"call",t=>t(nl)])?!1:this.extractHoistedCalls():!1}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map(t=>`${t}();`).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let t=!1;for(;this.tokens.matches3(p.dot,p.name,p.parenL);){const r=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(M3.includes(r)){const i=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(i),this.tokens.replaceToken(`function ${i}(){${nl}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(p.parenR),this.tokens.appendCode(";}"),t=!1}else t?this.tokens.copyToken():this.tokens.replaceToken(`${nl}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(p.parenR),t=!0}return!0}}class D3 extends qr{constructor(t){super(),this.tokens=t}process(){if(this.tokens.matches1(p.num)){const t=this.tokens.currentTokenCode();if(t.includes("_"))return this.tokens.replaceToken(t.replace(/_/g,"")),!0}return!1}}class F3 extends qr{constructor(t,r){super(),this.tokens=t,this.nameManager=r}process(){return this.tokens.matches2(p._catch,p.braceL)?(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0):!1}}class B3 extends qr{constructor(t,r){super(),this.tokens=t,this.nameManager=r}process(){if(this.tokens.matches1(p.nullishCoalescing)){const s=this.tokens.currentToken();return this.tokens.tokens[s.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(p._delete)&&this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0;const r=this.tokens.currentToken().subscriptStartIndex;if(r!=null&&this.tokens.tokens[r].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==p._super){const s=this.nameManager.claimFreeName("_");let i;if(r>0&&this.tokens.matches1AtIndex(r-1,p._delete)&&this.isLastSubscriptInChain()?i=`${s} => delete ${s}`:i=`${s} => ${s}`,this.tokens.tokens[r].isAsyncOperation&&(i=`async ${i}`),this.tokens.matches2(p.questionDot,p.parenL)||this.tokens.matches2(p.questionDot,p.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${i}`);else if(this.tokens.matches2(p.questionDot,p.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${i}`);else if(this.tokens.matches1(p.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${i}.`);else if(this.tokens.matches1(p.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${i}.`);else if(this.tokens.matches1(p.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${i}[`);else if(this.tokens.matches1(p.parenL))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${i}(`);else throw new Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let t=0;for(let r=this.tokens.currentIndex()+1;;r++){if(r>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[r].isOptionalChainStart?t++:this.tokens.tokens[r].isOptionalChainEnd&&t--,t<0)return!0;if(t===0&&this.tokens.tokens[r].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let t=0,r=this.tokens.currentIndex()-1;for(;;){if(r<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[r].isOptionalChainStart?t--:this.tokens.tokens[r].isOptionalChainEnd&&t++,t<0)return!1;if(t===0&&this.tokens.tokens[r].subscriptStartIndex!=null)return this.tokens.tokens[r-1].type===p._super;r--}}}class $3 extends qr{constructor(t,r,s,i){super(),this.rootTransformer=t,this.tokens=r,this.importProcessor=s,this.options=i}process(){const t=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){const r=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return r?this.tokens.replaceToken(`(0, ${r})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(t),!0}if(this.tokens.matches3(p.name,p.dot,p.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){const r=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return r?(this.tokens.replaceToken(r),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(t),!0}return!1}tryProcessCreateClassCall(t){const r=this.findDisplayName(t);r&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(p.parenL),this.tokens.copyExpectedToken(p.braceL),this.tokens.appendCode(`displayName: '${r}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(p.braceR),this.tokens.copyExpectedToken(p.parenR))}findDisplayName(t){return t<2?null:this.tokens.matches2AtIndex(t-2,p.name,p.eq)?this.tokens.identifierNameAtIndex(t-2):t>=2&&this.tokens.tokens[t-2].identifierRole===Ne.ObjectKey?this.tokens.identifierNameAtIndex(t-2):this.tokens.matches2AtIndex(t-2,p._export,p._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){const r=(this.options.filePath||"unknown").split("/"),s=r[r.length-1],i=s.lastIndexOf("."),o=i===-1?s:s.slice(0,i);return o==="index"&&r[r.length-2]?r[r.length-2]:o}classNeedsDisplayName(){let t=this.tokens.currentIndex();if(!this.tokens.matches2(p.parenL,p.braceL))return!1;const r=t+1,s=this.tokens.tokens[r].contextId;if(s==null)throw new Error("Expected non-null context ID on object open-brace.");for(;t<this.tokens.tokens.length;t++){const i=this.tokens.tokens[t];if(i.type===p.braceR&&i.contextId===s){t++;break}if(this.tokens.identifierNameAtIndex(t)==="displayName"&&this.tokens.tokens[t].identifierRole===Ne.ObjectKey&&i.contextId===s)return!1}if(t===this.tokens.tokens.length)throw new Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(t,p.parenR)||this.tokens.matches2AtIndex(t,p.comma,p.parenR)}}class ad extends qr{__init(){this.extractedDefaultExportName=null}constructor(t,r){super(),this.tokens=t,this.filePath=r,ad.prototype.__init.call(this)}setExtractedDefaultExportName(t){this.extractedDefaultExportName=t}getPrefixCode(){return`
|
|
(function () {
|
|
var enterModule = require('react-hot-loader').enterModule;
|
|
enterModule && enterModule(module);
|
|
})();`.replace(/\s+/g," ").trim()}getSuffixCode(){const t=new Set;for(const s of this.tokens.tokens)!s.isType&&Db(s)&&s.identifierRole!==Ne.ImportDeclaration&&t.add(this.tokens.identifierNameForToken(s));const r=Array.from(t).map(s=>({variableName:s,uniqueLocalName:s}));return this.extractedDefaultExportName&&r.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),`
|
|
;(function () {
|
|
var reactHotLoader = require('react-hot-loader').default;
|
|
var leaveModule = require('react-hot-loader').leaveModule;
|
|
if (!reactHotLoader) {
|
|
return;
|
|
}
|
|
${r.map(({variableName:s,uniqueLocalName:i})=>` reactHotLoader.register(${s}, "${i}", ${JSON.stringify(this.filePath||"")});`).join(`
|
|
`)}
|
|
leaveModule(module);
|
|
})();`}process(){return!1}}const j3=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function Av(e){if(e.length===0||!ra[e.charCodeAt(0)])return!1;for(let t=1;t<e.length;t++)if(!Ur[e.charCodeAt(t)])return!1;return!j3.has(e)}class U3 extends qr{constructor(t,r,s){super(),this.rootTransformer=t,this.tokens=r,this.isImportsTransformEnabled=s}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(p._public)||this.tokens.matches1(p._protected)||this.tokens.matches1(p._private)||this.tokens.matches1(p._abstract)||this.tokens.matches1(p._readonly)||this.tokens.matches1(p._override)||this.tokens.matches1(p.nonNullAssertion)?(this.tokens.removeInitialToken(),!0):this.tokens.matches1(p._enum)||this.tokens.matches2(p._const,p._enum)?(this.processEnum(),!0):this.tokens.matches2(p._export,p._enum)||this.tokens.matches3(p._export,p._const,p._enum)?(this.processEnum(!0),!0):!1}processEnum(t=!1){for(this.tokens.removeInitialToken();this.tokens.matches1(p._const)||this.tokens.matches1(p._enum);)this.tokens.removeToken();const r=this.tokens.identifierName();this.tokens.removeToken(),t&&!this.isImportsTransformEnabled&&this.tokens.appendCode("export "),this.tokens.appendCode(`var ${r}; (function (${r})`),this.tokens.copyExpectedToken(p.braceL),this.processEnumBody(r),this.tokens.copyExpectedToken(p.braceR),t&&this.isImportsTransformEnabled?this.tokens.appendCode(`)(${r} || (exports.${r} = ${r} = {}));`):this.tokens.appendCode(`)(${r} || (${r} = {}));`)}processEnumBody(t){let r=null;for(;!this.tokens.matches1(p.braceR);){const{nameStringCode:s,variableName:i}=this.extractEnumKeyInfo(this.tokens.currentToken());this.tokens.removeInitialToken(),this.tokens.matches3(p.eq,p.string,p.comma)||this.tokens.matches3(p.eq,p.string,p.braceR)?this.processStringLiteralEnumMember(t,s,i):this.tokens.matches1(p.eq)?this.processExplicitValueEnumMember(t,s,i):this.processImplicitValueEnumMember(t,s,i,r),this.tokens.matches1(p.comma)&&this.tokens.removeToken(),i!=null?r=i:r=`${t}[${s}]`}}extractEnumKeyInfo(t){if(t.type===p.name){const r=this.tokens.identifierNameForToken(t);return{nameStringCode:`"${r}"`,variableName:Av(r)?r:null}}else if(t.type===p.string){const r=this.tokens.stringValueForToken(t);return{nameStringCode:this.tokens.code.slice(t.start,t.end),variableName:Av(r)?r:null}}else throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(t,r,s){s!=null?(this.tokens.appendCode(`const ${s}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${t}[${r}] = ${s};`)):(this.tokens.appendCode(`${t}[${r}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";"))}processExplicitValueEnumMember(t,r,s){const i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected rhsEndIndex on enum assign.");if(s!=null){for(this.tokens.appendCode(`const ${s}`),this.tokens.copyToken();this.tokens.currentIndex()<i;)this.rootTransformer.processToken();this.tokens.appendCode(`; ${t}[${t}[${r}] = ${s}] = ${r};`)}else{for(this.tokens.appendCode(`${t}[${t}[${r}]`),this.tokens.copyToken();this.tokens.currentIndex()<i;)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${r};`)}}processImplicitValueEnumMember(t,r,s,i){let o=i!=null?`${i} + 1`:"0";s!=null&&(this.tokens.appendCode(`const ${s} = ${o}; `),o=s),this.tokens.appendCode(`${t}[${t}[${r}] = ${o}] = ${r};`)}}class nc{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(t,r,s,i){nc.prototype.__init.call(this),nc.prototype.__init2.call(this),this.nameManager=t.nameManager,this.helperManager=t.helperManager;const{tokenProcessor:o,importProcessor:a}=t;this.tokens=o,this.isImportsTransformEnabled=r.includes("imports"),this.isReactHotLoaderTransformEnabled=r.includes("react-hot-loader"),this.disableESTransforms=!!i.disableESTransforms,i.disableESTransforms||(this.transformers.push(new B3(o,this.nameManager)),this.transformers.push(new D3(o)),this.transformers.push(new F3(o,this.nameManager))),r.includes("jsx")&&(i.jsxRuntime!=="preserve"&&this.transformers.push(new bn(this,o,a,this.nameManager,i)),this.transformers.push(new $3(this,o,a,i)));let h=null;if(r.includes("react-hot-loader")){if(!i.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");h=new ad(o,i.filePath),this.transformers.push(h)}if(r.includes("imports")){if(a===null)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new To(this,o,a,this.nameManager,this.helperManager,h,s,!!i.enableLegacyTypeScriptModuleInterop,r.includes("typescript"),r.includes("flow"),!!i.preserveDynamicImport,!!i.keepUnusedImports))}else this.transformers.push(new O3(o,this.nameManager,this.helperManager,h,r.includes("typescript"),r.includes("flow"),!!i.keepUnusedImports,i));r.includes("flow")&&this.transformers.push(new L3(this,o,r.includes("imports"))),r.includes("typescript")&&this.transformers.push(new U3(this,o,r.includes("imports"))),r.includes("jest")&&this.transformers.push(new od(this,o,this.nameManager,a))}transform(){this.tokens.reset(),this.processBalancedCode();let r=this.isImportsTransformEnabled?'"use strict";':"";for(const a of this.transformers)r+=a.getPrefixCode();r+=this.helperManager.emitHelpers(),r+=this.generatedVariables.map(a=>` var ${a};`).join("");for(const a of this.transformers)r+=a.getHoistedCode();let s="";for(const a of this.transformers)s+=a.getSuffixCode();const i=this.tokens.finish();let{code:o}=i;if(o.startsWith("#!")){let a=o.indexOf(`
|
|
`);return a===-1&&(a=o.length,o+=`
|
|
`),{code:o.slice(0,a+1)+r+o.slice(a+1)+s,mappings:this.shiftMappings(i.mappings,r.length)}}else return{code:r+o+s,mappings:this.shiftMappings(i.mappings,r.length)}}processBalancedCode(){let t=0,r=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(p.braceL)||this.tokens.matches1(p.dollarBraceL))t++;else if(this.tokens.matches1(p.braceR)){if(t===0)return;t--}if(this.tokens.matches1(p.parenL))r++;else if(this.tokens.matches1(p.parenR)){if(r===0)return;r--}this.processToken()}}processToken(){if(this.tokens.matches1(p._class)){this.processClass();return}for(const t of this.transformers)if(t.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(p._class,p.name))throw new Error("Expected identifier for exported class name.");const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),t}processClass(){const t=I3(this,this.tokens,this.nameManager,this.disableESTransforms),r=(t.headerInfo.isExpression||!t.headerInfo.className)&&t.staticInitializerNames.length+t.instanceInitializerNames.length>0;let s=t.headerInfo.className;r&&(s=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(s),this.tokens.appendCode(` (${s} =`));const o=this.tokens.currentToken().contextId;if(o==null)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(p._class);!this.tokens.matchesContextIdAndLabel(p.braceL,o);)this.processToken();this.processClassBody(t,s);const a=t.staticInitializerNames.map(h=>`${s}.${h}()`);r?this.tokens.appendCode(`, ${a.map(h=>`${h}, `).join("")}${s})`):t.staticInitializerNames.length>0&&this.tokens.appendCode(` ${a.map(h=>`${h};`).join(" ")}`)}processClassBody(t,r){const{headerInfo:s,constructorInsertPos:i,constructorInitializerStatements:o,fields:a,instanceInitializerNames:h,rangesToRemove:l}=t;let f=0,d=0;const g=this.tokens.currentToken().contextId;if(g==null)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(p.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");const y=o.length+h.length>0;if(i===null&&y){const v=this.makeConstructorInitCode(o,h,r);if(s.hasSuperclass){const w=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${w}) { super(...${w}); ${v}; }`)}else this.tokens.appendCode(`constructor() { ${v}; }`)}for(;!this.tokens.matchesContextIdAndLabel(p.braceR,g);)if(f<a.length&&this.tokens.currentIndex()===a[f].start){let v=!1;for(this.tokens.matches1(p.bracketL)?this.tokens.copyTokenWithPrefix(`${a[f].initializerName}() {this`):this.tokens.matches1(p.string)||this.tokens.matches1(p.num)?(this.tokens.copyTokenWithPrefix(`${a[f].initializerName}() {this[`),v=!0):this.tokens.copyTokenWithPrefix(`${a[f].initializerName}() {this.`);this.tokens.currentIndex()<a[f].end;)v&&this.tokens.currentIndex()===a[f].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),f++}else if(d<l.length&&this.tokens.currentIndex()>=l[d].start){for(this.tokens.currentIndex()<l[d].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<l[d].end;)this.tokens.removeToken();d++}else this.tokens.currentIndex()===i?(this.tokens.copyToken(),y&&this.tokens.appendCode(`;${this.makeConstructorInitCode(o,h,r)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(p.braceR)}makeConstructorInitCode(t,r,s){return[...t,...r.map(i=>`${s}.prototype.${i}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(p.parenR,p.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType;)t++;if(this.tokens.matches1AtIndex(t,p.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()<t;)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(H._async)&&!this.tokens.matches1(p._async))return!1;const t=this.tokens.tokenAtRelativeIndex(1);if(t.type!==p.lessThan||!t.isType)return!1;let r=this.tokens.currentIndex()+1;for(;this.tokens.tokens[r].isType;)r++;if(this.tokens.matches1AtIndex(r,p.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<r;)this.tokens.removeToken();return this.tokens.removeToken(),this.processBalancedCode(),this.processToken(),!0}return!1}processPossibleTypeRange(){if(this.tokens.currentToken().isType){for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return!0}return!1}shiftMappings(t,r){for(let s=0;s<t.length;s++){const i=t[s];i!==void 0&&(t[s]=i+r)}return t}}var q3={};(function(e){e.__esModule=!0,e.LinesAndColumns=void 0;var t=`
|
|
`,r="\r",s=function(){function i(o){this.string=o;for(var a=[0],h=0;h<o.length;)switch(o[h]){case t:h+=t.length,a.push(h);break;case r:h+=r.length,o[h]===t&&(h+=t.length),a.push(h);break;default:h++;break}this.offsets=a}return i.prototype.locationForIndex=function(o){if(o<0||o>this.string.length)return null;for(var a=0,h=this.offsets;h[a+1]<=o;)a++;var l=o-h[a];return{line:a,column:l}},i.prototype.indexForLocation=function(o){var a=o.line,h=o.column;return a<0||a>=this.offsets.length||h<0||h>this.lengthOfLine(a)?null:this.offsets[a]+h},i.prototype.lengthOfLine=function(o){var a=this.offsets[o],h=o===this.offsets.length-1?this.string.length:this.offsets[o+1];return h-a},i}();e.LinesAndColumns=s,e.default=s})(q3);function V3(e){const t=new Set;for(let r=0;r<e.tokens.length;r++)e.matches1AtIndex(r,p._import)&&!e.matches3AtIndex(r,p._import,p.name,p.eq)&&W3(e,r,t);return t}function W3(e,t,r){t++,!e.matches1AtIndex(t,p.parenL)&&(e.matches1AtIndex(t,p.name)&&(r.add(e.identifierNameAtIndex(t)),t++,e.matches1AtIndex(t,p.comma)&&t++),e.matches1AtIndex(t,p.star)&&(t+=2,r.add(e.identifierNameAtIndex(t)),t++),e.matches1AtIndex(t,p.braceL)&&(t++,G3(e,t,r)))}function G3(e,t,r){for(;;){if(e.matches1AtIndex(t,p.braceR))return;const s=jo(e,t);if(t=s.endIndex,s.isType||r.add(s.rightName),e.matches2AtIndex(t,p.comma,p.braceR))return;if(e.matches1AtIndex(t,p.braceR))return;if(e.matches1AtIndex(t,p.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(e.tokens[t])}`)}}function z3(e,t){lR(t);try{const r=H3(e,t),i=new nc(r,t.transforms,!!t.enableLegacyBabel5ModuleInterop,t).transform();let o={code:i.code};if(t.sourceMapOptions){if(!t.filePath)throw new Error("filePath must be specified when generating a source map.");o={...o,sourceMap:XL(i,t.filePath,t.sourceMapOptions,e,r.tokenProcessor.tokens)}}return o}catch(r){throw t.filePath&&(r.message=`Error transforming ${t.filePath}: ${r.message}`),r}}function H3(e,t){const r=t.transforms.includes("jsx"),s=t.transforms.includes("typescript"),i=t.transforms.includes("flow"),o=t.disableESTransforms===!0,a=P3(e,r,s,i),h=a.tokens,l=a.scopes,f=new D1(e,h),d=new Kl(f),g=new Eo(e,h,i,o,d),y=!!t.enableLegacyTypeScriptModuleInterop;let v=null;return t.transforms.includes("imports")?(v=new En(f,g,y,t,t.transforms.includes("typescript"),!!t.keepUnusedImports,d),v.preprocessTokens(),dv(g,l,v.getGlobalNames()),t.transforms.includes("typescript")&&!t.keepUnusedImports&&v.pruneTypeOnlyImports()):t.transforms.includes("typescript")&&!t.keepUnusedImports&&dv(g,l,V3(g)),{tokenProcessor:g,scopes:l,nameManager:f,importProcessor:v,helperManager:d}}function X3(e,t){for(;e.length<t;)e="0"+e;return e}function ws(e,t){var r,s,i;if(t.length===0)return e;for(r=0,i=t.length;r<i;r++)s=t.charCodeAt(r),e=(e<<5)-e+s,e|=0;return e<0?e*-2:e}function J3(e,t,r){return Object.keys(t).sort().reduce(s,e);function s(i,o){return VE(i,t[o],o,r)}}function VE(e,t,r,s){var i=ws(ws(ws(e,r),K3(t)),typeof t);if(t===null)return ws(i,"null");if(t===void 0)return ws(i,"undefined");if(typeof t=="object"||typeof t=="function"){if(s.indexOf(t)!==-1)return ws(i,"[Circular]"+r);s.push(t);var o=J3(i,t,s);if(!("valueOf"in t)||typeof t.valueOf!="function")return o;try{return ws(o,String(t.valueOf()))}catch(a){return ws(o,"[valueOf exception]"+(a.stack||a.message))}}return ws(i,t.toString())}function K3(e){return Object.prototype.toString.call(e)}function Y3(e){return X3(VE(0,e,"",[]).toString(16),8)}var Q3=Y3;const Z3=zO(Q3),An="__sfc__",e4=/\.[jt]sx?$/;function Iv(e){return!!(e&&/(\.|\b)tsx?$/.test(e))}function Cv(e){return!!(e&&/(\.|\b)[jt]sx$/.test(e))}async function ld(e,t){return z3(e,{transforms:["typescript",...t?["jsx"]:[]],jsxRuntime:"preserve"}).code}async function il(e,{filename:t,code:r,compiled:s}){var F,x,I,R,L,z,J,re,V;if(!r.trim())return[];if(t.endsWith(".css"))return s.css=r,[];if(e4.test(t)){const ee=Cv(t);return Iv(t)&&(r=await ld(r,ee)),ee&&(r=await Jp(()=>import("./jsx-DuZiukum-Ci4WOsQs.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(G=>G.transformJSX(r))),s.js=s.ssr=r,[]}if(t.endsWith(".json")){let ee;try{ee=JSON.parse(r)}catch(G){return console.error(`Error parsing ${t}`,G.message),[G.message]}return s.js=s.ssr=`export default ${JSON.stringify(ee)}`,[]}if(!t.endsWith(".vue"))return[];const i=Z3(t),{errors:o,descriptor:a}=e.compiler.parse(r,{filename:t,sourceMap:!0,templateParseOptions:(x=(F=e.sfcOptions)==null?void 0:F.template)==null?void 0:x.compilerOptions});if(o.length)return o;const h=a.styles.map(ee=>ee.lang).filter(Boolean),l=(I=a.template)==null?void 0:I.lang;if(h.length&&l)return[`lang="${h.join(",")}" pre-processors for <style> and lang="${l}" for <template> are currently not supported.`];if(h.length)return[`lang="${h.join(",")}" pre-processors for <style> are currently not supported.`];if(l)return[`lang="${l}" pre-processors for <template> are currently not supported.`];const f=((R=a.script)==null?void 0:R.lang)||((L=a.scriptSetup)==null?void 0:L.lang),d=Iv(f),g=Cv(f);if(f&&f!=="js"&&!d&&!g)return[`Unsupported lang "${f}" in <script> blocks.`];const y=a.styles.some(ee=>ee.scoped);let v="",w="";const _=ee=>{v+=ee,w+=ee};let S,k;try{[S,k]=await Nv(e,a,i,!1,d,g)}catch(ee){return[ee.stack.split(`
|
|
`).slice(0,12).join(`
|
|
`)]}if(v+=S,a.scriptSetup||a.cssVars.length>0)try{const ee=await Nv(e,a,i,!0,d,g);w+=ee[0]}catch(ee){w=`/* SSR compile error: ${ee} */`}else w+=S;if(a.template&&(!a.scriptSetup||((J=(z=e.sfcOptions)==null?void 0:z.script)==null?void 0:J.inlineTemplate)===!1)){const ee=await Ov(e,a,i,k,!1,d,g);if(Array.isArray(ee))return ee;v+=`;${ee}`;const G=await Ov(e,a,i,k,!0,d,g);typeof G=="string"?w+=`;${G}`:w=`/* SSR compile error: ${G[0]} */`}y&&_(`
|
|
${An}.__scopeId = ${JSON.stringify(`data-v-${i}`)}`);const E=((re=e.sfcOptions.script)==null?void 0:re.customElement)||/\.ce\.vue$/;function P(ee){return typeof ee=="boolean"?ee:typeof ee=="function"?ee(t):ee.test(t)}let O=P(E),A="",M=[];for(const ee of a.styles){if(ee.module)return["<style module> is not supported in the playground."];const G=await e.compiler.compileStyleAsync({...(V=e.sfcOptions)==null?void 0:V.style,source:ee.content,filename:t,id:i,scoped:ee.scoped,modules:!!ee.module});G.errors.length?G.errors[0].message.includes("pathToFileURL")||(e.errors=G.errors):O?M.push(G.code):A+=G.code+`
|
|
`}if(A?s.css=A.trim():s.css=O?s.css="/* The component style of the custom element will be compiled into the component object */":"/* No <style> tags present */",v||w){const ee=O?`
|
|
${An}.styles = ${JSON.stringify(M)}`:"";_(`
|
|
${An}.__file = ${JSON.stringify(t)}`+ee+`
|
|
export default ${An}`),s.js=v.trimStart(),s.ssr=w.trimStart()}return[]}async function Nv(e,t,r,s,i,o){var a,h,l,f;if(t.script||t.scriptSetup){const d=[];i&&d.push("typescript"),o&&d.push("jsx");const g=e.compiler.compileScript(t,{inlineTemplate:!0,...(a=e.sfcOptions)==null?void 0:a.script,id:r,genDefaultAs:An,templateOptions:{...(h=e.sfcOptions)==null?void 0:h.template,ssr:s,ssrCssVars:t.cssVars,compilerOptions:{...(f=(l=e.sfcOptions)==null?void 0:l.template)==null?void 0:f.compilerOptions,expressionPlugins:d}}});let y=g.content;return i&&(y=await ld(y,o)),o&&(y=await Jp(()=>import("./jsx-DuZiukum-Ci4WOsQs.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(v=>v.transformJSX(y))),g.bindings&&(y=`/* Analyzed bindings: ${JSON.stringify(g.bindings,null,2)} */
|
|
`+y),[y,g.bindings]}else return[`
|
|
const ${An} = {}`,void 0]}async function Ov(e,t,r,s,i,o,a){var g,y,v;const h=[];o&&h.push("typescript"),a&&h.push("jsx");let{code:l,errors:f}=e.compiler.compileTemplate({isProd:!1,...(g=e.sfcOptions)==null?void 0:g.template,ast:t.template.ast,source:t.template.content,filename:t.filename,id:r,scoped:t.styles.some(w=>w.scoped),slotted:t.slotted,ssr:i,ssrCssVars:t.cssVars,compilerOptions:{...(v=(y=e.sfcOptions)==null?void 0:y.template)==null?void 0:v.compilerOptions,bindingMetadata:s,expressionPlugins:h}});if(f.length)return f;const d=i?"ssrRender":"render";return l=`
|
|
${l.replace(/\nexport (function|const) (render|ssrRender)/,`$1 ${d}`)}
|
|
${An}.${d} = ${d}`,o&&(l=await ld(l,a)),a&&(l=await Jp(()=>import("./jsx-DuZiukum-Ci4WOsQs.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(w=>w.transformJSX(l))),l}function t4(e={}){function t(o){if(o)return typeof o=="string"?o:o()}const r=Pt(!1),s=Pt(e.vueVersion||null),i=os(()=>{const o=!s.value&&t(r.value?e.runtimeProd:e.runtimeDev)||`https://cdn.jsdelivr.net/npm/@vue/runtime-dom@${s.value||Su}/dist/runtime-dom.esm-browser${r.value?".prod":""}.js`,a=!s.value&&t(e.serverRenderer)||`https://cdn.jsdelivr.net/npm/@vue/server-renderer@${s.value||Su}/dist/server-renderer.esm-browser.js`;return{imports:{vue:o,"vue/server-renderer":a}}});return{productionMode:r,importMap:i,vueVersion:s,defaultVersion:Su}}function Lv(e,t){return{imports:{...e.imports,...t.imports},scopes:{...e.scopes,...t.scopes}}}const Jh=`<script setup>
|
|
import { ref } from 'vue'
|
|
|
|
const msg = ref('Hello World!')
|
|
<\/script>
|
|
|
|
<template>
|
|
<h1>{{ msg }}</h1>
|
|
<input v-model="msg" />
|
|
</template>
|
|
`,r4=`<script setup><\/script>
|
|
|
|
<template>
|
|
<div>
|
|
<slot />
|
|
</div>
|
|
</template>
|
|
`,Sr="import-map.json",es="tsconfig.json";function s4({files:e=Pt(Object.create(null)),activeFilename:t=void 0,mainFile:r=Pt("src/App.vue"),template:s=Pt({welcomeSFC:Jh,newSFC:r4}),builtinImportMap:i=void 0,errors:o=Pt([]),showOutput:a=Pt(!1),outputMode:h=Pt("preview"),sfcOptions:l=Pt({}),compiler:f=NT(sv),vueVersion:d=Pt(null),locale:g=Pt(),typescriptVersion:y=Pt("5.3.2"),dependencyVersion:v=Pt(Object.create(null)),reloadLanguageTools:w=Pt()}={},_){i||({importMap:i,vueVersion:d}=t4({vueVersion:d.value}));const S=Pt(!1);function k(){const G=Lv(i.value,x());P(G)}function E(){$v(()=>{il(ee,V.value).then(G=>o.value=G)}),zs(()=>{var G;return[(G=e.value[es])==null?void 0:G.code,y.value,g.value,v.value,d.value]},()=>{var G;return(G=w.value)==null?void 0:G.call(w)},{deep:!0}),zs(i,()=>{P(Lv(x(),i.value))},{deep:!0}),zs(d,async G=>{if(G){const Q=`https://cdn.jsdelivr.net/npm/@vue/compiler-sfc@${G}/dist/compiler-sfc.esm-browser.js`;S.value=!0,f.value=await import(Q).finally(()=>S.value=!1),console.info(`[@vue/repl] Now using Vue version: ${G}`)}else f.value=sv,console.info("[@vue/repl] Now using default Vue version")},{immediate:!0}),zs(l,()=>{var G;(G=l.value).script||(G.script={}),l.value.script.fs={fileExists(Q){return Q.startsWith("/")&&(Q=Q.slice(1)),!!ee.files[Q]},readFile(Q){return Q.startsWith("/")&&(Q=Q.slice(1)),ee.files[Q].code}}},{immediate:!0}),e.value[es]||(e.value[es]=new bl(es,JSON.stringify(n4,void 0,2))),o.value=[];for(const[G,Q]of Object.entries(e.value))G!==r.value&&il(ee,Q).then(ie=>o.value.push(...ie))}function P(G){if(G.imports)for(const[ie,ce]of Object.entries(G.imports))ce&&(G.imports[ie]=i4(ce));const Q=JSON.stringify(G,void 0,2);e.value[Sr]?e.value[Sr].code=Q:e.value[Sr]=new bl(Sr,Q)}const O=G=>{t.value=G},A=G=>{let Q;typeof G=="string"?Q=new bl(G,G.endsWith(".vue")?s.value.newSFC:""):Q=G,e.value[Q.filename]=Q,Q.hidden||O(Q.filename)},M=G=>{confirm(`Are you sure you want to delete ${xo(G)}?`)&&(t.value===G&&(t.value=r.value),delete e.value[G])},F=(G,Q)=>{const ie=e.value[G];if(!ie){o.value=[`Could not rename "${G}", file not found`];return}if(!Q||G===Q){o.value=[`Cannot rename "${G}" to "${Q}"`];return}ie.filename=Q;const ce={};for(const[ne,W]of Object.entries(e.value))ne===G?ce[Q]=W:ce[ne]=W;e.value=ce,r.value===G&&(r.value=Q),t.value===G?t.value=Q:il(ee,ie).then(ne=>o.value=ne)},x=()=>{try{return JSON.parse(e.value[Sr].code)}catch(G){return o.value=[`Syntax error in ${Sr}: ${G.message}`],{}}},I=()=>{try{return JSON.parse(e.value[es].code)}catch{return{}}},R=()=>{const G=z(),Q=G[Sr];if(Q){const ie=JSON.parse(Q),ce=i.value.imports||{};if(ie.imports){for(const[ne,W]of Object.entries(ie.imports))ce[ne]===W&&delete ie.imports[ne];ie.imports&&!Object.keys(ie.imports).length&&delete ie.imports}ie.scopes&&!Object.keys(ie.scopes).length&&delete ie.scopes,Object.keys(ie).length?G[Sr]=JSON.stringify(ie,null,2):delete G[Sr]}return d.value&&(G._version=d.value),"#"+t0(JSON.stringify(G))},L=G=>{G.startsWith("#")&&(G=G.slice(1));let Q;try{Q=JSON.parse(r0(G))}catch(ie){return console.error(ie),alert("Failed to load code from URL."),re()}for(const ie in Q)ie==="_version"?d.value=Q[ie]:ol(e.value,ie,Q[ie])},z=()=>{const G={};for(const[Q,ie]of Object.entries(e.value)){const ce=xo(Q);G[ce]=ie.code}return G},J=async(G,Q=ee.mainFile)=>{const ie=Object.create(null);Q=WE(Q),G[Q]||ol(ie,Q,s.value.welcomeSFC||Jh);for(const[ne,W]of Object.entries(G))ol(ie,ne,W);const ce=[];for(const ne of Object.values(ie))ce.push(...await il(ee,ne));ee.mainFile=Q,ee.files=ie,ee.errors=ce,k(),O(ee.mainFile)},re=()=>{ol(e.value,r.value,s.value.welcomeSFC||Jh)};re(),e.value[r.value]||(r.value=Object.keys(e.value)[0]),t||(t=Pt(r.value));const V=os(()=>e.value[t.value]);k();const ee=Dv({files:e,activeFile:V,activeFilename:t,mainFile:r,template:s,builtinImportMap:i,errors:o,showOutput:a,outputMode:h,sfcOptions:l,compiler:f,loading:S,vueVersion:d,locale:g,typescriptVersion:y,dependencyVersion:v,reloadLanguageTools:w,init:E,setActive:O,addFile:A,deleteFile:M,renameFile:F,getImportMap:x,getTsConfig:I,serialize:R,deserialize:L,getFiles:z,setFiles:J});return ee}const n4={compilerOptions:{allowJs:!0,checkJs:!0,jsx:"Preserve",target:"ESNext",module:"ESNext",moduleResolution:"Bundler",allowImportingTsExtensions:!0},vueCompilerOptions:{target:3.4}};class bl{constructor(t,r="",s=!1){this.filename=t,this.code=r,this.hidden=s,this.compiled={js:"",css:"",ssr:""},this.editorViewState=null}get language(){return this.filename.endsWith(".vue")?"vue":this.filename.endsWith(".html")?"html":this.filename.endsWith(".css")?"css":this.filename.endsWith(".ts")?"typescript":"javascript"}}function WE(e){return e===Sr||e===es||e.startsWith("src/")?e:`src/${e}`}function xo(e){return e.replace(/^src\//,"")}function i4(e){return e.replace("https://sfc.vuejs","https://play.vuejs")}function ol(e,t,r){const s=WE(t);e[s]=new bl(s,r)}const o4=["onClick","onDblclick"],a4={class:"label"},l4=["onClick"],c4={class:"file pending"},u4={class:"import-map-wrapper"},h4=nn({__name:"FileSelector",setup(e){const{store:t,showTsConfig:r,showImportMap:s}=fi(Ei),i=Pt(!1),o=Pt("Comp.vue"),a=os(()=>Object.entries(t.value.files).filter(([w,_])=>w!==Sr&&w!==es&&!_.hidden).map(([w])=>w));function h(){let w=0,_="Comp.vue";for(;;){let S=!1;for(const k in t.value.files)if(xo(k)===_){S=!0,_=`Comp${++w}.vue`;break}if(!S)break}o.value=_,i.value=!0}function l(){i.value=!1}function f({el:w}){w.focus()}function d(){if(!i.value)return;if(!o.value){i.value=!1;return}const w="src/"+o.value,_=i.value===!0?"":i.value;if(!/\.(vue|jsx?|tsx?|css|json)$/.test(w)){t.value.errors=["Playground only supports *.vue, *.jsx?, *.tsx?, *.css, *.json files."];return}if(w!==_&&w in t.value.files){t.value.errors=[`File "${w}" already exists.`];return}t.value.errors=[],l(),w!==_&&(_?t.value.renameFile(_,w):t.value.addFile(w))}function g(w){o.value=xo(w),i.value=w}const y=Go("fileSelector");function v(w){w.preventDefault();const _=y.value,k=30*((Math.abs(w.deltaX)>=Math.abs(w.deltaY)?w.deltaX:w.deltaY)>0?1:-1);_.scrollTo({left:_.scrollLeft+k})}return(w,_)=>(At(),Ht("div",{ref_key:"fileSelector",ref:y,class:Kr(["file-selector",{"has-import-map":Ge(s)}]),onWheel:v},[(At(!0),Ht(di,null,Uv(a.value,(S,k)=>(At(),Ht(di,{key:S},[i.value!==S?(At(),Ht("div",{key:0,class:Kr(["file",{active:Ge(t).activeFile.filename===S}]),onClick:E=>Ge(t).setActive(S),onDblclick:E=>k>0&&g(S)},[ft("span",a4,Ln(Ge(xo)(S)),1),k>0?(At(),Ht("span",{key:0,class:"remove",onClick:jv(E=>Ge(t).deleteFile(S),["stop"])},_[3]||(_[3]=[ft("svg",{class:"icon",width:"12",height:"12",viewBox:"0 0 24 24"},[ft("line",{stroke:"#999",x1:"18",y1:"6",x2:"6",y2:"18"}),ft("line",{stroke:"#999",x1:"6",y1:"6",x2:"18",y2:"18"})],-1)]),8,l4)):Yr("",!0)],42,o4)):Yr("",!0),i.value===!0&&k===a.value.length-1||i.value===S?(At(),Ht("div",{key:1,class:Kr(["file pending",{active:i.value===S}])},[ft("span",c4,Ln(o.value),1),ic(ft("input",{"onUpdate:modelValue":_[0]||(_[0]=E=>o.value=E),spellcheck:"false",onBlur:d,onKeyup:[xd(d,["enter"]),xd(l,["esc"])],onVnodeMounted:f},null,544),[[FT,o.value]])],2)):Yr("",!0)],64))),128)),ft("button",{class:"add",onClick:h},"+"),ft("div",u4,[Ge(r)&&Ge(t).files[Ge(es)]?(At(),Ht("div",{key:0,class:Kr(["file",{active:Ge(t).activeFile.filename===Ge(es)}]),onClick:_[1]||(_[1]=S=>Ge(t).setActive(Ge(es)))},_[4]||(_[4]=[ft("span",{class:"label"},"tsconfig.json",-1)]),2)):Yr("",!0),Ge(s)?(At(),Ht("div",{key:1,class:Kr(["file",{active:Ge(t).activeFile.filename===Ge(Sr)}]),onClick:_[2]||(_[2]=S=>Ge(t).setActive(Ge(Sr)))},_[5]||(_[5]=[ft("span",{class:"label"},"Import Map",-1)]),2)):Yr("",!0)])],34))}}),p4=zn(h4,[["__scopeId","data-v-1ade58ef"]]),f4=nn({__name:"ToggleButton",props:Fv({text:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=Bv(e,"modelValue");return(r,s)=>(At(),Ht("div",{class:"wrapper",onClick:s[0]||(s[0]=i=>t.value=!t.value)},[ft("span",null,Ln(r.text),1),ft("div",{class:Kr(["toggle",[{active:e.modelValue}]])},s[1]||(s[1]=[ft("div",{class:"indicator"},null,-1)]),2)]))}}),Rv=zn(f4,[["__scopeId","data-v-17ef6099"]]),d4={class:"editor-container"},m4={class:"editor-floating"},Mv="repl_show_error",g4=nn({__name:"EditorContainer",props:{editorComponent:{}},setup(e){const t=e,{store:r,autoSave:s,editorOptions:i}=fi(Ei),o=Pt(l()),a=e0(f=>{r.value.activeFile.code=f},250);function h(){localStorage.setItem(Mv,o.value?"true":"false")}function l(){return localStorage.getItem(Mv)!=="false"}return zs(o,()=>{h()}),(f,d)=>{var g,y,v,w;return At(),Ht(di,null,[Ks(p4),ft("div",d4,[Ks(t.editorComponent,{value:Ge(r).activeFile.code,filename:Ge(r).activeFile.filename,onChange:Ge(a)},null,8,["value","filename","onChange"]),ic(Ks(Mp,{err:Ge(r).errors[0]},null,8,["err"]),[[Kp,o.value]]),ft("div",m4,[((g=Ge(i))==null?void 0:g.showErrorText)!==!1?(At(),ko(Rv,{key:0,modelValue:o.value,"onUpdate:modelValue":d[0]||(d[0]=_=>o.value=_),text:((y=Ge(i))==null?void 0:y.showErrorText)||"Show Error"},null,8,["modelValue","text"])):Yr("",!0),((v=Ge(i))==null?void 0:v.autoSaveText)!==!1?(At(),ko(Rv,{key:1,modelValue:Ge(s),"onUpdate:modelValue":d[1]||(d[1]=_=>LT(s)?s.value=_:null),text:((w=Ge(i))==null?void 0:w.autoSaveText)||"Auto Save"},null,8,["modelValue","text"])):Yr("",!0)])])],64)}}}),y4=zn(g4,[["__scopeId","data-v-f4f45a3c"]]),v4={class:"vue-repl"},P4=nn({__name:"Repl",props:Fv({theme:{default:"light"},previewTheme:{type:Boolean,default:!1},editor:{},store:{default:()=>s4()},autoResize:{type:Boolean,default:!0},showCompileOutput:{type:Boolean,default:!0},showImportMap:{type:Boolean,default:!0},showTsConfig:{type:Boolean,default:!0},clearConsole:{type:Boolean,default:!0},layout:{default:"horizontal"},layoutReverse:{type:Boolean,default:!1},ssr:{type:Boolean,default:!1},previewOptions:{default:()=>({})},editorOptions:{default:()=>({})},splitPaneOptions:{default:()=>({})}},{modelValue:{type:Boolean,default:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const r=Bv(e,"modelValue"),s=e;if(!s.editor)throw new Error('The "editor" prop is now required.');const i=Go("output");s.store.init();const o=os(()=>s.layoutReverse?"right":"left"),a=os(()=>s.layoutReverse?"left":"right");bd(Ei,{...OT(s),autoSave:r}),bd(qv,os(()=>{var l,f;return((f=(l=i.value)==null?void 0:l.previewRef)==null?void 0:f.container)??null}));function h(){var l;(l=i.value)==null||l.reload()}return t({reload:h}),(l,f)=>(At(),Ht("div",v4,[Ks(XO,{layout:l.layout},{[o.value]:Kh(()=>[Ks(y4,{"editor-component":l.editor},null,8,["editor-component"])]),[a.value]:Kh(()=>[Ks(cL,{ref:"output","editor-component":l.editor,"show-compile-output":s.showCompileOutput,ssr:!!s.ssr},null,8,["editor-component","show-compile-output","ssr"])]),_:2},1032,["layout"])]))}});export{P4 as _,s4 as a,jr as c,e0 as d,zO as g,Ei as i,t4 as u};
|